export type Maybe = T | null; export type InputMaybe = Maybe; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; /** BigInt scalar type for large integers */ BigInt: { input: string; output: string; }; /** * Workspace Authentication Module * * Provides token issuance, verification, and workspace secret management for workspace-level authentication. */ DateTime: { input: string; output: string; }; /** Decimal scalar type for precise decimal numbers */ Decimal: { input: string; output: string; }; /** JSON scalar (arbitrary JSON data) */ JSON: { input: Record; output: Record; }; /** JSONObject scalar (JSON object) */ JSONObject: { input: Record; output: Record; }; /** Upload scalar (file upload) */ Upload: { input: File; output: File; }; _ScalarsPlaceholder: { input: unknown; output: unknown; }; _SecurityMainPlaceholder: { input: unknown; output: unknown; }; }; export type A2AConnection = { __typename?: 'A2AConnection'; config?: Maybe; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; senderAgentId: Scalars['ID']['output']; targetAgentId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type A2AConnectionFilterInput = { isActive?: InputMaybe; senderAgentId?: InputMaybe; targetAgentId?: InputMaybe; workspaceId?: InputMaybe; }; export type A2ADelegationResult = { __typename?: 'A2ADelegationResult'; a2aMessageId: Scalars['ID']['output']; message: Scalars['String']['output']; targetAgentId: Scalars['ID']['output']; targetExecutionId?: Maybe; tokensUsed: Scalars['Int']['output']; }; export type A2AMessage = { __typename?: 'A2AMessage'; acknowledgedAt?: Maybe; connectionId?: Maybe; content: Scalars['String']['output']; /** Set when a RETENTION policy erased this message's content */ contentPurgedAt?: Maybe; deliveredAt?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; priority: A2AMessagePriority; senderAgentId: Scalars['ID']['output']; sentAt: Scalars['DateTime']['output']; status: A2AMessageStatus; targetAgentId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type A2AMessageFilterInput = { priority?: InputMaybe; senderAgentId?: InputMaybe; status?: InputMaybe; targetAgentId?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum A2AMessagePriority { High = "HIGH", Low = "LOW", Normal = "NORMAL", Urgent = "URGENT" } export declare enum A2AMessageStatus { Acknowledged = "ACKNOWLEDGED", Delivered = "DELIVERED", Failed = "FAILED", Pending = "PENDING" } export type A2ARegistryEntry = { __typename?: 'A2ARegistryEntry'; agentCard: Scalars['JSON']['output']; bucketId?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe; entitlements: Scalars['JSON']['output']; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; revision: Scalars['Int']['output']; status: EntityStatus; tags: Array; trustLevel: A2ATrustLevel; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: Visibility; wellKnownUrl?: Maybe; workspaceId: Scalars['ID']['output']; }; export type A2ARegistryEntryFilterInput = { bucketId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; trustLevel?: InputMaybe; visibility?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum A2ATrustLevel { Internal = "INTERNAL", Unverified = "UNVERIFIED", VerifiedPublisher = "VERIFIED_PUBLISHER" } export type AiPromptFilterInput = { category?: InputMaybe; context?: InputMaybe; createdBy?: InputMaybe; isShared?: InputMaybe; search?: InputMaybe; /** Filter to prompts authored against this session (in-session AI drawer). */ sessionId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; workspaceId?: InputMaybe; }; export type AiPromptRenderResult = { __typename?: 'AIPromptRenderResult'; promptId: Scalars['ID']['output']; rendered: Scalars['String']['output']; }; export type AcceptHealthyBowlContractDeliveryInput = { /** Quantity that passed grading; anything below delivered is recorded as rejectedQty. Omit = accept all. */ acceptedQty?: InputMaybe; context: ContextInput; gradeResult?: InputMaybe; id: Scalars['ID']['input']; }; export type AcceptMtwReuseReservationInput = { approvalId: Scalars['ID']['input']; expectedCycleVersion: Scalars['Int']['input']; expectedProposalRevision: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; proposalId: Scalars['ID']['input']; }; /** * The ids a resource shared with people, groups or projects can be granted to, for one person in one * workspace. */ export type AccessPrincipals = { __typename?: 'AccessPrincipals'; actorId: Scalars['String']['output']; /** True when the person holds the "administer" action on the resource type in this workspace */ administersResourceType: Scalars['Boolean']['output']; /** ACTIVE groups the person belongs to in this workspace */ groupIds: Array; /** Projects the person is a member of in this workspace */ projectIds: Array; }; /** The person to resolve for accessPrincipals. */ export type AccessPrincipalsInput = { /** Opaque actor ID of the person, never the calling service */ actorId: Scalars['String']['input']; actorType: ActorType; /** * Resource type the calling service shares (e.g. "integration-connection", "workflow"); decides * administersResourceType */ resourceType: Scalars['String']['input']; }; export type AccessShareInput = { password?: InputMaybe; token: Scalars['String']['input']; }; export type AccessShareResponse = { __typename?: 'AccessShareResponse'; downloadUrl?: Maybe; file: File; message?: Maybe; share: AccessShareResult; }; export type AccessShareResult = { __typename?: 'AccessShareResult'; accessCount: Scalars['Int']['output']; accessLevel: FileShareAccessLevel; createdAt: Scalars['DateTime']['output']; downloadCount: Scalars['Int']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; maxDownloads?: Maybe; requiresPassword: Scalars['Boolean']['output']; shareType: FileShareType; }; export type AcquireDurableWorkerSandboxInput = { context: ContextInput; /** The caller holding the VM (for example a workers pod id). */ leaseOwner: Scalars['String']['input']; /** 15 to 300; default 60. */ leaseSeconds?: InputMaybe; purpose: DurableWorkerSandboxPurpose; sdkVersion: Scalars['String']['input']; }; export type AcquireLockInput = { /** Auto-release lock when it expires (default: true) */ autoRelease?: InputMaybe; /** * Lock duration in seconds (default: 3600 = 1 hour) * Max: 86400 (24 hours) */ durationSeconds?: InputMaybe; /** File ID to lock */ fileId: Scalars['ID']['input']; /** Type of lock to acquire */ lockType: LockType; /** Optional reason for acquiring lock */ reason?: InputMaybe; }; export type AcquireLockResponse = { __typename?: 'AcquireLockResponse'; lock?: Maybe; message?: Maybe; success: Scalars['Boolean']['output']; }; /** * A reusable action that can be executed on agents, triggered via webhooks, * or orchestrated as workflows. Actions are first-class entities that can be * independently managed, shared via store, and referenced by VibeDeck buttons. */ export type Action = { __typename?: 'Action'; actionType: VibecontrolsActionType; buttons: Array; category?: Maybe; color?: Maybe; command?: Maybe; confirmationRequired: Scalars['Boolean']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; description?: Maybe; displayName?: Maybe; environmentVariables?: Maybe; eventFilters?: Maybe; executionCount: Scalars['Int']['output']; /** Whether this Action has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; hasWebhookAuth: Scalars['Boolean']['output']; icon?: Maybe; id: Scalars['ID']['output']; lastExecutedAt?: Maybe; manifestData?: Maybe; metadata?: Maybe; /** The calling actor's effective role on this Action (null if no direct grant). */ myRole?: Maybe; name: Scalars['String']['output']; recentExecutions: Array; retryCount: Scalars['Int']['output']; schedule?: Maybe; script?: Maybe; scriptInterpreter?: Maybe; /** Active share grants on this Action (owner/MANAGER only). */ shares: Array; sourceType: ActionSourceType; storeItemId?: Maybe; storeVersion?: Maybe; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; targetAgent?: Maybe; targetAgentId?: Maybe; targetPlatformFilter?: Maybe; timeoutMs?: Maybe; triggerType: ActionTriggerType; updatedAt: Scalars['DateTime']['output']; /** Optional Vibe linkage. When set the action surfaces on the Vibe detail page. */ vibeId?: Maybe; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. */ visibility: VibeVisibility; webhookAuthType?: Maybe; webhookBody?: Maybe; webhookHeaders?: Maybe; webhookMethod?: Maybe; webhookUrl?: Maybe; /** * WORKFLOW actions: the FluidGrids binding — { workflowId } or * { workflowKey, version? }, plus optional triggerNodeId and triggerData. */ workflowDefinition?: Maybe; /** WORKFLOW actions: FluidGrids definition version resolved when the binding was saved. */ workflowVersion?: Maybe; workingDirectory?: Maybe; workspaceId: Scalars['ID']['output']; }; /** * A reusable action that can be executed on agents, triggered via webhooks, * or orchestrated as workflows. Actions are first-class entities that can be * independently managed, shared via store, and referenced by VibeDeck buttons. */ export type ActionRecentExecutionsArgs = { limit?: InputMaybe; }; export type ActionAnalytics = { __typename?: 'ActionAnalytics'; /** Average execution duration in milliseconds */ avgDurationMs?: Maybe; byActionType: Array; bySourceType: Array; byTriggerType: Array; executionsByStatus: Array; /** Action executions over time */ executionsOverTime: Array; /** Success rate as a percentage (0-100) */ successRate?: Maybe; total: Scalars['Int']['output']; totalExecutions: Scalars['Int']['output']; }; /** Action check count for analytics */ export type ActionCount = { __typename?: 'ActionCount'; action: Scalars['String']['output']; count: Scalars['Int']['output']; resourceType: Scalars['String']['output']; }; /** Action definition - what actions exist per resource type */ export type ActionDefinition = { __typename?: 'ActionDefinition'; action: Scalars['String']['output']; /** ADMIN role level includes this action by default */ adminDefault: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; /** EDITOR role level includes this action by default */ editorDefault: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isSystem: Scalars['Boolean']['output']; resourceType: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** VIEWER role level includes this action by default */ viewerDefault: Scalars['Boolean']['output']; }; /** * A record of an action execution with full status tracking, output capture, * and timing information. Provides a persistent audit trail of all executions. */ export type ActionExecution = { __typename?: 'ActionExecution'; action: Action; actionId: Scalars['ID']['output']; agentId?: Maybe; command?: Maybe; completedAt?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; durationMs?: Maybe; /** Machine-readable failure classification (e.g. REMOTE_EXECUTION_DISABLED) for deterministic client handling. */ errorCode?: Maybe; errorMessage?: Maybe; exitCode?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; output?: Maybe; script?: Maybe; startedAt?: Maybe; status: ActionExecutionStatus; triggerSource?: Maybe; triggerType: ActionTriggerType; webhookStatusCode?: Maybe; /** * WORKFLOW actions: id of the FluidGrids WorkflowRun this execution started * (open it in FluidGrids, or query it via workflowRun(id)). Null for other * action types and for a run that could not be started. */ workflowRunId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ActionExecutionFilterInput = { actionId?: InputMaybe; agentId?: InputMaybe; startedAfter?: InputMaybe; startedBefore?: InputMaybe; status?: InputMaybe; triggerType?: InputMaybe; }; export type ActionExecutionList = { __typename?: 'ActionExecutionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum ActionExecutionStatus { Cancelled = "CANCELLED", Failure = "FAILURE", Pending = "PENDING", Running = "RUNNING", Success = "SUCCESS", Timeout = "TIMEOUT" } export type ActionFilterInput = { actionType?: InputMaybe; category?: InputMaybe; search?: InputMaybe; sourceType?: InputMaybe; tags?: InputMaybe>; targetAgentId?: InputMaybe; triggerType?: InputMaybe; }; export type ActionList = { __typename?: 'ActionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** One per-action rule of the workspace. */ export type ActionPolicy = { __typename?: 'ActionPolicy'; /** * Structured condition over the action's parameters: groups {all: [...]}, {any: [...]}, * {not: ...} of leaves {path, op, value}. Operators: eq, neq, gt, gte, lt, lte, in, not_in, * contains, exists, not_exists, count_gt, count_gte, count_lt, count_lte. Null always fires. */ condition?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; description?: Maybe; effect: ActionPolicyEffect; enabled: Scalars['Boolean']['output']; /** Environments the policy applies in; empty applies in all of them. */ environments: Array; id: Scalars['ID']['output']; matcher: ActionPolicyMatcher; name: Scalars['String']['output']; /** Lower numbers are evaluated first. */ priority: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; updatedById?: Maybe; }; /** An action waiting for (or decided by) a workspace admin under a REQUIRE_APPROVAL policy. */ export type ActionPolicyApproval = { __typename?: 'ActionPolicyApproval'; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; decidedById?: Maybe; /** approved, declined or timedOut once decided. */ decision?: Maybe; decisionId: Scalars['ID']['output']; environment: WorkflowEnvironment; expiresAt?: Maybe; /** The approval request id; pass it to decideActionPolicyApproval. */ id: Scalars['ID']['output']; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; operation?: Maybe; payloadHash: Scalars['String']['output']; policyId?: Maybe; policyName?: Maybe; /** MATCHED, or PAYLOAD_CHANGED when an earlier approval no longer covered the payload. */ reason: Scalars['String']['output']; runId: Scalars['ID']['output']; /** PENDING, RESPONDED, TIMED_OUT or CANCELLED. */ status: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** What the gate decided for one action of a run. Stored whenever a policy matched. */ export type ActionPolicyDecision = { __typename?: 'ActionPolicyDecision'; approvalRequestId?: Maybe; callId?: Maybe; /** When an approved payload was let through (an approval is used once). */ consumedAt?: Maybe; createdAt: Scalars['DateTime']['output']; effect: ActionPolicyEffect; environment: WorkflowEnvironment; id: Scalars['ID']['output']; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; operation?: Maybe; /** sha256 of the canonical {nodeType, operation, connectionId, params}. */ payloadHash: Scalars['String']['output']; policyId?: Maybe; policyName?: Maybe; /** * MATCHED, DEFAULT_DENY, LOGGED, APPROVED, PAYLOAD_CHANGED, APPROVAL_ALREADY_USED, * APPROVAL_DECLINED, APPROVAL_TIMED_OUT or PAYLOAD_TOO_LARGE. */ reason: Scalars['String']['output']; runId: Scalars['ID']['output']; }; export type ActionPolicyDryRunInput = { /** Leave this saved policy out of the evaluation (what deleting it would change). */ excludePolicyId?: InputMaybe; /** * A draft to try against recent runs. With an id it replaces that saved policy in the * evaluation; without one it is added to the saved policies. */ policy?: InputMaybe; /** How many of the most recent runs to replay (1 to 100, default 100). */ runLimit?: InputMaybe; }; /** * What the policies, with the draft applied, would have decided for the outbound actions of * recent runs. Rows list the actions that would be blocked (DENY or REQUIRE_APPROVAL) or whose * decision changes, newest first, at most 500. */ export type ActionPolicyDryRunResult = { __typename?: 'ActionPolicyDryRunResult'; actionsEvaluated: Scalars['Int']['output']; /** Actions whose decision differs from the saved policies'. */ changed: Scalars['Int']['output']; rows: Array; /** Runs with at least one blocked action. */ runsAffected: Scalars['Int']['output']; runsScanned: Scalars['Int']['output']; wouldAllow: Scalars['Int']['output']; wouldDeny: Scalars['Int']['output']; wouldLog: Scalars['Int']['output']; wouldRequireApproval: Scalars['Int']['output']; }; export type ActionPolicyDryRunRow = { __typename?: 'ActionPolicyDryRunRow'; changed: Scalars['Boolean']['output']; /** Decision under the saved policies. */ currentEffect: ActionPolicyEffect; currentReason: Scalars['String']['output']; /** Decision with the draft applied. */ effect: ActionPolicyEffect; environment: WorkflowEnvironment; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; operation?: Maybe; policyId?: Maybe; policyName?: Maybe; reason: Scalars['String']['output']; runCreatedAt: Scalars['DateTime']['output']; runId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; }; export declare enum ActionPolicyEffect { /** Let the action run. */ Allow = "ALLOW", /** Fail the node with POLICY_DENIED. */ Deny = "DENY", /** Record the decision and keep evaluating lower-priority policies. */ Log = "LOG", /** Park the node until a workspace admin approves this exact payload. */ RequireApproval = "REQUIRE_APPROVAL" } export type ActionPolicyInput = { /** See ActionPolicy.condition. Null always fires. */ condition?: InputMaybe; description?: InputMaybe; effect: ActionPolicyEffect; enabled?: InputMaybe; environments?: InputMaybe>; /** Set to update a saved policy; leave out to create one. */ id?: InputMaybe; matcher?: InputMaybe; name: Scalars['String']['input']; /** 0 to 100000, lower first. Default 100. */ priority?: InputMaybe; }; export type ActionPolicyMatcher = { __typename?: 'ActionPolicyMatcher'; /** Connection providers (adapter names). Empty matches any. */ connectionProviders: Array; /** Globs over the node type, e.g. store/stripe* or internal:http. Empty matches any. */ nodeTypes: Array; /** Globs over the selected operation, e.g. refund*. Empty matches any. */ operations: Array; /** Workflow tags; any shared tag matches. Empty matches any. */ workflowTags: Array; }; export type ActionPolicyMatcherInput = { connectionProviders?: InputMaybe>; nodeTypes?: InputMaybe>; operations?: InputMaybe>; workflowTags?: InputMaybe>; }; export type ActionProgress = { __typename?: 'ActionProgress'; actionId: Scalars['ID']['output']; message?: Maybe; progress?: Maybe; status: ActionStatus; }; export declare enum ActionSourceType { StoreInstalled = "STORE_INSTALLED", UserCreated = "USER_CREATED" } export declare enum ActionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", InProgress = "IN_PROGRESS", Pending = "PENDING", Timeout = "TIMEOUT" } export declare enum ActionTriggerType { Event = "EVENT", Manual = "MANUAL", OnDemand = "ON_DEMAND", Scheduled = "SCHEDULED" } export declare enum ActivityCategory { Analytics = "ANALYTICS", Create = "CREATE", Data = "DATA", Delete = "DELETE", Invite = "INVITE", Login = "LOGIN", Logout = "LOGOUT", Other = "OTHER", Permission = "PERMISSION", Project = "PROJECT", Role = "ROLE", Security = "SECURITY", Settings = "SETTINGS", Team = "TEAM", Update = "UPDATE", View = "VIEW", Workspace = "WORKSPACE" } export type ActivityLog = { __typename?: 'ActivityLog'; action: Scalars['String']['output']; /** * Kind of actor that performed the action: `user`, `app`, `service` or `super_admin` (the * gateway `x-actor-type` vocabulary). Actions taken by an AI agent are recorded as `app`, so * they can be told apart from human actions. Null for rows written before this was captured * (no backfill) and for writers that could not vouch for the actor kind. */ actorType?: Maybe; category?: Maybe; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe; description?: Maybe; details?: Maybe; group?: Maybe; groupId?: Maybe; id: Scalars['ID']['output']; ipAddress?: Maybe; locationCity?: Maybe; locationCountry?: Maybe; /** * The user on whose behalf the action was taken. Equals `userId` for a direct action; for an * AI-agent action (`actorType: app`) it is the human who started the agent run. */ onBehalfOf?: Maybe; productId?: Maybe; resourceId?: Maybe; resourceType?: Maybe; targetUserId?: Maybe; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe; userId: Scalars['ID']['output']; workspace?: Maybe; workspaceId?: Maybe; }; export type ActivityLogFilter = { action?: InputMaybe; /** * Only rows whose action starts with this prefix (e.g. `workspace_audit.`). Combined * with `action` (if both are given, a row must satisfy both). Purpose-built for M2M * migrating services that serve a filtered audit view over a stable action namespace * (module-ownership remediation, OVL-01). LIKE pattern characters in the prefix * (`%`, `_`, `\\`) are escaped and match literally. */ actionPrefix?: InputMaybe; /** * Only rows performed by this kind of actor (`user`, `app`, `service`, `super_admin`). * Rows with no recorded actor kind never match. */ actorType?: InputMaybe; /** * Only rows performed by any of these kinds of actor. Combined with `actorType` (if both are * given, a row must satisfy both). */ actorTypes?: InputMaybe>; category?: InputMaybe; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; endDate?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; productId?: InputMaybe; resourceId?: InputMaybe; resourceType?: InputMaybe; startDate?: InputMaybe; targetUserId?: InputMaybe; teamId?: InputMaybe; userId?: InputMaybe; workspaceId?: InputMaybe; }; /** * The retry policy of a standalone activity (Temporal's field names). Durations are milliseconds or * strings such as `1s`, `2m` or `PT1S`. */ export type ActivityRetryPolicyInput = { /** Each retry waits this many times longer than the last (at least 1). */ backoffCoefficient?: InputMaybe; /** Delay before the first retry. */ initialInterval?: InputMaybe; /** Attempts in total; 0 or absent means unlimited. */ maximumAttempts?: InputMaybe; /** The longest wait between two attempts. */ maximumInterval?: InputMaybe; /** Error types that are never retried. */ nonRetryableErrorTypes?: InputMaybe>; }; export declare enum ActivityType { AnalyticsExported = "ANALYTICS_EXPORTED", AnalyticsFiltered = "ANALYTICS_FILTERED", AnalyticsViewed = "ANALYTICS_VIEWED", BackupCreated = "BACKUP_CREATED", BackupRestored = "BACKUP_RESTORED", DashboardAccessed = "DASHBOARD_ACCESSED", DataExported = "DATA_EXPORTED", DataImported = "DATA_IMPORTED", EmailSent = "EMAIL_SENT", NotificationRead = "NOTIFICATION_READ", NotificationSent = "NOTIFICATION_SENT", Other = "OTHER", PageViewed = "PAGE_VIEWED", PermissionAssignedToRole = "PERMISSION_ASSIGNED_TO_ROLE", PermissionCreated = "PERMISSION_CREATED", PermissionDeleted = "PERMISSION_DELETED", PermissionRemovedFromRole = "PERMISSION_REMOVED_FROM_ROLE", PermissionUpdated = "PERMISSION_UPDATED", ProjectArchived = "PROJECT_ARCHIVED", ProjectCompleted = "PROJECT_COMPLETED", ProjectCreated = "PROJECT_CREATED", ProjectDeleted = "PROJECT_DELETED", ProjectMemberAdded = "PROJECT_MEMBER_ADDED", ProjectMemberRemoved = "PROJECT_MEMBER_REMOVED", ProjectMemberRoleChanged = "PROJECT_MEMBER_ROLE_CHANGED", ProjectRestored = "PROJECT_RESTORED", ProjectUpdated = "PROJECT_UPDATED", ReportViewed = "REPORT_VIEWED", ResourceCreated = "RESOURCE_CREATED", ResourceDeleted = "RESOURCE_DELETED", ResourcePermissionChanged = "RESOURCE_PERMISSION_CHANGED", ResourceUpdated = "RESOURCE_UPDATED", ResourceVisibilityChanged = "RESOURCE_VISIBILITY_CHANGED", RoleAssignedToTeam = "ROLE_ASSIGNED_TO_TEAM", RoleAssignedToUser = "ROLE_ASSIGNED_TO_USER", RoleCreated = "ROLE_CREATED", RoleDeleted = "ROLE_DELETED", RoleRemovedFromTeam = "ROLE_REMOVED_FROM_TEAM", RoleRemovedFromUser = "ROLE_REMOVED_FROM_USER", RoleUpdated = "ROLE_UPDATED", SecurityPermissionDenied = "SECURITY_PERMISSION_DENIED", SettingsUpdated = "SETTINGS_UPDATED", SmsSent = "SMS_SENT", SuspiciousActivityDetected = "SUSPICIOUS_ACTIVITY_DETECTED", TeamArchived = "TEAM_ARCHIVED", TeamCreated = "TEAM_CREATED", TeamDeleted = "TEAM_DELETED", TeamInvitationAccepted = "TEAM_INVITATION_ACCEPTED", TeamInvitationRejected = "TEAM_INVITATION_REJECTED", TeamInvitationSent = "TEAM_INVITATION_SENT", TeamMemberAdded = "TEAM_MEMBER_ADDED", TeamMemberRemoved = "TEAM_MEMBER_REMOVED", TeamMemberRoleChanged = "TEAM_MEMBER_ROLE_CHANGED", TeamRestored = "TEAM_RESTORED", TeamUpdated = "TEAM_UPDATED", UserJoinedWorkspace = "USER_JOINED_WORKSPACE", UserLeftWorkspace = "USER_LEFT_WORKSPACE", UserLogin = "USER_LOGIN", UserLogout = "USER_LOGOUT", UserRemovedFromWorkspace = "USER_REMOVED_FROM_WORKSPACE", WorkspaceArchived = "WORKSPACE_ARCHIVED", WorkspaceCreated = "WORKSPACE_CREATED", WorkspaceDeleted = "WORKSPACE_DELETED", WorkspaceInvitationAccepted = "WORKSPACE_INVITATION_ACCEPTED", WorkspaceInvitationExpired = "WORKSPACE_INVITATION_EXPIRED", WorkspaceInvitationReactivated = "WORKSPACE_INVITATION_REACTIVATED", WorkspaceInvitationRejected = "WORKSPACE_INVITATION_REJECTED", WorkspaceInvitationSent = "WORKSPACE_INVITATION_SENT", WorkspaceRestored = "WORKSPACE_RESTORED", WorkspaceUpdated = "WORKSPACE_UPDATED" } /** Actor activity count for analytics */ export type ActorCount = { __typename?: 'ActorCount'; actorId: Scalars['String']['output']; actorType: ActorType; count: Scalars['Int']['output']; }; /** Filter for querying actors */ export type ActorFilterInput = { actorType?: InputMaybe; hasOverrides?: InputMaybe; roleId?: InputMaybe; }; /** Actor RBAC summary - shows an actor's full RBAC profile in a scope */ export type ActorRbacSummary = { __typename?: 'ActorRbacSummary'; actorId: Scalars['String']['output']; actorType: ActorType; /** Total number of effective permissions */ effectivePermissionCount: Scalars['Int']['output']; /** Permission overrides for this actor */ permissionOverrides: Array; /** Roles assigned to this actor */ roleAssignments: Array; scopeId: Scalars['String']['output']; }; export type ActorRbacSummaryPage = { __typename?: 'ActorRbacSummaryPage'; items: Array; pageInfo: OffsetPageInfo; }; /** Actor's role assignment in a workspace */ export type ActorRoleAssignment = { __typename?: 'ActorRoleAssignment'; actorId: Scalars['String']['output']; actorType: ActorType; assignedAt: Scalars['DateTime']['output']; assignedBy?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; delegatedBy?: Maybe; expiresAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; onBehalfOf?: Maybe; /** The role assigned */ role: Role; roleId: Scalars['String']['output']; scopeId: Scalars['String']['output']; /** Optional: Scope role to specific resource instance */ scopeResourceId?: Maybe; /** Optional: Scope role to specific resource type */ scopeResourceType?: Maybe; }; export type ActorRoleAssignmentPage = { __typename?: 'ActorRoleAssignmentPage'; items: Array; pageInfo: OffsetPageInfo; }; /** Actor types - actors are created in auth-svc, RBAC just references opaque IDs */ export declare enum ActorType { /** Automated bot (workflow, AI assistant) */ Bot = "BOT", /** Service acting on behalf of user */ DelegatedAgent = "DELEGATED_AGENT", /** Workspace group actor used for inherited/shared permissions */ Group = "GROUP", /** External API integration (Zapier, etc.) */ Integration = "INTEGRATION", /** Human user */ User = "USER" } export type AdaAdapter = { __typename?: 'AdaAdapter'; capabilities: Array; configSchema?: Maybe; connections: Array; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; kind: AdaAdapterKind; name: Scalars['String']['output']; slug: Scalars['String']['output']; status: AdaAdapterStatus; tags: Array; updatedAt: Scalars['DateTime']['output']; vendor?: Maybe; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaAdapterConnectionPage = { __typename?: 'AdaAdapterConnectionPage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaAdapterKind { Custom = "CUSTOM", DataSystem = "DATA_SYSTEM", Edge = "EDGE", Iot = "IOT", Kubernetes = "KUBERNETES", Network = "NETWORK", OnPrem = "ON_PREM", PrivateCloud = "PRIVATE_CLOUD", PublicCloud = "PUBLIC_CLOUD", Saas = "SAAS" } export declare enum AdaAdapterStatus { Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT", Published = "PUBLISHED" } export declare enum AdaAuthMethod { ApiKey = "API_KEY", Certificate = "CERTIFICATE", IamRole = "IAM_ROLE", None = "NONE", Oauth2 = "OAUTH2", ServiceAccount = "SERVICE_ACCOUNT" } export type AdaChargebackLine = { __typename?: 'AdaChargebackLine'; amount: Scalars['Float']['output']; service: Scalars['String']['output']; }; export declare enum AdaChargebackMode { Chargeback = "CHARGEBACK", Showback = "SHOWBACK" } export type AdaChargebackReport = { __typename?: 'AdaChargebackReport'; childWorkspaces: Array; costCenter?: Maybe; currency: Scalars['String']['output']; lines: Array; mode: AdaChargebackMode; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; reference?: Maybe; totalAmount: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaChargebackWorkspaceAmount = { __typename?: 'AdaChargebackWorkspaceAmount'; amount: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaCompleteSyncRunInput = { discoveredCount?: InputMaybe; driftCount?: InputMaybe; reconciledCount?: InputMaybe; summary?: InputMaybe; violationCount?: InputMaybe; }; export type AdaConnection = { __typename?: 'AdaConnection'; adapter?: Maybe; adapterId: Scalars['ID']['output']; authMethod: AdaAuthMethod; config?: Maybe; createdAt: Scalars['DateTime']['output']; environment?: Maybe; id: Scalars['ID']['output']; lastError?: Maybe; lastSyncedAt?: Maybe; name: Scalars['String']['output']; region?: Maybe; resourceCount: Scalars['Int']['output']; resources: Array; secretRef?: Maybe; status: AdaConnectionStatus; tags: Array; targetRef?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaConnectionPage = { __typename?: 'AdaConnectionPage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaConnectionStatus { Connected = "CONNECTED", Degraded = "DEGRADED", Disabled = "DISABLED", Error = "ERROR", Pending = "PENDING" } export type AdaCostRecord = { __typename?: 'AdaCostRecord'; amount: Scalars['Float']['output']; breakdown?: Maybe; /** The connection this cost is attributed to (resolved), if any. */ connection?: Maybe; connectionId?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** The resource this cost is attributed to (resolved), if any. */ resource?: Maybe; resourceId?: Maybe; service: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaCostRecordConnection = { __typename?: 'AdaCostRecordConnection'; items: Array; pageInfo: AdaPageInfo; }; export type AdaCostSummary = { __typename?: 'AdaCostSummary'; currency: Scalars['String']['output']; lines: Array; total: Scalars['Float']['output']; }; export type AdaCostSummaryLine = { __typename?: 'AdaCostSummaryLine'; service: Scalars['String']['output']; total: Scalars['Float']['output']; }; export type AdaCreateAdapterInput = { capabilities?: InputMaybe>; configSchema?: InputMaybe; description?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; slug: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; vendor?: InputMaybe; version?: InputMaybe; }; export type AdaCreateConnectionInput = { adapterId: Scalars['ID']['input']; authMethod?: InputMaybe; config?: InputMaybe; environment?: InputMaybe; name: Scalars['String']['input']; region?: InputMaybe; secretRef?: InputMaybe; tags?: InputMaybe>; targetRef?: InputMaybe; }; export type AdaCreatePolicyInput = { appliesTo?: InputMaybe>; description?: InputMaybe; enforcement?: InputMaybe; expression: Scalars['JSON']['input']; isActive?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; severity?: InputMaybe; tags?: InputMaybe>; }; export type AdaCreateTopologyEdgeInput = { attributes?: InputMaybe; bidirectional?: InputMaybe; fromResourceId: Scalars['ID']['input']; kind?: InputMaybe; toResourceId: Scalars['ID']['input']; weight?: InputMaybe; }; export type AdaDataSubjectRequest = { __typename?: 'AdaDataSubjectRequest'; /** * Redacted workspace-data payload. Only populated for a caller's own COMPLETED * export request (self-scoped) or, for admins, once explicitly reviewed. * Capped at 5,000 rows per table (newest first) to protect the service from * an unbounded compile on an actor with an unusually large history — if any * table was truncated, `truncationNotice` explains which and `recordCounts. * truncatedTables` names them; the export is never silently incomplete. */ artifactJson?: Maybe; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; expiresAt?: Maybe; id: Scalars['ID']['output']; recordCounts?: Maybe; requestType: AdaDataSubjectRequestType; requestorId: Scalars['ID']['output']; retentionRule: AdaDataSubjectRetentionRule; scope: Scalars['String']['output']; status: AdaDataSubjectRequestStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaDataSubjectRequestPage = { __typename?: 'AdaDataSubjectRequestPage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaDataSubjectRequestStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Processing = "PROCESSING" } export declare enum AdaDataSubjectRequestType { Erasure = "ERASURE", Export = "EXPORT" } export declare enum AdaDataSubjectRetentionRule { Standard = "STANDARD", Statutory = "STATUTORY" } export type AdaDriftRecord = { __typename?: 'AdaDriftRecord'; attributePath: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; detectedAt: Scalars['DateTime']['output']; expectedValue?: Maybe; id: Scalars['ID']['output']; observedValue?: Maybe; remediatedAt?: Maybe; resourceId: Scalars['ID']['output']; severity: AdaSeverity; status: AdaDriftStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaDriftRecordConnection = { __typename?: 'AdaDriftRecordConnection'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaDriftStatus { Acknowledged = "ACKNOWLEDGED", Detected = "DETECTED", Ignored = "IGNORED", Remediated = "REMEDIATED" } export declare enum AdaEdgeKind { ConnectsTo = "CONNECTS_TO", Contains = "CONTAINS", DependsOn = "DEPENDS_ON", ReplicatesTo = "REPLICATES_TO", RoutesTo = "ROUTES_TO" } export type AdaIngestCostInput = { amount: Scalars['Float']['input']; breakdown?: InputMaybe; connectionId?: InputMaybe; currency?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; resourceId?: InputMaybe; service: Scalars['String']['input']; }; export declare enum AdaInvitationStatus { Accepted = "ACCEPTED", Expired = "EXPIRED", Pending = "PENDING", Revoked = "REVOKED" } export type AdaLegalAcceptance = { __typename?: 'AdaLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: AdaLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AdaLegalAcceptancePage = { __typename?: 'AdaLegalAcceptancePage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaLegalCheckpointType { AiTermsAccept = "AI_TERMS_ACCEPT", CookieAccept = "COOKIE_ACCEPT", DpaAccept = "DPA_ACCEPT", PrivacyAccept = "PRIVACY_ACCEPT", TosSignup = "TOS_SIGNUP" } export type AdaPageInfo = { __typename?: 'AdaPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; totalCount: Scalars['Int']['output']; }; export declare enum AdaPartnerCapability { ChargebackMetadata = "CHARGEBACK_METADATA", MspHierarchy = "MSP_HIERARCHY", ResellerOnboarding = "RESELLER_ONBOARDING", SubscriptionManagement = "SUBSCRIPTION_MANAGEMENT", WhiteLabelPortal = "WHITE_LABEL_PORTAL", WorkspaceAggregation = "WORKSPACE_AGGREGATION" } export declare enum AdaPartnerCapabilityState { Supported = "SUPPORTED", Unsupported = "UNSUPPORTED" } export type AdaPartnerCapabilityStatus = { __typename?: 'AdaPartnerCapabilityStatus'; capability: AdaPartnerCapability; reason?: Maybe; state: AdaPartnerCapabilityState; }; export type AdaPartnerChargebackMetadata = { __typename?: 'AdaPartnerChargebackMetadata'; costCenter?: Maybe; mode: AdaChargebackMode; reference?: Maybe; }; /** * Public, non-sensitive branding projection for a verified portal domain — used * by a reseller's own white-label frontend to resolve branding for a visitor's * hostname before that visitor has any workspace session. Never includes * workspaceId, chargeback data, or invitation state. */ export type AdaPartnerPortalBranding = { __typename?: 'AdaPartnerPortalBranding'; displayName?: Maybe; logoUrl?: Maybe; primaryColor?: Maybe; }; /** * White-label portal branding for a reseller's own customer-facing surface. * A custom domain is proven by publishing a DNS TXT record named * domainVerificationRecordName with the value domainVerificationRecordValue. */ export type AdaPartnerPortalSettings = { __typename?: 'AdaPartnerPortalSettings'; customDomain?: Maybe; domainCheckedAt?: Maybe; /** Why the last domain ownership check did not pass. Null once verified. */ domainError?: Maybe; domainStatus?: Maybe; /** Fully qualified name of the TXT record, e.g. _adaptercloud-partner-challenge.portal.example.com. */ domainVerificationRecordName?: Maybe; /** DNS record type to create for domain ownership. Always TXT. */ domainVerificationRecordType?: Maybe; /** Exact value the TXT record must contain. */ domainVerificationRecordValue?: Maybe; domainVerifiedAt?: Maybe; enabled: Scalars['Boolean']['output']; logoUrl?: Maybe; primaryColor?: Maybe; reason?: Maybe; state: AdaPartnerCapabilityState; }; export type AdaPartnerProfile = { __typename?: 'AdaPartnerProfile'; capabilities: Array; chargeback: AdaPartnerChargebackMetadata; createdAt: Scalars['DateTime']['output']; displayName?: Maybe; id: Scalars['ID']['output']; parentWorkspaceId?: Maybe; portal: AdaPartnerPortalSettings; relationship: AdaPartnerRelationship; unsupportedCapabilities: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum AdaPartnerRelationship { DirectCustomer = "DIRECT_CUSTOMER", MspReseller = "MSP_RESELLER", ResellerCustomer = "RESELLER_CUSTOMER" } export type AdaPolicy = { __typename?: 'AdaPolicy'; appliesTo: Array; createdAt: Scalars['DateTime']['output']; description?: Maybe; enforcement: AdaPolicyEnforcement; expression: Scalars['JSON']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; kind: AdaPolicyKind; name: Scalars['String']['output']; severity: AdaSeverity; tags: Array; updatedAt: Scalars['DateTime']['output']; violations: Array; workspaceId: Scalars['ID']['output']; }; export declare enum AdaPolicyEnforcement { Advisory = "ADVISORY", Block = "BLOCK", Warn = "WARN" } export declare enum AdaPolicyKind { Compliance = "COMPLIANCE", Cost = "COST", Guardrail = "GUARDRAIL", Naming = "NAMING", Security = "SECURITY", Tagging = "TAGGING" } export type AdaPolicyPage = { __typename?: 'AdaPolicyPage'; items: Array; pageInfo: AdaPageInfo; }; export type AdaPolicyViolation = { __typename?: 'AdaPolicyViolation'; createdAt: Scalars['DateTime']['output']; detectedAt: Scalars['DateTime']['output']; evidence?: Maybe; id: Scalars['ID']['output']; message: Scalars['String']['output']; policy?: Maybe; policyId: Scalars['ID']['output']; resolvedAt?: Maybe; resolvedById?: Maybe; resourceId: Scalars['ID']['output']; severity: AdaSeverity; status: AdaViolationStatus; updatedAt: Scalars['DateTime']['output']; waiverReason?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AdaPolicyViolationPage = { __typename?: 'AdaPolicyViolationPage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaPortalDomainStatus { Pending = "PENDING", Verified = "VERIFIED" } export type AdaRecordDriftInput = { attributePath: Scalars['String']['input']; expectedValue?: InputMaybe; observedValue?: InputMaybe; resourceId: Scalars['ID']['input']; severity?: InputMaybe; }; export type AdaRecordLegalAcceptanceInput = { checkpointType: AdaLegalCheckpointType; documentVersion: Scalars['String']['input']; ipAddress?: InputMaybe; userAgent?: InputMaybe; }; export type AdaRecordViolationInput = { evidence?: InputMaybe; message: Scalars['String']['input']; policyId: Scalars['ID']['input']; resourceId: Scalars['ID']['input']; severity?: InputMaybe; }; export type AdaRegisterResourceInput = { attributes?: InputMaybe; connectionId: Scalars['ID']['input']; externalId: Scalars['String']['input']; monthlyCost?: InputMaybe; name: Scalars['String']['input']; providerTags?: InputMaybe; region?: InputMaybe; resourceType: Scalars['String']['input']; tags?: InputMaybe>; }; export type AdaRequestDataErasureInput = { /** Reason for the erasure request; required for the compliance audit trail. */ reason: Scalars['String']['input']; }; export type AdaRequestDataExportInput = { /** Free-form reason/context captured for the audit trail (optional). */ reason?: InputMaybe; }; export type AdaResellerInvitation = { __typename?: 'AdaResellerInvitation'; acceptedAt?: Maybe; acceptedByWorkspaceId?: Maybe; createdAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; resellerWorkspaceId: Scalars['ID']['output']; status: AdaInvitationStatus; targetWorkspaceId?: Maybe; token: Scalars['String']['output']; }; export type AdaResource = { __typename?: 'AdaResource'; attributes?: Maybe; connection?: Maybe; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; dependsOn: Array; externalId: Scalars['String']['output']; id: Scalars['ID']['output']; lastSeenAt?: Maybe; monthlyCost: Scalars['Float']['output']; name: Scalars['String']['output']; providerTags?: Maybe; region?: Maybe; resourceType: Scalars['String']['output']; state: AdaResourceState; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaResourcePage = { __typename?: 'AdaResourcePage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaResourceState { Deleted = "DELETED", Discovered = "DISCOVERED", Drifted = "DRIFTED", Orphaned = "ORPHANED", Reconciled = "RECONCILED" } export declare enum AdaSeverity { Critical = "CRITICAL", High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } export type AdaStartSyncRunInput = { connectionId: Scalars['ID']['input']; kind?: InputMaybe; }; export declare enum AdaSyncKind { CostIngest = "COST_INGEST", Discovery = "DISCOVERY", Full = "FULL", Reconcile = "RECONCILE" } export type AdaSyncRun = { __typename?: 'AdaSyncRun'; /** The connection this run executed against (resolved). */ connection?: Maybe; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; discoveredCount: Scalars['Int']['output']; driftCount: Scalars['Int']['output']; error?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; kind: AdaSyncKind; reconciledCount: Scalars['Int']['output']; startedAt?: Maybe; status: AdaSyncStatus; summary?: Maybe; updatedAt: Scalars['DateTime']['output']; violationCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaSyncRunPage = { __typename?: 'AdaSyncRunPage'; items: Array; pageInfo: AdaPageInfo; }; export declare enum AdaSyncStatus { Cancelled = "CANCELLED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED" } export type AdaTopologyEdge = { __typename?: 'AdaTopologyEdge'; attributes?: Maybe; bidirectional: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; fromResourceId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: AdaEdgeKind; toResourceId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; weight: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AdaTopologyEdgeConnection = { __typename?: 'AdaTopologyEdgeConnection'; items: Array; pageInfo: AdaPageInfo; }; export type AdaUpdateAdapterInput = { capabilities?: InputMaybe>; configSchema?: InputMaybe; description?: InputMaybe; kind?: InputMaybe; name?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; vendor?: InputMaybe; version?: InputMaybe; }; export type AdaUpdateConnectionInput = { authMethod?: InputMaybe; config?: InputMaybe; environment?: InputMaybe; name?: InputMaybe; region?: InputMaybe; secretRef?: InputMaybe; tags?: InputMaybe>; targetRef?: InputMaybe; }; export type AdaUpdatePolicyInput = { appliesTo?: InputMaybe>; description?: InputMaybe; enforcement?: InputMaybe; expression?: InputMaybe; isActive?: InputMaybe; kind?: InputMaybe; name?: InputMaybe; severity?: InputMaybe; tags?: InputMaybe>; }; export type AdaUpsertPartnerProfileInput = { capabilities?: InputMaybe>; chargebackCostCenter?: InputMaybe; chargebackMode?: InputMaybe; chargebackReference?: InputMaybe; displayName?: InputMaybe; parentWorkspaceId?: InputMaybe; portalCustomDomain?: InputMaybe; portalEnabled?: InputMaybe; portalLogoUrl?: InputMaybe; portalPrimaryColor?: InputMaybe; relationship?: InputMaybe; }; export declare enum AdaViolationStatus { Acknowledged = "ACKNOWLEDGED", Open = "OPEN", Resolved = "RESOLVED", Waived = "WAIVED" } /** Input for zero-config agent onboarding via tunnel URL + API key. */ export type AddAgentFromTunnelInput = { /** Agent's inbound API key (x-agent-api-key header), shown on the agent's startup banner. */ apiKey: Scalars['String']['input']; /** Optional display name override; defaults to the probed hostname. */ name?: InputMaybe; /** Optional OAuth scopes. Defaults to workspace:read, vibecontrols:read, vibecontrols:write. */ scopes?: InputMaybe>; /** Skip creating a devportal Application for the OAuth app (default: false). */ skipDevportalApp?: InputMaybe; /** Optional target to attach the agent to. If omitted a DIRECT target is auto-created. */ targetId?: InputMaybe; /** Public HTTPS URL the agent advertises on boot (e.g. Cloudflare quick tunnel). */ tunnelUrl: Scalars['String']['input']; }; /** Result of the zero-config agent onboarding flow. */ export type AddAgentFromTunnelResult = { __typename?: 'AddAgentFromTunnelResult'; /** Registered + configured agent record. */ agent: VibecontrolsAgent; /** OAuth client ID minted for this agent. */ clientId: Scalars['String']['output']; /** OAuth client secret. Shown once here for audit — the agent already holds it. */ clientSecret: Scalars['String']['output']; /** DevPortal Application ID (null if skipDevportalApp was true). */ devportalApplicationId?: Maybe; /** Error message if the probe failed or any downstream step returned an error. */ error?: Maybe; /** True when register + setup + push all succeeded. */ success: Scalars['Boolean']['output']; }; export type AddCollectionItemInput = { collectionId: Scalars['ID']['input']; fileId: Scalars['ID']['input']; note?: InputMaybe; order?: InputMaybe; }; export type AddGgnomadCartItemInput = { checkIn?: InputMaybe; checkOut?: InputMaybe; currency?: InputMaybe; eventDate?: InputMaybe; guests?: InputMaybe; itemId: Scalars['String']['input']; itemName: Scalars['String']['input']; itemType: GgnomadBookingType; notes?: InputMaybe; quantity?: InputMaybe; unitPrice: Scalars['Float']['input']; }; export type AddGgnomadGroupTripMemberInput = { actorId: Scalars['String']['input']; displayName: Scalars['String']['input']; email?: InputMaybe; }; export type AddGgnomadTripPlanItemInput = { currency?: InputMaybe; day?: InputMaybe; itemId: Scalars['String']['input']; itemName: Scalars['String']['input']; itemType: Scalars['String']['input']; notes?: InputMaybe; price?: InputMaybe; scheduledAt?: InputMaybe; }; export type AddHealthyBowlAggregationLotContributionInput = { committedQty: Scalars['Float']['input']; context: ContextInput; grade?: InputMaybe; /** A harvest record in that member's own workspace. One live contribution per harvest, ever. */ harvestRecordId: Scalars['ID']['input']; lotId: Scalars['ID']['input']; /** Must reference an ACCEPTED membership in the lot's group. */ membershipId: Scalars['ID']['input']; unitPrice?: InputMaybe; }; export type AddHealthyBowlContractAggregationLotLinesInput = { context: ContextInput; /** Delivery ids (this sponsor's contract deliveries) to attach — each may belong to at most one lot. */ deliveryIds: Array; lotId: Scalars['ID']['input']; }; export type AddHealthyBowlInputPlanItemInput = { allocatedQty?: InputMaybe; category?: InputMaybe; context: ContextInput; cropId?: InputMaybe; cropName?: InputMaybe; fieldId?: InputMaybe; fieldName: Scalars['String']['input']; inputType: Scalars['String']['input']; planId: Scalars['ID']['input']; plannedBudget?: InputMaybe; plannedQty?: InputMaybe; unit?: InputMaybe; unitCost?: InputMaybe; usedQty?: InputMaybe; }; export type AddHealthyBowlInsuranceClaimEventInput = { approvedAmount?: InputMaybe; claimId: Scalars['ID']['input']; context: ContextInput; description?: InputMaybe; eventDate?: InputMaybe; label: Scalars['String']['input']; /** The new claim status this event advances to. */ status: Scalars['String']['input']; surveyorName?: InputMaybe; }; export type AddKnowledgeDocumentInput = { content: Scalars['String']['input']; fileId: Scalars['ID']['input']; knowledgeBaseId: Scalars['ID']['input']; metadata?: InputMaybe; title: Scalars['String']['input']; }; export type AddMeetingParticipantInput = { role?: InputMaybe; status?: InputMaybe; userId: Scalars['ID']['input']; }; export type AddMemberInput = { email?: InputMaybe; entityId?: InputMaybe; entityType?: InputMaybe; expiresAt?: InputMaybe; role?: InputMaybe; }; export type AddMembersResult = { __typename?: 'AddMembersResult'; added: Array; failed: Array; failedCount: Scalars['Int']['output']; successCount: Scalars['Int']['output']; }; export type AddParticipantInput = { conversationId: Scalars['ID']['input']; role?: InputMaybe; userId: Scalars['ID']['input']; }; /** Input for adding a project member */ export type AddProjectMemberInput = { /** Project ID to add member to */ projectId: Scalars['ID']['input']; /** User ID to add as member */ userId: Scalars['ID']['input']; }; /** Input for adding a reaction */ export type AddReactionInput = { commentId: Scalars['ID']['input']; emoji: Scalars['String']['input']; /** * Deprecated and ignored. The reacting user is always the authenticated actor * (x-actor-id); a client-supplied user id is never trusted. * @deprecated Ignored: the reaction always belongs to the authenticated actor. */ userId?: InputMaybe; }; export type AddScorecardMetricInput = { /** Operation context for scoping */ context?: InputMaybe; /** Human-readable description */ description?: InputMaybe; /** Whether higher or lower values are better (default HIGHER_IS_BETTER). */ direction?: InputMaybe; /** Height of the iframe in pixels */ iframeHeight?: InputMaybe; /** Optional iframe embed URL for custom visualization */ iframeUrl?: InputMaybe; /** Flexible key-value metadata */ metadata?: InputMaybe; /** Metric display name (must be unique within the scorecard) */ name: Scalars['String']['input']; /** Guidance shown when the metric is WARNING or FAILING. */ remediation?: InputMaybe; /** Pin the status manually. Omit to auto-derive from value vs threshold. */ status?: InputMaybe; /** Target threshold for passing */ threshold?: InputMaybe; tier?: InputMaybe; /** Classification of this metric */ type?: InputMaybe; /** Unit of measurement */ unit?: InputMaybe; /** Current metric value */ value?: InputMaybe; /** Relative weight in the overall score (default 1). */ weight?: InputMaybe; }; export type AddTrackingEventInput = { details?: InputMaybe; eventType: TrackingEventType; location?: InputMaybe; shipmentId: Scalars['ID']['input']; timestamp?: InputMaybe; }; /** * Input for adding a member to a workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ export type AddWorkspaceMemberInput = { /** Operation context for scoping */ context?: InputMaybe; /** * Workspace RBAC role IDs to grant (optional, at most 100, duplicates ignored). * New member: gets exactly these roles; a role still held from an earlier membership is revoked, which the caller * must also be allowed to do (assignment:delete). Omitted or [] gets exactly the workspace default member role * (Editor), replacing any earlier grant. * Existing member: listed roles not already held are added, nothing is removed; omitted or [] changes nothing * (an intentional zero-role member stays at zero). RBAC validates the IDs and checks the verified caller * (gateway x-actor-id/x-actor-type, never a client argument) holds assignment:create and may grant or revoke * protected roles (Workspace Owner/Admin). Invalid or unauthorized input fails the whole request and adds no member. */ roleIds?: InputMaybe>; /** User ID to add as member */ userId: Scalars['ID']['input']; }; export type AdjustHealthyBowlProductStockInput = { context: ContextInput; /** IN | OUT */ direction: Scalars['String']['input']; /** Why the stock moved, in the operator's own words. This is what the ledger is for. */ notes?: InputMaybe; occurredAt?: InputMaybe; /** The order this movement settles, when there is one. */ orderId?: InputMaybe; productId: Scalars['ID']['input']; /** Positive whole number. `Product.stock` is an integer column, so fractions are rejected. */ quantity: Scalars['Int']['input']; /** HARVEST | RECEIPT | SALE | TRANSFER | ADJUSTMENT | SPOILAGE | OTHER. Defaults to ADJUSTMENT. */ reason?: InputMaybe; reference?: InputMaybe; unit?: InputMaybe; }; export type AdjustInventoryStockInput = { allocated?: InputMaybe; available?: InputMaybe; damaged?: InputMaybe; id: Scalars['ID']['input']; onHand?: InputMaybe; }; export type AdminAnalyticsEventItem = { __typename?: 'AdminAnalyticsEventItem'; action: Scalars['String']['output']; actorId?: Maybe; actorType?: Maybe; category: Scalars['String']['output']; description?: Maybe; details?: Maybe; id: Scalars['ID']['output']; moduleKey: Scalars['String']['output']; resourceId?: Maybe; resourceType?: Maybe; severity: AnalyticsEventSeverity; source: Scalars['String']['output']; timestamp: Scalars['DateTime']['output']; }; export type AdminAnalyticsInput = { actions?: InputMaybe>; actorIds?: InputMaybe>; categories?: InputMaybe>; endDate: Scalars['DateTime']['input']; limit?: InputMaybe; moduleKeys?: InputMaybe>; offset?: InputMaybe; refreshCache?: InputMaybe; resourceTypes?: InputMaybe>; search?: InputMaybe; startDate: Scalars['DateTime']['input']; }; export type AdminAnalyticsInsight = { __typename?: 'AdminAnalyticsInsight'; id: Scalars['ID']['output']; metricValue?: Maybe; recommendation?: Maybe; severity: AnalyticsInsightSeverity; summary: Scalars['String']['output']; title: Scalars['String']['output']; }; export type AdminAnalyticsKeyMetric = { __typename?: 'AdminAnalyticsKeyMetric'; key: Scalars['String']['output']; label: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type AdminAnalyticsModuleSummary = { __typename?: 'AdminAnalyticsModuleSummary'; criticalEvents: Scalars['Int']['output']; deniedActions: Scalars['Int']['output']; label: Scalars['String']['output']; latestEventAt?: Maybe; moduleKey: Scalars['String']['output']; topActions: Array; totalEvents: Scalars['Int']['output']; uniqueActors: Scalars['Int']['output']; uniqueResources: Scalars['Int']['output']; }; export type AdminAnalyticsOverview = { __typename?: 'AdminAnalyticsOverview'; activeDays: Scalars['Int']['output']; cached: Scalars['Boolean']['output']; criticalEventCount: Scalars['Int']['output']; deniedActions: Scalars['Int']['output']; exportsTriggered: Scalars['Int']['output']; freshnessAt: Scalars['DateTime']['output']; generatedAt: Scalars['DateTime']['output']; insights: Array; modules: Array; rbacChanges: Scalars['Int']['output']; reportCount: Scalars['Int']['output']; resourceUsage?: Maybe; scheduleCount: Scalars['Int']['output']; securitySignals: Scalars['Int']['output']; sourceStatuses: Array; timeSeries: Array; topActions: Array; topModules: Array; totalEvents: Scalars['Int']['output']; uniqueActors: Scalars['Int']['output']; uniqueResources: Scalars['Int']['output']; usageBreakdown: Array; usageRecords: Scalars['Int']['output']; usageTotalAmount: Scalars['Float']['output']; }; export type AdminAnalyticsSourceStatus = { __typename?: 'AdminAnalyticsSourceStatus'; available: Scalars['Boolean']['output']; error?: Maybe; latestTimestamp?: Maybe; recordCount: Scalars['Int']['output']; source: Scalars['String']['output']; }; export type AdminAnalyticsTimeSeriesPoint = { __typename?: 'AdminAnalyticsTimeSeriesPoint'; bucketStart: Scalars['DateTime']['output']; deniedActions: Scalars['Int']['output']; exportsTriggered: Scalars['Int']['output']; securitySignals: Scalars['Int']['output']; totalEvents: Scalars['Int']['output']; uniqueActors: Scalars['Int']['output']; }; export type AdminAnalyticsTimelineResult = { __typename?: 'AdminAnalyticsTimelineResult'; cached: Scalars['Boolean']['output']; freshnessAt: Scalars['DateTime']['output']; generatedAt: Scalars['DateTime']['output']; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type AdminAnalyticsUsageBucket = { __typename?: 'AdminAnalyticsUsageBucket'; count: Scalars['Int']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; totalAmount: Scalars['Float']['output']; }; export type AdminEntityCountItem = { __typename?: 'AdminEntityCountItem'; count: Scalars['Int']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type AdminEntityCounts = { __typename?: 'AdminEntityCounts'; cached: Scalars['Boolean']['output']; counts: Array; generatedAt: Scalars['DateTime']['output']; }; export type AgentAnalytics = { __typename?: 'AgentAnalytics'; active: Scalars['Int']['output']; byArchitecture: Array; byPlatform: Array; /** Agents created over time */ createdOverTime: Array; inactive: Scalars['Int']['output']; /** Agents with heartbeat older than 5 minutes */ staleHeartbeatCount: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** * Short-lived signed token + its absolute expiry. Returned by * `mintAgentCapability`. The token is opaque to clients and is meant to be * passed to the agent (e.g. as a URL fragment for iframe bootstrap or as * `x-vibe-iframe-token` for REST). */ export type AgentCapability = { __typename?: 'AgentCapability'; expiresAt: Scalars['DateTime']['output']; token: Scalars['String']['output']; }; /** * Scope of a short-lived agent capability token. Each scope maps to a specific * agent path prefix the token may be used against. */ export declare enum AgentCapabilityScope { /** * Authorises iframe embed of `/ui/` for a UI plugin surface. * `resourceId` must be the plugin's package or display name. */ IframePlugin = "IFRAME_PLUGIN", /** * Authorises iframe embed of `/plan/` — the plannotator plan-review * proxy served at the agent's top-level `/plan/*`. `resourceId` must be the * plan session id. Distinct from IFRAME_PLUGIN (`/ui/`): the plan UI is * a session-scoped reverse proxy, not a `/ui/` surface, so its token * must be bound to `/plan/` to match the iframe URL. */ PlanSession = "PLAN_SESSION", /** * DEPRECATED for client mints. The agent's iframe-token allow-list bans * `/api/ai/*` prefixes (audit-B P0-SEC-03), so a public mint with * SCHEDULED_JOB will be rejected by `mintAgentCapability`. Server-side * scheduled-prompt dispatch routes through `ScheduledPromptService` over * the trusted internal back-channel. */ ScheduledJob = "SCHEDULED_JOB", /** * Authorises iframe embed of `/terminal/` (ttyd session UI). * `resourceId` must be the session id. */ TerminalSession = "TERMINAL_SESSION" } export type AgentConnection = { __typename?: 'AgentConnection'; connectionId?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; label?: Maybe; metadata?: Maybe; permissions: Array; protocol: TargetType; scopes: Array; sourceAgent: VibecontrolsAgent; status: Scalars['String']['output']; target: Target; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type AgentConnectionConfig = { __typename?: 'AgentConnectionConfig'; permissions: Array; scopes: Array; }; export type AgentConnectionEvent = { __typename?: 'AgentConnectionEvent'; detailsJson?: Maybe; id: Scalars['ID']['output']; level: Scalars['String']['output']; message: Scalars['String']['output']; sequence: Scalars['Int']['output']; step: Scalars['String']['output']; timestamp: Scalars['String']['output']; }; /** Connectivity status for a single agent. */ export type AgentConnectivityStatus = { __typename?: 'AgentConnectivityStatus'; agentId: Scalars['ID']['output']; agentName: Scalars['String']['output']; connected: Scalars['Boolean']['output']; errorMessage?: Maybe; tunnelUrl?: Maybe; }; export type AgentDefinition = { __typename?: 'AgentDefinition'; /** The agent's actor id (an app actor). Activity rows name it as the actor. */ appId: Scalars['String']['output']; /** Connection ids the agent's tools may run with. */ connectionScope: Array; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; ownerUserId: Scalars['String']['output']; /** Every tool call waits for a human approval, whatever the node says. */ requireToolApproval: Scalars['Boolean']['output']; status: AgentDefinitionStatus; toolAllowlist: Array; updatedAt: Scalars['DateTime']['output']; }; export type AgentDefinitionInput = { /** At most 100 connection ids. */ connectionScope: Array; description?: InputMaybe; /** 1 to 200 characters, unique in the workspace. */ name: Scalars['String']['input']; requireToolApproval?: InputMaybe; status?: InputMaybe; /** At most 100 rules. */ toolAllowlist: Array; }; export declare enum AgentDefinitionStatus { Active = "ACTIVE", Disabled = "DISABLED" } /** * Superseded by `BotmanorAgentFilterInput`, which types `status` and `type` with the BotManor enums. This input * goes with `listAgents` no earlier than 2027-02-05 (BOFF-9561). */ export type AgentFilterInput = { bucketId?: InputMaybe; context?: InputMaybe; createdById?: InputMaybe; search?: InputMaybe; /** @deprecated use BotmanorAgentFilterInput.status */ status?: InputMaybe; /** @deprecated use BotmanorAgentFilterInput.type */ type?: InputMaybe; visibility?: InputMaybe; workspaceId?: InputMaybe; }; /** Fleet-level rollup of agent statuses for the current workspace. */ export type AgentFleetSummary = { __typename?: 'AgentFleetSummary'; /** Agents whose last reported status is non-healthy and non-offline. */ degraded: Scalars['Int']['output']; /** Most recent `lastSeenAt` across the entire fleet, if available. */ lastSeenAt?: Maybe; /** Agents marked offline / unreachable / never-connected. */ offline: Scalars['Int']['output']; /** Agents with status considered healthy (HEALTHY / ACTIVE). */ online: Scalars['Int']['output']; /** Total agent count regardless of status. */ total: Scalars['Int']['output']; }; /** A person's grant that lets an agent act for them in this workspace. */ export type AgentGrant = { __typename?: 'AgentGrant'; agentDefinitionId: Scalars['ID']['output']; /** When the grant lapses; at most 365 days after it was given. */ expiresAt?: Maybe; grantedAt: Scalars['DateTime']['output']; grantedBy: Scalars['String']['output']; /** Whether this is the caller's own grant. */ isMine: Scalars['Boolean']['output']; /** ACTIVE while the agent may act for the person. */ status: Scalars['String']['output']; /** The person the agent acts for. */ userId: Scalars['String']['output']; }; export type AgentGraph = { __typename?: 'AgentGraph'; connections: Array; targets: Array; }; export type AgentGraphContextUrl = { __typename?: 'AgentGraphContextUrl'; expiresAt: Scalars['DateTime']['output']; token: Scalars['String']['output']; url: Scalars['String']['output']; }; /** Result of probing an agent's health endpoint. */ export type AgentHealthProbeResult = { __typename?: 'AgentHealthProbeResult'; agentId: Scalars['ID']['output']; agentName: Scalars['String']['output']; /** Agent-reported status (from /health) */ agentVersion?: Maybe; errorMessage?: Maybe; healthy: Scalars['Boolean']['output']; tunnelUrl?: Maybe; uptime?: Maybe; }; export type AgentInstructionFile = { __typename?: 'AgentInstructionFile'; agentId?: Maybe; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; /** Custom on-disk name, only meaningful when `filename == CUSTOM` (e.g. ".cursorrules"). */ customName?: Maybe; deletedAt?: Maybe; /** * The actual on-disk filename written to the agent working dir, derived from * `filename` (+ `customName` for CUSTOM). */ effectiveFilename: Scalars['String']['output']; filename: InstructionFilename; /** Whether this AgentInstructionFile has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; id: Scalars['ID']['output']; metadata?: Maybe; /** The calling actor's effective role on this AgentInstructionFile (null if no direct grant). */ myRole?: Maybe; onBehalfOf: Scalars['ID']['output']; scope: InstructionScope; /** Active share grants on this AgentInstructionFile (owner/MANAGER only). */ shares: Array; tags: Array; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; vibeId?: Maybe; visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; export type AgentInstructionFileFilterInput = { agentId?: InputMaybe; createdBy?: InputMaybe; filename?: InputMaybe; scope?: InputMaybe; search?: InputMaybe; vibeId?: InputMaybe; }; export type AgentInstructionFileList = { __typename?: 'AgentInstructionFileList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** Result of starting or stopping an agent via the backend proxy. */ export type AgentLifecycleActionResult = { __typename?: 'AgentLifecycleActionResult'; /** Error message if the proxy call failed. */ error?: Maybe; /** The latest lifecycle state known after the action. */ state: Scalars['String']['output']; /** Whether the requested lifecycle action succeeded. */ success: Scalars['Boolean']['output']; }; /** Current lifecycle state reported by the agent process. */ export type AgentLifecycleStateResult = { __typename?: 'AgentLifecycleStateResult'; /** Error message if the proxy call failed. */ error?: Maybe; /** Lifecycle state reported by the agent (running, stopped, unknown). */ state: Scalars['String']['output']; }; export type AgentLogEntry = { __typename?: 'AgentLogEntry'; level: Scalars['String']['output']; message: Scalars['String']['output']; metadataJson?: Maybe; source?: Maybe; timestamp: Scalars['String']['output']; }; export type AgentMeshDeployInput = { autostart?: InputMaybe; /** Skip install; peer with an already-running agent (same-host / remote). */ connectExisting?: InputMaybe; identityFile?: InputMaybe; installPlugins?: InputMaybe>; label?: InputMaybe; /** Peer permissions to grant ourselves on the new agent. `mesh:forward` is always added. */ permissions?: InputMaybe>; /** ssh://user@host[:port], a bare ssh_config alias, or `local` for same-host. */ target: Scalars['String']['input']; version?: InputMaybe; }; export type AgentMeshGraph = { __typename?: 'AgentMeshGraph'; agents: Array; connections: Array; meshLinks: Array; targets: Array; }; export type AgentMeshLink = { __typename?: 'AgentMeshLink'; createdAt: Scalars['DateTime']['output']; description?: Maybe; destinationAgent: VibecontrolsAgent; id: Scalars['ID']['output']; label?: Maybe; metadata?: Maybe; permissions: Array; scopes: Array; sourceAgent: VibecontrolsAgent; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type AgentMeshRequestInput = { body?: InputMaybe; /** HTTP method: GET | POST | PUT | PATCH | DELETE (validated server-side). */ method: Scalars['String']['input']; /** Canonical agent path: /api/profiles/

/... | /api/ai/... | /health | /metrics. */ path: Scalars['String']['input']; profile?: InputMaybe; timeoutMs?: InputMaybe; }; export type AgentMessageBookmark = { __typename?: 'AgentMessageBookmark'; agentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; label?: Maybe; messageId: Scalars['ID']['output']; sessionId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type AgentMessageBookmarkFilterInput = { agentId?: InputMaybe; sessionId?: InputMaybe; }; export type AgentMessageBookmarkList = { __typename?: 'AgentMessageBookmarkList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** A plugin installed on an agent. */ export type AgentPlugin = { __typename?: 'AgentPlugin'; /** REST API route prefix (e.g. "/api/git") */ apiPrefix?: Maybe; /** CLI command name (e.g. "git" for vibe git ...) */ cliCommand?: Maybe; /** Plugin description */ description?: Maybe; /** Whether the plugin has a CLI setup hook */ hasCliSetup: Scalars['Boolean']['output']; /** Whether the plugin provides tunnel/session providers */ hasProviders: Scalars['Boolean']['output']; /** Whether the plugin has a server ready hook */ hasServerReady: Scalars['Boolean']['output']; /** Whether the plugin has a server start hook */ hasServerStart: Scalars['Boolean']['output']; /** Whether the plugin has a server stop hook */ hasServerStop: Scalars['Boolean']['output']; /** Whether the plugin has a frontend UI */ hasUI: Scalars['Boolean']['output']; /** When the plugin was installed */ installedAt?: Maybe; /** Whether this is a core plugin (bundled with agent) */ isCore: Scalars['Boolean']['output']; /** Whether the plugin is currently loaded */ loaded: Scalars['Boolean']['output']; /** Package name (e.g. @burdenoff/vibe-plugin-docker) */ packageName: Scalars['String']['output']; /** Plugin display name */ pluginName: Scalars['String']['output']; /** Classification tags (backend, frontend, cli, provider, adapter, integration) */ tags?: Maybe>; /** Installed version */ version: Scalars['String']['output']; }; /** Result of installing or removing a plugin. */ export type AgentPluginActionResult = { __typename?: 'AgentPluginActionResult'; /** Error message if failed */ error?: Maybe; /** Whether the operation succeeded */ success: Scalars['Boolean']['output']; }; /** Result of listing plugins on an agent. */ export type AgentPluginListResult = { __typename?: 'AgentPluginListResult'; /** Available plugins from catalog */ available: Array; /** Error if agent was unreachable */ error?: Maybe; /** Installed plugins */ installed: Array; }; /** * Result of probing an agent's tunnel URL for health and identity. * Used by the Add Agent wizard (pre-creation) and Agent Detail page * to validate connectivity without the frontend calling the agent directly. */ export type AgentProbeResult = { __typename?: 'AgentProbeResult'; /** Agent software version from /health */ agentVersion?: Maybe; /** CPU architecture from agent identity endpoint */ architecture?: Maybe; /** Error message if the health check failed */ healthError?: Maybe; /** Whether the /health endpoint responded successfully */ healthOk: Scalars['Boolean']['output']; /** Agent-reported status string (e.g. "healthy") */ healthStatus?: Maybe; /** Machine hostname from agent identity endpoint */ hostname?: Maybe; /** Error message if the identity check failed */ identityError?: Maybe; /** Whether the /api/agent/identity endpoint responded successfully */ identityOk: Scalars['Boolean']['output']; /** Operating system platform from agent identity endpoint */ platform?: Maybe; /** Agent uptime in seconds from /health */ uptime?: Maybe; }; /** Generic proxied agent response used for AI/backend mediated requests. */ export type AgentProxyResponse = { __typename?: 'AgentProxyResponse'; data?: Maybe; error?: Maybe; ok: Scalars['Boolean']['output']; status: Scalars['Int']['output']; text?: Maybe; }; /** The decision on one agent tool call, and its delegated token when allowed. */ export type AgentRunToken = { __typename?: 'AgentRunToken'; agentAppId: Scalars['String']['output']; agentDefinitionId: Scalars['ID']['output']; allowed: Scalars['Boolean']['output']; connectionIds: Array; expiresAt?: Maybe; /** What the stored tool sub-node calls. */ nodeType: Scalars['String']['output']; /** The person the agent acts for. */ onBehalfOf?: Maybe; operation?: Maybe; /** * Why the call is refused: AGENT_UNAVAILABLE, TOOL_NOT_WIRED, TOOL_NOT_ALLOWED, * CONNECTION_OUT_OF_SCOPE or GRANT_REQUIRED. Null when allowed. */ reason?: Maybe; /** * Short-lived app_as_user token for the internal gateway's delegated transport * (x-delegated-authorization). Set only when allowed. Never log it or hand it to node code. */ token?: Maybe; }; /** An orphan session discovered on the agent host but not tracked. */ export type AgentSessionOrphan = { __typename?: 'AgentSessionOrphan'; /** Whether something is currently attached. */ attached: Scalars['Boolean']['output']; /** ISO-8601 creation time, if known. */ createdAt?: Maybe; /** Provider-native session id (e.g. tmux session name). */ externalName: Scalars['String']['output']; /** Backend provider (tmux / wezterm / zellij). */ provider: Scalars['String']['output']; /** Number of windows / panes / tabs. */ windows: Scalars['Int']['output']; }; export type AgentStats = { __typename?: 'AgentStats'; agentId: Scalars['ID']['output']; avgDurationMs?: Maybe; failedExecutions: Scalars['Int']['output']; lastExecutedAt?: Maybe; successfulExecutions: Scalars['Int']['output']; totalCost: Scalars['Float']['output']; totalExecutions: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; /** One step of an AI Agent loop. */ export type AgentStep = { __typename?: 'AgentStep'; /** The tool approval request that held the call, when it waited for a person. */ approvalId?: Maybe; /** The priced cost of the step's model call in micro-USD, once the AI ledger priced it. */ costMicroUsd?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** * Run data: what the step was given. Null when the run does not keep its data, or its data was * pruned or redacted away. */ input?: Maybe; /** The loop iteration (0-based) the step happened in. */ iteration: Scalars['Int']['output']; kind: AgentStepKind; latencyMs?: Maybe; model?: Maybe; nodeId: Scalars['String']['output']; /** The node execution the step belongs to; a retried node starts a new one. */ nodeStateId?: Maybe; /** Run data: what the step produced. Null in the same cases as input. */ output?: Maybe; /** The step's model call in the run's AI usage (runAiUsage), for PLAN steps. */ promptInvocationId?: Maybe; runId: Scalars['String']['output']; /** Order of the step inside its node execution. */ sequence: Scalars['Int']['output']; tokensIn?: Maybe; tokensOut?: Maybe; /** The model's id for the tool call, shared by a TOOL_CALL and its TOOL_RESULT. */ toolCallId?: Maybe; toolName?: Maybe; }; /** * BOFF-9936: what an AI Agent node's loop did, step by step: each model turn, each tool call and its * result, the final answer, and an error that ended the loop. */ export declare enum AgentStepKind { /** An error that ended the loop (output). */ Error = "ERROR", /** The agent's final answer (output). */ Final = "FINAL", /** One model turn: what the turn added to the conversation (input) and the model's reply (output). */ Plan = "PLAN", /** A tool call the model asked for: its arguments (input) and approval rule (output). */ ToolCall = "TOOL_CALL", /** What a tool returned, redacted and capped, or why it did not run (output). */ ToolResult = "TOOL_RESULT" } export type AgentTaskExecution = { __typename?: 'AgentTaskExecution'; /** Agent-side task ID (from SQLite) */ agentTaskId: Scalars['String']['output']; /** Error message if execution failed */ error?: Maybe; /** Process exit code */ exitCode?: Maybe; /** Task execution status */ status: Scalars['String']['output']; /** Standard error from the command */ stderr?: Maybe; /** Standard output from the command */ stdout?: Maybe; }; export type AgentTemplate = { __typename?: 'AgentTemplate'; /** @deprecated use botmanorAgentType */ agentType: BotlitAgentType; /** * The agent type every agent minted from this template gets. Same value as the * deprecated `agentType`, typed with the BotManor enum (BOFF-9561). */ botmanorAgentType: BotmanorAgentType; category: TemplateCategory; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; previewImage?: Maybe; tagIds: Array; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; visibility: TemplateVisibility; }; /** * A piece of an AI Agent model reply while the model is still writing it (BOFF-9938). The deltas of * one iteration join into its reply; the iteration's PLAN step in agentTrace holds the final text. */ export type AgentTokenDelta = { __typename?: 'AgentTokenDelta'; /** Reply text written since the previous delta of this iteration (may be empty). */ delta: Scalars['String']['output']; /** The model call ended; no more deltas for this iteration. */ done: Scalars['Boolean']['output']; /** Why the model call ended without a reply, when it failed. Redacted of the run's secrets. */ error?: Maybe; /** The loop iteration (0-based) whose model reply this is. */ iteration: Scalars['Int']['output']; nodeId: Scalars['String']['output']; /** The node execution the reply belongs to; null when the worker did not know it. */ nodeStateId?: Maybe; /** Where delta starts in the iteration's reply text, in characters. */ offset: Scalars['Int']['output']; /** The reply so far was replaced: drop it and start again from this delta (offset 0). */ reset: Scalars['Boolean']['output']; runId: Scalars['String']['output']; }; /** One allowlist rule: a node type and the operations of it the agent may call. */ export type AgentToolRule = { __typename?: 'AgentToolRule'; /** Base node type, e.g. store/slack. */ nodeType: Scalars['String']['output']; /** Allowed operations; empty allows every operation of the node type. */ operations: Array; }; export type AgentToolRuleInput = { nodeType: Scalars['String']['input']; operations?: InputMaybe>; }; /** The steps of every AI Agent loop of a run. */ export type AgentTrace = { __typename?: 'AgentTrace'; /** * The run's data was removed by its run-data settings: the steps keep their kinds, tools, tokens and * latencies, without inputs and outputs. */ dataPruned: Scalars['Boolean']['output']; /** One entry per AI Agent node execution, in the order the executions started. */ nodes: Array; runId: Scalars['String']['output']; totals: AgentTraceTotals; }; /** The steps of one loop iteration. */ export type AgentTraceIteration = { __typename?: 'AgentTraceIteration'; iteration: Scalars['Int']['output']; steps: Array; totals: AgentTraceTotals; }; /** The steps of one AI Agent node execution, by iteration. */ export type AgentTraceNode = { __typename?: 'AgentTraceNode'; iterations: Array; nodeId: Scalars['String']['output']; nodeStateId?: Maybe; totals: AgentTraceTotals; }; /** Token, latency and cost totals over a set of steps. */ export type AgentTraceTotals = { __typename?: 'AgentTraceTotals'; /** Priced cost in micro-USD of the model calls priced so far; null when none is priced yet. */ costMicroUsd?: Maybe; /** Sum of the steps' recorded latencies, in milliseconds. */ latencyMs: Scalars['Int']['output']; /** PLAN steps: the model turns. */ modelCalls: Scalars['Int']['output']; steps: Scalars['Int']['output']; tokensIn: Scalars['Int']['output']; tokensOut: Scalars['Int']['output']; /** TOOL_CALL steps. */ toolCalls: Scalars['Int']['output']; }; export type AgentUpdateCheck = { __typename?: 'AgentUpdateCheck'; currentVersion: Scalars['String']['output']; latestVersion: Scalars['String']['output']; updateAvailable: Scalars['Boolean']['output']; }; export type AgentVersion = { __typename?: 'AgentVersion'; agentId: Scalars['ID']['output']; changelog?: Maybe; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; publishedAt?: Maybe; publishedById?: Maybe; status: VersionStatus; version: Scalars['String']['output']; }; export declare enum AgentVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } /** A decision the engine proposed, with the evidence and rails behind it. */ export type AgronomyDecision = { __typename?: 'AgronomyDecision'; /** Why a rail blocked it, in words a farmer can act on. Null unless BLOCKED. */ blockedReason?: Maybe; /** 0..1, or null when nothing honest could be reported. */ confidence?: Maybe; createdAt: Scalars['String']['output']; decidedAt?: Maybe; decidedBy?: Maybe; /** One of: IRRIGATION | TREATMENT. */ decisionType: Scalars['String']['output']; fieldId?: Maybe; id: Scalars['ID']['output']; /** * The real records this rests on — probe code, reading timestamp, scan id. Never * a summary: every card must cite something the farmer can go and look at. */ inputs?: Maybe; modelName?: Maybe; modelProvider?: Maybe; plantScanId?: Maybe; railChecks: Array; rationale: Scalars['String']['output']; /** * Recommended irrigation depth in mm. Null for non-irrigation decisions, and * zero when the recommendation is to hold off. */ recommendedMm?: Maybe; /** MODEL | HEURISTIC — whether a model actually produced this wording. */ source: Scalars['String']['output']; /** * One of: PROPOSED | ACCEPTED | REJECTED | BLOCKED. * * BLOCKED is a compliance rail's verdict, not a suggestion — it can never be * accepted. If the rule is wrong, the fix is to correct the substance rulebook, * which leaves a record. */ status: Scalars['String']['output']; /** The field or plant scan this is about. */ subjectId: Scalars['ID']['output']; /** FIELD | PLANT_SCAN. */ subjectType: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['String']['output']; }; export type AgronomyDecisionFilterInput = { /** IRRIGATION | TREATMENT. */ decisionType?: InputMaybe; limit?: InputMaybe; /** PROPOSED | ACCEPTED | REJECTED | BLOCKED. */ status?: InputMaybe; }; /** Result of a sweep. */ export type AgronomyDecisionSweepResult = { __typename?: 'AgronomyDecisionSweepResult'; decisions: Array; /** * Subjects the sweep did not reach, so "no proposals" is never confused with * "not looked at". */ skipped: Scalars['Int']['output']; skippedReason?: Maybe; }; /** * One compliance rail and what it concluded (HB-UC-19). * * `NOT_APPLICABLE` is recorded rather than omitted: on a card read six months from * now, "this rail does not apply here" and "nobody remembered to run it" look * identical, and only one of them is safe. */ export type AgronomyRailCheck = { __typename?: 'AgronomyRailCheck'; detail: Scalars['String']['output']; /** One of: PASS | BLOCKED | NOT_APPLICABLE. */ outcome: Scalars['String']['output']; /** Rail identifier, e.g. PROHIBITED_SUBSTANCE | MEDICATION_WITHDRAWAL. */ rail: Scalars['String']['output']; }; /** * Which part of the asset a semantic-search match came from (BOFF-3825). * Every scored result carries at least one reason, so matches are explainable * rather than a fuzzy black box. */ export declare enum AhAssetSearchMatchField { Category = "CATEGORY", Condition = "CONDITION", CustomAttributes = "CUSTOM_ATTRIBUTES", Department = "DEPARTMENT", Description = "DESCRIPTION", Identifier = "IDENTIFIER", Location = "LOCATION", Name = "NAME", PurchaseYear = "PURCHASE_YEAR", ServiceHistory = "SERVICE_HISTORY", Status = "STATUS", Supplier = "SUPPLIER", Tags = "TAGS" } /** * Why one asset matched a semantic search query: the field the match came * from plus a human-readable explanation citing the actual value. */ export type AhAssetSearchMatchReason = { __typename?: 'AhAssetSearchMatchReason'; detail: Scalars['String']['output']; field: AhAssetSearchMatchField; }; /** * One ranked semantic-search hit: the asset, its relevance score (higher is * more relevant) and the explainable reasons it matched. */ export type AhAssetSearchResult = { __typename?: 'AhAssetSearchResult'; asset: Asset; reasons: Array; score: Scalars['Float']['output']; }; /** * Ranked page of semantic asset search results. `nextCursor` pages forward * through the ranked list (it is the last result's asset id); `truncated` is * true when the candidate set hit the server-side cap and refining the query * is advised. */ export type AhAssetSearchResults = { __typename?: 'AhAssetSearchResults'; hasMore: Scalars['Boolean']['output']; nextCursor?: Maybe; results: Array; truncated: Scalars['Boolean']['output']; }; export type AhRunWatchSweepInput = { /** Re-check every slice regardless of when it last ran. */ force?: InputMaybe; idempotencyKey?: InputMaybe; triggerData?: InputMaybe; }; /** * One raised watch finding, deduplicated per (workspace, kind, subject). The * sweep re-notifies only when the finding's state changes; an unchanged finding * is refreshed in place so a retry cannot spam the queue. */ export type AhWatchAlert = { __typename?: 'AhWatchAlert'; assetId?: Maybe; createdAt: Scalars['DateTime']['output']; /** Finding detail: daysRemaining, recommendedAction, usageSource, variance. */ detail: Scalars['JSON']['output']; dueAt?: Maybe; firstSweepId: Scalars['String']['output']; headline: Scalars['String']['output']; id: Scalars['ID']['output']; kind: AhWatchAlertKind; notifiedAt?: Maybe; stateSummary: Scalars['String']['output']; status: AhWatchAlertStatus; subjectId: Scalars['String']['output']; subjectName: Scalars['String']['output']; subjectType: Scalars['String']['output']; sweepId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId?: Maybe; }; export type AhWatchAlertConnection = { __typename?: 'AhWatchAlertConnection'; items: Array; pageInfo: AhWatchPageInfo; }; export type AhWatchAlertFilterInput = { kind?: InputMaybe; status?: InputMaybe; }; /** * Lifecycle of a raised watch finding. An alert stays OPEN while its underlying * deadline or drift position still holds; the sweep RESOLVES it the fire after * the condition clears (the warranty was renewed, the position went compliant). */ export declare enum AhWatchAlertKind { EndOfLife = "END_OF_LIFE", LicenseOverDeployed = "LICENSE_OVER_DEPLOYED", LicenseRenewal = "LICENSE_RENEWAL", LicenseUnderUsed = "LICENSE_UNDER_USED", WarrantyExpiry = "WARRANTY_EXPIRY" } export declare enum AhWatchAlertStatus { Archived = "ARCHIVED", Open = "OPEN", Resolved = "RESOLVED" } /** Cursor page envelope shared by the watch-loop list queries. */ export type AhWatchPageInfo = { __typename?: 'AhWatchPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; /** The workspace's watch-loop registration, if any. */ export type AhWatchSchedule = { __typename?: 'AhWatchSchedule'; createdAt: Scalars['DateTime']['output']; cronExpression: Scalars['String']['output']; executorContract: Scalars['Int']['output']; id: Scalars['ID']['output']; lastError?: Maybe; lastSweepAt?: Maybe; schedulerJobId?: Maybe; status: AhWatchScheduleStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId?: Maybe; }; export type AhWatchScheduleReconcileResult = { __typename?: 'AhWatchScheduleReconcileResult'; ensured: Scalars['Int']['output']; failed: Scalars['Int']['output']; workspaces: Scalars['Int']['output']; }; export declare enum AhWatchScheduleStatus { Active = "ACTIVE", Failed = "FAILED", Pending = "PENDING" } /** * Autonomous asset-watch loop (BOFF-3776). * * Nightly per-workspace sweep fired by wspace-scheduler-svc — the platform * scheduler that also backs FluidGrids' Schedule Trigger; this service holds no * timer of its own. The sweep runs the deterministic watch slices (warranty / * EOL / licence-renewal watch and licence drift) and, once the AI decision * engine (BOFF-3765) lands, calls its decision mutations for the AI slices. * * Every slice raises reviewable alerts — nothing here ever writes domain state. * Applying an alert's recommendation stays a human action through the existing * CRUD mutations. * * The watch slice a sweep ran. WARRANTY_EOL is Sweep B: warranty-expiry, * end-of-life and licence-renewal deadlines inside the lead time. LICENCE_DRIFT * is Sweep D: software-entitlement positions drifting from self-reported usage. * The AI slices (PM_DUE, IDLE_CAPITAL, REPAIR_VS_REPLACE) arrive with the * decision engine (BOFF-3765) and reuse this same sweep envelope. */ export declare enum AhWatchSlice { LicenceDrift = "LICENCE_DRIFT", WarrantyEol = "WARRANTY_EOL" } /** One execution of the watch loop for a workspace. */ export type AhWatchSweep = { __typename?: 'AhWatchSweep'; alertsConsidered: Scalars['Int']['output']; alertsCreated: Scalars['Int']['output']; alertsResolved: Scalars['Int']['output']; alertsUpdated: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; /** * True when this result is a redelivered or retried fire returning the * original sweep instead of running the slices again. */ duplicate: Scalars['Boolean']['output']; durationMs?: Maybe; error?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; idempotencyKey: Scalars['String']['output']; notificationsSent: Scalars['Int']['output']; scheduledFor?: Maybe; skippedReason?: Maybe; startedAt: Scalars['DateTime']['output']; status: AhWatchSweepStatus; /** Per-slice outcomes: slice, outcome, counts, latencyMs, error. */ sweeps: Scalars['JSON']['output']; trigger: AhWatchSweepTrigger; updatedAt: Scalars['DateTime']['output']; workspaceId?: Maybe; }; export type AhWatchSweepConnection = { __typename?: 'AhWatchSweepConnection'; items: Array; pageInfo: AhWatchPageInfo; }; /** * Why a sweep finished as SKIPPED instead of running. Every skip is a recorded, * successful outcome — never an error — so the scheduler does not retry it. */ export declare enum AhWatchSweepSkipReason { AiQuotaExhausted = "AI_QUOTA_EXHAUSTED", AiQuotaNotProvisioned = "AI_QUOTA_NOT_PROVISIONED", KillSwitch = "KILL_SWITCH", NoAlerts = "NO_ALERTS" } export declare enum AhWatchSweepStatus { Completed = "COMPLETED", Failed = "FAILED", Running = "RUNNING", Skipped = "SKIPPED" } export declare enum AhWatchSweepTrigger { Manual = "MANUAL", Scheduled = "SCHEDULED" } export type AiContext = { __typename?: 'AiContext'; content: Scalars['String']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe; description?: Maybe; /** Whether this AiContext has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; id: Scalars['ID']['output']; metadata?: Maybe; /** The calling actor's effective role on this AiContext (null if no direct grant). */ myRole?: Maybe; name: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; /** * Optional session provenance — the terminal session this context was authored * against (F1). Nullable; the context stays workspace-wide reusable. */ sessionId?: Maybe; /** Active share grants on this AiContext (owner/MANAGER only). */ shares: Array; status: AiContextStatus; tags: Array; type: AiContextType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; /** Optional Vibe linkage, gated by `visibility`. */ vibeId?: Maybe; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. */ visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; export type AiContextFilterInput = { context?: InputMaybe; createdBy?: InputMaybe; search?: InputMaybe; /** Filter to contexts authored against this session (in-session AI drawer). */ sessionId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; vibeId?: InputMaybe; workspaceId?: InputMaybe; }; export type AiContextList = { __typename?: 'AiContextList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum AiContextStatus { Active = "ACTIVE", Archived = "ARCHIVED" } export declare enum AiContextType { ApiCall = "API_CALL", Command = "COMMAND", File = "FILE", GitRepo = "GIT_REPO", MarkdownDoc = "MARKDOWN_DOC", PlainText = "PLAIN_TEXT", Url = "URL" } export type AiEventAnalytics = { __typename?: 'AiEventAnalytics'; byEventType: Array; bySource: Array; /** AI tool events over time */ eventsOverTime: Array; total: Scalars['Int']['output']; }; /** * Result of an AI Studio delete (artifact). * * The delete mutations are typed as the shared MutationResponse interface, which GraphQL can only * return through a concrete type; this is that type. */ export type AiMutationResponse = MutationResponse & { __typename?: 'AiMutationResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type AiPrediction = { __typename?: 'AiPrediction'; confidence: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; features: Scalars['JSON']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metadata?: Maybe; modelVersion: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; predictionType: Scalars['String']['output']; recommendation: Scalars['String']['output']; score: Scalars['Float']['output']; sourceProduct?: Maybe; sourceRefId?: Maybe; status: AiPredictionStatus; subjectId?: Maybe; subjectType?: Maybe; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AiPredictionConnection = { __typename?: 'AiPredictionConnection'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type AiPredictionFilterInput = { predictionType?: InputMaybe; sourceProduct?: InputMaybe; status?: InputMaybe; subjectId?: InputMaybe; subjectType?: InputMaybe; }; export declare enum AiPredictionStatus { Accepted = "ACCEPTED", Dismissed = "DISMISSED", Generated = "GENERATED", Superseded = "SUPERSEDED" } export type AiPrompt = { __typename?: 'AiPrompt'; category: AiPromptCategory; content: Scalars['String']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe; description?: Maybe; id: Scalars['ID']['output']; isShared: Scalars['Boolean']['output']; lastUsedAt?: Maybe; metadata?: Maybe; /** The calling actor's effective role on this AiPrompt (null if no direct grant). */ myRole?: Maybe; name: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; /** * Optional session provenance — the terminal session this prompt was authored * against (F1). Nullable; the prompt stays workspace-wide reusable. */ sessionId?: Maybe; /** Active share grants on this AiPrompt (owner/MANAGER only). */ shares: Array; status: AiPromptStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; usageCount: Scalars['Int']['output']; variables?: Maybe; /** * Optional Vibe linkage. Distinct from `isShared` (workspace-wide flag); this is * per-vibe and gated by `visibility`. */ vibeId?: Maybe; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. */ visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; export declare enum AiPromptCategory { Coding = "CODING", Custom = "CUSTOM", Debugging = "DEBUGGING", Deployment = "DEPLOYMENT", Documentation = "DOCUMENTATION", General = "GENERAL", Review = "REVIEW", Runbook = "RUNBOOK", Testing = "TESTING" } export type AiPromptList = { __typename?: 'AiPromptList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum AiPromptStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT" } /** An anomalous-spend alert raised for one product on one UTC day. */ export type AiSpendAlert = { __typename?: 'AiSpendAlert'; baselineMicroUsd: Scalars['String']['output']; costMicroUsd: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; day: Scalars['String']['output']; id: Scalars['ID']['output']; notifiedAt?: Maybe; productKey: Scalars['String']['output']; recipients: Scalars['Int']['output']; thresholdMicroUsd: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * The workspace's AI spend alert thresholds. Defaults apply until an admin * saves an override. */ export type AiSpendAlertSettings = { __typename?: 'AiSpendAlertSettings'; /** False while the defaults apply. */ customized: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; /** ...and also exceeds this floor (USD micro-dollars), so tiny baselines do not alert. */ floorMicroUsd: Scalars['String']['output']; /** Alert when today's cost exceeds this multiple of the trailing 7-day daily mean. */ spikeMultiplier: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; /** * An event from an AI coding tool running on an agent. * Used to track task completions, tool usage, and other AI tool activities. */ export type AiToolEvent = { __typename?: 'AiToolEvent'; /** Associated agent */ agent?: Maybe; /** Associated agent ID */ agentId: Scalars['ID']['output']; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Event type (e.g., "task.completed", "task.started", "task.failed") */ eventType: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Event payload/properties */ payload: Scalars['JSON']['output']; /** Source tool identifier (e.g., "opencode", "claude-code", "gemini-cli", "cursor") */ source: Scalars['String']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type AiToolEventFilterInput = { /** Filter events after this timestamp */ after?: InputMaybe; /** Filter by agent ID */ agentId?: InputMaybe; /** Filter events before this timestamp */ before?: InputMaybe; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; /** Filter by event type */ eventType?: InputMaybe; /** Filter by source tool */ source?: InputMaybe; }; export type AiToolEventList = { __typename?: 'AiToolEventList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type Alert = { __typename?: 'Alert'; actionUrl?: Maybe; id: Scalars['ID']['output']; message: Scalars['String']['output']; read: Scalars['Boolean']['output']; severity: Scalars['String']['output']; timestamp: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; /** Alert severity enumeration (v1.0 - lowercase per spec) */ export declare enum AlertSeverity { critical = "critical", high = "high", low = "low", medium = "medium" } /** Alert throttle configuration */ export type AlertThrottle = { __typename?: 'AlertThrottle'; /** Throttling enabled */ enabled: Scalars['Boolean']['output']; /** Maximum alerts per window */ maxAlertsPerWindow: Scalars['Int']['output']; /** Time window in minutes */ windowMinutes: Scalars['Int']['output']; }; /** Input for alert throttle */ export type AlertThrottleInput = { /** Throttling enabled */ enabled: Scalars['Boolean']['input']; /** Maximum alerts per window */ maxAlertsPerWindow: Scalars['Int']['input']; /** Time window in minutes */ windowMinutes: Scalars['Int']['input']; }; export type AnalyticsBreakdownBucket = { __typename?: 'AnalyticsBreakdownBucket'; count: Scalars['Int']['output']; key: Scalars['String']['output']; }; /** Canonical analytics dashboard owned by wspace-analytics-svc. */ export type AnalyticsDashboard = { __typename?: 'AnalyticsDashboard'; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; description?: Maybe; filters?: Maybe; id: Scalars['ID']['output']; isPublic: Scalars['Boolean']['output']; isTemplate: Scalars['Boolean']['output']; layout?: Maybe; name: Scalars['String']['output']; refreshInterval?: Maybe; updatedAt: Scalars['DateTime']['output']; widgets: Array; workspaceId: Scalars['ID']['output']; }; /** Tag assignment for analytics dashboards */ export type AnalyticsDashboardTagAssignment = { __typename?: 'AnalyticsDashboardTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; /** Input for analytics date range */ export type AnalyticsDateRangeInput = { endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; }; export declare enum AnalyticsEntityType { Action = "ACTION", Agent = "AGENT", AiEvent = "AI_EVENT", Audit = "AUDIT", Configuration = "CONFIGURATION", Docs = "DOCS", Note = "NOTE", Session = "SESSION", Target = "TARGET", Vibe = "VIBE", VibeDeck = "VIBE_DECK", Webhook = "WEBHOOK" } export declare enum AnalyticsEventSeverity { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum AnalyticsGranularity { Day = "DAY", Hour = "HOUR", Month = "MONTH", Week = "WEEK" } export declare enum AnalyticsInsightSeverity { Critical = "CRITICAL", Info = "INFO", Warning = "WARNING" } export type AnalyticsKpi = { __typename?: 'AnalyticsKPI'; change: Scalars['Float']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; previousValue: Scalars['Float']['output']; trend: Scalars['String']['output']; unit: Scalars['String']['output']; value: Scalars['Float']['output']; }; /** Tag assignment for analytics metrics */ export type AnalyticsMetricTagAssignment = { __typename?: 'AnalyticsMetricTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type AnalyticsReport = { __typename?: 'AnalyticsReport'; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; period: Scalars['String']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; /** Tag assignment for analytics reports */ export type AnalyticsReportTagAssignment = { __typename?: 'AnalyticsReportTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type AnalyticsSnapshot = { __typename?: 'AnalyticsSnapshot'; createdAt: Scalars['DateTime']['output']; dimensions?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; metric: Metric; metricId: Scalars['String']['output']; snapshotDate: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['String']['output']; }; export type AnalyticsTimeSeriesPoint = { __typename?: 'AnalyticsTimeSeriesPoint'; timestamp: Scalars['DateTime']['output']; value: Scalars['Int']['output']; }; export type AnalyticsWidget = { __typename?: 'AnalyticsWidget'; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; dashboardId: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; position?: Maybe; title: Scalars['String']['output']; type: WidgetType; updatedAt: Scalars['DateTime']['output']; }; export type Animal = { __typename?: 'Animal'; breed: Scalars['String']['output']; dateOfBirth?: Maybe; gender: Scalars['String']['output']; healthStatus: Scalars['String']['output']; id: Scalars['ID']['output']; imageIds: Array; lastCheckup?: Maybe; name: Scalars['String']['output']; productionType?: Maybe; tagNumber: Scalars['String']['output']; type: Scalars['String']['output']; vaccinations: Scalars['Int']['output']; weight: Scalars['Float']['output']; }; /** Per-animal withdrawal roll-up (animal detail): effective status across ALL the animal's treatments. */ export type AnimalWithdrawalStatus = { __typename?: 'AnimalWithdrawalStatus'; animalId: Scalars['ID']['output']; /** True if any produce is currently within a withdrawal window. */ blocked: Scalars['Boolean']['output']; breed?: Maybe; location?: Maybe; name: Scalars['String']['output']; /** BLOCKED | UNDER_WITHDRAWAL | CLEARED */ overallStatus: Scalars['String']['output']; produceStatuses: Array; tagNumber: Scalars['String']['output']; /** Treatment history, newest first. */ treatments: Array; /** Species. */ type: Scalars['String']['output']; }; export type ApiKeyAuthInput = { apiKey: Scalars['String']['input']; connectionId: Scalars['ID']['input']; /** Additional schema-shaped fields; apiKey remains the primary secret. */ values?: InputMaybe; }; export type AppAgent = { __typename?: 'AppAgent'; agentId: Scalars['ID']['output']; appId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; executionCount: Scalars['Int']['output']; fallbackAgentId?: Maybe; id: Scalars['ID']['output']; intentPatterns: Array; isActive: Scalars['Boolean']['output']; lastExecutedAt?: Maybe; maxQueueSize: Scalars['Int']['output']; metadata?: Maybe; priority: Scalars['Int']['output']; routingRules?: Maybe; timeout: Scalars['Int']['output']; triggerKeywords: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AppAgentFilterInput = { agentId?: InputMaybe; appId?: InputMaybe; isActive?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum AppCategory { Distracting = "DISTRACTING", Neutral = "NEUTRAL", Productive = "PRODUCTIVE" } export type AppConfig = { __typename?: 'AppConfig'; appVersion: Scalars['String']['output']; configVersion: Scalars['String']['output']; features: Scalars['JSON']['output']; }; export declare enum AppStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } export type AppTemplate = { __typename?: 'AppTemplate'; appType: BotAppType; category: TemplateCategory; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; previewImage?: Maybe; tagIds: Array; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; visibility: TemplateVisibility; }; export declare enum AppType { Analyst = "ANALYST", ApiIntegration = "API_INTEGRATION", Assistant = "ASSISTANT", Automation = "AUTOMATION", Bot = "BOT", CliTool = "CLI_TOOL", DesktopApp = "DESKTOP_APP", Integration = "INTEGRATION", MobileApp = "MOBILE_APP", Service = "SERVICE", Specialist = "SPECIALIST", WebApp = "WEB_APP", Widget = "WIDGET", Workflow = "WORKFLOW" } export type AppUsageRank = { __typename?: 'AppUsageRank'; category: Scalars['String']['output']; name: Scalars['String']['output']; sessions: Scalars['Int']['output']; timeSpent: Scalars['Int']['output']; }; export type AppUsageSummary = { __typename?: 'AppUsageSummary'; distractingTime: Scalars['Int']['output']; neutralTime: Scalars['Int']['output']; productiveTime: Scalars['Int']['output']; productivityRatio: Scalars['Float']['output']; topApps: Array; totalApps: Scalars['Int']['output']; }; export declare enum AppVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } export type AppendTraceEventInput = { batchId: Scalars['ID']['input']; context: ContextInput; /** HARVESTED | WASHED_GRADED | COLD_STORAGE_IN | COLD_STORAGE_OUT | PACKED | QUALITY_CHECK | DISPATCHED | DELIVERED | OTHER (or free text). */ eventType: Scalars['String']['input']; handler?: InputMaybe; location?: InputMaybe; metadata?: InputMaybe; /** When the physical event happened (ISO). Defaults to now. */ occurredAt?: InputMaybe; temperature?: InputMaybe; /** Human-readable label. Defaults from eventType when omitted. */ title?: InputMaybe; }; export type ApplicationUsage = { __typename?: 'ApplicationUsage'; applicationName: Scalars['String']['output']; category: Scalars['String']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; firstUsed?: Maybe; id: Scalars['ID']['output']; lastUsed?: Maybe; sessions: Scalars['Int']['output']; switches: Scalars['Int']['output']; timeSpent: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ApplyCertificationStandardInput = { certificationId: Scalars['ID']['input']; context: ContextInput; /** * NPOP | GLOBALGAP | EUDR | FAIRTRADE | USDA_NOP | EU_ORGANIC | OTHER (case-insensitive). * Omit to re-apply the certification's existing standard. */ standardCode?: InputMaybe; }; export type ApplyCompostBatchInput = { appliedAt?: InputMaybe; context: ContextInput; growSpaceId: Scalars['ID']['input']; id: Scalars['ID']['input']; notes?: InputMaybe; }; export type ApplyHealthyBowlPmfbyInput = { areaAcres?: InputMaybe; context: ContextInput; /** PMFBY | RWBCIS | OTHER (defaults PMFBY). */ coverageType?: InputMaybe; cropName?: InputMaybe; /** wspace-files fileIds for sowing certificate / land record etc. */ documentIds?: InputMaybe>; /** BOFF-6079 — per-slot attachments. Preferred over `documentIds`, which is kept working. */ documents?: InputMaybe>; /** Farmer-share percentage of sum insured (defaults 1.5 for Kharif food/oilseed). */ farmerSharePct?: InputMaybe; /** Farmer-share premium in currency (the amount the farmer pays). */ farmerSharePremium?: InputMaybe; fieldId?: InputMaybe; fieldName: Scalars['String']['input']; insurer?: InputMaybe; notifiedArea?: InputMaybe; season: Scalars['String']['input']; sowingDate?: InputMaybe; sumInsured: Scalars['Float']['input']; }; export type ApprovalRequestFilterInput = { approverId?: InputMaybe; endDate?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; userId?: InputMaybe; }; export type ApprovalRequestListResponse = { __typename?: 'ApprovalRequestListResponse'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type ApprovalStats = { __typename?: 'ApprovalStats'; approvedCount: Scalars['Int']['output']; averageReviewTime?: Maybe; pendingCount: Scalars['Int']['output']; rejectedCount: Scalars['Int']['output']; totalRequests: Scalars['Int']['output']; }; export declare enum ApprovalStatus { Approved = "APPROVED", Pending = "PENDING", Rejected = "REJECTED", RevisionRequested = "REVISION_REQUESTED" } export type ArtAddFeedbackInput = { anchorType?: InputMaybe; anchorValue?: InputMaybe; body: Scalars['String']['input']; reviewRoundId: Scalars['ID']['input']; }; export type ArtAddProductionMemberInput = { isLead?: InputMaybe; memberId: Scalars['ID']['input']; productionId: Scalars['ID']['input']; role?: InputMaybe; title?: InputMaybe; }; /** An Adobe connection the caller may use (from Integrations). */ export type ArtAdobeConnection = { __typename?: 'ArtAdobeConnection'; accountEmail?: Maybe; accountName?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; status: Scalars['String']['output']; }; export type ArtAdobeElement = { __typename?: 'ArtAdobeElement'; id: Scalars['ID']['output']; modifiedAt?: Maybe; name: Scalars['String']['output']; /** Creative Cloud element MIME type, e.g. application/vnd.adobe.element.image+dcx. */ type: Scalars['String']['output']; }; /** Whether Adobe can be used here, and the caller's usable Adobe connections. */ export type ArtAdobeIntegration = { __typename?: 'ArtAdobeIntegration'; /** The Adobe provider exists in the Integrations catalog and is enabled. */ available: Scalars['Boolean']['output']; /** The platform Adobe app is configured, so a creator can connect an account. */ configured: Scalars['Boolean']['output']; connections: Array; /** Integrations provider id, for linking to the connect flow. */ providerId?: Maybe; }; export type ArtAdobeLibrary = { __typename?: 'ArtAdobeLibrary'; elementCount?: Maybe; id: Scalars['ID']['output']; modifiedAt?: Maybe; name: Scalars['String']['output']; }; /** One publish to, or import from, a Creative Cloud Library. */ export type ArtAdobeSync = { __typename?: 'ArtAdobeSync'; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; direction: ArtAdobeSyncDirection; elementId?: Maybe; elementName?: Maybe; errorMessage?: Maybe; id: Scalars['ID']['output']; libraryId: Scalars['String']['output']; libraryName?: Maybe; mimeType?: Maybe; sizeBytes?: Maybe; status: ArtAdobeSyncStatus; versionId?: Maybe; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ArtAdobeSyncDirection { Import = "IMPORT", Publish = "PUBLISH" } export declare enum ArtAdobeSyncStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export type ArtAiDraft = { __typename?: 'ArtAiDraft'; /** AI credits charged for this draft, when a model wrote it and the charge was recorded. */ creditsCharged?: Maybe; /** What the field holds today, for comparison before applying. */ currentText?: Maybe; fallbackReason?: Maybe; generatedAt: Scalars['DateTime']['output']; kind: ArtAiDraftKind; /** `provider/model` for a model draft, or the template generator's id. */ model: Scalars['String']['output']; source: ArtAiDraftSource; /** The proposed text. Nothing has been saved. */ text: Scalars['String']['output']; versionId?: Maybe; workId: Scalars['ID']['output']; }; /** Why a draft was composed from the template rather than by a model. */ export declare enum ArtAiDraftFallbackReason { /** The model's reply had no usable text. */ EmptyOutput = "EMPTY_OUTPUT", /** Model drafting is not switched on in this environment. */ ModelDisabled = "MODEL_DISABLED", /** Only a signed-in person can spend AI credits on a model draft. */ NotAUser = "NOT_A_USER", /** The workspace has no AI credits left this month, or none are provisioned. */ NoCredits = "NO_CREDITS", /** No model provider is configured in this environment. */ NoProvider = "NO_PROVIDER", /** The model provider did not answer in time or returned an error. */ ProviderFailed = "PROVIDER_FAILED" } export declare enum ArtAiDraftKind { VersionNotes = "VERSION_NOTES", WorkSummary = "WORK_SUMMARY" } export declare enum ArtAiDraftSource { /** Written by a language model from the work's metadata. */ Model = "MODEL", /** Composed by ArtistryBase from the work's metadata, without a model. */ Template = "TEMPLATE" } /** A share of engagement attributed to one key (a traffic source or a country). */ export type ArtAnalyticsBucket = { __typename?: 'ArtAnalyticsBucket'; count: Scalars['Int']['output']; /** * The bucket key: an ArtEngagementSource value, or an ISO 3166-1 alpha-2 * country code ("ZZ" when the country is unknown). */ key: Scalars['String']['output']; /** Share of the total, between 0 and 1. */ share: Scalars['Float']['output']; }; /** One day of the analytics time series (UTC). */ export type ArtAnalyticsDay = { __typename?: 'ArtAnalyticsDay'; appreciations: Scalars['Int']['output']; /** The UTC day, formatted YYYY-MM-DD. */ date: Scalars['String']['output']; downloads: Scalars['Int']['output']; /** Followers across the creator's portfolios at the end of the day. */ followers: Scalars['Int']['output']; plays: Scalars['Int']['output']; portfolioViews: Scalars['Int']['output']; publicViews: Scalars['Int']['output']; reads: Scalars['Int']['output']; views: Scalars['Int']['output']; }; export declare enum ArtAnchorType { Chapter = "CHAPTER", General = "GENERAL", Page = "PAGE", Pin = "PIN", Timecode = "TIMECODE" } export type ArtApplyPosterFrameInput = { /** Index of the picked candidate. */ candidateIndex: Scalars['Int']['input']; jobId: Scalars['ID']['input']; /** Also make the still the work's cover image. Defaults to true. */ setAsWorkCover?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtApproval = { __typename?: 'ArtApproval'; approverId: Scalars['ID']['output']; comment?: Maybe; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; decision: ArtApprovalDecision; guestReviewer?: Maybe; /** Set when the decision was recorded through a guest review link. */ guestReviewerId?: Maybe; id: Scalars['ID']['output']; reviewRoundId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ArtApprovalDecision { Approved = "APPROVED", Pending = "PENDING", Rejected = "REJECTED" } export type ArtApprovalSignature = { __typename?: 'ArtApprovalSignature'; algorithm: Scalars['String']['output']; approvalId: Scalars['ID']['output']; chainHash: Scalars['String']['output']; comment?: Maybe; contentHash: Scalars['String']['output']; decision: ArtApprovalDecision; id: Scalars['ID']['output']; keyFingerprint: Scalars['String']['output']; /** The exact canonical JSON that was signed. */ manifest: Scalars['String']['output']; manifestHash: Scalars['String']['output']; meaning: Scalars['String']['output']; previousChainHash?: Maybe; reviewRoundId: Scalars['ID']['output']; sequence: Scalars['Int']['output']; /** Base64 IEEE-P1363 ECDSA signature over the manifest. */ signature: Scalars['String']['output']; signedAt: Scalars['DateTime']['output']; signerId: Scalars['ID']['output']; signerKeyId: Scalars['ID']['output']; signerName?: Maybe; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtApprovalWorkflow = { __typename?: 'ArtApprovalWorkflow'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** Null for a workspace-wide template. */ productionId?: Maybe; reminderIntervalHours: Scalars['Int']['output']; stages: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtApprovalWorkflowInput = { description?: InputMaybe; name: Scalars['String']['input']; productionId?: InputMaybe; reminderIntervalHours?: InputMaybe; stages: Array; }; export type ArtApprovalWorkflowStage = { __typename?: 'ArtApprovalWorkflowStage'; dueInHours?: Maybe; groupIds: Array; id: Scalars['ID']['output']; memberIds: Array; name: Scalars['String']['output']; requiredCount?: Maybe; roles: Array; rule: ArtStageRule; /** Execution step (1-based). Stages sharing a step run in parallel. */ step: Scalars['Int']['output']; workflowId: Scalars['ID']['output']; }; export type ArtApprovalWorkflowStageInput = { dueInHours?: InputMaybe; groupIds?: InputMaybe>; memberIds?: InputMaybe>; name: Scalars['String']['input']; requiredCount?: InputMaybe; roles?: InputMaybe>; rule?: InputMaybe; step: Scalars['Int']['input']; }; export type ArtAsset = { __typename?: 'ArtAsset'; createdAt: Scalars['DateTime']['output']; durationMs?: Maybe; /** The backing File (resolved by wspace-files-svc; blobs never live here). */ file?: Maybe; fileId: Scalars['ID']['output']; height?: Maybe; id: Scalars['ID']['output']; kind: ArtAssetKind; mimeType?: Maybe; sizeBytes?: Maybe; updatedAt: Scalars['DateTime']['output']; versionId?: Maybe; width?: Maybe; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtAssetConnection = { __typename?: 'ArtAssetConnection'; items: Array; pageInfo: ArtPageInfo; }; export declare enum ArtAssetKind { Attachment = "ATTACHMENT", Caption = "CAPTION", Cover = "COVER", Master = "MASTER", Preview = "PREVIEW", Source = "SOURCE" } export type ArtCollection = { __typename?: 'ArtCollection'; coverFileId?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; medium?: Maybe; slug: Scalars['String']['output']; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibility: ArtVisibility; works: Array; workspaceId: Scalars['ID']['output']; }; export type ArtCollectionConnection = { __typename?: 'ArtCollectionConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtCreateAssetInput = { durationMs?: InputMaybe; fileId: Scalars['ID']['input']; height?: InputMaybe; kind?: InputMaybe; mimeType?: InputMaybe; versionId?: InputMaybe; width?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtCreateCollectionInput = { coverFileId?: InputMaybe; description?: InputMaybe; medium?: InputMaybe; slug: Scalars['String']['input']; tags?: InputMaybe>; title: Scalars['String']['input']; visibility?: InputMaybe; }; export type ArtCreateDistributionInput = { /** The (P) line, e.g. "2026 Example Records". */ copyrightLine: Scalars['String']['input']; /** Defaults to the work's cover. */ coverFileId?: InputMaybe; dsps?: InputMaybe>; explicit?: InputMaybe; featuredArtists?: InputMaybe>; genre?: InputMaybe; isrc?: InputMaybe; label?: InputMaybe; /** ISO 639 language code of the lyrics, or zxx for an instrumental. Defaults to en. */ language?: InputMaybe; notes?: InputMaybe; primaryArtist: Scalars['String']['input']; /** YYYY-MM-DD. */ releaseDate: Scalars['String']['input']; /** ISO 3166-1 alpha-2 codes, or WORLDWIDE (the default). */ territories?: InputMaybe>; /** Defaults to the work title. */ title?: InputMaybe; upc?: InputMaybe; /** Defaults to the work's current version. */ versionId?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtCreateLicenseInput = { attribution?: InputMaybe; currency?: InputMaybe; model?: InputMaybe; name: Scalars['String']['input']; priceAmount?: InputMaybe; spdx?: InputMaybe; terms?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtCreateMarketplaceListingInput = { /** Defaults to the licence currency. */ currency?: InputMaybe; licenseId: Scalars['ID']['input']; maxSales?: InputMaybe; /** Defaults to the licence price. Must be 0 for a FREE licence. */ priceAmount?: InputMaybe; /** Defaults to the creator's portfolio name. */ sellerName?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; /** Defaults to the work title. */ title?: InputMaybe; visibility?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtCreatePortfolioInput = { avatarFileId?: InputMaybe; bannerFileId?: InputMaybe; bio?: InputMaybe; displayName: Scalars['String']['input']; featuredWorkIds?: InputMaybe>; handle: Scalars['String']['input']; links?: InputMaybe; visibility?: InputMaybe; }; export type ArtCreateProductionInput = { medium?: InputMaybe; slug: Scalars['String']['input']; startDate?: InputMaybe; synopsis?: InputMaybe; tags?: InputMaybe>; targetDate?: InputMaybe; /** Production template whose defaults fill fields the input leaves empty. */ templateId?: InputMaybe; title: Scalars['String']['input']; }; export type ArtCreateReferenceInput = { fileId?: InputMaybe; note?: InputMaybe; productionId: Scalars['ID']['input']; tags?: InputMaybe>; title: Scalars['String']['input']; url?: InputMaybe; }; export type ArtCreateReleaseInput = { channel?: InputMaybe; notes?: InputMaybe; scheduledFor?: InputMaybe; versionId?: InputMaybe; visibility?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtCreateWebhookSubscriptionInput = { /** HTTPS endpoint. For SLACK, a Slack Incoming Webhook URL (https://hooks.slack.com/services/...). */ endpointUrl: Scalars['String']['input']; events: Array; isActive?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; }; export type ArtCreateWorkInput = { coverFileId?: InputMaybe; durationMs?: InputMaybe; medium?: InputMaybe; productionId?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; visibility?: InputMaybe; }; export type ArtCreateWorkVersionInput = { checksum?: InputMaybe; fileId?: InputMaybe; label?: InputMaybe; notes?: InputMaybe; workId: Scalars['ID']['input']; }; /** * The calling creator's analytics dashboard: engagement with every work they * created and every portfolio they own in this workspace. */ export type ArtCreatorAnalytics = { __typename?: 'ArtCreatorAnalytics'; creatorId: Scalars['ID']['output']; daily: Array; days: Scalars['Int']['output']; /** * The mediums and tags the creator's followers engage with, over the same * period (not restricted by the medium filter). Hidden below the privacy * threshold. */ followerInterests: ArtFollowerInterests; /** Current followers across the creator's portfolios. */ followers: Scalars['Int']['output']; followersGained: Scalars['Int']['output']; followersLost: Scalars['Int']['output']; geography: Array; mediums: Array; /** * Totals for the period of the same length immediately before this one, for * period-over-period comparison. */ previousTotals: ArtEngagementTotals; rangeEnd: Scalars['DateTime']['output']; rangeStart: Scalars['DateTime']['output']; sources: Array; topWorks: Array; totals: ArtEngagementTotals; }; export type ArtCreatorAnalyticsInput = { /** Length of the period in days, ending now (1 to 365, default 30). */ days?: InputMaybe; /** Restrict work engagement to one medium. */ medium?: InputMaybe; }; /** How a portfolio's custom domain is served over HTTPS (BOFF-10558). */ export declare enum ArtCustomDomainServingStatus { /** The portfolio is live at https://. */ Active = "ACTIVE", /** Serving starts once the ownership TXT record is verified. */ AwaitingVerification = "AWAITING_VERIFICATION", /** Serving could not be set up yet (see servingError); it is retried automatically. */ Failed = "FAILED", /** Waiting for the CNAME to cnameTarget and the automatically issued HTTPS certificate. */ Provisioning = "PROVISIONING", /** This environment does not serve custom domains (domains are verified only). */ Unavailable = "UNAVAILABLE" } /** Ownership state of a portfolio's custom domain. */ export declare enum ArtCustomDomainStatus { /** The domain is attached but its ownership TXT record has not been found yet. */ Pending = "PENDING", /** The ownership TXT record was found with the expected value. */ Verified = "VERIFIED" } /** * The public profile a creator's work is credited to (their PUBLIC portfolio in * the work's workspace), or just the creator id when they have none. */ export type ArtDiscoverCreator = { __typename?: 'ArtDiscoverCreator'; displayName?: Maybe; handle?: Maybe; id: Scalars['ID']['output']; portfolioId?: Maybe; }; export type ArtDiscoverCreatorCount = { __typename?: 'ArtDiscoverCreatorCount'; count: Scalars['Int']['output']; creator: ArtDiscoverCreator; }; /** Facet counts across a workspace's published PUBLIC works, for filter chips. */ export type ArtDiscoverFacets = { __typename?: 'ArtDiscoverFacets'; creators: Array; mediums: Array; tags: Array; total: Scalars['Int']['output']; }; export type ArtDiscoverFilter = { /** Works credited to this creator (auth-svc user id). */ creatorId?: InputMaybe; /** Restrict to these media (any of). Omit or empty for every medium. */ mediums?: InputMaybe>; /** Free-text search over title, summary and tags (at most 100 characters). */ search?: InputMaybe; /** Works carrying any of these tags (case-insensitive). */ tags?: InputMaybe>; }; export type ArtDiscoverMediumCount = { __typename?: 'ArtDiscoverMediumCount'; count: Scalars['Int']['output']; medium: ArtMedium; }; export declare enum ArtDiscoverSort { /** All-time appreciations and views. */ Popular = "POPULAR", /** Most recently published first. */ Recent = "RECENT", /** Engagement in the last 14 days, decayed by age, plus a freshness boost. */ Trending = "TRENDING" } export type ArtDiscoverTagCount = { __typename?: 'ArtDiscoverTagCount'; count: Scalars['Int']['output']; tag: Scalars['String']['output']; }; export type ArtDistribution = { __typename?: 'ArtDistribution'; copyrightLine: Scalars['String']['output']; coverFileId?: Maybe; createdAt: Scalars['DateTime']['output']; deliveries: Array; dsps: Array; explicit: Scalars['Boolean']['output']; featuredArtists: Array; genre: Scalars['String']['output']; id: Scalars['ID']['output']; isrc?: Maybe; label?: Maybe; language: Scalars['String']['output']; liveAt?: Maybe; notes?: Maybe; primaryArtist: Scalars['String']['output']; /** What would make stores reject the release; empty when ready to submit. */ readiness: ArtDistributionReadiness; /** Release date (YYYY-MM-DD). */ releaseDate: Scalars['String']['output']; status: ArtDistributionStatus; statusReason?: Maybe; submittedAt?: Maybe; takedownRequestedAt?: Maybe; takenDownAt?: Maybe; territories: Array; title: Scalars['String']['output']; upc?: Maybe; updatedAt: Scalars['DateTime']['output']; versionId: Scalars['ID']['output']; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtDistributionConnection = { __typename?: 'ArtDistributionConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtDistributionReadiness = { __typename?: 'ArtDistributionReadiness'; issues: Array; ready: Scalars['Boolean']['output']; }; export declare enum ArtDistributionStatus { Draft = "DRAFT", Live = "LIVE", Rejected = "REJECTED", Submitted = "SUBMITTED", TakedownRequested = "TAKEDOWN_REQUESTED", TakenDown = "TAKEN_DOWN" } export declare enum ArtDsp { AmazonMusic = "AMAZON_MUSIC", AppleMusic = "APPLE_MUSIC", Deezer = "DEEZER", InstagramFacebook = "INSTAGRAM_FACEBOOK", Pandora = "PANDORA", Soundcloud = "SOUNDCLOUD", Spotify = "SPOTIFY", Tidal = "TIDAL", Tiktok = "TIKTOK", YoutubeMusic = "YOUTUBE_MUSIC" } export type ArtDspDelivery = { __typename?: 'ArtDspDelivery'; deliveredAt?: Maybe; dsp: ArtDsp; externalId?: Maybe; externalUrl?: Maybe; id: Scalars['ID']['output']; liveAt?: Maybe; message?: Maybe; status: ArtDspDeliveryStatus; updatedAt: Scalars['DateTime']['output']; }; export declare enum ArtDspDeliveryStatus { Delivered = "DELIVERED", Live = "LIVE", Queued = "QUEUED", Rejected = "REJECTED", TakenDown = "TAKEN_DOWN" } export declare enum ArtEarningStatus { Failed = "FAILED", NotApplicable = "NOT_APPLICABLE", Pending = "PENDING", Recorded = "RECORDED" } /** * The kind of audience engagement. Medium-aware: audio and video works are * played, stories are read, art and portfolios are viewed, and any work can be * downloaded. */ export declare enum ArtEngagementKind { Download = "DOWNLOAD", Play = "PLAY", Read = "READ", View = "VIEW" } /** * Result of recording an engagement. `recorded` is false when the engagement was * not counted: the viewer is the creator, or the same viewer already engaged with * the same target in the same way today. */ export type ArtEngagementReceipt = { __typename?: 'ArtEngagementReceipt'; kind: ArtEngagementKind; recorded: Scalars['Boolean']['output']; }; /** Where the viewer came from when the engagement happened. */ export declare enum ArtEngagementSource { Collection = "COLLECTION", Direct = "DIRECT", Discovery = "DISCOVERY", External = "EXTERNAL", Library = "LIBRARY", Portfolio = "PORTFOLIO", Production = "PRODUCTION", Review = "REVIEW", Search = "SEARCH" } /** Engagement counts over a period. */ export type ArtEngagementTotals = { __typename?: 'ArtEngagementTotals'; /** Appreciations (likes) given to the creator's works. */ appreciations: Scalars['Int']['output']; downloads: Scalars['Int']['output']; plays: Scalars['Int']['output']; portfolioViews: Scalars['Int']['output']; /** * Views of the creator's PUBLIC works from the public discovery feed, which * also counts visitors without an account. */ publicViews: Scalars['Int']['output']; reads: Scalars['Int']['output']; /** Distinct viewers across every kind of engagement. */ uniqueViewers: Scalars['Int']['output']; views: Scalars['Int']['output']; }; export type ArtFeedback = { __typename?: 'ArtFeedback'; anchorType: ArtAnchorType; anchorValue?: Maybe; authorId: Scalars['ID']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; guestReviewer?: Maybe; /** Set when the note was left through a guest review link. */ guestReviewerId?: Maybe; id: Scalars['ID']['output']; resolvedAt?: Maybe; resolvedById?: Maybe; reviewRoundId: Scalars['ID']['output']; status: ArtFeedbackStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ArtFeedbackStatus { Open = "OPEN", Resolved = "RESOLVED", WontFix = "WONT_FIX" } export type ArtFollow = { __typename?: 'ArtFollow'; createdAt: Scalars['DateTime']['output']; followerId: Scalars['ID']['output']; id: Scalars['ID']['output']; notify: Scalars['Boolean']['output']; portfolioId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** One medium or tag that the creator's followers engage with. */ export type ArtFollowerInterestBucket = { __typename?: 'ArtFollowerInterestBucket'; /** Distinct followers who engaged with work in this medium or with this tag. */ count: Scalars['Int']['output']; /** An ArtMedium value (for mediums) or a lower-cased work tag (for tags). */ key: Scalars['String']['output']; /** * Share of the active followers, between 0 and 1. Shares do not sum to 1: one * follower can engage with several mediums and tags. */ share: Scalars['Float']['output']; }; /** * What the creator's portfolio followers engage with elsewhere in the * workspace during the period: the mediums and tags of other creators' works * they viewed, played, read or downloaded. Tags come only from public works. * * Privacy: nothing is listed until at least `minimumCohort` followers were * active in the period (`available` is false and the lists are empty until * then), and a medium or tag is listed only when at least three followers share * it, so no individual follower's activity can be inferred. */ export type ArtFollowerInterests = { __typename?: 'ArtFollowerInterests'; /** * Followers who engaged with other creators' work in the period (0 while the * card is hidden). */ activeFollowers: Scalars['Int']['output']; available: Scalars['Boolean']['output']; /** Distinct current followers across the creator's portfolios. */ followers: Scalars['Int']['output']; mediums: Array; minimumCohort: Scalars['Int']['output']; tags: Array; }; export type ArtGuestAddFeedbackInput = { anchorType?: InputMaybe; anchorValue?: InputMaybe; body: Scalars['String']['input']; }; export type ArtGuestApproval = { __typename?: 'ArtGuestApproval'; comment?: Maybe; decidedAt?: Maybe; decision: ArtApprovalDecision; }; export type ArtGuestFeedback = { __typename?: 'ArtGuestFeedback'; anchorType: ArtAnchorType; anchorValue?: Maybe; /** Display label of the author (a guest's name, or a generic team label). */ authorLabel: Scalars['String']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; fromGuest: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isMine: Scalars['Boolean']['output']; status: ArtFeedbackStatus; }; export type ArtGuestRecordApprovalInput = { comment?: InputMaybe; decision: ArtApprovalDecision; }; export type ArtGuestReviewMedia = { __typename?: 'ArtGuestReviewMedia'; mimeType?: Maybe; name?: Maybe; url: Scalars['String']['output']; }; export type ArtGuestReviewRound = { __typename?: 'ArtGuestReviewRound'; /** True while the round accepts new feedback and decisions. */ acceptingFeedback: Scalars['Boolean']['output']; dueDate?: Maybe; id: Scalars['ID']['output']; round: Scalars['Int']['output']; status: ArtReviewStatus; title?: Maybe; workMedium: ArtMedium; workSummary?: Maybe; workTitle: Scalars['String']['output']; }; export type ArtGuestReviewSession = { __typename?: 'ArtGuestReviewSession'; feedback: Array; guest: ArtGuestReviewer; media?: Maybe; myApproval?: Maybe; round: ArtGuestReviewRound; }; export type ArtGuestReviewer = { __typename?: 'ArtGuestReviewer'; canApprove: Scalars['Boolean']['output']; email: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name?: Maybe; }; export type ArtImportAdobeElementInput = { connectionId: Scalars['ID']['input']; elementId: Scalars['String']['input']; /** Label for the new version. Defaults to the element name. */ label?: InputMaybe; libraryId: Scalars['String']['input']; notes?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtInviteGuestReviewerInput = { /** Origin of the ArtistryBase app the link should open; only allow-listed origins are honoured. */ appOrigin?: InputMaybe; /** Whether the guest may approve/reject (feedback is always allowed). */ canApprove?: InputMaybe; email: Scalars['String']['input']; /** Link lifetime in days (1-90). */ expiresInDays?: InputMaybe; /** Personal note included in the invitation email. */ message?: InputMaybe; name?: InputMaybe; reviewRoundId: Scalars['ID']['input']; }; export type ArtLicense = { __typename?: 'ArtLicense'; attribution?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; model: ArtLicenseModel; name: Scalars['String']['output']; priceAmount: Scalars['Float']['output']; spdx?: Maybe; status: ArtLicenseStatus; terms?: Maybe; updatedAt: Scalars['DateTime']['output']; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtLicenseConnection = { __typename?: 'ArtLicenseConnection'; items: Array; pageInfo: ArtPageInfo; }; export declare enum ArtLicenseModel { Free = "FREE", License = "LICENSE", Membership = "MEMBERSHIP", Purchase = "PURCHASE" } export declare enum ArtLicenseStatus { Active = "ACTIVE", Draft = "DRAFT", Retired = "RETIRED" } export declare enum ArtListingStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } /** The licence terms a listing sells. */ export type ArtListingTerms = { __typename?: 'ArtListingTerms'; attribution?: Maybe; model: ArtLicenseModel; name: Scalars['String']['output']; spdx?: Maybe; terms?: Maybe; }; export type ArtMarketplaceBrowseFilter = { freeOnly?: InputMaybe; medium?: InputMaybe; search?: InputMaybe; }; /** What the browser needs to collect payment for an order. */ export type ArtMarketplaceCheckout = { __typename?: 'ArtMarketplaceCheckout'; /** Stripe PaymentIntent client secret. */ clientSecret?: Maybe; currency: Scalars['String']['output']; order: ArtMarketplaceOrder; /** STRIPE or RAZORPAY, chosen by global-billing. */ provider?: Maybe; /** Razorpay order id to open the checkout widget with. */ providerOrderId?: Maybe; razorpayKeyId?: Maybe; /** False for a free licence or an order that is already paid. */ requiresPayment: Scalars['Boolean']['output']; stripePublishableKey?: Maybe; subtotal?: Maybe; /** Tax computed by global-billing. */ taxAmount?: Maybe; /** True when billing runs on payment-provider test credentials (no real money). */ testMode: Scalars['Boolean']['output']; total?: Maybe; }; export type ArtMarketplaceListing = { __typename?: 'ArtMarketplaceListing'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; isFree: Scalars['Boolean']['output']; /** True when the listing belongs to the caller's workspace. */ isOwnListing: Scalars['Boolean']['output']; licenseId: Scalars['ID']['output']; /** Limited edition size; null means unlimited. */ maxSales?: Maybe; medium: ArtMedium; priceAmount: Scalars['Float']['output']; publishedAt?: Maybe; /** Licences left in a limited edition; null when unlimited. */ remaining?: Maybe; salesCount: Scalars['Int']['output']; sellerId: Scalars['ID']['output']; sellerName: Scalars['String']['output']; status: ArtListingStatus; summary?: Maybe; tags: Array; /** The licence terms being sold (null if the licence was deleted). */ terms?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** The caller's paid order for this listing, else their pending one. */ viewerOrder?: Maybe; visibility: ArtVisibility; workId: Scalars['ID']['output']; /** The seller's workspace. */ workspaceId: Scalars['ID']['output']; }; export type ArtMarketplaceListingConnection = { __typename?: 'ArtMarketplaceListingConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtMarketplaceOrder = { __typename?: 'ArtMarketplaceOrder'; amount: Scalars['Float']['output']; attribution?: Maybe; buyerId: Scalars['ID']['output']; canceledAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; earningError?: Maybe; /** Seller-side bookkeeping; null for the buyer. */ earningStatus?: Maybe; failureReason?: Maybe; id: Scalars['ID']['output']; licenseId: Scalars['ID']['output']; /** Licence certificate number, issued once the order is paid. */ licenseKey?: Maybe; licenseModel: ArtLicenseModel; licenseName: Scalars['String']['output']; listingId: Scalars['ID']['output']; medium: ArtMedium; orderNumber: Scalars['String']['output']; paidAt?: Maybe; paymentProvider?: Maybe; /** The payment gateway's own reference (Razorpay pay_xxx / Stripe pi_xxx). */ paymentReference?: Maybe; platformFeeAmount: Scalars['Float']['output']; role: ArtOrderRole; sellerId: Scalars['ID']['output']; sellerName: Scalars['String']['output']; sellerNetAmount: Scalars['Float']['output']; spdx?: Maybe; status: ArtOrderStatus; terms?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workId: Scalars['ID']['output']; }; export type ArtMarketplaceOrderConnection = { __typename?: 'ArtMarketplaceOrderConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtMarketplaceSellerSummary = { __typename?: 'ArtMarketplaceSellerSummary'; activeListings: Scalars['Int']['output']; failedEarnings: Scalars['Int']['output']; paidOrders: Scalars['Int']['output']; pendingEarnings: Scalars['Int']['output']; totals: Array; }; export type ArtMarketplaceSettings = { __typename?: 'ArtMarketplaceSettings'; currencies: Array; /** Platform commission on a paid sale, in percent. */ feePercent: Scalars['Float']['output']; minPaidPrice: Scalars['Float']['output']; paidCheckoutOpen: Scalars['Boolean']['output']; /** When paid licences with live payments open (notice period under the Terms). */ paidCheckoutOpensAt: Scalars['DateTime']['output']; /** Days a sale's earnings are held before they can be paid out. */ payoutHoldDays: Scalars['Int']['output']; testMode: Scalars['Boolean']['output']; }; export declare enum ArtMedium { Art = "ART", Audio = "AUDIO", Mixed = "MIXED", Story = "STORY", Video = "VIDEO" } /** * Engagement for one medium. `primaryKind` is the metric that matters most for * the medium (PLAY for audio and video, READ for stories, VIEW for art and mixed * work) and `primaryCount` is its value (for view-led media it includes public * discovery views). */ export type ArtMediumAnalytics = { __typename?: 'ArtMediumAnalytics'; appreciations: Scalars['Int']['output']; downloads: Scalars['Int']['output']; medium: ArtMedium; plays: Scalars['Int']['output']; primaryCount: Scalars['Int']['output']; primaryKind: ArtEngagementKind; publicViews: Scalars['Int']['output']; reads: Scalars['Int']['output']; views: Scalars['Int']['output']; works: Scalars['Int']['output']; }; export type ArtMoneyTotal = { __typename?: 'ArtMoneyTotal'; currency: Scalars['String']['output']; fees: Scalars['Float']['output']; gross: Scalars['Float']['output']; net: Scalars['Float']['output']; orders: Scalars['Int']['output']; }; export type ArtOpenReviewRoundInput = { dueDate?: InputMaybe; /** * Workspace members to invite as reviewers (at most 25). Each one gets a PENDING * approval on the new round plus an in-app and mobile push notification. Every id * must belong to a member of the workspace. */ reviewerIds?: InputMaybe>; title?: InputMaybe; versionId?: InputMaybe; workId: Scalars['ID']['input']; /** Approval workflow to apply. Defaults to the production's workflow when omitted. */ workflowId?: InputMaybe; }; /** Whether the caller is the buyer or the seller of an order. */ export declare enum ArtOrderRole { Buyer = "BUYER", Seller = "SELLER" } export declare enum ArtOrderStatus { Canceled = "CANCELED", Failed = "FAILED", Paid = "PAID", PendingPayment = "PENDING_PAYMENT" } export type ArtPageInfo = { __typename?: 'ArtPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type ArtPortfolio = { __typename?: 'ArtPortfolio'; avatarFileId?: Maybe; bannerFileId?: Maybe; bio?: Maybe; createdAt: Scalars['DateTime']['output']; /** * The custom domain attached to this portfolio, with the DNS record that * proves ownership. Null when no domain is attached. */ customDomain?: Maybe; displayName: Scalars['String']['output']; featuredWorkIds: Array; followerCount: Scalars['Int']['output']; handle: Scalars['String']['output']; id: Scalars['ID']['output']; links?: Maybe; /** The creator who owns this portfolio (resolved by wspace-auth-svc). */ owner?: Maybe; ownerId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** * Whether the calling actor already follows this portfolio. Powers the * Follow button's initial state in the portfolio UI. Resolved per-caller * from ArtFollow; false for unauthenticated callers. */ viewerHasFollowed: Scalars['Boolean']['output']; visibility: ArtVisibility; workspaceId: Scalars['ID']['output']; }; export type ArtPortfolioConnection = { __typename?: 'ArtPortfolioConnection'; items: Array; pageInfo: ArtPageInfo; }; /** * A creator-owned domain attached to a portfolio. Ownership is proven by a DNS * TXT record named verificationRecordName with the value verificationRecordValue. */ export type ArtPortfolioCustomDomain = { __typename?: 'ArtPortfolioCustomDomain'; /** Status of the automatically issued HTTPS certificate (pending-validation, issued, ...). */ certificateStatus?: Maybe; /** * Hostname the creator points a CNAME record at (e.g. portfolios.artistrybase.com). * Null where this environment does not serve custom domains. */ cnameTarget?: Maybe; /** Lowercase ASCII (punycode) hostname, e.g. portfolio.example.com. */ hostname: Scalars['String']['output']; lastCheckedAt?: Maybe; /** Why the last ownership check did not pass. Null once verified. */ lastError?: Maybe; /** * What still has to happen before the domain serves, while servingStatus is * PROVISIONING or FAILED. */ servingError?: Maybe; /** Whether the domain serves the portfolio over HTTPS yet. */ servingStatus: ArtCustomDomainServingStatus; status: ArtCustomDomainStatus; /** https:// once servingStatus is ACTIVE. */ url?: Maybe; /** Fully qualified name of the TXT record, e.g. _artistrybase-challenge.portfolio.example.com. */ verificationRecordName: Scalars['String']['output']; /** DNS record type to create. Always TXT. */ verificationRecordType: Scalars['String']['output']; /** Exact value the TXT record must contain. */ verificationRecordValue: Scalars['String']['output']; verifiedAt?: Maybe; }; export type ArtPosterFrameCandidate = { __typename?: 'ArtPosterFrameCandidate'; /** Colourfulness, 0..1. */ colourfulness: Scalars['Float']['output']; /** Contrast, 0..1. */ contrast: Scalars['Float']['output']; /** Exposure, 0..1 (low = too dark, too bright or clipped). */ exposure: Scalars['Float']['output']; /** The still image (resolved by wspace-files-svc). */ file?: Maybe; fileId: Scalars['ID']['output']; height: Scalars['Int']['output']; /** Rank, 0 = best. */ index: Scalars['Int']['output']; /** Taken just after a scene change. */ isSceneChange: Scalars['Boolean']['output']; mimeType: Scalars['String']['output']; /** * How clearly the still has a subject (saliency), 0..1. Null for suggestions * made before saliency joined the ranking. */ saliency?: Maybe; /** Overall quality score, 0..1. */ score: Scalars['Float']['output']; /** Focus, 0..1 (low = motion blur or soft focus). */ sharpness: Scalars['Float']['output']; /** Where in the video the frame was taken. */ timestampMs: Scalars['Int']['output']; width: Scalars['Int']['output']; }; export declare enum ArtPosterFrameFailure { /** The job failed repeatedly and was stopped. */ AttemptsExhausted = "ATTEMPTS_EXHAUSTED", /** The asset is not a video. */ NotAVideo = "NOT_A_VIDEO", /** Every sampled frame was black, flat or blurred. */ NoUsableFrames = "NO_USABLE_FRAMES", /** The video file was removed, replaced, or cannot be read by the person who asked. */ SourceUnavailable = "SOURCE_UNAVAILABLE", /** Reading the video took too long. */ TimedOut = "TIMED_OUT", /** The video is longer than 12 hours. */ TooLong = "TOO_LONG", /** The file could not be decoded as video. */ UnreadableVideo = "UNREADABLE_VIDEO", /** The candidate stills could not be stored. */ UploadFailed = "UPLOAD_FAILED", /** The media worker is not available in this environment. */ WorkerUnavailable = "WORKER_UNAVAILABLE" } export type ArtPosterFrameJob = { __typename?: 'ArtPosterFrameJob'; /** The COVER asset created from the picked candidate. */ appliedAssetId?: Maybe; /** The VIDEO asset the frames come from. */ assetId: Scalars['ID']['output']; /** Ranked candidates, best first. Empty until the job succeeds. */ candidates: Array; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; failure?: Maybe; /** How many frames were decoded and scored. */ framesSampled?: Maybe; id: Scalars['ID']['output']; sourceDurationMs?: Maybe; sourceHeight?: Maybe; sourceWidth?: Maybe; status: ArtPosterFrameJobStatus; updatedAt: Scalars['DateTime']['output']; workId: Scalars['ID']['output']; }; export declare enum ArtPosterFrameJobStatus { /** A candidate was picked and saved as a COVER asset. */ Applied = "APPLIED", /** Replaced by a newer request for the same asset; its stills were deleted. */ Discarded = "DISCARDED", /** No candidates could be produced; see failure. */ Failed = "FAILED", /** Waiting for the media worker. */ Queued = "QUEUED", /** The media worker is sampling the video. */ Running = "RUNNING", /** Candidates are ready to pick from. */ Succeeded = "SUCCEEDED" } export type ArtPrepareApprovalSignatureInput = { comment?: InputMaybe; decision: ArtApprovalDecision; reviewRoundId: Scalars['ID']['input']; signerKeyId: Scalars['ID']['input']; /** Printed name the signer attests to inside the signed manifest. */ signerName?: InputMaybe; }; export type ArtProduction = { __typename?: 'ArtProduction'; /** Default approval workflow applied to new review rounds on this production's works. */ approvalWorkflowId?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; medium: ArtMedium; members: Array; ownerId?: Maybe; references: Array; releasedAt?: Maybe; slug: Scalars['String']['output']; startDate?: Maybe; status: ArtProductionStatus; synopsis?: Maybe; tags: Array; targetDate?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtProductionConnection = { __typename?: 'ArtProductionConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtProductionMember = { __typename?: 'ArtProductionMember'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isLead: Scalars['Boolean']['output']; /** The team member (resolved by wspace-auth-svc). */ member?: Maybe; memberId: Scalars['ID']['output']; productionId: Scalars['ID']['output']; role: ArtProductionRole; title?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtProductionMemberConnection = { __typename?: 'ArtProductionMemberConnection'; items: Array; pageInfo: ArtPageInfo; }; export declare enum ArtProductionRole { Collaborator = "COLLABORATOR", Creator = "CREATOR", Editor = "EDITOR", Owner = "OWNER", Producer = "PRODUCER", Reviewer = "REVIEWER", Viewer = "VIEWER" } export declare enum ArtProductionStatus { Cancelled = "CANCELLED", InProduction = "IN_PRODUCTION", OnHold = "ON_HOLD", Planning = "PLANNING", Post = "POST", Released = "RELEASED", Review = "REVIEW" } export type ArtProductionTemplate = { __typename?: 'ArtProductionTemplate'; approvalWorkflowId?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; medium: ArtMedium; name: Scalars['String']['output']; synopsis?: Maybe; tags: Array; targetDurationDays?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtProductionTemplateInput = { approvalWorkflowId?: InputMaybe; description?: InputMaybe; medium?: InputMaybe; name: Scalars['String']['input']; synopsis?: InputMaybe; tags?: InputMaybe>; targetDurationDays?: InputMaybe; }; /** * Public, read-only projection of a PUBLIC portfolio served on its verified * custom domain (BOFF-10558). Deliberately excludes the owner id, follower data, * the domain verification token and every audit field. */ export type ArtPublicPortfolio = { __typename?: 'ArtPublicPortfolio'; /** Short-lived signed URL of the avatar image, or null. */ avatarUrl?: Maybe; /** Short-lived signed URL of the banner image, or null. */ bannerUrl?: Maybe; bio?: Maybe; displayName: Scalars['String']['output']; /** The featured works, in the creator's order. Only PUBLIC, RELEASED works. */ featuredWorks: Array; handle: Scalars['String']['output']; /** The verified custom domain this portfolio is served on. */ hostname: Scalars['String']['output']; id: Scalars['ID']['output']; /** Links the creator added to the portfolio (as stored: a JSON array). */ links?: Maybe; /** The creator's other PUBLIC, RELEASED works in the workspace, newest first. */ works: Array; workspaceId: Scalars['ID']['output']; }; /** * Public projection of a published PUBLIC work. Deliberately excludes drafts, * versions, assets, review data and audit fields. */ export type ArtPublicWork = { __typename?: 'ArtPublicWork'; appreciationCount: Scalars['Int']['output']; /** * Short-lived signed URL of the cover image, or null when the work has no cover * or it cannot be resolved. */ coverUrl?: Maybe; creator?: Maybe; creatorId?: Maybe; durationMs?: Maybe; id: Scalars['ID']['output']; medium: ArtMedium; publishedAt?: Maybe; summary?: Maybe; tags: Array; title: Scalars['String']['output']; /** Trending score used by the TRENDING sort (0 when nothing recent). */ trendingScore: Scalars['Float']['output']; viewCount: Scalars['Int']['output']; /** Whether the calling actor appreciated this work; false for anonymous callers. */ viewerHasAppreciated: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtPublicWorkConnection = { __typename?: 'ArtPublicWorkConnection'; items: Array; pageInfo: ArtPageInfo; /** Number of works matching the filter. */ total: Scalars['Int']['output']; }; export type ArtPublishVersionToAdobeInput = { /** Integrations connection id of the Adobe account to publish with. */ connectionId: Scalars['ID']['input']; /** Element name in the library. Defaults to " v". */ elementName?: InputMaybe; /** Existing Creative Cloud library to publish into. Omit to create newLibraryName. */ libraryId?: InputMaybe; newLibraryName?: InputMaybe; versionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; export type ArtReadinessIssue = { __typename?: 'ArtReadinessIssue'; field: Scalars['String']['output']; message: Scalars['String']['output']; }; export type ArtRecordApprovalInput = { comment?: InputMaybe; decision: ArtApprovalDecision; reviewRoundId: Scalars['ID']['input']; }; export type ArtRecordStageDecisionInput = { comment?: InputMaybe; decision: ArtApprovalDecision; stageId: Scalars['ID']['input']; }; export type ArtRecordWorkEngagementInput = { kind: ArtEngagementKind; source?: InputMaybe; workId: Scalars['ID']['input']; }; export type ArtReference = { __typename?: 'ArtReference'; createdAt: Scalars['DateTime']['output']; /** Optional attached File (resolved by wspace-files-svc). */ file?: Maybe; fileId?: Maybe; id: Scalars['ID']['output']; note?: Maybe; productionId: Scalars['ID']['output']; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; url?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ArtReferenceConnection = { __typename?: 'ArtReferenceConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtRegisterSignerKeyInput = { label?: InputMaybe; /** Base64 DER SubjectPublicKeyInfo of an ECDSA P-256 public key. */ publicKey: Scalars['String']['input']; }; export type ArtRelease = { __typename?: 'ArtRelease'; channel: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe; publishedAt?: Maybe; scheduledFor?: Maybe; status: ArtReleaseStatus; updatedAt: Scalars['DateTime']['output']; versionId?: Maybe; visibility: ArtVisibility; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtReleaseConnection = { __typename?: 'ArtReleaseConnection'; items: Array; pageInfo: ArtPageInfo; }; export declare enum ArtReleaseStatus { Failed = "FAILED", Published = "PUBLISHED", Scheduled = "SCHEDULED", Unpublished = "UNPUBLISHED" } /** A rendered report file, base64-encoded. */ export type ArtReportFile = { __typename?: 'ArtReportFile'; byteSize: Scalars['Int']['output']; content: Scalars['String']['output']; contentType: Scalars['String']['output']; encoding: Scalars['String']['output']; filename: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; reportDigest: Scalars['String']['output']; sha256: Scalars['String']['output']; }; export declare enum ArtReportFormat { Csv = "CSV", Json = "JSON", Pdf = "PDF" } /** An external reviewer invited to one review round. Visible to workspace members. */ export type ArtReviewGuest = { __typename?: 'ArtReviewGuest'; accessCount: Scalars['Int']['output']; canApprove: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; email: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; invitedById: Scalars['ID']['output']; lastAccessedAt?: Maybe; name?: Maybe; reviewRoundId: Scalars['ID']['output']; revokedAt?: Maybe; status: ArtReviewGuestStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * Result of inviting a guest. `token` and `reviewUrl` are returned ONCE — only a * digest of the secret is stored, so they cannot be read back later. */ export type ArtReviewGuestInvitation = { __typename?: 'ArtReviewGuestInvitation'; /** True when the invitation email was handed to the notification service. */ emailQueued: Scalars['Boolean']['output']; guest: ArtReviewGuest; reviewUrl: Scalars['String']['output']; token: Scalars['String']['output']; }; export declare enum ArtReviewGuestStatus { Active = "ACTIVE", Expired = "EXPIRED", Revoked = "REVOKED" } export type ArtReviewRound = { __typename?: 'ArtReviewRound'; approvals: Array; closedAt?: Maybe; createdAt: Scalars['DateTime']['output']; dueDate?: Maybe; feedback: Array; id: Scalars['ID']['output']; openedById?: Maybe; round: Scalars['Int']['output']; /** Approval workflow stages applied to this round, ordered by step. */ stages: Array; status: ArtReviewStatus; title?: Maybe; updatedAt: Scalars['DateTime']['output']; versionId?: Maybe; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtReviewRoundConnection = { __typename?: 'ArtReviewRoundConnection'; items: Array; pageInfo: ArtPageInfo; }; export type ArtReviewRoundStage = { __typename?: 'ArtReviewRoundStage'; activatedAt?: Maybe; assigneeIds: Array; completedAt?: Maybe; decisions: Array; dueAt?: Maybe; escalatedAt?: Maybe; id: Scalars['ID']['output']; lastRemindedAt?: Maybe; name: Scalars['String']['output']; /** Number of approvals this stage needs to pass. */ requiredApprovals: Scalars['Int']['output']; requiredCount?: Maybe; reviewRoundId: Scalars['ID']['output']; rule: ArtStageRule; status: ArtStageStatus; step: Scalars['Int']['output']; workflowId?: Maybe; }; export type ArtReviewStageDecision = { __typename?: 'ArtReviewStageDecision'; approverId: Scalars['ID']['output']; comment?: Maybe; decidedAt: Scalars['DateTime']['output']; decision: ArtApprovalDecision; id: Scalars['ID']['output']; stageId: Scalars['ID']['output']; }; export declare enum ArtReviewStatus { Approved = "APPROVED", ChangesRequested = "CHANGES_REQUESTED", Closed = "CLOSED", Open = "OPEN" } export type ArtReviewerGroup = { __typename?: 'ArtReviewerGroup'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; memberIds: Array; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtReviewerGroupInput = { description?: InputMaybe; memberIds: Array; name: Scalars['String']['input']; }; export type ArtSignApprovalInput = { manifest: Scalars['String']['input']; signature: Scalars['String']['input']; signerKeyId: Scalars['ID']['input']; }; /** A manifest for the approver's device to sign; valid until expiresAt. */ export type ArtSignatureChallenge = { __typename?: 'ArtSignatureChallenge'; contentHash: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; manifest: Scalars['String']['output']; manifestHash: Scalars['String']['output']; }; export type ArtSignatureVerification = { __typename?: 'ArtSignatureVerification'; algorithm: Scalars['String']['output']; chainHash: Scalars['String']['output']; chainIntact: Scalars['Boolean']['output']; comment?: Maybe; contentChangedSinceSigning: Scalars['Boolean']['output']; contentHash: Scalars['String']['output']; decision: ArtApprovalDecision; keyFingerprint: Scalars['String']['output']; keyRevoked: Scalars['Boolean']['output']; keyRevokedBeforeSigning: Scalars['Boolean']['output']; manifestHash: Scalars['String']['output']; manifestIntact: Scalars['Boolean']['output']; meaning: Scalars['String']['output']; problems: Array; sequence: Scalars['Int']['output']; signatureId: Scalars['ID']['output']; signatureValid: Scalars['Boolean']['output']; signedAt: Scalars['DateTime']['output']; signerId: Scalars['ID']['output']; signerName?: Maybe; supersededByLaterDecision: Scalars['Boolean']['output']; /** True when the signature, manifest and chain all verify and the key was live at signing. */ valid: Scalars['Boolean']['output']; }; export type ArtSignatureVerificationReport = { __typename?: 'ArtSignatureVerificationReport'; allValid: Scalars['Boolean']['output']; currentContentHash: Scalars['String']['output']; reviewRoundId: Scalars['ID']['output']; signatureCount: Scalars['Int']['output']; signatures: Array; verifiedAt: Scalars['DateTime']['output']; }; export type ArtSignerKey = { __typename?: 'ArtSignerKey'; actorId: Scalars['ID']['output']; algorithm: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Lower-case hex SHA-256 of the DER public key. */ fingerprint: Scalars['String']['output']; id: Scalars['ID']['output']; label?: Maybe; lastUsedAt?: Maybe; /** Base64 DER SubjectPublicKeyInfo. */ publicKey: Scalars['String']['output']; revokedAt?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ArtSimilarWork = { __typename?: 'ArtSimilarWork'; /** Blended similarity in [0, 1] (text, shared tags, same medium). */ score: Scalars['Float']['output']; sharedTags: Array; /** The most influential terms both works share. */ sharedTerms: Array; work: ArtWork; }; export type ArtSimilarWorks = { __typename?: 'ArtSimilarWorks'; analyzedWorks: Scalars['Int']['output']; items: Array; model: Scalars['String']['output']; workId: Scalars['ID']['output']; }; export declare enum ArtStageRule { /** Every assignee must approve. */ All = "ALL", /** Any single assignee may approve for the stage. */ Any = "ANY", /** At least requiredCount assignees must approve. */ Count = "COUNT" } export declare enum ArtStageStatus { Active = "ACTIVE", Approved = "APPROVED", Rejected = "REJECTED", Waiting = "WAITING" } export type ArtTagSuggestion = { __typename?: 'ArtTagSuggestion'; /** Relative confidence in [0, 1]; the strongest suggestion is 1. */ score: Scalars['Float']['output']; sources: Array; tag: Scalars['String']['output']; }; /** Where the evidence for a suggested tag came from, strongest first. */ export declare enum ArtTagSuggestionSource { /** A distinctive term from this work's title or summary. */ Keyword = "KEYWORD", /** An existing workspace tag whose words appear in this work's own text. */ LibraryVocabulary = "LIBRARY_VOCABULARY", /** Carried by the most similar works in this workspace. */ SimilarWorks = "SIMILAR_WORKS", /** A distinctive term that only appears in this work's version labels or notes. */ VersionNotes = "VERSION_NOTES" } export type ArtTagSuggestions = { __typename?: 'ArtTagSuggestions'; /** How many works in this workspace the model was fitted on. */ analyzedWorks: Scalars['Int']['output']; /** Identifier of the model that produced the suggestions. */ model: Scalars['String']['output']; suggestions: Array; workId: Scalars['ID']['output']; }; export type ArtUpdateCollectionInput = { coverFileId?: InputMaybe; description?: InputMaybe; medium?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; visibility?: InputMaybe; }; export type ArtUpdateDistributionInput = { copyrightLine?: InputMaybe; coverFileId?: InputMaybe; dsps?: InputMaybe>; explicit?: InputMaybe; featuredArtists?: InputMaybe>; genre?: InputMaybe; isrc?: InputMaybe; label?: InputMaybe; language?: InputMaybe; notes?: InputMaybe; primaryArtist?: InputMaybe; releaseDate?: InputMaybe; territories?: InputMaybe>; title?: InputMaybe; upc?: InputMaybe; versionId?: InputMaybe; }; export type ArtUpdateLicenseInput = { attribution?: InputMaybe; currency?: InputMaybe; model?: InputMaybe; name?: InputMaybe; priceAmount?: InputMaybe; spdx?: InputMaybe; terms?: InputMaybe; }; export type ArtUpdateMarketplaceListingInput = { currency?: InputMaybe; maxSales?: InputMaybe; priceAmount?: InputMaybe; sellerName?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; visibility?: InputMaybe; }; export type ArtUpdatePortfolioInput = { avatarFileId?: InputMaybe; bannerFileId?: InputMaybe; bio?: InputMaybe; displayName?: InputMaybe; featuredWorkIds?: InputMaybe>; links?: InputMaybe; visibility?: InputMaybe; }; export type ArtUpdateProductionInput = { medium?: InputMaybe; startDate?: InputMaybe; synopsis?: InputMaybe; tags?: InputMaybe>; targetDate?: InputMaybe; title?: InputMaybe; }; export type ArtUpdateWebhookSubscriptionInput = { endpointUrl?: InputMaybe; events?: InputMaybe>; /** Re-activating a paused subscription also clears its failure streak. */ isActive?: InputMaybe; name?: InputMaybe; }; export type ArtUpdateWorkInput = { coverFileId?: InputMaybe; durationMs?: InputMaybe; medium?: InputMaybe; productionId?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; visibility?: InputMaybe; }; /** * Descriptive metadata of a version. The revision itself (file, checksum, size, * version number) stays immutable; only the label and notes can be edited, for * example to apply an approved AI draft (artDraftVersionNotes). */ export type ArtUpdateWorkVersionNotesInput = { /** New label. Omit to keep the current one; an empty string clears it. */ label?: InputMaybe; /** New notes. Omit to keep the current ones; an empty string clears them. */ notes?: InputMaybe; }; export declare enum ArtVisibility { Private = "PRIVATE", Public = "PUBLIC", Unlisted = "UNLISTED" } export type ArtWebhookDelivery = { __typename?: 'ArtWebhookDelivery'; createdAt: Scalars['DateTime']['output']; durationMs?: Maybe; error?: Maybe; eventId: Scalars['String']['output']; eventType: Scalars['String']['output']; id: Scalars['ID']['output']; isTest: Scalars['Boolean']['output']; responseCode?: Maybe; status: ArtWebhookDeliveryStatus; subscriptionId: Scalars['ID']['output']; }; export declare enum ArtWebhookDeliveryStatus { Failed = "FAILED", Success = "SUCCESS" } /** One ArtistryBase event a webhook can subscribe to. */ export type ArtWebhookEventType = { __typename?: 'ArtWebhookEventType'; /** English description of when the event fires. */ description: Scalars['String']['output']; /** Event type, e.g. `artistrybase.review.status_changed`. */ type: Scalars['String']['output']; }; export declare enum ArtWebhookKind { Generic = "GENERIC", Slack = "SLACK" } export type ArtWebhookSubscription = { __typename?: 'ArtWebhookSubscription'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deliveryCount: Scalars['Int']['output']; /** Why the service paused this subscription (too many consecutive failures), if it did. */ disabledReason?: Maybe; /** Masked endpoint (scheme, host and a hint of the path). The full URL is never returned. */ endpointPreview: Scalars['String']['output']; events: Array; failureCount: Scalars['Int']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; kind: ArtWebhookKind; lastDeliveryAt?: Maybe; lastDeliveryStatus?: Maybe; lastError?: Maybe; lastResponseCode?: Maybe; name: Scalars['String']['output']; /** Most recent delivery attempts, newest first (kept for 30 days). */ recentDeliveries: Array; /** Last four characters of the signing secret (GENERIC only). */ secretHint?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtWebhookSubscriptionRecentDeliveriesArgs = { limit?: InputMaybe; }; /** * A subscription together with its signing secret. The secret is only ever * returned here, right after it was generated; store it on the receiving side. */ export type ArtWebhookSubscriptionSecret = { __typename?: 'ArtWebhookSubscriptionSecret'; /** HMAC-SHA256 signing secret (GENERIC subscriptions; null for SLACK). */ signingSecret?: Maybe; subscription: ArtWebhookSubscription; }; export type ArtWork = { __typename?: 'ArtWork'; assets: Array; /** The cover image File (resolved by wspace-files-svc). */ cover?: Maybe; coverFileId?: Maybe; createdAt: Scalars['DateTime']['output']; creatorId?: Maybe; currentVersionId?: Maybe; durationMs?: Maybe; id: Scalars['ID']['output']; medium: ArtMedium; productionId?: Maybe; publishedAt?: Maybe; status: ArtWorkStatus; summary?: Maybe; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; versions: Array; visibility: ArtVisibility; workspaceId: Scalars['ID']['output']; }; /** Engagement for one of the creator's works. */ export type ArtWorkAnalytics = { __typename?: 'ArtWorkAnalytics'; appreciations: Scalars['Int']['output']; downloads: Scalars['Int']['output']; medium: ArtMedium; plays: Scalars['Int']['output']; publicViews: Scalars['Int']['output']; reads: Scalars['Int']['output']; title: Scalars['String']['output']; /** Sum of every kind of engagement. */ total: Scalars['Int']['output']; views: Scalars['Int']['output']; work?: Maybe; workId: Scalars['ID']['output']; }; export type ArtWorkConnection = { __typename?: 'ArtWorkConnection'; items: Array; pageInfo: ArtPageInfo; }; export declare enum ArtWorkStatus { Approved = "APPROVED", Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Released = "RELEASED" } export type ArtWorkVersion = { __typename?: 'ArtWorkVersion'; checksum?: Maybe; createdAt: Scalars['DateTime']['output']; /** The source File for this revision (resolved by wspace-files-svc). */ file?: Maybe; fileId?: Maybe; id: Scalars['ID']['output']; isPublished: Scalars['Boolean']['output']; label?: Maybe; notes?: Maybe; sizeBytes?: Maybe; updatedAt: Scalars['DateTime']['output']; versionNo: Scalars['Int']['output']; workId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ArtWorkVersionConnection = { __typename?: 'ArtWorkVersionConnection'; items: Array; pageInfo: ArtPageInfo; }; /** Generated artifact type */ export declare enum ArtifactType { Code = "CODE", Data = "DATA", Document = "DOCUMENT", Image = "IMAGE", Other = "OTHER" } export type Asset = { __typename?: 'Asset'; /** * Accumulated depreciation to date under the asset's method. Null when * purchaseValue is not set. */ accumulatedDepreciation?: Maybe; assetNumber: Scalars['String']['output']; assignedTo?: Maybe; /** * Federated bridge to the assigned user via global-auth-svc (BOFF-3341). * Null when the asset is unassigned. */ assignedToUser?: Maybe; category: Scalars['String']['output']; condition: AssetCondition; createdAt: Scalars['DateTime']['output']; /** * Book value: purchaseValue minus accumulated depreciation by method/elapsed * months, floored at salvageValue. Null when purchaseValue is not set. */ currentValue?: Maybe; customAttributes: Scalars['JSONObject']['output']; department?: Maybe; depreciationMethod?: Maybe; description?: Maybe; disposalDate?: Maybe; disposalMethod?: Maybe; disposalNotes?: Maybe; /** * Sustainability metrics attributed to this asset, resolved from the canonical * EcoMetric owner (wspace-ecoimpacthub-svc) via federation (BOFF-5229). */ esgMetrics: Array; id: Scalars['ID']['output']; locationName?: Maybe; /** What `unitsProduced` counts in. See AssetMeterUnit. */ meterUnit?: Maybe; name: Scalars['String']['output']; purchaseDate?: Maybe; purchaseValue?: Maybe; salvageValue?: Maybe; serialNumber?: Maybe; status: AssetStatus; supplier?: Maybe; /** Structured tag assignments resolved from wspace-tags-svc (BOFF-3339). */ tagAssignments: Array; /** * Stable, scannable tag identifier for the asset (BOFF-3950). Printed on QR/ * barcode tags and used for scan-based check-in/out. */ tagId: Scalars['String']['output']; /** @deprecated Use tagAssignments — structured tags resolved from wspace-tags-svc (BOFF-3339) */ tags: Array; /** * Total cost of ownership: purchaseValue + sum of the asset's MaintenanceRecord * actualCost + sum of the asset's WorkOrder cost. */ totalCostOfOwnership?: Maybe; /** Lifetime expected output for UNITS_OF_PRODUCTION depreciation. */ unitsOfProductionCapacity?: Maybe; /** * Cumulative units produced/consumed to date (manual usage-meter input). * * Also the meter `MaintenancePlan.intervalMeter` counts against, so this is not a * depreciation-only figure: a farm servicing a tractor by engine hours records them * here (BOFF-6032). */ unitsProduced?: Maybe; updatedAt: Scalars['DateTime']['output']; usefulLifeMonths?: Maybe; warrantyExpiry?: Maybe; /** Federated bridge to the owning workspace via wspace-workspaces-svc (BOFF-3341). */ workspace: Workspace; workspaceId: Scalars['ID']['output']; }; export type AssetAssignment = { __typename?: 'AssetAssignment'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; assignedBy: Scalars['String']['output']; assignedTo: Scalars['String']['output']; checkedInAt?: Maybe; checkedOutAt: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; dueAt?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; status: AssetAssignmentStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * Assignment lifecycle. OVERDUE is computed at read time (a CHECKED_OUT * assignment whose dueAt is in the past) and never persisted. */ export declare enum AssetAssignmentStatus { CheckedOut = "CHECKED_OUT", Overdue = "OVERDUE", Returned = "RETURNED" } /** A tag available for selection (lightweight type for tag pickers). */ export type AssetAvailableTag = { __typename?: 'AssetAvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type AssetBudget = { __typename?: 'AssetBudget'; allocated: Scalars['Float']['output']; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; department: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; period: Scalars['String']['output']; remaining: Scalars['Float']['output']; spent: Scalars['Float']['output']; status: AssetBudgetStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum AssetBudgetStatus { OnTrack = "ON_TRACK", OverBudget = "OVER_BUDGET", UnderBudget = "UNDER_BUDGET" } export declare enum AssetCondition { Damaged = "DAMAGED", Excellent = "EXCELLENT", Fair = "FAIR", Good = "GOOD", Poor = "POOR" } /** A deterministic deadline raised from persisted AssetHandler registry facts. */ export type AssetDeadlineAlert = { __typename?: 'AssetDeadlineAlert'; assetId?: Maybe; daysRemaining: Scalars['Int']['output']; dueAt: Scalars['DateTime']['output']; headline: Scalars['String']['output']; id: Scalars['ID']['output']; kind: AssetDeadlineAlertKind; recommendedAction: Scalars['String']['output']; status: AssetDeadlineAlertStatus; subjectId: Scalars['ID']['output']; subjectName: Scalars['String']['output']; }; export declare enum AssetDeadlineAlertKind { EndOfLife = "END_OF_LIFE", LicenseRenewal = "LICENSE_RENEWAL", MaintenanceDue = "MAINTENANCE_DUE", WarrantyExpiry = "WARRANTY_EXPIRY" } export declare enum AssetDeadlineAlertStatus { DueSoon = "DUE_SOON", Overdue = "OVERDUE", Upcoming = "UPCOMING" } /** * Depreciation method used to compute an asset's book value at read time. * NONE (or a null purchaseValue) means the asset does not depreciate. * STRAIGHT_LINE: equal (purchase - salvage) / life per month. * REDUCING_BALANCE: double-declining balance, rate = 2 / life. * DECLINING_BALANCE: single declining balance, rate = 1.5 / life. * SUM_OF_YEARS_DIGITS: accelerated depreciation weighted by remaining life. * UNITS_OF_PRODUCTION: depreciation proportional to unitsProduced / * unitsOfProductionCapacity rather than elapsed time. */ export declare enum AssetDepreciationMethod { DecliningBalance = "DECLINING_BALANCE", None = "NONE", ReducingBalance = "REDUCING_BALANCE", StraightLine = "STRAIGHT_LINE", SumOfYearsDigits = "SUM_OF_YEARS_DIGITS", UnitsOfProduction = "UNITS_OF_PRODUCTION" } export type AssetHandlerAdminWorkspaceState = { __typename?: 'AssetHandlerAdminWorkspaceState'; assetCount: Scalars['Int']['output']; discoveryJobCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; maintenancePlanCount: Scalars['Int']['output']; openIncidentCount: Scalars['Int']['output']; openWorkOrderCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AssetHandlerCreateBudgetInput = { allocated: Scalars['Float']['input']; category: Scalars['String']['input']; department: Scalars['String']['input']; name: Scalars['String']['input']; period: Scalars['String']['input']; spent?: InputMaybe; status?: InputMaybe; }; export type AssetHandlerCreateInvoiceInput = { amount: Scalars['Float']['input']; currency?: InputMaybe; dueDate: Scalars['DateTime']['input']; issueDate: Scalars['DateTime']['input']; items?: InputMaybe>; number: Scalars['String']['input']; relatedPO?: InputMaybe; status?: InputMaybe; vendor: Scalars['String']['input']; }; export type AssetHandlerFeatureFlag = { __typename?: 'AssetHandlerFeatureFlag'; category: Scalars['String']['output']; defaultValue: Scalars['Boolean']['output']; key: Scalars['String']['output']; value: Scalars['Boolean']['output']; }; export type AssetHandlerFeatureFlagList = { __typename?: 'AssetHandlerFeatureFlagList'; items: Array; workspaceId: Scalars['ID']['output']; }; export type AssetHandlerFeatureFlagOverride = { __typename?: 'AssetHandlerFeatureFlagOverride'; allowUserOptIn: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; featureFlagId: Scalars['String']['output']; id: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; /** * Workspace-level financial rollup computed from real Asset / MaintenanceRecord / * Budget / Invoice / Transaction data. All monetary values are in the workspace's * mixed transaction currencies summed nominally (no FX conversion). */ export type AssetHandlerFinancialSummary = { __typename?: 'AssetHandlerFinancialSummary'; /** Sum of Budget.allocated across the workspace. */ budgetAllocated: Scalars['Float']['output']; /** Sum of Budget.spent across the workspace. */ budgetSpent: Scalars['Float']['output']; /** Sum of invoice amounts still owed (status SENT or OVERDUE). */ invoicesOutstanding: Scalars['Float']['output']; /** Count of invoices still owed (status SENT or OVERDUE). */ invoicesOutstandingCount: Scalars['Int']['output']; /** Sum of every non-disposed asset's computed book value (currentValue). */ totalAssetValue: Scalars['Float']['output']; /** Sum of every non-disposed asset's accumulated depreciation. */ totalDepreciation: Scalars['Float']['output']; /** Sum of MaintenanceRecord.actualCost across the workspace. */ totalMaintenanceSpend: Scalars['Float']['output']; /** Sum of expense transaction amounts (PURCHASE/LEASE/MAINTENANCE, not rejected). */ transactionExpense: Scalars['Float']['output']; }; /** * Cursor-based pagination input for list queries. Limit is clamped server-side * to a maximum of 100; cursor is the opaque `id` returned from the previous page. * Replaces the implicit hardcoded `take: 200` ceiling (scale audit #1). */ export type AssetHandlerPaginationInput = { cursor?: InputMaybe; limit?: InputMaybe; }; export type AssetHandlerStatusCount = { __typename?: 'AssetHandlerStatusCount'; count: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type AssetHandlerUpdateBudgetInput = { allocated?: InputMaybe; category?: InputMaybe; department?: InputMaybe; name?: InputMaybe; period?: InputMaybe; spent?: InputMaybe; status?: InputMaybe; }; /** Asset utilization rollup computed from Asset status and AssetAssignment state. */ export type AssetHandlerUtilizationReport = { __typename?: 'AssetHandlerUtilizationReport'; assignedAssets: Scalars['Int']['output']; byStatus: Array; /** Active assets with no current holder. */ idleAssets: Scalars['Int']['output']; /** CHECKED_OUT assignments whose dueAt has passed. */ overdueAssignments: Scalars['Int']['output']; totalAssets: Scalars['Int']['output']; unassignedAssets: Scalars['Int']['output']; }; export type AssetHandlerWorkspaceQuotaAssignment = { __typename?: 'AssetHandlerWorkspaceQuotaAssignment'; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; limit?: Maybe; noLimit: Scalars['Boolean']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; resetPeriod: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; used: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type AssetHandlerWorkspaceQuotaOverview = { __typename?: 'AssetHandlerWorkspaceQuotaOverview'; assignments: Array; workspaceId: Scalars['ID']['output']; }; /** * What an asset's usage meter counts. Presentation and unit-safety only: nothing * converts between units, and a maintenance plan's `intervalMeter` is always read in * the asset's own unit. * * Null means nobody has said — the meter still works, it is simply described as bare * "units", exactly as it was before this existed. */ export declare enum AssetMeterUnit { Cycles = "CYCLES", Hours = "HOURS", Km = "KM", Miles = "MILES", Units = "UNITS" } export type AssetRegisterFilterInput = { category?: InputMaybe; department?: InputMaybe; status?: InputMaybe; }; export declare enum AssetStatus { Active = "ACTIVE", Disposed = "DISPOSED", Inactive = "INACTIVE", Maintenance = "MAINTENANCE", Retired = "RETIRED" } export type AssetTagAssignment = { __typename?: 'AssetTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; /** * Federated UniversalTag reference — only `id` is locally resolvable here; * selecting further fields routes the supergraph to wspace-tags-svc. */ tag?: Maybe; tagId: Scalars['ID']['output']; /** Inline (non-federated) projection populated server-side from wspace-tags-svc. */ tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; /** Inline (non-federated) tag projection for rendering without a federation round trip. */ export type AssetTagInfo = { __typename?: 'AssetTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export type AssetTransaction = { __typename?: 'AssetTransaction'; amount: Scalars['Float']['output']; category: Scalars['String']['output']; currency: Scalars['String']['output']; department?: Maybe; description: Scalars['String']['output']; id: Scalars['ID']['output']; occurredAt: Scalars['DateTime']['output']; status: AssetTransactionStatus; type: AssetTransactionType; vendor?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum AssetTransactionStatus { Approved = "APPROVED", Completed = "COMPLETED", Pending = "PENDING", Rejected = "REJECTED" } export declare enum AssetTransactionType { Disposal = "DISPOSAL", Lease = "LEASE", Maintenance = "MAINTENANCE", Purchase = "PURCHASE", Transfer = "TRANSFER" } export type AssignCrewDispatchInput = { assigneeUserId?: InputMaybe; employeeId?: InputMaybe; shiftId?: InputMaybe; }; export type AssignGroupRoleInput = { expiresAt?: InputMaybe; roleId: Scalars['ID']['input']; scopeResourceId?: InputMaybe; scopeResourceType?: InputMaybe; }; export type AssignHealthyBowlConsultantInput = { /** The consultant's actor id (their platform user id) to grant scoped client access to. */ consultantActorId: Scalars['String']['input']; consultantName?: InputMaybe; context: ContextInput; expiresAt?: InputMaybe; scope?: InputMaybe; }; export type AssignHealthyBowlCsaPickupLocationInput = { /** * Assign even when the location is at capacity. Defaults false — an over-subscribed stand is a real * operational problem and should take a deliberate act, not a silent one. */ allowOverCapacity?: InputMaybe; context: ContextInput; csaMembershipId: Scalars['ID']['input']; /** The location to collect from. Null moves the member back to home delivery. */ pickupLocationId?: InputMaybe; }; /** Input for assigning a role to an actor */ export type AssignRoleInput = { actorId: Scalars['String']['input']; actorType: ActorType; expiresAt?: InputMaybe; roleId: Scalars['ID']['input']; scopeId: Scalars['String']['input']; scopeResourceId?: InputMaybe; scopeResourceType?: InputMaybe; }; export type AssignTagInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe; propagateToChildren?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; validFrom?: InputMaybe; validTo?: InputMaybe; }; /** Input for creating or updating a workspace quota assignment. */ export type AssignWorkspaceQuotaInput = { billingAccountId?: InputMaybe; limit?: InputMaybe; metadata?: InputMaybe; noLimit?: InputMaybe; productId: Scalars['String']['input']; quotaMode?: InputMaybe; quotaName: Scalars['String']['input']; resetPeriod?: InputMaybe; subscriptionId?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export declare enum AssignmentSource { Automatic = "AUTOMATIC", Computed = "COMPUTED", Imported = "IMPORTED", Inherited = "INHERITED", Manual = "MANUAL", Migrated = "MIGRATED" } export type AssignmentStatsResponse = { __typename?: 'AssignmentStatsResponse'; activeAssignments: Scalars['Int']['output']; assignmentsByEntityType: Scalars['JSON']['output']; assignmentsBySource: Scalars['JSON']['output']; topTags: Array; totalAssignments: Scalars['Int']['output']; }; export type AssistantChannelDelivery = { __typename?: 'AssistantChannelDelivery'; errorCode?: Maybe; id: Scalars['ID']['output']; installationId: Scalars['ID']['output']; status: Scalars['String']['output']; }; export type AssistantChannelInstallation = { __typename?: 'AssistantChannelInstallation'; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; organizationId: Scalars['ID']['output']; publicationId: Scalars['ID']['output']; routeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type AssistantConversation = { __typename?: 'AssistantConversation'; /** * The sandbox session that was backing this chat. The sandbox may since have * been reaped — treat this as a hint for resuming a live agent, never as proof * that one exists. */ agentSessionId?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Product that owns this chat, e.g. "bigconsole". */ productId: Scalars['String']['output']; /** Derived from the first prompt, so the history list is readable. */ title?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export declare enum AssistantHistoryArchivedFilter { /** Only conversations that are not archived. */ Exclude = "EXCLUDE", /** Archived or not. */ Include = "INCLUDE", /** Only archived conversations. */ Only = "ONLY" } export type AssistantHistoryChangeConnection = { __typename?: 'AssistantHistoryChangeConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; /** True when the cursor predates retained tombstones: drop synced state and pull from the start. */ resetRequired: Scalars['Boolean']['output']; }; /** * The kinds of person turns a conversation holds (notes do not count). Null for a tombstone, or when it holds no person * turn yet. */ export declare enum AssistantHistoryChannel { /** Only typed turns (legacy turns count as typed). */ Chat = "CHAT", /** Both typed and spoken turns. */ Mixed = "MIXED", /** Only spoken turns. */ Voice = "VOICE" } export declare enum AssistantHistoryChannelFilter { /** Any conversation. */ Any = "ANY", /** Holds a typed person turn (CHAT or MIXED). */ Chat = "CHAT", /** Holds a spoken person turn (VOICE or MIXED). */ Voice = "VOICE" } export type AssistantHistoryConversation = { __typename?: 'AssistantHistoryConversation'; /** When I archived it. Null = not archived. Archive is not delete: nothing is purged. Always null on a tombstone. */ archivedAt?: Maybe; /** Which kinds of person turns it holds. Null on a tombstone, or when it holds no person turn yet. */ channel?: Maybe; /** The id the client minted; the same on every device. Null = saved before v2 (read-only). */ clientConversationId?: Maybe; createdAt: Scalars['DateTime']['output']; deleted: Scalars['Boolean']['output']; deletedAt?: Maybe; id: Scalars['ID']['output']; lastMessageSeq: Scalars['Int']['output']; legacy: Scalars['Boolean']['output']; /** When I pinned it. Null = not pinned. Never set while archived. Always null on a tombstone. */ pinnedAt?: Maybe; /** * The product as the request named it. A renamed product's spellings (botlit / botmanor) are one product with one * history: either spelling reads and writes the same conversations, revisions and feed. */ productId: Scalars['String']['output']; /** Per-(me, workspace, product) revision of this row's last change. Monotonic in commit order. */ revision: Scalars['Int']['output']; /** A label derived from the first prompt. Null once the conversation is deleted: a deleted chat's title is never served. */ title?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export type AssistantHistoryConversationConnection = { __typename?: 'AssistantHistoryConversationConnection'; edges: Array; nodes: Array; pageInfo: PageInfo; }; export type AssistantHistoryConversationEdge = { __typename?: 'AssistantHistoryConversationEdge'; cursor: Scalars['String']['output']; node: AssistantHistoryConversation; }; export type AssistantHistoryConversationFilter = { /** Default EXCLUDE: archived conversations are left out. */ archived?: InputMaybe; /** CHAT = holds a typed person turn; VOICE = holds a spoken one. A MIXED conversation matches both. */ channel?: InputMaybe; /** true = only pinned; false = only unpinned; null = either. */ pinned?: InputMaybe; /** * Search (BOFF-8159): only my conversations whose title or any live entry (a typed or spoken prompt, a reply, a note) * holds this text, as English words (stemmed: "running" finds "run") or as a case-insensitive substring (non-ASCII is * kept, so Tamil and Hindi match by substring; % and _ are literal). 2-100 characters (code points) once whitespace is * collapsed and trimmed, else BAD_USER_INPUT (assistant.errors.invalidHistoryInput); the text is never echoed, stored * or audited. Deleted conversations and entries are never matched. The other fields still apply (archived defaults to * EXCLUDE), and the order and cursor are the list's. With a query, first is at most 50. When too many searches run at * once, or one takes longer than 3 seconds, the call fails with the retryable RATE_LIMIT_EXCEEDED: show local matches * or retry later. Null or omitted = no search. */ query?: InputMaybe; }; export declare enum AssistantHistoryDeleteOutcome { /** The conversation was already deleted; nothing changed. */ AlreadyDeleted = "ALREADY_DELETED", /** A live conversation was deleted. */ Deleted = "DELETED", /** No conversation with this legacy (server) id exists in this scope; nothing changed. */ NotPresent = "NOT_PRESENT", /** The server had never seen this client id; a tombstone was recorded so a late save cannot create it. */ TombstonedUnseen = "TOMBSTONED_UNSEEN" } export type AssistantHistoryEntry = { __typename?: 'AssistantHistoryEntry'; /** The client's ISO timestamp, returned exactly as stored (a String, never a Date). */ clientCreatedAt?: Maybe; clientMessageId?: Maybe; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind?: Maybe; /** Allow-listed client metadata; stored and returned verbatim, never interpreted or executed. */ metadata?: Maybe; role: AssistantHistoryRole; /** Position in the conversation (1..n). Always set for v2 and backfilled rows. */ seq?: Maybe; }; export type AssistantHistoryEntryConnection = { __typename?: 'AssistantHistoryEntryConnection'; conversation: AssistantHistoryConversation; edges: Array; nodes: Array; pageInfo: PageInfo; }; export type AssistantHistoryEntryEdge = { __typename?: 'AssistantHistoryEntryEdge'; cursor: Scalars['String']['output']; node: AssistantHistoryEntry; }; export type AssistantHistoryEntryInput = { clientCreatedAt?: InputMaybe; clientMessageId: Scalars['ID']['input']; /** Stored as sent, except that U+0000 and an unpaired UTF-16 surrogate (which cannot be stored) become U+FFFD. */ content: Scalars['String']['input']; metadata?: InputMaybe; role: AssistantHistoryRole; }; /** What a saved call records. Extensible later (e.g. RECORD) without any approval schema. */ export declare enum AssistantHistoryEntryKind { LocalCommand = "LOCAL_COMMAND", Note = "NOTE", Turn = "TURN" } export type AssistantHistoryMessage = { __typename?: 'AssistantHistoryMessage'; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; role: AssistantMessageRole; }; export declare enum AssistantHistoryRole { Assistant = "ASSISTANT", Note = "NOTE", User = "USER" } export declare enum AssistantHistorySaveOutcome { /** Every entry was already stored; nothing was written. */ AlreadyApplied = "ALREADY_APPLIED", /** The missing entries were written. */ Applied = "APPLIED", /** The conversation is deleted (or tombstoned); nothing was written. */ ConversationDeleted = "CONVERSATION_DELETED" } export declare enum AssistantHistoryUpdateOutcome { /** Already in that state; nothing written. */ AlreadyApplied = "ALREADY_APPLIED", /** The change was written (revision bumped). */ Applied = "APPLIED", /** Deleted; nothing written. */ ConversationDeleted = "CONVERSATION_DELETED", /** Pin refused: this scope already has the maximum number of pinned conversations (50); nothing written. */ PinLimitReached = "PIN_LIMIT_REACHED" } export declare enum AssistantMessageRole { Assistant = "ASSISTANT", User = "USER" } export type AssistantReadiness = { __typename?: 'AssistantReadiness'; health?: Maybe; ready: Scalars['Boolean']['output']; waited: Scalars['Boolean']['output']; }; /** The gateway a relayed document is sent to. */ export declare enum AssistantRelayGateway { /** The global public gateway (/global/graphql). */ Global = "GLOBAL", /** The workspace public gateway (/workspaces/graphql). */ Workspace = "WORKSPACE" } export type AssistantRuntimeConfiguration = { __typename?: 'AssistantRuntimeConfiguration'; agentId: Scalars['ID']['output']; courseId?: Maybe; inferenceWorkflowId: Scalars['ID']['output']; ingestionWorkflowId?: Maybe; protocolVersion: Scalars['Int']['output']; ready: Scalars['Boolean']['output']; recoveryScheduleId: Scalars['ID']['output']; recoveryWorkflowId: Scalars['ID']['output']; }; /** A GraphQL mutation for the relay to run as the session's owner (admin Take-action sessions only). */ export type AssistantSessionExecuteInput = { /** The session capability (asc1..) the sandbox proxy delivered. */ capability: Scalars['String']['input']; gateway: AssistantRelayGateway; /** Sent on as x-idempotency-key: 1 to 64 of A-Z, a-z, 0-9, _ and -. */ idempotencyKey?: InputMaybe; /** When given, the name of the document's one operation. */ operationName?: InputMaybe; /** One GraphQL operation, a mutation whose root selections are plain fields without directives, at most 64 KiB. */ query: Scalars['String']['input']; /** A JSON object, at most 256 KiB serialized. */ variables?: InputMaybe; }; /** A GraphQL query for the relay to run as the session's owner. */ export type AssistantSessionRelayInput = { /** The session capability (asc1..) the sandbox proxy delivered. */ capability: Scalars['String']['input']; gateway: AssistantRelayGateway; /** When given, the name of the document's one operation. */ operationName?: InputMaybe; /** One GraphQL operation, a query, at most 64 KiB. */ query: Scalars['String']['input']; /** A JSON object, at most 256 KiB serialized. */ variables?: InputMaybe; }; /** What the relay did. */ export type AssistantSessionRelayResult = { __typename?: 'AssistantSessionRelayResult'; /** The gateway's JSON response body when ok; otherwise { reason? }. */ body?: Maybe; /** Null when ok; otherwise why nothing (or, for UPSTREAM_*, nothing usable) came back. */ code?: Maybe; /** The gateway's HTTP status when ok; otherwise the status the code maps to. */ httpStatus: Scalars['Int']['output']; /** True when the document was sent and the gateway answered; body is then the gateway's response, unmasked. */ ok: Scalars['Boolean']['output']; }; /** Source passages retrieved for this turn; reference matches prompt citation numbering. */ export type AssistantSource = { __typename?: 'AssistantSource'; chunkId: Scalars['ID']['output']; documentId: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; reference: Scalars['Int']['output']; }; /** Private dispatch acceptance only. This does not report generation completion. */ export type AssistantTurnDispatchReceipt = { __typename?: 'AssistantTurnDispatchReceipt'; accepted: Scalars['Boolean']['output']; clientTurnId: Scalars['ID']['output']; run?: Maybe; }; /** Persisted owner-scoped generation and delivery status. No capability is returned. */ export type AssistantTurnExecution = { __typename?: 'AssistantTurnExecution'; clientTurnId: Scalars['ID']['output']; courseId?: Maybe; historyDelivered: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** Provisional text while RUNNING; never a completed answer or canonical history. */ partialMessage?: Maybe; result?: Maybe; status: Scalars['String']['output']; usageDelivered: Scalars['Boolean']['output']; }; export type AssistantTurnHandle = { __typename?: 'AssistantTurnHandle'; runId: Scalars['ID']['output']; status: Scalars['String']['output']; triggerNodeId: Scalars['ID']['output']; version: Scalars['String']['output']; workflowId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; }; export type AssistantTurnReconciliation = { __typename?: 'AssistantTurnReconciliation'; completed: Scalars['Int']['output']; expired: Scalars['Int']['output']; failed: Scalars['Int']['output']; scanned: Scalars['Int']['output']; }; export type AssistantTurnResult = { __typename?: 'AssistantTurnResult'; message: Scalars['String']['output']; model: Scalars['String']['output']; sources: Array; tokensUsed: Scalars['Int']['output']; }; /** * One finished assistant turn. Durations are whole milliseconds. Except the explicit * speech/grace intervals below, they start when the panel accepted the turn. On a retried turn, the first visible * output is the first time ANY attempt showed output, the first answer text comes * from the attempt that answered, and runtimeReadyMs and modelStartMs are not * recorded (its attempts ran on different runtimes). * * Dimensions are plain strings, not enums, so a value a newer client introduces is * recorded as "other" instead of failing the whole report. */ export type AssistantTurnTimingInput = { /** How the question was asked: chat or voice. listen means manual playback startup, not another model turn. */ channel: Scalars['String']['input']; /** The turn ended. For listen, startup ended; used for validation only, not the answer-complete histogram. */ completeMs: Scalars['Int']['input']; /** Last completion timer arm to its firing (zero for manual Done). Voice only. */ completionGraceMs?: InputMaybe; /** The reply's first audio played. Counted only on answered voice turns, and only when it began within 120s of the turn ending. */ firstAudioMs?: InputMaybe; /** Useful answer audio actually started. Answered voice turns only, or Listen playback measured from playback commit. Never status/preview audio. */ firstUsefulAudioMs?: InputMaybe; /** The first answer text was shown. Counted only when the outcome is answered. */ firstUsefulOutputMs?: InputMaybe; /** The first output was shown, a tool line included. Loading copy never counts. */ firstVisibleOutputMs?: InputMaybe; /** The assistant mode the turn ran in. */ mode: Scalars['String']['input']; /** The model accepted the prompt. */ modelStartMs?: InputMaybe; /** How the turn ended: answered, timedOut, refused, failed, stopped (an explicit Stop or a voice orb tap), superseded (newer speech replaced the turn), bargeIn (the person talked over the answer), conversationDeleted (its conversation was deleted while it ran), sandboxReleased (the page stopped the sandbox it ran on), or abandoned (the page was left while the turn was running; completeMs is then the time to leaving). */ outcome: Scalars['String']['input']; /** What a first-keystroke pre-warm did for the turn: hit, joined or joinedFailed. A turn that ended while waiting on a pre-warm that had begun a boot sends joined. Absent when none was involved. */ prewarm?: InputMaybe; /** The product whose assistant ran the turn. */ product: Scalars['String']['input']; /** Browser speech-end notification to request accepted. Separate from acoustic speech timing because recognition endpointing includes delay. */ recognizerEndToCommitMs?: InputMaybe; /** The turn was retried on a second runtime after its first attempt failed. */ retried?: InputMaybe; /** How the runtime was found: warm, new-session, preopened, probed, adopted or cold. A turn that ended while waiting on a boot sends the boot it waited on (cold for its own create, adopted for one it found under way). Absent when the turn ended before it was known to be waiting on one. */ runtime?: InputMaybe; /** A runtime (sandbox and session) was ready to take the prompt. */ runtimeReadyMs?: InputMaybe; /** Selected completion-grace preference, independent of the timer's elapsed duration. Voice only; at most 60000ms. */ selectedGraceMs?: InputMaybe; /** Last echo-approved voiced capture frame to request accepted. Omitted without a capture timestamp; not inferred from transcript delivery. */ speechEndToCommitMs?: InputMaybe; }; /** What the service did with a report. */ export type AssistantTurnTimingsReceipt = { __typename?: 'AssistantTurnTimingsReceipt'; /** Turns recorded. */ accepted: Scalars['Int']['output']; /** This nonce was already recorded; nothing was recorded again. */ duplicate: Scalars['Boolean']['output']; /** False when collection is switched off; the client should stop reporting for this page load. */ enabled: Scalars['Boolean']['output']; /** The caller is over its reporting budget; nothing was recorded. */ rateLimited: Scalars['Boolean']['output']; /** Turns dropped as inconsistent (out-of-range or out-of-order timings, oversized values) or as implausible (more turn time than the caller could have spent). */ rejected: Scalars['Int']['output']; }; export type AssistantWebsiteHistoryMessage = { __typename?: 'AssistantWebsiteHistoryMessage'; content: Scalars['String']['output']; role: Scalars['String']['output']; }; export type AssistantWebsiteInstallation = { __typename?: 'AssistantWebsiteInstallation'; agentId: Scalars['ID']['output']; allowedOrigins: Array; approvedKnowledgeBaseIds: Array; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type AssistantWebsiteSessionReceipt = { __typename?: 'AssistantWebsiteSessionReceipt'; expiresAt: Scalars['String']['output']; name: Scalars['String']['output']; sessionId: Scalars['ID']['output']; }; export type AssistantWorkflowConversation = { __typename?: 'AssistantWorkflowConversation'; clientConversationId: Scalars['ID']['output']; pending?: Maybe; turns: Array; }; export type AssistantWorkflowConversationPage = { __typename?: 'AssistantWorkflowConversationPage'; nextCursor?: Maybe; nodes: Array; }; /** Owner-scoped conversation handles. Prompts and answers are read separately from canonical history. */ export type AssistantWorkflowConversationSummary = { __typename?: 'AssistantWorkflowConversationSummary'; clientConversationId: Scalars['ID']['output']; createdAt: Scalars['String']['output']; }; export type AssistantWorkflowConversationTurn = { __typename?: 'AssistantWorkflowConversationTurn'; message: Scalars['String']['output']; receipt: AssistantTurnExecution; }; export type AssistantWorkflowInstallation = { __typename?: 'AssistantWorkflowInstallation'; inferenceWorkflowId: Scalars['ID']['output']; protocolVersion: Scalars['Int']['output']; recoveryScheduleId: Scalars['ID']['output']; recoveryWorkflowId: Scalars['ID']['output']; }; /** Canonical transcript browsing; does not change the model's context window. */ export type AssistantWorkflowMessagePage = { __typename?: 'AssistantWorkflowMessagePage'; nextCursor?: Maybe; turns: Array; }; export type AssistantWorkflowPendingTurn = { __typename?: 'AssistantWorkflowPendingTurn'; clientConversationId: Scalars['ID']['output']; clientTurnId: Scalars['ID']['output']; message: Scalars['String']['output']; }; export type AthAddDrillInput = { description?: InputMaybe; durationSec?: InputMaybe; name: Scalars['String']['input']; orderIndex?: InputMaybe; programId: Scalars['ID']['input']; reps?: InputMaybe; restSec?: InputMaybe; sets?: InputMaybe; videoFileId?: InputMaybe; weekNumber?: InputMaybe; }; export type AthAddMemberInput = { displayName: Scalars['String']['input']; dominantSide?: InputMaybe; height?: InputMaybe; jerseyNumber?: InputMaybe; joinedAt?: InputMaybe; notes?: InputMaybe; position?: InputMaybe; role?: InputMaybe; status?: InputMaybe; teamId: Scalars['ID']['input']; userId: Scalars['ID']['input']; weight?: InputMaybe; }; /** * One row per AI decision (append-only — no update/delete mutation exists; * corrections are new rows). `promptSummary` and `inputRefs` are non-PII by * convention — ids and short summaries only, never raw user content. */ export type AthAgentRun = { __typename?: 'AthAgentRun'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; costUsd?: Maybe; createdAt: Scalars['DateTime']['output']; decision?: Maybe; error?: Maybe; id: Scalars['ID']['output']; inputRefs?: Maybe; latencyMs?: Maybe; model: Scalars['String']['output']; promptSummary: Scalars['String']['output']; provider: Scalars['String']['output']; status: AthAgentRunStatus; tokensIn?: Maybe; tokensOut?: Maybe; trigger: AthAgentRunTrigger; workspaceId: Scalars['ID']['output']; }; export type AthAgentRunConnection = { __typename?: 'AthAgentRunConnection'; items: Array; pageInfo: AthPageInfo; }; /** * Narrows the AI decision ledger to the runs that concern one subject. Every set * field must match (AND). `athleteId`, `teamId` and `programId` match the ids the * run recorded in `inputRefs`, so a coach-review row (which names only the * program it resolved) is found by `programId`, not by `athleteId`. */ export type AthAgentRunFilter = { /** The athlete's user id, as recorded by athAdjustPlanFromPerformance / athGenerateProgram. */ athleteId?: InputMaybe; /** The program an assessment or coach review was recorded against. */ programId?: InputMaybe; status?: InputMaybe; /** The team a program was generated for. */ teamId?: InputMaybe; }; export type AthAgentRunOverride = { __typename?: 'AthAgentRunOverride'; /** * Whether the override was written onto the program's context (false only if * the program vanished between read and write). The append-only ledger row is * recorded either way — a false here means the program did not take the change. */ appliedToProgram: Scalars['Boolean']['output']; assessment: AthAiAssessment; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; note: Scalars['String']['output']; programId: Scalars['ID']['output']; supersedesRunId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum AthAgentRunStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum AthAgentRunTrigger { Event = "EVENT", Manual = "MANUAL", Scheduled = "SCHEDULED" } export declare enum AthAiAssessment { AtRisk = "AT_RISK", Deload = "DELOAD", Maintain = "MAINTAIN", Progression = "PROGRESSION" } /** One selectable (provider, model) pair from the static AI model catalog. */ export type AthAiModelInfo = { __typename?: 'AthAiModelInfo'; capabilities: Array; /** * Whether this deployment can call the provider right now (its adapter is * registered and its API key is set). A workspace may still save an * unconfigured pair; its decisions then fall through to the next configured * provider, and the ledger records the provider and model that answered. */ configured: Scalars['Boolean']['output']; isDefault: Scalars['Boolean']['output']; label: Scalars['String']['output']; model: Scalars['String']['output']; provider: Scalars['String']['output']; }; /** * Assignment target for `athAssignProgram`. Exactly one of `athleteId` / * `teamId` may be non-null; passing neither clears the assignment (the * program becomes unassigned again). Omitted fields are treated as null, so * the mutation always sets the assignment to exactly what was passed — * it never merges with the stored row. */ export type AthAssignProgramInput = { athleteId?: InputMaybe; teamId?: InputMaybe; }; export declare enum AthAuditAction { /** Registration marked as arrived at a tournament fixture. */ CheckIn = "CHECK_IN", /** A check-in undone (wrong row scanned). */ CheckOut = "CHECK_OUT", Create = "CREATE", Delete = "DELETE", /** A state transition that is neither a plain edit nor a delete (result recorded, session completed, registration reviewed, export). */ Execute = "EXECUTE", Export = "EXPORT", /** Archived resource brought back (team unarchived). */ Restore = "RESTORE", Update = "UPDATE" } export declare enum AthAuditExportFormat { Csv = "CSV", Json = "JSON" } export type AthAuditExportInput = { filter?: InputMaybe; format?: InputMaybe; }; /** * One append-only audit row: who did what, when, to which resource. * `resourceName` / `description` were captured at write time, so the row stays * readable after the resource is renamed or archived. */ export type AthAuditLog = { __typename?: 'AthAuditLog'; action: AthAuditAction; actorId: Scalars['ID']['output']; actorType?: Maybe; createdAt: Scalars['DateTime']['output']; /** Verb phrase for humans ('Team archived', 'Fixture cancelled', …). */ description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; resourceId?: Maybe; resourceName?: Maybe; resourceType: AthAuditResourceType; status: AthAuditStatus; workspaceId: Scalars['ID']['output']; }; export type AthAuditLogConnection = { __typename?: 'AthAuditLogConnection'; items: Array; pageInfo: AthPageInfo; }; export type AthAuditLogExport = { __typename?: 'AthAuditLogExport'; count: Scalars['Int']['output']; /** The export payload — CSV text or a JSON array, per `format`. */ data: Scalars['String']['output']; format: AthAuditExportFormat; generatedAt: Scalars['DateTime']['output']; }; export type AthAuditLogFilterInput = { action?: InputMaybe; actorId?: InputMaybe; dateFrom?: InputMaybe; dateTo?: InputMaybe; resourceId?: InputMaybe; resourceType?: InputMaybe; /** Case-insensitive match on resourceName / description. */ search?: InputMaybe; }; export declare enum AthAuditResourceType { /** The audit trail itself — an export of the log. */ AuditLog = "AUDIT_LOG", Fixture = "FIXTURE", Member = "MEMBER", Program = "PROGRAM", RegistrationForm = "REGISTRATION_FORM", RegistrationPayment = "REGISTRATION_PAYMENT", RegistrationSubmission = "REGISTRATION_SUBMISSION", Session = "SESSION", Team = "TEAM" } export declare enum AthAuditStatus { Failure = "FAILURE", Success = "SUCCESS" } export type AthAvailability = { __typename?: 'AthAvailability'; createdAt: Scalars['DateTime']['output']; fixtureId?: Maybe; id: Scalars['ID']['output']; member?: Maybe; memberId: Scalars['ID']['output']; note?: Maybe; respondedAt?: Maybe; response: AthAvailabilityResponse; sessionId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AthAvailabilityConnection = { __typename?: 'AthAvailabilityConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthAvailabilityResponse { Maybe = "MAYBE", No = "NO", NoResponse = "NO_RESPONSE", Yes = "YES" } export type AthBookSessionInput = { athleteId: Scalars['ID']['input']; coachId: Scalars['ID']['input']; durationMin?: InputMaybe; location?: InputMaybe; meetingUrl?: InputMaybe; programId?: InputMaybe; scheduledAt: Scalars['DateTime']['input']; title: Scalars['String']['input']; type?: InputMaybe; }; export type AthCompleteSessionInput = { feedback?: InputMaybe; rating?: InputMaybe; }; export type AthConnectPaymentAccountInput = { /** Optional email to pre-fill the processor's onboarding form. */ email?: InputMaybe; /** Where the processor sends the club back to; must be on an AthleteBridge app origin. */ returnUrl: Scalars['String']['input']; }; export type AthCreateFixtureInput = { awayTeamId?: InputMaybe; competition?: InputMaybe; homeTeamId: Scalars['ID']['input']; kickoffAt?: InputMaybe; notes?: InputMaybe; round?: InputMaybe; scheduledAt: Scalars['DateTime']['input']; type?: InputMaybe; venue?: InputMaybe; }; export type AthCreateProgramInput = { isTemplate?: InputMaybe; level?: InputMaybe; name: Scalars['String']['input']; sport?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; weeks?: InputMaybe; }; export type AthCreateRegistrationFormInput = { closesAt?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; fees?: InputMaybe>; fields?: InputMaybe>; /** Optional fixture the form takes tournament sign-ups for (BOFF-5863). */ fixtureId?: InputMaybe; maxSubmissions?: InputMaybe; opensAt?: InputMaybe; programId?: InputMaybe; season?: InputMaybe; /** Optional custom share-link slug; generated from the title when omitted. */ slug?: InputMaybe; teamId?: InputMaybe; title: Scalars['String']['input']; waiverText?: InputMaybe; }; export type AthCreateTeamInput = { ageGroup?: InputMaybe; description?: InputMaybe; headCoachId?: InputMaybe; homeVenue?: InputMaybe; name: Scalars['String']['input']; season?: InputMaybe; sport?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export declare enum AthCricketDecidedBy { Runs = "RUNS", Wickets = "WICKETS" } export type AthCricketInnings = { __typename?: 'AthCricketInnings'; balls: Scalars['Int']['output']; extras?: Maybe; overs: Scalars['Int']['output']; runs: Scalars['Int']['output']; wickets: Scalars['Int']['output']; }; export type AthCricketInningsInput = { balls?: InputMaybe; extras?: InputMaybe; overs: Scalars['Int']['input']; runs: Scalars['Int']['input']; wickets: Scalars['Int']['input']; }; export type AthCricketScorecard = { __typename?: 'AthCricketScorecard'; awayInnings: AthCricketInnings; decidedBy: AthCricketDecidedBy; dls: Scalars['Boolean']['output']; homeInnings: AthCricketInnings; margin: Scalars['Int']['output']; superOver: Scalars['Boolean']['output']; winner: AthCricketSide; }; export type AthCricketScorecardInput = { awayInnings: AthCricketInningsInput; decidedBy: AthCricketDecidedBy; dls?: InputMaybe; homeInnings: AthCricketInningsInput; margin: Scalars['Int']['input']; superOver?: InputMaybe; winner: AthCricketSide; }; export declare enum AthCricketSide { Away = "AWAY", Home = "HOME" } export type AthDrill = { __typename?: 'AthDrill'; createdAt: Scalars['DateTime']['output']; description?: Maybe; durationSec?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; orderIndex: Scalars['Int']['output']; programId: Scalars['ID']['output']; reps?: Maybe; restSec?: Maybe; sets?: Maybe; updatedAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (demo video). Blobs live there, not here. */ video?: Maybe; weekNumber: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AthDrillConnection = { __typename?: 'AthDrillConnection'; items: Array; pageInfo: AthTrainingPageInfo; }; export type AthFixture = { __typename?: 'AthFixture'; awayScore?: Maybe; awayTeam?: Maybe; awayTeamId?: Maybe; competition?: Maybe; createdAt: Scalars['DateTime']['output']; cricketScorecard?: Maybe; extraTimeAwayScore?: Maybe; extraTimeHomeScore?: Maybe; homeScore?: Maybe; homeTeam?: Maybe; homeTeamId: Scalars['ID']['output']; id: Scalars['ID']['output']; kickoffAt?: Maybe; notes?: Maybe; penaltyAwayScore?: Maybe; penaltyHomeScore?: Maybe; round?: Maybe; scheduledAt: Scalars['DateTime']['output']; status: AthFixtureStatus; type: AthFixtureType; updatedAt: Scalars['DateTime']['output']; venue?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AthFixtureConnection = { __typename?: 'AthFixtureConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthFixtureStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Live = "LIVE", Postponed = "POSTPONED", Scheduled = "SCHEDULED" } export declare enum AthFixtureType { Cup = "CUP", Friendly = "FRIENDLY", League = "LEAGUE", Scrimmage = "SCRIMMAGE", Tournament = "TOURNAMENT" } export type AthGenerateProgramInput = { athleteId?: InputMaybe; constraints?: InputMaybe; goals: Scalars['String']['input']; level?: InputMaybe; /** Prefer a specific provider for this call. It is tried FIRST, but a failure still falls through to the rest of the workspace/platform provider chain — naming a provider is a preference, not a veto on fallback (so a single provider outage cannot take down the workspaces that bothered to pin a model). A provider this build does not ship fails loudly rather than silently rerouting. Omit to use the workspace default, else the platform chain. */ requestedProvider?: InputMaybe; sport?: InputMaybe; /** Only used when athleteId is set — first week starts on/after this date. Defaults to next Monday. */ startDate?: InputMaybe; /** Exactly one of teamId / athleteId must be set. */ teamId?: InputMaybe; /** Program length in weeks (1-12). Defaults to 4. */ weeks?: InputMaybe; }; export type AthGenerateProgramResult = { __typename?: 'AthGenerateProgramResult'; agentRunId: Scalars['ID']['output']; drillCount: Scalars['Int']['output']; program: AthProgram; sessionCount: Scalars['Int']['output']; }; export type AthLogWorkoutInput = { athleteId?: InputMaybe; durationMin?: InputMaybe; metrics?: InputMaybe; notes?: InputMaybe; performedAt: Scalars['DateTime']['input']; programId?: InputMaybe; rpe?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; totalLoad?: InputMaybe; }; export type AthMember = { __typename?: 'AthMember'; createdAt: Scalars['DateTime']['output']; displayName: Scalars['String']['output']; dominantSide?: Maybe; height?: Maybe; id: Scalars['ID']['output']; jerseyNumber?: Maybe; joinedAt?: Maybe; notes?: Maybe; position?: Maybe; role: AthMemberRole; status: AthMemberStatus; team?: Maybe; teamId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; weight?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AthMemberConnection = { __typename?: 'AthMemberConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthMemberRole { AssistantCoach = "ASSISTANT_COACH", Captain = "CAPTAIN", Coach = "COACH", Manager = "MANAGER", Physio = "PHYSIO", Player = "PLAYER" } export declare enum AthMemberStatus { Active = "ACTIVE", Injured = "INJURED", Released = "RELEASED", Suspended = "SUSPENDED", Trial = "TRIAL" } export declare enum AthMetricType { Accuracy = "ACCURACY", Agility = "AGILITY", Custom = "CUSTOM", Endurance = "ENDURANCE", HeartRate = "HEART_RATE", Speed = "SPEED", Strength = "STRENGTH", Weight = "WEIGHT" } /** A registration as the family who submitted it sees it. */ export type AthMyRegistration = { __typename?: 'AthMyRegistration'; amountDue: Scalars['Int']['output']; amountOutstanding: Scalars['Int']['output']; amountPaid: Scalars['Int']['output']; currency: Scalars['String']['output']; formId: Scalars['ID']['output']; formSlug: Scalars['String']['output']; formTitle: Scalars['String']['output']; id: Scalars['ID']['output']; /** True when the club takes online payments for this registration (BOFF-10805). */ onlinePaymentAvailable: Scalars['Boolean']['output']; participantName: Scalars['String']['output']; paymentStatus: AthRegistrationPaymentStatus; status: AthRegistrationSubmissionStatus; submittedAt: Scalars['DateTime']['output']; }; export type AthMyRegistrationConnection = { __typename?: 'AthMyRegistrationConnection'; items: Array; pageInfo: AthPageInfo; }; export type AthOnlinePaymentsStatus = { __typename?: 'AthOnlinePaymentsStatus'; account?: Maybe; /** True when families can pay this club online right now. */ onlineCheckoutAvailable: Scalars['Boolean']['output']; /** True when this environment has a payment processor configured. */ processorConfigured: Scalars['Boolean']['output']; /** True when the configured processor is in test mode (no real money moves). */ testMode: Scalars['Boolean']['output']; }; export type AthPageInfo = { __typename?: 'AthPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; /** The club's connected processor account. */ export type AthPaymentAccount = { __typename?: 'AthPaymentAccount'; /** Processor account id (Stripe acct_...). */ accountId: Scalars['String']['output']; /** True once the processor lets the account take card payments. */ chargesEnabled: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; /** True once the club has finished the processor's onboarding form. */ detailsSubmitted: Scalars['Boolean']['output']; lastSyncedAt?: Maybe; payoutsEnabled: Scalars['Boolean']['output']; provider: AthPaymentProvider; }; /** A single-use link to the processor's hosted onboarding for the club. */ export type AthPaymentAccountLink = { __typename?: 'AthPaymentAccountLink'; account: AthPaymentAccount; expiresAt: Scalars['DateTime']['output']; url: Scalars['String']['output']; }; export declare enum AthPaymentProvider { Stripe = "STRIPE" } export type AthPerformanceMetric = { __typename?: 'AthPerformanceMetric'; athleteId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; source?: Maybe; type: AthMetricType; unit?: Maybe; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type AthPerformanceMetricConnection = { __typename?: 'AthPerformanceMetricConnection'; items: Array; pageInfo: AthTrainingPageInfo; }; export type AthPlanAdjustment = { __typename?: 'AthPlanAdjustment'; agentRunId: Scalars['ID']['output']; /** * Whether the proposal was written onto the program's context (false only if * the program vanished between read and write). It is recorded there with * status PROPOSED — nothing is applied to the athlete's plan until a coach * resolves it via athOverrideAgentRun. */ appliedToProgram: Scalars['Boolean']['output']; assessment: AthAiAssessment; athleteId: Scalars['ID']['output']; confidence: Scalars['Float']['output']; /** The referenced AthAgentRun's own createdAt — the response and the ledger row it points at always agree. */ createdAt: Scalars['DateTime']['output']; flags: Array; programId: Scalars['ID']['output']; rationale: Scalars['String']['output']; recommendedWeeklyLoadChangePct?: Maybe; }; export type AthPostponeFixtureInput = { kickoffAt?: InputMaybe; scheduledAt: Scalars['DateTime']['input']; }; export type AthProgram = { __typename?: 'AthProgram'; /** * Computed adherence of the assignee against this program's drill plan: * completed workout logs linked to this program vs planned (non-deleted) * drills. Not persisted — derived from drills + workout logs on read. */ adherence: AthProgramAdherence; /** * Athlete (auth-svc user id) this program is currently assigned to, if any. * Set via `athAssignProgram` — exactly one of athlete/team may be assigned. */ assignedAthleteId?: Maybe; /** Team this program is currently assigned to, if any. Set via `athAssignProgram`. */ assignedTeamId?: Maybe; coachId: Scalars['ID']['output']; /** * Provenance + AI state for this program. Holds `lastAiAdjustment` (written by * `athAdjustPlanFromPerformance` and `athOverrideAgentRun`: assessment, * rationale, confidence, recommendedWeeklyLoadChangePct, flags, source, * agentRunId, decidedBy, decidedAt) and, for AI-generated drafts, * `generatedBy`/`agentRunId`/`goals`/`constraints`. Read-only — it is written * by the decision engine, never by a client. This is the only way to read back * the outcome of an AI decision without walking the `athAgentRuns` ledger. */ context?: Maybe; createdAt: Scalars['DateTime']['output']; drills: AthDrillConnection; id: Scalars['ID']['output']; isTemplate: Scalars['Boolean']['output']; level: AthProgramLevel; name: Scalars['String']['output']; sport: AthSport; status: AthProgramStatus; summary?: Maybe; tags: Array; updatedAt: Scalars['DateTime']['output']; weeks: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AthProgramDrillsArgs = { pagination?: InputMaybe; }; /** * Computed adherence snapshot for an assigned program. `adherencePct` is * `completedWorkouts / plannedDrills` capped at 100 — a program with more * logged completions than planned drills is fully adhered, not 240%. */ export type AthProgramAdherence = { __typename?: 'AthProgramAdherence'; adherencePct: Scalars['Float']['output']; completedWorkouts: Scalars['Int']['output']; loggedWorkouts: Scalars['Int']['output']; plannedDrills: Scalars['Int']['output']; programId: Scalars['ID']['output']; skippedWorkouts: Scalars['Int']['output']; }; export type AthProgramConnection = { __typename?: 'AthProgramConnection'; items: Array; pageInfo: AthTrainingPageInfo; }; export declare enum AthProgramLevel { Advanced = "ADVANCED", Beginner = "BEGINNER", Elite = "ELITE", Intermediate = "INTERMEDIATE" } export declare enum AthProgramStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } /** The family-facing view of a published form. Carries no submission data. */ export type AthPublicRegistrationForm = { __typename?: 'AthPublicRegistrationForm'; closesAt?: Maybe; currency: Scalars['String']['output']; description?: Maybe; fees: Array; fields: Array; id: Scalars['ID']['output']; isOpen: Scalars['Boolean']['output']; /** True when the club takes online payments, so a family can pay right after submitting (BOFF-10805). */ onlinePaymentAvailable: Scalars['Boolean']['output']; opensAt?: Maybe; season?: Maybe; slug: Scalars['String']['output']; /** Remaining places when the form has a capacity, otherwise null. */ spotsRemaining?: Maybe; title: Scalars['String']['output']; waiverText?: Maybe; }; export type AthRecordMetricInput = { athleteId?: InputMaybe; label: Scalars['String']['input']; recordedAt: Scalars['DateTime']['input']; source?: InputMaybe; type?: InputMaybe; unit?: InputMaybe; value: Scalars['Float']['input']; }; export type AthRecordRegistrationInput = { answers?: InputMaybe; contactEmail?: InputMaybe; contactName?: InputMaybe; contactPhone?: InputMaybe; formId: Scalars['ID']['input']; participantName: Scalars['String']['input']; participantUserId?: InputMaybe; selectedFeeIds?: InputMaybe>; waiverAccepted?: InputMaybe; }; export type AthRecordRegistrationPaymentInput = { /** Amount received in minor units; cannot exceed the outstanding balance. */ amount: Scalars['Int']['input']; method: AthRegistrationPaymentMethod; note?: InputMaybe; /** When the money was received; defaults to now and cannot be in the future. */ receivedAt?: InputMaybe; reference?: InputMaybe; submissionId: Scalars['ID']['input']; }; export type AthRecordResultInput = { awayScore?: InputMaybe; cricketScorecard?: InputMaybe; extraTimeAwayScore?: InputMaybe; extraTimeHomeScore?: InputMaybe; homeScore?: InputMaybe; penaltyAwayScore?: InputMaybe; penaltyHomeScore?: InputMaybe; }; export type AthRefundRegistrationPaymentInput = { /** Amount to refund in minor units; cannot exceed what is left on the payment. */ amount: Scalars['Int']['input']; reason: Scalars['String']['input']; }; /** Tournament check-in state of a registration submission (BOFF-5863). */ export declare enum AthRegistrationCheckInStatus { /** Staff marked the sign-up as arrived. */ CheckedIn = "CHECKED_IN", /** Not yet checked in at the fixture. */ NotCheckedIn = "NOT_CHECKED_IN" } /** A processor checkout the family is redirected to. */ export type AthRegistrationCheckoutSession = { __typename?: 'AthRegistrationCheckoutSession'; /** Amount requested, in minor units of currency. */ amount: Scalars['Int']['output']; checkoutId: Scalars['ID']['output']; currency: Scalars['String']['output']; expiresAt?: Maybe; url: Scalars['String']['output']; }; /** * Per-currency totals in minor units. Each registration's own amounts fit a * 32-bit Int, but a workspace-wide sum can exceed it, so the aggregates are * Float (always whole numbers, exact up to 2^53). */ export type AthRegistrationCurrencyTotal = { __typename?: 'AthRegistrationCurrencyTotal'; amountCollected: Scalars['Float']['output']; amountDue: Scalars['Float']['output']; amountOutstanding: Scalars['Float']['output']; amountRefunded: Scalars['Float']['output']; currency: Scalars['String']['output']; }; export declare enum AthRegistrationDecision { Accept = "ACCEPT", Decline = "DECLINE" } export type AthRegistrationFee = { __typename?: 'AthRegistrationFee'; /** Price in minor units (cents / paise) of the form's currency. */ amount: Scalars['Int']['output']; description?: Maybe; feeType: AthRegistrationFeeType; id: Scalars['ID']['output']; name: Scalars['String']['output']; position: Scalars['Int']['output']; }; export type AthRegistrationFeeInput = { /** Price in minor units (cents / paise) of the form's currency. */ amount: Scalars['Int']['input']; description?: InputMaybe; feeType?: InputMaybe; name: Scalars['String']['input']; }; export declare enum AthRegistrationFeeType { /** The registrant may opt in (e.g. a kit bundle or tournament entry). */ Optional = "OPTIONAL", /** Always charged on every submission. */ Required = "REQUIRED" } export type AthRegistrationField = { __typename?: 'AthRegistrationField'; fieldType: AthRegistrationFieldType; helpText?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; options: Array; position: Scalars['Int']['output']; required: Scalars['Boolean']['output']; }; export type AthRegistrationFieldInput = { fieldType?: InputMaybe; helpText?: InputMaybe; /** Stable machine key (lowercase letters, digits, dots, dashes, underscores). */ key: Scalars['String']['input']; label: Scalars['String']['input']; /** Allowed values for SELECT fields. */ options?: InputMaybe>; required?: InputMaybe; }; export declare enum AthRegistrationFieldType { Checkbox = "CHECKBOX", Date = "DATE", Email = "EMAIL", LongText = "LONG_TEXT", Number = "NUMBER", Phone = "PHONE", Select = "SELECT", ShortText = "SHORT_TEXT" } export type AthRegistrationForm = { __typename?: 'AthRegistrationForm'; closedAt?: Maybe; closesAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; fees: Array; fields: Array; /** The fixture, when the form targets one. */ fixture?: Maybe; /** Optional fixture this form takes tournament sign-ups for (BOFF-5863). */ fixtureId?: Maybe; id: Scalars['ID']['output']; /** True while the form is published, inside its window and below capacity. */ isOpen: Scalars['Boolean']['output']; maxSubmissions?: Maybe; opensAt?: Maybe; programId?: Maybe; publishedAt?: Maybe; season?: Maybe; /** Share-link slug; the family-facing link resolves the form by this alone. */ slug: Scalars['String']['output']; status: AthRegistrationFormStatus; /** Live submissions (SUBMITTED or ACCEPTED). */ submissionCount: Scalars['Int']['output']; teamId?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; waiverText?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AthRegistrationFormConnection = { __typename?: 'AthRegistrationFormConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthRegistrationFormStatus { Archived = "ARCHIVED", Closed = "CLOSED", Draft = "DRAFT", Published = "PUBLISHED" } export type AthRegistrationPayment = { __typename?: 'AthRegistrationPayment'; amount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; method: AthRegistrationPaymentMethod; /** amount - refundedAmount, or 0 for a voided payment. */ netAmount: Scalars['Int']['output']; note?: Maybe; /** Set when the payment was collected through the club's connected processor account (BOFF-10805). */ processor?: Maybe; receivedAt: Scalars['DateTime']['output']; reference?: Maybe; refundReason?: Maybe; refundedAmount: Scalars['Int']['output']; refundedAt?: Maybe; status: AthRegistrationPaymentRecordStatus; submissionId: Scalars['ID']['output']; voidReason?: Maybe; voidedAt?: Maybe; }; export declare enum AthRegistrationPaymentMethod { BankTransfer = "BANK_TRANSFER", CardTerminal = "CARD_TERMINAL", Cash = "CASH", Cheque = "CHEQUE", Online = "ONLINE", Other = "OTHER" } export declare enum AthRegistrationPaymentRecordStatus { Recorded = "RECORDED", Refunded = "REFUNDED", Voided = "VOIDED" } export declare enum AthRegistrationPaymentStatus { NotRequired = "NOT_REQUIRED", Paid = "PAID", PartiallyPaid = "PARTIALLY_PAID", Refunded = "REFUNDED", Unpaid = "UNPAID" } /** Fee reconciliation across live (SUBMITTED or ACCEPTED) submissions. */ export type AthRegistrationPaymentSummary = { __typename?: 'AthRegistrationPaymentSummary'; acceptedCount: Scalars['Int']['output']; formId?: Maybe; notRequiredCount: Scalars['Int']['output']; paidCount: Scalars['Int']['output']; partiallyPaidCount: Scalars['Int']['output']; refundedCount: Scalars['Int']['output']; submissionCount: Scalars['Int']['output']; /** One row per currency — totals in different currencies are never summed. */ totals: Array; unpaidCount: Scalars['Int']['output']; }; /** What accepting a registration for a team-linked form did to the team's roster. */ export declare enum AthRegistrationRosterOutcome { /** A new roster member was created for the athlete. */ Added = "ADDED", /** The athlete was already on the team's roster; nothing was created. */ AlreadyOnRoster = "ALREADY_ON_ROSTER", /** The registration has no platform user for the athlete, so staff must add them by hand. */ NoLinkedUser = "NO_LINKED_USER", /** The linked team was archived or deleted before the registration was accepted. */ TeamUnavailable = "TEAM_UNAVAILABLE" } export declare enum AthRegistrationSource { /** Submitted by the family through the share link. */ SelfService = "SELF_SERVICE", /** Entered by club staff from a paper, phone or in-person registration. */ StaffEntry = "STAFF_ENTRY" } export type AthRegistrationSubmission = { __typename?: 'AthRegistrationSubmission'; amountDue: Scalars['Int']['output']; amountOutstanding: Scalars['Int']['output']; amountPaid: Scalars['Int']['output']; /** Answers keyed by AthRegistrationField.key. */ answers: Scalars['JSON']['output']; /** Tournament check-in state (BOFF-5863); CHECKED_IN once staff marked the sign-up as arrived. */ checkInStatus: AthRegistrationCheckInStatus; checkedInAt?: Maybe; /** Staff member who performed the check-in. */ checkedInBy?: Maybe; contactEmail?: Maybe; contactName?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; formId: Scalars['ID']['output']; formTitle: Scalars['String']['output']; id: Scalars['ID']['output']; /** True when the self-service registrant said they are the athlete (submittedByUserId is the participant). */ participantIsRegistrant: Scalars['Boolean']['output']; participantName: Scalars['String']['output']; participantUserId?: Maybe; paymentStatus: AthRegistrationPaymentStatus; reviewNotes?: Maybe; reviewedAt?: Maybe; /** The roster member the acceptance created or found. */ rosterMemberId?: Maybe; /** Roster outcome of the last acceptance of a team-linked form; null otherwise. */ rosterOutcome?: Maybe; /** The team the acceptance targeted. */ rosterTeamId?: Maybe; /** Name of that team, when it still exists. */ rosterTeamName?: Maybe; selectedFeeIds: Array; source: AthRegistrationSource; status: AthRegistrationSubmissionStatus; submittedAt: Scalars['DateTime']['output']; submittedByUserId?: Maybe; updatedAt: Scalars['DateTime']['output']; waiverAcceptedAt?: Maybe; workspaceId: Scalars['ID']['output']; }; export type AthRegistrationSubmissionConnection = { __typename?: 'AthRegistrationSubmissionConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthRegistrationSubmissionStatus { Accepted = "ACCEPTED", Declined = "DECLINED", Submitted = "SUBMITTED", Withdrawn = "WITHDRAWN" } export type AthReviewRegistrationInput = { decision: AthRegistrationDecision; notes?: InputMaybe; }; export type AthSession = { __typename?: 'AthSession'; athleteId: Scalars['ID']['output']; coachId: Scalars['ID']['output']; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; durationMin: Scalars['Int']['output']; feedback?: Maybe; id: Scalars['ID']['output']; location?: Maybe; meetingUrl?: Maybe; programId?: Maybe; rating?: Maybe; scheduledAt: Scalars['DateTime']['output']; status: AthSessionStatus; title: Scalars['String']['output']; type: AthSessionType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AthSessionConnection = { __typename?: 'AthSessionConnection'; items: Array; pageInfo: AthTrainingPageInfo; }; export declare enum AthSessionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", NoShow = "NO_SHOW", Requested = "REQUESTED" } export declare enum AthSessionType { Hybrid = "HYBRID", InPerson = "IN_PERSON", Online = "ONLINE" } /** * Exactly one of `fixtureId` / `sessionId` must be supplied. Setting * availability for the same (member, fixture) or (member, session) pair again * updates the existing response rather than creating a duplicate row. */ export type AthSetAvailabilityInput = { fixtureId?: InputMaybe; memberId: Scalars['ID']['input']; note?: InputMaybe; response: AthAvailabilityResponse; sessionId?: InputMaybe; }; export declare enum AthSport { Athletics = "ATHLETICS", Basketball = "BASKETBALL", Cricket = "CRICKET", Esports = "ESPORTS", Football = "FOOTBALL", Other = "OTHER", Swimming = "SWIMMING", Tennis = "TENNIS" } export type AthStanding = { __typename?: 'AthStanding'; competition: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; drawn: Scalars['Int']['output']; goalsAgainst: Scalars['Int']['output']; goalsFor: Scalars['Int']['output']; id: Scalars['ID']['output']; lost: Scalars['Int']['output']; played: Scalars['Int']['output']; points: Scalars['Int']['output']; rank?: Maybe; team?: Maybe; teamId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; won: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type AthStandingConnection = { __typename?: 'AthStandingConnection'; items: Array; pageInfo: AthPageInfo; }; export type AthStartRegistrationCheckoutInput = { /** Where the processor sends the family back to; must be on an AthleteBridge app origin. */ returnUrl: Scalars['String']['input']; submissionId: Scalars['ID']['input']; }; export type AthSubmitRegistrationInput = { /** Answers keyed by AthRegistrationField.key. */ answers?: InputMaybe; contactEmail?: InputMaybe; contactName?: InputMaybe; contactPhone?: InputMaybe; /** Set when the signed-in registrant is the athlete, so acceptance can add them to the team roster. */ participantIsRegistrant?: InputMaybe; participantName: Scalars['String']['input']; /** OPTIONAL fees the registrant opts into; REQUIRED fees are always included. */ selectedFeeIds?: InputMaybe>; waiverAccepted?: InputMaybe; }; export type AthTeam = { __typename?: 'AthTeam'; ageGroup?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; fixtures: AthFixtureConnection; headCoachId?: Maybe; homeVenue?: Maybe; id: Scalars['ID']['output']; members: AthMemberConnection; name: Scalars['String']['output']; season?: Maybe; sport: AthSport; status: AthTeamStatus; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AthTeamFixturesArgs = { pagination?: InputMaybe; }; export type AthTeamMembersArgs = { pagination?: InputMaybe; }; export type AthTeamConnection = { __typename?: 'AthTeamConnection'; items: Array; pageInfo: AthPageInfo; }; export declare enum AthTeamStatus { Active = "ACTIVE", Archived = "ARCHIVED", Forming = "FORMING", Inactive = "INACTIVE" } export type AthTrainingPageInfo = { __typename?: 'AthTrainingPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type AthUpdateFixtureInput = { competition?: InputMaybe; kickoffAt?: InputMaybe; notes?: InputMaybe; round?: InputMaybe; scheduledAt?: InputMaybe; type?: InputMaybe; venue?: InputMaybe; }; export type AthUpdateMemberInput = { displayName?: InputMaybe; dominantSide?: InputMaybe; height?: InputMaybe; jerseyNumber?: InputMaybe; notes?: InputMaybe; position?: InputMaybe; role?: InputMaybe; status?: InputMaybe; weight?: InputMaybe; }; export type AthUpdateProgramInput = { isTemplate?: InputMaybe; level?: InputMaybe; name?: InputMaybe; sport?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; weeks?: InputMaybe; }; export type AthUpdateRegistrationFormInput = { closesAt?: InputMaybe; /** Changing the currency, questions or fees is only allowed before any submission exists. */ currency?: InputMaybe; description?: InputMaybe; /** Replaces the form's fees (only before any submission exists). */ fees?: InputMaybe>; /** Replaces the form's questions (only before any submission exists). */ fields?: InputMaybe>; /** Replace the fixture the form takes tournament sign-ups for; null clears it (BOFF-5863). */ fixtureId?: InputMaybe; maxSubmissions?: InputMaybe; opensAt?: InputMaybe; programId?: InputMaybe; season?: InputMaybe; teamId?: InputMaybe; title?: InputMaybe; waiverText?: InputMaybe; }; export type AthUpdateTeamInput = { ageGroup?: InputMaybe; description?: InputMaybe; headCoachId?: InputMaybe; homeVenue?: InputMaybe; name?: InputMaybe; season?: InputMaybe; sport?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type AthWorkoutLog = { __typename?: 'AthWorkoutLog'; athleteId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; durationMin?: Maybe; id: Scalars['ID']['output']; metrics?: Maybe; notes?: Maybe; performedAt: Scalars['DateTime']['output']; programId?: Maybe; rpe?: Maybe; status: AthWorkoutStatus; title: Scalars['String']['output']; totalLoad?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AthWorkoutLogConnection = { __typename?: 'AthWorkoutLogConnection'; items: Array; pageInfo: AthTrainingPageInfo; }; export declare enum AthWorkoutStatus { Completed = "COMPLETED", Planned = "PLANNED", Skipped = "SKIPPED" } /** * The workspace's saved default AI provider/model, or null when the workspace * has not overridden the platform default chain. */ export type AthWorkspaceAiConfig = { __typename?: 'AthWorkspaceAiConfig'; /** * Whether the autonomous coaching loop (BOFF-3573) may act for this workspace. * False for every workspace that has not explicitly opted in. The loop is also * gated per deployment by the ATHELETEBRIDGE_AGENT_LOOP_ENABLED kill switch, so * a true here does not on its own mean the loop is running. */ autoPilotEnabled: Scalars['Boolean']['output']; /** * When a scheduled tick last considered this workspace, or null if it never * has. A recent timestamp with no new AthAgentRun rows means the tick ran but * found nothing due (or skipped the workspace for want of a provider key). */ autoPilotLastRunAt?: Maybe; model: Scalars['String']['output']; provider: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type AttachAgentToVibeInput = { agentId: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; }; export type AttachCertificateOfOriginFileInput = { context: ContextInput; /** wspace-files-svc file id of the saved PDF. */ fileId: Scalars['String']['input']; fileName?: InputMaybe; id: Scalars['ID']['input']; }; export type AttachCrewCandidateSkillInput = { candidateId: Scalars['ID']['input']; proficiency?: InputMaybe; skillId?: InputMaybe; skillName?: InputMaybe; source?: InputMaybe; }; export type AttachCrewEmployeeDocumentInput = { category?: InputMaybe; employeeId: Scalars['ID']['input']; fileId: Scalars['ID']['input']; title: Scalars['String']['input']; }; /** * Attach a skill to an employee by `skillId`, or by `skillName` (resolved through * the taxonomy aliases; an unknown name becomes a custom workspace skill). * Attaching an already-held skill updates its proficiency / provenance. */ export type AttachCrewSkillInput = { employeeId: Scalars['ID']['input']; lastUsedAt?: InputMaybe; proficiency?: InputMaybe; skillId?: InputMaybe; skillName?: InputMaybe; verifiedFrom?: InputMaybe; }; /** Input for attaching existing files to a comment */ export type AttachExistingFilesToCommentInput = { commentId: Scalars['ID']['input']; fileIds: Array; }; /** Input for attaching files to a comment (upload new files) */ export type AttachFilesToCommentInput = { commentId: Scalars['ID']['input']; descriptions?: InputMaybe>; files: Array; }; export type Attachment = { __typename?: 'Attachment'; downloadUrl?: Maybe; duration?: Maybe; fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; fileSize: Scalars['Int']['output']; height?: Maybe; id: Scalars['ID']['output']; message: Message; messageId: Scalars['ID']['output']; mimeType: Scalars['String']['output']; thumbnail?: Maybe; uploadedAt: Scalars['DateTime']['output']; uploadedBy: Scalars['ID']['output']; width?: Maybe; }; export declare enum AttendeeRole { CoOrganizer = "CO_ORGANIZER", Optional = "OPTIONAL", Organizer = "ORGANIZER", Required = "REQUIRED", Resource = "RESOURCE" } /** A produce auction listing for a marketplace product. */ export type Auction = { __typename?: 'Auction'; /** Minimum increment above the current high bid. */ bidIncrement: Scalars['Float']['output']; /** Auction close time as an ISO-8601 string. */ endTime: Scalars['String']['output']; id: Scalars['ID']['output']; /** The MarketplaceProduct being auctioned (loose link, no FK). */ marketplaceProductId: Scalars['ID']['output']; /** Minimum acceptable winning bid; below this the auction closes with no winner. */ reservePrice?: Maybe; /** Auction open time as an ISO-8601 string; null means open on create. */ startTime?: Maybe; startingPrice: Scalars['Float']['output']; /** Lifecycle status: draft / live / closed / cancelled. */ status: Scalars['String']['output']; /** The winner Order id created on close (paymentStatus PENDING). */ winnerOrderId?: Maybe; /** The winning Bid id, set on close when a qualifying top bid exists. */ winningBidId?: Maybe; }; export type Audit = { __typename?: 'Audit'; auditor: Scalars['String']['output']; /** * The certification this audit was carried out against, or null when it was not carried out * against one (BOFF-6107). An audit linked here with open critical findings blocks that * certificate from being marked Active. */ certificationId?: Maybe; completedDate?: Maybe; criticalFindings: Scalars['Int']['output']; findings: Scalars['Int']['output']; id: Scalars['ID']['output']; scheduledDate: Scalars['String']['output']; score?: Maybe; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; export type AuditAnalytics = { __typename?: 'AuditAnalytics'; byAction: Array; byResourceType: Array; byStatus: Array; /** Audit events over time */ eventsOverTime: Array; total: Scalars['Int']['output']; }; /** Filter for querying audit logs */ export type AuditLogFilterInput = { action?: InputMaybe; actorId?: InputMaybe; actorType?: InputMaybe; allowed?: InputMaybe; endDate?: InputMaybe; resourceType?: InputMaybe; startDate?: InputMaybe; }; export type AuthEraseResult = { __typename?: 'AuthEraseResult'; anonymised: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; notes?: Maybe; purged: Scalars['Int']['output']; retainedForLegalReason?: Maybe; service: Scalars['String']['output']; }; /** How the UI collects the credential for an auth method. */ export declare enum AuthMethodFlow { /** * Render the method's `configSchema` and save what the user typed * (API key, basic auth, bearer token, custom config). */ Fields = "FIELDS", /** Nothing to collect and nothing stored — the token is minted on demand. */ Minted = "MINTED", /** * Render a Connect button that runs the OAuth handshake. The user types nothing * unless the method also declares fields (bring-your-own OAuth app). */ Oauth2 = "OAUTH2" } export declare enum AuthType { ApiKey = "API_KEY", BasicAuth = "BASIC_AUTH", BearerToken = "BEARER_TOKEN", Custom = "CUSTOM", Oauth1 = "OAUTH1", Oauth2 = "OAUTH2", ServiceAccount = "SERVICE_ACCOUNT", /** * Provider mints a per-workspace access token via wspace-auth issueWorkspaceToken * as a registered platform app (gated by AppWorkspaceAuthorization). No user OAuth. */ WorkspaceAppToken = "WORKSPACE_APP_TOKEN" } /** * Credential material for any auth method, shaped by that method's `configSchema`. * * This replaces the per-auth-type mutations (`authenticateWithApiKey`, * `authenticateWithBasicAuth`, …): the client submits whatever the schema asked * for and the server stores it. Properties the schema marks `secret: true` are * written only into the encrypted credential payload, never into plain columns. */ export type AuthenticateConnectionInput = { /** * Auth method to authenticate with. Omit to use the connection's own * `authMethodKey`, falling back to the provider default. */ authMethodKey?: InputMaybe; connectionId: Scalars['ID']['input']; values: Scalars['JSON']['input']; }; /** Author statistics */ export type AuthorStats = { __typename?: 'AuthorStats'; authorId: Scalars['ID']['output']; count: Scalars['Int']['output']; }; /** Author type enum */ export declare enum AuthorType { Bot = "BOT", External = "EXTERNAL", System = "SYSTEM", User = "USER" } export type AutoMatchHealthyBowlStatementInput = { bankAccountId: Scalars['ID']['input']; context: ContextInput; /** How many days either side of the statement date to consider. Defaults to 3. */ dayWindow?: InputMaybe; dryRun?: InputMaybe; }; export type AvailabilityCheckInput = { calendarId: Scalars['ID']['input']; duration: Scalars['Int']['input']; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; timezone?: InputMaybe; }; export type AvailabilityRule = { __typename?: 'AvailabilityRule'; bufferAfter: Scalars['Int']['output']; bufferBefore: Scalars['Int']['output']; calendarId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; dailyLimit?: Maybe; dayOfWeek: DayOfWeek; effectiveFrom?: Maybe; effectiveTo?: Maybe; endTime: Scalars['String']['output']; id: Scalars['ID']['output']; isAvailable: Scalars['Boolean']['output']; maxNotice?: Maybe; metadata?: Maybe; minGapBetweenEvents: Scalars['Int']['output']; minNotice?: Maybe; priority: Scalars['Int']['output']; slotIncrement: Scalars['Int']['output']; startTime: Scalars['String']['output']; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; userId?: Maybe; weeklyLimit?: Maybe; }; export type AvailabilityRuleConnection = { __typename?: 'AvailabilityRuleConnection'; hasMore: Scalars['Boolean']['output']; rules: Array; total: Scalars['Int']['output']; }; /** A plugin available for installation from the catalog. */ export type AvailableAgentPlugin = { __typename?: 'AvailableAgentPlugin'; /** Description */ description: Scalars['String']['output']; /** Whether already installed */ installed: Scalars['Boolean']['output']; /** Display name */ name: Scalars['String']['output']; /** Package name */ packageName: Scalars['String']['output']; /** Tags/categories */ tags: Array; /** Latest version */ version: Scalars['String']['output']; }; export type AvailableSlot = { __typename?: 'AvailableSlot'; conflicts?: Maybe>; duration: Scalars['Int']['output']; endTime: Scalars['DateTime']['output']; isAvailable: Scalars['Boolean']['output']; startTime: Scalars['DateTime']['output']; }; /** A tag available for selection (lightweight type for tag picker) */ export type AvailableTag = { __typename?: 'AvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export declare enum BackoffStrategy { Exponential = "EXPONENTIAL", ExponentialWithJitter = "EXPONENTIAL_WITH_JITTER", Fixed = "FIXED", Linear = "LINEAR" } export type BasicAuthInput = { connectionId: Scalars['ID']['input']; password: Scalars['String']['input']; username: Scalars['String']['input']; /** Additional schema-shaped fields; username/password remain authoritative. */ values?: InputMaybe; }; export type BatchDownload = { __typename?: 'BatchDownload'; archivePath?: Maybe; archiveSize?: Maybe; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; downloadUrl?: Maybe; downloadedAt?: Maybe; errorMessage?: Maybe; expiresAt: Scalars['DateTime']['output']; failedFiles?: Maybe>; fileIds: Array; folderIds?: Maybe>; id: Scalars['ID']['output']; name: Scalars['String']['output']; progress: Scalars['Float']['output']; requestedAt: Scalars['DateTime']['output']; requestedById: Scalars['ID']['output']; status: BatchDownloadStatus; totalFiles: Scalars['Int']['output']; totalSize: Scalars['BigInt']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BatchDownloadFilterInput = { createdAfter?: InputMaybe; createdBefore?: InputMaybe; requestedById?: InputMaybe; status?: InputMaybe; }; export type BatchDownloadList = { __typename?: 'BatchDownloadList'; downloads: Array; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum BatchDownloadStatus { /** Download has expired */ Expired = "EXPIRED", /** Download has failed */ Failed = "FAILED", /** Download preparation is in progress */ Preparing = "PREPARING", /** ZIP archive is ready for download */ Ready = "READY" } export type BearerTokenAuthInput = { connectionId: Scalars['ID']['input']; token: Scalars['String']['input']; /** Additional schema-shaped fields; token remains authoritative. */ values?: InputMaybe; }; /** A planting bed within a Field (Field Map, Phase 2). */ export type Bed = { __typename?: 'Bed'; area?: Maybe; /** GeoJSON polygon describing the bed's map boundary. Returned as-is. */ boundary?: Maybe; cropId?: Maybe; fieldId: Scalars['ID']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe; orientationDeg?: Maybe; plantCount?: Maybe; status?: Maybe; unit?: Maybe; widthM?: Maybe; }; /** A single bid placed against an auction. */ export type Bid = { __typename?: 'Bid'; amount: Scalars['Float']['output']; auctionId: Scalars['ID']['output']; /** The actor who placed the bid. */ bidderId: Scalars['ID']['output']; /** Bid timestamp as an ISO-8601 string. */ createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; }; export type BigConsoleAnomaly = { __typename?: 'BigConsoleAnomaly'; direction: BigConsoleAnomalyDirection; /** Index into the input series. */ index: Scalars['Int']['output']; /** Method-specific score (z-score, IQR distance, or |value − threshold|). */ score: Scalars['Float']['output']; value: Scalars['Float']['output']; }; export declare enum BigConsoleAnomalyDetectionMethod { /** Outside [Q1 − 1.5·IQR, Q3 + 1.5·IQR]. */ Iqr = "IQR", /** Strictly greater than an absolute threshold. */ Threshold = "THRESHOLD", /** Mean ± (threshold × stddev); threshold defaults to 3. */ Zscore = "ZSCORE" } export declare enum BigConsoleAnomalyDirection { High = "HIGH", Low = "LOW" } export type BigConsoleAnomalyReport = { __typename?: 'BigConsoleAnomalyReport'; anomalies: Array; count: Scalars['Int']['output']; method: BigConsoleAnomalyDetectionMethod; }; export type BigConsoleAvailableTag = { __typename?: 'BigConsoleAvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type BigConsoleBuildDashboardTemplateContentResult = { __typename?: 'BigConsoleBuildDashboardTemplateContentResult'; /** * The DashboardTemplateContent document, ready to publish as * StoreProduct.content. Data-sink references are replaced with slot tokens. */ content: Scalars['JSON']['output']; /** How many data sources contributed sample rows to the template. */ sampleDataSinkCount: Scalars['Int']['output']; /** Distinct data sinks the dashboard referenced. */ sinkCount: Scalars['Int']['output']; /** * Sink ids that could not be resolved in this workspace. Their slots fall back * to positional names, so the template still works but reads less clearly. */ unknownSinkIds: Array; }; /** Input for cloning a dashboard */ export type BigConsoleCloneDashboardInput = { /** * Include comments: re-create the source dashboard's EntityComment threads * (wspace-conversations-svc, the canonical comment store) against the copy. * Best-effort — widget comments are copied only when includeWidgets is also * set, and a comment-store failure leaves the clone without comments. */ includeComments?: InputMaybe; /** Include shares */ includeShares?: InputMaybe; /** Include widgets */ includeWidgets?: InputMaybe; /** New dashboard name */ name: Scalars['String']['input']; /** Source dashboard ID */ sourceDashboardId: Scalars['ID']['input']; }; /** Conflict resolution strategy (includes values from all subgraphs for federation compatibility) */ export declare enum BigConsoleConflictResolution { /** Fail on conflict (bigconsole native) */ Fail = "FAIL", /** Local version wins (federation: calendar) */ LocalWins = "LOCAL_WINS", /** Manual resolution required (federation: calendar) */ Manual = "MANUAL", /** Newest version wins (federation: calendar) */ NewestWins = "NEWEST_WINS", /** Overwrite on conflict (bigconsole native) */ Overwrite = "OVERWRITE", /** Remote version wins (federation: calendar) */ RemoteWins = "REMOTE_WINS", /** Rename on conflict (bigconsole native) */ Rename = "RENAME" } export type BigConsoleCreateDashboardEmbedPolicyInput = { /** Exact HTTPS origins allowed to frame the embed (frame-ancestors). */ allowedParentOrigins: Array; dashboardId: Scalars['ID']['input']; expiresAt?: InputMaybe; /** * Publish-time presentation options (BOFF-5735). Omitted fields take the * defaults: LIGHT theme, no title header. The "Powered by BigConsole" footer is * not an option: every embed always shows it. */ presentationTheme?: InputMaybe; sessionTtlSeconds?: InputMaybe; /** * Ignored. Every embed always shows the "Powered by BigConsole" footer. Accepted * only so older clients that still send it keep working. * @deprecated Embeds always show the BigConsole footer; this setting is ignored. */ showBrandingFooter?: InputMaybe; showDashboardTitle?: InputMaybe; }; /** Input for creating dashboard from generated specification */ export type BigConsoleCreateDashboardFromGenerationInput = { /** Override category */ category?: InputMaybe; /** Override description */ description?: InputMaybe; /** Widget indices to exclude from creation */ excludeWidgetIndices?: InputMaybe>; /** Optional exact stored proposal revision returned by generatedSpecDigest. Linked reuse ignores obsolete revisions. */ expectedSpecDigest?: InputMaybe; /** Optional reviewed draft revision. Linked approvals reuse their existing dashboard. */ expectedUpdatedAt?: InputMaybe; /** Generation ID containing the spec */ generationId: Scalars['ID']['input']; /** Override dashboard name */ name?: InputMaybe; /** Create with mock data sources */ useMockDataSources?: InputMaybe; /** Override visibility */ visibility?: InputMaybe; }; export type BigConsoleCreateDashboardFromTemplateTypeInput = { /** * Slot bindings chosen by the user. Optional and partial: unbound slots are * recorded on the created widgets rather than blocking creation. */ dataSinkBindings?: InputMaybe>; /** Values for the template's declared requiredInputs, keyed by input name. */ inputValues?: InputMaybe; /** Name for the new dashboard. Defaults to the template's default name. */ name?: InputMaybe; /** An installed dashboard template type; the workspace's active version is used. */ templateKey: Scalars['String']['input']; /** Visibility for the new dashboard. Defaults to PRIVATE. */ visibility?: InputMaybe; }; /** Input for creating a dashboard */ export type BigConsoleCreateDashboardInput = { /** Dashboard category */ category: BigConsoleDashboardCategory; /** Contextual information for tracking and audit */ context?: InputMaybe; /** Create default page */ createDefaultPage?: InputMaybe; /** Optional description */ description?: InputMaybe; /** Layout type */ layout?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Dashboard name */ name: Scalars['String']['input']; /** Tag IDs */ tagIds?: InputMaybe>; /** Translations for different locales (i18n) */ translations?: InputMaybe>; /** Visibility level */ visibility?: InputMaybe; }; /** Input for creating a dashboard page */ export type BigConsoleCreateDashboardPageInput = { /** Context */ context?: InputMaybe; /** Parent dashboard ID */ dashboardId: Scalars['ID']['input']; /** Grid columns */ gridColumns?: InputMaybe; /** Page layout */ layout?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Page name */ name: Scalars['String']['input']; }; export type BigConsoleCreateDashboardRlsPolicyInput = { description?: InputMaybe; isActive?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; rules: Scalars['JSON']['input']; }; /** Input for creating a template */ export type BigConsoleCreateDashboardTemplateInput = { /** Author type */ authorType?: InputMaybe; /** Dashboard category */ category: BigConsoleDashboardCategory; /** Complexity level */ complexity?: InputMaybe; /** Console Definition JSON template */ definition: Scalars['JSON']['input']; /** Template description */ description?: InputMaybe; /** Featured flag */ isFeatured?: InputMaybe; /** Public visibility */ isPublic?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Template name */ name: Scalars['String']['input']; /** Placeholder configuration */ placeholders: Scalars['JSON']['input']; /** Preview URL */ previewUrl?: InputMaybe; /** * Legacy tag input (string array). Use `tagsV2` for canonical [{key,value}] * shape (marqueue §251). Both fields are still written. */ tags?: InputMaybe>; /** * Canonical universal-tag input (marqueue §251). JSON array of `{key,value,...}` * records. When provided, takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; /** Thumbnail file ID */ thumbnailFileId?: InputMaybe; /** Workspace ID (null = global template) */ workspaceId?: InputMaybe; }; /** Input for creating a saved view */ export type BigConsoleCreateDashboardViewInput = { /** Dashboard ID */ dashboardId: Scalars['ID']['input']; /** View description */ description?: InputMaybe; /** Filter state to save */ filters?: InputMaybe; /** Set as default view */ isDefault?: InputMaybe; /** Layout configuration to save */ layout?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** View name */ name: Scalars['String']['input']; }; /** Input for creating a filter preset */ export type BigConsoleCreateFilterPresetInput = { /** Dashboard ID */ dashboardId: Scalars['ID']['input']; /** Optional description */ description?: InputMaybe; /** Filter values (key-value pairs) */ filterValues: Scalars['JSON']['input']; /** Whether this should be the default preset */ isDefault?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Preset name (unique per dashboard + profile) */ name: Scalars['String']['input']; /** Display order */ order?: InputMaybe; }; /** Input for creating a global filter */ export type BigConsoleCreateGlobalFilterInput = { /** Cascade configuration (v1.0) */ cascadeConfig?: InputMaybe; /** Filter configuration */ config: Scalars['JSON']['input']; /** Context */ context?: InputMaybe; /** Dashboard ID */ dashboardId: Scalars['ID']['input']; /** Default value */ defaultValue?: InputMaybe; /** Parent filter ID for cascading (v1.0) */ dependsOn?: InputMaybe; /** Required filter */ isRequired?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Filter name */ name: Scalars['String']['input']; /** Filter type */ type: BigConsoleFilterType; }; /** Input for creating a widget action inline (during widget creation) */ export type BigConsoleCreateWidgetActionInlineInput = { /** Confirmation dialog configuration */ confirmation?: InputMaybe; /** Whether action is disabled */ disabled?: InputMaybe; /** Whether action is hidden */ hidden?: InputMaybe; /** Icon name (Lucide icon) */ icon?: InputMaybe; /** Display label */ label: Scalars['String']['input']; /** Action name (used for event identification) */ name: Scalars['String']['input']; /** Display order */ order?: InputMaybe; /** Visual style */ style?: InputMaybe; /** Action type */ type?: InputMaybe; }; /** Input for creating a widget action */ export type BigConsoleCreateWidgetActionInput = { /** Confirmation dialog configuration */ confirmation?: InputMaybe; /** Whether action is disabled */ disabled?: InputMaybe; /** Whether action is hidden */ hidden?: InputMaybe; /** Icon name (Lucide icon) */ icon?: InputMaybe; /** Display label */ label: Scalars['String']['input']; /** Action name (used for event identification) */ name: Scalars['String']['input']; /** Display order */ order?: InputMaybe; /** Visual style */ style?: InputMaybe; /** Action type */ type?: InputMaybe; /** Parent widget ID */ widgetId: Scalars['ID']['input']; }; /** Input for creating an event webhook mapping */ export type BigConsoleCreateWidgetEventWebhookMappingInput = { /** Dashboard scope (optional) */ dashboardId?: InputMaybe; /** Event pattern to match (supports wildcards) */ eventPattern: Scalars['String']['input']; /** Custom headers */ headers?: InputMaybe; /** HTTP method (default: POST) */ method?: InputMaybe; /** Payload transformation template */ payloadTemplate?: InputMaybe; /** Retry policy configuration */ retryPolicy?: InputMaybe; /** Webhook URL to invoke */ webhookUrl: Scalars['String']['input']; /** Widget scope (optional) */ widgetId?: InputMaybe; }; /** Input for creating a widget */ export type BigConsoleCreateWidgetInput = { /** Initial actions for the widget (v2.0) */ actions?: InputMaybe>; /** Cache TTL override in seconds (v2.0) */ cacheTTL?: InputMaybe; /** Widget configuration */ config: Scalars['JSON']['input']; /** Context */ context?: InputMaybe; /** Data sink ID (v2.0) - for context and drilldowns */ dataSinkId?: InputMaybe; /** Dataset ID within the data sink (v2.0) */ datasetId?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Parent page ID */ pageId: Scalars['ID']['input']; /** Parser ID for data transformation (v2.0) */ parserId?: InputMaybe; /** Inline parser rules (v2.0) - JQ or JSONPath query */ parserRules?: InputMaybe; /** Position and size - Fixed Grid (legacy v1.2) */ position: BigConsoleWidgetPositionInput; /** Responsive position - v1.0 spec (column spans at breakpoints) */ positionResponsive?: InputMaybe; /** Refresh interval in seconds */ refreshInterval?: InputMaybe; /** Renderer type (v2.0) - default: BIGCONSOLE */ renderer?: InputMaybe; /** Row order for responsive layout (auto-calculated if null) */ rowOrder?: InputMaybe; /** Template definition (v2.0) - structure/layout for the renderer */ template?: InputMaybe; /** Widget title */ title: Scalars['String']['input']; /** Translations for different locales (i18n) */ translations?: InputMaybe>; /** Widget type */ type: BigConsoleWidgetType; /** * Store/custom widget type key (BOFF-2858). For a widget instance of an installed * store type, set `type: CUSTOM` and pass the namespaced registry key here (e.g. * "store/stripe-mrr-card"); the resolver validates it is installed for the * workspace. Null for built-in types. */ widgetTypeKey?: InputMaybe; }; /** Dashboard type stub (owned by dashboard module) */ export type BigConsoleDashboard = { __typename?: 'BigConsoleDashboard'; /** Access quota configuration (v1.0) */ accessQuota?: Maybe; /** Analytics event IDs (resolved via module-analytics-svc) */ analyticsEventIds: Array; /** Dashboard category */ category: BigConsoleDashboardCategory; /** Dashboard comment IDs (resolved via module-conversations-svc) */ commentIds: Array; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator reference (federation) */ createdBy?: Maybe; /** Creator user ID (v1.0) */ createdById?: Maybe; /** Cross-filtering configuration (v1.0) */ crossFiltering?: Maybe; /** Full Console Definition JSON (v1.0) */ definition?: Maybe; /** Console Definition JSON version (v1.0) */ definitionVersion: Scalars['String']['output']; /** Optional description */ description?: Maybe; /** Field masking rules (v1.0) */ fieldMaskingRules?: Maybe; /** Dashboard filters (JSON for federation compatibility) */ filters?: Maybe; /** Global filters */ globalFilters: Array; /** Unique identifier */ id: Scalars['ID']['output']; /** Archived status (soft delete) */ isArchived: Scalars['Boolean']['output']; /** Whether dashboard is public */ isPublic?: Maybe; /** Whether dashboard is a template */ isTemplate?: Maybe; /** Last view timestamp */ lastViewedAt?: Maybe; /** Layout type (JSON for federation compatibility with module-analytics) */ layout?: Maybe; /** Custom metadata */ metadata?: Maybe; /** Dashboard name */ name: Scalars['String']['output']; /** Console navigation configuration (v1.0) */ navigation?: Maybe; owner?: Maybe; /** Owner/creator user ID */ ownerId: Scalars['ID']['output']; /** Page count (for quick access without fetching all pages) */ pageCount: Scalars['Int']['output']; /** Dashboard pages */ pages: BigConsoleDashboardPageConnection; /** Owning product shell; independent from workspace visibility. */ productId: Scalars['String']['output']; /** Published timestamp (v1.0) */ publishedAt?: Maybe; /** Publisher user ID (v1.0) */ publishedBy?: Maybe; /** Row-level security policy ID (v1.0) */ rlsPolicyId?: Maybe; /** Saved views (v1.0) */ savedViews: Array; /** Dashboard share IDs (resolved via module-rbac-svc or workspace) */ shareIds: Array; /** Dashboard shares (v1.0 - internal) */ shares: Array; /** Dashboard status (v1.0) */ status: BigConsoleDashboardStatus; /** When status was last changed (v1.0) */ statusChangedAt?: Maybe; /** Who changed the status (v1.0) */ statusChangedBy?: Maybe; tagAssignments: Array; /** Dashboard tags */ tagIds: Array; tags: Array; thumbnail?: Maybe; /** Reference to thumbnail file */ thumbnailFileId?: Maybe; /** Translations for different locales (i18n) */ translations: Array; /** Unique viewers count (v1.0) */ uniqueViewers: Scalars['Int']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID (v1.0) */ updatedById?: Maybe; /** Optimistic locking version (v1.0) */ version: Scalars['Int']['output']; /** Total view count */ viewCount: Scalars['Int']['output']; /** Visibility level */ visibility: BigConsoleDashboardVisibility; /** Widget count across all pages (for quick access) */ widgetCount: Scalars['Int']['output']; /** All widgets across all pages (type matches module-analytics for federation) */ widgets: Array; workspace?: Maybe; /** Workspace context */ workspaceId: Scalars['ID']['output']; }; /** Dashboard type stub (owned by dashboard module) */ export type BigConsoleDashboardPagesArgs = { after?: InputMaybe; first?: InputMaybe; name?: InputMaybe; }; /** Dashboard type stub (owned by dashboard module) */ export type BigConsoleDashboardSavedViewsArgs = { after?: InputMaybe; first?: InputMaybe; }; /** Dashboard type stub (owned by dashboard module) */ export type BigConsoleDashboardSharesArgs = { after?: InputMaybe; first?: InputMaybe; }; /** Dashboard analytics stub (owned by analytics module) */ export type BigConsoleDashboardAnalytics = { __typename?: 'BigConsoleDashboardAnalytics'; dashboardId: Scalars['ID']['output']; }; /** Dashboard category enumeration */ export declare enum BigConsoleDashboardCategory { Custom = "CUSTOM", Executive = "EXECUTIVE", Financial = "FINANCIAL", Hr = "HR", Marketing = "MARKETING", Operations = "OPERATIONS", Sales = "SALES" } /** Dashboard connection (pagination) */ export type BigConsoleDashboardConnection = { __typename?: 'BigConsoleDashboardConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardEdge = { __typename?: 'BigConsoleDashboardEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboard; }; export declare enum BigConsoleDashboardEmbedAccessMode { AnonymousLink = "ANONYMOUS_LINK" } export declare enum BigConsoleDashboardEmbedContentReviewState { OwnerAttested = "OWNER_ATTESTED", Pending = "PENDING", PlatformReview = "PLATFORM_REVIEW", PlatformReviewed = "PLATFORM_REVIEWED", Rejected = "REJECTED" } export type BigConsoleDashboardEmbedPolicy = { __typename?: 'BigConsoleDashboardEmbedPolicy'; accessMode: BigConsoleDashboardEmbedAccessMode; activatedAt?: Maybe; activePublicationId?: Maybe; allowedParentOrigins: Array; contentReviewState: BigConsoleDashboardEmbedContentReviewState; createdAt: Scalars['DateTime']['output']; dashboardId: Scalars['ID']['output']; expiresAt?: Maybe; /** Safe display fingerprint of the active anonymous-link key (never the key). */ fingerprint?: Maybe; id: Scalars['ID']['output']; /** Non-secret locator id present in the embed URL path. */ locatorPublicId?: Maybe; /** * Publish-time presentation options (BOFF-5735). Read live at view time, so * changing them takes effect without re-publishing. */ presentationTheme: BigConsoleDashboardEmbedTheme; revokedAt?: Maybe; sessionTtlSeconds: Scalars['Int']['output']; /** * Always true. Every embed carries the "Powered by BigConsole" footer and it * cannot be turned off. Kept only so older clients that still select it keep * working. * @deprecated Embeds always show the BigConsole footer; this setting is ignored. */ showBrandingFooter: Scalars['Boolean']['output']; showDashboardTitle: Scalars['Boolean']['output']; status: BigConsoleDashboardEmbedPolicyStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; }; export type BigConsoleDashboardEmbedPolicyConnection = { __typename?: 'BigConsoleDashboardEmbedPolicyConnection'; nodes: Array; totalCount: Scalars['Int']['output']; }; /** * Returned ONCE on create / URL rotation. Carries the secret anonymous-link key * in the URL fragment and a copy-paste snippet. The raw key is never persisted or * returned again — only its HMAC hash and fingerprint are stored. */ export type BigConsoleDashboardEmbedPolicySecret = { __typename?: 'BigConsoleDashboardEmbedPolicySecret'; /** Full embed URL including the #key fragment. Treat as a durable bearer capability. */ embedUrl: Scalars['String']['output']; /** Safe fingerprint of the key for later display. */ fingerprint: Scalars['String']['output']; /** Copy-paste iframe snippet. */ iframeSnippet: Scalars['String']['output']; policy: BigConsoleDashboardEmbedPolicy; }; export declare enum BigConsoleDashboardEmbedPolicyStatus { Active = "ACTIVE", Broken = "BROKEN", Draft = "DRAFT", Expired = "EXPIRED", NeedsReview = "NEEDS_REVIEW", Revoked = "REVOKED" } /** * Publish-time color mode for the embed (BOFF-5735). AUTO follows the viewer's * `prefers-color-scheme`. Maps to the embed shell's `?theme=` token. */ export declare enum BigConsoleDashboardEmbedTheme { Auto = "AUTO", Dark = "DARK", Light = "LIGHT" } /** Import statistics */ export type BigConsoleDashboardImportStats = { __typename?: 'BigConsoleDashboardImportStats'; /** Number of widget actions created */ actionsCreated: Scalars['Int']['output']; /** Number of data source references skipped */ dataSourcesSkipped: Scalars['Int']['output']; /** Number of global filters created */ filtersCreated: Scalars['Int']['output']; /** Number of pages created */ pagesCreated: Scalars['Int']['output']; /** Number of translations created */ translationsCreated: Scalars['Int']['output']; /** Number of webhook mappings skipped */ webhooksSkipped: Scalars['Int']['output']; /** Number of widgets created */ widgetsCreated: Scalars['Int']['output']; }; /** Validation error (blocks import) */ export type BigConsoleDashboardImportValidationError = { __typename?: 'BigConsoleDashboardImportValidationError'; /** Error code */ code: Scalars['String']['output']; /** Human-readable error message */ message: Scalars['String']['output']; /** Path to the problematic field (optional) */ path?: Maybe; }; /** Import validation result */ export type BigConsoleDashboardImportValidationResult = { __typename?: 'BigConsoleDashboardImportValidationResult'; /** Dashboard info from export file */ dashboardInfo: BigConsoleImportDashboardInfo; /** Validation errors (blocking) */ errors: Array; /** Whether import is valid (no errors) */ isValid: Scalars['Boolean']['output']; /** Validation warnings (non-blocking) */ warnings: Array; }; /** Validation warning (does not block import) */ export type BigConsoleDashboardImportValidationWarning = { __typename?: 'BigConsoleDashboardImportValidationWarning'; /** Warning code */ code: Scalars['String']['output']; /** Human-readable warning message */ message: Scalars['String']['output']; /** Path to the field with warning (optional) */ path?: Maybe; /** Suggested action to resolve */ suggestion?: Maybe; }; /** Dashboard layout enumeration */ export declare enum BigConsoleDashboardLayout { Flex = "FLEX", Grid = "GRID", Tabs = "TABS" } /** Dashboard page type stub (owned by dashboard module) */ export type BigConsoleDashboardPage = { __typename?: 'BigConsoleDashboardPage'; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator user ID (v1.0) */ createdBy?: Maybe; dashboard?: Maybe; /** Parent dashboard ID */ dashboardId: Scalars['ID']['output']; /** Number of grid columns (for Grid layout) */ gridColumns: Scalars['Int']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Page layout type */ layout: BigConsoleDashboardPageLayout; /** Custom metadata */ metadata?: Maybe; /** Page name */ name: Scalars['String']['output']; /** Display order */ order: Scalars['Int']['output']; /** Responsive breakpoint configuration (v1.0) */ responsiveConfig?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID (v1.0) */ updatedBy?: Maybe; /** Optimistic locking version (v1.0) */ version: Scalars['Int']['output']; /** Widget count (for listing without fetching all widgets) */ widgetCount: Scalars['Int']['output']; /** Widgets on this page */ widgets: BigConsoleWidgetConnection; }; /** Dashboard page type stub (owned by dashboard module) */ export type BigConsoleDashboardPageWidgetsArgs = { after?: InputMaybe; first?: InputMaybe; type?: InputMaybe; }; /** Dashboard page connection */ export type BigConsoleDashboardPageConnection = { __typename?: 'BigConsoleDashboardPageConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardPageEdge = { __typename?: 'BigConsoleDashboardPageEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboardPage; }; /** Page layout enumeration */ export declare enum BigConsoleDashboardPageLayout { Flex = "FLEX", Freeform = "FREEFORM", Grid = "GRID" } /** * Presence roster for one dashboard. `unavailable` is true when the presence * backend could not be reached; the dashboard itself stays fully usable. */ export type BigConsoleDashboardPresence = { __typename?: 'BigConsoleDashboardPresence'; /** Dashboard the roster belongs to */ dashboardId: Scalars['ID']['output']; /** True when the presence cache was unavailable and the roster could not be read */ unavailable: Scalars['Boolean']['output']; /** Active viewers (last heartbeat within the active cutoff), sorted by actor id */ viewers: Array; }; /** * One dashboard viewer. Several open tabs or devices of the same actor collapse * into one viewer with a connectionCount above 1. */ export type BigConsoleDashboardPresenceViewer = { __typename?: 'BigConsoleDashboardPresenceViewer'; /** Actor (user) currently viewing the dashboard */ actorId: Scalars['ID']['output']; /** Number of active connections (tabs or devices) this actor has on the dashboard */ connectionCount: Scalars['Int']['output']; /** Most recent heartbeat across the actor's connections */ lastSeenAt: Scalars['DateTime']['output']; }; /** Configuration for prompt-based dashboard generation */ export type BigConsoleDashboardPromptConfig = { __typename?: 'BigConsoleDashboardPromptConfig'; /** Additional context or instructions */ additionalContext?: Maybe; /** Target dashboard category */ category?: Maybe; /** Enable web search for context */ enableWebSearch: Scalars['Boolean']['output']; /** Number of grid columns (for grid layout) */ gridColumns: Scalars['Int']['output']; /** Layout preference */ layoutType: BigConsoleGeneratedLayoutType; /** Maximum number of widgets to generate */ maxWidgets?: Maybe; /** Preferred widget types */ preferredWidgetTypes?: Maybe>; /** Reference file IDs for context */ referenceFileIds: Array; /** Style/theme preference */ styleType: BigConsoleDashboardStyleType; /** Suggested data source IDs to use */ suggestedDataSourceIds?: Maybe>; /** Target visibility */ visibility?: Maybe; }; /** Dashboard prompt configuration input (prefixed to avoid collision with module-calendar) */ export type BigConsoleDashboardPromptConfigInput = { /** Additional context */ additionalContext?: InputMaybe; /** Dashboard category */ category?: InputMaybe; /** Contextual information for tracking and audit */ context?: InputMaybe; /** Enable web search */ enableWebSearch?: InputMaybe; /** Number of grid columns */ gridColumns?: InputMaybe; /** Layout preference */ layoutType?: InputMaybe; /** Maximum widgets */ maxWidgets?: InputMaybe; /** Preferred widget types */ preferredWidgetTypes?: InputMaybe>; /** Reference file IDs */ referenceFileIds?: InputMaybe>; /** Style/theme preference */ styleType?: InputMaybe; /** Suggested data source IDs */ suggestedDataSourceIds?: InputMaybe>; /** Dashboard visibility */ visibility?: InputMaybe; }; /** * A row-level security policy that can be assigned to a Dashboard via * Dashboard.rlsPolicyId. See RlsPolicyService for how `rules` is interpreted. */ export type BigConsoleDashboardRlsPolicy = { __typename?: 'BigConsoleDashboardRlsPolicy'; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; description?: Maybe; id: Scalars['ID']['output']; /** * Whether this policy is currently enforced. A dashboard referencing an * inactive policy fails closed (no rows returned) rather than silently * falling back to unfiltered access. */ isActive: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; /** Opaque rule JSON: { field, roleAllowedValues, exemptRoles, defaultDeny }. */ rules: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type BigConsoleDashboardRlsPolicyConnection = { __typename?: 'BigConsoleDashboardRlsPolicyConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardRlsPolicyEdge = { __typename?: 'BigConsoleDashboardRlsPolicyEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboardRlsPolicy; }; /** Dashboard share configuration for user/group access */ export type BigConsoleDashboardShare = { __typename?: 'BigConsoleDashboardShare'; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator user ID */ createdBy?: Maybe; dashboard?: Maybe; /** Dashboard being shared */ dashboardId: Scalars['ID']['output']; /** Expiration date (optional) */ expiresAt?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether share is active */ isActive: Scalars['Boolean']['output']; /** Custom metadata */ metadata?: Maybe; /** Permission level */ permission: BigConsoleDashboardSharePermission; /** Recipient user or group ID */ recipientId: Scalars['ID']['output']; /** Type of recipient (user or group) */ recipientType: BigConsoleDashboardShareRecipientType; sharedBy?: Maybe; /** User who created the share */ sharedByUserId: Scalars['ID']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID */ updatedBy?: Maybe; /** Optimistic locking version */ version: Scalars['Int']['output']; }; /** Dashboard share connection (pagination) */ export type BigConsoleDashboardShareConnection = { __typename?: 'BigConsoleDashboardShareConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardShareEdge = { __typename?: 'BigConsoleDashboardShareEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboardShare; }; /** Share permission level */ export declare enum BigConsoleDashboardSharePermission { Edit = "EDIT", View = "VIEW" } /** Share recipient type */ export declare enum BigConsoleDashboardShareRecipientType { Group = "GROUP", User = "USER" } /** Dashboard sort field */ export declare enum BigConsoleDashboardSortField { CreatedAt = "CREATED_AT", LastViewedAt = "LAST_VIEWED_AT", Name = "NAME", UpdatedAt = "UPDATED_AT", ViewCount = "VIEW_COUNT" } /** Dashboard status (v1.0) */ export declare enum BigConsoleDashboardStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } /** Dashboard style/theme type for generation */ export declare enum BigConsoleDashboardStyleType { /** Traditional business dashboard style */ Classic = "CLASSIC", /** Dark mode optimized theme */ Dark = "DARK", /** Minimalist with focus on data */ Minimal = "MINIMAL", /** Modern clean design with gradients and rounded corners */ Modern = "MODERN", /** Colorful and vibrant design */ Vibrant = "VIBRANT" } /** A dashboard template for quick dashboard creation */ export type BigConsoleDashboardTemplate = { __typename?: 'BigConsoleDashboardTemplate'; /** Template author type */ authorType: BigConsoleDashboardTemplateAuthorType; /** Dashboard category */ category: BigConsoleDashboardCategory; /** Template complexity level */ complexity: BigConsoleDashboardTemplateComplexity; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator user ID */ createdBy?: Maybe; creator?: Maybe; /** Complete Console Definition JSON template */ definition: Scalars['JSON']['output']; /** Console Definition version */ definitionVersion: Scalars['String']['output']; /** Template description */ description?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether template is active */ isActive: Scalars['Boolean']['output']; /** Whether template is featured */ isFeatured: Scalars['Boolean']['output']; /** Whether template is publicly available */ isPublic: Scalars['Boolean']['output']; /** Custom metadata */ metadata?: Maybe; /** Template name */ name: Scalars['String']['output']; /** Placeholder configuration for customization */ placeholders: Scalars['JSON']['output']; /** Preview URL */ previewUrl?: Maybe; /** Average rating (1-5) */ rating?: Maybe; /** Number of ratings */ ratingCount: Scalars['Int']['output']; /** Template status */ status: BigConsoleDashboardTemplateStatus; /** Template tags for discovery. */ tags: Array; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; thumbnail?: Maybe; /** Reference to thumbnail image */ thumbnailFileId?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID */ updatedBy?: Maybe; /** Number of times template has been used */ usageCount: Scalars['Int']['output']; /** Optimistic locking version */ version: Scalars['Int']['output']; /** * Owning workspace. Always populated — the underlying column is NOT NULL, so * there is no "global"/unowned template tier. */ workspaceId?: Maybe; }; /** Template author type (v1.0) */ export declare enum BigConsoleDashboardTemplateAuthorType { Community = "COMMUNITY", System = "SYSTEM", Workspace = "WORKSPACE" } /** Template complexity level (v1.0) */ export declare enum BigConsoleDashboardTemplateComplexity { Advanced = "ADVANCED", Beginner = "BEGINNER", Intermediate = "INTERMEDIATE" } /** Dashboard template connection (pagination) */ export type BigConsoleDashboardTemplateConnection = { __typename?: 'BigConsoleDashboardTemplateConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardTemplateEdge = { __typename?: 'BigConsoleDashboardTemplateEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboardTemplate; }; /** Binds one of the template's data-sink slots to a sink in the caller's workspace. */ export type BigConsoleDashboardTemplateSinkBindingInput = { /** * Data sink in the caller's workspace to bind it to. Validated against the * caller's workspace; the sink key is read server-side rather than trusted. */ dataSinkId: Scalars['ID']['input']; /** Slot name declared by the template, e.g. `orders`. */ slot: Scalars['String']['input']; }; /** Template status (v1.0) */ export declare enum BigConsoleDashboardTemplateStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT" } /** Result of a dashboard-template-type registry mutation. */ export type BigConsoleDashboardTemplateTypeRegistration = { __typename?: 'BigConsoleDashboardTemplateTypeRegistration'; /** * True when this version is the enabled (active) version of templateKey in the * request workspace. */ installedInWorkspace: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** STORE | CUSTOM */ publishType: Scalars['String']['output']; /** AVAILABLE | DEPRECATED | DISABLED */ status: Scalars['String']['output']; /** Namespaced registry key, e.g. "store/saas-kpis". */ templateKey: Scalars['String']['output']; /** Registered version, e.g. "1.0" or "1.2.0". */ templateVersion: Scalars['String']['output']; }; /** Dashboard translation for a specific locale (i18n support) */ export type BigConsoleDashboardTranslation = { __typename?: 'BigConsoleDashboardTranslation'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Parent dashboard ID */ dashboardId: Scalars['ID']['output']; /** Translated description */ description?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Locale code (e.g., "en", "es", "fr", "de", "zh") */ locale: Scalars['String']['output']; /** Translated dashboard name */ name: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; }; /** Input for dashboard translation (i18n) */ export type BigConsoleDashboardTranslationInput = { /** Translated description */ description?: InputMaybe; /** Locale code (e.g., "en", "es", "fr", "de", "zh") */ locale: Scalars['String']['input']; /** Translated dashboard name */ name: Scalars['String']['input']; }; /** * A single validation problem found in a Console Definition, located by a * JSON-path-style pointer (e.g. "$.pages[0].widgets[2].type"). */ export type BigConsoleDashboardValidationError = { __typename?: 'BigConsoleDashboardValidationError'; /** Stable machine code, e.g. SCHEMA_ENUM_INVALID. */ code: Scalars['String']['output']; /** Human-readable explanation. */ message: Scalars['String']['output']; /** JSON pointer to the offending node. */ path: Scalars['String']['output']; }; /** Result of validating a Console Definition against the v2.0 contract. */ export type BigConsoleDashboardValidationResult = { __typename?: 'BigConsoleDashboardValidationResult'; errors: Array; valid: Scalars['Boolean']['output']; }; /** A point-in-time snapshot of a dashboard. */ export type BigConsoleDashboardVersion = { __typename?: 'BigConsoleDashboardVersion'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; dashboardId: Scalars['ID']['output']; id: Scalars['ID']['output']; label?: Maybe; /** Full restorable snapshot of the dashboard at this version. */ snapshot: Scalars['JSON']['output']; versionNumber: Scalars['Int']['output']; }; /** A saved view configuration for a dashboard */ export type BigConsoleDashboardView = { __typename?: 'BigConsoleDashboardView'; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator user ID */ createdBy?: Maybe; dashboard?: Maybe; /** Parent dashboard ID */ dashboardId: Scalars['ID']['output']; /** View description */ description?: Maybe; /** Saved filter state */ filters?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this is the default view */ isDefault: Scalars['Boolean']['output']; /** Saved layout configuration */ layout?: Maybe; /** Custom metadata */ metadata?: Maybe; /** View name */ name: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID */ updatedBy?: Maybe; /** Optimistic locking version */ version: Scalars['Int']['output']; /** Workspace context */ workspaceId: Scalars['ID']['output']; }; /** Dashboard view connection (pagination) */ export type BigConsoleDashboardViewConnection = { __typename?: 'BigConsoleDashboardViewConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleDashboardViewEdge = { __typename?: 'BigConsoleDashboardViewEdge'; cursor: Scalars['String']['output']; node: BigConsoleDashboardView; }; /** Dashboard visibility enumeration */ export declare enum BigConsoleDashboardVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } /** Which side of the normal range a flagged point falls on. */ export declare enum BigConsoleDataSinkAnomalyDirection { High = "HIGH", Low = "LOW" } /** Detection method. */ export declare enum BigConsoleDataSinkAnomalyMethod { Iqr = "IQR", Threshold = "THRESHOLD", Zscore = "ZSCORE" } export type BigConsoleDataSinkAnomalyPoint = { __typename?: 'BigConsoleDataSinkAnomalyPoint'; direction: BigConsoleDataSinkAnomalyDirection; index: Scalars['Int']['output']; isAnomaly: Scalars['Boolean']['output']; label: Scalars['String']['output']; /** The source row (after field masking). */ row?: Maybe; /** Signed score: z-score, IQR-fence multiples, or distance beyond the threshold. */ score: Scalars['Float']['output']; value: Scalars['Float']['output']; }; export type BigConsoleDataSinkAnomalyResult = { __typename?: 'BigConsoleDataSinkAnomalyResult'; method: BigConsoleDataSinkAnomalyMethod; points: Array; summary: BigConsoleDataSinkAnomalySummary; }; export type BigConsoleDataSinkAnomalySummary = { __typename?: 'BigConsoleDataSinkAnomalySummary'; /** All flagged points, before the result limit. */ flagged: Scalars['Int']['output']; lowerBound?: Maybe; mean?: Maybe; method: BigConsoleDataSinkAnomalyMethod; q1?: Maybe; q3?: Maybe; stdDev?: Maybe; /** Numeric points analysed. */ total: Scalars['Int']['output']; /** True when the series was capped at the analysis limit. */ truncated: Scalars['Boolean']['output']; upperBound?: Maybe; version: Scalars['Int']['output']; }; /** Data source test status */ export declare enum BigConsoleDataSourceTestStatus { Failed = "FAILED", NotTested = "NOT_TESTED", Success = "SUCCESS" } /** Data source type enumeration */ export declare enum BigConsoleDataSourceType { Graphql = "GRAPHQL", Mock = "MOCK", RestApi = "REST_API", Sql = "SQL", Websocket = "WEBSOCKET" } export type BigConsoleDetectAnomaliesInput = { method?: InputMaybe; /** For ZSCORE: stddev multiplier (default 3). For THRESHOLD: the cutoff (required). */ threshold?: InputMaybe; /** Numeric series to scan. */ values: Array; }; export type BigConsoleDetectDataSinkAnomaliesInput = { /** Dot-path to the array inside the sink payload. Omit when the payload itself is the array. */ dataPath?: InputMaybe; /** IQR: fence multiplier (Tukey). */ iqrK?: InputMaybe; /** Dot-path to a field used as the point label. Defaults to the row index. */ labelField?: InputMaybe; /** Maximum flagged points returned, most extreme first (1-1000). */ limit?: InputMaybe; /** THRESHOLD: flag values below this. */ lower?: InputMaybe; method: BigConsoleDataSinkAnomalyMethod; /** THRESHOLD: flag values above this. */ upper?: InputMaybe; /** Dot-path to the numeric field inside each row. Omit when the series is a plain number array. */ valueField?: InputMaybe; /** ZSCORE: flag points with |z| above this value. */ zThreshold?: InputMaybe; }; /** Navigation mode enumeration */ export declare enum BigConsoleDrilldownNavigationMode { Modal = "MODAL", NewTab = "NEW_TAB", SameWindow = "SAME_WINDOW" } /** Input for emitting a widget event */ export type BigConsoleEmitWidgetEventInput = { /** Action that triggered the event */ actionName: Scalars['String']['input']; /** Event name/identifier (e.g., "server:start:clicked") */ event: Scalars['String']['input']; /** Event payload */ payload?: InputMaybe; /** Widget that emitted the event */ widgetId: Scalars['ID']['input']; }; /** Dashboard export options */ export type BigConsoleExportDashboardOptions = { /** Include data source reference information (default: false) */ includeDataSourceRefs?: InputMaybe; /** * Include webhook mappings (default: false). Requires permission to edit the * dashboard and a current export consent grant in the x-consent-* headers. */ includeWebhookMappings?: InputMaybe; /** Pretty print JSON output (default: true) */ prettyPrint?: InputMaybe; }; /** * A saved filter preset for quick access to filter combinations. * Owned by one profile (the calling actor) inside one workspace, the workspace of * its dashboard. Only the owner can read or change it. */ export type BigConsoleFilterPreset = { __typename?: 'BigConsoleFilterPreset'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Dashboard reference; null when the caller may no longer read the dashboard */ dashboard?: Maybe; /** Dashboard ID this preset belongs to */ dashboardId: Scalars['ID']['output']; /** Optional description */ description?: Maybe; /** Filter values (key-value pairs) */ filterValues: Scalars['JSON']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this is the default preset for the profile */ isDefault: Scalars['Boolean']['output']; /** Custom metadata */ metadata?: Maybe; /** Preset name */ name: Scalars['String']['output']; /** Display order */ order: Scalars['Int']['output']; /** Profile ID (opaque reference - supports multi-user) */ profileId: Scalars['ID']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; }; /** Filter type enumeration */ export declare enum BigConsoleFilterType { Category = "CATEGORY", Custom = "CUSTOM", DateRange = "DATE_RANGE", NumericRange = "NUMERIC_RANGE", TextSearch = "TEXT_SEARCH" } /** Input for generating a dashboard from a natural language prompt */ export type BigConsoleGenerateDashboardFromPromptInput = { /** Additional context or specific instructions */ additionalContext?: InputMaybe; /** * Deprecated: disabled so dashboard creation passes through createDashboardFromGeneration project quota checks. * @deprecated Disabled for quota enforcement. Use createDashboardFromGeneration after generation completes. */ autoCreate?: InputMaybe; /** Target dashboard category */ category?: InputMaybe; /** Contextual information for tracking and audit */ context?: InputMaybe; /** Enable web search for additional context (default: false) */ enableWebSearch?: InputMaybe; /** Number of grid columns (default: 12) */ gridColumns?: InputMaybe; /** Layout preference (default: GRID) */ layoutType?: InputMaybe; /** Maximum number of widgets to generate (default: 8) */ maxWidgets?: InputMaybe; /** Preferred widget types to use */ preferredWidgetTypes?: InputMaybe>; /** * Natural language prompt describing the desired dashboard. * Examples: * - "Create a sales dashboard showing revenue trends, top products, and regional performance" * - "Build an executive KPI dashboard with financial metrics and team performance" * - "Design a marketing analytics dashboard with campaign ROI and conversion funnels" */ prompt: Scalars['String']['input']; /** Reference file IDs (images, documents) for context */ referenceFileIds?: InputMaybe>; /** Style/theme preference (default: MODERN) */ styleType?: InputMaybe; /** Existing data source IDs to use */ suggestedDataSourceIds?: InputMaybe>; /** Target visibility (default: PRIVATE) */ visibility?: InputMaybe; }; /** AI-generated dashboard specification before creation */ export type BigConsoleGeneratedDashboardSpec = { __typename?: 'BigConsoleGeneratedDashboardSpec'; /** Suggested category */ category: BigConsoleDashboardCategory; /** Suggested description */ description?: Maybe; /** Suggested global filters */ globalFilters?: Maybe>; /** Suggested dashboard name */ name: Scalars['String']['output']; /** Confidence score (0-1) */ overallConfidence: Scalars['Float']['output']; /** Generated pages with widgets */ pages: Array; /** AI reasoning/explanation */ reasoning?: Maybe; }; /** Generated global filter specification */ export type BigConsoleGeneratedFilterSpec = { __typename?: 'BigConsoleGeneratedFilterSpec'; /** Filter configuration */ config: Scalars['JSON']['output']; /** Default value */ defaultValue?: Maybe; /** Whether filter is required */ isRequired: Scalars['Boolean']['output']; /** Filter name */ name: Scalars['String']['output']; /** Filter type */ type: BigConsoleFilterType; }; /** Layout preference for generated dashboard */ export declare enum BigConsoleGeneratedLayoutType { /** Flexible layout that adapts to content */ Flex = "FLEX", /** Grid-based layout with fixed columns */ Grid = "GRID", /** Masonry-style layout */ Masonry = "MASONRY", /** Single column layout */ SingleColumn = "SINGLE_COLUMN", /** Three column layout */ ThreeColumn = "THREE_COLUMN", /** Two column layout */ TwoColumn = "TWO_COLUMN" } /** Generated page specification */ export type BigConsoleGeneratedPageSpec = { __typename?: 'BigConsoleGeneratedPageSpec'; /** Grid columns */ gridColumns: Scalars['Int']['output']; /** Layout type for this page */ layout: BigConsoleDashboardPageLayout; /** Page name */ name: Scalars['String']['output']; /** Page order */ order: Scalars['Int']['output']; /** Widgets on this page */ widgets: Array; }; /** Input for adding a new widget to generated spec */ export type BigConsoleGeneratedWidgetInput = { /** Configuration */ config?: InputMaybe; /** Data path */ dataPath?: InputMaybe; /** Position */ position: BigConsoleWidgetPositionInput; /** Refresh interval */ refreshInterval?: InputMaybe; /** Widget title */ title: Scalars['String']['input']; /** Widget type */ type: BigConsoleWidgetType; }; /** Generated widget specification */ export type BigConsoleGeneratedWidgetSpec = { __typename?: 'BigConsoleGeneratedWidgetSpec'; /** AI confidence in this widget */ confidence: BigConsoleWidgetConfidence; /** Widget configuration */ config: Scalars['JSON']['output']; /** Data path within source response */ dataPath?: Maybe; /** Position on grid */ position: BigConsoleWidgetPositionSpec; /** AI reasoning for this widget */ reasoning?: Maybe; /** Refresh interval in seconds */ refreshInterval?: Maybe; /** Suggested data source */ suggestedDataSource?: Maybe; /** Widget title */ title: Scalars['String']['output']; /** Widget type */ type: BigConsoleWidgetType; }; /** Input for updating a widget in generated spec */ export type BigConsoleGeneratedWidgetUpdateInput = { /** Config updates (merged with existing) */ config?: InputMaybe; /** Data path */ dataPath?: InputMaybe; /** New position */ position?: InputMaybe; /** Refresh interval */ refreshInterval?: InputMaybe; /** New title */ title?: InputMaybe; /** New type */ type?: InputMaybe; }; /** Global filter for dashboard-wide filtering */ export type BigConsoleGlobalFilter = { __typename?: 'BigConsoleGlobalFilter'; /** Cascade configuration (v1.0) */ cascadeConfig?: Maybe; /** Cascade depth level (v1.0) */ cascadeDepth: Scalars['Int']['output']; /** Filter configuration */ config: Scalars['JSON']['output']; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Creator user ID (v1.0) */ createdBy?: Maybe; dashboard?: Maybe; /** Parent dashboard ID */ dashboardId: Scalars['ID']['output']; /** Default value */ defaultValue?: Maybe; /** Parent filter ID for cascading (v1.0) */ dependsOn?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Required filter */ isRequired: Scalars['Boolean']['output']; /** Custom metadata */ metadata?: Maybe; /** Filter name */ name: Scalars['String']['output']; /** Display order */ order: Scalars['Int']['output']; /** Filter type */ type: BigConsoleFilterType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Last updater user ID (v1.0) */ updatedBy?: Maybe; /** Optimistic locking version (v1.0) */ version: Scalars['Int']['output']; }; /** Dashboard info extracted from export file */ export type BigConsoleImportDashboardInfo = { __typename?: 'BigConsoleImportDashboardInfo'; /** Dashboard description */ description?: Maybe; /** When the dashboard was exported */ exportedAt?: Maybe; /** Where the dashboard was exported from */ exportedFrom?: Maybe; /** Dashboard name */ name: Scalars['String']['output']; /** Number of pages */ pageCount: Scalars['Int']['output']; /** Export schema version */ schemaVersion: Scalars['String']['output']; /** Total number of widgets across all pages */ widgetCount: Scalars['Int']['output']; }; /** Input for importing a dashboard from JSON */ export type BigConsoleImportDashboardInput = { /** Conflict resolution strategy */ conflictResolution?: InputMaybe; /** JSON string containing dashboard definition */ json: Scalars['String']['input']; /** Override dashboard name */ name?: InputMaybe; /** Override visibility */ visibility?: InputMaybe; }; /** Import result */ export type BigConsoleImportDashboardResult = { __typename?: 'BigConsoleImportDashboardResult'; /** Created dashboard (if successful) */ dashboard?: Maybe; /** Error message (if failed) */ errorMessage?: Maybe; /** Import statistics */ stats?: Maybe; /** Whether import succeeded */ success: Scalars['Boolean']['output']; }; export type BigConsoleImportDashboardTemplateInput = { /** The DashboardTemplateContent document from StoreProduct.content. */ content: Scalars['JSON']['input']; /** * Slot bindings chosen by the installer. Optional and partial: unbound slots * are recorded on the created widgets rather than blocking the install. */ dataSinkBindings?: InputMaybe>; /** Values for the template's declared requiredInputs, keyed by input name. */ inputValues?: InputMaybe; /** Name for the new dashboard. Defaults to the template's own default name. */ name?: InputMaybe; /** Store product id the template came from. Recorded on the created dashboard. */ sourceTemplateId: Scalars['String']['input']; /** Store product name, recorded alongside the id for display. */ sourceTemplateName?: InputMaybe; /** Visibility for the new dashboard. Defaults to PRIVATE. */ visibility?: InputMaybe; }; export type BigConsoleImportDashboardTemplateResult = { __typename?: 'BigConsoleImportDashboardTemplateResult'; /** The created dashboard. */ dashboard?: Maybe; /** Error message when the template could not be installed at all. */ errorMessage?: Maybe; /** Slots successfully bound to a workspace sink. */ resolvedSlots: Array; /** Row counts for what was created. */ stats?: Maybe; /** * Whether the dashboard was created. Unconnected data sinks do NOT make this * false — a template installed into an empty workspace legitimately has none. */ success: Scalars['Boolean']['output']; /** Slots left without a data source. Drives the "connect your data" prompts. */ unresolvedSlots: Array; /** Non-fatal notes about the install, e.g. ignored or unbound selections. */ warnings: Array; /** How many widgets were created without a data source. */ widgetsNeedingData: Scalars['Int']['output']; }; export type BigConsoleInstallDashboardTemplateTypeInput = { templateKey: Scalars['String']['input']; templateVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Input to install (enable) a registered widget type for a workspace. */ export type BigConsoleInstallWidgetTypeInput = { publishType: Scalars['String']['input']; widgetType: Scalars['String']['input']; widgetVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * A dashboard template type installed in the request workspace: its active * version is enabled and AVAILABLE or DEPRECATED. */ export type BigConsoleInstalledDashboardTemplateType = { __typename?: 'BigConsoleInstalledDashboardTemplateType'; author?: Maybe; category?: Maybe; description?: Maybe; icon?: Maybe; /** When the active version was (re-)enabled in this workspace. */ installedAt: Scalars['DateTime']['output']; keywords: Array; name: Scalars['String']['output']; /** STORE | CUSTOM */ publishType: Scalars['String']['output']; /** * What the template needs, derived from its content at registration: * { requiredDataSinks, requiredInputs, requiredWidgetTypes, defaultDashboardName, * difficultyLevel, estimatedTimeMinutes, pageCount, widgetCount }. */ requirements: Scalars['JSON']['output']; /** AVAILABLE | DEPRECATED */ status: Scalars['String']['output']; templateKey: Scalars['String']['output']; templateVersion: Scalars['String']['output']; }; /** Input for instantiating a template */ export type BigConsoleInstantiateDashboardTemplateInput = { /** Dashboard description */ description?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** New dashboard name */ name: Scalars['String']['input']; /** Placeholder values */ placeholderValues: Scalars['JSON']['input']; /** Template ID */ templateId: Scalars['ID']['input']; /** Dashboard visibility */ visibility?: InputMaybe; }; /** A persisted narrative: the console explaining itself, with citations. */ export type BigConsoleNarrative = { __typename?: 'BigConsoleNarrative'; /** Structured, cited claims (empty on DECLINED/ERROR). */ claims: Array; /** When the narrative was created. */ createdAt: Scalars['DateTime']['output']; /** Dashboard the narrative belongs to (null for sink-only anomaly runs). */ dashboardId?: Maybe; /** Primary DataSink the narrative grounded in. */ dataSinkId?: Maybe; /** Why the narrative declined (set only when status is DECLINED). */ declineReason?: Maybe; /** Narrative ID. */ id: Scalars['ID']['output']; /** What the narrative explains. */ kind: BigConsoleNarrativeKind; /** Model that produced the narrative (null on decline paths with no call). */ model?: Maybe; /** Outcome of the run. */ status: BigConsoleNarrativeStatus; /** Human-readable summary. On DECLINED this is the refusal wording. */ summary: Scalars['String']['output']; /** Prompt tokens consumed by the run. */ tokensIn?: Maybe; /** Completion tokens produced by the run. */ tokensOut?: Maybe; /** How the narrative was triggered. */ trigger: BigConsoleNarrativeTrigger; /** Widget the narrative explains (widget/dashboard kinds). */ widgetId?: Maybe; }; /** A resolvable pointer to the data that supports one narrative claim. */ export type BigConsoleNarrativeCitation = { __typename?: 'BigConsoleNarrativeCitation'; /** The DataSink that carried the data. */ dataSinkId?: Maybe; /** The concrete field within the sink/parser rows the claim is about. */ field?: Maybe; /** The Parser that shaped the rows (when the widget binds one). */ parserId?: Maybe; /** Clickable route to the evidence (e.g. /bigconsole/datasinks/:id). */ route: Scalars['String']['output']; /** The Widget the narrative explains. */ widgetId?: Maybe; }; /** * One factual statement in a narrative. Every claim MUST carry at least one * citation — an uncited claim is dropped before the narrative is persisted. */ export type BigConsoleNarrativeClaim = { __typename?: 'BigConsoleNarrativeClaim'; /** The evidence behind the claim. */ citations: Array; /** The claim text, written for a human reader. */ text: Scalars['String']['output']; }; /** Runtime state of the narrative feature for the calling workspace. */ export type BigConsoleNarrativeFeatureStatus = { __typename?: 'BigConsoleNarrativeFeatureStatus'; /** Whether the workspace's bigconsole.ai.credits gate currently allows a call. */ creditsAvailable: Scalars['Boolean']['output']; /** Server-side narrative flag (off by default). */ enabled: Scalars['Boolean']['output']; /** Model provider configured (PROMPT_LLM_ENABLED plus at least one provider key: OPENAI_API_KEY, ANTHROPIC_API_KEY or OPENROUTER_API_KEY). */ modelConfigured: Scalars['Boolean']['output']; }; /** What a narrative explains. */ export declare enum BigConsoleNarrativeKind { /** An explanation of a fired alert (triggered by the alert runtime's events). */ Anomaly = "ANOMALY", /** An explanation across every widget on a dashboard. */ Dashboard = "DASHBOARD", /** A scheduled workspace/console digest (FluidGrids-triggered). */ Digest = "DIGEST", /** An explanation of a single widget's bound data. */ Widget = "WIDGET" } /** Outcome of a narrative run. */ export declare enum BigConsoleNarrativeStatus { /** The narrative completed with a summary and cited claims. */ Completed = "COMPLETED", /** The narrative declined (error/stale sink, model unavailable, or no credits). */ Declined = "DECLINED", /** The narrative run failed unexpectedly. */ Error = "ERROR" } /** How the narrative was triggered. */ export declare enum BigConsoleNarrativeTrigger { /** An alert execution fired (the BOFF-3556 alert runtime's matched outcome). */ Event = "EVENT", /** A user clicked the explain affordance (explainWidget / explainDashboard). */ Manual = "MANUAL", /** A FluidGrids scheduled workflow invoked the console digest. */ Scheduled = "SCHEDULED" } /** Input for rating a template */ export type BigConsoleRateDashboardTemplateInput = { /** Rating value (1-5) */ rating: Scalars['Int']['input']; /** Template ID */ templateId: Scalars['ID']['input']; }; /** Input for refining a generated dashboard specification */ export type BigConsoleRefineGeneratedDashboardInput = { /** Generation ID to refine */ generationId: Scalars['ID']['input']; /** Widgets to keep (by index) */ keepWidgetIndices?: InputMaybe>; /** Refinement instructions */ refinementPrompt: Scalars['String']['input']; /** Widgets to remove (by index) */ removeWidgetIndices?: InputMaybe>; /** Widget-specific refinements */ widgetRefinements?: InputMaybe>; }; /** Input for regenerating a dashboard */ export type BigConsoleRegenerateDashboardInput = { /** Modified configuration */ config?: InputMaybe; /** Original generation ID */ generationId: Scalars['ID']['input']; /** Modified prompt (optional, uses original if not provided) */ newPrompt?: InputMaybe; }; export type BigConsoleRegisterDashboardTemplateTypeInput = { author?: InputMaybe; /** * Also make this version the active version for workspaceId, replacing any * other active version of the same key. */ autoInstall?: InputMaybe; category?: InputMaybe; /** * The DashboardTemplateContent document (StoreProduct.content; JSON object or * JSON string, max 2 MiB): { definition: { schemaVersion, dashboard, pages }, * requiredDataSinks, requiredWidgetTypes, requiredInputs, ... }. A bare * dashboard export { schemaVersion, dashboard, pages } is accepted and wrapped. * The definition must be importable as-is (page names/orders, widget titles, * integer positions, ...) and create at most 500 rows (dashboard, pages, * widgets, actions, translations, drilldowns, global filters). Parser ids and * data-sink ids on widgets without a template slot are stripped. */ content: Scalars['JSON']['input']; description?: InputMaybe; icon?: InputMaybe; keywords?: InputMaybe>; /** * Optional store listing manifest (StoreProduct.manifest, max 64 KiB), kept for * provenance only. */ manifest?: InputMaybe; name: Scalars['String']['input']; /** STORE. (CUSTOM is reserved.) */ publishType: Scalars['String']['input']; /** * "store/{slug}": letters, digits, ".", "_" or "-" after the namespace, * starting with a letter or digit. Max 200 characters. Not trimmed. */ templateKey: Scalars['String']['input']; /** * 1-50 characters of letters, digits, ".", "+", "_" or "-", starting with a * letter or digit (e.g. "1.0", "1.2.0"). */ templateVersion: Scalars['String']['input']; /** * Must equal the request's x-workspace-id. Scopes RBAC and the autoInstall side * effect only — the catalog row itself is global. */ workspaceId: Scalars['ID']['input']; }; /** Input to register/upsert a widget type in the global registry. */ export type BigConsoleRegisterWidgetTypeInput = { author?: InputMaybe; /** When true, also enable the type for workspaceId (create the installation). */ autoInstall?: InputMaybe; capabilities?: InputMaybe; category?: InputMaybe; dataContract?: InputMaybe; defaultConfig?: InputMaybe; defaultResponsive?: InputMaybe; defaultSize: Scalars['JSON']['input']; description?: InputMaybe; icon?: InputMaybe; keywords?: InputMaybe>; maxSize?: InputMaybe; minSize?: InputMaybe; name: Scalars['String']['input']; /** WidgetPublishType: STORE | CUSTOM (BUILTIN is reserved for native types). */ publishType: Scalars['String']['input']; /** WidgetRenderer: BIGCONSOLE | ADAPTIVE_CARD | BLOCKKIT | CUSTOM. */ renderer?: InputMaybe; template?: InputMaybe; widgetType: Scalars['String']['input']; widgetVersion: Scalars['String']['input']; /** Workspace the install is scoped to (used for RBAC + auto-install). */ workspaceId: Scalars['ID']['input']; }; export type BigConsoleSetDashboardTemplateTypeStatusInput = { /** AVAILABLE | DEPRECATED | DISABLED */ status: Scalars['String']['input']; templateKey: Scalars['String']['input']; templateVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Input to set the lifecycle status of a registered widget type. */ export type BigConsoleSetWidgetTypeStatusInput = { /** WidgetConfigStatus: AVAILABLE | DEPRECATED | DISABLED. */ status: Scalars['String']['input']; widgetType: Scalars['String']['input']; widgetVersion: Scalars['String']['input']; /** Workspace used for RBAC scope resolution. */ workspaceId: Scalars['ID']['input']; }; /** * The calling profile's BigConsole preferences in the request workspace. * * Settings are personal: they belong to the calling actor inside the workspace of * the request, are never shared with the team, and follow the user across devices * and browsers. When nothing has been saved yet the defaults are returned with * `persisted: false`. */ export type BigConsoleSettings = { __typename?: 'BigConsoleSettings'; /** Whether transition animations and effects are enabled */ animationsEnabled: Scalars['Boolean']['output']; /** Whether new data sinks enable caching by default */ cacheEnabled: Scalars['Boolean']['output']; /** Default cache TTL for new data sinks, in seconds (0-86400) */ cacheTTLSeconds: Scalars['Int']['output']; /** Whether dashboards use reduced padding and spacing */ compactMode: Scalars['Boolean']['output']; /** Default number of grid columns for new dashboard pages (4-24) */ defaultGridColumns: Scalars['Int']['output']; /** Default auto-refresh interval for new widgets, in seconds (0 disables it, max 86400) */ defaultRefreshInterval: Scalars['Int']['output']; /** Default height, in grid units, for new widgets (1-12) */ defaultWidgetHeight: Scalars['Int']['output']; /** * Whether these values were saved by the caller. False means the caller has * never saved settings in this workspace and these are the defaults. */ persisted: Scalars['Boolean']['output']; /** Whether widgets are drawn with borders */ showWidgetBorders: Scalars['Boolean']['output']; /** When the caller last saved their settings; null when never saved */ updatedAt?: Maybe; }; /** Input for sharing a dashboard */ export type BigConsoleShareDashboardInput = { /** Dashboard ID to share */ dashboardId: Scalars['ID']['input']; /** Expiration date (optional) */ expiresAt?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Permission level */ permission?: InputMaybe; /** Recipient user or group ID */ recipientId: Scalars['ID']['input']; /** Type of recipient (user or group) */ recipientType: BigConsoleDashboardShareRecipientType; }; export type BigConsoleTagAssignment = { __typename?: 'BigConsoleTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; export type BigConsoleTagInfo = { __typename?: 'BigConsoleTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; /** Time bucket enumeration */ export declare enum BigConsoleTimeBucket { Day = "DAY", Hour = "HOUR", Month = "MONTH", Week = "WEEK" } /** Time range enumeration */ export declare enum BigConsoleTimeRange { AllTime = "ALL_TIME", Last_7Days = "LAST_7_DAYS", Last_30Days = "LAST_30_DAYS", Last_90Days = "LAST_90_DAYS", LastYear = "LAST_YEAR" } export type BigConsoleUninstallDashboardTemplateTypeInput = { templateKey: Scalars['String']['input']; /** * Version from the caller's install snapshot; recorded for audit only. * Uninstall disables whichever version of the key is active. */ templateVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Input to uninstall (disable) a widget type for a workspace. */ export type BigConsoleUninstallWidgetTypeInput = { widgetType: Scalars['String']['input']; widgetVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type BigConsoleUpdateDashboardEmbedPolicyInput = { allowedParentOrigins?: InputMaybe>; expiresAt?: InputMaybe; policyId: Scalars['ID']['input']; /** * Publish-time presentation options (BOFF-5735). Read live at view time, so a * change reflects on the next render with no re-publish. The "Powered by * BigConsole" footer is not an option: every embed always shows it. */ presentationTheme?: InputMaybe; sessionTtlSeconds?: InputMaybe; /** * Ignored. Every embed always shows the "Powered by BigConsole" footer. Accepted * only so older clients that still send it keep working. * @deprecated Embeds always show the BigConsole footer; this setting is ignored. */ showBrandingFooter?: InputMaybe; showDashboardTitle?: InputMaybe; }; /** Input for updating a dashboard */ export type BigConsoleUpdateDashboardInput = { /** Category */ category?: InputMaybe; /** Context */ context?: InputMaybe; /** Description */ description?: InputMaybe; /** Dashboard ID */ id: Scalars['ID']['input']; /** Layout */ layout?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Dashboard name */ name?: InputMaybe; /** Tag IDs */ tagIds?: InputMaybe>; /** Translations for different locales (i18n) */ translations?: InputMaybe>; /** Visibility */ visibility?: InputMaybe; }; /** Input for updating a dashboard page */ export type BigConsoleUpdateDashboardPageInput = { /** Context */ context?: InputMaybe; /** Grid columns */ gridColumns?: InputMaybe; /** Page ID */ id: Scalars['ID']['input']; /** Page layout */ layout?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Page name */ name?: InputMaybe; /** Display order */ order?: InputMaybe; }; export type BigConsoleUpdateDashboardRlsPolicyInput = { description?: InputMaybe; id: Scalars['ID']['input']; isActive?: InputMaybe; metadata?: InputMaybe; name?: InputMaybe; rules?: InputMaybe; }; /** Input for updating a share */ export type BigConsoleUpdateDashboardShareInput = { /** Expiration date */ expiresAt?: InputMaybe; /** Share ID */ id: Scalars['ID']['input']; /** Active status */ isActive?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Permission level */ permission?: InputMaybe; }; /** Input for updating a template */ export type BigConsoleUpdateDashboardTemplateInput = { /** Dashboard category */ category?: InputMaybe; /** Complexity level */ complexity?: InputMaybe; /** Console Definition JSON template */ definition?: InputMaybe; /** Template description */ description?: InputMaybe; /** Template ID */ id: Scalars['ID']['input']; /** Active status */ isActive?: InputMaybe; /** Featured flag */ isFeatured?: InputMaybe; /** Public visibility */ isPublic?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Template name */ name?: InputMaybe; /** Placeholder configuration */ placeholders?: InputMaybe; /** Preview URL */ previewUrl?: InputMaybe; /** Template status */ status?: InputMaybe; /** * Legacy tag input (string array). Use `tagsV2` for canonical [{key,value}] * shape (marqueue §251). Both fields are still written. */ tags?: InputMaybe>; /** * Canonical universal-tag input (marqueue §251). JSON array of `{key,value,...}` * records. When provided, takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; /** Thumbnail file ID */ thumbnailFileId?: InputMaybe; }; /** Input for updating a saved view */ export type BigConsoleUpdateDashboardViewInput = { /** View description */ description?: InputMaybe; /** Filter state */ filters?: InputMaybe; /** View ID */ id: Scalars['ID']['input']; /** Default view flag */ isDefault?: InputMaybe; /** Layout configuration */ layout?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** View name */ name?: InputMaybe; }; /** Input for updating a filter preset */ export type BigConsoleUpdateFilterPresetInput = { /** Description */ description?: InputMaybe; /** Filter values */ filterValues?: InputMaybe; /** Whether this should be the default preset */ isDefault?: InputMaybe; /** Custom metadata */ metadata?: InputMaybe; /** Preset name */ name?: InputMaybe; /** Display order */ order?: InputMaybe; }; /** Input for updating a global filter */ export type BigConsoleUpdateGlobalFilterInput = { /** Cascade configuration (v1.0) */ cascadeConfig?: InputMaybe; /** Filter configuration */ config?: InputMaybe; /** Context */ context?: InputMaybe; /** Default value */ defaultValue?: InputMaybe; /** Parent filter ID for cascading (v1.0) */ dependsOn?: InputMaybe; /** Filter ID */ id: Scalars['ID']['input']; /** Required status */ isRequired?: InputMaybe; /** Metadata */ metadata?: InputMaybe; /** Filter name */ name?: InputMaybe; /** Display order */ order?: InputMaybe; }; /** * Changes to the caller's BigConsole settings. Omitted or null fields keep their * current value (or the default when nothing was saved yet). Out-of-range values * are rejected with BAD_USER_INPUT and nothing is written. */ export type BigConsoleUpdateSettingsInput = { /** Whether transition animations and effects are enabled */ animationsEnabled?: InputMaybe; /** Whether new data sinks enable caching by default */ cacheEnabled?: InputMaybe; /** Default cache TTL for new data sinks, in seconds (0-86400) */ cacheTTLSeconds?: InputMaybe; /** Whether dashboards use reduced padding and spacing */ compactMode?: InputMaybe; /** Default number of grid columns for new dashboard pages (4-24) */ defaultGridColumns?: InputMaybe; /** Default auto-refresh interval for new widgets, in seconds (0-86400) */ defaultRefreshInterval?: InputMaybe; /** Default height, in grid units, for new widgets (1-12) */ defaultWidgetHeight?: InputMaybe; /** Whether widgets are drawn with borders */ showWidgetBorders?: InputMaybe; }; /** Input for updating a widget action */ export type BigConsoleUpdateWidgetActionInput = { /** Confirmation dialog configuration */ confirmation?: InputMaybe; /** Whether action is disabled */ disabled?: InputMaybe; /** Whether action is hidden */ hidden?: InputMaybe; /** Icon name */ icon?: InputMaybe; /** Action ID */ id: Scalars['ID']['input']; /** Display label */ label?: InputMaybe; /** Action name */ name?: InputMaybe; /** Display order */ order?: InputMaybe; /** Visual style */ style?: InputMaybe; /** Action type */ type?: InputMaybe; }; /** Input for updating an event webhook mapping */ export type BigConsoleUpdateWidgetEventWebhookMappingInput = { /** Event pattern to match */ eventPattern?: InputMaybe; /** Custom headers */ headers?: InputMaybe; /** Whether mapping is active */ isActive?: InputMaybe; /** HTTP method */ method?: InputMaybe; /** Payload transformation template */ payloadTemplate?: InputMaybe; /** Retry policy configuration */ retryPolicy?: InputMaybe; /** Webhook URL to invoke */ webhookUrl?: InputMaybe; }; /** Input for updating a widget */ export type BigConsoleUpdateWidgetInput = { /** Cache TTL override (v2.0) */ cacheTTL?: InputMaybe; /** Configuration */ config?: InputMaybe; /** Context */ context?: InputMaybe; /** Data sink ID (v2.0) - for context and drilldowns */ dataSinkId?: InputMaybe; /** Dataset ID (v2.0) */ datasetId?: InputMaybe; /** Widget ID */ id: Scalars['ID']['input']; /** Metadata */ metadata?: InputMaybe; /** Parser ID (v2.0) */ parserId?: InputMaybe; /** Inline parser rules (v2.0) */ parserRules?: InputMaybe; /** Position - Fixed Grid (legacy v1.2) */ position?: InputMaybe; /** Responsive position - v1.0 spec (column spans at breakpoints) */ positionResponsive?: InputMaybe; /** Refresh interval */ refreshInterval?: InputMaybe; /** Renderer type (v2.0) */ renderer?: InputMaybe; /** Row order for responsive layout */ rowOrder?: InputMaybe; /** Template definition (v2.0) */ template?: InputMaybe; /** Widget title */ title?: InputMaybe; /** Translations for different locales (i18n) */ translations?: InputMaybe>; }; /** * Input for creating or updating a dashboard translation. * Upsert is keyed on the (dashboardId, locale) pair. */ export type BigConsoleUpsertDashboardTranslationInput = { /** Target dashboard. */ dashboardId: Scalars['ID']['input']; /** Translated dashboard description (optional). */ description?: InputMaybe; /** ISO/BCP-47 locale code (e.g. "en", "es", "fr", "de", "zh"). */ locale: Scalars['String']['input']; /** Translated dashboard name. */ name: Scalars['String']['input']; }; /** A visualization component on a dashboard page */ export type BigConsoleWidget = { __typename?: 'BigConsoleWidget'; /** Widget actions (v2.0) - interactive elements that emit events */ actions: Array; /** Cache TTL override in seconds (v2.0) */ cacheTTL?: Maybe; /** Widget-specific configuration */ config: Scalars['JSON']['output']; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Parent dashboard ID (for federation compatibility) */ dashboardId?: Maybe; /** Current widget data (fetched from data source) */ data?: Maybe; /** Data sink ID (v2.0) - for context and drilldowns */ dataSinkId?: Maybe; /** Dataset ID within the data sink (v2.0) */ datasetId?: Maybe; /** Drill-down configuration */ drilldown?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Last data refresh timestamp */ lastRefreshedAt?: Maybe; /** Custom metadata */ metadata?: Maybe; page?: Maybe; /** Parent page ID */ pageId: Scalars['ID']['output']; /** The parser that provides data to this widget (resolved from parserId) */ parser?: Maybe; /** Parser ID for data transformation (v2.0) */ parserId?: Maybe; /** Inline parser rules (v2.0) - JQ or JSONPath query */ parserRules?: Maybe; /** Position and size - Fixed Grid (JSON for federation compatibility with module-analytics) */ position: Scalars['JSON']['output']; /** Responsive position - v1.0 spec (column spans at breakpoints) */ positionResponsive?: Maybe; /** Auto-refresh interval in seconds */ refreshInterval?: Maybe; /** Renderer type (v2.0) - determines how widget is rendered */ renderer: BigConsoleWidgetRenderer; /** Row order for responsive layout (auto-calculated if null) */ rowOrder?: Maybe; /** Parser that pushes output to this widget (v2.1 - resolved from Parser.outputWidgetId) */ sourceParser?: Maybe; tagAssignments: Array; /** Template definition (v2.0) - structure/layout for the renderer */ template?: Maybe; /** Widget title */ title: Scalars['String']['output']; /** Translations for different locales (i18n) */ translations: Array; /** Widget type */ type: BigConsoleWidgetType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** * Namespaced store/custom widget-type key (BOFF-2858), e.g. * "store/stripe-mrr-card". Null for native types. Store and custom widget types * are registered at runtime (WorkspaceWidgetInstallation / WidgetTypeConfig), so * they can never be static `BigConsoleWidgetType` members: they persist as * `custom`, and this field is the one that preserves a store instance's true * type. Clients use it to resolve the correct renderer/template from the * WidgetTypeConfig registry after reload. */ widgetTypeKey?: Maybe; }; /** An interactive action element on a widget (v2.0) */ export type BigConsoleWidgetAction = { __typename?: 'BigConsoleWidgetAction'; /** Confirmation dialog configuration */ confirmation?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Whether action is disabled */ disabled: Scalars['Boolean']['output']; /** Whether action is hidden */ hidden: Scalars['Boolean']['output']; /** Icon name (Lucide icon) */ icon?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Display label */ label: Scalars['String']['output']; /** Custom metadata */ metadata?: Maybe; /** Action name (used for event identification) */ name: Scalars['String']['output']; /** Display order */ order: Scalars['Int']['output']; /** Visual style */ style: BigConsoleWidgetActionStyle; /** Action type */ type: BigConsoleWidgetActionType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Parent widget ID */ widgetId: Scalars['ID']['output']; }; /** Confirmation dialog configuration for actions */ export type BigConsoleWidgetActionConfirmation = { __typename?: 'BigConsoleWidgetActionConfirmation'; /** Cancel button label */ cancelLabel: Scalars['String']['output']; /** Confirm button label */ confirmLabel: Scalars['String']['output']; /** Confirmation message */ message: Scalars['String']['output']; /** Dialog title */ title: Scalars['String']['output']; }; /** Input for confirmation dialog configuration */ export type BigConsoleWidgetActionConfirmationInput = { /** Cancel button label (default: "Cancel") */ cancelLabel?: InputMaybe; /** Confirm button label (default: "Confirm") */ confirmLabel?: InputMaybe; /** Confirmation message */ message: Scalars['String']['input']; /** Dialog title */ title: Scalars['String']['input']; }; /** Widget action style - v2.0 */ export declare enum BigConsoleWidgetActionStyle { /** Danger/destructive action (red) */ Danger = "DANGER", /** Primary action (highlighted) */ Primary = "PRIMARY", /** Secondary action (subtle) */ Secondary = "SECONDARY", /** Success action (green) */ Success = "SUCCESS", /** Warning action (yellow/orange) */ Warning = "WARNING" } /** Widget action type - v2.0 */ export declare enum BigConsoleWidgetActionType { /** Button action */ Button = "BUTTON", /** Custom action handler */ Custom = "CUSTOM", /** Link/navigation action */ Link = "LINK", /** Form submit action */ Submit = "SUBMIT" } /** Widget suggestion confidence level */ export declare enum BigConsoleWidgetConfidence { /** High confidence in widget suggestion */ High = "HIGH", /** Low confidence, may need user review */ Low = "LOW", /** Medium confidence */ Medium = "MEDIUM" } /** Widget connection */ export type BigConsoleWidgetConnection = { __typename?: 'BigConsoleWidgetConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; /** Widget data response */ export type BigConsoleWidgetData = { __typename?: 'BigConsoleWidgetData'; /** Whether data is from cache */ cached: Scalars['Boolean']['output']; /** Error if data fetch failed */ error?: Maybe; /** Data fetch timestamp */ fetchedAt: Scalars['DateTime']['output']; /** Transformed/filtered data */ processed: Scalars['JSON']['output']; /** Raw data from data source */ raw: Scalars['JSON']['output']; }; /** * Widget drill-down configuration: navigates from a widget to a page of the same * dashboard or to another dashboard (optionally a specific page of it) */ export type BigConsoleWidgetDrilldown = { __typename?: 'BigConsoleWidgetDrilldown'; /** Contextual information for tracking and audit */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Enabled status */ enabled: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Maximum nested drilldown depth a viewer can reach through this link (1-5) */ maxDepth: Scalars['Int']['output']; /** Custom metadata */ metadata?: Maybe; /** Navigation mode */ navigationMode: BigConsoleDrilldownNavigationMode; /** Parameter mapping configuration */ parameterMapping: Scalars['JSON']['output']; /** Whether the source dashboard's global filter values are carried to the target */ passGlobalFilters: Scalars['Boolean']['output']; sourceWidget?: Maybe; /** Source widget ID */ sourceWidgetId: Scalars['ID']['output']; /** * The target dashboard, or null when it no longer exists, is archived, or the * caller cannot read it. Clients treat null as "target unavailable". */ targetDashboard?: Maybe; /** * Target dashboard ID (opaque reference). Equals the source widget's own * dashboard when the drilldown targets another page of it. */ targetDashboardId: Scalars['ID']['output']; /** * The target page, or null when no page is set, the page was deleted, or the * target dashboard is unavailable to the caller. */ targetPage?: Maybe; /** * Target page ID inside the target dashboard, or null for its first page. * Becomes null when the page is deleted. */ targetPageId?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; }; export type BigConsoleWidgetEdge = { __typename?: 'BigConsoleWidgetEdge'; cursor: Scalars['String']['output']; node: BigConsoleWidget; }; /** Event delivery log entry (v2.0) */ export type BigConsoleWidgetEventLog = { __typename?: 'BigConsoleWidgetEventLog'; /** Action that triggered the event */ actionName?: Maybe; /** Number of delivery attempts */ attempts: Scalars['Int']['output']; /** Delivery completion timestamp */ completedAt?: Maybe; /** Event context (user, filters, selection, etc.) */ context?: Maybe; /** Event creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Dashboard where event occurred */ dashboardId: Scalars['ID']['output']; /** Error message if failed */ errorMessage?: Maybe; /** Event name/identifier */ eventName: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Page where event occurred */ pageId?: Maybe; /** Event payload */ payload: Scalars['JSON']['output']; /** Webhook response code */ responseCode?: Maybe; /** Delivery status */ status: BigConsoleWidgetEventStatus; /** Target webhook URL */ webhookUrl?: Maybe; /** Widget that emitted the event */ widgetId?: Maybe; /** Workspace where event occurred */ workspaceId: Scalars['ID']['output']; }; /** Event log connection for pagination */ export type BigConsoleWidgetEventLogConnection = { __typename?: 'BigConsoleWidgetEventLogConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type BigConsoleWidgetEventLogEdge = { __typename?: 'BigConsoleWidgetEventLogEdge'; cursor: Scalars['String']['output']; node: BigConsoleWidgetEventLog; }; /** * Widget event delivery status (v2.0). bigconsole-owned since BOFF-3550, so every * stored delivery state is published as-is instead of being folded into the * workflow subgraph's ACTIVE/ARCHIVED/DISABLED/PAUSED values. */ export declare enum BigConsoleWidgetEventStatus { /** Event successfully delivered to webhook */ Delivered = "DELIVERED", /** Event delivery failed */ Failed = "FAILED", /** No webhook configured, event ignored */ Ignored = "IGNORED", /** Event created, waiting to be processed */ Pending = "PENDING", /** Event is being processed */ Processing = "PROCESSING", /** Retrying delivery after failure */ Retrying = "RETRYING" } /** Maps events to webhook endpoints (v2.0) */ export type BigConsoleWidgetEventWebhookMapping = { __typename?: 'BigConsoleWidgetEventWebhookMapping'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Dashboard scope (optional - applies to all dashboards if null) */ dashboardId?: Maybe; /** Event pattern to match (supports wildcards: "server:*:clicked") */ eventPattern: Scalars['String']['output']; /** Custom headers (JSON) */ headers?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether mapping is active */ isActive: Scalars['Boolean']['output']; /** HTTP method */ method: BigConsoleWidgetHttpMethod; /** Payload transformation template (JQ or Mustache) */ payloadTemplate?: Maybe; /** Retry policy configuration */ retryPolicy?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Webhook URL to invoke */ webhookUrl: Scalars['String']['output']; /** Widget scope (optional - applies to all widgets if null) */ widgetId?: Maybe; /** Workspace scope */ workspaceId: Scalars['ID']['output']; }; /** HTTP method for webhooks - v2.0 */ export declare enum BigConsoleWidgetHttpMethod { Delete = "DELETE", Get = "GET", Patch = "PATCH", Post = "POST", Put = "PUT" } /** Widget position and size - Fixed Grid (legacy v1.2) */ export type BigConsoleWidgetPosition = { __typename?: 'BigConsoleWidgetPosition'; /** Height in grid rows */ height: Scalars['Int']['output']; /** Width in grid columns */ width: Scalars['Int']['output']; /** X coordinate in grid */ x: Scalars['Int']['output']; /** Y coordinate in grid */ y: Scalars['Int']['output']; }; /** Widget position input - Fixed Grid (legacy v1.2) */ export type BigConsoleWidgetPositionInput = { /** Height in rows */ height: Scalars['Int']['input']; /** Width in columns */ width: Scalars['Int']['input']; /** X coordinate */ x: Scalars['Int']['input']; /** Y coordinate */ y: Scalars['Int']['input']; }; /** Widget position specification */ export type BigConsoleWidgetPositionSpec = { __typename?: 'BigConsoleWidgetPositionSpec'; height: Scalars['Int']['output']; width: Scalars['Int']['output']; x: Scalars['Int']['output']; y: Scalars['Int']['output']; }; /** Input for batch position update */ export type BigConsoleWidgetPositionUpdateInput = { /** Widget ID to update */ id: Scalars['ID']['input']; /** New position */ position: BigConsoleWidgetPositionInput; }; /** Input for refining a specific widget */ export type BigConsoleWidgetRefinementInput = { /** Config overrides */ configOverrides?: InputMaybe; /** Refinement instructions for this widget */ instructions?: InputMaybe; /** Position adjustment */ position?: InputMaybe; /** New title */ title?: InputMaybe; /** New widget type */ type?: InputMaybe; /** Widget index in the generated spec */ widgetIndex: Scalars['Int']['input']; }; /** * Widget renderer type - v2.0 * Determines how the widget is rendered */ export declare enum BigConsoleWidgetRenderer { /** Microsoft Adaptive Cards renderer */ AdaptiveCard = "ADAPTIVE_CARD", /** BigConsole native renderer (default) */ Bigconsole = "BIGCONSOLE", /** Slack Block Kit renderer */ Blockkit = "BLOCKKIT", /** Custom React component renderer */ Custom = "CUSTOM" } /** Renderer information for UI */ export type BigConsoleWidgetRendererInfo = { __typename?: 'BigConsoleWidgetRendererInfo'; /** Description */ description: Scalars['String']['output']; /** Icon name */ icon: Scalars['String']['output']; /** Display name */ name: Scalars['String']['output']; /** Widget types supported by this renderer */ supportedWidgetTypes: Array; /** JSON schema for template validation */ templateSchema?: Maybe; /** Renderer type */ type: BigConsoleWidgetRenderer; }; /** * Widget responsive position - v1.0 spec * Column spans at different breakpoints (12-column grid) */ export type BigConsoleWidgetResponsivePosition = { __typename?: 'BigConsoleWidgetResponsivePosition'; /** Column span at lg breakpoint (1024px+) */ lg: Scalars['Int']['output']; /** Column span at md breakpoint (768-1024px) */ md: Scalars['Int']['output']; /** Column span at sm breakpoint (640-768px) */ sm: Scalars['Int']['output']; /** Column span at xs breakpoint (0-640px) */ xs: Scalars['Int']['output']; }; /** * Widget responsive position input - v1.0 spec * Column spans at different breakpoints (12-column grid) */ export type BigConsoleWidgetResponsivePositionInput = { /** Column span at lg breakpoint (1024px+), default: 3 (quarter width) */ lg?: Scalars['Int']['input']; /** Column span at md breakpoint (768-1024px), default: 4 (third width) */ md?: Scalars['Int']['input']; /** Column span at sm breakpoint (640-768px), default: 6 (half width) */ sm?: Scalars['Int']['input']; /** Column span at xs breakpoint (0-640px), default: 12 (full width) */ xs?: Scalars['Int']['input']; }; /** Retry policy for webhook delivery */ export type BigConsoleWidgetRetryPolicy = { __typename?: 'BigConsoleWidgetRetryPolicy'; /** Initial backoff in milliseconds */ backoffMs: Scalars['Int']['output']; /** Backoff multiplier for exponential backoff */ backoffMultiplier: Scalars['Float']['output']; /** Maximum retry attempts */ maxRetries: Scalars['Int']['output']; }; /** Input for retry policy configuration */ export type BigConsoleWidgetRetryPolicyInput = { /** Initial backoff in milliseconds (default: 1000) */ backoffMs?: InputMaybe; /** Backoff multiplier (default: 2.0) */ backoffMultiplier?: InputMaybe; /** Maximum retry attempts (default: 3) */ maxRetries?: InputMaybe; }; /** Widget size information */ export type BigConsoleWidgetSizeInfo = { __typename?: 'BigConsoleWidgetSizeInfo'; /** Height in grid rows */ height: Scalars['Int']['output']; /** Width in grid columns */ width: Scalars['Int']['output']; }; /** Widget translation for a specific locale (i18n support) */ export type BigConsoleWidgetTranslation = { __typename?: 'BigConsoleWidgetTranslation'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Locale code (e.g., "en", "es", "fr", "de", "zh") */ locale: Scalars['String']['output']; /** Translated widget title */ title: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Parent widget ID */ widgetId: Scalars['ID']['output']; }; /** Input for widget translation (i18n) */ export type BigConsoleWidgetTranslationInput = { /** Locale code (e.g., "en", "es", "fr", "de", "zh") */ locale: Scalars['String']['input']; /** Translated widget title */ title: Scalars['String']['input']; }; /** * BigConsole widget type enumeration. * * This enum is owned by the bigconsole subgraph alone (BOFF-3550). It used to be * co-defined with wspace-analytics-svc as the generic `WidgetType`, which forced * Federation to keep both value sets identical and hid every bigconsole-only value * behind `@inaccessible`. Forking it under the BigConsole prefix makes every native * value addressable through the gateway and lets bigconsole add widget types without * coordinating with analytics. Dynamically registered store/custom widget types are * not enum members; they are carried by `BigConsoleWidget.widgetTypeKey`. */ export declare enum BigConsoleWidgetType { /** Microsoft Adaptive Cards renderer (bigconsole-native) */ AdaptiveCard = "ADAPTIVE_CARD", /** Area chart visualization */ AreaChart = "AREA_CHART", /** Bar chart visualization */ BarChart = "BAR_CHART", BoxPlot = "BOX_PLOT", /** Multi-type chart wrapper (bigconsole-native) */ Chart = "CHART", /** Custom widget (bigconsole-native) */ Custom = "CUSTOM", /** Funnel visualization */ Funnel = "FUNNEL", /** Gauge indicator (bigconsole-native) */ Gauge = "GAUGE", /** Heatmap visualization */ Heatmap = "HEATMAP", /** KPI card */ Kpi = "KPI", /** Line chart visualization */ LineChart = "LINE_CHART", /** Scrollable list (bigconsole-native) */ List = "LIST", Map = "MAP", /** Metric card with trend (bigconsole-native) */ MetricCard = "METRIC_CARD", /** Pie chart visualization */ PieChart = "PIE_CHART", /** Progress bar (bigconsole-native) */ Progress = "PROGRESS", /** Retention analysis */ Retention = "RETENTION", Sankey = "SANKEY", /** Data table */ Table = "TABLE", Waterfall = "WATERFALL", /** Calendar view for events/schedules */ calendar = "calendar", /** Multi-type chart wrapper (v2.0 internal) */ chart_v2 = "chart_v2", /** Form widget for data input */ form = "form", /** Funnel/pipeline visualization (v2.0 internal) */ funnel_chart = "funnel_chart", /** Embedded external content */ iframe = "iframe", /** Kanban board for task management */ kanban = "kanban", /** KPI Card with comparison metrics (v2.0 internal) */ kpi_card_comparison = "kpi_card_comparison", /** Geographic map visualization */ map = "map", /** Single metric display with trend (v2.0 internal) */ metric_card_v2 = "metric_card_v2", /** Pivot table for data analysis */ pivot_table = "pivot_table", /** Rich text or markdown content */ text = "text", /** Timeline/Gantt visualization */ timeline = "timeline" } /** Metadata about a widget type for the widget palette */ export type BigConsoleWidgetTypeInfo = { __typename?: 'BigConsoleWidgetTypeInfo'; /** Category for grouping (KPI, Visualization, Data, Custom) */ category: Scalars['String']['output']; /** Default configuration for new widgets */ defaultConfig: Scalars['JSON']['output']; /** Default size for new widgets */ defaultSize: BigConsoleWidgetSizeInfo; /** Description of what this widget does */ description: Scalars['String']['output']; /** * Canonical API enum for this native type. Null for store/custom registrations. * Clients use this ordinary catalog metadata without enabling schema introspection. */ federationType?: Maybe; /** Icon name (Lucide icon) */ icon: Scalars['String']['output']; /** Human-readable label */ label: Scalars['String']['output']; /** Maximum allowed size */ maxSize: BigConsoleWidgetSizeInfo; /** Minimum allowed size */ minSize: BigConsoleWidgetSizeInfo; /** * Renderer the palette should use for this type: BIGCONSOLE | ADAPTIVE_CARD | * BLOCKKIT | CUSTOM. Null for built-ins (they default to BIGCONSOLE). */ renderer?: Maybe; /** * Provenance of this type (BOFF-2858): "BUILTIN" for native types, or * "STORE" / "CUSTOM" for types resolved from the WidgetTypeConfig registry. * Null is treated as BUILTIN by clients. Additive, nullable, composition-safe. */ source?: Maybe; /** * Widget type catalog key (e.g. "metric_card", "chart", "map"). * * This is the canonical front-end widget-type key, NOT the `BigConsoleWidgetType` * enum. The catalog keys are lowercase renderer keys (and include store/custom * registrations), so the field is a plain String. `BigConsoleWidgetTypeInfo` is a * bigconsole-only palette type (not `@shareable`, no `@key`), so this is * composition-safe. */ type: Scalars['String']['output']; /** Registry version for store/custom types (e.g. "1.0.0"); null for built-ins. */ version?: Maybe; }; /** * Result of a widget-type registry mutation. Lightweight projection of * WidgetTypeConfig / WorkspaceWidgetInstallation. */ export type BigConsoleWidgetTypeRegistration = { __typename?: 'BigConsoleWidgetTypeRegistration'; /** * Whether this type is currently enabled for the workspace in the request * context (null when the mutation had no workspace scope). */ installedInWorkspace?: Maybe; name: Scalars['String']['output']; publishType: Scalars['String']['output']; renderer: Scalars['String']['output']; status: Scalars['String']['output']; widgetType: Scalars['String']['output']; widgetVersion: Scalars['String']['output']; }; /** Result of testing a webhook mapping */ export type BigConsoleWidgetWebhookTestResult = { __typename?: 'BigConsoleWidgetWebhookTestResult'; /** Error message if test failed */ errorMessage?: Maybe; /** Round-trip latency in milliseconds */ latencyMs: Scalars['Int']['output']; /** Response body from webhook (if JSON) */ responseBody?: Maybe; /** HTTP status code from webhook response */ statusCode?: Maybe; /** Whether the test was successful */ success: Scalars['Boolean']['output']; }; export declare enum BillingPlan { Enterprise = "ENTERPRISE", Free = "FREE", Pro = "PRO" } export declare enum BillingType { Billable = "BILLABLE", Internal = "INTERNAL", NonBillable = "NON_BILLABLE" } /** Token blacklist statistics */ export type BlacklistStatistics = { __typename?: 'BlacklistStatistics'; /** Count by token type */ byType: Array; /** Number of expired tokens that can be cleaned up */ expiredCount: Scalars['Int']['output']; /** Total number of blacklisted tokens */ total: Scalars['Int']['output']; }; export type BlackoutDate = { __typename?: 'BlackoutDate'; calendarId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isRecurring: Scalars['Boolean']['output']; metadata?: Maybe; reason?: Maybe; recurrencePattern?: Maybe; startDate: Scalars['DateTime']['output']; userId?: Maybe; }; export type BlackoutDateConnection = { __typename?: 'BlackoutDateConnection'; blackouts: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; /** * A visual board for managing work items through columns representing * workflow stages. */ export type Board = { __typename?: 'Board'; /** Ordered columns on this board */ columns: Array; /** Context information */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this board */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe; /** Board description */ description?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this is the default board for the project */ isDefault: Scalars['Boolean']['output']; /** Arbitrary metadata */ metadata?: Maybe; /** Board name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe; /** Parent project */ project?: Maybe; /** Parent project ID */ projectId: Scalars['String']['output']; /** Board type */ type: BoardType; /** * Live work items of the board's project that are on no column: their status * has no column and they were never placed on one */ unplacedCount: Scalars['Int']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this board */ updatedBy?: Maybe; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** A column within a board representing a workflow stage. */ export type BoardColumn = { __typename?: 'BoardColumn'; /** Parent board ID */ boardId: Scalars['String']['output']; /** * The work items this column shows. An item placed in a column stays there * unless the column maps to a status the item no longer has; otherwise it is * in the first column mapped to its status. `filter` shows only the matching * cards (a board view's filter; the WIP limit ignores it); `sort` orders them * (the board's own drag-and-drop order, RANK, when omitted). */ cards: PlanmagnetWorkItemList; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** How many work items are in this column, ignoring any card filter — what the WIP limit is measured against */ itemCount: Scalars['Int']['output']; /** Work item status this column maps to */ mappedStatus?: Maybe; /** Arbitrary metadata */ metadata?: Maybe; /** Column name */ name: Scalars['String']['output']; /** Sort order within the board */ sortOrder: Scalars['Int']['output']; /** Column type */ type: BoardColumnType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Work-in-progress limit (0 = unlimited) */ wipLimit?: Maybe; }; /** A column within a board representing a workflow stage. */ export type BoardColumnCardsArgs = { filter?: InputMaybe; pagination?: InputMaybe; sort?: InputMaybe; }; export declare enum BoardColumnType { Backlog = "BACKLOG", Custom = "CUSTOM", Done = "DONE", InProgress = "IN_PROGRESS", Review = "REVIEW", Testing = "TESTING", Todo = "TODO" } export declare enum BoardType { Custom = "CUSTOM", Kanban = "KANBAN", Scrum = "SCRUM" } export type BookResourceInput = { endTime: Scalars['DateTime']['input']; eventId: Scalars['ID']['input']; metadata?: InputMaybe; notes?: InputMaybe; resourceId: Scalars['ID']['input']; startTime: Scalars['DateTime']['input']; }; export type Booking = { __typename?: 'Booking'; amountPaid?: Maybe; bookerEmail: Scalars['String']['output']; bookerName: Scalars['String']['output']; bookerPhone?: Maybe; bookingPage: BookingPage; bookingPageId: Scalars['String']['output']; calendar: Calendar; cancellationReason?: Maybe; cancellationToken: Scalars['String']['output']; cancelledAt?: Maybe; confirmedAt?: Maybe; createdAt: Scalars['DateTime']['output']; event?: Maybe; formData: Scalars['JSON']['output']; id: Scalars['ID']['output']; maxReschedules: Scalars['Int']['output']; metadata?: Maybe; noShowMarkedAt?: Maybe; paymentIntentId?: Maybe; paymentStatus?: Maybe; rescheduleCount: Scalars['Int']['output']; rescheduleToken: Scalars['String']['output']; selectedSlotEnd: Scalars['DateTime']['output']; selectedSlotStart: Scalars['DateTime']['output']; status: BookingStatus; updatedAt: Scalars['DateTime']['output']; }; export type BookingConnection = { __typename?: 'BookingConnection'; bookings: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; export type BookingFormField = { __typename?: 'BookingFormField'; bookingPageId: Scalars['String']['output']; displayOrder: Scalars['Int']['output']; fieldLabel: Scalars['String']['output']; fieldName: Scalars['String']['output']; fieldOptions?: Maybe; fieldType: BookingFormFieldType; helpText?: Maybe; id: Scalars['ID']['output']; isRequired: Scalars['Boolean']['output']; metadata?: Maybe; placeholder?: Maybe; validationRules?: Maybe; }; export declare enum BookingFormFieldType { Checkbox = "CHECKBOX", Date = "DATE", Email = "EMAIL", MultiSelect = "MULTI_SELECT", Number = "NUMBER", Phone = "PHONE", Radio = "RADIO", Select = "SELECT", Text = "TEXT", Textarea = "TEXTAREA", Time = "TIME", Url = "URL" } export type BookingPage = { __typename?: 'BookingPage'; availabilityRules: Array; bookings: Array; bufferAfter: Scalars['Int']['output']; bufferBefore: Scalars['Int']['output']; calendar: Calendar; calendarId: Scalars['String']['output']; collectiveHosts?: Maybe>; confirmationMessage?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency?: Maybe; customColor?: Maybe; customLogo?: Maybe; enableWaitlist: Scalars['Boolean']['output']; eventDuration: Scalars['Int']['output']; eventType: EventType; formFields: Array; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; isPublic: Scalars['Boolean']['output']; locationDetails?: Maybe; locationType?: Maybe; maxAttendees: Scalars['Int']['output']; maxBookingsPerDay?: Maybe; maxBookingsPerWeek?: Maybe; maxNotice?: Maybe; meetingProvider?: Maybe; metadata?: Maybe; minNotice?: Maybe; name: Scalars['String']['output']; pageType: BookingPageType; price?: Maybe; redirectAfterBooking?: Maybe; reminderMinutes: Scalars['Int']['output']; requireApproval: Scalars['Boolean']['output']; requirePayment: Scalars['Boolean']['output']; roundRobinHosts?: Maybe>; sendConfirmationEmail: Scalars['Boolean']['output']; sendReminderEmail: Scalars['Boolean']['output']; slotIncrement: Scalars['Int']['output']; slug: Scalars['String']['output']; teamId?: Maybe; updatedAt: Scalars['DateTime']['output']; welcomeMessage?: Maybe; }; export type BookingPageConnection = { __typename?: 'BookingPageConnection'; hasMore: Scalars['Boolean']['output']; pages: Array; total: Scalars['Int']['output']; }; export type BookingPagePublic = { __typename?: 'BookingPagePublic'; customColor?: Maybe; customLogo?: Maybe; eventDuration: Scalars['Int']['output']; formFields: Array; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; locationType?: Maybe; maxAttendees: Scalars['Int']['output']; maxNotice?: Maybe; minNotice?: Maybe; name: Scalars['String']['output']; pageType: BookingPageType; slotIncrement: Scalars['Int']['output']; slug: Scalars['String']['output']; welcomeMessage?: Maybe; }; export declare enum BookingPageType { Collective = "COLLECTIVE", Group = "GROUP", OneOnOne = "ONE_ON_ONE", RoundRobin = "ROUND_ROBIN" } export declare enum BookingStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", NoShow = "NO_SHOW", Pending = "PENDING", Rejected = "REJECTED" } export type BotApp = { __typename?: 'BotApp'; bucketId?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; currentVersionId?: Maybe; defaultAgentId?: Maybe; deletedAt?: Maybe; description?: Maybe; draftVersionId?: Maybe; executionCount: Scalars['Int']['output']; fallbackMessage?: Maybe; icon?: Maybe; id: Scalars['ID']['output']; lastExecutedAt?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; routingStrategy: RoutingStrategy; slug: Scalars['String']['output']; status: BotAppStatus; tagIds: Array; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tags: Scalars['JSON']['output']; type: BotAppType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: BotAppVisibility; welcomeMessage?: Maybe; workflowId?: Maybe; workspaceId: Scalars['ID']['output']; }; /** * Exact bot counts for one workspace, by status. Soft-deleted bots are never * counted. `total` includes every status, archived bots too; a UI that wants * "bots that are not archived" subtracts `archived`. */ export type BotAppCounts = { __typename?: 'BotAppCounts'; active: Scalars['Int']['output']; archived: Scalars['Int']['output']; draft: Scalars['Int']['output']; paused: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type BotAppFilterInput = { bucketId?: InputMaybe; context?: InputMaybe; createdById?: InputMaybe; search?: InputMaybe; status?: InputMaybe; type?: InputMaybe; visibility?: InputMaybe; workspaceId?: InputMaybe; }; export type BotAppStats = { __typename?: 'BotAppStats'; avgDurationMs?: Maybe; botAppId: Scalars['ID']['output']; failedExecutions: Scalars['Int']['output']; lastExecutedAt?: Maybe; successfulExecutions: Scalars['Int']['output']; totalCost: Scalars['Float']['output']; totalExecutions: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum BotAppStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } export declare enum BotAppType { Analyst = "ANALYST", Assistant = "ASSISTANT", Automation = "AUTOMATION", Specialist = "SPECIALIST" } export type BotAppVersion = { __typename?: 'BotAppVersion'; botAppId: Scalars['ID']['output']; changelog?: Maybe; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; publishedAt?: Maybe; publishedById?: Maybe; status: VersionStatus; version: Scalars['String']['output']; }; export declare enum BotAppVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } /** Deprecated: use BotmanorAgent. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type BotlitAgent = { __typename?: 'BotlitAgent'; bucketId?: Maybe; capabilities: Array; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; currentVersionId?: Maybe; deletedAt?: Maybe; description?: Maybe; draftVersionId?: Maybe; executionCount: Scalars['Int']['output']; id: Scalars['ID']['output']; knowledgeBaseIds: Array; lastExecutedAt?: Maybe; llmModelId?: Maybe; maxConcurrentExecutions: Scalars['Int']['output']; maxTokens?: Maybe; mcpConnectionIds: Array; metadata?: Maybe; name: Scalars['String']['output']; slug: Scalars['String']['output']; specialization?: Maybe; status: BotlitAgentStatus; systemPrompt: Scalars['String']['output']; tagIds: Array; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tags: Scalars['JSON']['output']; temperature?: Maybe; type: BotlitAgentType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: AgentVisibility; workflowIds: Array; workspaceId: Scalars['ID']['output']; }; /** Deprecated: use BotmanorAgentCapability. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export declare enum BotlitAgentCapability { A2A = "A2A", CodeExecution = "CODE_EXECUTION", McpTools = "MCP_TOOLS", Memory = "MEMORY", Multimodal = "MULTIMODAL", Rag = "RAG", Reasoning = "REASONING", WebBrowsing = "WEB_BROWSING" } /** Deprecated: use BotmanorAgentStatus. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export declare enum BotlitAgentStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED", Training = "TRAINING" } /** Deprecated: use BotmanorAgentType. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export declare enum BotlitAgentType { Analyst = "ANALYST", Assistant = "ASSISTANT", Automation = "AUTOMATION", Specialist = "SPECIALIST" } /** Deprecated: use BotmanorHealthStatus. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export declare enum BotlitHealthStatus { Degraded = "DEGRADED", Healthy = "HEALTHY", Unhealthy = "UNHEALTHY", Unknown = "UNKNOWN" } /** Deprecated: use BotmanorLLMModel. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type BotlitLlmModel = { __typename?: 'BotlitLLMModel'; contextWindow: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; id: Scalars['ID']['output']; inputPricePerMToken: Scalars['Float']['output']; isActive: Scalars['Boolean']['output']; maxOutputTokens: Scalars['Int']['output']; metadata?: Maybe; modelId: Scalars['String']['output']; name: Scalars['String']['output']; outputPricePerMToken: Scalars['Float']['output']; providerId: Scalars['ID']['output']; supportsFunctionCalling: Scalars['Boolean']['output']; supportsStreaming: Scalars['Boolean']['output']; supportsVision: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; }; /** Deprecated: use BotmanorLLMProvider. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type BotlitLlmProvider = { __typename?: 'BotlitLLMProvider'; apiEndpoint?: Maybe; connectionId?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; credentialsHash?: Maybe; deletedAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; type: BotlitLlmProviderType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** Deprecated: use BotmanorLLMProviderType. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export declare enum BotlitLlmProviderType { Anthropic = "ANTHROPIC", AwsBedrock = "AWS_BEDROCK", AzureOpenai = "AZURE_OPENAI", Cohere = "COHERE", Custom = "CUSTOM", Google = "GOOGLE", Groq = "GROQ", Huggingface = "HUGGINGFACE", Mistral = "MISTRAL", Openai = "OPENAI", Together = "TOGETHER" } /** * A FluidGrids workflow run started from Botlit, paired with the Botlit * `Execution` row (type `WORKFLOW`) that tracks it. * * Deprecated: use BotmanorWorkflowRun. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type BotlitWorkflowRun = { __typename?: 'BotlitWorkflowRun'; /** Botlit execution record tracking this run */ execution: Execution; /** Run id returned by wspace-workflow-svc */ runId: Scalars['String']['output']; /** Run status reported by wspace-workflow-svc at trigger time */ status: Scalars['String']['output']; /** Trigger node the run started from */ triggerNodeId: Scalars['String']['output']; /** Workflow version that was triggered */ version: Scalars['String']['output']; /** Opaque workflow definition id that was triggered */ workflowId: Scalars['ID']['output']; /** Workflow routing key in wspace-workflow-svc */ workflowKey: Scalars['String']['output']; }; export type BotmanorAgent = { __typename?: 'BotmanorAgent'; bucketId?: Maybe; capabilities: Array; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; currentVersionId?: Maybe; deletedAt?: Maybe; description?: Maybe; draftVersionId?: Maybe; executionCount: Scalars['Int']['output']; id: Scalars['ID']['output']; knowledgeBaseIds: Array; lastExecutedAt?: Maybe; llmModelId?: Maybe; maxConcurrentExecutions: Scalars['Int']['output']; maxTokens?: Maybe; mcpConnectionIds: Array; metadata?: Maybe; name: Scalars['String']['output']; slug: Scalars['String']['output']; specialization?: Maybe; status: BotmanorAgentStatus; systemPrompt: Scalars['String']['output']; tagIds: Array; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tags: Scalars['JSON']['output']; temperature?: Maybe; type: BotmanorAgentType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: AgentVisibility; workflowIds: Array; workspaceId: Scalars['ID']['output']; }; export type BotmanorAgentApprovalFilterInput = { agentId?: InputMaybe; status?: InputMaybe; }; export type BotmanorAgentApprovalRequest = { __typename?: 'BotmanorAgentApprovalRequest'; agentId: Scalars['ID']['output']; /** The agent's versioned config (prompt, model, tools, limits) exactly as submitted for review. */ configSnapshot: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; decisionReason?: Maybe; id: Scalars['ID']['output']; /** * True for a PENDING request whose agent config changed after it was submitted. * Such a request cannot be approved; the requester must submit a new one. */ isStale: Scalars['Boolean']['output']; requestNote?: Maybe; requestedById: Scalars['ID']['output']; reviewerId?: Maybe; status: BotmanorAgentApprovalStatus; updatedAt: Scalars['DateTime']['output']; /** The draft version that approval will publish (null when the agent had no open draft). */ versionId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type BotmanorAgentApprovalSettings = { __typename?: 'BotmanorAgentApprovalSettings'; /** * When true, agents only go live through an approved activation request. * Defaults to false for workspaces that never configured it. */ requireActivationApproval: Scalars['Boolean']['output']; updatedAt?: Maybe; updatedById?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum BotmanorAgentApprovalStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Pending = "PENDING", Rejected = "REJECTED" } export declare enum BotmanorAgentCapability { A2A = "A2A", CodeExecution = "CODE_EXECUTION", McpTools = "MCP_TOOLS", Memory = "MEMORY", Multimodal = "MULTIMODAL", Rag = "RAG", Reasoning = "REASONING", WebBrowsing = "WEB_BROWSING" } /** * Exact agent counts for one workspace, by status. Soft-deleted agents are never * counted. `total` includes every status, archived agents too. */ export type BotmanorAgentCounts = { __typename?: 'BotmanorAgentCounts'; active: Scalars['Int']['output']; archived: Scalars['Int']['output']; draft: Scalars['Int']['output']; paused: Scalars['Int']['output']; total: Scalars['Int']['output']; training: Scalars['Int']['output']; }; /** * `AgentFilterInput` with the BotManor enums (BOFF-9561). Filters exactly like the * legacy input; `listBotmanorAgents` takes it in place of `AgentFilterInput`. */ export type BotmanorAgentFilterInput = { bucketId?: InputMaybe; context?: InputMaybe; createdById?: InputMaybe; search?: InputMaybe; status?: InputMaybe; type?: InputMaybe; visibility?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum BotmanorAgentStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED", Training = "TRAINING" } export declare enum BotmanorAgentType { Analyst = "ANALYST", Assistant = "ASSISTANT", Automation = "AUTOMATION", Specialist = "SPECIALIST" } /** One handoff of a live conversation from an agent to a human operator. */ export type BotmanorConversationHandoff = { __typename?: 'BotmanorConversationHandoff'; acceptedAt?: Maybe; agentId: Scalars['ID']['output']; assignedToId?: Maybe; /** Resolved wspace-conversations-svc conversation id, once known. */ conversationId?: Maybe; /** Stable thread key (`webchat-{agentId}-{userId}` or caller conversationId). */ conversationKey: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; events: Array; executionId?: Maybe; id: Scalars['ID']['output']; /** Human-readable reason, including the confidence signals when applicable. */ reason: Scalars['String']['output']; releasedAt?: Maybe; resolvedAt?: Maybe; status: BotmanorHandoffStatus; trigger: BotmanorHandoffTrigger; updatedAt: Scalars['DateTime']['output']; userMessage?: Maybe; }; /** Per-agent escalation configuration. Returned with safe defaults when never saved. */ export type BotmanorHandoffConfig = { __typename?: 'BotmanorHandoffConfig'; agentId: Scalars['ID']['output']; createdAt?: Maybe; customIntents: Array; enabled: Scalars['Boolean']['output']; explicitRequest: Scalars['Boolean']['output']; fallbackBehavior: BotmanorHandoffFallbackBehavior; handoffMessage?: Maybe; lowConfidence: Scalars['Boolean']['output']; lowConfidenceThreshold: Scalars['Float']['output']; notifyEmail: Scalars['Boolean']['output']; notifyInApp: Scalars['Boolean']['output']; notifyPush: Scalars['Boolean']['output']; policyRefusal: Scalars['Boolean']['output']; repeatedFailures: Scalars['Boolean']['output']; repeatedFailuresConsecutive: Scalars['Int']['output']; targetRole?: Maybe; targetUserIds: Array; updatedAt?: Maybe; }; export type BotmanorHandoffConfigInput = { customIntents: Array; enabled: Scalars['Boolean']['input']; explicitRequest: Scalars['Boolean']['input']; fallbackBehavior: BotmanorHandoffFallbackBehavior; handoffMessage?: InputMaybe; lowConfidence: Scalars['Boolean']['input']; lowConfidenceThreshold: Scalars['Float']['input']; notifyEmail: Scalars['Boolean']['input']; notifyInApp: Scalars['Boolean']['input']; notifyPush: Scalars['Boolean']['input']; policyRefusal: Scalars['Boolean']['input']; repeatedFailures: Scalars['Boolean']['input']; repeatedFailuresConsecutive: Scalars['Int']['input']; targetRole?: InputMaybe; targetUserIds: Array; }; /** Workspace-defined intent pattern that escalates to a human when matched. */ export type BotmanorHandoffCustomIntent = { __typename?: 'BotmanorHandoffCustomIntent'; isRegex: Scalars['Boolean']['output']; name: Scalars['String']['output']; pattern: Scalars['String']['output']; }; export type BotmanorHandoffCustomIntentInput = { isRegex: Scalars['Boolean']['input']; name: Scalars['String']['input']; pattern: Scalars['String']['input']; }; /** One append-only state-machine transition, newest last. */ export type BotmanorHandoffEvent = { __typename?: 'BotmanorHandoffEvent'; actorId: Scalars['String']['output']; at: Scalars['DateTime']['output']; from?: Maybe; note?: Maybe; to: BotmanorHandoffStatus; }; export declare enum BotmanorHandoffFallbackBehavior { /** The bot stops autonomous replies as soon as a handoff is requested. */ Abstain = "ABSTAIN", /** The bot keeps answering until a human accepts the handoff. */ Continue = "CONTINUE" } export type BotmanorHandoffList = { __typename?: 'BotmanorHandoffList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum BotmanorHandoffStatus { Accepted = "ACCEPTED", Assigned = "ASSIGNED", Expired = "EXPIRED", Rejected = "REJECTED", Released = "RELEASED", Requested = "REQUESTED", Resolved = "RESOLVED" } export declare enum BotmanorHandoffTrigger { CustomIntent = "CUSTOM_INTENT", ExplicitRequest = "EXPLICIT_REQUEST", LowConfidence = "LOW_CONFIDENCE", Manual = "MANUAL", PolicyRefusal = "POLICY_REFUSAL", RepeatedFailures = "REPEATED_FAILURES" } export declare enum BotmanorHealthStatus { Degraded = "DEGRADED", Healthy = "HEALTHY", Unhealthy = "UNHEALTHY", Unknown = "UNKNOWN" } export type BotmanorLlmModel = { __typename?: 'BotmanorLLMModel'; contextWindow: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; id: Scalars['ID']['output']; inputPricePerMToken: Scalars['Float']['output']; isActive: Scalars['Boolean']['output']; maxOutputTokens: Scalars['Int']['output']; metadata?: Maybe; modelId: Scalars['String']['output']; name: Scalars['String']['output']; outputPricePerMToken: Scalars['Float']['output']; providerId: Scalars['ID']['output']; supportsFunctionCalling: Scalars['Boolean']['output']; supportsStreaming: Scalars['Boolean']['output']; supportsVision: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; }; export type BotmanorLlmProvider = { __typename?: 'BotmanorLLMProvider'; apiEndpoint?: Maybe; connectionId?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; credentialsHash?: Maybe; deletedAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; type: BotmanorLlmProviderType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** * `LLMProviderFilterInput` with the BotManor enum (BOFF-9561). Filters exactly * like the legacy input; `listBotmanorLLMProviders` takes it in its place. */ export type BotmanorLlmProviderFilterInput = { isActive?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum BotmanorLlmProviderType { Anthropic = "ANTHROPIC", AwsBedrock = "AWS_BEDROCK", AzureOpenai = "AZURE_OPENAI", Cohere = "COHERE", Custom = "CUSTOM", Google = "GOOGLE", Groq = "GROQ", Huggingface = "HUGGINGFACE", Mistral = "MISTRAL", Openai = "OPENAI", Together = "TOGETHER" } /** One retention pass over a workspace. Counts only; never content. */ export type BotmanorRetentionRun = { __typename?: 'BotmanorRetentionRun'; /** Agent-to-agent message contents erased by this pass */ a2aMessagesPurged: Scalars['Int']['output']; /** Conversation retention that applied, in days (null: none) */ conversationRetentionDays?: Maybe; errorMessage?: Maybe; /** Execution payload retention that applied, in days (null: none) */ executionDataRetentionDays?: Maybe; /** Execution payloads erased by this pass */ executionsPurged: Scalars['Int']['output']; finishedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; /** COMPLETED or FAILED */ status: Scalars['String']['output']; /** SCHEDULED (the hourly job) or MANUAL (applyBotmanorRetention) */ trigger: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** Retention settings in force for the workspace and its most recent passes. */ export type BotmanorRetentionStatus = { __typename?: 'BotmanorRetentionStatus'; /** Number of ACTIVE retention policies */ activePolicyCount: Scalars['Int']['output']; /** Shortest conversationRetentionDays of the ACTIVE retention policies (null: kept for the life of the workspace) */ conversationRetentionDays?: Maybe; /** Days between workspace deletion and erasure of its BotManor data */ endOfTermErasureGraceDays: Scalars['Int']['output']; /** Shortest executionDataRetentionDays of the ACTIVE retention policies (null: kept for the life of the workspace) */ executionDataRetentionDays?: Maybe; /** Most recent retention passes, newest first */ recentRuns: Array; }; /** * A FluidGrids workflow run started from BotManor, paired with the BotManor * `Execution` row (type `WORKFLOW`) that tracks it. */ export type BotmanorWorkflowRun = { __typename?: 'BotmanorWorkflowRun'; /** BotManor execution record tracking this run */ execution: Execution; /** Run id returned by wspace-workflow-svc */ runId: Scalars['String']['output']; /** Run status reported by wspace-workflow-svc at trigger time */ status: Scalars['String']['output']; /** Trigger node the run started from */ triggerNodeId: Scalars['String']['output']; /** Workflow version that was triggered */ version: Scalars['String']['output']; /** Opaque workflow definition id that was triggered */ workflowId: Scalars['ID']['output']; /** Workflow routing key in wspace-workflow-svc */ workflowKey: Scalars['String']['output']; }; /** * End-of-term erasure of every BotManor record of a workspace. The record is * kept after the erasure and holds only identifiers, timestamps and counts. */ export type BotmanorWorkspaceErasure = { __typename?: 'BotmanorWorkspaceErasure'; /** Rows per table, vector collections and stored objects removed */ counts?: Maybe; /** When the erasure became or becomes due */ eraseAfter: Scalars['DateTime']['output']; erasedAt?: Maybe; failureCount: Scalars['Int']['output']; lastError?: Maybe; requestedAt: Scalars['DateTime']['output']; requestedBy: Scalars['String']['output']; /** WORKSPACE_DELETED or OWNER_REQUEST */ source: Scalars['String']['output']; /** PENDING, ERASED or BLOCKED */ status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type BraAccount = { __typename?: 'BraAccount'; accountMask?: Maybe; advisoryFeeBps?: Maybe; cashBalance: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; entityId?: Maybe; feeAsOf?: Maybe; feeSource?: Maybe; holdings: BraHoldingConnection; householdId?: Maybe; id: Scalars['ID']['output']; institution?: Maybe; isManual: Scalars['Boolean']['output']; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; status: BraAccountStatus; transactions: BraTransactionConnection; type: BraAccountType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraAccountHoldingsArgs = { pagination?: InputMaybe; }; export type BraAccountTransactionsArgs = { pagination?: InputMaybe; }; export type BraAccountConnection = { __typename?: 'BraAccountConnection'; items: Array; pageInfo: BraPageInfo; }; /** User-entered rates and explicit hypothetical assumptions; not a future-performance prediction. */ export type BraAccountFeeReport = { __typename?: 'BraAccountFeeReport'; accountId: Scalars['ID']['output']; assumptions: BraFeeAssumptions; calculatedAt: Scalars['DateTime']['output']; currencies: Array; transactionPeriodEnd: Scalars['DateTime']['output']; transactionPeriodStart: Scalars['DateTime']['output']; }; export declare enum BraAccountStatus { Active = "ACTIVE", Archived = "ARCHIVED", Closed = "CLOSED" } export declare enum BraAccountType { Alternative = "ALTERNATIVE", Bank = "BANK", Brokerage = "BROKERAGE", Cash = "CASH", Crypto = "CRYPTO", Liability = "LIABILITY", RealEstate = "REAL_ESTATE", Retirement = "RETIREMENT" } export type BraAdminFirmSummary = { __typename?: 'BraAdminFirmSummary'; asOf: Scalars['DateTime']['output']; /** Sorted by AUM, largest book first. */ byAdvisor: Array; /** Households grouped by status, with AUM per status. */ byHouseholdStatus: Array; currency: Scalars['String']['output']; totalAdvisors: Scalars['Int']['output']; totalAum: Scalars['Float']['output']; totalHouseholds: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type BraAdvisor = { __typename?: 'BraAdvisor'; createdAt: Scalars['DateTime']['output']; displayName?: Maybe; email?: Maybe; id: Scalars['ID']['output']; invitedById?: Maybe; role: BraAdvisorRole; status: BraAdvisorStatus; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type BraAdvisorBranding = { __typename?: 'BraAdvisorBranding'; advisorId: Scalars['ID']['output']; contactEmail?: Maybe; createdAt: Scalars['DateTime']['output']; disclaimer?: Maybe; firmName?: Maybe; id: Scalars['ID']['output']; /** References a File already uploaded via wspace-files-svc — never a stored blob. */ logoFileId?: Maybe; primaryColor?: Maybe; secondaryColor?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BraAdvisorRole { Advisor = "ADVISOR", FirmAdmin = "FIRM_ADMIN" } export declare enum BraAdvisorStatus { Active = "ACTIVE", Inactive = "INACTIVE" } export type BraAggregationLink = { __typename?: 'BraAggregationLink'; /** When the institution's consent expires, if Plaid has warned that it will. */ consentExpiresAt?: Maybe; createdAt: Scalars['DateTime']['output']; /** Plaid error code from the last failed sync or ITEM webhook, e.g. ITEM_LOGIN_REQUIRED. */ errorCode?: Maybe; id: Scalars['ID']['output']; institutionId?: Maybe; institutionName?: Maybe; lastSyncError?: Maybe; lastSyncedAt?: Maybe; /** * True when the link can only be repaired by the user re-authenticating it in * Plaid Link update mode (braCreatePlaidUpdateLinkToken), not by a re-sync. */ needsReauthentication: Scalars['Boolean']['output']; /** When the scheduled daily re-sync next picks this link up. */ nextSyncAt?: Maybe; ownerId: Scalars['ID']['output']; provider: BraAggregationProvider; status: BraAggregationLinkStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraAggregationLinkConnection = { __typename?: 'BraAggregationLinkConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraAggregationLinkStatus { Active = "ACTIVE", Error = "ERROR", Pending = "PENDING", Revoked = "REVOKED" } export declare enum BraAggregationProvider { Plaid = "PLAID" } /** * Whether an aggregation provider is usable from this deployment. The UI uses it * to offer "Link an institution" only when linking can actually work, and to * explain that only manual entry is available otherwise. Never carries * credential material. */ export type BraAggregationProviderStatus = { __typename?: 'BraAggregationProviderStatus'; configured: Scalars['Boolean']['output']; /** ISO-3166 alpha-2 countries offered in the provider's institution picker. */ countryCodes: Array; /** sandbox or production */ environment: Scalars['String']['output']; provider: BraAggregationProvider; }; export type BraAggregationSyncResult = { __typename?: 'BraAggregationSyncResult'; accountsSynced: Scalars['Int']['output']; addedTransactions: Scalars['Int']['output']; /** Investment positions written to BraHolding (0 when the institution shares no holdings). */ holdingsSynced: Scalars['Int']['output']; link: BraAggregationLink; modifiedTransactions: Scalars['Int']['output']; removedTransactions: Scalars['Int']['output']; transactionsSynced: Scalars['Int']['output']; }; export type BraAiInsightsResult = { __typename?: 'BraAiInsightsResult'; /** True when an LLM provider produced and validated at least the attempt; false when no provider is configured/reachable. */ generated: Scalars['Boolean']['output']; /** The AI_NARRATIVE insights created or updated by this call (empty when generated is false). */ insights: Array; /** Provider that produced the narratives (null when generated is false). */ provider?: Maybe; /** Human-readable reason when generated is false (e.g. no provider key configured). */ reason?: Maybe; }; export declare enum BraAssetClass { Alternative = "ALTERNATIVE", Cash = "CASH", Commodity = "COMMODITY", Crypto = "CRYPTO", Equity = "EQUITY", FixedIncome = "FIXED_INCOME", RealEstate = "REAL_ESTATE" } export type BraBudget = { __typename?: 'BraBudget'; category: BraCashflowCategory; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** The household the budget belongs to, or null for a personal budget. */ householdId?: Maybe; id: Scalars['ID']['output']; monthlyAmount: Scalars['Float']['output']; notes?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export type BraBudgetLine = { __typename?: 'BraBudgetLine'; actual: Scalars['Float']['output']; /** Null for a category with spending but no budget. */ budgetId?: Maybe; budgeted: Scalars['Float']['output']; category: BraCashflowCategory; /** budgeted - actual; negative when overspent. */ remaining: Scalars['Float']['output']; /** Null for a category with spending but no budget. */ state?: Maybe; /** actual / budgeted; null when there is no budget. */ utilization?: Maybe; }; export declare enum BraBudgetState { Near = "NEAR", Over = "OVER", Under = "UNDER" } export type BraBudgetStatus = { __typename?: 'BraBudgetStatus'; baseCurrency: Scalars['String']['output']; householdId?: Maybe; /** Budgeted categories (most overspent first), then spending without a budget. */ lines: Array; /** Calendar month, YYYY-MM. */ month: Scalars['String']['output']; totalActual: Scalars['Float']['output']; totalBudgeted: Scalars['Float']['output']; totalRemaining: Scalars['Float']['output']; unbudgetedSpend: Scalars['Float']['output']; }; export type BraBudgetStatusInput = { /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; /** Calendar month as YYYY-MM; defaults to the current month. */ month?: InputMaybe; }; export declare enum BraCashflowCategory { Childcare = "CHILDCARE", DebtPayment = "DEBT_PAYMENT", Dining = "DINING", Education = "EDUCATION", Entertainment = "ENTERTAINMENT", Fees = "FEES", GiftsDonations = "GIFTS_DONATIONS", Groceries = "GROCERIES", Healthcare = "HEALTHCARE", Housing = "HOUSING", IncomeBusiness = "INCOME_BUSINESS", IncomeInvestment = "INCOME_INVESTMENT", IncomeOther = "INCOME_OTHER", IncomeSalary = "INCOME_SALARY", Insurance = "INSURANCE", Investment = "INVESTMENT", OtherExpense = "OTHER_EXPENSE", Shopping = "SHOPPING", Subscriptions = "SUBSCRIPTIONS", Taxes = "TAXES", Transfer = "TRANSFER", Transport = "TRANSPORT", Travel = "TRAVEL", Utilities = "UTILITIES" } /** Where a transaction's category came from. */ export declare enum BraCashflowCategorySource { /** Nothing matched; the row fell back to INCOME_OTHER or OTHER_EXPENSE. */ Default = "DEFAULT", /** A built-in merchant keyword matched the description. */ Keyword = "KEYWORD", /** One of the caller's categorization rules matched the description. */ Rule = "RULE", /** The transaction type decides it (dividends, interest, fees, trades, transfers). */ Type = "TYPE" } export type BraCashflowCategoryTotal = { __typename?: 'BraCashflowCategoryTotal'; amount: Scalars['Float']['output']; category: BraCashflowCategory; kind: BraCashflowKind; /** Share of total income (income categories) or of total spending (expense categories), 0 to 1. */ share: Scalars['Float']['output']; transactionCount: Scalars['Int']['output']; }; /** A household the caller can open on the cashflow page. */ export type BraCashflowHousehold = { __typename?: 'BraCashflowHousehold'; id: Scalars['ID']['output']; name: Scalars['String']['output']; role: BraCashflowHouseholdRole; }; export declare enum BraCashflowHouseholdRole { /** The caller is the household's advisor of record. */ Advisor = "ADVISOR", /** The caller owns an account the household's advisor placed in the household. */ Member = "MEMBER" } /** How a category counts: income, spending, or excluded (transfers and investment activity). */ export declare enum BraCashflowKind { Excluded = "EXCLUDED", Expense = "EXPENSE", Income = "INCOME" } export type BraCashflowPeriod = { __typename?: 'BraCashflowPeriod'; expenses: Scalars['Float']['output']; income: Scalars['Float']['output']; net: Scalars['Float']['output']; /** Calendar month, YYYY-MM (UTC). */ period: Scalars['String']['output']; /** (income - expenses) / income; null when the month had no income. */ savingsRate?: Maybe; }; export type BraCashflowRule = { __typename?: 'BraCashflowRule'; category: BraCashflowCategory; createdAt: Scalars['DateTime']['output']; /** The household the rule belongs to, or null for a personal rule. */ householdId?: Maybe; id: Scalars['ID']['output']; /** Lower-case phrase matched against transaction descriptions. */ pattern: Scalars['String']['output']; }; export type BraCashflowSummary = { __typename?: 'BraCashflowSummary'; averageMonthlyExpenses: Scalars['Float']['output']; averageMonthlyIncome: Scalars['Float']['output']; averageMonthlySurplus: Scalars['Float']['output']; baseCurrency: Scalars['String']['output']; /** Income categories first, then spending, each largest first. */ categories: Array; /** Buys and sells, excluded from income and spending. */ excludedInvestmentActivity: Scalars['Float']['output']; /** Transfers between accounts, excluded from income and spending. */ excludedTransfers: Scalars['Float']['output']; /** The household analysed, or null for the caller's own books. */ householdId?: Maybe; months: Scalars['Int']['output']; netCashflow: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** One row per month in the window, oldest first, including months with no activity. */ periods: Array; /** (income - expenses) / income over the window; null when there was no income. */ savingsRate?: Maybe; totalExpenses: Scalars['Float']['output']; totalIncome: Scalars['Float']['output']; transactionCount: Scalars['Int']['output']; /** Rows that fell back to INCOME_OTHER or OTHER_EXPENSE; candidates for a rule. */ uncategorizedCount: Scalars['Int']['output']; }; export type BraCashflowTransaction = { __typename?: 'BraCashflowTransaction'; accountId: Scalars['ID']['output']; /** Positive magnitude in the transaction's own currency. */ amount: Scalars['Float']['output']; /** Positive magnitude converted into the base currency. */ baseAmount: Scalars['Float']['output']; category: BraCashflowCategory; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; kind: BraCashflowKind; ruleId?: Maybe; source: BraCashflowCategorySource; tradeDate: Scalars['DateTime']['output']; type: BraTransactionType; }; export type BraCashflowTransactionList = { __typename?: 'BraCashflowTransactionList'; baseCurrency: Scalars['String']['output']; hasMore: Scalars['Boolean']['output']; householdId?: Maybe; items: Array; totalCount: Scalars['Int']['output']; }; export type BraCashflowTransactionsInput = { category?: InputMaybe; /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; /** Most recent rows to return: 1 to 500, default 100. */ limit?: InputMaybe; /** Calendar months to list, ending with the current month: 1 to 36, default 6. */ months?: InputMaybe; }; export type BraCashflowWindowInput = { /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; /** Calendar months to analyse, ending with the current month: 1 to 36, default 6. */ months?: InputMaybe; }; /** A lightweight, embeddable projection of the advisor's branding — not the federation entity (this summary's `branding` may be null when the client has no advisor, so it cannot carry the full BraAdvisorBranding's non-null id/workspaceId). */ export type BraClientPortalBranding = { __typename?: 'BraClientPortalBranding'; contactEmail?: Maybe; disclaimer?: Maybe; firmName?: Maybe; logoFileId?: Maybe; primaryColor?: Maybe; secondaryColor?: Maybe; }; export type BraClientPortalSummary = { __typename?: 'BraClientPortalSummary'; advisorId?: Maybe; asOf: Scalars['DateTime']['output']; branding?: Maybe; currency: Scalars['String']['output']; holdingsMarketValue: Scalars['Float']['output']; ownerId: Scalars['ID']['output']; totalCash: Scalars['Float']['output']; totalNetWorth: Scalars['Float']['output']; }; export type BraCoverageGap = { __typename?: 'BraCoverageGap'; category: BraCoverageGapCategory; /** Stable machine-readable gap code, e.g. LIFE_COVER_SHORTFALL. */ code: Scalars['String']['output']; existingAmount?: Maybe; gapAmount?: Maybe; message: Scalars['String']['output']; policyId?: Maybe; requiredAmount?: Maybe; severity: BraCoverageGapSeverity; }; export declare enum BraCoverageGapCategory { Affordability = "AFFORDABILITY", Disability = "DISABILITY", Health = "HEALTH", Liability = "LIABILITY", Life = "LIFE", Property = "PROPERTY", Renewal = "RENEWAL" } export declare enum BraCoverageGapSeverity { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type BraCreateAccountInput = { accountMask?: InputMaybe; cashBalance?: InputMaybe; currency?: InputMaybe; householdId?: InputMaybe; institution?: InputMaybe; isManual?: InputMaybe; name: Scalars['String']['input']; ownerId?: InputMaybe; status?: InputMaybe; type?: InputMaybe; }; export type BraCreateCashflowRuleInput = { category: BraCashflowCategory; /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; /** Phrase to look for in transaction descriptions (case-insensitive, 2 to 120 characters). */ pattern: Scalars['String']['input']; }; export type BraCreateGoalInput = { currency?: InputMaybe; householdId?: InputMaybe; monthlyContribution?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; ownerId?: InputMaybe; priority?: InputMaybe; tags?: InputMaybe>; targetAmount: Scalars['Float']['input']; targetDate: Scalars['DateTime']['input']; type?: InputMaybe; }; export type BraCreateHoldingInput = { accountId: Scalars['ID']['input']; asOf?: InputMaybe; assetClass?: InputMaybe; costBasis?: InputMaybe; currency?: InputMaybe; lastPrice?: InputMaybe; name?: InputMaybe; portfolioId?: InputMaybe; quantity?: InputMaybe; symbol: Scalars['String']['input']; }; export type BraCreateHouseholdInput = { advisorId?: InputMaybe; currency?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; primaryContactEmail?: InputMaybe; primaryContactName?: InputMaybe; riskProfile?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type BraCreateInsightInput = { detail?: InputMaybe; metrics?: InputMaybe; ownerId?: InputMaybe; severity?: InputMaybe; subjectId: Scalars['ID']['input']; subjectType: Scalars['String']['input']; title: Scalars['String']['input']; type: BraInsightType; }; export type BraCreateInsurancePolicyInput = { beneficiaries?: InputMaybe>; coverageAmount: Scalars['Float']['input']; currency?: InputMaybe; householdId?: InputMaybe; insuredName?: InputMaybe; insurer: Scalars['String']['input']; name: Scalars['String']['input']; notes?: InputMaybe; ownerId?: InputMaybe; policyNumberMask?: InputMaybe; premiumAmount?: InputMaybe; premiumFrequency?: InputMaybe; renewalDate?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; type: BraInsurancePolicyType; }; export type BraCreateModelPortfolioInput = { allocations?: InputMaybe>; baseCurrency?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; riskProfile?: InputMaybe; }; export type BraCreatePortfolioInput = { baseCurrency?: InputMaybe; description?: InputMaybe; driftThresholdPct?: InputMaybe; householdId?: InputMaybe; modelPortfolioId?: InputMaybe; name: Scalars['String']['input']; ownerId?: InputMaybe; tags?: InputMaybe>; targetAllocation?: InputMaybe; }; export type BraCreateRebalanceProposalInput = { driftPct?: InputMaybe; householdId?: InputMaybe; portfolioId: Scalars['ID']['input']; rationale?: InputMaybe; trades?: InputMaybe; }; export type BraCreateScheduledReportInput = { frequency?: InputMaybe; /** Omit for a report covering the advisor's whole book. */ householdId?: InputMaybe; name: Scalars['String']['input']; }; export type BraCreateTaxLotInput = { acquiredAt: Scalars['DateTime']['input']; /** Total cost basis of the remaining shares. */ costBasis: Scalars['Float']['input']; holdingId: Scalars['ID']['input']; notes?: InputMaybe; quantity: Scalars['Float']['input']; /** Defaults to quantity. */ remainingQuantity?: InputMaybe; }; export type BraCreateTradeInstructionInput = { accountId?: InputMaybe; action: BraTradeInstructionAction; portfolioId: Scalars['ID']['input']; quantity: Scalars['Float']['input']; rationale?: InputMaybe; symbol: Scalars['String']['input']; }; export type BraCreateTransactionInput = { accountId: Scalars['ID']['input']; amount?: InputMaybe; currency?: InputMaybe; fee?: InputMaybe; holdingId?: InputMaybe; notes?: InputMaybe; price?: InputMaybe; quantity?: InputMaybe; settleDate?: InputMaybe; symbol?: InputMaybe; tradeDate: Scalars['DateTime']['input']; type: BraTransactionType; }; export type BraCreateVaultInput = { entityId?: InputMaybe; householdId?: InputMaybe; name: Scalars['String']['input']; requestId: Scalars['String']['input']; }; export type BraCrmLink = { __typename?: 'BraCrmLink'; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; instanceOrigin?: Maybe; lastSyncedAt?: Maybe; provider: BraCrmProvider; recordCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export type BraCrmLinkPage = { __typename?: 'BraCrmLinkPage'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']['output']; nodes: Array; }; export declare enum BraCrmProvider { Hubspot = "HUBSPOT", Redtail = "REDTAIL", Salesforce = "SALESFORCE" } /** Read-only CRM projection. CRM accounts do not grant financial household access. */ export type BraCrmRecord = { __typename?: 'BraCrmRecord'; email?: Maybe; externalId: Scalars['String']['output']; householdExternalId?: Maybe; householdExternalIds: Array; id: Scalars['ID']['output']; kind: BraCrmRecordKind; name: Scalars['String']['output']; occurredAt?: Maybe; }; export declare enum BraCrmRecordKind { Activity = "ACTIVITY", Contact = "CONTACT", Household = "HOUSEHOLD" } export type BraCrmRecordPage = { __typename?: 'BraCrmRecordPage'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']['output']; nodes: Array; }; export type BraDocumentVault = { __typename?: 'BraDocumentVault'; accessExpiresAt?: Maybe; accessWindowSeconds?: Maybe; checkInDueAt?: Maybe; checkInSeconds?: Maybe; consentVersion?: Maybe; consentedAt?: Maybe; createdAt: Scalars['DateTime']['output']; entityId?: Maybe; folderId?: Maybe; graceSeconds?: Maybe; graceUntil?: Maybe; householdId?: Maybe; id: Scalars['ID']['output']; lastCheckInAt?: Maybe; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; phase: BraVaultPhase; releasedAt?: Maybe; revision: Scalars['Int']['output']; }; export type BraDraftRebalanceProposalsFromDriftInput = { /** Maximum number of draft proposals to create in this run (default 25, max 100). */ limit?: InputMaybe; /** Scope the run to one portfolio; omit to scan every visible drifted portfolio. */ portfolioId?: InputMaybe; }; /** * Outcome of one drift-drafting run. Every created proposal is at DRAFT; the * skipped counters explain why the remaining candidates produced no proposal. */ export type BraDraftRebalanceProposalsFromDriftResult = { __typename?: 'BraDraftRebalanceProposalsFromDriftResult'; created: Scalars['Int']['output']; proposals: Array; skippedAlreadyDrafted: Scalars['Int']['output']; skippedNoTarget: Scalars['Int']['output']; skippedNotVisible: Scalars['Int']['output']; skippedQuota: Scalars['Int']['output']; }; export type BraEnsureAdvisorInput = { displayName?: InputMaybe; email?: InputMaybe; role?: InputMaybe; /** Omit to act on the calling actor's own roster row. */ userId?: InputMaybe; }; export type BraEntity = { __typename?: 'BraEntity'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; ownershipPct: Scalars['Float']['output']; parentId?: Maybe; type: BraEntityType; viewerIds: Array; }; export type BraEntityCurrencyTotal = { __typename?: 'BraEntityCurrencyTotal'; amount: Scalars['String']['output']; currency: Scalars['String']['output']; }; export type BraEntityInput = { name: Scalars['String']['input']; ownershipPct?: InputMaybe; parentId?: InputMaybe; type: BraEntityType; viewerIds?: InputMaybe>; }; /** Only explicitly accessible entities are included. Currency totals are not converted. */ export type BraEntitySummary = { __typename?: 'BraEntitySummary'; accountCount: Scalars['Int']['output']; currencyTotals: Array; entityCount: Scalars['Int']['output']; entityId: Scalars['ID']['output']; }; export declare enum BraEntityType { FamilyOffice = "FAMILY_OFFICE", HoldingCompany = "HOLDING_COMPANY", Llc = "LLC", Trust = "TRUST" } /** * A recurring bill or subscription the plan expects to keep paying, from the * recurring detector run over the same accounts. */ export type BraExpectedOutflow = { __typename?: 'BraExpectedOutflow'; accountId: Scalars['ID']['output']; /** Amount per occurrence, in the base currency. */ amount: Scalars['Float']['output']; /** Detector confidence, 0 to 1. */ confidence: Scalars['Float']['output']; frequency: BraRecurringFrequency; merchantDisplay: Scalars['String']['output']; merchantKey: Scalars['String']['output']; /** The same outflow spread evenly over a month. */ monthlyEquivalent: Scalars['Float']['output']; nextExpectedDate: Scalars['DateTime']['output']; /** What the averaging window already carries for this outflow, per month. */ observedMonthly: Scalars['Float']['output']; /** monthlyEquivalent - observedMonthly, never negative: what the plan sets aside on top of the history. */ uncoveredMonthly: Scalars['Float']['output']; }; export type BraFeeAssumptions = { __typename?: 'BraFeeAssumptions'; benchmarkFeeBps: Scalars['Float']['output']; grossAnnualReturnPct: Scalars['Float']['output']; years: Scalars['Int']['output']; }; export type BraFeeCurrencyReport = { __typename?: 'BraFeeCurrencyReport'; annualAdvisoryFee?: Maybe; annualRecurringFee?: Maybe; currency: Scalars['String']['output']; currentValue: Scalars['String']['output']; effectiveFeeBps?: Maybe; expenseDataCoveragePct: Scalars['Float']['output']; knownAnnualExpenseFees: Scalars['String']['output']; missingExpenseRatioCount: Scalars['Int']['output']; projectedBenchmarkDifference?: Maybe; projectedBenchmarkValue?: Maybe; projectedFeeDrag?: Maybe; projectedGrossValue?: Maybe; projectedNetValue?: Maybe; transactionFees: Scalars['String']['output']; unsupportedPositionCount: Scalars['Int']['output']; }; export type BraFeeMetadataInput = { asOf?: InputMaybe; /** Null clears the rate to unknown; zero explicitly records no annual fee. */ bps?: InputMaybe; source?: InputMaybe; }; export type BraFirmAdvisorBreakdown = { __typename?: 'BraFirmAdvisorBreakdown'; advisorId: Scalars['ID']['output']; aum: Scalars['Float']['output']; displayName?: Maybe; email?: Maybe; householdCount: Scalars['Int']['output']; role?: Maybe; }; export type BraFirmReport = { __typename?: 'BraFirmReport'; asOf: Scalars['DateTime']['output']; /** Sorted by AUM, largest book first. */ byAdvisor: Array; currency: Scalars['String']['output']; totalAdvisors: Scalars['Int']['output']; totalAum: Scalars['Float']['output']; totalHouseholds: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** Which rates were actually applied when converting a BraNetWorthSummary into its base currency. */ export type BraFxConversionInfo = { __typename?: 'BraFxConversionInfo'; asOf: Scalars['DateTime']['output']; /** currency-code -> baseCurrency units it was divided by. */ ratesUsed: Scalars['JSON']['output']; source: Scalars['String']['output']; }; export type BraFxPreference = { __typename?: 'BraFxPreference'; baseCurrency: Scalars['String']['output']; ownerId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** Real exchange rates from a free, no-API-key public provider (open.er-api.com), cached and refreshed roughly once a day. */ export type BraFxRateSnapshot = { __typename?: 'BraFxRateSnapshot'; asOf: Scalars['DateTime']['output']; baseCurrency: Scalars['String']['output']; /** quote-currency-code -> quote units per 1 baseCurrency unit. */ rates: Scalars['JSON']['output']; source: Scalars['String']['output']; }; export type BraGenerateReportNowInput = { /** Or generate ad hoc for one household without a recurring schedule. */ householdId?: InputMaybe; /** Generate from an existing schedule (reuses its household scope). */ scheduledReportId?: InputMaybe; }; export type BraGoal = { __typename?: 'BraGoal'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; fundings: BraGoalFundingConnection; householdId?: Maybe; id: Scalars['ID']['output']; monthlyContribution: Scalars['Float']['output']; name: Scalars['String']['output']; notes?: Maybe; ownerId: Scalars['ID']['output']; priority: Scalars['Int']['output']; projection: BraGoalProjection; status: BraGoalStatus; tags: Array; targetAmount: Scalars['Float']['output']; targetDate: Scalars['DateTime']['output']; type: BraGoalType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraGoalFundingsArgs = { pagination?: InputMaybe; }; export type BraGoalConnection = { __typename?: 'BraGoalConnection'; items: Array; pageInfo: BraPageInfo; }; export type BraGoalFunding = { __typename?: 'BraGoalFunding'; accountId: Scalars['ID']['output']; allocationPct: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; fixedAmount?: Maybe; goalId: Scalars['ID']['output']; id: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraGoalFundingConnection = { __typename?: 'BraGoalFundingConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraGoalProjection { Ahead = "AHEAD", AtRisk = "AT_RISK", Behind = "BEHIND", OnTrack = "ON_TRACK" } export declare enum BraGoalStatus { Abandoned = "ABANDONED", Achieved = "ACHIEVED", Active = "ACTIVE", OnHold = "ON_HOLD" } export type BraGoalSurplusAllocation = { __typename?: 'BraGoalSurplusAllocation'; /** Surplus this plan directs to the goal each month. */ allocatedMonthly: Scalars['Float']['output']; /** allocatedMonthly / requiredMonthly, 1 when nothing is required. */ coverage: Scalars['Float']['output']; goalId: Scalars['ID']['output']; monthsRemaining: Scalars['Int']['output']; name: Scalars['String']['output']; plannedMonthlyContribution: Scalars['Float']['output']; priority: Scalars['Int']['output']; remainingAmount: Scalars['Float']['output']; /** What the goal needs per month to reach its target on time. */ requiredMonthly: Scalars['Float']['output']; shortfallMonthly: Scalars['Float']['output']; }; export declare enum BraGoalType { Custom = "CUSTOM", Education = "EDUCATION", EmergencyFund = "EMERGENCY_FUND", Home = "HOME", MajorPurchase = "MAJOR_PURCHASE", Retirement = "RETIREMENT", WealthGrowth = "WEALTH_GROWTH" } /** A lot as valued for harvesting at the holding's last price. */ export type BraHarvestLot = { __typename?: 'BraHarvestLot'; acquiredAt?: Maybe; costBasis: Scalars['Float']['output']; costPerUnit: Scalars['Float']['output']; /** Tax saved if this lot's loss is realized (0 for lots at a gain). */ estimatedTaxSaved: Scalars['Float']['output']; holdingPeriod: BraHoldingPeriod; /** BraTaxLot id for recorded lots; null for derived or unallocated lots. */ id?: Maybe; marketValue: Scalars['Float']['output']; quantity: Scalars['Float']['output']; source: BraTaxLotSource; /** Positive = gain, negative = loss. */ unrealizedGainLoss: Scalars['Float']['output']; }; export type BraHolding = { __typename?: 'BraHolding'; account?: Maybe; accountId: Scalars['ID']['output']; asOf?: Maybe; assetClass: BraAssetClass; costBasis: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; expenseRatioBps?: Maybe; feeAsOf?: Maybe; feeSource?: Maybe; id: Scalars['ID']['output']; lastPrice: Scalars['Float']['output']; /** Computed market value = quantity * lastPrice (server-side derived field). */ marketValue: Scalars['Float']['output']; name?: Maybe; portfolioId?: Maybe; quantity: Scalars['Float']['output']; symbol: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraHoldingConnection = { __typename?: 'BraHoldingConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraHoldingPeriod { LongTerm = "LONG_TERM", ShortTerm = "SHORT_TERM", Unknown = "UNKNOWN" } export type BraHoldingPriceFailure = { __typename?: 'BraHoldingPriceFailure'; reason: Scalars['String']['output']; symbol: Scalars['String']['output']; }; export type BraHoldingPriceRefreshResult = { __typename?: 'BraHoldingPriceRefreshResult'; accountId: Scalars['ID']['output']; failed: Array; updated: Array; }; export type BraHoldingPriceUpdate = { __typename?: 'BraHoldingPriceUpdate'; holdingId: Scalars['ID']['output']; newPrice: Scalars['Float']['output']; previousPrice: Scalars['Float']['output']; symbol: Scalars['String']['output']; }; export type BraHousehold = { __typename?: 'BraHousehold'; advisorId: Scalars['ID']['output']; aum: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe; primaryContactEmail?: Maybe; primaryContactName?: Maybe; riskProfile: BraRiskProfile; status: BraHouseholdStatus; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraHouseholdConnection = { __typename?: 'BraHouseholdConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraHouseholdStatus { Active = "ACTIVE", Inactive = "INACTIVE", Onboarding = "ONBOARDING", Prospect = "PROSPECT" } export type BraHouseholdStatusBreakdown = { __typename?: 'BraHouseholdStatusBreakdown'; aum: Scalars['Float']['output']; count: Scalars['Int']['output']; status: BraHouseholdStatus; }; export type BraInsight = { __typename?: 'BraInsight'; acknowledgedById?: Maybe; createdAt: Scalars['DateTime']['output']; detail?: Maybe; id: Scalars['ID']['output']; metrics?: Maybe; ownerId: Scalars['ID']['output']; resolvedAt?: Maybe; severity: BraInsightSeverity; status: BraInsightStatus; subjectId: Scalars['ID']['output']; subjectType: Scalars['String']['output']; title: Scalars['String']['output']; type: BraInsightType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraInsightConnection = { __typename?: 'BraInsightConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraInsightSeverity { Critical = "CRITICAL", High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } export declare enum BraInsightStatus { Acknowledged = "ACKNOWLEDGED", Dismissed = "DISMISSED", Open = "OPEN", Resolved = "RESOLVED" } export declare enum BraInsightType { AiNarrative = "AI_NARRATIVE", CashDrag = "CASH_DRAG", ConcentrationRisk = "CONCENTRATION_RISK", Drift = "DRIFT", FeeAnomaly = "FEE_ANOMALY", GoalAtRisk = "GOAL_AT_RISK", RebalanceDue = "REBALANCE_DUE", TaxOpportunity = "TAX_OPPORTUNITY" } export type BraInsuranceBeneficiary = { __typename?: 'BraInsuranceBeneficiary'; name: Scalars['String']['output']; relationship?: Maybe; sharePct: Scalars['Float']['output']; }; export type BraInsuranceBeneficiaryInput = { name: Scalars['String']['input']; relationship?: InputMaybe; sharePct: Scalars['Float']['input']; }; export type BraInsuranceNeedsAnalysis = { __typename?: 'BraInsuranceNeedsAnalysis'; activePolicyCount: Scalars['Int']['output']; assumptions: BraInsuranceNeedsAssumptions; calculatedAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; disabilityMonthlyGap: Scalars['Float']['output']; disabilityMonthlyNeed: Scalars['Float']['output']; existingDisabilityMonthlyBenefit: Scalars['Float']['output']; existingLifeCover: Scalars['Float']['output']; gaps: Array; lifeCoverGap: Scalars['Float']['output']; lifeCoverNeed: Scalars['Float']['output']; methodology: Scalars['String']['output']; /** Policies held in other currencies, which this analysis leaves out. */ otherCurrencyPolicyCount: Scalars['Int']['output']; ownerId: Scalars['ID']['output']; premiumToIncomePct?: Maybe; totalAnnualPremium: Scalars['Float']['output']; }; export type BraInsuranceNeedsAssumptions = { __typename?: 'BraInsuranceNeedsAssumptions'; annualIncome: Scalars['Float']['output']; dependents: Scalars['Int']['output']; finalExpenses: Scalars['Float']['output']; futureObligations: Scalars['Float']['output']; incomeReplacementYears: Scalars['Int']['output']; liquidAssets: Scalars['Float']['output']; liquidAssetsSource: Scalars['String']['output']; outstandingDebts: Scalars['Float']['output']; /** ACCOUNTS when derived from BrainyRich accounts, INPUT when supplied. */ outstandingDebtsSource: Scalars['String']['output']; }; export type BraInsuranceNeedsInput = { annualIncome: Scalars['Float']['input']; /** Analysis currency (ISO 4217). Policies and accounts in other currencies are left out, never converted. */ currency: Scalars['String']['input']; dependents?: InputMaybe; finalExpenses?: InputMaybe; futureObligations?: InputMaybe; incomeReplacementYears?: InputMaybe; /** Defaults to the owner's liquid account cash and holdings in this currency. */ liquidAssets?: InputMaybe; /** Defaults to the owner's liability account balances in this currency. */ outstandingDebts?: InputMaybe; /** Owner to analyse; defaults to the caller. Advisors may pass a member of a household they advise. */ ownerId?: InputMaybe; }; export type BraInsurancePolicy = { __typename?: 'BraInsurancePolicy'; /** Premium converted to a yearly cost (0 for single-premium policies). */ annualPremium: Scalars['Float']['output']; beneficiaries: Array; /** Sum assured. For DISABILITY policies this is the monthly benefit. */ coverageAmount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; householdId?: Maybe; id: Scalars['ID']['output']; insuredName?: Maybe; insurer: Scalars['String']['output']; name: Scalars['String']['output']; notes?: Maybe; ownerId: Scalars['ID']['output']; /** Last characters of the policy number only; the full number is never stored. */ policyNumberMask?: Maybe; premiumAmount: Scalars['Float']['output']; premiumFrequency: BraPremiumFrequency; renewalDate?: Maybe; startDate?: Maybe; status: BraInsurancePolicyStatus; type: BraInsurancePolicyType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraInsurancePolicyConnection = { __typename?: 'BraInsurancePolicyConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraInsurancePolicyStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Expired = "EXPIRED", Lapsed = "LAPSED" } export declare enum BraInsurancePolicyType { Auto = "AUTO", CriticalIllness = "CRITICAL_ILLNESS", Disability = "DISABILITY", Health = "HEALTH", Home = "HOME", Liability = "LIABILITY", LongTermCare = "LONG_TERM_CARE", Other = "OTHER", TermLife = "TERM_LIFE", Umbrella = "UMBRELLA", WholeLife = "WHOLE_LIFE" } export type BraInvestableSurplus = { __typename?: 'BraInvestableSurplus'; allocatedMonthly: Scalars['Float']['output']; /** Average monthly spending over the window, before expected outflows. */ averageMonthlyExpenses: Scalars['Float']['output']; /** Average monthly surplus over the window, before expected outflows. */ averageMonthlySurplus: Scalars['Float']['output']; baseCurrency: Scalars['String']['output']; emergencyFundGap: Scalars['Float']['output']; emergencyFundMonths: Scalars['Float']['output']; emergencyFundTarget: Scalars['Float']['output']; /** Set aside each month to close the emergency-fund gap within 12 months. */ emergencyTopUpMonthly: Scalars['Float']['output']; /** Monthly equivalent of every active recurring outflow. */ expectedMonthlyOutflows: Scalars['Float']['output']; /** The part of expectedMonthlyOutflows the history does not already carry. */ expectedOutflowAdjustment: Scalars['Float']['output']; /** Active recurring outflows, largest uncovered cost first. */ expectedOutflows: Array; /** Active goals in funding order: highest priority first, then nearest target date. */ goals: Array; householdId?: Maybe; /** Surplus left for goals after the emergency top-up. */ investableMonthly: Scalars['Float']['output']; /** Cash balance of the bank and cash accounts in scope. */ liquidCash: Scalars['Float']['output']; /** Months of history the averages are based on. */ months: Scalars['Int']['output']; /** averageMonthlyExpenses + expectedOutflowAdjustment: the spending the emergency fund covers. */ plannedMonthlyExpenses: Scalars['Float']['output']; /** averageMonthlySurplus - expectedOutflowAdjustment: what the plan distributes. */ plannedMonthlySurplus: Scalars['Float']['output']; totalRequiredMonthly: Scalars['Float']['output']; unallocatedMonthly: Scalars['Float']['output']; }; export type BraInvestableSurplusInput = { /** Months of spending to hold as an emergency fund: 0 to 24, default 6. */ emergencyFundMonths?: InputMaybe; /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; /** Months of history to average: 1 to 36, default 6. */ months?: InputMaybe; }; export type BraLinkGoalFundingInput = { accountId: Scalars['ID']['input']; allocationPct?: InputMaybe; fixedAmount?: InputMaybe; goalId: Scalars['ID']['input']; }; export type BraMarketQuote = { __typename?: 'BraMarketQuote'; asOf: Scalars['DateTime']['output']; currency?: Maybe; price: Scalars['Float']['output']; source: Scalars['String']['output']; symbol: Scalars['String']['output']; }; export type BraModelAllocation = { __typename?: 'BraModelAllocation'; assetClass: BraAssetClass; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; modelPortfolioId: Scalars['ID']['output']; targetPct: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraModelAllocationConnection = { __typename?: 'BraModelAllocationConnection'; items: Array; pageInfo: BraPageInfo; }; export type BraModelAllocationInput = { assetClass: BraAssetClass; targetPct: Scalars['Float']['input']; }; export type BraModelPortfolio = { __typename?: 'BraModelPortfolio'; allocations: BraModelAllocationConnection; baseCurrency: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; riskProfile: BraRiskProfile; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraModelPortfolioAllocationsArgs = { pagination?: InputMaybe; }; export type BraModelPortfolioConnection = { __typename?: 'BraModelPortfolioConnection'; items: Array; pageInfo: BraPageInfo; }; export type BraNetWorthByClass = { __typename?: 'BraNetWorthByClass'; assetClass: BraAssetClass; marketValue: Scalars['Float']['output']; }; export type BraNetWorthSummary = { __typename?: 'BraNetWorthSummary'; accountCount: Scalars['Int']['output']; baseCurrency: Scalars['String']['output']; byAssetClass: Array; /** Deprecated alias for baseCurrency — kept for existing clients. */ currency: Scalars['String']['output']; /** Null when every row was already in baseCurrency (no conversion needed). */ fx?: Maybe; ownerId: Scalars['ID']['output']; totalCash: Scalars['Float']['output']; totalMarketValue: Scalars['Float']['output']; totalNetWorth: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type BraPageInfo = { __typename?: 'BraPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type BraPinVaultDocumentInput = { fileId: Scalars['ID']['input']; label: Scalars['String']['input']; versionId: Scalars['ID']['input']; }; export type BraPlaidLinkToken = { __typename?: 'BraPlaidLinkToken'; expiration: Scalars['DateTime']['output']; linkToken: Scalars['String']['output']; requestId: Scalars['String']['output']; }; export type BraPortfolio = { __typename?: 'BraPortfolio'; baseCurrency: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; driftThresholdPct: Scalars['Float']['output']; entityId?: Maybe; holdings: BraHoldingConnection; householdId?: Maybe; id: Scalars['ID']['output']; /** * Live value, allocation drift and YTD return computed from this portfolio's * current holdings on every read (BOFF-4101). Null only when the caller cannot * see the portfolio. */ metrics?: Maybe; modelPortfolioId?: Maybe; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; status: BraPortfolioStatus; tags: Array; targetAllocation?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraPortfolioHoldingsArgs = { pagination?: InputMaybe; }; export type BraPortfolioConnection = { __typename?: 'BraPortfolioConnection'; items: Array; pageInfo: BraPageInfo; }; /** Market value and YTD return of the portfolios sharing one base currency. */ export type BraPortfolioCurrencyTotal = { __typename?: 'BraPortfolioCurrencyTotal'; currency: Scalars['String']['output']; marketValue: Scalars['Float']['output']; portfolioCount: Scalars['Int']['output']; /** Value-weighted YTD return across these portfolios; null when none has one. */ ytdReturnPct?: Maybe; }; /** Live performance figures for one portfolio. */ export type BraPortfolioMetrics = { __typename?: 'BraPortfolioMetrics'; asOf: Scalars['DateTime']['output']; /** Sum of the holdings' total cost basis. */ costBasis: Scalars['Float']['output']; /** * Signed drift in percentage points (actual weight - target weight) of the * asset class furthest from the portfolio's target allocation. Null when the * portfolio has no target allocation or no market value. */ currentDriftPct?: Maybe; /** The asset class carrying currentDriftPct. */ driftAssetClass?: Maybe; /** True when |currentDriftPct| exceeds the portfolio's own driftThresholdPct. */ driftBreached: Scalars['Boolean']['output']; holdingCount: Scalars['Int']['output']; /** Sum of quantity * lastPrice over the portfolio's holdings. */ marketValue: Scalars['Float']['output']; portfolioId: Scalars['ID']['output']; /** Share (0-100) of market value covered by ytdReturnPct; null when there is no market value. */ ytdCoveragePct?: Maybe; /** Absolute YTD gain or loss over the covered holdings, in portfolio units. */ ytdGain?: Maybe; /** * Year-to-date price return of the current positions, in percent. Positions * the ledger shows were bought this year are measured from their cost basis; * every other position from the security's year-open price (the prior year's * last close); cash is flat. Positions without a current price are left out. * Null when no holding has a usable baseline. */ ytdReturnPct?: Maybe; /** Calendar year (UTC) the YTD figures refer to. */ ytdYear: Scalars['Int']['output']; }; /** The portfolios page KPI roll-up over every portfolio visible to the caller. */ export type BraPortfolioOverview = { __typename?: 'BraPortfolioOverview'; activeCount: Scalars['Int']['output']; asOf: Scalars['DateTime']['output']; /** Mean |currentDriftPct| across portfolios that have a drift figure; null when none does. */ avgDriftPct?: Maybe; /** Portfolios whose live drift is past their own threshold. */ breachedCount: Scalars['Int']['output']; draftCount: Scalars['Int']['output']; /** Portfolios that have a drift figure (a target allocation and some value). */ driftMeasuredCount: Scalars['Int']['output']; portfolioCount: Scalars['Int']['output']; /** Per base currency, never merged across currencies (no FX conversion). */ totalsByCurrency: Array; /** True when the caller has more portfolios than one overview rolls up (1000). */ truncated: Scalars['Boolean']['output']; ytdYear: Scalars['Int']['output']; }; export type BraPortfolioRiskReport = { __typename?: 'BraPortfolioRiskReport'; asOf: Scalars['DateTime']['output']; holdingsConsidered: Scalars['Int']['output']; portfolioId: Scalars['ID']['output']; /** Sorted most-severe first. An empty list means no configured threshold was breached. */ signals: Array; totalValue: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BraPortfolioStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT" } export declare enum BraPremiumFrequency { Annual = "ANNUAL", Monthly = "MONTHLY", Quarterly = "QUARTERLY", SemiAnnual = "SEMI_ANNUAL", Single = "SINGLE" } /** Lifecycle event recorded in a rebalance proposal's audit trail. */ export declare enum BraRebalanceAuditEvent { Approved = "APPROVED", Cancelled = "CANCELLED", Created = "CREATED", Executed = "EXECUTED", Proposed = "PROPOSED", Rejected = "REJECTED" } export type BraRebalanceProposal = { __typename?: 'BraRebalanceProposal'; approvedById?: Maybe; /** Lifecycle audit trail, oldest first. */ auditTrail: Array; createdAt: Scalars['DateTime']['output']; driftPct: Scalars['Float']['output']; executedAt?: Maybe; householdId?: Maybe; id: Scalars['ID']['output']; portfolioId: Scalars['ID']['output']; proposedById?: Maybe; rationale?: Maybe; status: BraRebalanceStatus; trades?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * One entry in a rebalance proposal's append-only audit trail: who changed the * proposal, when, and from which status to which. */ export type BraRebalanceProposalAuditEntry = { __typename?: 'BraRebalanceProposalAuditEntry'; /** Actor (user id) who performed the change. */ actorId: Scalars['ID']['output']; /** True when the entry was reconstructed from the proposal record for a proposal created before the audit trail existed. */ backfilled: Scalars['Boolean']['output']; event: BraRebalanceAuditEvent; /** Status before the change; null for the CREATED event. */ fromStatus?: Maybe; id: Scalars['ID']['output']; note?: Maybe; occurredAt: Scalars['DateTime']['output']; proposalId: Scalars['ID']['output']; toStatus: BraRebalanceStatus; workspaceId: Scalars['ID']['output']; }; export type BraRebalanceProposalConnection = { __typename?: 'BraRebalanceProposalConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraRebalanceStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Draft = "DRAFT", Executed = "EXECUTED", Proposed = "PROPOSED", Rejected = "REJECTED" } export declare enum BraRecurringCategory { RecurringIncome = "RECURRING_INCOME", RecurringTransfer = "RECURRING_TRANSFER", Subscription = "SUBSCRIPTION", Uncategorized = "UNCATEGORIZED" } export type BraRecurringDetectionInput = { /** Whole-number look-back from 1 to 1095 days; defaults to 180. Analyses over 10,000 transactions fail explicitly; shorten the window. */ windowDays?: InputMaybe; }; export declare enum BraRecurringFrequency { Biweekly = "BIWEEKLY", Monthly = "MONTHLY", Other = "OTHER", Quarterly = "QUARTERLY", Weekly = "WEEKLY", Yearly = "YEARLY" } export type BraRecurringPattern = { __typename?: 'BraRecurringPattern'; accountId: Scalars['ID']['output']; /** Median amount per occurrence (positive magnitude, currency below). */ amount: Scalars['Float']['output']; /** Coefficient of variation of the amount (stddev / mean) — high values mean the amount drifts over time. */ amountVariance: Scalars['Float']['output']; category: BraRecurringCategory; /** Confidence score in [0, 1]; combines cadence match, amount stability, and sample size. */ confidence: Scalars['Float']['output']; currency: Scalars['String']['output']; firstSeen: Scalars['DateTime']['output']; frequency: BraRecurringFrequency; lastSeen: Scalars['DateTime']['output']; /** Median interval (in days) between consecutive occurrences — sample for UI tooltips. */ medianIntervalDays: Scalars['Float']['output']; /** Human-readable merchant name taken from the most recent occurrence's notes. */ merchantDisplay: Scalars['String']['output']; /** Stable clustering key — the normalized merchant name (digits/punctuation stripped). */ merchantKey: Scalars['String']['output']; occurrences: Scalars['Int']['output']; /** Source transaction ids that fed this pattern, in chronological order. */ transactionIds: Array; }; export type BraRecurringPatternConnection = { __typename?: 'BraRecurringPatternConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraReplacementBasis { AssetClassFallback = "ASSET_CLASS_FALLBACK", IndexAlternative = "INDEX_ALTERNATIVE", SectorFund = "SECTOR_FUND" } export type BraReplacementSuggestion = { __typename?: 'BraReplacementSuggestion'; basis: BraReplacementBasis; name: Scalars['String']['output']; rationale: Scalars['String']['output']; symbol: Scalars['String']['output']; }; export declare enum BraReportFrequency { Monthly = "MONTHLY", Quarterly = "QUARTERLY", Weekly = "WEEKLY" } export type BraReportRun = { __typename?: 'BraReportRun'; advisorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; generatedAt?: Maybe; householdId?: Maybe; id: Scalars['ID']['output']; notifiedAt?: Maybe; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; scheduledReportId?: Maybe; status: BraReportRunStatus; workspaceId: Scalars['ID']['output']; }; export declare enum BraReportRunStatus { Failed = "FAILED", Generated = "GENERATED", Pending = "PENDING" } export declare enum BraRiskProfile { Aggressive = "AGGRESSIVE", Balanced = "BALANCED", Conservative = "CONSERVATIVE", Growth = "GROWTH", Moderate = "MODERATE" } export type BraRiskSignal = { __typename?: 'BraRiskSignal'; detail: Scalars['String']['output']; insightType: BraInsightType; kind: BraRiskSignalKind; /** Real computed inputs + the formula/threshold behind this signal — never an opaque score. */ metrics: Scalars['JSON']['output']; severity: BraInsightSeverity; title: Scalars['String']['output']; }; export declare enum BraRiskSignalKind { AllocationDrift = "ALLOCATION_DRIFT", AssetClassConcentration = "ASSET_CLASS_CONCENTRATION", CashDrag = "CASH_DRAG", HoldingConcentration = "HOLDING_CONCENTRATION", RebalanceDue = "REBALANCE_DUE", TaxLossHarvest = "TAX_LOSS_HARVEST" } export type BraRiskSummary = { __typename?: 'BraRiskSummary'; /** False when no LLM provider is configured/reachable — the deterministic signals above are unaffected. */ generated: Scalars['Boolean']['output']; provider?: Maybe; reason?: Maybe; signalsConsidered: Scalars['Int']['output']; /** Plain-language restatement of the computed signals. AI-labeled commentary on real numbers — never itself a source of numbers or a recommendation. */ summary?: Maybe; }; export type BraScheduledReport = { __typename?: 'BraScheduledReport'; advisorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; frequency: BraReportFrequency; householdId?: Maybe; id: Scalars['ID']['output']; lastRunAt?: Maybe; name: Scalars['String']['output']; nextRunAt: Scalars['DateTime']['output']; status: BraScheduledReportStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BraScheduledReportStatus { Active = "ACTIVE", Paused = "PAUSED" } export type BraSetBudgetInput = { /** A spending category; income, transfer and investment categories cannot be budgeted. */ category: BraCashflowCategory; /** ISO currency code; defaults to the caller's base currency. */ currency?: InputMaybe; /** A household the caller advises or holds an account in; omit for the caller's own books. */ householdId?: InputMaybe; monthlyAmount: Scalars['Float']['input']; notes?: InputMaybe; }; export type BraTaxHarvestCandidate = { __typename?: 'BraTaxHarvestCandidate'; accountId: Scalars['ID']['output']; accountName: Scalars['String']['output']; assetClass: BraAssetClass; costBasis: Scalars['Float']['output']; currency: Scalars['String']['output']; estimatedTaxSaved: Scalars['Float']['output']; /** Sum of losses across the lots at a loss, as a positive number. */ harvestableLoss: Scalars['Float']['output']; /** Quantity across the lots at a loss. */ harvestableQuantity: Scalars['Float']['output']; holdingId: Scalars['ID']['output']; lossLotCount: Scalars['Int']['output']; lotCount: Scalars['Int']['output']; lotSource: BraTaxLotSource; lots: Array; /** False when recorded/derived lots did not add up to the holding and were adjusted. */ lotsReconciled: Scalars['Boolean']['output']; marketValue: Scalars['Float']['output']; name?: Maybe; quantity: Scalars['Float']['output']; suggestedReplacement?: Maybe; symbol: Scalars['String']['output']; /** Holding-level unrealized P/L (positive = gain). */ unrealizedGainLoss: Scalars['Float']['output']; washSale: BraWashSaleAssessment; }; export type BraTaxHarvestInput = { /** Limit to one account the actor can see. */ accountId?: InputMaybe; /** Marginal rate for long-term losses, 0..1. Defaults to 0.15. */ longTermTaxRate?: InputMaybe; /** Skip candidates whose harvestable loss is below this amount. Defaults to 0. */ minLossAmount?: InputMaybe; /** Limit to holdings in one portfolio the actor can see. */ portfolioId?: InputMaybe; /** Marginal rate for short-term losses, 0..1. Defaults to 0.24. */ shortTermTaxRate?: InputMaybe; }; export type BraTaxHarvestReport = { __typename?: 'BraTaxHarvestReport'; asOf: Scalars['DateTime']['output']; /** Sorted by harvestable loss, largest first. */ candidates: Array; disclaimer: Scalars['String']['output']; longTermTaxRate: Scalars['Float']['output']; shortTermTaxRate: Scalars['Float']['output']; /** Totals per currency; candidates in different currencies are never summed together. */ totals: Array; washSaleWindowDays: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type BraTaxHarvestTotal = { __typename?: 'BraTaxHarvestTotal'; candidateCount: Scalars['Int']['output']; currency: Scalars['String']['output']; estimatedTaxSaved: Scalars['Float']['output']; harvestableLoss: Scalars['Float']['output']; }; export type BraTaxLossOpportunity = { __typename?: 'BraTaxLossOpportunity'; costBasis: Scalars['Float']['output']; lossPctOfPortfolio: Scalars['Float']['output']; marketValue: Scalars['Float']['output']; /** Real computed inputs + the formula/thresholds behind this opportunity — never an opaque score. */ metrics: Scalars['JSON']['output']; severity: BraInsightSeverity; symbol: Scalars['String']['output']; unrealizedLoss: Scalars['Float']['output']; washSaleReason?: Maybe; /** True when a BUY of this symbol was recorded within the IRS 30-day wash-sale window. */ washSaleRisk: Scalars['Boolean']['output']; }; export type BraTaxLossReport = { __typename?: 'BraTaxLossReport'; asOf: Scalars['DateTime']['output']; /** Sorted worst-loss-first. An empty list means no symbol cleared the configured thresholds. */ opportunities: Array; portfolioId: Scalars['ID']['output']; thresholds: BraTaxLossThresholds; workspaceId: Scalars['ID']['output']; }; export type BraTaxLossThresholdInput = { /** Minimum absolute unrealized loss to qualify. Defaults to a documented platform default when omitted. */ minLossAmount?: InputMaybe; /** Minimum unrealized loss as a percent of total portfolio value to qualify. Defaults to a documented platform default when omitted. */ minLossPct?: InputMaybe; }; export type BraTaxLossThresholds = { __typename?: 'BraTaxLossThresholds'; minLossAmount: Scalars['Float']['output']; minLossPct: Scalars['Float']['output']; }; /** A recorded specific-identification tax lot. */ export type BraTaxLot = { __typename?: 'BraTaxLot'; accountId: Scalars['ID']['output']; acquiredAt: Scalars['DateTime']['output']; /** Total cost basis of the remaining shares. */ costBasis: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; holdingId: Scalars['ID']['output']; id: Scalars['ID']['output']; notes?: Maybe; quantity: Scalars['Float']['output']; remainingQuantity: Scalars['Float']['output']; symbol: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Where a candidate's lots came from. */ export declare enum BraTaxLotSource { /** No lots or ledger: the whole position is treated as one lot. */ Holding = "HOLDING", /** Lots recorded with braCreateTaxLot. */ Recorded = "RECORDED", /** Lots rebuilt from the account's BUY/SELL transactions (FIFO). */ Transactions = "TRANSACTIONS", /** Part of the position not covered by recorded or derived lots. */ Unallocated = "UNALLOCATED" } export type BraTradeInstruction = { __typename?: 'BraTradeInstruction'; accountId?: Maybe; action: BraTradeInstructionAction; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; portfolioId: Scalars['ID']['output']; priceAsOf?: Maybe; priceSource?: Maybe; quantity: Scalars['Float']['output']; rationale?: Maybe; /** A real quote from the live market-data feed at creation time — null when the feed was unavailable, never fabricated. */ referencePrice?: Maybe; reviewedAt?: Maybe; reviewedById?: Maybe; source: BraTradeInstructionSource; status: BraTradeInstructionStatus; symbol: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BraTradeInstructionAction { Buy = "BUY", Sell = "SELL" } export declare enum BraTradeInstructionSource { Manual = "MANUAL", RebalanceProposal = "REBALANCE_PROPOSAL", RiskSignal = "RISK_SIGNAL" } export declare enum BraTradeInstructionStatus { Acknowledged = "ACKNOWLEDGED", Dismissed = "DISMISSED", PendingReview = "PENDING_REVIEW" } export type BraTransaction = { __typename?: 'BraTransaction'; accountId: Scalars['ID']['output']; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; fee: Scalars['Float']['output']; holdingId?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; price: Scalars['Float']['output']; quantity: Scalars['Float']['output']; settleDate?: Maybe; symbol?: Maybe; tradeDate: Scalars['DateTime']['output']; type: BraTransactionType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BraTransactionConnection = { __typename?: 'BraTransactionConnection'; items: Array; pageInfo: BraPageInfo; }; export declare enum BraTransactionType { Buy = "BUY", Deposit = "DEPOSIT", Dividend = "DIVIDEND", Fee = "FEE", Interest = "INTEREST", Sell = "SELL", Transfer = "TRANSFER", Withdrawal = "WITHDRAWAL" } export type BraUpdateAccountInput = { accountMask?: InputMaybe; cashBalance?: InputMaybe; currency?: InputMaybe; householdId?: InputMaybe; institution?: InputMaybe; name?: InputMaybe; status?: InputMaybe; type?: InputMaybe; }; export type BraUpdateGoalInput = { currency?: InputMaybe; monthlyContribution?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; priority?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; targetAmount?: InputMaybe; targetDate?: InputMaybe; type?: InputMaybe; }; export type BraUpdateHoldingInput = { asOf?: InputMaybe; assetClass?: InputMaybe; costBasis?: InputMaybe; lastPrice?: InputMaybe; name?: InputMaybe; portfolioId?: InputMaybe; quantity?: InputMaybe; }; export type BraUpdateHouseholdInput = { aum?: InputMaybe; currency?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; primaryContactEmail?: InputMaybe; primaryContactName?: InputMaybe; riskProfile?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type BraUpdateInsurancePolicyInput = { beneficiaries?: InputMaybe>; coverageAmount?: InputMaybe; currency?: InputMaybe; insuredName?: InputMaybe; insurer?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; policyNumberMask?: InputMaybe; premiumAmount?: InputMaybe; premiumFrequency?: InputMaybe; renewalDate?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; type?: InputMaybe; }; /** * Partial update of a workspace model portfolio. Every field is optional; omitted * (or null) fields are left unchanged. Toggling `isActive` only affects whether * the model is offered as an active template: portfolios already linked to the * model keep their link and are never modified by a model update. */ export type BraUpdateModelPortfolioInput = { baseCurrency?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; name?: InputMaybe; riskProfile?: InputMaybe; }; export type BraUpdatePortfolioInput = { baseCurrency?: InputMaybe; description?: InputMaybe; driftThresholdPct?: InputMaybe; modelPortfolioId?: InputMaybe; name?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; targetAllocation?: InputMaybe; }; export type BraUpdateTaxLotInput = { acquiredAt?: InputMaybe; costBasis?: InputMaybe; notes?: InputMaybe; quantity?: InputMaybe; remainingQuantity?: InputMaybe; }; export type BraUpsertAdvisorBrandingInput = { contactEmail?: InputMaybe; disclaimer?: InputMaybe; firmName?: InputMaybe; logoFileId?: InputMaybe; /** Hex color, e.g. #0B5FFF. */ primaryColor?: InputMaybe; secondaryColor?: InputMaybe; }; export type BraVaultBeneficiary = { __typename?: 'BraVaultBeneficiary'; acceptanceVersion?: Maybe; acceptedAt?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; recipientId: Scalars['ID']['output']; }; export type BraVaultDetail = { __typename?: 'BraVaultDetail'; beneficiaries: Array; documents: Array; recentEvents: Array; vault: BraDocumentVault; }; export type BraVaultDocument = { __typename?: 'BraVaultDocument'; createdAt: Scalars['DateTime']['output']; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; versionId: Scalars['ID']['output']; }; /** Service-only decision. Files must recheck its metadata and acknowledge before returning a URL. */ export type BraVaultDownloadDecision = { __typename?: 'BraVaultDownloadDecision'; accessExpiresAt?: Maybe; fileId: Scalars['ID']['output']; folderId: Scalars['ID']['output']; leaseId: Scalars['ID']['output']; ownerId: Scalars['ID']['output']; versionId: Scalars['ID']['output']; }; export type BraVaultEvent = { __typename?: 'BraVaultEvent'; actorId?: Maybe; actorKind: Scalars['String']['output']; beneficiaryId?: Maybe; createdAt: Scalars['DateTime']['output']; documentId?: Maybe; id: Scalars['ID']['output']; kind: Scalars['String']['output']; revision: Scalars['Int']['output']; }; export type BraVaultGrantedDocument = { __typename?: 'BraVaultGrantedDocument'; id: Scalars['ID']['output']; label: Scalars['String']['output']; }; export type BraVaultInvitation = { __typename?: 'BraVaultInvitation'; acceptedAt?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; phase: BraVaultPhase; vaultId: Scalars['ID']['output']; }; /** Inactivity authorizes access only; it is not proof of death or legal authority. */ export declare enum BraVaultPhase { Armed = "ARMED", Draft = "DRAFT", Expired = "EXPIRED", Grace = "GRACE", Released = "RELEASED" } export type BraVaultTimingInput = { accessWindowSeconds: Scalars['Int']['input']; checkInSeconds: Scalars['Int']['input']; graceSeconds: Scalars['Int']['input']; }; export type BraWashSaleAssessment = { __typename?: 'BraWashSaleAssessment'; conflictingPurchaseAt?: Maybe; conflictingSymbol?: Maybe; level: BraWashSaleRiskLevel; reason: Scalars['String']['output']; /** First day a repurchase of the same security falls outside the window if sold today. */ repurchaseSafeAfter: Scalars['DateTime']['output']; }; export declare enum BraWashSaleRiskLevel { /** The same security was bought in the same account in the window. */ High = "HIGH", /** No conflicting purchase recorded in the wash-sale window. */ Low = "LOW", /** The same security in another account, or a fund on the same index, was bought in the window. */ Medium = "MEDIUM" } export type BreedingRecord = { __typename?: 'BreedingRecord'; /** * The OBSERVED delivery date (BOFF-6034). Null until the birth is actually recorded. A DELIVERED * record with no deliveredOn predates this field — `updatedAt` is not a substitute, being the last * edit of any field. Calving interval, days-open and gestation length all depend on this. */ deliveredOn?: Maybe; /** The PREDICTED delivery date. Null (never "") when none was set — it is not evidence of a birth. */ expectedDeliveryDate?: Maybe; femaleId: Scalars['String']['output']; femaleName: Scalars['String']['output']; id: Scalars['ID']['output']; maleId?: Maybe; maleName?: Maybe; matingDate: Scalars['String']['output']; matingType: Scalars['String']['output']; /** * The farmer's own note on this breeding — the most culling-relevant sentence they will write about * an animal. Writable since launch but unreadable until BOFF-6034; older notes are still here. */ notes?: Maybe; /** Offspring born. Null when not recorded — never assume 1. */ offspringBorn?: Maybe; /** Offspring born alive. born - live is perinatal mortality: a stillbirth that is never an Animal. */ offspringLive?: Maybe; pregnancyConfirmed: Scalars['Boolean']['output']; status: Scalars['String']['output']; }; export type Bucket = { __typename?: 'Bucket'; color?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; deletedAt?: Maybe; description?: Maybe; icon?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; parentBucketId?: Maybe; path: Scalars['String']['output']; slug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type BucketFilterInput = { context?: InputMaybe; parentBucketId?: InputMaybe; search?: InputMaybe; workspaceId?: InputMaybe; }; /** An individual expense logged against a budget. */ export type BudgetExpense = { __typename?: 'BudgetExpense'; /** Expense amount */ amount: Scalars['Float']['output']; /** Parent budget */ budget?: Maybe; /** Parent budget ID */ budgetId: Scalars['String']['output']; /** Expense category */ category?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who logged this expense */ createdBy: Scalars['String']['output']; /** Date of expense */ date: Scalars['DateTime']['output']; /** Expense description */ description: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe; /** Receipt or reference URL */ referenceUrl?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Associated work item ID */ workItemId?: Maybe; }; export declare enum BudgetStatus { Active = "ACTIVE", Approved = "APPROVED", Closed = "CLOSED", Draft = "DRAFT", Exceeded = "EXCEEDED" } /** What a draft being checked is, so lesson-only rules (transcripts) apply only to lessons. */ export declare enum BuiAccessibilityContentKind { Assessment = "ASSESSMENT", Lesson = "LESSON", Question = "QUESTION" } export type BuiAccessibilityIssue = { __typename?: 'BuiAccessibilityIssue'; /** Short snippet of the offending source, when the issue maps to one. */ excerpt?: Maybe; /** 1-based line in the checked text, when the issue maps to one. */ line?: Maybe; /** English fix hint. Clients may localise by `rule`. */ message: Scalars['String']['output']; rule: BuiAccessibilityRule; severity: BuiAccessibilitySeverity; /** WCAG 2.1 success criterion number, e.g. 1.1.1. */ wcag: Scalars['String']['output']; /** WCAG conformance level of the criterion: A or AA. */ wcagLevel: Scalars['String']['output']; }; export type BuiAccessibilityReport = { __typename?: 'BuiAccessibilityReport'; errorCount: Scalars['Int']['output']; issues: Array; /** True when there are no ERROR issues (warnings still need review). */ passed: Scalars['Boolean']['output']; /** True when the content exceeded the size cap and only its beginning was checked. */ truncated: Scalars['Boolean']['output']; warningCount: Scalars['Int']['output']; }; export declare enum BuiAccessibilityRule { ColorStyling = "COLOR_STYLING", HeadingEmpty = "HEADING_EMPTY", HeadingLevelSkipped = "HEADING_LEVEL_SKIPPED", IframeTitleMissing = "IFRAME_TITLE_MISSING", ImageAltEmpty = "IMAGE_ALT_EMPTY", ImageAltMissing = "IMAGE_ALT_MISSING", ImageAltNotDescriptive = "IMAGE_ALT_NOT_DESCRIPTIVE", LinkTextEmpty = "LINK_TEXT_EMPTY", LinkTextNotDescriptive = "LINK_TEXT_NOT_DESCRIPTIVE", LinkTextRawUrl = "LINK_TEXT_RAW_URL", MediaAutoplay = "MEDIA_AUTOPLAY", MediaCaptionsMissing = "MEDIA_CAPTIONS_MISSING", MediaTranscriptMissing = "MEDIA_TRANSCRIPT_MISSING", MovingContent = "MOVING_CONTENT", OptionLabelDuplicate = "OPTION_LABEL_DUPLICATE", OptionLabelEmpty = "OPTION_LABEL_EMPTY", SensoryInstruction = "SENSORY_INSTRUCTION", TableHeaderMissing = "TABLE_HEADER_MISSING" } export declare enum BuiAccessibilitySeverity { /** Fails a WCAG 2.1 A/AA success criterion as written. */ Error = "ERROR", /** Likely to fail, or needs an author's judgement (e.g. decorative image, colour-only instruction). */ Warning = "WARNING" } export declare enum BuiAccessibilityTargetType { Assessment = "ASSESSMENT", Course = "COURSE", Lesson = "LESSON", Question = "QUESTION" } export declare enum BuiAdminCopilotActionKind { /** * Turn on, adjust or turn off one of the ready-made L&D automations * (`buiAutomations`): overdue reminders, the onboarding path or * failed-assessment remediation (BOFF-9888). */ ConfigureAutomation = "CONFIGURE_AUTOMATION", /** Enroll the learners of a course or cohort into another published course. */ EnrollLearners = "ENROLL_LEARNERS", /** Export an enrollment and completion report as CSV. */ ExportReport = "EXPORT_REPORT", /** Send an in-app reminder to learners with unfinished enrollments. */ SendReminder = "SEND_REMINDER" } /** Outcome counts recorded when a confirmed action ran. Fields that do not apply to the kind are null. */ export type BuiAdminCopilotActionResult = { __typename?: 'BuiAdminCopilotActionResult'; /** CONFIGURE_AUTOMATION: whether the automation is on after the change. */ automationEnabled?: Maybe; enrolledCount?: Maybe; /** Reminders the notification service did not accept. */ failedCount?: Maybe; notifiedCount?: Maybe; rowCount?: Maybe; /** Learners in the confirmed snapshot that were no longer eligible when it ran. */ skippedCount?: Maybe; }; export declare enum BuiAdminCopilotActionStatus { Dismissed = "DISMISSED", Executed = "EXECUTED", Executing = "EXECUTING", Expired = "EXPIRED", Failed = "FAILED", Proposed = "PROPOSED" } export type BuiAdminCopilotAnswer = { __typename?: 'BuiAdminCopilotAnswer'; answer: Scalars['String']['output']; /** Ids of the courses this turn's `contextSummary` actually aggregated over — the explainability trail. */ contextCourseIds: Array; /** Proposals the model returned that failed validation and were dropped. */ discardedActionCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; /** * Actions the copilot proposed for this question (BOFF-9687), already * validated against the workspace and persisted as PROPOSED. Nothing has run: * each one waits for the admin to confirm it with the matching * `buiAdminCopilotExecute*Action` mutation or dismiss it. */ proposedActions: Array; }; export type BuiAdminCopilotExecution = { __typename?: 'BuiAdminCopilotExecution'; action: BuiAdminCopilotProposedAction; /** CSV content for an executed EXPORT_REPORT action; null for other kinds. */ reportCsv?: Maybe; reportFileName?: Maybe; }; export type BuiAdminCopilotProposedAction = { __typename?: 'BuiAdminCopilotProposedAction'; /** Learners (enroll, reminder) or report rows the admin is confirming. */ affectedCount: Scalars['Int']['output']; /** The validated settings confirming will save, in the shape `BuiAutomation.config` uses. */ automationConfig?: Maybe; /** Whether confirming turns the automation on (true) or off (false). CONFIGURE_AUTOMATION only. */ automationEnabled?: Maybe; automationName?: Maybe; /** The automation a CONFIGURE_AUTOMATION proposal changes; null for other kinds. */ automationTemplate?: Maybe; /** Whether the automation was on when the proposal was made. CONFIGURE_AUTOMATION only. */ automationWasEnabled?: Maybe; cohortId?: Maybe; cohortName?: Maybe; confirmedAt?: Maybe; /** The admin who confirmed or dismissed it. */ confirmedBy?: Maybe; courseId?: Maybe; courseTitle?: Maybe; createdAt: Scalars['DateTime']['output']; /** The admin whose question produced the proposal. */ createdBy: Scalars['ID']['output']; dismissedAt?: Maybe; errorMessage?: Maybe; /** * The live workspace figure the proposal is grounded in, for example how many * enrollments are overdue. CONFIGURE_AUTOMATION only; `affectedCount` holds * the same number. */ evidence?: Maybe; executedAt?: Maybe; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; inactiveDays?: Maybe; kind: BuiAdminCopilotActionKind; /** The admin question that produced the proposal. */ question: Scalars['String']['output']; /** The model's reason for proposing it. */ rationale: Scalars['String']['output']; /** The reminder text learners will receive (SEND_REMINDER only). */ reminderMessage?: Maybe; result?: Maybe; /** Where bulk-enrolled learners come from, for example a course or cohort name. */ sourceLabel?: Maybe; status: BuiAdminCopilotActionStatus; /** Enrollment statuses the source (enroll) or report rows are filtered to. */ statusFilter: Array; /** Server-generated description of exactly what confirming will do. */ summary: Scalars['String']['output']; title: Scalars['String']['output']; /** True when more items were eligible than one proposal may cover. */ truncated: Scalars['Boolean']['output']; }; export declare enum BuiAdminCopilotRole { Assistant = "ASSISTANT", User = "USER" } export type BuiAdminCopilotTurnInput = { content: Scalars['String']['input']; role: BuiAdminCopilotRole; }; /** The workspace's saved AI content controls. Defaults apply until an admin saves them. */ export type BuiAiSettings = { __typename?: 'BuiAiSettings'; /** Whether AI tutor answers are also filtered against `blockedTerms`. */ applyToTutor: Scalars['Boolean']['output']; /** Normalised (trimmed, lower-cased, de-duplicated) terms AI content must never contain. */ blockedTerms: Array; /** Longest term, in characters. */ maxBlockedTermLength: Scalars['Int']['output']; /** Most terms a workspace can save. */ maxBlockedTerms: Scalars['Int']['output']; /** When the settings were last saved; null when they never were. */ updatedAt?: Maybe; /** Actor id of the admin who last saved them. */ updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum BuiAiSuggestionOutcome { Accepted = "ACCEPTED", Pending = "PENDING", Rejected = "REJECTED" } export type BuiApplyAssessmentDraftInput = { /** Re-checked before anything is written, merged with the workspace's saved block-list; apply fails if a term still matches. */ blockedTerms?: InputMaybe>; courseId: Scalars['ID']['input']; description?: InputMaybe; passingScore?: InputMaybe; questions: Array; title: Scalars['String']['input']; type?: InputMaybe; }; export type BuiApplyCourseOutlineInput = { /** * Optional block-list re-checked at apply time, merged with the workspace's * saved block-list: the course is not created if any title or description * still mentions one of these terms. */ blockedTerms?: InputMaybe>; level?: InputMaybe; modules: Array; slug: Scalars['String']['input']; summary?: InputMaybe; title: Scalars['String']['input']; }; export type BuiAssessment = { __typename?: 'BuiAssessment'; /** * BOFF-9690: opt-in in-browser AI monitoring (camera face presence, multiple * faces, looking away, sustained speech) on top of the human-reviewed * proctoring gate. Only ever true when `requiresProctoring` is true. */ aiProctoringEnabled: Scalars['Boolean']['output']; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isGraded: Scalars['Boolean']['output']; maxAttempts: Scalars['Int']['output']; passingScore: Scalars['Float']['output']; questions: BuiQuestionConnection; /** BOFF-10563: repository provenance, including whether a newer version exists. */ repositorySource?: Maybe; /** * BOFF-4431: when true, `buiSubmitAssessment` requires the submitting * learner to hold an APPROVED, unexpired `BuiProctoringSession` for this * assessment — set by an instructor for high-stakes exams. */ requiresProctoring: Scalars['Boolean']['output']; /** BOFF-10563: Learning Object Repository object this assessment was cloned from or saved as. */ sourceObjectId?: Maybe; /** BOFF-10563: the repository version this assessment matches. */ sourceObjectVersion?: Maybe; status: BuiAssessmentStatus; timeLimitMin: Scalars['Int']['output']; title: Scalars['String']['output']; type: BuiAssessmentType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiAssessmentQuestionsArgs = { pagination?: InputMaybe; }; export type BuiAssessmentConnection = { __typename?: 'BuiAssessmentConnection'; items: Array; pageInfo: BuiPageInfo; }; /** One AI-drafted question, in the same shape `buiCreateQuestion` accepts. */ export type BuiAssessmentDraftQuestion = { __typename?: 'BuiAssessmentDraftQuestion'; /** Array of correct option labels; null for open-ended questions. */ answerKey?: Maybe; /** 0..1: how well the course material supports this question, per the model. */ confidence: Scalars['Float']['output']; /** Why the answer is correct, or grading guidance for open-ended questions. */ explanation?: Maybe; /** Array of { label } options; empty for open-ended questions. */ options: Scalars['JSON']['output']; points: Scalars['Float']['output']; prompt: Scalars['String']['output']; type: BuiQuestionType; }; export type BuiAssessmentDraftQuestionInput = { /** Array of correct option labels for choice questions. */ answerKey?: InputMaybe; explanation?: InputMaybe; /** Array of { label } (or plain label strings) for choice questions. */ options?: InputMaybe; points?: InputMaybe; prompt: Scalars['String']['input']; type: BuiQuestionType; }; export type BuiAssessmentDraftSuggestion = { __typename?: 'BuiAssessmentDraftSuggestion'; blockedTermsMatched: Array; /** Mean confidence of the returned questions. */ confidence: Scalars['Float']['output']; courseId: Scalars['ID']['output']; /** Questions the model returned in an unusable shape. */ discardedInvalidCount: Scalars['Int']['output']; /** Questions removed because they mentioned a blocked term. */ filteredOutCount: Scalars['Int']['output']; /** Ids of the course and lessons whose content grounded the draft. */ groundingRefs: Array; lessonId?: Maybe; /** Questions removed because their confidence was below `minConfidence`. */ lowConfidenceFilteredCount: Scalars['Int']['output']; questions: Array; rationale: Scalars['String']['output']; }; export declare enum BuiAssessmentStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export declare enum BuiAssessmentType { Assignment = "ASSIGNMENT", Exam = "EXAM", Practical = "PRACTICAL", Quiz = "QUIZ", Survey = "SURVEY" } /** * The content controls the BotManor-hosted course assistant must apply to its * answers (BOFF-10027). BotManor reads this as a machine actor before each turn * runs and masks every term in streamed partials, the stored answer and the * canonical conversation history. Learners never read the list itself. */ export type BuiAssistantContentControls = { __typename?: 'BuiAssistantContentControls'; /** Normalised terms to mask in course assistant answers; empty when `applyToTutor` is off. */ blockedTerms: Array; }; /** One ACTIVE enrollment scored at or above the workspace's risk threshold. */ export type BuiAtRiskEnrollment = { __typename?: 'BuiAtRiskEnrollment'; enrollment: BuiEnrollment; /** Human-readable evidence sentence built from the signals. */ rationale: Scalars['String']['output']; /** Weighted 0-100 score across the fired signals. */ riskScore: Scalars['Int']['output']; /** The specific signals that produced the score. */ signals: Array; /** The decision engine's remediation recommendation, when one applies. */ suggestedIntervention?: Maybe; }; export type BuiAtRiskEnrollmentConnection = { __typename?: 'BuiAtRiskEnrollmentConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiAttachInteractivePackageInput = { /** wspace-files-svc id of the .h5p file, uploaded by the caller. */ fileId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; /** Pass mark (1-100). Defaults to the package's own pass mark, else 70. */ passPct?: InputMaybe; }; export type BuiAttachScormPackageInput = { /** wspace-files-svc id of the SCORM ZIP, uploaded by the caller. */ fileId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; }; /** * One automation template and its state in this workspace. Every template is * listed whether or not it has been configured (`id` is null until it has). */ export type BuiAutomation = { __typename?: 'BuiAutomation'; actionDescription: Scalars['String']['output']; /** * Template settings. OVERDUE_REMINDER: { cronExpression, timezone, graceDays, * escalateAfterDays }. ONBOARDING_PATH: { courseIds, dueInDays }. * ASSESSMENT_REMEDIATION: { remediationCourseId, assessmentIds, dueInDays }. */ config: Scalars['JSON']['output']; defaultConfig: Scalars['JSON']['output']; description: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; id?: Maybe; lastError?: Maybe; lastRunAt?: Maybe; lastRunStatus?: Maybe; name: Scalars['String']['output']; template: BuiAutomationTemplate; triggerDescription: Scalars['String']['output']; triggerKind: BuiAutomationTriggerKind; updatedAt?: Maybe; workflowDefinitionId?: Maybe; /** FluidGrids workflow key; open it in the builder at /workflows/workflow/{workflowKey}/{workflowVersion}. */ workflowKey?: Maybe; workflowVersion?: Maybe; }; export type BuiAutomationRun = { __typename?: 'BuiAutomationRun'; /** The BuildMyIQ action the workflow asked for: enroll, remind_overdue or none. */ action?: Maybe; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; error?: Maybe; /** FluidGrids run id (wspace-workflow-svc WorkflowRun). */ fluidgridsRunId?: Maybe; id: Scalars['ID']['output']; /** What the action did (counts, enrollment ids, skipped items). */ result?: Maybe; status: BuiAutomationRunStatus; /** Who or what the run is about: learnerId, submissionId, assessmentId. */ subject?: Maybe; template: BuiAutomationTemplate; triggerSource: BuiAutomationTriggerSource; }; export type BuiAutomationRunConnection = { __typename?: 'BuiAutomationRunConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiAutomationRunStatus { Applied = "APPLIED", Applying = "APPLYING", Failed = "FAILED", Pending = "PENDING", Skipped = "SKIPPED" } export declare enum BuiAutomationTemplate { /** Enroll a learner who fails a graded assessment in a remediation course. */ AssessmentRemediation = "ASSESSMENT_REMEDIATION", /** Enroll new workspace members in the onboarding courses. */ OnboardingPath = "ONBOARDING_PATH", /** Daily reminders for overdue enrollments, escalating long-overdue ones. */ OverdueReminder = "OVERDUE_REMINDER" } export declare enum BuiAutomationTriggerKind { Event = "EVENT", Schedule = "SCHEDULE" } export declare enum BuiAutomationTriggerSource { Event = "EVENT", Manual = "MANUAL", Schedule = "SCHEDULE" } export type BuiAwardBadgeInput = { badgeId: Scalars['ID']['input']; evidence?: InputMaybe; /** auth-svc user id of the learner receiving the badge. */ learnerId: Scalars['ID']['input']; }; export type BuiBadge = { __typename?: 'BuiBadge'; /** Number of learners currently holding this badge (revoked awards excluded). */ awardCount: Scalars['Int']['output']; /** Awarded automatically when a learner completes `courseId`. */ awardOnCourseCompletion: Scalars['Boolean']['output']; courseId?: Maybe; createdAt: Scalars['DateTime']['output']; /** What a learner did to earn the badge (Open Badges criteria narrative). */ criteria?: Maybe; description?: Maybe; /** Key of a curated icon in the BuildMyIQ badge icon set, e.g. `award`, `star`, `trophy`. */ icon: Scalars['String']['output']; id: Scalars['ID']['output']; kind: BuiBadgeKind; name: Scalars['String']['output']; skillId?: Maybe; status: BuiBadgeStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiBadgeAward = { __typename?: 'BuiBadgeAward'; awardedAt: Scalars['DateTime']['output']; badge: BuiBadge; badgeId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; enrollmentId?: Maybe; evidence?: Maybe; id: Scalars['ID']['output']; learnerId: Scalars['ID']['output']; method: BuiBadgeAwardMethod; revokedAt?: Maybe; revokedReason?: Maybe; status: BuiBadgeAwardStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiBadgeAwardConnection = { __typename?: 'BuiBadgeAwardConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiBadgeAwardMethod { /** Awarded automatically when the learner completed the badge's course. */ CourseCompletion = "COURSE_COMPLETION", /** Awarded by an instructor, registrar or administrator. */ Manual = "MANUAL" } export declare enum BuiBadgeAwardStatus { Awarded = "AWARDED", Revoked = "REVOKED" } export type BuiBadgeConnection = { __typename?: 'BuiBadgeConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiBadgeKind { /** Recognises an achievement or milestone. */ Achievement = "ACHIEVEMENT", /** Earned by completing a course. */ Completion = "COMPLETION", /** Attests to a skill (optionally linked to a BuiSkill). */ Skill = "SKILL" } export declare enum BuiBadgeStatus { Active = "ACTIVE", /** No longer awarded; existing awards stay valid. */ Archived = "ARCHIVED" } export type BuiCatalogConnector = { __typename?: 'BuiCatalogConnector'; activeRunId?: Maybe; connectionId: Scalars['ID']['output']; id: Scalars['ID']['output']; lastSyncedAt?: Maybe; name: Scalars['String']['output']; provider: BuiCatalogProvider; providerAccountId?: Maybe; revision: Scalars['Int']['output']; }; /** Metadata providers require the organization's own licensed access. Imports do not transfer learning content or completion records. */ export declare enum BuiCatalogProvider { CourseraBusiness = "COURSERA_BUSINESS", EdxEnterprise = "EDX_ENTERPRISE", LinkedinLearning = "LINKEDIN_LEARNING", Oreilly = "OREILLY" } export type BuiCatalogSyncRun = { __typename?: 'BuiCatalogSyncRun'; completedAt?: Maybe; connectorId: Scalars['ID']['output']; deadlineAt: Scalars['DateTime']['output']; failureCode?: Maybe; id: Scalars['ID']['output']; itemsRead: Scalars['Int']['output']; pagesRead: Scalars['Int']['output']; status: BuiCatalogSyncStatus; }; export declare enum BuiCatalogSyncStatus { Cancelled = "CANCELLED", Failed = "FAILED", Running = "RUNNING", Succeeded = "SUCCEEDED" } export type BuiCertificate = { __typename?: 'BuiCertificate'; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; enrollmentId?: Maybe; expiresAt?: Maybe; /** Reference to a wspace-files-svc File for the rendered certificate PDF. */ file?: Maybe; finalScore?: Maybe; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; learnerId: Scalars['ID']['output']; /** * Optional display name shown on the public verification page — only * populated when the issuer explicitly opted in at issuance time. */ recipientNameSnapshot?: Maybe; revokedAt?: Maybe; serial: Scalars['String']['output']; /** * BOFF-3134: the product this certificate was mirrored from. Null for * certificates issued natively in Buildmyiq. */ source?: Maybe; /** BOFF-3134: the source product's own id for this certificate (opaque). */ sourceId?: Maybe; status: BuiCertificateStatus; /** The Technospam certificate this canonical certificate was written from. */ technospamCertificate?: Maybe; /** Why Technospam revoked the certificate, when it did. */ technospamRevokeReason?: Maybe; updatedAt: Scalars['DateTime']['output']; /** * BOFF-4431: opaque code for the PUBLIC, unauthenticated verification page * (`/verify/buildmyiq/{verificationCode}`) — share this, not the internal id. * Null for certificates issued before this field existed. */ verificationCode?: Maybe; workspaceId: Scalars['ID']['output']; }; export type BuiCertificateConnection = { __typename?: 'BuiCertificateConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiCertificateStatus { Expired = "EXPIRED", Issued = "ISSUED", Revoked = "REVOKED" } /** Result of a public, code-based credential verification (BOFF-4431). */ export type BuiCertificateVerification = { __typename?: 'BuiCertificateVerification'; courseTitle?: Maybe; expiresAt?: Maybe; finalScore?: Maybe; found: Scalars['Boolean']['output']; issuedAt?: Maybe; recipientNameSnapshot?: Maybe; serial?: Maybe; /** * True when the stored HMAC signature matches the certificate's core facts * — i.e. the record has not been tampered with since issuance. */ signatureValid?: Maybe; status?: Maybe; }; export type BuiCertification = { __typename?: 'BuiCertification'; body: BuiCertificationBody; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; url?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum BuiCertificationBody { Aws = "AWS", Cisco = "CISCO", Comptia = "COMPTIA", Google = "GOOGLE", Isc2 = "ISC2", Microsoft = "MICROSOFT", Oracle = "ORACLE", Pmi = "PMI", Redhat = "REDHAT", Salesforce = "SALESFORCE" } export type BuiCertificationConnection = { __typename?: 'BuiCertificationConnection'; items: Array; pageInfo: BuiPageInfo; }; /** A suggested certification match for a skill. */ export type BuiCertificationSuggestion = { __typename?: 'BuiCertificationSuggestion'; certification: BuiCertification; confidence: Scalars['Float']['output']; reason?: Maybe; }; export type BuiCheckContentAccessibilityInput = { /** Markdown or HTML body (lesson content, assessment description or question prompt). */ content?: InputMaybe; /** Question explanation shown after answering. */ explanation?: InputMaybe; /** Whether the lesson has an attached media file. */ hasMedia?: InputMaybe; kind?: InputMaybe; /** Lesson type, for lesson-only rules such as transcripts for video lessons. */ lessonType?: InputMaybe; /** Answer options of a choice question: an array of { label } objects or strings. */ options?: InputMaybe; }; export type BuiCohort = { __typename?: 'BuiCohort'; capacity: Scalars['Int']['output']; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endDate?: Maybe; facilitatorId?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; startDate?: Maybe; status: BuiCohortStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiCohortConnection = { __typename?: 'BuiCohortConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiCohortStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED", Enrolling = "ENROLLING", Scheduled = "SCHEDULED" } export type BuiCommitScormRuntimeInput = { enrollmentId: Scalars['ID']['input']; /** Identifier of the item (SCO) the values belong to. */ itemIdentifier: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; /** Player-generated id of this launch session (8-64 letters, digits or dashes). */ sessionId: Scalars['ID']['input']; /** True for the commit made when the SCO terminates (LMSFinish / Terminate). */ terminate?: InputMaybe; /** Data model values the SCO set since the last commit. */ values: Array; }; export type BuiConfigureAutomationInput = { /** Template settings; omitted keeps the saved settings (or the defaults). */ config?: InputMaybe; enabled: Scalars['Boolean']['input']; template: BuiAutomationTemplate; }; export type BuiConfigureEarlyWarningInput = { /** Five-field cron for the nightly sweep (default 06:30 UTC). */ cronExpression?: InputMaybe; /** Send the educator digest when a sweep flags at least one learner (default true). */ digestEnabled?: InputMaybe; enabled: Scalars['Boolean']['input']; /** Upper bound on flagged events/notifications one sweep may raise (default 50). */ maxFlagsPerSweep?: InputMaybe; /** Flag enrollments at or above this score (0-100, default 60). */ riskThreshold?: InputMaybe; /** IANA timezone the cron expression is read in. */ timezone?: InputMaybe; }; export type BuiConfigureXapiLrsInput = { enabled?: InputMaybe; /** xAPI base endpoint (https). */ endpoint: Scalars['String']['input']; /** Required the first time; leave empty to keep the saved password. */ password?: InputMaybe; /** Also queue statements recorded while no LRS was enabled. */ queueStoredStatements?: InputMaybe; username: Scalars['String']['input']; }; export type BuiCourse = { __typename?: 'BuiCourse'; /** Reference to a wspace-files-svc File for the cover image (blobs live there). */ cover?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; estimatedHours: Scalars['Int']['output']; id: Scalars['ID']['output']; instructorId?: Maybe; isPublic: Scalars['Boolean']['output']; language: Scalars['String']['output']; lessons: BuiLessonConnection; level: BuiCourseLevel; modules: BuiModuleConnection; publishedAt?: Maybe; skill?: Maybe; skillId?: Maybe; slug: Scalars['String']['output']; /** * BOFF-3134: the product this course was mirrored from. Null for courses * authored natively in Buildmyiq. */ source?: Maybe; /** BOFF-3134: the source product's own id for this course (opaque). */ sourceId?: Maybe; status: BuiCourseStatus; summary?: Maybe; tags: Array; /** The Technospam course this canonical course was written from. */ technospamCourse?: Maybe; /** True when the course is premium-only and the calling workspace has no paid TechnoSpam plan. */ technospamIsLocked?: Maybe; /** True when the course's lesson bodies need a paid TechnoSpam plan. */ technospamIsPremiumOnly?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiCourseLessonsArgs = { pagination?: InputMaybe; }; export type BuiCourseModulesArgs = { pagination?: InputMaybe; }; export type BuiCourseAccessibilityItem = { __typename?: 'BuiCourseAccessibilityItem'; /** Module id for a lesson, assessment id for a question, course id for an assessment. */ parentId?: Maybe; report: BuiAccessibilityReport; targetId: Scalars['ID']['output']; targetType: BuiAccessibilityTargetType; title: Scalars['String']['output']; }; export type BuiCourseAccessibilityReport = { __typename?: 'BuiCourseAccessibilityReport'; courseId: Scalars['ID']['output']; errorCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; /** Only the items that have at least one issue, in course order. */ items: Array; itemsChecked: Scalars['Int']['output']; itemsWithIssues: Scalars['Int']['output']; passed: Scalars['Boolean']['output']; /** True when part of the course was not checked because of record or size caps. */ truncated: Scalars['Boolean']['output']; warningCount: Scalars['Int']['output']; }; export type BuiCourseAssistantBinding = { __typename?: 'BuiCourseAssistantBinding'; agentId: Scalars['ID']['output']; courseId: Scalars['ID']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; workflowId: Scalars['ID']['output']; }; export type BuiCourseAssistantCandidate = { __typename?: 'BuiCourseAssistantCandidate'; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; export type BuiCourseAssistantConversation = { __typename?: 'BuiCourseAssistantConversation'; clientConversationId: Scalars['ID']['output']; pending?: Maybe; turns: Array; }; export type BuiCourseAssistantConversationPage = { __typename?: 'BuiCourseAssistantConversationPage'; nextCursor?: Maybe; nodes: Array; }; export type BuiCourseAssistantConversationSummary = { __typename?: 'BuiCourseAssistantConversationSummary'; clientConversationId: Scalars['ID']['output']; createdAt: Scalars['String']['output']; }; export type BuiCourseAssistantConversationTurn = { __typename?: 'BuiCourseAssistantConversationTurn'; message: Scalars['String']['output']; receipt: BuiCourseAssistantTurn; }; /** Durable course assistant admission; the answer is read through the owner query. */ export type BuiCourseAssistantHandle = { __typename?: 'BuiCourseAssistantHandle'; runId: Scalars['ID']['output']; status: Scalars['String']['output']; triggerNodeId: Scalars['ID']['output']; version: Scalars['String']['output']; workflowId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; }; export type BuiCourseAssistantMessagePage = { __typename?: 'BuiCourseAssistantMessagePage'; nextCursor?: Maybe; turns: Array; }; export type BuiCourseAssistantPendingTurn = { __typename?: 'BuiCourseAssistantPendingTurn'; clientConversationId: Scalars['ID']['output']; clientTurnId: Scalars['ID']['output']; message: Scalars['String']['output']; }; export type BuiCourseAssistantResult = { __typename?: 'BuiCourseAssistantResult'; message: Scalars['String']['output']; model: Scalars['String']['output']; sources: Array; tokensUsed: Scalars['Int']['output']; }; export type BuiCourseAssistantSettings = { __typename?: 'BuiCourseAssistantSettings'; agentId?: Maybe; candidates: Array; configured: Scalars['Boolean']['output']; courseStatus: BuiCourseStatus; enabled: Scalars['Boolean']['output']; ingestionStatus: Scalars['String']['output']; processedCount: Scalars['Int']['output']; ready: Scalars['Boolean']['output']; sourceCount: Scalars['Int']['output']; }; export type BuiCourseAssistantSource = { __typename?: 'BuiCourseAssistantSource'; chunkId: Scalars['ID']['output']; documentId: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; reference: Scalars['Int']['output']; }; export type BuiCourseAssistantTarget = { __typename?: 'BuiCourseAssistantTarget'; courseId: Scalars['ID']['output']; }; export type BuiCourseAssistantTurn = { __typename?: 'BuiCourseAssistantTurn'; clientTurnId: Scalars['ID']['output']; courseId?: Maybe; historyDelivered: Scalars['Boolean']['output']; id: Scalars['ID']['output']; partialMessage?: Maybe; result?: Maybe; status: Scalars['String']['output']; usageDelivered: Scalars['Boolean']['output']; }; export type BuiCourseAssistantTurnInput = { clientConversationId: Scalars['ID']['input']; clientTurnId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; message: Scalars['String']['input']; }; export type BuiCourseConnection = { __typename?: 'BuiCourseConnection'; items: Array; pageInfo: BuiPageInfo; }; /** Formats a course can be exported in. */ export declare enum BuiCourseExportFormat { BuildmyiqJson = "BUILDMYIQ_JSON", CommonCartridge = "COMMON_CARTRIDGE", /** SCORM 1.2 package: lesson pages and self-scored quizzes for any SCORM LMS. */ Scorm_12 = "SCORM_12" } /** What an import would create, computed without writing anything. */ export type BuiCourseImportPreview = { __typename?: 'BuiCourseImportPreview'; /** False when an ERROR issue means nothing can be imported. */ canImport: Scalars['Boolean']['output']; description?: Maybe; fileName: Scalars['String']['output']; format: BuiMigrationFormat; issues: Array; modules: Array; sourceSystem?: Maybe; /** Standard version declared by the package (e.g. 1.1.0 for Common Cartridge), or the Moodle release of a Moodle backup (e.g. 4.1.2). */ standardVersion?: Maybe; stats: BuiMigrationStats; title: Scalars['String']['output']; }; export type BuiCourseImportPreviewItem = { __typename?: 'BuiCourseImportPreviewItem'; /** Lesson type, or the assessment's question count as text. */ detail: Scalars['String']['output']; /** LESSON or ASSESSMENT. */ kind: Scalars['String']['output']; title: Scalars['String']['output']; }; export type BuiCourseImportPreviewModule = { __typename?: 'BuiCourseImportPreviewModule'; items: Array; title: Scalars['String']['output']; }; export type BuiCourseImportResult = { __typename?: 'BuiCourseImportResult'; course: BuiCourse; job: BuiMigrationJob; }; /** One durable capture step. Pending capture never exposes mutable source rows. */ export type BuiCourseKnowledgeCaptureStep = { __typename?: 'BuiCourseKnowledgeCaptureStep'; snapshot?: Maybe; status: Scalars['String']['output']; }; /** Publication change receipt contains identifiers only; source text stays in the LMS. */ export type BuiCourseKnowledgeChange = { __typename?: 'BuiCourseKnowledgeChange'; agentId: Scalars['ID']['output']; courseId: Scalars['ID']['output']; id: Scalars['ID']['output']; revision: Scalars['ID']['output']; }; /** Immutable course source capture including verified media version metadata. Extraction remains a separate ingestion step. */ export type BuiCourseKnowledgeSnapshot = { __typename?: 'BuiCourseKnowledgeSnapshot'; byteCount: Scalars['Int']['output']; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; revision: Scalars['String']['output']; sourceCount: Scalars['Int']['output']; }; export type BuiCourseKnowledgeSnapshotSourcePage = { __typename?: 'BuiCourseKnowledgeSnapshotSourcePage'; hasMore: Scalars['Boolean']['output']; items: Array; nextLessonId?: Maybe; revision: Scalars['String']['output']; snapshotId: Scalars['ID']['output']; }; /** Trusted LMS source fields for ingestion. Assessment answer keys are excluded. */ export type BuiCourseKnowledgeSource = { __typename?: 'BuiCourseKnowledgeSource'; content?: Maybe; courseId: Scalars['ID']['output']; courseTitle: Scalars['String']['output']; lessonId: Scalars['ID']['output']; lessonType: BuiLessonType; mediaByteCount?: Maybe; mediaFileId?: Maybe; mediaMimeType?: Maybe; mediaSha256?: Maybe; mediaVersionId?: Maybe; sourceRevision: Scalars['String']['output']; sourceUri: Scalars['String']['output']; title: Scalars['String']['output']; }; export type BuiCourseKnowledgeSourcePage = { __typename?: 'BuiCourseKnowledgeSourcePage'; hasMore: Scalars['Boolean']['output']; items: Array; nextLessonId?: Maybe; }; export declare enum BuiCourseLevel { Advanced = "ADVANCED", Beginner = "BEGINNER", Expert = "EXPERT", Intermediate = "INTERMEDIATE" } export type BuiCourseOutlineLesson = { __typename?: 'BuiCourseOutlineLesson'; description?: Maybe; title: Scalars['String']['output']; }; export type BuiCourseOutlineLessonInput = { description?: InputMaybe; title: Scalars['String']['input']; }; export type BuiCourseOutlineModule = { __typename?: 'BuiCourseOutlineModule'; description?: Maybe; lessons: Array; title: Scalars['String']['output']; }; export type BuiCourseOutlineModuleInput = { description?: InputMaybe; lessons: Array; title: Scalars['String']['input']; }; export type BuiCourseOutlineSuggestion = { __typename?: 'BuiCourseOutlineSuggestion'; /** The blocked terms that matched at least one removed item. */ blockedTermsMatched: Array; confidence: Scalars['Float']['output']; /** Modules plus lessons removed because they mentioned a blocked term. */ filteredOutCount: Scalars['Int']['output']; modules: Array; rationale: Scalars['String']['output']; }; /** Bounded authoritative course-source check; returns no source content. */ export type BuiCourseSourceCheckReceipt = { __typename?: 'BuiCourseSourceCheckReceipt'; changed: Scalars['Int']['output']; failed: Scalars['Int']['output']; scanned: Scalars['Int']['output']; }; export declare enum BuiCourseStatus { Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED" } export type BuiCreateAssessmentInput = { /** BOFF-9690: opt into in-browser AI monitoring; requires `requiresProctoring`. */ aiProctoringEnabled?: InputMaybe; courseId: Scalars['ID']['input']; description?: InputMaybe; isGraded?: InputMaybe; maxAttempts?: InputMaybe; passingScore?: InputMaybe; requiresProctoring?: InputMaybe; timeLimitMin?: InputMaybe; title: Scalars['String']['input']; type?: InputMaybe; }; export type BuiCreateBadgeInput = { /** Requires `courseId`. */ awardOnCourseCompletion?: InputMaybe; courseId?: InputMaybe; criteria?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; skillId?: InputMaybe; }; export type BuiCreateCatalogConnectorInput = { connectionId: Scalars['ID']['input']; name: Scalars['String']['input']; provider: BuiCatalogProvider; providerAccountId?: InputMaybe; requestId: Scalars['ID']['input']; }; export type BuiCreateCohortInput = { capacity?: InputMaybe; courseId: Scalars['ID']['input']; endDate?: InputMaybe; facilitatorId?: InputMaybe; name: Scalars['String']['input']; startDate?: InputMaybe; }; export type BuiCreateCourseInput = { coverFileId?: InputMaybe; description?: InputMaybe; estimatedHours?: InputMaybe; instructorId?: InputMaybe; isPublic?: InputMaybe; language?: InputMaybe; level?: InputMaybe; skillId?: InputMaybe; slug: Scalars['String']['input']; summary?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type BuiCreateLessonInput = { content?: InputMaybe; courseId: Scalars['ID']['input']; durationMin?: InputMaybe; isPreview?: InputMaybe; mediaFileId?: InputMaybe; moduleId?: InputMaybe; position?: InputMaybe; title: Scalars['String']['input']; type?: InputMaybe; }; export type BuiCreateModuleInput = { courseId: Scalars['ID']['input']; description?: InputMaybe; position?: InputMaybe; title: Scalars['String']['input']; }; export type BuiCreateQuestionInput = { answerKey?: InputMaybe; assessmentId: Scalars['ID']['input']; explanation?: InputMaybe; options?: InputMaybe; points?: InputMaybe; position?: InputMaybe; prompt: Scalars['String']['input']; type?: InputMaybe; }; export type BuiCreateSkillInput = { category?: InputMaybe; certificationIds?: InputMaybe>; description?: InputMaybe; escoUri?: InputMaybe; name: Scalars['String']['input']; onetCode?: InputMaybe; socCodes?: InputMaybe>; taxonomyMetadata?: InputMaybe; }; /** * One AI-proposed score for a single rubric criterion on a question * (BOFF-4429). Only present for questions whose instructor attached a * `BuiRubricCriterion` rubric — a suggestion the educator reviews * criterion-by-criterion, never auto-applied. */ export type BuiCriterionScore = { __typename?: 'BuiCriterionScore'; /** Optional one-sentence rationale for this criterion's score. */ comment?: Maybe; criterionId: Scalars['ID']['output']; maxPoints: Scalars['Float']['output']; /** The AI's proposed points for this criterion, clamped to 0..maxPoints. */ suggestedPoints: Scalars['Float']['output']; /** Criterion title copied from the rubric row at suggestion time. */ title: Scalars['String']['output']; }; export type BuiDemoContentResult = { __typename?: 'BuiDemoContentResult'; assessmentId?: Maybe; cohortId?: Maybe; courseId: Scalars['ID']['output']; /** False when the demo content was already loaded and the existing content is returned. */ created: Scalars['Boolean']['output']; enrollmentId?: Maybe; lessonCount: Scalars['Int']['output']; moduleCount: Scalars['Int']['output']; questionCount: Scalars['Int']['output']; skillId?: Maybe; }; /** The workspace's early-warning opt-in and settings. OFF until an admin enables it. */ export type BuiEarlyWarning = { __typename?: 'BuiEarlyWarning'; cronExpression: Scalars['String']['output']; /** Send the educator digest when a sweep flags at least one learner. */ digestEnabled: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; lastError?: Maybe; lastRunAt?: Maybe; lastRunStatus?: Maybe; /** Upper bound on flagged events/notifications one sweep may raise. */ maxFlagsPerSweep: Scalars['Int']['output']; /** Flag enrollments at or above this score (0-100). */ riskThreshold: Scalars['Int']['output']; timezone: Scalars['String']['output']; updatedAt?: Maybe; workflowDefinitionId?: Maybe; /** FluidGrids workflow holding the schedule; open it in the builder at /workflows/workflow/{workflowKey}/{workflowVersion}. */ workflowKey?: Maybe; workflowVersion?: Maybe; }; /** One early-warning invocation (INTERIM product-local run ledger — swapped for the shared BOFF-3601 AgentRun ledger when it ships). */ export type BuiEarlyWarningRun = { __typename?: 'BuiEarlyWarningRun'; cohortsExamined: Scalars['Int']['output']; completedAt?: Maybe; /** Model spend for the invocation; the deterministic sweep costs 0 until it routes inference through the shared gateway. */ costUsd: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; enrollmentsExamined: Scalars['Int']['output']; /** SKIPPED reason or failure message. */ error?: Maybe; flagsRaised: Scalars['Int']['output']; id: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; status: BuiEarlyWarningRunStatus; /** Free-form counts/diagnostics (flag histogram, skips). */ summary?: Maybe; trigger: BuiEarlyWarningTrigger; }; export type BuiEarlyWarningRunConnection = { __typename?: 'BuiEarlyWarningRunConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiEarlyWarningRunStatus { /** The sweep threw. */ Failed = "FAILED", /** The sweep is executing. */ Running = "RUNNING", /** The workspace was skipped (quota exhausted) with a logged reason. */ Skipped = "SKIPPED", /** The sweep finished; the run row carries the counts. */ Succeeded = "SUCCEEDED" } export declare enum BuiEarlyWarningTrigger { /** Reserved for future event-driven rescoring. */ Event = "EVENT", /** An admin pressed Run now (buiRunEarlyWarningSweep). */ Manual = "MANUAL", /** The FluidGrids schedule fired the workspace's workflow. */ Scheduled = "SCHEDULED" } export type BuiEnrollInput = { cohortId?: InputMaybe; courseId: Scalars['ID']['input']; /** Due date for finishing the course (BOFF-9688). */ dueAt?: InputMaybe; expiresAt?: InputMaybe; /** Required for staff assignment; learners should use buiEnrollSelf. */ learnerId?: InputMaybe; }; export type BuiEnrollment = { __typename?: 'BuiEnrollment'; cohort?: Maybe; cohortId?: Maybe; completedAt?: Maybe; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; /** * BOFF-9688: when the learner is expected to finish. Unlike `expiresAt` (end * of access) a passed due date keeps the course open and makes the enrollment * overdue for the overdue-reminder automation. */ dueAt?: Maybe; enrolledAt: Scalars['DateTime']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; lastActiveAt?: Maybe; learnerId: Scalars['ID']['output']; lessonProgress: BuiLessonProgressConnection; /** When the overdue-reminder automation escalated this enrollment. */ overdueEscalatedAt?: Maybe; /** Last time the overdue-reminder automation reminded the learner. */ overdueRemindedAt?: Maybe; progressPct: Scalars['Int']['output']; /** * BOFF-3134: the product this enrollment was mirrored from. Null for native * Buildmyiq enrollments. */ source?: Maybe; /** BOFF-3134: the source product's own id for this enrollment (opaque). */ sourceId?: Maybe; startedAt?: Maybe; status: BuiEnrollmentStatus; /** Lessons finished in this enrollment, with how each was completed (manual, quiz, code). */ technospamCompletions?: Maybe>; /** The Technospam enrollment this canonical enrollment was written from. */ technospamEnrollment?: Maybe; /** The first Technospam lesson not yet completed; null when every lesson is done. */ technospamNextLessonId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiEnrollmentLessonProgressArgs = { pagination?: InputMaybe; }; export type BuiEnrollmentConnection = { __typename?: 'BuiEnrollmentConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiEnrollmentStatus { Completed = "COMPLETED", Dropped = "DROPPED", Enrolled = "ENROLLED", Expired = "EXPIRED", InProgress = "IN_PROGRESS" } export type BuiExternalCatalogItem = { __typename?: 'BuiExternalCatalogItem'; available: Scalars['Boolean']['output']; connectorId: Scalars['ID']['output']; contentFormat?: Maybe; durationSeconds?: Maybe; id: Scalars['ID']['output']; language?: Maybe; learningUrl: Scalars['String']['output']; /** Current active workspace skill IDs, in the exact order used for publication. */ mappedSkillIds: Array; providerItemId: Scalars['String']['output']; providerSkills: Array; publicationConsentVersion?: Maybe; published: Scalars['Boolean']['output']; publishedAt?: Maybe; publishedSnapshot?: Maybe; revision: Scalars['Int']['output']; summary?: Maybe; thumbnailUrl?: Maybe; title: Scalars['String']['output']; }; /** * BOFF-3134: a product that mirrors its learning records into the canonical * Buildmyiq LMS. Buildmyiq is the system of record for courses, enrollments and * certificates; a product that still authors them locally syncs each record here * through the service-only buiSyncExternal* mutations, keyed by its own id. */ export declare enum BuiExternalSource { Technospam = "TECHNOSPAM" } /** BOFF-10480: which kind of mirrored record a parity read asks for. */ export declare enum BuiExternalSyncKind { Certificate = "CERTIFICATE", Course = "COURSE", Enrollment = "ENROLLMENT", Lesson = "LESSON", LessonProgress = "LESSON_PROGRESS" } /** * BOFF-10480: the comparable canonical state of one mirrored record, returned * to the source product so it can report (and re-sync) any record whose * canonical copy drifted. Fields that do not apply to the requested kind are * null. `status` carries the kind's own enum value as text. */ export type BuiExternalSyncRecord = { __typename?: 'BuiExternalSyncRecord'; /** The canonical row's id in Buildmyiq. */ canonicalId: Scalars['ID']['output']; /** SHA-256 (hex) of the canonical lesson body; null when no body is held. */ contentSha256?: Maybe; /** True when the canonical row is soft-deleted (archived). */ deleted: Scalars['Boolean']['output']; isPreview?: Maybe; learnerId?: Maybe; mediaFileId?: Maybe; position?: Maybe; progressPct?: Maybe; serial?: Maybe; /** The source product's own id of the record. */ sourceId: Scalars['ID']['output']; status?: Maybe; title?: Maybe; updatedAt: Scalars['DateTime']['output']; /** Course level (COURSE) or lesson type (LESSON). */ variant?: Maybe; }; /** * BOFF-10480: one source product's batch of record ids to compare against the * canonical LMS. At most 200 ids per call. */ export type BuiExternalSyncRecordsInput = { kind: BuiExternalSyncKind; source: BuiExternalSource; sourceIds: Array; }; export type BuiGradeSubmissionInput = { feedback?: InputMaybe; passed?: InputMaybe; score: Scalars['Float']['input']; }; export type BuiGradeSuggestion = { __typename?: 'BuiGradeSuggestion'; confidence: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; inputRefs: Array; outcome: BuiAiSuggestionOutcome; /** * Per-question rationale, one entry per OPEN-ENDED (SHORT_ANSWER / ESSAY / * CODE) question on the assessment — objective questions are not included * here since their correctness is already fully explained by * `buiAutoScoreSubmission`. */ perQuestionFeedback: Array; /** * Proposed overall score (0-100) across the WHOLE submission — objective * questions scored deterministically (answerKey comparison, same logic as * `buiAutoScoreSubmission`), open-ended questions scored per the AI's * proposal in `perQuestionFeedback`. */ proposedScore: Scalars['Float']['output']; /** * Ids of the open-ended questions whose server-side `explanation` field * (rubric guidance) grounded this suggestion. */ rubricRefs: Array; submissionId: Scalars['ID']['output']; }; /** How a gradebook column maps to an assessment of the course. */ export type BuiGradebookColumn = { __typename?: 'BuiGradebookColumn'; assessmentId?: Maybe; assessmentTitle?: Maybe; /** Header as written in the file (the key for column mappings). */ column: Scalars['String']['output']; /** Grades in this column that are imported. */ gradeCount: Scalars['Int']['output']; /** MAPPING (chosen) or TITLE; null when the column is not imported. */ matchedBy?: Maybe; /** Maximum points used to convert points to a percentage. */ pointsPossible?: Maybe; /** POINTS or PERCENT. */ scale: Scalars['String']['output']; title: Scalars['String']['output']; }; export type BuiGradebookColumnMappingInput = { /** Assessment of the course to import the column into; null skips the column. */ assessmentId?: InputMaybe; /** Column header as written in the file. */ column: Scalars['String']['input']; /** Maximum points, when the file does not say (e.g. Moodle 'Real' columns). */ pointsPossible?: InputMaybe; }; export type BuiGradebookImportInput = { /** Overrides the automatic title matching of columns to assessments. */ columnMappings?: InputMaybe>; /** Course whose assessments receive the grades. */ courseId: Scalars['ID']['input']; /** wspace-files-svc id of the uploaded gradebook CSV. */ fileId: Scalars['ID']['input']; /** Detected from the header when omitted. */ sourceSystem?: InputMaybe; }; /** What a gradebook import would do, computed without writing anything. */ export type BuiGradebookImportPreview = { __typename?: 'BuiGradebookImportPreview'; canImport: Scalars['Boolean']['output']; columns: Array; courseId: Scalars['ID']['output']; courseTitle: Scalars['String']['output']; fileName: Scalars['String']['output']; /** Grades in mapped columns for resolved, enrolled learners. */ gradeCount: Scalars['Int']['output']; issues: Array; missingLearnerEmails: Array; newGradeCount: Scalars['Int']['output']; /** Learner rows with at least one grade to import. */ readyCount: Scalars['Int']['output']; /** The first 500 rows. */ rows: Array; rowsTruncated: Scalars['Boolean']['output']; sourceSystem: BuiLmsSystem; statusCounts: Array; totalRows: Scalars['Int']['output']; unchangedGradeCount: Scalars['Int']['output']; /** Grades a previous import wrote that change. */ updatedGradeCount: Scalars['Int']['output']; }; export type BuiGradebookImportResult = { __typename?: 'BuiGradebookImportResult'; createdCount: Scalars['Int']['output']; job: BuiMigrationJob; missingLearnerEmails: Array; /** The first 500 rows that were not imported, with the reason. */ rows: Array; rowsTruncated: Scalars['Boolean']['output']; statusCounts: Array; unchangedCount: Scalars['Int']['output']; updatedCount: Scalars['Int']['output']; }; export type BuiImportCourseInput = { /** wspace-files-svc id of the uploaded package (uploaded by the caller). */ fileId: Scalars['ID']['input']; level?: InputMaybe; /** Course title; defaults to the title in the package. */ title?: InputMaybe; }; export type BuiImportRow = { __typename?: 'BuiImportRow'; courseId?: Maybe; /** Grades in the row that are imported (gradebook). */ gradeCount: Scalars['Int']['output']; /** How the file names the learner (e-mail, login or SIS id). */ learner: Scalars['String']['output']; /** Workspace member the row resolved to. */ learnerId?: Maybe; /** Line of the row in the file. */ line: Scalars['Int']['output']; message?: Maybe; /** LMS course identifier (roster). */ sourceCourse?: Maybe; status: BuiImportRowStatus; }; export type BuiImportRowCount = { __typename?: 'BuiImportRowCount'; count: Scalars['Int']['output']; status: BuiImportRowStatus; }; /** What an import does with one row of the file. */ export declare enum BuiImportRowStatus { AlreadyEnrolled = "ALREADY_ENROLLED", /** The row's LMS course is not mapped to a BuildMyIQ course. */ CourseNotMapped = "COURSE_NOT_MAPPED", Duplicate = "DUPLICATE", /** Deleted, inactive or suspended in the source LMS. */ Inactive = "INACTIVE", /** The row could not be read. */ Invalid = "INVALID", /** Not a member of this workspace (invite them, then re-run). */ LearnerNotFound = "LEARNER_NOT_FOUND", /** An instructor, TA or other non-learner role. */ NotALearner = "NOT_A_LEARNER", /** A member who is not enrolled in the course (gradebook). */ NotEnrolled = "NOT_ENROLLED", /** No grade in any imported column (gradebook). */ NoGrades = "NO_GRADES", /** Will be (or was) enrolled or graded. */ Ready = "READY" } export type BuiInsertLearningObjectInput = { courseId: Scalars['ID']['input']; learningObjectId: Scalars['ID']['input']; /** Lessons only: module of `courseId` to insert into. */ moduleId?: InputMaybe; /** Lessons only: position in the module (or course). Defaults to the end. */ position?: InputMaybe; /** Version to copy. Defaults to the latest. */ version?: InputMaybe; }; export type BuiInsertLearningObjectResult = { __typename?: 'BuiInsertLearningObjectResult'; /** Set when an assessment was inserted. The copy always starts as a draft. */ assessment?: Maybe; kind: BuiLearningObjectKind; /** Set when a lesson was inserted. */ lesson?: Maybe; /** The version that was copied. */ version: Scalars['Int']['output']; }; /** The activity of a lesson as the editor loads it. Contains the answer key, so it is for authors only. */ export type BuiInteractiveActivityDraft = { __typename?: 'BuiInteractiveActivityDraft'; /** False for Drag and Drop, Course Presentation and Interactive Video activities, which are edited in an H5P tool and re-imported. items then lists only the questions the editor can show. */ editable: Scalars['Boolean']['output']; editedAt?: Maybe; items: Array; lessonId: Scalars['ID']['output']; packageId: Scalars['ID']['output']; passPct: Scalars['Int']['output']; /** True when the activity is a Question Set (always when it has several questions). */ questionSet: Scalars['Boolean']['output']; source: BuiInteractiveSource; /** wspace-files-svc id of the imported .h5p file; null for an AUTHORED activity. */ sourceFileId?: Maybe; sourceFileName?: Maybe; title: Scalars['String']['output']; }; export type BuiInteractiveAttemptResult = { __typename?: 'BuiInteractiveAttemptResult'; /** Null for an author's preview, which is not stored. */ attemptId?: Maybe; createdAt: Scalars['DateTime']['output']; items: Array; /** True when this attempt completed the lesson (or it was already complete). */ lessonCompleted: Scalars['Boolean']['output']; maxScore: Scalars['Int']['output']; passPct: Scalars['Int']['output']; passed: Scalars['Boolean']['output']; /** score / maxScore between 0 and 1. */ scaled: Scalars['Float']['output']; score: Scalars['Int']['output']; }; export type BuiInteractiveAttemptSummary = { __typename?: 'BuiInteractiveAttemptSummary'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; maxScore: Scalars['Int']['output']; passed: Scalars['Boolean']['output']; scaled: Scalars['Float']['output']; score: Scalars['Int']['output']; }; export type BuiInteractiveBlankInput = { blankId: Scalars['ID']['input']; value: Scalars['String']['input']; }; export type BuiInteractiveBlankResult = { __typename?: 'BuiInteractiveBlankResult'; blankId: Scalars['ID']['output']; correct: Scalars['Boolean']['output']; }; export type BuiInteractiveBlankTip = { __typename?: 'BuiInteractiveBlankTip'; blankId: Scalars['ID']['output']; tip: Scalars['String']['output']; }; /** Part of a slide or a video interaction. */ export type BuiInteractiveBlock = { __typename?: 'BuiInteractiveBlock'; /** IMAGE: alternative text. */ alt?: Maybe; /** IMAGE: short-lived signed URL (null when the image is unavailable). */ imageUrl?: Maybe; /** ITEM: id of the item in the player's items. */ itemId?: Maybe; /** TEXT: plain text. */ text?: Maybe; type: BuiInteractiveBlockType; }; export declare enum BuiInteractiveBlockType { Image = "IMAGE", /** A reference to one of the player's items by id. */ Item = "ITEM", Text = "TEXT" } export type BuiInteractiveChoice = { __typename?: 'BuiInteractiveChoice'; id: Scalars['ID']['output']; text: Scalars['String']['output']; }; export type BuiInteractiveChoiceDraftInput = { correct: Scalars['Boolean']['input']; text: Scalars['String']['input']; }; /** A choice of a multiple choice question as the editor shows it, with the answer key. */ export type BuiInteractiveDraftChoice = { __typename?: 'BuiInteractiveDraftChoice'; correct: Scalars['Boolean']['output']; text: Scalars['String']['output']; }; /** One question as the editor shows it, with the answer key. Fields that do not apply to the kind are empty. */ export type BuiInteractiveDraftItem = { __typename?: 'BuiInteractiveDraftItem'; /** True/false: the correct answer. */ answer?: Maybe; caseSensitive: Scalars['Boolean']['output']; choices: Array; kind: BuiInteractiveItemKind; multipleAnswers: Scalars['Boolean']['output']; /** Question text (multiple choice, true/false) or task description (fill in the blanks). */ prompt: Scalars['String']['output']; singlePoint: Scalars['Boolean']['output']; /** Fill in the blanks: lines with blanks written *answer*, alternatives split by / and a tip after :. */ text: Scalars['String']['output']; }; /** An element to place in a drag and drop item. */ export type BuiInteractiveDraggable = { __typename?: 'BuiInteractiveDraggable'; id: Scalars['ID']['output']; /** Short-lived signed URL of the draggable's image; null for a text draggable. */ imageUrl?: Maybe; /** Text of a text draggable, or the alternative text of an image draggable. */ text: Scalars['String']['output']; }; /** A zone draggables can be dropped in. Which draggables belong where is never sent. */ export type BuiInteractiveDropZone = { __typename?: 'BuiInteractiveDropZone'; id: Scalars['ID']['output']; label: Scalars['String']['output']; }; /** An activity exported as a portable .h5p package (h5p.json + content/content.json). */ export type BuiInteractiveExport = { __typename?: 'BuiInteractiveExport'; byteSize: Scalars['Int']['output']; contentBase64: Scalars['String']['output']; fileName: Scalars['String']['output']; mimeType: Scalars['String']['output']; }; /** One question as the player shows it. Never includes the answer key. */ export type BuiInteractiveItem = { __typename?: 'BuiInteractiveItem'; /** Drag and drop: short-lived signed URL of the background image, if any. */ backgroundUrl?: Maybe; blankTips: Array; choices: Array; /** Drag and drop: the elements to place. */ draggables: Array; /** Drag and drop: the zones to place them in. */ dropZones: Array; id: Scalars['ID']['output']; kind: BuiInteractiveItemKind; maxScore: Scalars['Int']['output']; /** Multiple choice: the learner must pick every correct choice. */ multipleAnswers: Scalars['Boolean']['output']; /** Plain-text question or task description. */ prompt: Scalars['String']['output']; segments: Array; }; /** One authored question. Only the fields of its kind are read. */ export type BuiInteractiveItemDraftInput = { /** True/false: the correct answer. */ answer?: InputMaybe; /** Fill in the blanks: compare answers case-sensitively (default true). */ caseSensitive?: InputMaybe; /** Multiple choice: 2 to 20 choices, at least one correct. */ choices?: InputMaybe>; kind: BuiInteractiveItemKind; /** Multiple choice: the learner must pick every correct choice. Defaults to true when several choices are correct. */ multipleAnswers?: InputMaybe; /** Question text (multiple choice, true/false) or optional task description (fill in the blanks). */ prompt?: InputMaybe; /** Multiple choice with several answers: worth one point instead of one per correct choice. */ singlePoint?: InputMaybe; /** Fill in the blanks: lines with blanks written *answer*, alternatives split by / and a tip after :. */ text?: InputMaybe; }; export declare enum BuiInteractiveItemKind { /** Drag and Drop (H5P.DragQuestion): place draggables in drop zones. Import-only; the editor does not build it. */ DragAndDrop = "DRAG_AND_DROP", FillInBlanks = "FILL_IN_BLANKS", MultipleChoice = "MULTIPLE_CHOICE", TrueFalse = "TRUE_FALSE" } export type BuiInteractiveItemResult = { __typename?: 'BuiInteractiveItemResult'; blanks: Array; correct: Scalars['Boolean']['output']; itemId: Scalars['ID']['output']; maxScore: Scalars['Int']['output']; /** Drag and drop: whether each placed draggable is in a correct zone. */ placements: Array; score: Scalars['Int']['output']; }; /** Slides of a Course Presentation or the video of an Interactive Video. Questions are referenced by item id. */ export type BuiInteractiveLayout = { __typename?: 'BuiInteractiveLayout'; kind: BuiInteractiveLayoutKind; slides: Array; title: Scalars['String']['output']; video?: Maybe; }; export declare enum BuiInteractiveLayoutKind { /** Course Presentation: a sequence of slides. */ Slides = "SLIDES", /** Interactive Video: a video with timed interactions. */ Video = "VIDEO" } /** An H5P-compatible activity attached to an INTERACTIVE lesson (authoring view). */ export type BuiInteractivePackage = { __typename?: 'BuiInteractivePackage'; byteSize: Scalars['Int']['output']; /** H5P main library machine name, e.g. H5P.MultiChoice. */ contentType: Scalars['String']['output']; /** Human label for the content type, e.g. Multiple Choice. */ contentTypeLabel: Scalars['String']['output']; /** Main library version, e.g. 1.16. */ contentTypeVersion: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** False for Drag and Drop, Course Presentation and Interactive Video activities: the in-browser editor and .h5p export do not cover them. */ editable: Scalars['Boolean']['output']; /** Last in-browser edit of the questions. Null for an unedited package. */ editedAt?: Maybe; /** * wspace-files-svc id of the uploaded .h5p file. * @deprecated Use sourceFileId. An AUTHORED activity has no uploaded file, so this returns an empty string for one. */ fileId: Scalars['ID']['output']; /** * Name of the uploaded .h5p file. * @deprecated Use sourceFileName. An AUTHORED activity has no uploaded file, so this returns an empty string for one. */ fileName: Scalars['String']['output']; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; lessonId: Scalars['ID']['output']; /** Declared library dependencies, e.g. H5P.Question 1.5. They are recorded, never loaded. */ libraries: Array; maxScore: Scalars['Int']['output']; /** Packaged images and videos copied to wspace-files-svc for the player. */ mediaCount: Scalars['Int']['output']; /** Percentage an attempt needs to pass and complete the lesson. */ passPct: Scalars['Int']['output']; /** Where the activity came from: an uploaded package or the in-browser editor. */ source: BuiInteractiveSource; /** wspace-files-svc id of the uploaded .h5p file. Null for an AUTHORED activity; kept when an imported package is edited. */ sourceFileId?: Maybe; /** Name of the uploaded .h5p file. Null for an AUTHORED activity. */ sourceFileName?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; validatedAt: Scalars['DateTime']['output']; validationStatus: BuiInteractiveValidationStatus; warnings: Array; }; export type BuiInteractivePlacementInput = { draggableId: Scalars['ID']['input']; zoneId: Scalars['ID']['input']; }; export type BuiInteractivePlacementResult = { __typename?: 'BuiInteractivePlacementResult'; correct: Scalars['Boolean']['output']; draggableId: Scalars['ID']['output']; }; export type BuiInteractivePlayerConfig = { __typename?: 'BuiInteractivePlayerConfig'; contentType: Scalars['String']['output']; contentTypeLabel: Scalars['String']['output']; items: Array; /** Slides or video timeline; null for a plain quiz. A layout without items is completed by submitting an empty attempt at the end. */ layout?: Maybe; lessonId: Scalars['ID']['output']; maxScore: Scalars['Int']['output']; packageId: Scalars['ID']['output']; passPct: Scalars['Int']['output']; title: Scalars['String']['output']; }; export type BuiInteractiveResponseInput = { /** True/false: the chosen answer. */ answer?: InputMaybe; /** Fill in the blanks: the typed value for each blank. */ blanks?: InputMaybe>; /** Multiple choice: the chosen choice ids. */ choiceIds?: InputMaybe>; itemId: Scalars['ID']['input']; /** Drag and drop: the zone each placed draggable was dropped in (each draggable at most once). */ placements?: InputMaybe>; }; /** Part of a fill-in-the-blanks text: either literal text or a blank to fill. */ export type BuiInteractiveSegment = { __typename?: 'BuiInteractiveSegment'; blankId?: Maybe; text?: Maybe; }; export type BuiInteractiveSlide = { __typename?: 'BuiInteractiveSlide'; blocks: Array; id: Scalars['ID']['output']; title: Scalars['String']['output']; }; export declare enum BuiInteractiveSource { /** Authored in the BuildMyIQ editor without a package. */ Authored = "AUTHORED", /** Imported from an uploaded .h5p package (possibly edited in the browser since). */ Package = "PACKAGE" } export declare enum BuiInteractiveValidationStatus { Rejected = "REJECTED", Valid = "VALID" } export type BuiInteractiveVideo = { __typename?: 'BuiInteractiveVideo'; interactions: Array; mimeType?: Maybe; source: BuiInteractiveVideoSource; /** FILE: short-lived signed URL of the video. YOUTUBE / VIMEO: the privacy-friendly embed address. */ url?: Maybe; }; export type BuiInteractiveVideoInteraction = { __typename?: 'BuiInteractiveVideoInteraction'; /** Seconds into the video at which the interaction appears. */ at: Scalars['Float']['output']; block: BuiInteractiveBlock; id: Scalars['ID']['output']; label: Scalars['String']['output']; /** Pause the video when the interaction appears. */ pause: Scalars['Boolean']['output']; }; export declare enum BuiInteractiveVideoSource { /** A video packaged in the .h5p file, served from wspace-files-svc. */ File = "FILE", Vimeo = "VIMEO", Youtube = "YOUTUBE" } /** A non-fatal note from package validation, e.g. media the player skips. */ export type BuiInteractiveWarning = { __typename?: 'BuiInteractiveWarning'; code: Scalars['String']['output']; message: Scalars['String']['output']; }; export declare enum BuiInterventionKind { /** Resume the learner at the next lesson in course sequence (the decision engine's recommendation). */ NextLesson = "NEXT_LESSON" } export type BuiIssueCertificateInput = { courseId: Scalars['ID']['input']; enrollmentId?: InputMaybe; expiresAt?: InputMaybe; fileId?: InputMaybe; finalScore?: InputMaybe; learnerId: Scalars['ID']['input']; /** * Opt-in display name for the PUBLIC verification page — omit to keep the * credential PII-free when shared outside the workspace. */ recipientNameSnapshot?: InputMaybe; serial: Scalars['String']['input']; }; export type BuiLearnerCourseAccess = { __typename?: 'BuiLearnerCourseAccess'; canLearn: Scalars['Boolean']['output']; }; export type BuiLearnerProfile = { __typename?: 'BuiLearnerProfile'; createdAt: Scalars['DateTime']['output']; experienceLevel?: Maybe; id: Scalars['ID']['output']; /** Skill areas the learner wants to grow in. */ interests: Array; learnerId: Scalars['ID']['output']; /** When the learner finished the path-finder assessment. */ pathFinderCompletedAt?: Maybe; /** Current or target role, e.g. "Data analyst". */ role?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiLearnerProfileInput = { /** Pass null to clear. */ experienceLevel?: InputMaybe; /** Replaces the interest list. At most one entry per category. */ interests?: InputMaybe>; /** Pass null or an empty string to clear. */ role?: InputMaybe; }; export type BuiLearningObject = { __typename?: 'BuiLearningObject'; /** Attribution notice (author, original source, licence wording). */ attribution?: Maybe; createdAt: Scalars['DateTime']['output']; /** auth-svc user id of the author who saved the object. */ createdBy: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; kind: BuiLearningObjectKind; /** The latest published version. */ latest?: Maybe; /** Highest published version number. Versions start at 1. */ latestVersion: Scalars['Int']['output']; license: BuiLearningObjectLicense; /** BuiSkill ids the object teaches or assesses. */ skillIds: Array; /** Course the first version was saved from. */ sourceCourseId?: Maybe; /** Lesson or assessment the first version was saved from. */ sourceEntityId?: Maybe; status: BuiLearningObjectStatus; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; /** Live lessons and assessments in the workspace that came from this object. */ usageCount: Scalars['Int']['output']; /** Published versions, newest first (at most 100). */ versions: Array; workspaceId: Scalars['ID']['output']; }; export type BuiLearningObjectConnection = { __typename?: 'BuiLearningObjectConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiLearningObjectKind { Assessment = "ASSESSMENT", Lesson = "LESSON" } /** Licence a repository object is shared under inside the workspace. */ export declare enum BuiLearningObjectLicense { AllRightsReserved = "ALL_RIGHTS_RESERVED", /** Creative Commons Zero 1.0 (public domain dedication). */ Cc0_1_0 = "CC0_1_0", /** Creative Commons Attribution 4.0. */ CcBy_4_0 = "CC_BY_4_0", /** Creative Commons Attribution-NonCommercial 4.0. */ CcByNc_4_0 = "CC_BY_NC_4_0", /** Creative Commons Attribution-ShareAlike 4.0. */ CcBySa_4_0 = "CC_BY_SA_4_0", /** Internal use within the workspace (default). */ Internal = "INTERNAL" } /** * A summary of a repository version for browsing. Never includes answer keys * or the full lesson body. */ export type BuiLearningObjectPreview = { __typename?: 'BuiLearningObjectPreview'; assessmentType?: Maybe; /** First characters of the lesson body, or of the assessment description. */ contentExcerpt?: Maybe; durationMin?: Maybe; /** True when the lesson has a media file attached. */ hasMedia: Scalars['Boolean']['output']; lessonType?: Maybe; passingScore?: Maybe; questionCount?: Maybe; /** The first question prompts (at most 10), shortened. */ questionPrompts: Array; timeLimitMin?: Maybe; title: Scalars['String']['output']; totalPoints?: Maybe; }; export declare enum BuiLearningObjectStatus { Active = "ACTIVE", /** Hidden from insertion; existing course copies are unaffected. */ Archived = "ARCHIVED" } export type BuiLearningObjectVersion = { __typename?: 'BuiLearningObjectVersion'; /** What changed in this version. */ changeNote?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; learningObjectId: Scalars['ID']['output']; preview: BuiLearningObjectPreview; version: Scalars['Int']['output']; }; export type BuiLesson = { __typename?: 'BuiLesson'; content?: Maybe; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; durationMin: Scalars['Int']['output']; id: Scalars['ID']['output']; isPreview: Scalars['Boolean']['output']; /** Reference to a wspace-files-svc File for the lesson media asset. */ media?: Maybe; moduleId?: Maybe; position: Scalars['Int']['output']; /** BOFF-10563: repository provenance, including whether a newer version exists. */ repositorySource?: Maybe; /** * BOFF-10464: the product this lesson was mirrored from. Null for lessons * authored natively in Buildmyiq. */ source?: Maybe; /** BOFF-10464: the source product's own id for this lesson (opaque). */ sourceId?: Maybe; /** BOFF-10563: Learning Object Repository object this lesson was cloned from or saved as. */ sourceObjectId?: Maybe; /** BOFF-10563: the repository version this lesson matches. */ sourceObjectVersion?: Maybe; /** True when the calling learner has completed this lesson in Technospam. */ technospamCompletedByMe?: Maybe; /** * The lesson body as Technospam holds it, gated by the TechnoSpam plan. Use * this for premium-only lessons: their body is not stored in Buildmyiq until * Buildmyiq has a product-entitlement-aware content gate. Null when locked. */ technospamContent?: Maybe; /** INTERACTIVE lessons: the output a correct program prints. Null when locked. */ technospamExpectedOutput?: Maybe; /** TechnoSpam free-tier lock for the calling workspace (see TecLesson.isLocked). */ technospamIsLocked?: Maybe; /** INTERACTIVE lessons: language slug the runnable workspace executes. */ technospamLanguage?: Maybe; /** The Technospam lesson this canonical lesson was written from. */ technospamLesson?: Maybe; /** QUIZ lessons: the questions without the answer key. Empty when locked. */ technospamQuizQuestions?: Maybe>; /** INTERACTIVE lessons: default stdin for a run. Null when locked. */ technospamSampleInput?: Maybe; /** INTERACTIVE lessons: code pre-filled in the editor. Null when locked. */ technospamStarterCode?: Maybe; title: Scalars['String']['output']; type: BuiLessonType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiLessonConnection = { __typename?: 'BuiLessonConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiLessonProgress = { __typename?: 'BuiLessonProgress'; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; enrollmentId: Scalars['ID']['output']; id: Scalars['ID']['output']; lessonId: Scalars['ID']['output']; secondsSpent: Scalars['Int']['output']; /** * BOFF-10464: the product this progress row was mirrored from. Null for * progress recorded natively in Buildmyiq. */ source?: Maybe; /** BOFF-10464: the source product's own id for this progress row (opaque). */ sourceId?: Maybe; status: BuiProgressStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiLessonProgressConnection = { __typename?: 'BuiLessonProgressConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiLessonType { Article = "ARTICLE", Assignment = "ASSIGNMENT", Interactive = "INTERACTIVE", LiveSession = "LIVE_SESSION", Quiz = "QUIZ", Video = "VIDEO" } /** The LMS a roster or gradebook file was exported from. */ export declare enum BuiLmsSystem { Blackboard = "BLACKBOARD", Canvas = "CANVAS", /** email,course_slug,role (roster) or email plus one column per assessment (gradebook). */ Generic = "GENERIC", Moodle = "MOODLE" } export type BuiLtiDeepLinkResult = { __typename?: 'BuiLtiDeepLinkResult'; /** The signed `LtiDeepLinkingResponse` JWT — the FE auto-posts this to `returnUrl`. */ jwt: Scalars['String']['output']; returnUrl: Scalars['String']['output']; }; export type BuiLtiGradeSync = { __typename?: 'BuiLtiGradeSync'; attemptedAt: Scalars['DateTime']['output']; errorMessage?: Maybe; httpStatus?: Maybe; id: Scalars['ID']['output']; learnerId: Scalars['ID']['output']; resourceLinkId: Scalars['ID']['output']; respondedAt?: Maybe; scoreGiven: Scalars['Float']['output']; scoreMaximum: Scalars['Float']['output']; status: BuiLtiGradeSyncStatus; submissionId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BuiLtiGradeSyncStatus { Failed = "FAILED", Pending = "PENDING", Success = "SUCCESS" } /** * The validated, not-yet-consumed context of a REST-layer LTI launch — * handed to the authenticated app shell via the opaque ticket id the * `/lti/buildmyiq/launch` REST endpoint redirects to. */ export type BuiLtiLaunchContext = { __typename?: 'BuiLtiLaunchContext'; /** Populated only for RESOURCE_LINK tickets whose placement is already mapped. */ assessmentId?: Maybe; contextTitle?: Maybe; /** Populated only for DEEP_LINKING tickets — the assessments this workspace can embed. */ deepLinkAcceptTypes?: Maybe>; messageType: BuiLtiMessageType; platformId: Scalars['ID']['output']; ticketId: Scalars['ID']['output']; }; export type BuiLtiLaunchLinkResult = { __typename?: 'BuiLtiLaunchLinkResult'; resourceLink: BuiLtiResourceLink; }; export declare enum BuiLtiMessageType { DeepLinking = "DEEP_LINKING", ResourceLink = "RESOURCE_LINK" } export type BuiLtiPlatform = { __typename?: 'BuiLtiPlatform'; active: Scalars['Boolean']['output']; authLoginUrl: Scalars['String']['output']; authTokenUrl: Scalars['String']['output']; clientId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; deploymentIds: Array; id: Scalars['ID']['output']; issuer: Scalars['String']['output']; keySetUrl: Scalars['String']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiLtiResourceLink = { __typename?: 'BuiLtiResourceLink'; assessmentId?: Maybe; contextId?: Maybe; contextTitle?: Maybe; createdAt: Scalars['DateTime']['output']; deploymentId: Scalars['String']['output']; id: Scalars['ID']['output']; lineItemUrl?: Maybe; /** The Names and Role Provisioning Services endpoint from the latest launch; null until the LMS grants NRPS. */ nrpsUrl?: Maybe; platformId: Scalars['ID']['output']; resourceLinkId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiLtiRosterMember = { __typename?: 'BuiLtiRosterMember'; contextId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; deploymentId: Scalars['String']['output']; displayName?: Maybe; email?: Maybe; id: Scalars['ID']['output']; ltiSub: Scalars['String']['output']; picture?: Maybe; platformId: Scalars['ID']['output']; roles: Array; status: BuiLtiRosterMemberStatus; syncedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BuiLtiRosterMemberStatus { Active = "Active", Deleted = "Deleted", Inactive = "Inactive" } /** An export, returned inline. Decode `contentBase64` and save it as `fileName`. */ export type BuiMigrationExport = { __typename?: 'BuiMigrationExport'; byteSize: Scalars['Int']['output']; contentBase64: Scalars['String']['output']; fileName: Scalars['String']['output']; job: BuiMigrationJob; mimeType: Scalars['String']['output']; }; export declare enum BuiMigrationFormat { /** BuildMyIQ course JSON — export. */ BuildmyiqJson = "BUILDMYIQ_JSON", /** IMS Common Cartridge (.imscc) — import and export. */ CommonCartridge = "COMMON_CARTRIDGE", /** Gradebook CSV — export and import. */ GradebookCsv = "GRADEBOOK_CSV", /** Moodle course backup (.mbz) — import. */ MoodleBackup = "MOODLE_BACKUP", /** Roster (enrollment) CSV — import. */ RosterCsv = "ROSTER_CSV", /** SCORM 1.2 / 2004 package (.zip) — import as an interactive lesson (BOFF-10579). */ Scorm = "SCORM", /** SCORM 1.2 package (.zip) — export (BOFF-10579). */ Scorm_12 = "SCORM_12" } /** Something in a package that was skipped, converted or needs attention. */ export type BuiMigrationIssue = { __typename?: 'BuiMigrationIssue'; /** Stable machine-readable code, e.g. RESOURCE_UNSUPPORTED. */ code: Scalars['String']['output']; message: Scalars['String']['output']; /** Package-side reference (resource identifier or file path), when known. */ ref?: Maybe; severity: BuiMigrationIssueSeverity; }; export declare enum BuiMigrationIssueSeverity { Error = "ERROR", Info = "INFO", Warning = "WARNING" } export type BuiMigrationJob = { __typename?: 'BuiMigrationJob'; courseId?: Maybe; courseTitle?: Maybe; createdAt: Scalars['DateTime']['output']; /** Actor who ran the import or export. */ createdBy: Scalars['String']['output']; fileId?: Maybe; fileName?: Maybe; format: BuiMigrationFormat; id: Scalars['ID']['output']; issues: Array; kind: BuiMigrationJobKind; /** Media upload progress of an import; null when there was no media to upload. */ media?: Maybe; /** The media files of an import (empty for exports). */ mediaFiles: Array; /** LMS that generated an imported package, when the package says (e.g. Canvas). */ sourceSystem?: Maybe; stats: BuiMigrationStats; status: BuiMigrationJobStatus; }; export type BuiMigrationJobConnection = { __typename?: 'BuiMigrationJobConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiMigrationJobKind { CourseExport = "COURSE_EXPORT", CourseImport = "COURSE_IMPORT", GradebookExport = "GRADEBOOK_EXPORT", /** Gradebook CSV import: graded submissions from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */ GradebookImport = "GRADEBOOK_IMPORT", /** Roster CSV import: enrollments from Canvas, Blackboard, Moodle or a generic CSV (BOFF-10578). */ RosterImport = "ROSTER_IMPORT" } export declare enum BuiMigrationJobStatus { Completed = "COMPLETED", Failed = "FAILED" } /** One media file of an imported package. */ export type BuiMigrationMediaFile = { __typename?: 'BuiMigrationMediaFile'; byteSize: Scalars['Int']['output']; /** Why the file could not be imported, when it failed. */ error?: Maybe; /** The imported file in Files, once uploaded. */ fileId?: Maybe; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; /** Path inside the package. */ path: Scalars['String']['output']; status: BuiMigrationMediaFileStatus; }; export declare enum BuiMigrationMediaFileStatus { Failed = "FAILED", Pending = "PENDING", Uploaded = "UPLOADED" } /** Where the media upload of an import stands. */ export type BuiMigrationMediaProgress = { __typename?: 'BuiMigrationMediaProgress'; failed: Scalars['Int']['output']; /** Files not uploaded or failed yet. */ pending: Scalars['Int']['output']; status: BuiMigrationMediaStatus; total: Scalars['Int']['output']; uploaded: Scalars['Int']['output']; }; export declare enum BuiMigrationMediaStatus { /** Every media file was imported. */ Completed = "COMPLETED", /** No media file could be imported. */ Failed = "FAILED", /** Some media files could not be imported (see the job's issues). */ Partial = "PARTIAL", /** Queued, or waiting to retry files that failed for a transient reason. */ Pending = "PENDING", /** Uploading now. */ Running = "RUNNING" } export type BuiMigrationStats = { __typename?: 'BuiMigrationStats'; assessmentCount: Scalars['Int']['output']; /** Size of the package or export in bytes. */ byteSize: Scalars['Int']['output']; /** Rows written: enrollments (roster import) or grades (gradebook import). */ createdCount: Scalars['Int']['output']; /** LMS SIS ids or logins linked to workspace members (roster import). */ identifierCount: Scalars['Int']['output']; /** Distinct learners enrolled or graded. */ learnerCount: Scalars['Int']['output']; lessonCount: Scalars['Int']['output']; /** Media files an import uploads to Files after writing the course. */ mediaFileCount: Scalars['Int']['output']; moduleCount: Scalars['Int']['output']; questionCount: Scalars['Int']['output']; /** Data rows written (gradebook exports). */ rowCount: Scalars['Int']['output']; /** Package items that were not imported. */ skippedCount: Scalars['Int']['output']; /** Imported grades updated in place by a gradebook re-import. */ updatedCount: Scalars['Int']['output']; }; export type BuiModule = { __typename?: 'BuiModule'; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; lessons: BuiLessonConnection; position: Scalars['Int']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiModuleLessonsArgs = { pagination?: InputMaybe; }; export type BuiModuleConnection = { __typename?: 'BuiModuleConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiNextLessonSuggestion = { __typename?: 'BuiNextLessonSuggestion'; confidence: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; enrollmentId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** * Ids of the records this decision actually read (the enrollment, its * lesson-progress rows, and any graded submissions used to derive the * pacing signal) — the explainability trail for a DPO/compliance review. */ inputRefs: Array; lessonId: Scalars['ID']['output']; lessonTitle: Scalars['String']['output']; moduleId?: Maybe; moduleTitle?: Maybe; outcome: BuiAiSuggestionOutcome; pacingHint: BuiPacingHint; rationale: Scalars['String']['output']; }; export type BuiOnboardingStatus = { __typename?: 'BuiOnboardingStatus'; completedCount: Scalars['Int']['output']; demoContentLoaded: Scalars['Boolean']['output']; demoCourseId?: Maybe; /** The caller's enrollment in the demo course, used to continue the demo as a learner. */ demoEnrollmentId?: Maybe; isComplete: Scalars['Boolean']['output']; steps: Array; totalCount: Scalars['Int']['output']; }; export type BuiOnboardingStep = { __typename?: 'BuiOnboardingStep'; /** When the workspace first reached this step, if it was reached after activation tracking started. */ achievedAt?: Maybe; completed: Scalars['Boolean']['output']; /** How many of the workspace's own courses / enrollments / certificates satisfy the step. */ count: Scalars['Int']['output']; key: BuiOnboardingStepKey; }; /** A step of the four-step getting-started checklist, in checklist order. */ export declare enum BuiOnboardingStepKey { CreateCourse = "CREATE_COURSE", EnrollLearner = "ENROLL_LEARNER", IssueCertificate = "ISSUE_CERTIFICATE", PublishCourse = "PUBLISH_COURSE" } export declare enum BuiPacingHint { Accelerate = "ACCELERATE", SlowDown = "SLOW_DOWN", Steady = "STEADY" } export type BuiPageInfo = { __typename?: 'BuiPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; /** Answers to the path-finder assessment. Every question must be answered. */ export type BuiPathFinderInput = { experienceLevel: BuiCourseLevel; /** At least one skill area. */ interests: Array; role?: InputMaybe; }; /** Why a skill journey was recommended. Each reason adds to the score. */ export declare enum BuiPathRecommendationReason { /** The skill is in a category the learner picked as an interest. */ InterestMatch = "INTEREST_MATCH", /** The journey has a course at the learner's experience level. */ LevelMatch = "LEVEL_MATCH", /** Other learners in this workspace are taking the journey. */ Popular = "POPULAR", /** The skill shares a category with a journey the learner already started. */ RelatedToProgress = "RELATED_TO_PROGRESS", /** The skill name or description matches words in the learner's role. */ RoleMatch = "ROLE_MATCH" } export type BuiPathRecommendations = { __typename?: 'BuiPathRecommendations'; /** The caller has a learner profile with at least one answer. */ hasProfile: Scalars['Boolean']['output']; items: Array; /** True when no recommendation is strong, so the page should offer the path-finder assessment. */ suggestAssessment: Scalars['Boolean']['output']; }; export declare enum BuiProctoringDecision { Approved = "APPROVED", Rejected = "REJECTED" } /** * BOFF-9691: a reviewer's view of a learner's identity photo/ID. The file stays * PRIVATE to the learner in the platform file store; this carries only what a * reviewer needs to look at it once. */ export type BuiProctoringIdentityFile = { __typename?: 'BuiProctoringIdentityFile'; /** Short-lived presigned URL (about five minutes). */ downloadUrl: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; fileId: Scalars['ID']['output']; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; /** Size in bytes, as a string (BigInt-safe). */ size?: Maybe; }; export type BuiProctoringSession = { __typename?: 'BuiProctoringSession'; /** * BOFF-9690: when the learner consented to in-browser AI monitoring. Null * when the assessment does not use AI monitoring. */ aiMonitoringConsentAt?: Maybe; assessmentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Reference to a wspace-files-svc File for the learner's submitted identity photo/ID. */ identityFile?: Maybe; learnerId: Scalars['ID']['output']; lockdownAcknowledgedAt?: Maybe; reviewNotes?: Maybe; reviewedAt?: Maybe; reviewedById?: Maybe; /** * Number of proctoring signals recorded on this session (lockdown + AI), * including any already deleted by the retention period. */ signalCount: Scalars['Int']['output']; /** Per-type counts of this session's signals still inside the retention period. */ signalSummary: Array; status: BuiProctoringStatus; updatedAt: Scalars['DateTime']['output']; violationCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiProctoringSessionConnection = { __typename?: 'BuiProctoringSessionConnection'; items: Array; pageInfo: BuiPageInfo; }; /** * BOFF-9690: one signal episode on a proctoring session. Only the kind, timing * and a few numbers are stored — never images, audio or face templates — and * rows are deleted after the published retention period (60 days). */ export type BuiProctoringSignal = { __typename?: 'BuiProctoringSignal'; /** Detector confidence 0..1 (AI signals only). */ confidence?: Maybe; createdAt: Scalars['DateTime']['output']; durationMs: Scalars['Int']['output']; /** Highest number of faces seen during the episode (face signals only). */ faceCount?: Maybe; id: Scalars['ID']['output']; /** Peak speech-band level in dBFS (audio signals only). */ peakLevelDb?: Maybe; sessionId: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; type: BuiProctoringSignalType; workspaceId: Scalars['ID']['output']; }; export type BuiProctoringSignalConnection = { __typename?: 'BuiProctoringSignalConnection'; items: Array; pageInfo: BuiPageInfo; }; /** BOFF-9690: one signal episode reported by the learner's browser. */ export type BuiProctoringSignalInput = { confidence?: InputMaybe; durationMs?: InputMaybe; faceCount?: InputMaybe; peakLevelDb?: InputMaybe; startedAt: Scalars['DateTime']['input']; type: BuiProctoringSignalType; }; export type BuiProctoringSignalSummary = { __typename?: 'BuiProctoringSignalSummary'; count: Scalars['Int']['output']; totalDurationMs: Scalars['Int']['output']; type: BuiProctoringSignalType; }; /** * BOFF-9690: a proctoring signal episode observed by the learner's browser. * Lockdown signals: TAB_HIDDEN, WINDOW_BLUR, FULLSCREEN_EXIT, CLIPBOARD. * AI signals (opt-in per assessment, analysed on the learner's device only): * FACE_ABSENT, MULTIPLE_FACES, GAZE_AWAY (head turned away from the screen), * VOICE_DETECTED (sustained speech-band audio), CAMERA_UNAVAILABLE, * MICROPHONE_UNAVAILABLE. */ export declare enum BuiProctoringSignalType { CameraUnavailable = "CAMERA_UNAVAILABLE", Clipboard = "CLIPBOARD", FaceAbsent = "FACE_ABSENT", FullscreenExit = "FULLSCREEN_EXIT", GazeAway = "GAZE_AWAY", MicrophoneUnavailable = "MICROPHONE_UNAVAILABLE", MultipleFaces = "MULTIPLE_FACES", TabHidden = "TAB_HIDDEN", VoiceDetected = "VOICE_DETECTED", WindowBlur = "WINDOW_BLUR" } export declare enum BuiProctoringStatus { Approved = "APPROVED", Expired = "EXPIRED", IdentitySubmitted = "IDENTITY_SUBMITTED", Pending = "PENDING", Rejected = "REJECTED", UnderReview = "UNDER_REVIEW" } export declare enum BuiProgressStatus { Completed = "COMPLETED", InProgress = "IN_PROGRESS", NotStarted = "NOT_STARTED" } export type BuiPublishLearningObjectVersionInput = { changeNote?: InputMaybe; /** Lesson or assessment (of the object's kind) whose current content becomes the new version. */ entityId: Scalars['ID']['input']; learningObjectId: Scalars['ID']['input']; }; /** Only the explicitly reviewed snapshot is visible to authorized workspace learners. */ export type BuiPublishedCatalogItem = { __typename?: 'BuiPublishedCatalogItem'; id: Scalars['ID']['output']; snapshot: Scalars['JSON']['output']; }; /** A bounded page of reviewed external metadata, filtered by its actual provider before paging. */ export type BuiPublishedCatalogPage = { __typename?: 'BuiPublishedCatalogPage'; hasMore: Scalars['Boolean']['output']; items: Array; limit: Scalars['Int']['output']; nextOffset?: Maybe; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type BuiQuestion = { __typename?: 'BuiQuestion'; assessmentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; explanation?: Maybe; id: Scalars['ID']['output']; options?: Maybe; points: Scalars['Float']['output']; position: Scalars['Int']['output']; prompt: Scalars['String']['output']; /** * BOFF-4429: per-criterion grading rubric for this (typically open-ended) * question. Empty for questions graded holistically off `explanation`. */ rubricCriteria: Array; type: BuiQuestionType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiQuestionConnection = { __typename?: 'BuiQuestionConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiQuestionFeedback = { __typename?: 'BuiQuestionFeedback'; /** * Per-criterion AI proposals for this question (BOFF-4429). Empty when the * question has no rubric criteria and was scored holistically. */ criterionScores: Array; feedback: Scalars['String']['output']; questionId: Scalars['ID']['output']; /** * Points this question contributed to `proposedScore`. Deterministic * (answerKey comparison) for objective questions; the AI's proposal for * open-ended ones — always educator-reviewable, never auto-applied. */ suggestedPoints?: Maybe; }; export declare enum BuiQuestionType { Code = "CODE", Essay = "ESSAY", MultipleChoice = "MULTIPLE_CHOICE", ShortAnswer = "SHORT_ANSWER", SingleChoice = "SINGLE_CHOICE", TrueFalse = "TRUE_FALSE" } export type BuiRecommendedPath = { __typename?: 'BuiRecommendedPath'; /** Published courses in the journey, Beginner to Expert. */ courseCount: Scalars['Int']['output']; /** Distinct learners in the workspace enrolled in any course of the journey. */ learnerCount: Scalars['Int']['output']; reasons: Array; /** Sum of the reason weights; higher is a better match. */ score: Scalars['Int']['output']; skill: BuiSkill; skillId: Scalars['ID']['output']; /** Where to start: the first course at or above the learner's level, else the first course. */ startCourse: BuiCourse; /** A match on the learner's own profile or progress (not popularity alone). */ strong: Scalars['Boolean']['output']; totalHours: Scalars['Int']['output']; }; export type BuiRecordLessonProgressInput = { enrollmentId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; secondsSpent?: InputMaybe; status?: InputMaybe; }; export type BuiRegisterLtiPlatformInput = { authLoginUrl: Scalars['String']['input']; authTokenUrl: Scalars['String']['input']; clientId: Scalars['String']['input']; deploymentIds?: InputMaybe>; issuer: Scalars['String']['input']; keySetUrl: Scalars['String']['input']; name: Scalars['String']['input']; }; /** Where a lesson or assessment copy came from in the repository. */ export type BuiRepositorySource = { __typename?: 'BuiRepositorySource'; latestVersion: Scalars['Int']['output']; objectId: Scalars['ID']['output']; status: BuiLearningObjectStatus; title: Scalars['String']['output']; /** A newer version has been published since this copy was made. */ updateAvailable: Scalars['Boolean']['output']; /** The version this copy matches. */ version: Scalars['Int']['output']; }; export type BuiReviewProctoringSessionInput = { decision: BuiProctoringDecision; notes?: InputMaybe; }; export type BuiReviewTutorAnswerInput = { action: BuiTutorReviewAction; /** Required for CORRECT; rejected for other actions. Max 8000 characters. */ correctedContent?: InputMaybe; /** The ASSISTANT message (tutor answer) to review. */ messageId: Scalars['ID']['input']; /** Required for ANNOTATE, optional for CORRECT and REDACT, rejected for CLEAR. Max 2000 characters. */ note?: InputMaybe; }; export declare enum BuiRiskSeverity { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } /** One named signal behind an at-risk flag — evidence, never a bare score. */ export type BuiRiskSignal = { __typename?: 'BuiRiskSignal'; /** Plain sentence an educator can read aloud: what was observed, with numbers. */ detail: Scalars['String']['output']; kind: BuiRiskSignalKind; severity: BuiRiskSeverity; }; export declare enum BuiRiskSignalKind { /** Progress is well under the cohort median. */ BehindPeers = "BEHIND_PEERS", /** No lesson progress for at least a week. */ Dormancy = "DORMANCY", /** Running assessment average is below 60. */ LowAssessmentAverage = "LOW_ASSESSMENT_AVERAGE", /** Completed-lesson pace is behind the cohort's scheduled window. */ ProgressVelocity = "PROGRESS_VELOCITY", /** Latest graded score dropped well under the earlier average. */ ScoreTrendDeclining = "SCORE_TREND_DECLINING" } export type BuiRosterCourseMappingInput = { /** BuildMyIQ course to enroll into; null skips the LMS course. */ courseId?: InputMaybe; /** LMS course identifier as it appears in the file. */ sourceCourse: Scalars['String']['input']; }; /** How an LMS course in a roster maps to a BuildMyIQ course. */ export type BuiRosterCourseMatch = { __typename?: 'BuiRosterCourseMatch'; courseId?: Maybe; courseTitle?: Maybe; /** MAPPING (chosen), ID, SLUG or TITLE; null when unmapped. */ matchedBy?: Maybe; rowCount: Scalars['Int']['output']; sourceCourse: Scalars['String']['output']; }; export type BuiRosterImportInput = { /** Overrides the automatic id / slug / title course matching. */ courseMappings?: InputMaybe>; /** wspace-files-svc id of the uploaded roster CSV. */ fileId: Scalars['ID']['input']; /** Detected from the header when omitted. */ sourceSystem?: InputMaybe; /** Optional users file (Canvas users.csv, Blackboard person feed) that maps SIS ids to e-mails. */ usersFileId?: InputMaybe; }; /** What a roster import would do, computed without writing anything. */ export type BuiRosterImportPreview = { __typename?: 'BuiRosterImportPreview'; canImport: Scalars['Boolean']['output']; courses: Array; fileName: Scalars['String']['output']; /** SIS ids / logins the import would link to members. */ identifierCount: Scalars['Int']['output']; issues: Array; /** E-mails in the file that are not workspace members (invite them, then re-run). */ missingLearnerEmails: Array; /** Enrollments the import would create. */ readyCount: Scalars['Int']['output']; /** The first 500 rows. */ rows: Array; rowsTruncated: Scalars['Boolean']['output']; sourceSystem: BuiLmsSystem; statusCounts: Array; totalRows: Scalars['Int']['output']; usersFileName?: Maybe; }; export type BuiRosterImportResult = { __typename?: 'BuiRosterImportResult'; enrolledCount: Scalars['Int']['output']; job: BuiMigrationJob; missingLearnerEmails: Array; /** The first 500 rows that were not enrolled, with the reason. */ rows: Array; rowsTruncated: Scalars['Boolean']['output']; statusCounts: Array; }; /** * One scored dimension of a question's grading rubric (BOFF-4429) — e.g. * "Thesis clarity" (max 5 pts), "Evidence & citations" (max 10 pts). Set as a * whole via `buiSetRubricCriteria`; `IntelligenceService.suggestGrade` scores * each criterion independently when a question has any. */ export type BuiRubricCriterion = { __typename?: 'BuiRubricCriterion'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; maxPoints: Scalars['Float']['output']; position: Scalars['Int']['output']; questionId: Scalars['ID']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiRubricCriterionInput = { description?: InputMaybe; maxPoints: Scalars['Float']['input']; position?: InputMaybe; title: Scalars['String']['input']; }; export type BuiSaveInteractiveActivityInput = { /** 1 to 100 questions, played in this order. */ items: Array; lessonId: Scalars['ID']['input']; /** Pass mark (1-100). Defaults to the current pass mark, else 70. */ passPct?: InputMaybe; /** Keep a single question as a Question Set. Several questions are always one. */ questionSet?: InputMaybe; title: Scalars['String']['input']; }; export type BuiSaveToRepositoryInput = { attribution?: InputMaybe; /** Note recorded on version 1. */ changeNote?: InputMaybe; description?: InputMaybe; /** Id of the lesson or assessment to save. */ entityId: Scalars['ID']['input']; kind: BuiLearningObjectKind; license?: InputMaybe; skillIds?: InputMaybe>; tags?: InputMaybe>; /** Defaults to the lesson or assessment title. */ title?: InputMaybe; }; /** A course the calling learner saved for later. */ export type BuiSavedCourse = { __typename?: 'BuiSavedCourse'; course: BuiCourse; courseId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** When the learner saved the course. */ savedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiSavedCourseConnection = { __typename?: 'BuiSavedCourseConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiScormCommitResult = { __typename?: 'BuiScormCommitResult'; item: BuiScormItemState; /** True when the lesson is complete (now or already). */ lessonCompleted: Scalars['Boolean']['output']; }; /** A launchable item of a SCORM package, in organization order. */ export type BuiScormItem = { __typename?: 'BuiScormItem'; /** SCORM 2004 completion threshold (0 to 1). */ completionThreshold?: Maybe; /** Launch file path inside the stored archive. */ href: Scalars['String']['output']; /** Organization item identifier. */ identifier: Scalars['ID']['output']; /** Value of cmi.launch_data. */ launchData: Scalars['String']['output']; /** SCORM 1.2 mastery score (0-100). */ masteryScore?: Maybe; maxTimeAllowed: Scalars['String']['output']; /** Query string appended to the launch file, without the leading ?. */ parameters: Scalars['String']['output']; /** SCORM 2004 scaled passing score (-1 to 1). */ scaledPassingScore?: Maybe; /** sco (talks to the SCORM API) or asset (a plain page). */ scormType: Scalars['String']['output']; timeLimitAction: Scalars['String']['output']; title: Scalars['String']['output']; }; /** A learner's run-time state for one item. */ export type BuiScormItemState = { __typename?: 'BuiScormItemState'; attemptNumber: Scalars['Int']['output']; /** SCORM 2004 completion_status, or the SCORM 1.2 lesson_status. */ completionStatus: Scalars['String']['output']; /** Value of cmi.entry / cmi.core.entry for this launch (ab-initio, resume or empty). */ entry: Scalars['String']['output']; identifier: Scalars['ID']['output']; /** True once the item was completed or passed. */ satisfied: Scalars['Boolean']['output']; scoreMax?: Maybe; scoreMin?: Maybe; scoreRaw?: Maybe; scoreScaled?: Maybe; /** SCORM 2004 success_status (passed, failed or unknown). */ successStatus: Scalars['String']['output']; /** Total time in the version's format (HHHH:MM:SS or an ISO 8601 duration). */ totalTime: Scalars['String']['output']; totalTimeSeconds: Scalars['Int']['output']; /** Stored data model values the item resumes from. */ values: Array; }; /** Everything the sandboxed player needs to launch a SCORM lesson. */ export type BuiScormLaunch = { __typename?: 'BuiScormLaunch'; enrollmentId?: Maybe; items: Array; /** Value of cmi.learner_id / cmi.core.student_id. */ learnerId: Scalars['ID']['output']; lessonCompleted: Scalars['Boolean']['output']; mode: BuiScormLaunchMode; package: BuiScormPackage; /** Short-lived signed URL of the stored ZIP. Fetch it before packageUrlExpiresAt. */ packageUrl: Scalars['String']['output']; packageUrlExpiresAt: Scalars['DateTime']['output']; }; export declare enum BuiScormLaunchMode { /** An author's preview: nothing is stored. */ Browse = "BROWSE", /** A learner's launch: run-time data is committed and kept. */ Normal = "NORMAL" } /** A SCORM package attached to an INTERACTIVE lesson. */ export type BuiScormPackage = { __typename?: 'BuiScormPackage'; byteSize: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; /** Path of the SCORM ZIP inside the stored file when it is nested in a cartridge. */ entryPath?: Maybe; /** wspace-files-svc id of the stored ZIP. */ fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; id: Scalars['ID']['output']; identifier: Scalars['String']['output']; itemCount: Scalars['Int']['output']; items: Array; lessonId: Scalars['ID']['output']; /** Folder inside the archive that holds imsmanifest.xml (empty for the root). */ rootPath: Scalars['String']['output']; /** Schema version declared by the manifest, e.g. 1.2 or 2004 4th Edition. */ schemaVersion: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; validatedAt: Scalars['DateTime']['output']; version: BuiScormVersion; warnings: Array; }; /** One stored data model element. */ export type BuiScormValue = { __typename?: 'BuiScormValue'; element: Scalars['String']['output']; value: Scalars['String']['output']; }; export type BuiScormValueInput = { element: Scalars['String']['input']; value: Scalars['String']['input']; }; export declare enum BuiScormVersion { Scorm_12 = "SCORM_12", Scorm_2004 = "SCORM_2004" } /** A non-fatal note from manifest validation, e.g. sequencing rules the player simplifies. */ export type BuiScormWarning = { __typename?: 'BuiScormWarning'; code: Scalars['String']['output']; message: Scalars['String']['output']; }; export type BuiSelfEnrollInput = { cohortId?: InputMaybe; courseId: Scalars['ID']['input']; }; export type BuiSkill = { __typename?: 'BuiSkill'; category: BuiSkillCategory; certificationIds: Array; createdAt: Scalars['DateTime']['output']; /** The actor who created this workspace-scoped skill; supports exact lifecycle provenance. */ createdBy: Scalars['ID']['output']; description?: Maybe; escoUri?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; onetCode?: Maybe; socCodes: Array; taxonomyMetadata?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BuiSkillCategory { Business = "BUSINESS", Cognitive = "COGNITIVE", Creative = "CREATIVE", Language = "LANGUAGE", Social = "SOCIAL", Technical = "TECHNICAL" } export type BuiSkillConnection = { __typename?: 'BuiSkillConnection'; items: Array; pageInfo: BuiPageInfo; }; /** A suggested standard-framework match for a skill name or description. */ export type BuiSkillMappingSuggestion = { __typename?: 'BuiSkillMappingSuggestion'; confidence: Scalars['Float']['output']; reason?: Maybe; skillStandard: BuiSkillStandard; }; export type BuiSkillStandard = { __typename?: 'BuiSkillStandard'; category: BuiSkillCategory; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe; socCodes: Array; source: BuiSkillStandardSource; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; uri?: Maybe; workspaceId: Scalars['ID']['output']; }; export type BuiSkillStandardConnection = { __typename?: 'BuiSkillStandardConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiSkillStandardSource { Esco = "ESCO", Onet = "ONET" } export type BuiSubmission = { __typename?: 'BuiSubmission'; answers?: Maybe; assessmentId: Scalars['ID']['output']; attempt: Scalars['Int']['output']; autoGraded: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; enrollmentId?: Maybe; feedback?: Maybe; gradedAt?: Maybe; gradedById?: Maybe; id: Scalars['ID']['output']; /** LMS a gradebook import brought this grade from (CANVAS, BLACKBOARD, MOODLE, GENERIC); null for grades given in BuildMyIQ (BOFF-10578). */ importSource?: Maybe; learnerId: Scalars['ID']['output']; passed?: Maybe; score?: Maybe; status: BuiSubmissionStatus; submittedAt?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiSubmissionConnection = { __typename?: 'BuiSubmissionConnection'; items: Array; pageInfo: BuiPageInfo; }; export declare enum BuiSubmissionStatus { Graded = "GRADED", Grading = "GRADING", InProgress = "IN_PROGRESS", Returned = "RETURNED", Submitted = "SUBMITTED" } export type BuiSubmitAssessmentInput = { answers?: InputMaybe; assessmentId: Scalars['ID']['input']; attempt?: InputMaybe; enrollmentId?: InputMaybe; }; export type BuiSubmitInteractiveAttemptInput = { enrollmentId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; responses: Array; }; export type BuiSubmitProctoringIdentityInput = { /** * BOFF-9690: explicit consent to in-browser AI monitoring. Required (true) * when the assessment has `aiProctoringEnabled`; ignored otherwise. */ aiMonitoringConsent?: InputMaybe; identityFileId?: InputMaybe; lockdownAcknowledged: Scalars['Boolean']['input']; }; export type BuiSuggestAssessmentDraftInput = { blockedTerms?: InputMaybe>; courseId: Scalars['ID']['input']; /** Free-text difficulty hint, for example BEGINNER or ADVANCED. */ difficulty?: InputMaybe; /** Ground the draft in one lesson only; omit to use the whole course. */ lessonId?: InputMaybe; /** 0..1; questions the model rates below this are dropped. */ minConfidence?: InputMaybe; /** 1..10, default 5. */ questionCount?: InputMaybe; /** Allowed question types; default SINGLE_CHOICE and SHORT_ANSWER. */ questionTypes?: InputMaybe>; }; /** The decision engine's recommended remediation for a flagged enrollment. */ export type BuiSuggestedIntervention = { __typename?: 'BuiSuggestedIntervention'; kind: BuiInterventionKind; lessonId?: Maybe; lessonTitle?: Maybe; moduleTitle?: Maybe; pacingHint?: Maybe; rationale: Scalars['String']['output']; }; export type BuiSyncExternalCertificateInput = { /** The source product's id of the certificate's course (synced first). */ courseSourceId: Scalars['ID']['input']; deletedAt?: InputMaybe; finalScore?: InputMaybe; issuedAt: Scalars['DateTime']['input']; learnerId: Scalars['ID']['input']; onBehalfOf: Scalars['ID']['input']; revokedAt?: InputMaybe; /** The source's serial. Kept verbatim so a shared credential still matches. */ serial: Scalars['String']['input']; source: BuiExternalSource; /** The source product's own certificate id. */ sourceId: Scalars['ID']['input']; status: BuiCertificateStatus; }; export type BuiSyncExternalCourseInput = { coverFileId?: InputMaybe; /** Set when the source soft-deleted (archived) the course. */ deletedAt?: InputMaybe; /** Source estimate in minutes; stored rounded up to whole hours. */ estimatedMinutes?: InputMaybe; instructorId?: InputMaybe; level: BuiCourseLevel; /** The end user the source product acted for; recorded as onBehalfOf. */ onBehalfOf: Scalars['ID']['input']; publishedAt?: InputMaybe; /** Preferred slug. Suffixed with a fragment of sourceId if the workspace already uses it. */ slug: Scalars['String']['input']; source: BuiExternalSource; /** The source product's own course id. */ sourceId: Scalars['ID']['input']; status: BuiCourseStatus; summary?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type BuiSyncExternalEnrollmentInput = { completedAt?: InputMaybe; /** The source product's id of the enrollment's course (synced first). */ courseSourceId: Scalars['ID']['input']; deletedAt?: InputMaybe; lastActiveAt?: InputMaybe; learnerId: Scalars['ID']['input']; onBehalfOf: Scalars['ID']['input']; progressPct: Scalars['Int']['input']; source: BuiExternalSource; /** The source product's own enrollment id. */ sourceId: Scalars['ID']['input']; startedAt?: InputMaybe; status: BuiEnrollmentStatus; }; /** * BOFF-10464: a source product's lesson. Only the canonical lesson fields are * mirrored; product-specific lesson data (runnable-code metadata, quiz answer * keys, entitlement lock state) stays with the source product. */ export type BuiSyncExternalLessonInput = { /** * Lesson body. The source sends null when it must not be exposed outside the * source product (for example a premium-only lesson body). */ content?: InputMaybe; /** The source product's id of the lesson's course (synced first). */ courseSourceId: Scalars['ID']['input']; /** Set when the source soft-deleted the lesson. */ deletedAt?: InputMaybe; durationMin?: InputMaybe; /** Free trailer lesson: readable without an enrollment in a published course. */ isPreview: Scalars['Boolean']['input']; /** wspace-files-svc File id of the lesson's primary media asset. */ mediaFileId?: InputMaybe; onBehalfOf: Scalars['ID']['input']; position: Scalars['Int']['input']; source: BuiExternalSource; /** The source product's own lesson id. */ sourceId: Scalars['ID']['input']; title: Scalars['String']['input']; type: BuiLessonType; }; /** BOFF-10464: one lesson a learner finished inside an enrollment at the source. */ export type BuiSyncExternalLessonProgressInput = { completedAt?: InputMaybe; /** The source product's id of the enrollment (synced first). */ enrollmentSourceId: Scalars['ID']['input']; /** The source product's id of the lesson (synced first). */ lessonSourceId: Scalars['ID']['input']; onBehalfOf: Scalars['ID']['input']; secondsSpent?: InputMaybe; source: BuiExternalSource; /** The source product's own progress (lesson completion) id. */ sourceId: Scalars['ID']['input']; status: BuiProgressStatus; }; export declare enum BuiTutorAdaptiveLevel { Advanced = "ADVANCED", OnTrack = "ON_TRACK", Struggling = "STRUGGLING" } /** The current educator review of an answer, as the learner is shown it. */ export type BuiTutorAnswerReview = { __typename?: 'BuiTutorAnswerReview'; /** Instructor's note to the learner, if any. */ note?: Maybe; reviewedAt: Scalars['DateTime']['output']; /** Reviewer actor id. Only resolved on the educator review surfaces; null for learners. */ reviewedBy?: Maybe; status: BuiTutorReviewStatus; }; /** One entry in the append-only audit trail of educator actions on an answer. */ export type BuiTutorAnswerReviewEntry = { __typename?: 'BuiTutorAnswerReviewEntry'; action: BuiTutorReviewAction; /** Corrected text supplied with a CORRECT action. */ content?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; note?: Maybe; /** Review status before this action; null when the answer was unreviewed. */ previousStatus?: Maybe; reviewerId: Scalars['ID']['output']; }; export type BuiTutorAskInput = { lessonId: Scalars['ID']['input']; question: Scalars['String']['input']; /** * Continue an existing session (must belong to the calling learner — see * `buiTutorAsk` resolver). Omit to start a new session for this lesson. */ sessionId?: InputMaybe; }; export type BuiTutorAskPayload = { __typename?: 'BuiTutorAskPayload'; answer: BuiTutorMessage; session: BuiTutorSession; }; export type BuiTutorMessage = { __typename?: 'BuiTutorMessage'; adaptiveLevel?: Maybe; /** * The text the learner sees. For a CORRECTED answer this is the instructor's * corrected version; for a REDACTED answer it is a localized removal notice. */ content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** * Lesson ids whose content grounded this turn's answer. Always empty for * USER messages. */ groundingLessonIds: Array; id: Scalars['ID']['output']; /** * The model's original answer, kept for audit. Only resolved on the educator * review surfaces (`buiListTutorSessions`, `buiReviewTutorAnswer`); always null * on the learner's own queries so a redacted answer never reaches the learner. */ originalContent?: Maybe; /** * Current educator review (ASSISTANT messages only); null while unreviewed. * Learners use it to show a "reviewed by your instructor" marker. */ review?: Maybe; /** * Append-only history of educator actions on this answer, oldest first. Only * resolved on the educator review surfaces; empty for learners. */ reviewHistory: Array; role: BuiTutorMessageRole; sessionId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum BuiTutorMessageRole { Assistant = "ASSISTANT", User = "USER" } /** An educator action on an AI tutor answer (BOFF-9663). */ export declare enum BuiTutorReviewAction { /** Keep the answer and add a note for the learner (note required). */ Annotate = "ANNOTATE", /** Remove the current review so the learner sees the original answer again. */ Clear = "CLEAR", /** Replace what the learner sees with corrected text (correctedContent required). */ Correct = "CORRECT", /** Hide the answer from the learner (an optional note explains why). */ Redact = "REDACT" } /** Educator review state of an AI tutor answer (BOFF-9663). */ export declare enum BuiTutorReviewStatus { /** The answer stands; the instructor's note is shown alongside it. */ Annotated = "ANNOTATED", /** Learners see the instructor's corrected answer instead of the original. */ Corrected = "CORRECTED", /** Learners see a removal notice instead of the original answer. */ Redacted = "REDACTED" } export type BuiTutorSession = { __typename?: 'BuiTutorSession'; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; learnerId: Scalars['ID']['output']; lessonId: Scalars['ID']['output']; messages: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type BuiTutorSessionConnection = { __typename?: 'BuiTutorSessionConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiUpdateAiSettingsInput = { /** Omit to keep the current value. */ applyToTutor?: InputMaybe; /** * Replaces the saved block-list (max 200 terms, 80 characters each); an empty * list clears it. Omit to keep the current list. */ blockedTerms?: InputMaybe>; }; export type BuiUpdateBadgeInput = { awardOnCourseCompletion?: InputMaybe; /** Pass null to detach the badge from its course (also turns off automatic awarding). */ courseId?: InputMaybe; criteria?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; kind?: InputMaybe; name?: InputMaybe; /** Pass null to detach the badge from its skill. */ skillId?: InputMaybe; }; export type BuiUpdateCatalogConnectorInput = { connectionId: Scalars['ID']['input']; name: Scalars['String']['input']; providerAccountId?: InputMaybe; }; export type BuiUpdateCourseInput = { coverFileId?: InputMaybe; description?: InputMaybe; estimatedHours?: InputMaybe; instructorId?: InputMaybe; isPublic?: InputMaybe; language?: InputMaybe; level?: InputMaybe; skillId?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; }; export type BuiUpdateLearningObjectInput = { /** Pass null to clear. */ attribution?: InputMaybe; /** Pass null to clear. */ description?: InputMaybe; license?: InputMaybe; /** Replaces the whole skill list. */ skillIds?: InputMaybe>; /** Replaces the whole tag list. */ tags?: InputMaybe>; title?: InputMaybe; }; /** Result of checking the saved LRS settings against the LRS. */ export type BuiXapiConnectionCheck = { __typename?: 'BuiXapiConnectionCheck'; /** An authenticated statements request was accepted. */ authenticated: Scalars['Boolean']['output']; httpStatus?: Maybe; message: Scalars['String']['output']; /** The endpoint answered GET /about as an xAPI LRS. */ reachable: Scalars['Boolean']['output']; /** xAPI versions the LRS declares. */ versions: Array; }; export type BuiXapiDeliveryCounts = { __typename?: 'BuiXapiDeliveryCounts'; delivered: Scalars['Int']['output']; failed: Scalars['Int']['output']; pending: Scalars['Int']['output']; stored: Scalars['Int']['output']; }; /** Result of one delivery pass. */ export type BuiXapiDeliveryRun = { __typename?: 'BuiXapiDeliveryRun'; attempted: Scalars['Int']['output']; delivered: Scalars['Int']['output']; failed: Scalars['Int']['output']; message?: Maybe; retrying: Scalars['Int']['output']; /** NOT_CONFIGURED, DISABLED, IDLE, OK, PARTIAL or FAILED. */ status: Scalars['String']['output']; }; /** Delivery state of a recorded statement. */ export declare enum BuiXapiDeliveryStatus { /** Accepted by the LRS. */ Delivered = "DELIVERED", /** Rejected by the LRS, or every retry failed. */ Failed = "FAILED", /** Queued for the LRS. */ Pending = "PENDING", /** Recorded while no LRS was enabled; kept for export and later delivery. */ Stored = "STORED" } /** A course's statements as an xAPI StatementResult JSON document. Decode `contentBase64` and save it as `fileName`. */ export type BuiXapiExport = { __typename?: 'BuiXapiExport'; byteSize: Scalars['Int']['output']; contentBase64: Scalars['String']['output']; fileName: Scalars['String']['output']; mimeType: Scalars['String']['output']; statementCount: Scalars['Int']['output']; }; /** A workspace's LRS settings. The password is never returned. */ export type BuiXapiLrsConfig = { __typename?: 'BuiXapiLrsConfig'; consecutiveFailures: Scalars['Int']['output']; counts: BuiXapiDeliveryCounts; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; /** xAPI base endpoint, e.g. https://lrs.example.com/xapi. */ endpoint: Scalars['String']['output']; hasPassword: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastDeliveryAt?: Maybe; /** OK or FAILED: the outcome of the last delivery attempt. */ lastDeliveryStatus?: Maybe; /** Why the last delivery attempt failed, when it did. */ lastError?: Maybe; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; /** HTTP Basic username (the LRS key). */ username: Scalars['String']['output']; }; export type BuiXapiStatement = { __typename?: 'BuiXapiStatement'; attempts: Scalars['Int']['output']; courseId?: Maybe; deliveredAt?: Maybe; deliveryStatus: BuiXapiDeliveryStatus; /** The xAPI statement id. */ id: Scalars['ID']['output']; lastError?: Maybe; learnerId: Scalars['ID']['output']; objectId: Scalars['ID']['output']; /** COURSE, LESSON or ASSESSMENT. */ objectType: Scalars['String']['output']; /** The full xAPI statement as it is sent to the LRS. */ statement: Scalars['JSON']['output']; timestamp: Scalars['DateTime']['output']; /** registered, launched, progressed, completed, scored, passed or failed. */ verb: Scalars['String']['output']; }; export type BuiXapiStatementConnection = { __typename?: 'BuiXapiStatementConnection'; items: Array; pageInfo: BuiPageInfo; }; export type BuiXapiStatementFilter = { courseId?: InputMaybe; deliveryStatus?: InputMaybe; learnerId?: InputMaybe; }; export type BuildWorkflowCodeInput = { /** The version whose source archive the files are laid over. */ baseVersion: Scalars['String']['input']; /** Store the bundle and create a new version from the build (needs `revision`). */ commit?: InputMaybe; /** Description of the new version. */ description?: InputMaybe; /** The edit-lease session the editor saves from (BOFF-9725); another holder's lease is a CONFLICT. */ editSessionId?: InputMaybe; /** Edited or added project files, given inline. */ files: Array; /** The `revision` of `baseVersion` the editor loaded (BOFF-9725); a changed base is a CONFLICT. */ revision?: InputMaybe; workflowKey: Scalars['String']['input']; }; export type BulkAddItemsInput = { collectionId: Scalars['ID']['input']; fileIds: Array; }; export type BulkAddItemsResponse = { __typename?: 'BulkAddItemsResponse'; addedCount: Scalars['Int']['output']; addedItems: Array; collectionId: Scalars['ID']['output']; errors: Array; failedCount: Scalars['Int']['output']; }; export type BulkAllocationInput = { allocatedHours: Scalars['Float']['input']; endDate: Scalars['DateTime']['input']; notes?: InputMaybe; projectId?: InputMaybe; startDate: Scalars['DateTime']['input']; userId: Scalars['ID']['input']; }; export type BulkAssignTagsInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe; source?: InputMaybe; tagIds: Array; }; /** * Input for assigning many tags to many entities in one round-trip. * Server applies the cartesian product (tagIds × targets). */ export type BulkAssignTagsToEntitiesInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; metadata?: InputMaybe; source?: InputMaybe; tagIds: Array; targets: Array; }; /** Single (entityType, entityId) pair for multi-entity bulk assignment. */ export type BulkAssignTargetInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export declare enum BulkConversationAction { Archive = "ARCHIVE", Delete = "DELETE", Unarchive = "UNARCHIVE" } export type BulkConversationOperationError = { __typename?: 'BulkConversationOperationError'; conversationId: Scalars['ID']['output']; message: Scalars['String']['output']; }; export type BulkConversationOperationInput = { action: BulkConversationAction; conversationIds: Array; }; export type BulkConversationOperationPayload = { __typename?: 'BulkConversationOperationPayload'; conversationIds: Array; errors: Array; failureCount: Scalars['Int']['output']; processedCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; successCount: Scalars['Int']['output']; }; /** * Bulk-create plaintext secrets in a vault. This mutation is gated on * `create:secret` only; it intentionally does NOT support overwriting * existing secrets (duplicates are reported in the `skipped` count of * the result). If a future flow needs an upsert path it should be a * separate mutation gated on both `create:secret` and `update:secret` * so a caller cannot escalate from create-only to update via the * duplicate-key path. (Codex flagged the previous shape on PR #11.) */ export type BulkCreateSecretsInput = { secrets: Array; vaultId: Scalars['ID']['input']; }; export type BulkOperationError = { __typename?: 'BulkOperationError'; actorId?: Maybe; error: Scalars['String']['output']; errorCode?: Maybe; fileId: Scalars['ID']['output']; }; export type BulkOperationFilter = { filter?: InputMaybe; scheduleIds?: InputMaybe>; }; export type BulkRemoveItemsInput = { collectionId: Scalars['ID']['input']; fileIds: Array; }; export type BulkRemoveItemsResponse = { __typename?: 'BulkRemoveItemsResponse'; collectionId: Scalars['ID']['output']; errors: Array; failedCount: Scalars['Int']['output']; removedCount: Scalars['Int']['output']; }; export type BulkSecretInput = { description?: InputMaybe; key: Scalars['String']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; tags?: InputMaybe>; type: SecretType; value: Scalars['String']['input']; }; export type BulkSessionResult = { __typename?: 'BulkSessionResult'; /** Error messages for failed sessions */ errors: Array; /** Number of sessions that failed */ failed: Scalars['Int']['output']; /** Number of sessions successfully processed */ succeeded: Scalars['Int']['output']; }; /** Input for bulk updating comments */ export type BulkUpdateCommentsInput = { commentIds: Array; isPinned?: InputMaybe; status?: InputMaybe; visibility?: InputMaybe; }; /** Per-id outcome of a bulk action, since some ids in the batch may not be owned by the caller. */ export type BulkWorkflowActionResult = { __typename?: 'BulkWorkflowActionResult'; failedIds: Array; succeededIds: Array; }; /** Result of an idempotent user-wide workspace access-token revocation. */ export type BulkWorkspaceTokenRevocationResult = { __typename?: 'BulkWorkspaceTokenRevocationResult'; revokedCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; }; export type Calendar = { __typename?: 'Calendar'; availabilityRules: Array; bookingPages: Array; calendarType: CalendarType; color?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe; events: Array; externalSyncs: Array; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; isPublic: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; ownerGroupId?: Maybe; ownerProjectId?: Maybe; ownerUserId?: Maybe; ownerWorkspaceId?: Maybe; shares: Array; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. */ tags: Scalars['JSON']['output']; timezone?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type CalendarConnection = { __typename?: 'CalendarConnection'; calendars: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; export type CalendarEraseResult = { __typename?: 'CalendarEraseResult'; anonymised: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; notes?: Maybe; purged: Scalars['Int']['output']; retainedForLegalReason?: Maybe; service: Scalars['String']['output']; }; export type CalendarEvent = { __typename?: 'CalendarEvent'; allDay: Scalars['Boolean']['output']; attachments?: Maybe; attendees: Array; bookings: Array; calendar: Calendar; calendarId: Scalars['String']['output']; checkInEnabled?: Maybe; checkInWindowMinutes?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currentAttendeeCount?: Maybe; description?: Maybe; endTime: Scalars['DateTime']['output']; eventType: EventType; externalCalendarId?: Maybe; externalEventId?: Maybe; externalSyncEnabled?: Maybe; id: Scalars['ID']['output']; isRecurring: Scalars['Boolean']['output']; location?: Maybe; locationAddress?: Maybe; locationCoordinates?: Maybe; locationInstructions?: Maybe; locationType?: Maybe; locationUrl?: Maybe; maxAttendees?: Maybe; metadata?: Maybe; onlineMeetingId?: Maybe; onlineMeetingPassword?: Maybe; onlineMeetingProvider?: Maybe; onlineMeetingUrl?: Maybe; promptConfig?: Maybe; promptStatus?: Maybe; recurrenceExceptions?: Maybe>; reminders: Array; requireCheckIn?: Maybe; resourceBookings: Array; rrule?: Maybe; startTime: Scalars['DateTime']['output']; status: CalendarEventStatus; tags?: Maybe>; tagsV2: Scalars['JSON']['output']; timezone?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibility: EventVisibility; waitlistEnabled?: Maybe; workspaceId: Scalars['String']['output']; }; export declare enum CalendarEventStatus { Cancelled = "CANCELLED", Confirmed = "CONFIRMED", Draft = "DRAFT", Tentative = "TENTATIVE" } export declare enum CalendarExecutionStatus { Failure = "FAILURE", Success = "SUCCESS", Timeout = "TIMEOUT" } export declare enum CalendarExportFormat { Csv = "CSV", Json = "JSON" } export type CalendarExportJobResponse = { __typename?: 'CalendarExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CalendarFilterInput = { calendarType?: InputMaybe; isPublic?: InputMaybe; search?: InputMaybe; }; export type CalendarPaginationInput = { limit?: InputMaybe; offset?: InputMaybe; }; export declare enum CalendarPromptStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT", Executing = "EXECUTING", Failed = "FAILED", Scheduled = "SCHEDULED" } export type CalendarResource = { __typename?: 'CalendarResource'; approverUserId?: Maybe; bookings: Array; bufferAfter: Scalars['Int']['output']; bufferBefore: Scalars['Int']['output']; building?: Maybe; calendarId?: Maybe; capacity?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe; features?: Maybe; floor?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; isBookable: Scalars['Boolean']['output']; location?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; requireApproval: Scalars['Boolean']['output']; resourceType: CalendarResourceType; room?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type CalendarResourceBooking = { __typename?: 'CalendarResourceBooking'; approvedAt?: Maybe; approvedBy?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; endTime: Scalars['DateTime']['output']; event?: Maybe; eventId: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; notes?: Maybe; rejectedReason?: Maybe; resource?: Maybe; resourceId: Scalars['String']['output']; startTime: Scalars['DateTime']['output']; status: ResourceBookingStatus; }; export type CalendarResourceBookingConnection = { __typename?: 'CalendarResourceBookingConnection'; bookings: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; export type CalendarResourceConnection = { __typename?: 'CalendarResourceConnection'; hasMore: Scalars['Boolean']['output']; resources: Array; total: Scalars['Int']['output']; }; export declare enum CalendarResourceType { Desk = "DESK", Equipment = "EQUIPMENT", Other = "OTHER", ParkingSpot = "PARKING_SPOT", Room = "ROOM", Vehicle = "VEHICLE" } export type CalendarShare = { __typename?: 'CalendarShare'; calendar: Calendar; calendarId: Scalars['String']['output']; canEdit: Scalars['Boolean']['output']; canManage: Scalars['Boolean']['output']; canView: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; shareToken?: Maybe; sharedBy: Scalars['String']['output']; teamId?: Maybe; tokenType?: Maybe; userId?: Maybe; }; export declare enum CalendarType { Group = "GROUP", Personal = "PERSONAL", Project = "PROJECT", Workspace = "WORKSPACE" } export type CallDurableWorkerSandboxInput = { body?: InputMaybe; bodyEncoding?: InputMaybe; callerSecret: Scalars['String']['input']; contentType?: InputMaybe; context: ContextInput; id: Scalars['ID']['input']; method: DurableWorkerSandboxMethod; /** `/health`, `/bundles/{buildId}`, `/task` or `/build`. */ path: Scalars['String']['input']; timeoutMs?: InputMaybe; }; export type CallParticipant = { __typename?: 'CallParticipant'; connectionQuality: ConnectionQuality; duration?: Maybe; isMuted: Scalars['Boolean']['output']; isScreenSharing: Scalars['Boolean']['output']; isVideoEnabled: Scalars['Boolean']['output']; joinedAt: Scalars['DateTime']['output']; leftAt?: Maybe; userId: Scalars['ID']['output']; }; export declare enum CallParticipantChangeType { Joined = "JOINED", Left = "LEFT", StateChanged = "STATE_CHANGED" } export type CallParticipantChangedPayload = { __typename?: 'CallParticipantChangedPayload'; callSession: CallSession; changeType: CallParticipantChangeType; participant: CallParticipant; }; export type CallPermissions = { __typename?: 'CallPermissions'; canControlScreen: Scalars['Boolean']['output']; canInvite: Scalars['Boolean']['output']; canJoin: Scalars['Boolean']['output']; canRemoveParticipants: Scalars['Boolean']['output']; canShareScreen: Scalars['Boolean']['output']; canStartRecording: Scalars['Boolean']['output']; canStopRecording: Scalars['Boolean']['output']; }; export type CallQualityMetrics = { __typename?: 'CallQualityMetrics'; averageBitrate: Scalars['Int']['output']; jitter: Scalars['Int']['output']; packetLoss: Scalars['Float']['output']; roundTripTime: Scalars['Int']['output']; }; export type CallRecording = { __typename?: 'CallRecording'; duration: Scalars['Int']['output']; id: Scalars['ID']['output']; size: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; startedBy: Scalars['ID']['output']; stoppedAt: Scalars['DateTime']['output']; url: Scalars['String']['output']; }; export type CallSession = { __typename?: 'CallSession'; conversation: Conversation; conversationId: Scalars['ID']['output']; duration?: Maybe; endedAt?: Maybe; id: Scalars['ID']['output']; initiatedBy: Scalars['ID']['output']; isRecorded: Scalars['Boolean']['output']; joinUrl?: Maybe; participants: Array; permissions: CallPermissions; qualityMetrics?: Maybe; recording?: Maybe; roomId: Scalars['String']['output']; settings: CallSettings; sfuProvider: Scalars['String']['output']; startedAt: Scalars['DateTime']['output']; state: CallState; type: CallType; }; export type CallSessionConnection = { __typename?: 'CallSessionConnection'; edges: Array; pageInfo: PageInfo; totalCount?: Maybe; }; export type CallSessionEdge = { __typename?: 'CallSessionEdge'; cursor: Scalars['String']['output']; node: CallSession; }; export type CallSettings = { __typename?: 'CallSettings'; allowRecording: Scalars['Boolean']['output']; allowScreenShare: Scalars['Boolean']['output']; knockToJoinEnabled: Scalars['Boolean']['output']; maxParticipants: Scalars['Int']['output']; recordingMode: RecordingMode; waitingRoomEnabled: Scalars['Boolean']['output']; }; export type CallSettingsInput = { allowRecording?: InputMaybe; allowScreenShare?: InputMaybe; knockToJoinEnabled?: InputMaybe; maxParticipants?: InputMaybe; recordingMode?: InputMaybe; waitingRoomEnabled?: InputMaybe; }; export declare enum CallState { Active = "ACTIVE", Cancelled = "CANCELLED", Ended = "ENDED", Failed = "FAILED", Idle = "IDLE", Ringing = "RINGING" } export declare enum CallType { Audio = "AUDIO", ScreenShare = "SCREEN_SHARE", ScreenShareWithControl = "SCREEN_SHARE_WITH_CONTROL", Video = "VIDEO" } /** Input for canceling a scheduled comment */ export type CancelScheduledCommentInput = { scheduleId: Scalars['ID']['input']; }; export type CapacityOverview = { __typename?: 'CapacityOverview'; allocatedCapacity: Scalars['Float']['output']; availableCapacity: Scalars['Float']['output']; overallocatedUsers: Array; totalCapacity: Scalars['Float']['output']; utilizationRate: Scalars['Float']['output']; }; export type CaptureEpodInput = { completionAttestation?: InputMaybe; context?: InputMaybe; deliveryJobId: Scalars['ID']['input']; expectedShipmentStatusRevision?: InputMaybe; latitude?: InputMaybe; locationAccuracy?: InputMaybe; longitude?: InputMaybe; notes?: InputMaybe; photoFileIds?: InputMaybe>; recipientName: Scalars['String']['input']; signatureData: Scalars['String']['input']; signatureType: SignatureType; }; export type CargoItemFilterInput = { category?: InputMaybe; search?: InputMaybe; sku?: InputMaybe; }; export type CartItem = { __typename?: 'CartItem'; id: Scalars['ID']['output']; price: Scalars['Float']['output']; productId: Scalars['String']['output']; productName: Scalars['String']['output']; quantity: Scalars['Float']['output']; seller: Scalars['String']['output']; unit: Scalars['String']['output']; }; export type CatalogFilterInput = { /** Filter by operation context */ context?: InputMaybe; /** Full-text search on name and description */ search?: InputMaybe; /** Filter by tags (hasSome) */ tags?: InputMaybe>; /** Filter by visibility level */ visibility?: InputMaybe; }; /** Outcome of refreshing a registry row from its catalog manifest (BOFF-9458). */ export declare enum CatalogNodeSyncStatus { /** The manifest failed validation; see reason. */ InvalidManifest = "INVALID_MANIFEST", /** No global STORE row exists for this node version. The sync never creates one. */ NotRegistered = "NOT_REGISTERED", /** The row was already written from this exact manifest; nothing changed. */ Unchanged = "UNCHANGED", /** The row now matches the catalog manifest. */ Updated = "UPDATED" } /** Catalog visibility levels. */ export declare enum CatalogVisibility { Internal = "INTERNAL", Private = "PRIVATE", Public = "PUBLIC" } export type CertificateOfOrigin = { __typename?: 'CertificateOfOrigin'; certificateNumber: Scalars['String']['output']; /** Certification ids evidencing the organic claim. */ certificationIds: Array; consigneeName?: Maybe; declaration: Scalars['String']['output']; destinationCountry?: Maybe; exporterName: Scalars['String']['output']; /** Set once the rendered PDF has been saved to wspace-files-svc. */ fileId?: Maybe; fileName?: Maybe; hsCode?: Maybe; id: Scalars['ID']['output']; issuedDate: Scalars['String']['output']; originCountry: Scalars['String']['output']; originRegion?: Maybe; productDescription: Scalars['String']['output']; quantity: Scalars['Float']['output']; /** DRAFT | ISSUED | REVOKED */ status: Scalars['String']['output']; traceBatchId: Scalars['ID']['output']; unit: Scalars['String']['output']; }; /** The certificate rendered as a PDF, base64-encoded for transport. */ export type CertificateOfOriginPdf = { __typename?: 'CertificateOfOriginPdf'; certificateNumber: Scalars['String']['output']; contentType: Scalars['String']['output']; fileName: Scalars['String']['output']; id: Scalars['ID']['output']; pdfBase64: Scalars['String']['output']; }; export type Certification = { __typename?: 'Certification'; body: Scalars['String']['output']; /** Whole days until expiry; negative once expired. */ daysToExpiry: Scalars['Int']['output']; /** True within 90 days of expiry — drives the amber warning. */ expiringSoon: Scalars['Boolean']['output']; expiryDate: Scalars['String']['output']; /** The ICS group this certificate covers, for group certification. */ icsGroupId?: Maybe; id: Scalars['ID']['output']; issueDate: Scalars['String']['output']; name: Scalars['String']['output']; renewalStartedAt?: Maybe; scope: Array; /** Workflow stage, distinct from `status`: NOT_STARTED | IN_PROGRESS | CERTIFIED */ stage: Scalars['String']['output']; /** Free-text display label. `standardCode` is the structured discriminator driving the checklist. */ standard: Scalars['String']['output']; /** NPOP | GLOBALGAP | EUDR | FAIRTRADE | USDA_NOP | EU_ORGANIC | OTHER */ standardCode?: Maybe; status: Scalars['String']['output']; }; /** A materialised checklist entry on a specific certification. */ export type CertificationChecklistItem = { __typename?: 'CertificationChecklistItem'; code: Scalars['String']['output']; completedAt?: Maybe; description?: Maybe; /** ComplianceDocument satisfying this item, if any. */ documentId?: Maybe; /** The HbEudrStatement satisfying a GEO item. Null on every DOCUMENT item. */ evidenceRefId?: Maybe; /** * DOCUMENT | GEO — what KIND of evidence clears this item. * * DOCUMENT (every item but one) is satisfied by attaching a ComplianceDocument. GEO is * satisfied by linking an HbEudrStatement that already carries plot geometry, so an * operator does not re-upload coordinates the app derived from a field boundary. */ evidenceType: Scalars['String']['output']; /** Geometry read off the linked statement. Null until one is linked. */ geoEvidence?: Maybe; id: Scalars['ID']['output']; label: Scalars['String']['output']; orderIndex: Scalars['Int']['output']; required: Scalars['Boolean']['output']; /** MISSING | UPLOADED | UNDER_REVIEW | APPROVED | REJECTED | NOT_APPLICABLE */ status: Scalars['String']['output']; }; /** A certification with its checklist, linked documents and real completion percentage. */ export type CertificationDetail = { __typename?: 'CertificationDetail'; approvedCount: Scalars['Int']['output']; certification: Certification; checklistItems: Array; documents: Array; missingCount: Scalars['Int']['output']; /** Approved required items ÷ required items, as a percentage. */ progressPercent: Scalars['Int']['output']; requiredCount: Scalars['Int']['output']; /** Null when the certification carries no structured standard code. */ standard?: Maybe; }; /** A certification plus its computed checklist progress, for the standards row on the dashboard. */ export type CertificationStandardProgress = { __typename?: 'CertificationStandardProgress'; body: Scalars['String']['output']; checklistApproved: Scalars['Int']['output']; checklistTotal: Scalars['Int']['output']; daysToExpiry: Scalars['Int']['output']; expiringSoon: Scalars['Boolean']['output']; expiryDate: Scalars['String']['output']; icsGroupId?: Maybe; id: Scalars['ID']['output']; issueDate: Scalars['String']['output']; name: Scalars['String']['output']; progressPercent: Scalars['Int']['output']; renewalStartedAt?: Maybe; scope: Array; /** NOT_STARTED | IN_PROGRESS | CERTIFIED */ stage: Scalars['String']['output']; standard: Scalars['String']['output']; standardCode?: Maybe; status: Scalars['String']['output']; }; /** A certification standard and the checklist it demands. Reference data, identical for every workspace. */ export type CertificationStandardTemplate = { __typename?: 'CertificationStandardTemplate'; /** NPOP | GLOBALGAP | EUDR | FAIRTRADE | USDA_NOP | EU_ORGANIC | OTHER */ code: Scalars['String']['output']; description: Scalars['String']['output']; fullName: Scalars['String']['output']; issuerHint: Scalars['String']['output']; items: Array; name: Scalars['String']['output']; }; /** One required document / control point of a certification standard. */ export type CertificationStandardTemplateItem = { __typename?: 'CertificationStandardTemplateItem'; code: Scalars['String']['output']; description: Scalars['String']['output']; label: Scalars['String']['output']; orderIndex: Scalars['Int']['output']; /** Whether the item counts toward the completion percentage. */ required: Scalars['Boolean']['output']; }; /** Filter for querying change logs */ export type ChangeLogFilterInput = { changeType?: InputMaybe; changedBy?: InputMaybe; endDate?: InputMaybe; entityId?: InputMaybe; entityType?: InputMaybe; startDate?: InputMaybe; }; export type ChangeRequest = { __typename?: 'ChangeRequest'; affectedAssets: Array; approvals: Array; assignedTo?: Maybe; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; requestedBy: Scalars['String']['output']; risk: ChangeRisk; scheduledEnd?: Maybe; scheduledStart?: Maybe; status: ChangeStatus; title: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ChangeRisk { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum ChangeStatus { Approved = "APPROVED", Completed = "COMPLETED", Draft = "DRAFT", InProgress = "IN_PROGRESS", Rejected = "REJECTED", Submitted = "SUBMITTED" } /** Attachment from external channel platform */ export type ChannelAttachmentInput = { /** Filename of the attachment */ filename: Scalars['String']['input']; /** MIME type of the attachment */ mimeType?: InputMaybe; /** Size in bytes */ size?: InputMaybe; /** URL of the attachment */ url: Scalars['String']['input']; }; export type ChannelBreakdown = { __typename?: 'ChannelBreakdown'; /** CSA_SUBSCRIPTION | WHOLESALE | FARMERS_MARKET | DIRECT */ channel: Scalars['String']['output']; orderCount: Scalars['Int']['output']; revenue: Scalars['Float']['output']; }; export type ChannelConnector = { __typename?: 'ChannelConnector'; bucketId?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; credentialsRefId?: Maybe; defaultPolicyBindings?: Maybe; description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; revision: Scalars['Int']['output']; status: EntityStatus; tags: Array; type: ChannelType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: Visibility; workspaceId: Scalars['ID']['output']; }; export type ChannelConnectorFilterInput = { bucketId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; /** Status of channel message processing */ export declare enum ChannelMessageStatus { /** Message was successfully created */ Created = "CREATED", /** Message already exists (duplicate) */ Duplicate = "DUPLICATE", /** Processing error occurred */ Error = "ERROR" } /** Supported channel platforms */ export declare enum ChannelPlatform { /** Discord server */ Discord = "DISCORD", /** Email */ Email = "EMAIL", /** Slack workspace */ Slack = "SLACK", /** SMS */ Sms = "SMS", /** Microsoft Teams */ Teams = "TEAMS", /** WhatsApp Business */ Whatsapp = "WHATSAPP" } export type ChannelRoute = { __typename?: 'ChannelRoute'; appId: Scalars['ID']['output']; connectorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; formatPolicyId?: Maybe; id: Scalars['ID']['output']; locationId: Scalars['String']['output']; metadata?: Maybe; policyBindings?: Maybe; revision: Scalars['Int']['output']; routingOverrides?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ChannelRouteFilterInput = { appId?: InputMaybe; connectorId?: InputMaybe; workspaceId?: InputMaybe; }; /** Sender information from external channel platform */ export type ChannelSenderInput = { /** Avatar URL of the sender */ avatarUrl?: InputMaybe; /** Display name of the sender */ displayName: Scalars['String']['input']; /** Platform-specific user ID */ externalId: Scalars['String']['input']; }; export declare enum ChannelType { Custom = "CUSTOM", Discord = "DISCORD", Email = "EMAIL", Slack = "SLACK", Sms = "SMS", Teams = "TEAMS", Webhook = "WEBHOOK", WebWidget = "WEB_WIDGET", Whatsapp = "WHATSAPP" } export type ChatResponse = { __typename?: 'ChatResponse'; conversationId?: Maybe; executionId: Scalars['ID']['output']; message: Scalars['String']['output']; model?: Maybe; sources: Array; tokensUsed?: Maybe; }; export type ChatWithAgentInput = { agentId: Scalars['ID']['input']; conversationId?: InputMaybe; /** * Optional LLM API key injected by workflow credential adapters. * When provided, this key takes priority over the agent's configured * provider credentials (connectionId, credentialsHash, env fallback). */ llmApiKey?: InputMaybe; message: Scalars['String']['input']; }; export type CheckInAssetByTagInput = { /** * Client-generated idempotency key (BOFF-3952). The field app's offline queue * sends one per queued scan; replaying the same key returns the original * custody record instead of applying the action twice. Max 128 characters. */ clientMutationId?: InputMaybe; notes?: InputMaybe; /** * When the scan physically happened on the device. Set by the offline queue * so a scan captured without network keeps its real field time. Must not be * in the future. Defaults to the server time of the request. */ scannedAt?: InputMaybe; tagId: Scalars['String']['input']; }; export type CheckInAssetInput = { assignmentId: Scalars['ID']['input']; notes?: InputMaybe; }; export declare enum CheckInStatus { CheckedIn = "CHECKED_IN", CheckedOut = "CHECKED_OUT", NotCheckedIn = "NOT_CHECKED_IN", NoShow = "NO_SHOW" } export type CheckOutAssetByTagInput = { /** Free-text person identifier / email of the person receiving the asset. */ assignedTo: Scalars['String']['input']; /** * Client-generated idempotency key (BOFF-3952). The field app's offline queue * sends one per queued scan; replaying the same key returns the original * custody record instead of applying the action twice. Max 128 characters. */ clientMutationId?: InputMaybe; dueAt?: InputMaybe; notes?: InputMaybe; /** * When the scan physically happened on the device. Set by the offline queue * so a scan captured without network keeps its real field time. Must not be * in the future. Defaults to the server time of the request. */ scannedAt?: InputMaybe; tagId: Scalars['String']['input']; }; export type CheckOutAssetInput = { assetId: Scalars['ID']['input']; /** Free-text person identifier / email of the person receiving the asset. */ assignedTo: Scalars['String']['input']; dueAt?: InputMaybe; notes?: InputMaybe; }; /** The plot geometry standing behind a satisfied GEO requirement. */ export type ChecklistGeoEvidence = { __typename?: 'ChecklistGeoEvidence'; /** Whether the statement carries a real polygon, or only a centroid. */ boundaryDefined: Scalars['Boolean']['output']; latitude?: Maybe; longitude?: Maybe; plotAreaHa?: Maybe; }; export type CheckoutGgnomadCartInput = { /** BOFF-4378 — charge the order in this currency (ISO 4217). Lines priced in other currencies are converted at the latest published FX rates and the rates are stored on the order and its bookings. Required when the cart mixes currencies; defaults to the cart's single currency. */ currency?: InputMaybe; /** Deprecated: send traveler instead. */ guestEmail?: InputMaybe; /** Deprecated: send traveler instead. */ guestName?: InputMaybe; /** Deprecated: send traveler instead. */ guestPhone?: InputMaybe; /** BOFF-3936 — required with traveler; must be one the workspace accepts. */ paymentMethod?: InputMaybe; /** BOFF-4376 — loyalty points to redeem toward this checkout's total (discount calculation only; see redeemGgnomadLoyaltyPoints). */ redeemPoints?: InputMaybe; specialRequests?: InputMaybe; /** BOFF-3936 — the primary traveler. Required by current clients; when omitted, the legacy guestName fields are used and no order record is written. */ traveler?: InputMaybe; }; export type CheckoutGgnomadTripPlanInput = { /** BOFF-4378 — charge the order in this currency (ISO 4217); see CheckoutGgnomadCartInput.currency. */ currency?: InputMaybe; paymentMethod: GgnomadPaymentMethod; /** Loyalty points to redeem toward this order (see redeemGgnomadLoyaltyPoints). */ redeemPoints?: InputMaybe; specialRequests?: InputMaybe; traveler: GgnomadTravelerInput; }; export declare enum ChunkingMethod { Code = "CODE", Custom = "CUSTOM", Fixed = "FIXED", Markdown = "MARKDOWN", Recursive = "RECURSIVE", Semantic = "SEMANTIC" } export type CircuitBreakerInput = { enabled: Scalars['Boolean']['input']; failureThreshold: Scalars['Int']['input']; halfOpenTimeout: Scalars['Int']['input']; timeout: Scalars['Int']['input']; }; export type CircuitBreakerState = { __typename?: 'CircuitBreakerState'; config: Scalars['JSON']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; failureCount: Scalars['Int']['output']; halfOpenAt?: Maybe; id: Scalars['ID']['output']; lastFailureAt?: Maybe; lastSuccessAt?: Maybe; metadata?: Maybe; openedAt?: Maybe; scope: Scalars['String']['output']; scopeValue: Scalars['String']['output']; state: CircuitState; successCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum CircuitState { Closed = "CLOSED", HalfOpen = "HALF_OPEN", Open = "OPEN" } export type CleanupExecutedEvent = { __typename?: 'CleanupExecutedEvent'; deletedFiles: Scalars['Int']['output']; deletedFolders: Scalars['Int']['output']; freedSpace: Scalars['Float']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ClientPortalConfig = { __typename?: 'ClientPortalConfig'; clientName: Scalars['String']['output']; contactEmail?: Maybe; contactPhone?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; logoUrl?: Maybe; onBehalfOf?: Maybe; permissions?: Maybe; projects: Array; settings?: Maybe; shareToken?: Maybe; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ClientPortalConfigProjectsArgs = { pagination?: InputMaybe; }; export type ClientPortalConfigListResponse = { __typename?: 'ClientPortalConfigListResponse'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type ClientPortalStats = { __typename?: 'ClientPortalStats'; activeClients: Scalars['Int']['output']; totalClients: Scalars['Int']['output']; totalProjectsShared: Scalars['Int']['output']; }; export type CloseMtwContainerCycleInput = { cycleId: Scalars['ID']['input']; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; }; /** * The uploaded bundle a version runs. `exports` must equal the definition's `code.exports`, and * `buildId` and `language` its `code.buildId` and `code.language`. */ export type CodeBundleInput = { buildId: Scalars['String']['input']; /** isolate for typescript; worker for python (Phase C). Any other pair is refused. */ determinism: Scalars['String']['input']; /** Entry module, relative to the project root. */ entry: Scalars['String']['input']; exports: Scalars['JSON']['input']; /** typescript, or python with fluidgrids.python-durable-functions (Phase C). */ language: Scalars['String']['input']; /** The `@fluidgrids/workflows` version that built the bundle. */ sdkVersion: Scalars['String']['input']; uploadId: Scalars['ID']['input']; }; /** * What a workflow_code_replacements job is (spec code-first 06 §4, 11 §2.27): a hotfix of a version's * bundle, the check that activates a version while AUTO_UPGRADE runs are open, the check that moves * one run to another bundle for a versioning override, or the check of a rollout's raised percent. */ export declare enum CodeReplaceKind { Activation = "ACTIVATION", Hotfix = "HOTFIX", /** Raising a rollout's percent: in-flight AUTO_UPGRADE runs of the new buckets replay against its target first. */ Rollout = "ROLLOUT", RunOverride = "RUN_OVERRIDE" } /** The state of a hotfix that replaces a version's code bundle. */ export declare enum CodeReplaceStatus { Pending = "PENDING", Rejected = "REJECTED", Replaced = "REPLACED", Verifying = "VERIFYING" } /** Determinism violations in the window (a run is counted once, at its first violation). */ export type CodeWorkflowDeterminism = { __typename?: 'CodeWorkflowDeterminism'; openViolatingRuns: Scalars['Int']['output']; /** Most violating runs first, capped at input.limit. */ topWorkflows: Array; violatingRuns: Scalars['Int']['output']; }; /** * The Insights "Code workflows" panel (gap G21, spec code-first 09 §5). Worker availability is * taskQueueAvailability. */ export type CodeWorkflowInsights = { __typename?: 'CodeWorkflowInsights'; determinism: CodeWorkflowDeterminism; endDate: Scalars['DateTime']['output']; replay: CodeWorkflowReplayCost; /** Graph runs, code workflows and standalone activities started in the window, in that order. */ runsByKind: Array; startDate: Scalars['DateTime']['output']; }; export type CodeWorkflowInsightsInput = { /** Defaults to now. The window is at most 90 days. */ endDate?: InputMaybe; /** Caps the per-workflow rankings. Default 5, at most 20. */ limit?: InputMaybe; /** Defaults to 30 days before endDate. */ startDate?: InputMaybe; }; /** * What replaying code workflows cost in the window. Every workflow task replays the run's history from * the start, so the cost of a task is the history it was handed and the time it took. */ export type CodeWorkflowReplayCost = { __typename?: 'CodeWorkflowReplayCost'; /** Null when no task completed. */ avgEventsPerTask?: Maybe; /** Average task duration in milliseconds; null when no task completed. */ avgTaskDurationMs?: Maybe; /** History events handed to the completed tasks to replay. */ eventsReplayed: Scalars['Float']['output']; /** Workflow tasks whose attempt failed (the first attempt of each failure streak). */ failedWorkflowTasks: Scalars['Int']['output']; /** The longest history among the code runs with events in the window. */ maxHistoryLength: Scalars['Int']['output']; /** 95th percentile task duration in milliseconds; null when no task completed. */ p95TaskDurationMs?: Maybe; /** Workflow tasks whose attempt timed out (the first attempt of each failure streak). */ timedOutWorkflowTasks: Scalars['Int']['output']; /** The workflows that replayed the most events, most first, capped at input.limit. */ topWorkflows: Array; /** Workflow tasks completed in the window. */ workflowTasks: Scalars['Int']['output']; }; /** The replay cost of one workflow's code runs in the window. */ export type CodeWorkflowReplayWorkflowStat = { __typename?: 'CodeWorkflowReplayWorkflowStat'; /** Average time from a task's start to its completion, in milliseconds. */ avgTaskDurationMs?: Maybe; /** History events handed to those tasks to replay. */ eventsReplayed: Scalars['Float']['output']; name?: Maybe; workflowKey: Scalars['String']['output']; /** Workflow tasks completed in the window. */ workflowTasks: Scalars['Int']['output']; }; export type Cohort = { __typename?: 'Cohort'; createdAt: Scalars['DateTime']['output']; createdBy: User; criteria?: Maybe; description?: Maybe; id: Scalars['ID']['output']; lastUpdated: Scalars['DateTime']['output']; memberCount: Scalars['Int']['output']; name: Scalars['String']['output']; type: CohortType; updatedAt: Scalars['DateTime']['output']; userIds: Array; workspaceId: Scalars['ID']['output']; }; export type CohortMember = { __typename?: 'CohortMember'; addedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; }; export type CohortMembersResult = { __typename?: 'CohortMembersResult'; hasMore: Scalars['Boolean']['output']; members: Array; total: Scalars['Int']['output']; }; export declare enum CohortType { Dynamic = "DYNAMIC", Static = "STATIC" } /** * Answer to one story prompt (BOFF-4164) — saved as a real ColStory, so the * interview session produces the exact same durable record as `colCreateStory`. */ export type ColAnswerStoryPromptInput = { narrator?: InputMaybe; personId?: InputMaybe; promptId: Scalars['ID']['input']; /** The family member's answer — becomes the resulting ColStory's `body`. */ response: Scalars['String']['input']; treeId: Scalars['ID']['input']; visibility?: InputMaybe; }; /** * Append-only ledger entry for one preview call — audit/cost visibility, * mirrors LabAgentRun/AthAgentRun's ledger pattern. */ export type ColAssistantSuggestion = { __typename?: 'ColAssistantSuggestion'; createdAt: Scalars['DateTime']['output']; error?: Maybe; id: Scalars['ID']['output']; kind: ColAssistantSuggestionKind; model: Scalars['String']['output']; provider: Scalars['String']['output']; sourceMemoryId?: Maybe; sourceStoryId?: Maybe; status: ColAssistantSuggestionStatus; suggestions: Array; treeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ColAssistantSuggestionConnection = { __typename?: 'ColAssistantSuggestionConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColAssistantSuggestionKind { FollowupQuestions = "FOLLOWUP_QUESTIONS", PhotoCaption = "PHOTO_CAPTION" } /** * Result of one live preview call. `available: false` is the honest, * clearly-labeled degraded state — no LLM provider key configured in this * environment, or the call failed — and always carries an empty * `suggestions` list plus a human-readable `message` explaining why, rather * than pretending to have an answer. */ export type ColAssistantSuggestionResult = { __typename?: 'ColAssistantSuggestionResult'; available: Scalars['Boolean']['output']; kind: ColAssistantSuggestionKind; message?: Maybe; model?: Maybe; provider?: Maybe; suggestions: Array; }; export declare enum ColAssistantSuggestionStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum ColCertainty { Confirmed = "CONFIRMED", Disputed = "DISPUTED", Probable = "PROBABLE", Unverified = "UNVERIFIED" } export type ColCreateEventInput = { date: Scalars['DateTime']['input']; description?: InputMaybe; isApproximate?: InputMaybe; personId?: InputMaybe; place?: InputMaybe; title: Scalars['String']['input']; treeId: Scalars['ID']['input']; type?: InputMaybe; }; export type ColCreateFamilyTreeInput = { coverFileId?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; surname?: InputMaybe; tags?: InputMaybe>; }; export type ColCreateMemoryInput = { description?: InputMaybe; fileId?: InputMaybe; kind?: InputMaybe; personId?: InputMaybe; place?: InputMaybe; tags?: InputMaybe>; takenAt?: InputMaybe; title: Scalars['String']['input']; treeId: Scalars['ID']['input']; visibility?: InputMaybe; }; export type ColCreatePersonInput = { bio?: InputMaybe; birthDate?: InputMaybe; birthPlace?: InputMaybe; deathDate?: InputMaybe; familyName?: InputMaybe; gender?: InputMaybe; givenName: Scalars['String']['input']; lifeStatus?: InputMaybe; linkedUserId?: InputMaybe; maidenName?: InputMaybe; nickname?: InputMaybe; photoFileId?: InputMaybe; tags?: InputMaybe>; treeId: Scalars['ID']['input']; }; export type ColCreateRelationshipInput = { certainty?: InputMaybe; endDate?: InputMaybe; fromPersonId: Scalars['ID']['input']; notes?: InputMaybe; startDate?: InputMaybe; toPersonId: Scalars['ID']['input']; treeId: Scalars['ID']['input']; type: ColRelationshipType; }; export type ColCreateStoryInput = { body?: InputMaybe; format?: InputMaybe; narrator?: InputMaybe; personId?: InputMaybe; recordingFileId?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; treeId: Scalars['ID']['input']; visibility?: InputMaybe; }; export type ColEvent = { __typename?: 'ColEvent'; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isApproximate: Scalars['Boolean']['output']; personId?: Maybe; place?: Maybe; title: Scalars['String']['output']; treeId: Scalars['ID']['output']; type: ColEventType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColEventConnection = { __typename?: 'ColEventConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColEventType { Birth = "BIRTH", Death = "DEATH", Divorce = "DIVORCE", Education = "EDUCATION", Immigration = "IMMIGRATION", Marriage = "MARRIAGE", Milestone = "MILESTONE", Military = "MILITARY", Other = "OTHER", Residence = "RESIDENCE" } export type ColFamilyTree = { __typename?: 'ColFamilyTree'; /** * Per-tree opt-in for the weekly autonomous AI digest (BOFF-3783 consent * gate). Default OFF pre-launch — the scheduled Kin Intelligence loop skips * any tree that has not explicitly asked for it. Editable by tree * OWNER/STEWARD via colUpdateFamilyTree. */ aiDigestEnabled: Scalars['Boolean']['output']; /** Cover image — references a wspace-files-svc File (blobs live there). */ coverFile?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; memberships: ColMembershipConnection; name: Scalars['String']['output']; people: ColPersonConnection; status: ColTreeStatus; surname?: Maybe; /** Structured tag assignments via wspace-tags-svc (BOFF-3563). */ tagAssignments: Array; /** @deprecated Use tagAssignments for structured tag data via wspace-tags-svc */ tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColFamilyTreeMembershipsArgs = { pagination?: InputMaybe; }; export type ColFamilyTreePeopleArgs = { pagination?: InputMaybe; }; export type ColFamilyTreeConnection = { __typename?: 'ColFamilyTreeConnection'; items: Array; pageInfo: ColPageInfo; }; /** Tag assignment for a family tree. */ export type ColFamilyTreeTagAssignment = { __typename?: 'ColFamilyTreeTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type ColFileGuardianRequestInput = { details: Scalars['String']['input']; personId: Scalars['ID']['input']; requestType: ColGuardianRequestType; /** * Required when targetKind is MEMORY or STORY — the specific memory/story * this request is about. Must be null when targetKind is PERSON. */ targetEntityId?: InputMaybe; targetKind?: InputMaybe; treeId: Scalars['ID']['input']; }; export type ColGedcomExport = { __typename?: 'ColGedcomExport'; /** * Echoes the `excludeLivingSensitive` flag that was actually applied to this * export, so the caller never has to guess whether birth date/place for * living relatives was left out. */ excludedLivingSensitive: Scalars['Boolean']['output']; personsExported: Scalars['Int']['output']; relationshipsExported: Scalars['Int']['output']; text: Scalars['String']['output']; }; export type ColGedcomImportResult = { __typename?: 'ColGedcomImportResult'; familiesProcessed: Scalars['Int']['output']; personsImported: Scalars['Int']['output']; relationshipsImported: Scalars['Int']['output']; /** * Non-fatal issues encountered while parsing (approximate dates that were * skipped, family pointers that didn't resolve, …) — the import still * completed for everything else. */ warnings: Array; }; export declare enum ColGender { Female = "FEMALE", Male = "MALE", Other = "OTHER", Unknown = "UNKNOWN" } export type ColGenerateKeepsakeBookInput = { /** * Scope the book to one person's chapter (their bio, stories, memories, * timeline) instead of the whole tree. */ personId?: InputMaybe; /** * Defaults to " Family Keepsake Book" (or the tree name if no * surname is set) when omitted. */ title?: InputMaybe; treeId: Scalars['ID']['input']; }; export type ColGetFamilyTreeTagsInput = { entityId: Scalars['ID']['input']; }; export type ColGetMemoryTagsInput = { entityId: Scalars['ID']['input']; }; export type ColGetPersonTagsInput = { entityId: Scalars['ID']['input']; }; export type ColGetStoryTagsInput = { entityId: Scalars['ID']['input']; }; /** * A guardian's correction/removal request for a minor (or other dependent * relative)'s data — DPDP Act children's-data rights. Filed by a verified * guardian or a tree OWNER/STEWARD on the guardian's behalf; reviewed and * resolved by a tree OWNER/STEWARD. */ export type ColGuardianRequest = { __typename?: 'ColGuardianRequest'; createdAt: Scalars['DateTime']['output']; details: Scalars['String']['output']; id: Scalars['ID']['output']; person?: Maybe; personId: Scalars['ID']['output']; requestType: ColGuardianRequestType; requestedByUserId: Scalars['ID']['output']; resolutionNotes?: Maybe; resolvedAt?: Maybe; resolvedByUserId?: Maybe; status: ColGuardianRequestStatus; targetEntityId?: Maybe; targetKind: ColGuardianRequestTargetKind; treeId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColGuardianRequestConnection = { __typename?: 'ColGuardianRequestConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColGuardianRequestDecision { Approve = "APPROVE", Reject = "REJECT" } export declare enum ColGuardianRequestStatus { Approved = "APPROVED", Completed = "COMPLETED", Pending = "PENDING", Rejected = "REJECTED" } export declare enum ColGuardianRequestTargetKind { Memory = "MEMORY", Person = "PERSON", Story = "STORY" } export declare enum ColGuardianRequestType { Correction = "CORRECTION", Removal = "REMOVAL" } export type ColInviteMemberInput = { memberUserId: Scalars['ID']['input']; personId?: InputMaybe; role?: InputMaybe; treeId: Scalars['ID']['input']; }; export type ColKeepsakeBook = { __typename?: 'ColKeepsakeBook'; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; eventCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; memoryCount: Scalars['Int']['output']; pageCount: Scalars['Int']['output']; personId?: Maybe; status: ColKeepsakeBookStatus; storyCount: Scalars['Int']['output']; title: Scalars['String']['output']; treeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ColKeepsakeBookConnection = { __typename?: 'ColKeepsakeBookConnection'; items: Array; pageInfo: ColPageInfo; }; /** * The rendered PDF itself. Always re-rendered fresh from the tree's CURRENT * data at request time (same pattern as GovCitizenHub's permit PDF) — a book's * metadata row records what was true when it was generated, but downloading it * later reflects any content added or edited since. */ export type ColKeepsakeBookPdfDocument = { __typename?: 'ColKeepsakeBookPdfDocument'; bookId: Scalars['ID']['output']; filename: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; pdfBase64: Scalars['String']['output']; }; export declare enum ColKeepsakeBookStatus { Failed = "FAILED", Ready = "READY" } export declare enum ColLifeStatus { Deceased = "DECEASED", Living = "LIVING", Unknown = "UNKNOWN" } export type ColLineage = { __typename?: 'ColLineage'; generations: Array; }; export type ColLineageGeneration = { __typename?: 'ColLineageGeneration'; /** * Generational distance from the anchor person: 1 = direct parent/child, * 2 = grandparent/grandchild, and so on. */ depth: Scalars['Int']['output']; people: Array; }; export declare enum ColMemberRole { Contributor = "CONTRIBUTOR", Owner = "OWNER", Steward = "STEWARD", Viewer = "VIEWER" } export type ColMembership = { __typename?: 'ColMembership'; acceptedAt?: Maybe; /** * Per-member preference for the weekly autonomous AI digest (BOFF-3783). * The loop only notifies members whose tree opted in (aiDigestEnabled), whose * membership is ACTIVE, and who have not muted themselves here. A member may * change this on their own membership; admins may change it for any member. */ aiDigestNotifications: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; invitedAt: Scalars['DateTime']['output']; invitedById?: Maybe; memberUserId: Scalars['ID']['output']; personId?: Maybe; role: ColMemberRole; status: ColMembershipStatus; treeId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColMembershipConnection = { __typename?: 'ColMembershipConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColMembershipStatus { Active = "ACTIVE", Declined = "DECLINED", Invited = "INVITED", Removed = "REMOVED" } export type ColMemory = { __typename?: 'ColMemory'; createdAt: Scalars['DateTime']['output']; description?: Maybe; /** The media itself — references a wspace-files-svc File (blobs live there). */ file?: Maybe; id: Scalars['ID']['output']; kind: ColMemoryKind; personId?: Maybe; place?: Maybe; /** Structured tag assignments via wspace-tags-svc (BOFF-3563). */ tagAssignments: Array; /** @deprecated Use tagAssignments for structured tag data via wspace-tags-svc */ tags: Array; takenAt?: Maybe; title: Scalars['String']['output']; treeId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; visibility: ColVisibility; workspaceId: Scalars['ID']['output']; }; export type ColMemoryConnection = { __typename?: 'ColMemoryConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColMemoryKind { Artifact = "ARTIFACT", Audio = "AUDIO", Document = "DOCUMENT", Photo = "PHOTO", Video = "VIDEO" } /** Tag assignment for a memory. */ export type ColMemoryTagAssignment = { __typename?: 'ColMemoryTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type ColPageInfo = { __typename?: 'ColPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type ColPerson = { __typename?: 'ColPerson'; bio?: Maybe; birthDate?: Maybe; birthPlace?: Maybe; createdAt: Scalars['DateTime']['output']; deathDate?: Maybe; familyName?: Maybe; gender: ColGender; givenName: Scalars['String']['output']; id: Scalars['ID']['output']; lifeStatus: ColLifeStatus; linkedUserId?: Maybe; maidenName?: Maybe; nickname?: Maybe; /** Portrait photo — references a wspace-files-svc File. */ photoFile?: Maybe; relationships: ColRelationshipConnection; /** Structured tag assignments via wspace-tags-svc (BOFF-3563). */ tagAssignments: Array; /** @deprecated Use tagAssignments for structured tag data via wspace-tags-svc */ tags: Array; treeId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColPersonRelationshipsArgs = { pagination?: InputMaybe; }; export type ColPersonConnection = { __typename?: 'ColPersonConnection'; items: Array; pageInfo: ColPageInfo; }; /** Tag assignment for a person. */ export type ColPersonTagAssignment = { __typename?: 'ColPersonTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; /** One actor's live presence entry on a tree (read via colTreePresence). */ export type ColPresenceEntry = { __typename?: 'ColPresenceEntry'; actorId: Scalars['ID']['output']; lastSeenAt: Scalars['DateTime']['output']; typing: Scalars['Boolean']['output']; }; /** * Thin presence/typing change on one family tree. The subscriber re-reads * `colTreePresence(treeId:)` for the live list — this event is a trigger, * never the list itself. */ export type ColPresenceEvent = { __typename?: 'ColPresenceEvent'; actorId: Scalars['ID']['output']; at: Scalars['DateTime']['output']; kind: ColPresenceEventKind; treeId: Scalars['ID']['output']; }; export declare enum ColPresenceEventKind { Joined = "JOINED", Left = "LEFT", StoppedTyping = "STOPPED_TYPING", Typing = "TYPING" } export declare enum ColPromptCategory { CareerAndWork = "CAREER_AND_WORK", Childhood = "CHILDHOOD", ComingOfAge = "COMING_OF_AGE", ElderWisdom = "ELDER_WISDOM", HardshipAndResilience = "HARDSHIP_AND_RESILIENCE", LegacyAndReflection = "LEGACY_AND_REFLECTION", LoveAndMarriage = "LOVE_AND_MARRIAGE", MigrationAndHome = "MIGRATION_AND_HOME", Parenthood = "PARENTHOOD", TraditionAndCulture = "TRADITION_AND_CULTURE" } export declare enum ColPromptRelationshipType { Any = "ANY", Child = "CHILD", ExtendedRelative = "EXTENDED_RELATIVE", Grandparent = "GRANDPARENT", Parent = "PARENT", Sibling = "SIBLING", Spouse = "SPOUSE" } export type ColRelationship = { __typename?: 'ColRelationship'; certainty: ColCertainty; createdAt: Scalars['DateTime']['output']; endDate?: Maybe; fromPerson?: Maybe; fromPersonId: Scalars['ID']['output']; id: Scalars['ID']['output']; notes?: Maybe; startDate?: Maybe; toPerson?: Maybe; toPersonId: Scalars['ID']['output']; treeId: Scalars['ID']['output']; type: ColRelationshipType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ColRelationshipConnection = { __typename?: 'ColRelationshipConnection'; items: Array; pageInfo: ColPageInfo; }; export type ColRelationshipPath = { __typename?: 'ColRelationshipPath'; /** * A common English kinship term for well-known short relationship patterns * (aunt/uncle, niece/nephew, first cousin, in-laws, …) — null when the path * doesn't match one of the handled short patterns. `description` is still a * correct, real answer in that case; this is a bonus label, not the primary * result. */ commonTerm?: Maybe; /** * A composed, possessive-chain description of the path, e.g. * "Bob is Alice's grandmother's brother's daughter." Present whenever a path * was found. */ description?: Maybe; found: Scalars['Boolean']['output']; /** * Number of relationship edges on the shortest path found (0 when the two * ids are the same person). Null when no path exists. */ hops?: Maybe; path: Array; }; export type ColRelationshipPathHop = { __typename?: 'ColRelationshipPathHop'; person: ColPerson; /** * How this person relates to the PREVIOUS person in the path — e.g. * "mother", "brother", "daughter". Null for the first/starting person. */ termFromPrevious?: Maybe; }; export declare enum ColRelationshipType { Child = "CHILD", Grandchild = "GRANDCHILD", Grandparent = "GRANDPARENT", Guardian = "GUARDIAN", Parent = "PARENT", Partner = "PARTNER", Sibling = "SIBLING", Spouse = "SPOUSE" } export type ColReplaceFamilyTreeTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array; }; export type ColReplaceMemoryTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array; }; export type ColReplacePersonTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array; }; export type ColReplaceStoryTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array; }; export type ColStory = { __typename?: 'ColStory'; body?: Maybe; createdAt: Scalars['DateTime']['output']; format: ColStoryFormat; id: Scalars['ID']['output']; narrator?: Maybe; personId?: Maybe; /** Recorded audio/video — references a wspace-files-svc File. */ recordingFile?: Maybe; /** Structured tag assignments via wspace-tags-svc (BOFF-3563). */ tagAssignments: Array; /** @deprecated Use tagAssignments for structured tag data via wspace-tags-svc */ tags: Array; title: Scalars['String']['output']; treeId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; visibility: ColVisibility; workspaceId: Scalars['ID']['output']; }; export type ColStoryConnection = { __typename?: 'ColStoryConnection'; items: Array; pageInfo: ColPageInfo; }; export declare enum ColStoryFormat { Audio = "AUDIO", Video = "VIDEO", Written = "WRITTEN" } /** * A guided interview question from Collabkin's curated story-prompt library * (BOFF-4164). Static, hand-written content — never AI-generated. Not a * federated entity: the library lives in code, not the database. */ export type ColStoryPrompt = { __typename?: 'ColStoryPrompt'; category: ColPromptCategory; helperText?: Maybe; id: Scalars['ID']['output']; question: Scalars['String']['output']; relationshipTypes: Array; }; /** Tag assignment for a story. */ export type ColStoryTagAssignment = { __typename?: 'ColStoryTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type ColSuggestFollowupQuestionsInput = { storyId: Scalars['ID']['input']; }; export type ColSuggestPhotoCaptionInput = { memoryId: Scalars['ID']['input']; }; export type ColTagFamilyTreeInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; validFrom?: InputMaybe; validTo?: InputMaybe; }; export type ColTagMemoryInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; validFrom?: InputMaybe; validTo?: InputMaybe; }; export type ColTagPersonInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; validFrom?: InputMaybe; validTo?: InputMaybe; }; export type ColTagStoryInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; validFrom?: InputMaybe; validTo?: InputMaybe; }; /** * Thin real-time change on one family tree. Deliberately carries no record * payload — re-read `colPerson(id)`, `colListRelationships(treeId:)` etc. * under the subscriber's own permissions when an event arrives. */ export type ColTreeEvent = { __typename?: 'ColTreeEvent'; actorId: Scalars['ID']['output']; at: Scalars['DateTime']['output']; /** Names of the fields that changed. Empty for CREATED/DELETED. */ changedFields: Array; entityType: ColTreeEventEntityType; id: Scalars['ID']['output']; kind: ColTreeEventKind; treeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** * The collabkin entity a colOnTreeChanged event refers to. `id` names that * entity (equal to `treeId` for FAMILY_TREE events); `treeId` is always the * owning family tree. */ export declare enum ColTreeEventEntityType { Event = "EVENT", FamilyTree = "FAMILY_TREE", Membership = "MEMBERSHIP", Memory = "MEMORY", Person = "PERSON", Relationship = "RELATIONSHIP", Story = "STORY" } export declare enum ColTreeEventKind { Created = "CREATED", Deleted = "DELETED", Updated = "UPDATED" } export declare enum ColTreeStatus { Active = "ACTIVE", Archived = "ARCHIVED" } export type ColUntagFamilyTreeInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type ColUntagMemoryInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type ColUntagPersonInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type ColUntagStoryInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; /** * Partial edit of a timeline event (BOFF-3972). Omitted fields are left * unchanged; an explicit null clears personId, description or place. */ export type ColUpdateEventInput = { date?: InputMaybe; description?: InputMaybe; isApproximate?: InputMaybe; personId?: InputMaybe; place?: InputMaybe; title?: InputMaybe; type?: InputMaybe; }; export type ColUpdateFamilyTreeInput = { aiDigestEnabled?: InputMaybe; coverFileId?: InputMaybe; description?: InputMaybe; name?: InputMaybe; surname?: InputMaybe; tags?: InputMaybe>; }; /** * Change a family-circle member's tree role and/or linked Person (BOFF-3972). * Omitted fields are left unchanged; an explicit null personId unlinks the * member from their Person record. `aiDigestNotifications` is the member's * weekly AI-digest preference (BOFF-3783): admins may set it for any member, * and a member may set it on their OWN membership without holding a tree role * (the service rejects a non-admin trying to change anything else). */ export type ColUpdateMembershipInput = { aiDigestNotifications?: InputMaybe; personId?: InputMaybe; role?: InputMaybe; }; export type ColUpdateMemoryInput = { description?: InputMaybe; fileId?: InputMaybe; kind?: InputMaybe; personId?: InputMaybe; place?: InputMaybe; tags?: InputMaybe>; takenAt?: InputMaybe; title?: InputMaybe; visibility?: InputMaybe; }; export type ColUpdatePersonInput = { bio?: InputMaybe; birthDate?: InputMaybe; birthPlace?: InputMaybe; deathDate?: InputMaybe; familyName?: InputMaybe; gender?: InputMaybe; givenName?: InputMaybe; lifeStatus?: InputMaybe; linkedUserId?: InputMaybe; maidenName?: InputMaybe; nickname?: InputMaybe; photoFileId?: InputMaybe; tags?: InputMaybe>; }; /** * Partial edit of a relationship (BOFF-3972). The two endpoints are immutable — * re-pointing an edge at different people is a new relationship (delete + * create). Omitted fields are left unchanged; an explicit null clears * startDate, endDate or notes. */ export type ColUpdateRelationshipInput = { certainty?: InputMaybe; endDate?: InputMaybe; notes?: InputMaybe; startDate?: InputMaybe; type?: InputMaybe; }; /** * Partial edit of a story (BOFF-3972). Omitted fields are left unchanged; an * explicit null clears personId, body, recordingFileId or narrator. Re-linking `personId` to a LIVING relative without an explicit * `visibility` tightens the stored visibility (never loosens it). */ export type ColUpdateStoryInput = { body?: InputMaybe; format?: InputMaybe; narrator?: InputMaybe; personId?: InputMaybe; recordingFileId?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; visibility?: InputMaybe; }; export declare enum ColVisibility { Private = "PRIVATE", Stewards = "STEWARDS", Tree = "TREE" } /** Role of a collaborator in a shared session */ export declare enum CollaboratorRole { /** Can take control when granted (INTERACT permission) */ Editor = "EDITOR", /** Session creator/owner - always has full control */ Owner = "OWNER", /** View-only access */ Viewer = "VIEWER" } export type CollectHealthyBowlCsaPickupBoxInput = { context: ContextInput; /** The box being handed over. */ csaDeliveryId: Scalars['ID']['input']; /** Replaces the box's notes, if given. */ notes?: InputMaybe; }; export type Collection = { __typename?: 'Collection'; canAddItems: Scalars['Boolean']['output']; canDelete: Scalars['Boolean']['output']; canEdit: Scalars['Boolean']['output']; canRemoveItems: Scalars['Boolean']['output']; canShare: Scalars['Boolean']['output']; color?: Maybe; coverImage?: Maybe; coverImageId?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: User; createdById: Scalars['ID']['output']; criteria?: Maybe; description?: Maybe; icon?: Maybe; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items: Array; name: Scalars['String']['output']; shareCount: Scalars['Int']['output']; sharedWith: Array; totalSize: Scalars['BigInt']['output']; type: CollectionType; updatedAt: Scalars['DateTime']['output']; visibility: CollectionVisibility; workspace: Workspace; workspaceId: Scalars['ID']['output']; }; export type CollectionActivity = { __typename?: 'CollectionActivity'; collectionId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: CollectionActivityType; user: User; userId: Scalars['ID']['output']; }; export declare enum CollectionActivityType { Created = "CREATED", Deleted = "DELETED", ItemAdded = "ITEM_ADDED", ItemRemoved = "ITEM_REMOVED", PermissionChanged = "PERMISSION_CHANGED", Shared = "SHARED", Unshared = "UNSHARED", Updated = "UPDATED" } export type CollectionFilterInput = { createdById?: InputMaybe; hasItems?: InputMaybe; search?: InputMaybe; type?: InputMaybe; visibility?: InputMaybe; }; export type CollectionItem = { __typename?: 'CollectionItem'; addedAt: Scalars['DateTime']['output']; addedBy: User; addedById: Scalars['ID']['output']; canRemove: Scalars['Boolean']['output']; collection: Collection; collectionId: Scalars['ID']['output']; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; note?: Maybe; order: Scalars['Int']['output']; }; export type CollectionItemFilterInput = { addedAfter?: InputMaybe; addedBefore?: InputMaybe; addedById?: InputMaybe; fileType?: InputMaybe; maxSize?: InputMaybe; minSize?: InputMaybe; }; export type CollectionItemList = { __typename?: 'CollectionItemList'; hasMore: Scalars['Boolean']['output']; items: Array; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum CollectionItemSortField { AddedAt = "ADDED_AT", CreatedAt = "CREATED_AT", FileSize = "FILE_SIZE", FileType = "FILE_TYPE", Name = "NAME" } export type CollectionItemSortInput = { field: CollectionItemSortField; order: SortOrder; }; export type CollectionList = { __typename?: 'CollectionList'; collections: Array; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type CollectionShare = { __typename?: 'CollectionShare'; accessCount: Scalars['Int']['output']; canAddItems: Scalars['Boolean']['output']; canEdit: Scalars['Boolean']['output']; canRemoveItems: Scalars['Boolean']['output']; canShare: Scalars['Boolean']['output']; canView: Scalars['Boolean']['output']; collection: Collection; collectionId: Scalars['ID']['output']; email?: Maybe; expiresAt?: Maybe; id: Scalars['ID']['output']; lastAccessedAt?: Maybe; sharedAt: Scalars['DateTime']['output']; sharedBy: User; sharedById: Scalars['ID']['output']; user?: Maybe; userId?: Maybe; }; export declare enum CollectionSortField { CreatedAt = "CREATED_AT", ItemCount = "ITEM_COUNT", Name = "NAME", Type = "TYPE", UpdatedAt = "UPDATED_AT" } export type CollectionSortInput = { field: CollectionSortField; order: SortOrder; }; export type CollectionStats = { __typename?: 'CollectionStats'; collectionId: Scalars['ID']['output']; fileTypeBreakdown: Array; itemCount: Scalars['Int']['output']; recentActivity: Array; topContributors: Array; totalSize: Scalars['BigInt']['output']; }; export declare enum CollectionType { Manual = "MANUAL", Shared = "SHARED", Smart = "SMART", Template = "TEMPLATE" } export declare enum CollectionVisibility { Custom = "CUSTOM", Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } export type ComAnalyticsChannel = { __typename?: 'ComAnalyticsChannel'; channelId: Scalars['ID']['output']; comments: Scalars['Int']['output']; name: Scalars['String']['output']; posts: Scalars['Int']['output']; reactions: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type ComAnalyticsContributor = { __typename?: 'ComAnalyticsContributor'; comments: Scalars['Int']['output']; memberId: Scalars['ID']['output']; posts: Scalars['Int']['output']; reactions: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type ComAnalyticsDailyPoint = { __typename?: 'ComAnalyticsDailyPoint'; activeMembers: Scalars['Int']['output']; comments: Scalars['Int']['output']; /** UTC day, formatted YYYY-MM-DD. */ date: Scalars['String']['output']; interactions: Scalars['Int']['output']; newMembers: Scalars['Int']['output']; posts: Scalars['Int']['output']; reactions: Scalars['Int']['output']; }; export declare enum ComAnalyticsPeriod { Last_7Days = "LAST_7_DAYS", Last_30Days = "LAST_30_DAYS", Last_90Days = "LAST_90_DAYS" } export declare enum ComAnalyticsReportCadence { Monthly = "MONTHLY", Weekly = "WEEKLY" } export type ComAnalyticsReportDispatch = { __typename?: 'ComAnalyticsReportDispatch'; body: Scalars['String']['output']; emailDelivered: Scalars['Boolean']['output']; inAppDelivered: Scalars['Boolean']['output']; /** The minute bucket of this send (the rate-limit key). */ periodKey: Scalars['String']['output']; subscriptionId: Scalars['ID']['output']; title: Scalars['String']['output']; }; export type ComAnalyticsSubscription = { __typename?: 'ComAnalyticsSubscription'; /** Insight codes that raise an alert (WARNING insights only). */ alertCodes: Array; /** Digest cadence; null when the subscription only carries alerts. */ cadence?: Maybe; /** Set for CIRCLE subscriptions. */ circleId?: Maybe; circleName?: Maybe; createdAt: Scalars['DateTime']['output']; /** The caller's account address the digest and alerts are also emailed to; null for in-app only. */ emailAddress?: Maybe; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastAlertAt?: Maybe; lastDigestAt?: Maybe; /** Period of the last digest sent, e.g. 2026-W45 or 2026-10. */ lastDigestPeriod?: Maybe; nextAlertCheckAt?: Maybe; nextDigestAt?: Maybe; pausedReason?: Maybe; scope: ComAnalyticsSubscriptionScope; updatedAt: Scalars['DateTime']['output']; }; export declare enum ComAnalyticsSubscriptionPauseReason { /** The subscriber no longer owns, admins or moderates the circle. */ AccessLost = "ACCESS_LOST", /** The circle was archived or deleted. */ CircleUnavailable = "CIRCLE_UNAVAILABLE" } export declare enum ComAnalyticsSubscriptionScope { Circle = "CIRCLE", Portfolio = "PORTFOLIO" } export type ComAwardBadgeInput = { badgeId: Scalars['ID']['input']; memberId: Scalars['ID']['input']; reason?: InputMaybe; }; export type ComBadge = { __typename?: 'ComBadge'; action?: Maybe; awardedCount: Scalars['Int']['output']; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; criteria: ComBadgeCriteria; description?: Maybe; /** Icon key: award, star, trophy, pen, message, calendar, heart, flame, zap, users, vote, medal. */ icon: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; threshold?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum ComBadgeCriteria { /** Earned automatically after performing an action a number of times. */ ActionCount = "ACTION_COUNT", /** Awarded by an organizer, or by completing a challenge that grants it. */ Manual = "MANUAL", /** Earned automatically at a points threshold. */ Points = "POINTS" } export declare enum ComBillingInterval { Monthly = "MONTHLY", Yearly = "YEARLY" } export type ComChallenge = { __typename?: 'ComChallenge'; action: ComGamificationAction; badge?: Maybe; badgeId?: Maybe; circleId: Scalars['ID']['output']; completedCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; endsAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** The calling member's progress; null before their first counted action. */ myProgress?: Maybe; participantCount: Scalars['Int']['output']; phase: ComChallengePhase; pointsReward: Scalars['Int']['output']; startsAt: Scalars['DateTime']['output']; status: ComChallengeStatus; targetCount: Scalars['Int']['output']; title: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ComChallengePhase { Active = "ACTIVE", Cancelled = "CANCELLED", Ended = "ENDED", Upcoming = "UPCOMING" } export type ComChallengeProgress = { __typename?: 'ComChallengeProgress'; completed: Scalars['Boolean']['output']; completedAt?: Maybe; count: Scalars['Int']['output']; }; export declare enum ComChallengeStatus { Active = "ACTIVE", Cancelled = "CANCELLED" } export type ComChannel = { __typename?: 'ComChannel'; circle?: Maybe; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isArchived: Scalars['Boolean']['output']; name: Scalars['String']['output']; position: Scalars['Int']['output']; slug: Scalars['String']['output']; type: ComChannelType; updatedAt: Scalars['DateTime']['output']; visibility: ComChannelVisibility; workspaceId: Scalars['ID']['output']; }; export type ComChannelConnection = { __typename?: 'ComChannelConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComChannelType { Announcement = "ANNOUNCEMENT", Forum = "FORUM", Text = "TEXT", Voice = "VOICE" } export declare enum ComChannelVisibility { Circle = "CIRCLE", Private = "PRIVATE" } export type ComCircle = { __typename?: 'ComCircle'; /** Reference to a wspace-files-svc File for the circle avatar. */ avatar?: Maybe; channels: ComChannelConnection; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; memberCount: Scalars['Int']['output']; memberships: ComMembershipConnection; name: Scalars['String']['output']; slug: Scalars['String']['output']; status: ComCircleStatus; tags: Array; topic?: Maybe; updatedAt: Scalars['DateTime']['output']; visibility: ComCircleVisibility; workspaceId: Scalars['ID']['output']; }; export type ComCircleChannelsArgs = { pagination?: InputMaybe; }; export type ComCircleMembershipsArgs = { pagination?: InputMaybe; }; export type ComCircleActivitySummary = { __typename?: 'ComCircleActivitySummary'; activeMembers: Scalars['Int']['output']; newMembers: Scalars['Int']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; summaryText: Scalars['String']['output']; totalComments: Scalars['Int']['output']; totalPosts: Scalars['Int']['output']; verdictCounts: Array; }; export type ComCircleAnalytics = { __typename?: 'ComCircleAnalytics'; activationRate: Scalars['Float']['output']; activeMembers: Scalars['Int']['output']; circleId: Scalars['ID']['output']; circleName: Scalars['String']['output']; comments: Scalars['Int']['output']; daily: Array; generatedAt: Scalars['DateTime']['output']; health: ComCommunityHealth; insights: Array; interactions: Scalars['Int']['output']; interactionsChange?: Maybe; leftMembers: Scalars['Int']['output']; newMembers: Scalars['Int']['output']; period: ComAnalyticsPeriod; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; posts: Scalars['Int']['output']; previousActiveMembers: Scalars['Int']['output']; previousInteractions: Scalars['Int']['output']; reactions: Scalars['Int']['output']; retainedMembers: Scalars['Int']['output']; retentionRate?: Maybe; topChannels: Array; topContributors: Array; totalMembers: Scalars['Int']['output']; }; export type ComCircleAnalyticsSummary = { __typename?: 'ComCircleAnalyticsSummary'; activationRate: Scalars['Float']['output']; activeMembers: Scalars['Int']['output']; circleId: Scalars['ID']['output']; circleName: Scalars['String']['output']; health: ComCommunityHealth; insights: Array; interactions: Scalars['Int']['output']; interactionsChange?: Maybe; leftMembers: Scalars['Int']['output']; newMembers: Scalars['Int']['output']; previousInteractions: Scalars['Int']['output']; retentionRate?: Maybe; totalMembers: Scalars['Int']['output']; }; export type ComCircleConnection = { __typename?: 'ComCircleConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComCircleStatus { Active = "ACTIVE", Archived = "ARCHIVED", Suspended = "SUSPENDED" } export declare enum ComCircleVisibility { Private = "PRIVATE", Public = "PUBLIC", Secret = "SECRET" } export type ComComment = { __typename?: 'ComComment'; author?: Maybe; authorId: Scalars['ID']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isHidden: Scalars['Boolean']['output']; parentId?: Maybe; postId: Scalars['ID']['output']; reactionCount: Scalars['Int']['output']; reactions: ComReactionConnection; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComCommentReactionsArgs = { pagination?: InputMaybe; }; export type ComCommentConnection = { __typename?: 'ComCommentConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComCommunityAnalytics = { __typename?: 'ComCommunityAnalytics'; /** Distinct members active in any organized circle (a member active in two circles counts once). */ activeMembers: Scalars['Int']['output']; circleCount: Scalars['Int']['output']; circles: Array; generatedAt: Scalars['DateTime']['output']; interactions: Scalars['Int']['output']; interactionsChange?: Maybe; /** Distinct members who first joined one of the organized circles in the period. */ newMembers: Scalars['Int']['output']; period: ComAnalyticsPeriod; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; previousInteractions: Scalars['Int']['output']; /** Distinct members across the organized circles (a member of two circles counts once). */ totalMembers: Scalars['Int']['output']; }; export type ComCommunityHealth = { __typename?: 'ComCommunityHealth'; /** 0-100 composite of activation, retention, growth and engagement trend. */ score: Scalars['Int']['output']; status: ComCommunityHealthStatus; }; export declare enum ComCommunityHealthStatus { AtRisk = "AT_RISK", Dormant = "DORMANT", Steady = "STEADY", Thriving = "THRIVING" } export type ComCommunityInsight = { __typename?: 'ComCommunityInsight'; code: ComInsightCode; /** Set for member-specific insights such as TOP_CONTRIBUTOR. */ memberId?: Maybe; severity: ComInsightSeverity; /** The headline number behind the insight (a ratio for rates, a count otherwise). */ value?: Maybe; }; export type ComCompleteLiveStreamRecordingInput = { /** Length of the recorded media in seconds, as measured by the recorder. */ durationSeconds: Scalars['Int']['input']; /** * wspace-files-svc File id of the uploaded media. Must be an ACTIVE audio or * video file in this workspace uploaded by the stream host. */ fileId: Scalars['ID']['input']; recordingId: Scalars['ID']['input']; }; export type ComCourse = { __typename?: 'ComCourse'; author?: Maybe; authorId: Scalars['ID']['output']; circle?: Maybe; circleId: Scalars['ID']['output']; coverFile?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; enrollmentCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lessonCount: Scalars['Int']['output']; /** * Ordered modules with their ordered lessons (outline only — lesson content is * served by comCourseLesson). */ modules: Array; publishedAt?: Maybe; status: ComCourseStatus; summary?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** True when the caller is an ADMIN or OWNER of the course's circle. */ viewerCanEdit: Scalars['Boolean']['output']; /** The caller's enrollment in this course, if any (including DROPPED). */ viewerEnrollment?: Maybe; workspaceId: Scalars['ID']['output']; }; /** A member's certificate of completing a course. */ export type ComCourseCertificate = { __typename?: 'ComCourseCertificate'; circleId: Scalars['ID']['output']; /** Public verification code, formatted XXXX-XXXX-XXXX-XXXX. */ code: Scalars['String']['output']; /** The course, while the caller can still see it (null once archived or hidden). */ course?: Maybe; courseId: Scalars['ID']['output']; /** The course title as it was when the certificate was issued. */ courseTitle: Scalars['String']['output']; enrollmentId: Scalars['ID']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; member?: Maybe; memberId: Scalars['ID']['output']; }; export type ComCourseCertificateConnection = { __typename?: 'ComCourseCertificateConnection'; items: Array; pageInfo: ComPageInfo; }; /** What anyone can learn about a certificate from its verification code. */ export type ComCourseCertificateVerification = { __typename?: 'ComCourseCertificateVerification'; /** The circle that ran the course, for PUBLIC circles only. */ circleName?: Maybe; code: Scalars['String']['output']; courseTitle: Scalars['String']['output']; issuedAt: Scalars['DateTime']['output']; /** The member's display name; null when their profile keeps it private. */ recipientName?: Maybe; }; export type ComCourseConnection = { __typename?: 'ComCourseConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComCourseEnrollment = { __typename?: 'ComCourseEnrollment'; /** * The completion certificate, issued the first time this enrollment * completed. Never revoked by later progress changes. */ certificate?: Maybe; completedAt?: Maybe; completedLessonCount: Scalars['Int']['output']; course?: Maybe; courseId: Scalars['ID']['output']; enrolledAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastActivityAt: Scalars['DateTime']['output']; lastLessonId?: Maybe; member?: Maybe; memberId: Scalars['ID']['output']; /** Completed live lessons as a whole-number percentage of the course's lessons. */ progressPercent: Scalars['Int']['output']; status: ComCourseEnrollmentStatus; }; export type ComCourseEnrollmentConnection = { __typename?: 'ComCourseEnrollmentConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComCourseEnrollmentStatus { Active = "ACTIVE", Completed = "COMPLETED", Dropped = "DROPPED" } /** A lesson as it appears in the course outline. */ export type ComCourseLesson = { __typename?: 'ComCourseLesson'; courseId: Scalars['ID']['output']; durationMinutes?: Maybe; id: Scalars['ID']['output']; moduleId: Scalars['ID']['output']; position: Scalars['Int']['output']; title: Scalars['String']['output']; type: ComCourseLessonType; /** True when the caller has completed this lesson. */ viewerCompleted: Scalars['Boolean']['output']; }; /** A lesson with its content, for the course player and the lesson editor. */ export type ComCourseLessonContent = { __typename?: 'ComCourseLessonContent'; /** Plain-text / Markdown body. Clients must render it as text, never as HTML. */ body?: Maybe; courseId: Scalars['ID']['output']; durationMinutes?: Maybe; file?: Maybe; id: Scalars['ID']['output']; moduleId: Scalars['ID']['output']; nextLessonId?: Maybe; position: Scalars['Int']['output']; /** Previous / next lesson in course order (across modules), for navigation. */ previousLessonId?: Maybe; /** * QUIZ lessons: the quiz. Option correct flags and explanations are returned * to the circle's organizers only. */ quiz?: Maybe; title: Scalars['String']['output']; type: ComCourseLessonType; videoUrl?: Maybe; viewerCompleted: Scalars['Boolean']['output']; /** QUIZ lessons: the caller's attempts summary. */ viewerQuiz?: Maybe; }; export declare enum ComCourseLessonType { File = "FILE", Quiz = "QUIZ", Text = "TEXT", Video = "VIDEO" } export type ComCourseModule = { __typename?: 'ComCourseModule'; courseId: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; lessons: Array; position: Scalars['Int']['output']; title: Scalars['String']['output']; }; export type ComCourseQuiz = { __typename?: 'ComCourseQuiz'; /** Attempts allowed per member; null means unlimited. */ maxAttempts?: Maybe; /** Whole-number percentage of questions that must be right to pass. */ passMarkPercent: Scalars['Int']['output']; questionCount: Scalars['Int']['output']; questions: Array; /** When true the lesson (and so the course) completes only by passing. */ requiredToComplete: Scalars['Boolean']['output']; }; export type ComCourseQuizAnswer = { __typename?: 'ComCourseQuizAnswer'; optionIds: Array; questionId: Scalars['ID']['output']; }; export type ComCourseQuizAnswerInput = { optionIds: Array; questionId: Scalars['ID']['input']; }; /** One graded submission of a quiz by the calling member. */ export type ComCourseQuizAttempt = { __typename?: 'ComCourseQuizAttempt'; answers: Array; attemptNumber: Scalars['Int']['output']; attemptedAt: Scalars['DateTime']['output']; correctCount: Scalars['Int']['output']; courseId: Scalars['ID']['output']; id: Scalars['ID']['output']; lessonId: Scalars['ID']['output']; passMarkPercent: Scalars['Int']['output']; passed: Scalars['Boolean']['output']; questionCount: Scalars['Int']['output']; results: Array; scorePercent: Scalars['Int']['output']; }; export type ComCourseQuizInput = { maxAttempts?: InputMaybe; passMarkPercent: Scalars['Int']['input']; questions: Array; requiredToComplete?: InputMaybe; }; export type ComCourseQuizOption = { __typename?: 'ComCourseQuizOption'; /** Organizers only — always null for members. */ correct?: Maybe; id: Scalars['ID']['output']; label: Scalars['String']['output']; }; export type ComCourseQuizOptionInput = { correct: Scalars['Boolean']['input']; /** Keep an existing option's id when editing; omit for a new option. */ id?: InputMaybe; label: Scalars['String']['input']; }; export type ComCourseQuizQuestion = { __typename?: 'ComCourseQuizQuestion'; /** Organizers only; members see it on their graded attempt. */ explanation?: Maybe; id: Scalars['ID']['output']; kind: ComCourseQuizQuestionKind; options: Array; prompt: Scalars['String']['output']; }; export type ComCourseQuizQuestionInput = { explanation?: InputMaybe; /** Keep an existing question's id when editing; omit for a new question. */ id?: InputMaybe; kind: ComCourseQuizQuestionKind; options: Array; prompt: Scalars['String']['input']; }; export declare enum ComCourseQuizQuestionKind { /** One or more options are correct; the member must pick exactly those. */ MultipleChoice = "MULTIPLE_CHOICE", /** Exactly one option is correct; the member picks one. */ SingleChoice = "SINGLE_CHOICE" } export type ComCourseQuizQuestionResult = { __typename?: 'ComCourseQuizQuestionResult'; correct: Scalars['Boolean']['output']; explanation?: Maybe; questionId: Scalars['ID']['output']; }; export type ComCourseQuizSubmission = { __typename?: 'ComCourseQuizSubmission'; attempt: ComCourseQuizAttempt; /** null means unlimited. */ attemptsRemaining?: Maybe; /** The member's enrollment after grading (a pass completes the lesson). */ enrollment: ComCourseEnrollment; }; export type ComCourseQuizViewerState = { __typename?: 'ComCourseQuizViewerState'; /** null means unlimited. */ attemptsRemaining?: Maybe; attemptsUsed: Scalars['Int']['output']; bestScorePercent?: Maybe; lastAttempt?: Maybe; passed: Scalars['Boolean']['output']; }; export declare enum ComCourseStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type ComCreateBadgeInput = { /** Required for ACTION_COUNT. */ action?: InputMaybe; circleId: Scalars['ID']['input']; criteria: ComBadgeCriteria; description?: InputMaybe; icon?: InputMaybe; name: Scalars['String']['input']; /** Required for POINTS and ACTION_COUNT. */ threshold?: InputMaybe; }; export type ComCreateChallengeInput = { action: ComGamificationAction; badgeId?: InputMaybe; circleId: Scalars['ID']['input']; description?: InputMaybe; endsAt: Scalars['DateTime']['input']; pointsReward?: InputMaybe; startsAt: Scalars['DateTime']['input']; targetCount: Scalars['Int']['input']; title: Scalars['String']['input']; }; export type ComCreateChannelInput = { circleId: Scalars['ID']['input']; description?: InputMaybe; name: Scalars['String']['input']; position?: InputMaybe; slug: Scalars['String']['input']; type?: InputMaybe; visibility?: InputMaybe; }; export type ComCreateCircleInput = { avatarFileId?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; slug: Scalars['String']['input']; tags?: InputMaybe>; topic?: InputMaybe; visibility?: InputMaybe; }; export type ComCreateCommentInput = { body: Scalars['String']['input']; parentId?: InputMaybe; postId: Scalars['ID']['input']; }; export type ComCreateCourseInput = { circleId: Scalars['ID']['input']; coverFileId?: InputMaybe; description?: InputMaybe; summary?: InputMaybe; title: Scalars['String']['input']; }; export type ComCreateCourseLessonInput = { body?: InputMaybe; durationMinutes?: InputMaybe; fileId?: InputMaybe; moduleId: Scalars['ID']['input']; /** Required for QUIZ lessons, ignored otherwise. */ quiz?: InputMaybe; title: Scalars['String']['input']; type?: InputMaybe; videoUrl?: InputMaybe; }; export type ComCreateCourseModuleInput = { courseId: Scalars['ID']['input']; description?: InputMaybe; title: Scalars['String']['input']; }; export type ComCreateDigitalProductInput = { currency?: InputMaybe; description?: InputMaybe; fileId?: InputMaybe; priceAmount: Scalars['Float']['input']; productType?: InputMaybe; title: Scalars['String']['input']; }; export type ComCreateEventInput = { capacity?: InputMaybe; circleId: Scalars['ID']['input']; description?: InputMaybe; endsAt?: InputMaybe; joinUrl?: InputMaybe; location?: InputMaybe; mode?: InputMaybe; startsAt: Scalars['DateTime']['input']; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type ComCreateMembershipTierInput = { billingInterval?: InputMaybe; circleId?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; perks?: InputMaybe>; priceAmount: Scalars['Float']['input']; }; export type ComCreatePaidEventInput = { capacity?: InputMaybe; circleId?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; priceAmount: Scalars['Float']['input']; startsAt?: InputMaybe; title: Scalars['String']['input']; }; export type ComCreatePollInput = { allowMultiple?: InputMaybe; circleId: Scalars['ID']['input']; closesAt?: InputMaybe; isAnonymous?: InputMaybe; options: Array; question: Scalars['String']['input']; }; export type ComCreatePostInput = { attachmentFileIds?: InputMaybe>; body: Scalars['String']['input']; channelId: Scalars['ID']['input']; status?: InputMaybe; tags?: InputMaybe>; }; export type ComCreatorMembershipTier = { __typename?: 'ComCreatorMembershipTier'; billingInterval: ComBillingInterval; circleId?: Maybe; createdAt: Scalars['DateTime']['output']; creator?: Maybe; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; perks: Array; priceAmount: Scalars['Float']['output']; status: ComMonetizationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComCreatorMembershipTierConnection = { __typename?: 'ComCreatorMembershipTierConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComDevicePlatform { Android = "ANDROID", Ios = "IOS" } export type ComDeviceToken = { __typename?: 'ComDeviceToken'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastSeenAt: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; platform: ComDevicePlatform; /** * Never exposed in full — the raw token is a bearer credential for pushing * to this device. Only a masked suffix is returned for the member to * recognize their own registered devices. */ tokenSuffix: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ComDigitalProduct = { __typename?: 'ComDigitalProduct'; createdAt: Scalars['DateTime']['output']; creator?: Maybe; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; description?: Maybe; /** Reference to a wspace-files-svc File for DOWNLOAD products. */ file?: Maybe; id: Scalars['ID']['output']; priceAmount: Scalars['Float']['output']; productType: ComDigitalProductType; status: ComMonetizationStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComDigitalProductConnection = { __typename?: 'ComDigitalProductConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComDigitalProductType { Access = "ACCESS", Download = "DOWNLOAD" } export type ComEvent = { __typename?: 'ComEvent'; capacity?: Maybe; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; endsAt?: Maybe; host?: Maybe; hostId: Scalars['ID']['output']; id: Scalars['ID']['output']; joinUrl?: Maybe; location?: Maybe; mode: ComEventMode; rsvpCount: Scalars['Int']['output']; rsvps: ComEventRsvpConnection; startsAt: Scalars['DateTime']['output']; status: ComEventStatus; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComEventRsvpsArgs = { pagination?: InputMaybe; }; export type ComEventConnection = { __typename?: 'ComEventConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComEventMode { Hybrid = "HYBRID", InPerson = "IN_PERSON", Online = "ONLINE" } export type ComEventRsvp = { __typename?: 'ComEventRsvp'; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; member?: Maybe; memberId: Scalars['ID']['output']; note?: Maybe; status: ComRsvpStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComEventRsvpConnection = { __typename?: 'ComEventRsvpConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComEventStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Live = "LIVE", Scheduled = "SCHEDULED" } export type ComExportCircleContentInput = { format?: ComExportFormat; includeMetadata?: InputMaybe; }; export declare enum ComExportFormat { Csv = "CSV", Json = "JSON" } export type ComExportJob = { __typename?: 'ComExportJob'; createdAt: Scalars['DateTime']['output']; entityTypes: Array; format: ComExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ComExportMemberDataInput = { format?: ComExportFormat; includeMetadata?: InputMaybe; }; export type ComFeedFollow = { __typename?: 'ComFeedFollow'; createdAt: Scalars['DateTime']['output']; followerId: Scalars['ID']['output']; id: Scalars['ID']['output']; muted: Scalars['Boolean']['output']; targetId: Scalars['ID']['output']; targetType: ComFollowTargetType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComFeedFollowConnection = { __typename?: 'ComFeedFollowConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComFollowInput = { targetId: Scalars['ID']['input']; targetType: ComFollowTargetType; }; export declare enum ComFollowTargetType { Channel = "CHANNEL", Circle = "CIRCLE", Member = "MEMBER" } export declare enum ComGamificationAction { ChallengeCompleted = "CHALLENGE_COMPLETED", CommentAdded = "COMMENT_ADDED", /** Finished a course (recorded once per enrollment when its certificate is issued). */ CourseCompleted = "COURSE_COMPLETED", EventRsvp = "EVENT_RSVP", PollVoted = "POLL_VOTED", PostCreated = "POST_CREATED", ReactionAdded = "REACTION_ADDED" } export type ComGamificationProfile = { __typename?: 'ComGamificationProfile'; badges: Array; circleId: Scalars['ID']['output']; enabled: Scalars['Boolean']['output']; level: ComLevelInfo; member?: Maybe; memberId: Scalars['ID']['output']; points: Scalars['Int']['output']; /** All-time rank in the circle; null until the member has points. */ rank?: Maybe; }; export type ComGamificationSettings = { __typename?: 'ComGamificationSettings'; circleId: Scalars['ID']['output']; enabled: Scalars['Boolean']['output']; levels: Array; pointRules: Array; }; /** One ICE server entry, in the browser RTCIceServer shape. */ export type ComIceServer = { __typename?: 'ComIceServer'; credential?: Maybe; urls: Array; username?: Maybe; }; export declare enum ComInsightCode { /** Interactions fell by at least 25% against the previous period. */ EngagementFading = "ENGAGEMENT_FADING", /** Interactions grew by at least 25% against the previous period. */ EngagementGrowing = "ENGAGEMENT_GROWING", /** Fewer than 20% of members interacted in the period. */ LowActivation = "LOW_ACTIVATION", /** Fewer than half of the previously active members came back. */ LowRetention = "LOW_RETENTION", /** More members left than joined in the period. */ MemberChurn = "MEMBER_CHURN", /** New members added at least 10% to the circle in the period. */ MemberGrowth = "MEMBER_GROWTH", /** Nobody interacted in the period. */ NoActivity = "NO_ACTIVITY", /** The member with the most interactions in the period. */ TopContributor = "TOP_CONTRIBUTOR" } export declare enum ComInsightSeverity { Info = "INFO", Positive = "POSITIVE", Warning = "WARNING" } export type ComLeaderboard = { __typename?: 'ComLeaderboard'; /** Null for the workspace-wide leaderboard. */ circleId?: Maybe; enabled: Scalars['Boolean']['output']; entries: Array; period: ComLeaderboardPeriod; }; export type ComLeaderboardEntry = { __typename?: 'ComLeaderboardEntry'; level: Scalars['Int']['output']; levelName: Scalars['String']['output']; member?: Maybe; memberId: Scalars['ID']['output']; points: Scalars['Int']['output']; rank: Scalars['Int']['output']; }; export declare enum ComLeaderboardPeriod { AllTime = "ALL_TIME", Month = "MONTH", Week = "WEEK" } export type ComLevelDefinition = { __typename?: 'ComLevelDefinition'; level: Scalars['Int']['output']; minPoints: Scalars['Int']['output']; name: Scalars['String']['output']; }; export type ComLevelInfo = { __typename?: 'ComLevelInfo'; level: Scalars['Int']['output']; minPoints: Scalars['Int']['output']; name: Scalars['String']['output']; /** Points needed for the next level; null at the top level. */ nextLevelPoints?: Maybe; /** Progress towards the next level, 0 to 1. */ progress: Scalars['Float']['output']; }; export type ComListLiveStreamRecordingsInput = { circleId: Scalars['ID']['input']; pagination?: InputMaybe; /** * Defaults to READY (the replay list). Other statuses are visible to the * recorder and to circle moderators only. */ status?: InputMaybe; streamId?: InputMaybe; }; export type ComListLiveStreamsInput = { circleId: Scalars['ID']['input']; pagination?: InputMaybe; status?: InputMaybe; }; /** * A live stream / stage inside a circle: the source of truth for "who is live * now" and "who is watching". Media flows host -> viewer over WebRTC peer * connections negotiated through comSendLiveStreamSignal. */ export type ComLiveStream = { __typename?: 'ComLiveStream'; /** The recording in progress, or null. */ activeRecording?: Maybe; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endedAt?: Maybe; host?: Maybe; id: Scalars['ID']['output']; /** * True while a recording of this stage is in progress. Clients must show * viewers that the stage is being recorded. */ isRecording: Scalars['Boolean']['output']; /** * MESH (host-to-viewer fan-out) until the audience outgrows maxStreamViewers * or the host started a large-audience stage, then SFU. Clients must follow * changes delivered by comLiveStreamUpdated. */ mediaMode: ComMediaMode; /** When the stream switched to SFU; null while it is MESH. */ sfuSince?: Maybe; startedAt?: Maybe; startedBy: Scalars['ID']['output']; status: ComLiveStreamStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; viewerCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type ComLiveStreamConnection = { __typename?: 'ComLiveStreamConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComLiveStreamRecording = { __typename?: 'ComLiveStreamRecording'; /** * BROWSER when the host's browser records and uploads, SERVER when the media * server records the stage. A SERVER recording is UPLOADING while the service * saves the media server's file. */ captureMode: ComLiveStreamRecordingCaptureMode; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; durationSeconds?: Maybe; /** When this recording stops being replayable and is deleted. */ expiresAt?: Maybe; failureReason?: Maybe; id: Scalars['ID']['output']; mimeType?: Maybe; /** The stream host, whose browser records and uploads the media. */ recordedBy: Scalars['ID']['output']; recorder?: Maybe; /** Stored size in bytes, as reported by the files service. */ sizeBytes?: Maybe; startedAt: Scalars['DateTime']['output']; /** Member who turned recording on: the host or a circle moderator. */ startedBy: Scalars['ID']['output']; starter?: Maybe; status: ComLiveStreamRecordingStatus; stoppedAt?: Maybe; streamId: Scalars['ID']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Who captures a recording's media. */ export declare enum ComLiveStreamRecordingCaptureMode { /** The host's browser records and uploads the media. */ Browser = "BROWSER", /** The media server records the stage (SFU stages only); no browser upload. */ Server = "SERVER" } export type ComLiveStreamRecordingConnection = { __typename?: 'ComLiveStreamRecordingConnection'; items: Array; pageInfo: ComPageInfo; }; /** A short-lived presigned URL for replaying a READY recording. */ export type ComLiveStreamRecordingReplay = { __typename?: 'ComLiveStreamRecordingReplay'; expiresAt: Scalars['DateTime']['output']; mimeType?: Maybe; recordingId: Scalars['ID']['output']; url: Scalars['String']['output']; }; /** Recording limits and the workspace's recorded minutes this calendar month. */ export type ComLiveStreamRecordingSettings = { __typename?: 'ComLiveStreamRecordingSettings'; maxDurationSeconds: Scalars['Int']['output']; maxFileSizeBytes: Scalars['Float']['output']; /** * Monthly recorded-minutes allowance on the workspace's plan; null when * unlimited or when the plan limit could not be read. */ minutesLimit?: Maybe; minutesUsedThisMonth: Scalars['Int']['output']; retentionDays: Scalars['Int']['output']; /** * True when stages in SFU mode are recorded by the media server in this * environment (they otherwise fall back to the host's browser). */ serverRecordingAvailable: Scalars['Boolean']['output']; }; export declare enum ComLiveStreamRecordingStatus { Deleted = "DELETED", Expired = "EXPIRED", Failed = "FAILED", Ready = "READY", Recording = "RECORDING", Uploading = "UPLOADING" } /** * A relayed live-stream WebRTC signaling message between the host and one * viewer. Never persisted — delivered live to the addressed member only. */ export type ComLiveStreamSignal = { __typename?: 'ComLiveStreamSignal'; fromMemberId: Scalars['ID']['output']; payload: Scalars['JSON']['output']; signalType: ComVoiceSignalType; streamId: Scalars['ID']['output']; toMemberId: Scalars['ID']['output']; }; export declare enum ComLiveStreamStatus { Ended = "ENDED", Live = "LIVE", Scheduled = "SCHEDULED" } /** * How media flows in a voice session or live stream. MESH: direct peer * connections (voice mesh, or host-to-viewer fan-out for a stage). SFU: through * the environment's media server, joined with a room token. A session only ever * moves from MESH to SFU. */ export declare enum ComMediaMode { Mesh = "MESH", Sfu = "SFU" } export type ComMemberBadge = { __typename?: 'ComMemberBadge'; awardedAt: Scalars['DateTime']['output']; badge: ComBadge; badgeId: Scalars['ID']['output']; circleId: Scalars['ID']['output']; id: Scalars['ID']['output']; member?: Maybe; memberId: Scalars['ID']['output']; reason?: Maybe; }; export type ComMemberBlock = { __typename?: 'ComMemberBlock'; blocked?: Maybe; blockedId: Scalars['ID']['output']; blockerId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ComMemberBlockConnection = { __typename?: 'ComMemberBlockConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComMemberRole { Admin = "ADMIN", Member = "MEMBER", Moderator = "MODERATOR", Owner = "OWNER" } export type ComMembership = { __typename?: 'ComMembership'; circle?: Maybe; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; joinedAt?: Maybe; member?: Maybe; memberId: Scalars['ID']['output']; role: ComMemberRole; status: ComMembershipStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComMembershipConnection = { __typename?: 'ComMembershipConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComMembershipStatus { Active = "ACTIVE", Banned = "BANNED", Left = "LEFT", Pending = "PENDING" } export declare enum ComModerationCategory { Harassment = "HARASSMENT", Nsfw = "NSFW", OffTopic = "OFF_TOPIC", SelfPromo = "SELF_PROMO", Spam = "SPAM" } export declare enum ComModerationReviewDecision { Overturn = "OVERTURN", Uphold = "UPHOLD" } export type ComModerationRule = { __typename?: 'ComModerationRule'; autoHideHarassment: Scalars['Boolean']['output']; autoHideSpam: Scalars['Boolean']['output']; autoHideToxicity: Scalars['Boolean']['output']; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; flaggedTerms: Array; id: Scalars['ID']['output']; spamPatterns: Array; toxicityThreshold: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComModerationRuleInput = { autoHideHarassment?: InputMaybe; autoHideSpam?: InputMaybe; autoHideToxicity?: InputMaybe; enabled?: InputMaybe; flaggedTerms?: InputMaybe>; spamPatterns?: InputMaybe>; toxicityThreshold?: InputMaybe; }; export declare enum ComModerationTargetType { Comment = "COMMENT", Membership = "MEMBERSHIP", Post = "POST" } export type ComModerationVerdict = { __typename?: 'ComModerationVerdict'; /** * True only when the engine executed this verdict itself (HIDE, high * confidence, reversible). Always false for ESCALATE/FLAG/ALLOW. */ actedAutomatically: Scalars['Boolean']['output']; /** * FK into the shared AgentRun ledger (BOFF-3601). Null until that ledger * exists — this subgraph does not maintain its own agent-run table. */ agentRunId?: Maybe; categories: Array; circleId?: Maybe; confidence: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** * True when the triaged content matched a known prompt-injection pattern * (7.4). An injection attempt is itself a FLAG signal and is never obeyed. */ injectionDetected: Scalars['Boolean']['output']; overturned: Scalars['Boolean']['output']; rationale: Scalars['String']['output']; reviewNote?: Maybe; reviewedAt?: Maybe; reviewedBy?: Maybe; reviewedByUser?: Maybe; targetId: Scalars['ID']['output']; targetType: ComModerationTargetType; updatedAt: Scalars['DateTime']['output']; verdict: ComModerationVerdictType; workspaceId: Scalars['ID']['output']; }; export type ComModerationVerdictConnection = { __typename?: 'ComModerationVerdictConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComModerationVerdictType { Allow = "ALLOW", Escalate = "ESCALATE", Flag = "FLAG", Hide = "HIDE" } export declare enum ComMonetizationStatus { Active = "ACTIVE", Archived = "ARCHIVED" } export type ComPageInfo = { __typename?: 'ComPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type ComPaidEvent = { __typename?: 'ComPaidEvent'; capacity?: Maybe; circleId?: Maybe; createdAt: Scalars['DateTime']['output']; creator?: Maybe; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; priceAmount: Scalars['Float']['output']; startsAt?: Maybe; status: ComPaidEventStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComPaidEventConnection = { __typename?: 'ComPaidEventConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComPaidEventStatus { Cancelled = "CANCELLED", Draft = "DRAFT", Published = "PUBLISHED" } /** How many points an action earns, and how many times a day it can earn them. */ export type ComPointRule = { __typename?: 'ComPointRule'; action: ComGamificationAction; dailyCap: Scalars['Int']['output']; points: Scalars['Int']['output']; }; export type ComPoll = { __typename?: 'ComPoll'; allowMultiple: Scalars['Boolean']['output']; circleId: Scalars['ID']['output']; closesAt?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isAnonymous: Scalars['Boolean']['output']; options: ComPollOptionConnection; question: Scalars['String']['output']; status: ComPollStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComPollOptionsArgs = { pagination?: InputMaybe; }; export type ComPollConnection = { __typename?: 'ComPollConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComPollOption = { __typename?: 'ComPollOption'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; pollId: Scalars['ID']['output']; position: Scalars['Int']['output']; voteCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type ComPollOptionConnection = { __typename?: 'ComPollOptionConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComPollStatus { Closed = "CLOSED", Open = "OPEN" } export type ComPost = { __typename?: 'ComPost'; attachmentFileIds: Array; author?: Maybe; authorId: Scalars['ID']['output']; body: Scalars['String']['output']; channelId: Scalars['ID']['output']; commentCount: Scalars['Int']['output']; comments: ComCommentConnection; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isPinned: Scalars['Boolean']['output']; reactionCount: Scalars['Int']['output']; reactions: ComReactionConnection; status: ComPostStatus; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComPostCommentsArgs = { pagination?: InputMaybe; }; export type ComPostReactionsArgs = { pagination?: InputMaybe; }; export type ComPostConnection = { __typename?: 'ComPostConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComPostStatus { Draft = "DRAFT", Hidden = "HIDDEN", Published = "PUBLISHED", Removed = "REMOVED" } export declare enum ComPresence { Away = "AWAY", Busy = "BUSY", Offline = "OFFLINE", Online = "ONLINE" } export type ComProfile = { __typename?: 'ComProfile'; /** Reference to a wspace-files-svc File for the avatar. */ avatar?: Maybe; bio?: Maybe; createdAt: Scalars['DateTime']['output']; discoverable: Scalars['Boolean']['output']; displayName: Scalars['String']['output']; headline?: Maybe; id: Scalars['ID']['output']; interests: Array; member?: Maybe; memberId: Scalars['ID']['output']; presence: ComPresence; skills: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComProfileConnection = { __typename?: 'ComProfileConnection'; items: Array; pageInfo: ComPageInfo; }; /** * Ground-truth quota usage for one (workspace, quota) pair. Consumed only by * wspace-activity-svc's count reconciler, which overwrites * WorkspaceQuotaAssignment.used with `currentValue`. */ export type ComQuotaCountMetric = { __typename?: 'ComQuotaCountMetric'; currentValue: Scalars['Float']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ComReaction = { __typename?: 'ComReaction'; /** Set when targetType is COMMENT; null when targetType is POST. */ commentId?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; member?: Maybe; memberId: Scalars['ID']['output']; /** Set when targetType is POST; null when targetType is COMMENT. */ postId?: Maybe; targetType: ComReactionTargetType; type: ComReactionType; workspaceId: Scalars['ID']['output']; }; export type ComReactionConnection = { __typename?: 'ComReactionConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComReactionTargetType { Comment = "COMMENT", Post = "POST" } export declare enum ComReactionType { Celebrate = "CELEBRATE", Insightful = "INSIGHTFUL", Laugh = "LAUGH", Like = "LIKE", Love = "LOVE", Support = "SUPPORT" } export type ComRecordTipIntentInput = { amount: Scalars['Float']['input']; creatorId: Scalars['ID']['input']; currency?: InputMaybe; message?: InputMaybe; }; export type ComReport = { __typename?: 'ComReport'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe; reason: Scalars['String']['output']; reporter?: Maybe; reporterId: Scalars['ID']['output']; resolvedAt?: Maybe; resolvedBy?: Maybe; resolvedByUser?: Maybe; status: ComReportStatus; targetId: Scalars['ID']['output']; targetType: ComReportTargetType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ComReportConnection = { __typename?: 'ComReportConnection'; items: Array; pageInfo: ComPageInfo; }; export type ComReportContentInput = { reason: Scalars['String']['input']; targetId: Scalars['ID']['input']; targetType: ComReportTargetType; }; export declare enum ComReportStatus { Dismissed = "DISMISSED", Pending = "PENDING", Resolved = "RESOLVED", Reviewing = "REVIEWING" } export declare enum ComReportTargetType { Comment = "COMMENT", Member = "MEMBER", Post = "POST" } export declare enum ComRsvpStatus { Going = "GOING", Interested = "INTERESTED", NotGoing = "NOT_GOING", Waitlisted = "WAITLISTED" } /** * Everything a client needs to open WebRTC peer connections for voice channels * and live streams. */ export type ComRtcConfiguration = { __typename?: 'ComRtcConfiguration'; heartbeatIntervalSeconds: Scalars['Int']['output']; /** * STUN servers, plus a short-lived TURN relay credential bound to the calling * member when the environment has a TURN relay configured. */ iceServers: Array; /** * When the TURN credential in iceServers expires; null when no TURN * credential was issued. Clients should refetch the configuration before * opening new peer connections after this time. */ iceServersExpireAt?: Maybe; maxMeshParticipants: Scalars['Int']['output']; /** Most participants in one SFU voice room; 0 when sfuAvailable is false. */ maxSfuParticipants: Scalars['Int']['output']; /** Most viewers of one SFU live stage; 0 when sfuAvailable is false. */ maxSfuViewers: Scalars['Int']['output']; maxStreamViewers: Scalars['Int']['output']; /** * Whether this environment has a media server, so rooms and stages can grow * past the mesh caps. */ sfuAvailable: Scalars['Boolean']['output']; }; export type ComSaveAnalyticsSubscriptionInput = { /** Any of ENGAGEMENT_FADING, NO_ACTIVITY, LOW_ACTIVATION, LOW_RETENTION, MEMBER_CHURN. */ alertCodes?: InputMaybe>; cadence?: InputMaybe; /** Required for CIRCLE, must be omitted for PORTFOLIO. */ circleId?: InputMaybe; /** * Also email the digest and alerts to the caller's own account address * (defaults to false). Reports are never emailed to any other address. */ emailDelivery?: InputMaybe; /** Defaults to true. */ enabled?: InputMaybe; scope: ComAnalyticsSubscriptionScope; }; /** * A short-lived credential for joining one SFU room as the calling member. * Pass url and token to the LiveKit client; the token only admits its holder * to roomName, and canPublish says whether it may send media there. */ export type ComSfuRoomToken = { __typename?: 'ComSfuRoomToken'; canPublish: Scalars['Boolean']['output']; expiresAt: Scalars['DateTime']['output']; identity: Scalars['ID']['output']; roomName: Scalars['String']['output']; token: Scalars['String']['output']; url: Scalars['String']['output']; }; export type ComTipIntent = { __typename?: 'ComTipIntent'; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; creator?: Maybe; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; message?: Maybe; status: ComTipIntentStatus; tipper?: Maybe; tipperId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ComTipIntentConnection = { __typename?: 'ComTipIntentConnection'; items: Array; pageInfo: ComPageInfo; }; export declare enum ComTipIntentStatus { Cancelled = "CANCELLED", Recorded = "RECORDED" } export type ComUpdateChannelInput = { description?: InputMaybe; isArchived?: InputMaybe; name?: InputMaybe; position?: InputMaybe; type?: InputMaybe; visibility?: InputMaybe; }; export type ComUpdateCircleInput = { avatarFileId?: InputMaybe; description?: InputMaybe; name?: InputMaybe; tags?: InputMaybe>; topic?: InputMaybe; visibility?: InputMaybe; }; export type ComUpdateCourseInput = { coverFileId?: InputMaybe; description?: InputMaybe; summary?: InputMaybe; title?: InputMaybe; }; export type ComUpdateCourseLessonInput = { body?: InputMaybe; durationMinutes?: InputMaybe; fileId?: InputMaybe; /** Replaces the quiz of a QUIZ lesson; omit to keep the current one. */ quiz?: InputMaybe; title?: InputMaybe; type?: InputMaybe; videoUrl?: InputMaybe; }; export type ComUpdateCourseModuleInput = { description?: InputMaybe; title?: InputMaybe; }; export type ComUpdateDigitalProductInput = { currency?: InputMaybe; description?: InputMaybe; fileId?: InputMaybe; priceAmount?: InputMaybe; productType?: InputMaybe; title?: InputMaybe; }; export type ComUpdateEventInput = { capacity?: InputMaybe; description?: InputMaybe; endsAt?: InputMaybe; joinUrl?: InputMaybe; location?: InputMaybe; mode?: InputMaybe; startsAt?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; }; export type ComUpdateMembershipTierInput = { billingInterval?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; name?: InputMaybe; perks?: InputMaybe>; priceAmount?: InputMaybe; }; export type ComUpdatePaidEventInput = { capacity?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; priceAmount?: InputMaybe; startsAt?: InputMaybe; status?: InputMaybe; title?: InputMaybe; }; export type ComUpdatePostInput = { body?: InputMaybe; isPinned?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type ComUpsertProfileInput = { avatarFileId?: InputMaybe; bio?: InputMaybe; discoverable?: InputMaybe; displayName: Scalars['String']['input']; headline?: InputMaybe; interests?: InputMaybe>; presence?: InputMaybe; skills?: InputMaybe>; }; export type ComVerdictCount = { __typename?: 'ComVerdictCount'; count: Scalars['Int']['output']; verdict: ComModerationVerdictType; }; export type ComVoiceParticipant = { __typename?: 'ComVoiceParticipant'; id: Scalars['ID']['output']; joinedAt: Scalars['DateTime']['output']; leftAt?: Maybe; member?: Maybe; memberId: Scalars['ID']['output']; muted: Scalars['Boolean']['output']; sessionId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ComVoiceSession = { __typename?: 'ComVoiceSession'; channelId: Scalars['ID']['output']; circleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endedAt?: Maybe; id: Scalars['ID']['output']; /** * MESH until the room outgrows maxMeshParticipants (or a participant switches * it), then SFU for the rest of the session. Clients must follow changes * delivered by comVoiceParticipantsChanged. */ mediaMode: ComMediaMode; participantCount: Scalars['Int']['output']; participants: Array; /** When the session switched to SFU; null while it is MESH. */ sfuSince?: Maybe; startedAt: Scalars['DateTime']['output']; startedBy: Scalars['ID']['output']; starter?: Maybe; status: ComVoiceSessionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ComVoiceSessionStatus { Active = "ACTIVE", Ended = "ENDED" } /** * A relayed WebRTC signaling message (SDP offer/answer or ICE candidate). * Never persisted — delivered live to the addressed participant only. */ export type ComVoiceSignal = { __typename?: 'ComVoiceSignal'; fromMemberId: Scalars['ID']['output']; payload: Scalars['JSON']['output']; sessionId: Scalars['ID']['output']; signalType: ComVoiceSignalType; toMemberId: Scalars['ID']['output']; }; export declare enum ComVoiceSignalType { Answer = "ANSWER", IceCandidate = "ICE_CANDIDATE", Offer = "OFFER" } export type CommentAddedEvent = { __typename?: 'CommentAddedEvent'; commentId: Scalars['ID']['output']; content: Scalars['String']['output']; fileId: Scalars['ID']['output']; mentions?: Maybe>; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type CommentDeletedEvent = { __typename?: 'CommentDeletedEvent'; commentId: Scalars['ID']['output']; fileId: Scalars['ID']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** Export format for comments */ export declare enum CommentExportFormat { Csv = "CSV", Json = "JSON", Markdown = "MARKDOWN" } /** Schedule type enum for comments */ export declare enum CommentScheduleType { Cron = "CRON", Interval = "INTERVAL", OneTime = "ONE_TIME", Recurring = "RECURRING", Rrule = "RRULE" } /** Comment status enum */ export declare enum CommentStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED", Flagged = "FLAGGED", Resolved = "RESOLVED" } /** Universal tag assignment for comments */ export type CommentTagAssignment = { __typename?: 'CommentTagAssignment'; assignedAt: Scalars['DateTime']['output']; assignedBy: Scalars['ID']['output']; confidence?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type CommentUpdatedEvent = { __typename?: 'CommentUpdatedEvent'; commentId: Scalars['ID']['output']; content: Scalars['String']['output']; fileId: Scalars['ID']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** Comment visibility enum */ export declare enum CommentVisibility { Private = "PRIVATE", Public = "PUBLIC", Restricted = "RESTRICTED" } export type CommunityPost = { __typename?: 'CommunityPost'; author: Scalars['String']['output']; authorRole?: Maybe; category: Scalars['String']['output']; content: Scalars['String']['output']; createdAt: Scalars['String']['output']; entityTags: Array; id: Scalars['ID']['output']; likes: Scalars['Int']['output']; replies: Scalars['Int']['output']; tags: Array; title: Scalars['String']['output']; }; export type CompareMtwFreightInvoiceInput = { correctionReason?: InputMaybe; estimateVersionId: Scalars['ID']['input']; evidence: Array; expectedPreviousComparisonId?: InputMaybe; expectedRevision: Scalars['Int']['input']; facts: MtwFreightInvoiceFactsInput; idempotencyKey: Scalars['String']['input']; shipmentId: Scalars['ID']['input']; }; export declare enum ComparisonOperator { Contains = "CONTAINS", Equals = "EQUALS", GreaterThan = "GREATER_THAN", GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", In = "IN", IsNotSet = "IS_NOT_SET", IsSet = "IS_SET", LessThan = "LESS_THAN", LessThanOrEqual = "LESS_THAN_OR_EQUAL", NotContains = "NOT_CONTAINS", NotEquals = "NOT_EQUALS", NotIn = "NOT_IN" } /** A competitor that offers or is compared against a feature. */ export type Competitor = { __typename?: 'Competitor'; /** * ANR-12: the structured capability list (at most 100) behind the competitive-parity analysis — see * PlanmagnetCompetitorCapability. Empty until someone records it. */ capabilities: Array; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this entry */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe; /** Description / notes */ description?: Maybe; /** Feature requests linked to this competitor */ featureRequests: Array; /** * Feature-comparison data (PRM-31) — free-form JSON, same reasoning as `pricing`. Never counted by the * competitive-parity analysis: that reads only the structured `capabilities` below. */ features?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe; /** Competitor name */ name: Scalars['String']['output']; /** * Pricing information (PRM-31) — free-form JSON (tiers, amounts, currency, whatever shape this competitor's * pricing needs); no fixed structure is imposed. */ pricing?: Maybe; /** Competitive strengths (PRM-31). */ strengths: Array; /** Tags for categorization */ tags: Array; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Competitive weaknesses (PRM-31). */ weaknesses: Array; /** Competitor website URL */ website?: Maybe; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export type CompleteGardenCareTaskInput = { context: ContextInput; id: Scalars['ID']['input']; notes?: InputMaybe; /** DONE | SKIPPED */ outcome?: InputMaybe; performedAt?: InputMaybe; photoFileId?: InputMaybe; quantity?: InputMaybe; quantityUnit?: InputMaybe; }; export type CompleteMaintenanceRecordInput = { actualCost?: InputMaybe; notes?: InputMaybe; }; export type CompleteOAuthInput = { code: Scalars['String']['input']; connectionId: Scalars['ID']['input']; redirectUri: Scalars['String']['input']; state: Scalars['String']['input']; }; export type CompleteUploadInput = { /** Optional file description */ description?: InputMaybe; /** * Size of the uploaded file in bytes — required for quota tracking. * Must match the fileSize passed to initiateUpload. */ fileSize: Scalars['BigInt']['input']; /** Optional folder ID where file will be stored */ folderId?: InputMaybe; /** Upload session ID */ sessionId: Scalars['ID']['input']; /** * Optional client-declared SHA256 of the uploaded bytes (64 lowercase hex characters). * Must match a declaration supplied at initiation. Storage verification, when available, * is authoritative; a declaration alone is not proof of storage integrity. */ sha256Hash?: InputMaybe; }; export type CompleteUploadResponse = { __typename?: 'CompleteUploadResponse'; file: File; fileId: Scalars['ID']['output']; message?: Maybe; session: UploadSession; }; export type CompleteWorkOrderInput = { actualCost?: InputMaybe; /** * Client-generated idempotency key (BOFF-10632). The field app's offline queue * sends one per queued completion; replaying the same key returns the work * order instead of completing it twice. Max 128 characters. */ clientMutationId?: InputMaybe; /** * When the technician completed the work on the device. Set by the offline * queue so a completion captured without network keeps its real field time. * Must not be in the future. Defaults to the server time of the request. */ completedAt?: InputMaybe; /** Equipment downtime caused by this work, in hours. Must not be negative. */ downtimeHours?: InputMaybe; notes?: InputMaybe; }; export type CompleteWorkflowTaskResult = { __typename?: 'CompleteWorkflowTaskResult'; accepted: Scalars['Boolean']['output']; historyLength: Scalars['Int']['output']; nextTaskScheduled: Scalars['Boolean']['output']; /** Why the completion was refused (STALE_TASK, STALE_HISTORY, RUN_CLOSED, ...) or why the task failed instead. */ reason?: Maybe; runStatus: RunStatus; }; export type ComplianceDocument = { __typename?: 'ComplianceDocument'; /** Reference to a real uploaded file in wspace-files-svc (resolve a download URL via getFileDownloadUrl). */ fileId?: Maybe; fileName?: Maybe; /** Legacy free-text link (kept for back-compat). */ fileUrl?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; status: Scalars['String']['output']; type: Scalars['String']['output']; uploadedDate: Scalars['String']['output']; }; /** * BOFF-6043 — a rendered audit document, returned inline as base64. * * Same shape as `HealthyBowlAccountingExport`: the client decodes and downloads, or hands the bytes to * Files to archive. Inline rather than a signed URL because the bytes are built per request from live * rows — there is nothing to store, and a stored copy would go stale the moment a checklist moved. */ export type ComplianceExportFile = { __typename?: 'ComplianceExportFile'; byteSize: Scalars['Int']['output']; /** Base64-encoded file bytes. */ contentBase64: Scalars['String']['output']; filename: Scalars['String']['output']; /** PDF */ format: Scalars['String']['output']; mimeType: Scalars['String']['output']; }; /** A compliance finding: a domain observation, not a notification. Alerts are dispatched via the platform notification service. */ export type ComplianceFlag = { __typename?: 'ComplianceFlag'; detectedAt: Scalars['String']['output']; entityId?: Maybe; /** certification | treatment | residue_test | ics_inspection */ entityType: Scalars['String']['output']; id: Scalars['ID']['output']; message: Scalars['String']['output']; metadata?: Maybe; resolution?: Maybe; resolvedAt?: Maybe; resolvedBy?: Maybe; /** INFO | WARNING | CRITICAL */ severity: Scalars['String']['output']; /** OPEN | ACKNOWLEDGED | RESOLVED | DISMISSED */ status: Scalars['String']['output']; title: Scalars['String']['output']; /** BANNED_SUBSTANCE | MRL_EXCEEDED | CERT_EXPIRING | CERT_EXPIRED | INSPECTION_OVERDUE | DOCUMENT_MISSING | ICS_NON_CONFORMANCE */ type: Scalars['String']['output']; }; export type ComplianceResidueTest = { __typename?: 'ComplianceResidueTest'; cropId?: Maybe; id: Scalars['ID']['output']; laboratory?: Maybe; measuredMgPerKg: Scalars['Float']['output']; notes?: Maybe; reportFileId?: Maybe; substanceName: Scalars['String']['output']; testedAt: Scalars['String']['output']; traceBatchId?: Maybe; }; export type ComplianceScanFlag = { __typename?: 'ComplianceScanFlag'; entityId?: Maybe; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; message: Scalars['String']['output']; severity: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; /** * A banned-substance / MRL rule. `builtin: true` rules ship with the product and cannot be * edited or deleted — override one by creating a workspace rule with the same substance name. * Built-in rules never carry an `mrlMgPerKg`: a residue limit is crop- and market-specific and * must be recorded by the operator together with its source. */ export type ComplianceSubstanceRule = { __typename?: 'ComplianceSubstanceRule'; activeIngredient?: Maybe; builtin: Scalars['Boolean']['output']; casNumber?: Maybe; /** Crop this rule applies to. Null = all crops. */ cropScope?: Maybe; id: Scalars['ID']['output']; /** Maximum residue limit in mg/kg. Null means prohibited outright, no limit applies. */ mrlMgPerKg?: Maybe; notes?: Maybe; prohibited: Scalars['Boolean']['output']; source: Scalars['String']['output']; standardCode?: Maybe; substanceName: Scalars['String']['output']; }; export type ComponentDeployment = { __typename?: 'ComponentDeployment'; componentId: Scalars['ID']['output']; deployedAt: Scalars['DateTime']['output']; deployedBy?: Maybe; environment: DeploymentEnvironment; id: Scalars['ID']['output']; notes?: Maybe; status: DeploymentStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; }; /** * One environment cell in the env-topology matrix for a component. `version` is null when the * component has never been deployed to that environment. */ export type ComponentEnvVersion = { __typename?: 'ComponentEnvVersion'; deployedAt?: Maybe; environment: DeploymentEnvironment; status?: Maybe; version?: Maybe; }; export type ComponentFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; /** Filter by lifecycle stage */ lifecycle?: InputMaybe; /** Search by name or description (case-insensitive) */ search?: InputMaybe; /** * Order the whole matching catalogue on the server, before pagination. * Omit it to keep the default order (newest first). */ sort?: InputMaybe; /** Filter by tags (match any) */ tags?: InputMaybe>; /** Filter by team ID */ teamId?: InputMaybe; /** Filter by component type */ type?: InputMaybe; }; export declare enum ComponentLifecycle { Active = "ACTIVE", Deprecated = "DEPRECATED", EndOfLife = "END_OF_LIFE", Experimental = "EXPERIMENTAL" } export declare enum ComponentSortDirection { Asc = "ASC", Desc = "DESC" } /** * Fields the component list can be ordered by on the server. * Security tier is not listed: it is derived from scorecard metrics per request, * so it cannot be ordered across pages. Clients sort tier only once every row is loaded. */ export declare enum ComponentSortField { /** Scorecard overall score (components without a score come last) */ Health = "HEALTH", /** Lifecycle along its real progression: EXPERIMENTAL, ACTIVE, DEPRECATED, END_OF_LIFE */ Lifecycle = "LIFECYCLE", /** Component name */ Name = "NAME", /** Owner display name (components without an owner come last) */ Owner = "OWNER", /** Last update time */ UpdatedAt = "UPDATED_AT", /** Version, compared with numbers in natural order (1.9 before 1.10) */ Version = "VERSION" } /** * Server-side ordering for the component list. Empty values always sort last, * in both directions. Ties fall back to name, then id, so pages never overlap. */ export type ComponentSortInput = { direction?: InputMaybe; field: ComponentSortField; }; export declare enum ComponentType { Api = "API", Custom = "CUSTOM", Database = "DATABASE", Dependency = "DEPENDENCY", Documentation = "DOCUMENTATION", Frontend = "FRONTEND", Infrastructure = "INFRASTRUCTURE", Job = "JOB", Library = "LIBRARY", Package = "PACKAGE", Service = "SERVICE", Tool = "TOOL", Workflow = "WORKFLOW" } export type CompostBatch = { __typename?: 'CompostBatch'; /** Derived: whole days since the batch was started. */ ageDays: Scalars['Int']['output']; appliedAt?: Maybe; appliedToGrowSpaceId?: Maybe; appliedToGrowSpaceName?: Maybe; brownsKg?: Maybe; createdAt: Scalars['DateTime']['output']; expectedReadyAt?: Maybe; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; greensKg?: Maybe; id: Scalars['ID']['output']; lastTurnedAt?: Maybe; /** AEROBIC_BIN | VERMICOMPOST | BOKASHI | PIT | TUMBLER */ method: Scalars['String']['output']; name: Scalars['String']['output']; notes?: Maybe; /** Derived: 0-100 towards the typical maturity for this method. */ progressPercent: Scalars['Int']['output']; readyAt?: Maybe; startedAt: Scalars['DateTime']['output']; /** ACTIVE | CURING | READY | USED */ status: Scalars['String']['output']; turnCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; yieldKg?: Maybe; }; export type ConfigHostInput = { hostname: Scalars['String']['input']; identityFile?: InputMaybe; name: Scalars['String']['input']; port?: InputMaybe; user: Scalars['String']['input']; }; export declare enum ConfigScope { Agent = "AGENT", Global = "GLOBAL", Session = "SESSION", User = "USER", Vibe = "VIBE", Workspace = "WORKSPACE" } /** * Configuration key-value storage with scoping. * Supports workspace, vibe, session, and agent-scoped configurations. */ export type Configuration = { __typename?: 'Configuration'; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether value is encrypted */ isSecret: Scalars['Boolean']['output']; /** Configuration key (dot notation) */ key: Scalars['String']['output']; /** Configuration scope */ scope: ConfigScope; /** Specific scope instance ID (opaque reference) */ scopeId?: Maybe; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Configuration value */ value: Scalars['JSON']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type ConfigurationAnalytics = { __typename?: 'ConfigurationAnalytics'; byScope: Array; secretCount: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type ConfigurationFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; key?: InputMaybe; scope?: InputMaybe; scopeId?: InputMaybe; workspaceId?: InputMaybe; }; export type ConfigurationInput = { isSecret?: InputMaybe; key: Scalars['String']['input']; value: Scalars['JSON']['input']; }; export type ConfigurationItem = { __typename?: 'ConfigurationItem'; attributes: Scalars['JSONObject']['output']; ciNumber: Scalars['String']['output']; ciType: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; environment?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; owner?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ConfigurationList = { __typename?: 'ConfigurationList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type ConfigureShipmentStatusSourceInput = { basisTrackingEventId: Scalars['ID']['input']; expectedStatusRevision: Scalars['Int']['input']; integrationId: Scalars['ID']['input']; maxFutureSkewSeconds: Scalars['Int']['input']; maxSourceAgeSeconds: Scalars['Int']['input']; reason: Scalars['String']['input']; }; export type ConfigureSupervisorInput = { cron?: InputMaybe; enabled?: InputMaybe; timezone?: InputMaybe; }; export declare enum ConflictResolution { LocalWins = "LOCAL_WINS", Manual = "MANUAL", NewestWins = "NEWEST_WINS", RemoteWins = "REMOTE_WINS" } export type ConnectExternalCalendarInput = { accessToken: Scalars['String']['input']; calendarId: Scalars['ID']['input']; conflictResolution?: InputMaybe; direction?: InputMaybe; externalCalendarId: Scalars['String']['input']; externalCalendarName?: InputMaybe; metadata?: InputMaybe; provider: SyncProvider; refreshToken?: InputMaybe; syncEnabled?: InputMaybe; syncFrequency?: InputMaybe; tokenExpiresAt?: InputMaybe; }; export type ConnectHealthyBowlAccountingIntegrationInput = { context: ContextInput; displayName?: InputMaybe; /** Provider API endpoint / Tally gateway URL (non-secret). */ endpoint?: InputMaybe; /** External org identifier, e.g. a Zoho Books organization id (non-secret). */ organizationRef?: InputMaybe; /** TALLY | ZOHO_BOOKS | QUICKBOOKS */ provider: Scalars['String']['input']; }; /** How the caller reaches a connection. */ export declare enum ConnectionAccess { /** A workspace administrator who can see and manage the connection but not use it */ Administrator = "ADMINISTRATOR", /** Shared with the caller (directly, or through a group or project) as an editor */ Editor = "EDITOR", Owner = "OWNER", /** Shared with the caller (directly, or through a group or project) for use */ Use = "USE", /** Not shared with the caller, but visible to everyone in the workspace */ Workspace = "WORKSPACE" } /** Narrows getConnections to how the caller reaches a connection. */ export declare enum ConnectionAccessFilter { /** Connections the caller owns */ OwnedByMe = "OWNED_BY_ME", /** Connections someone else owns and shared with the caller, directly or through a group or project */ SharedWithMe = "SHARED_WITH_ME" } export declare enum ConnectionCredentialSource { LegacyLocal = "LEGACY_LOCAL", VaultManaged = "VAULT_MANAGED", VaultReferenced = "VAULT_REFERENCED" } /** Why a connection needs attention soon (BOFF-3698). */ export declare enum ConnectionExpiryReason { /** The connection is already EXPIRED or in ERROR and must be re-authorised. */ NeedsReauth = "NEEDS_REAUTH", /** The refresh token itself expires within the window. */ RefreshTokenExpiring = "REFRESH_TOKEN_EXPIRING", /** The credential has no refresh token and expires within the window. */ TokenExpiring = "TOKEN_EXPIRING" } export type ConnectionFilterInput = { /** Only connections the caller owns, or only those shared with them */ access?: InputMaybe; context?: InputMaybe; providerCategory?: InputMaybe; providerId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; export type ConnectionList = { __typename?: 'ConnectionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum ConnectionQuality { Excellent = "EXCELLENT", Fair = "FAIR", Good = "GOOD", Poor = "POOR" } /** One grant of a connection to a person, a group or a project. */ export type ConnectionShare = { __typename?: 'ConnectionShare'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** User, group or project id */ principalId: Scalars['String']['output']; principalType: ConnectionSharePrincipalType; role: ConnectionShareRole; }; /** One grant in shareConnection. */ export type ConnectionShareInput = { /** User, group or project id in the caller's workspace */ principalId: Scalars['String']['input']; principalType: ConnectionSharePrincipalType; role?: InputMaybe; }; /** What a connection share is granted to. */ export declare enum ConnectionSharePrincipalType { Group = "GROUP", Project = "PROJECT", User = "USER" } /** What a connection share allows. */ export declare enum ConnectionShareRole { /** Also change it, re-authenticate it and change who it is shared with */ Editor = "EDITOR", /** See the connection and run workflows the grantee owns with it */ Use = "USE" } export declare enum ConnectionStatus { Active = "ACTIVE", Error = "ERROR", Expired = "EXPIRED", Inactive = "INACTIVE", PendingAuth = "PENDING_AUTH", Revoked = "REVOKED" } export type ConnectionTestResult = { __typename?: 'ConnectionTestResult'; latencyMs?: Maybe; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; /** * Decrypted token data returned for workflow execution. * Contains the actual credentials needed to authenticate with the provider. */ export type ConnectionToken = { __typename?: 'ConnectionToken'; /** The decrypted access token */ accessToken: Scalars['String']['output']; /** * Whether a workspace administrator lets self-hosted workers receive this connection's * long-lived credential. Set on every successful response. `metadata.allowSelfHosted` is true * for a marked connection and absent otherwise; a submitted credential value never sets it. */ allowSelfHosted?: Maybe; /** Auth method this credential was issued under, when the provider defines any. */ authMethodKey?: Maybe; /** When the access token expires */ expiresAt?: Maybe; /** * Fully-resolved credential injection: the concrete headers, query parameters * and/or body fields to attach to outbound requests, e.g. * * { "headers": { "Authorization": "Bearer ya29.a0Af..." } } * * Templates are expanded server-side, so consumers attach these verbatim and * need no knowledge of which auth method produced them — a node keeps working * when its provider gains an auth method that puts the credential somewhere * other than an Authorization header. * * A Digest Auth connection resolves to `{ "digest": { "username": "...", * "password": "..." } }` instead: Digest answers the server's 401 challenge, * so the consumer performs the handshake with these values. * * Null when the auth method declares no template; consumers then fall back to * building ` ` themselves. */ inject?: Maybe; /** Additional provider-specific metadata */ metadata?: Maybe; /** Provider key (google, github, slack, etc.) */ providerKey: Scalars['String']['output']; /** The refresh token (if available) */ refreshToken?: Maybe; /** Granted OAuth scopes */ scopes: Array; /** * For an API-key connection, the name of the form field the secret was entered * in (Twilio's `authToken`, WooCommerce's `consumerSecret`). The secret itself is * always `accessToken`; this lets a consumer also expose it under the field's * own name. Null for every other auth type. */ secretField?: Maybe; /** * Names of the connection fields whose values came from external secrets * (`{{ $secrets.. }}`). The values are in this token like any other * credential; consumers keep them out of run data and logs. Null when the connection * references no external secret. */ sensitiveFields?: Maybe>; /** Token type (Bearer, Basic, etc.) */ tokenType: Scalars['String']['output']; }; /** * Result of getConnectionToken query. * Uses hybrid approach: auto-refreshes expired tokens when possible. */ export type ConnectionTokenResult = { __typename?: 'ConnectionTokenResult'; /** Current connection status after token retrieval */ connectionStatus: ConnectionStatus; /** Error message if unsuccessful */ error?: Maybe; /** * Machine-readable reason when unsuccessful, for failures a consumer handles specially: * `EXTERNAL_SECRET_UNRESOLVED` when an external secret the connection references could not * be read. Null otherwise. */ errorCode?: Maybe; /** Whether the token retrieval was successful */ success: Scalars['Boolean']['output']; /** The decrypted token data */ token?: Maybe; /** Whether the token was refreshed during this request */ wasRefreshed: Scalars['Boolean']['output']; }; /** Who can reach a connection beyond its owner (BOFF-9726). */ export declare enum ConnectionVisibility { /** * Only the owner, the people, groups and projects it is shared with, and workspace administrators, * who can see and manage it but not use it */ Restricted = "RESTRICTED", /** Everyone in the workspace whose role allows it: how every connection behaved before sharing */ Workspace = "WORKSPACE" } /** Where an API key connector sends the key. */ export declare enum ConnectorApiKeyPlacement { /** In a request header named by `apiKeyName`. */ Header = "HEADER", /** In a query parameter named by `apiKeyName`. */ Query = "QUERY" } /** * The OAuth client of your app in the environment you submit to. Alpha and * production are separate catalogs, so submit (and register the redirect URI) * in each environment with that environment's client. */ export type ConnectorOAuthClientInput = { clientId: Scalars['String']['input']; /** Write-only. Encrypted before it is stored and never returned. */ clientSecret: Scalars['String']['input']; }; /** OAuth 2.0 settings. Required for, and only allowed with, authType OAUTH2. */ export type ConnectorOAuthInput = { /** The https authorization endpoint, without a query string. */ authorizeUrl: Scalars['String']['input']; clientId: Scalars['String']['input']; /** Write-only. Encrypted before it is stored and never returned. */ clientSecret: Scalars['String']['input']; /** Use PKCE (S256). Defaults to true. */ pkce?: InputMaybe; /** Optional https token revocation endpoint (RFC 7009). */ revokeUrl?: InputMaybe; /** Defaults to SPACE. */ scopeSeparator?: InputMaybe; /** Scopes to request (at most 50). */ scopes?: InputMaybe>; /** Defaults to CLIENT_SECRET_POST. */ tokenAuthMethod?: InputMaybe; /** The https token endpoint, without a query string. */ tokenUrl: Scalars['String']['input']; /** Optional https endpoint returning the signed-in account as JSON. */ userInfoUrl?: InputMaybe; }; /** How an OAuth 2.0 connector joins the scopes it requests. */ export declare enum ConnectorOAuthScopeSeparator { /** Comma separated, for APIs that expect it. */ Comma = "COMMA", /** Space separated, as RFC 6749 specifies. */ Space = "SPACE" } /** How an OAuth 2.0 connector's client authenticates to the token endpoint. */ export declare enum ConnectorOAuthTokenAuthMethod { /** HTTP Basic authentication (client_secret_basic). */ ClientSecretBasic = "CLIENT_SECRET_BASIC", /** client_id and client_secret as form fields (client_secret_post). */ ClientSecretPost = "CLIENT_SECRET_POST" } /** A third-party connector submitted for the integrations catalog. */ export type ConnectorSubmission = { __typename?: 'ConnectorSubmission'; apiKeyName?: Maybe; apiKeyPlacement?: Maybe; apiKeyPrefix?: Maybe; apiVersion?: Maybe; /** API_KEY, BEARER_TOKEN, BASIC_AUTH or OAUTH2. */ authType: AuthType; baseUrl: Scalars['String']['output']; category: ProviderCategory; color?: Maybe; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; docsUrl: Scalars['String']['output']; icon?: Maybe; id: Scalars['ID']['output']; /** True while the submission waits for review past `reviewDueAt`. */ isReviewOverdue: Scalars['Boolean']['output']; /** Requested catalog key; becomes the provider key on approval. */ key: Scalars['String']['output']; name: Scalars['String']['output']; /** OAuth 2.0 settings; null for other auth types. */ oauth?: Maybe; privacyPolicyUrl: Scalars['String']['output']; /** The catalog provider created on approval. */ providerId?: Maybe; publisherName: Scalars['String']['output']; repositoryUrl?: Maybe; /** Review service level: when a reviewer is due to have decided (5 business days). */ reviewDueAt: Scalars['DateTime']['output']; reviewNotes?: Maybe; reviewedAt?: Maybe; status: ConnectorSubmissionStatus; submittedAt: Scalars['DateTime']['output']; /** Actor id of the developer who submitted it. */ submittedBy: Scalars['ID']['output']; submitterNotes?: Maybe; supportEmail: Scalars['String']['output']; supportedFeatures: Array; termsUrl?: Maybe; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; website: Scalars['String']['output']; }; export type ConnectorSubmissionFilterInput = { status?: InputMaybe; }; export type ConnectorSubmissionList = { __typename?: 'ConnectorSubmissionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** * OAuth 2.0 settings of a connector submission. The client secret is * write-only: it is never returned, only whether one is stored. */ export type ConnectorSubmissionOAuth = { __typename?: 'ConnectorSubmissionOAuth'; authorizeUrl: Scalars['String']['output']; /** The OAuth client id of your app in this environment. */ clientId: Scalars['String']['output']; /** When the OAuth client was last supplied. */ clientUpdatedAt?: Maybe; /** True when a client secret is stored. The secret itself is never returned. */ hasClientSecret: Scalars['Boolean']['output']; /** Whether the authorization code flow uses PKCE (S256). */ pkce: Scalars['Boolean']['output']; revokeUrl?: Maybe; scopeSeparator: ConnectorOAuthScopeSeparator; /** Scopes requested when a workspace connects. */ scopes: Array; tokenAuthMethod: ConnectorOAuthTokenAuthMethod; tokenUrl: Scalars['String']['output']; userInfoUrl?: Maybe; }; /** Review queue counters for platform reviewers. */ export type ConnectorSubmissionReviewStats = { __typename?: 'ConnectorSubmissionReviewStats'; /** Pending submissions past their review due time. */ overdue: Scalars['Int']['output']; pending: Scalars['Int']['output']; }; /** Where a connector submission is in review. */ export declare enum ConnectorSubmissionStatus { /** Approved and installed in the catalog. */ Approved = "APPROVED", /** Waiting for a platform reviewer. */ PendingReview = "PENDING_REVIEW", /** Rejected; `reviewNotes` says why. */ Rejected = "REJECTED", /** Withdrawn by the developer before a decision. */ Withdrawn = "WITHDRAWN" } /** A bookable appointment window (BOFF-6030). */ export type ConsultSlot = { __typename?: 'ConsultSlot'; /** * False when someone already holds this time. * * Taken slots are returned rather than omitted: a picker that hides 10:00 looks like a consultant * who does not work then, where a disabled 10:00 says someone else got there first. */ available: Scalars['Boolean']['output']; end: Scalars['String']['output']; start: Scalars['String']['output']; }; export type Consultation = { __typename?: 'Consultation'; consultantId: Scalars['String']['output']; consultantName: Scalars['String']['output']; consultantType: ConsultationConsultantType; createdAt: Scalars['String']['output']; fee: Scalars['Float']['output']; id: Scalars['ID']['output']; mode: Scalars['String']['output']; notes?: Maybe; /** * The requested day. Kept alongside `slotStart`: consultations booked before BOFF-6030 carry a day * and no time, and must keep rendering. */ requestedDate: Scalars['String']['output']; slotEnd?: Maybe; /** BOFF-6030 — the agreed appointment window. Null on a consultation booked before slots existed. */ slotStart?: Maybe; status: ConsultationStatus; topic: Scalars['String']['output']; }; export declare enum ConsultationConsultantType { Expert = "EXPERT", Mentor = "MENTOR" } export declare enum ConsultationStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", Requested = "REQUESTED" } export type ContainerActionResponse = MutationResponse & { __typename?: 'ContainerActionResponse'; message: Scalars['String']['output']; result?: Maybe; success: Scalars['Boolean']['output']; }; export type ContainerActionResult = { __typename?: 'ContainerActionResult'; affectedContainers?: Maybe>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type ContainerPort = { __typename?: 'ContainerPort'; containerPort: Scalars['Int']['output']; name?: Maybe; protocol?: Maybe; }; export type ContainerPortInput = { containerPort: Scalars['Int']['input']; name?: InputMaybe; protocol?: InputMaybe; }; export type ContainerResources = { __typename?: 'ContainerResources'; limitsCpu?: Maybe; limitsMemory?: Maybe; requestsCpu?: Maybe; requestsMemory?: Maybe; }; export type ContainerResourcesInput = { limitsCpu?: InputMaybe; limitsMemory?: InputMaybe; requestsCpu?: InputMaybe; requestsMemory?: InputMaybe; }; export type ContainerSpec = { __typename?: 'ContainerSpec'; args?: Maybe>; command?: Maybe>; env?: Maybe>; image: Scalars['String']['output']; name: Scalars['String']['output']; ports?: Maybe>; resources?: Maybe; }; export type ContainerSpecInput = { args?: InputMaybe>; command?: InputMaybe>; env?: InputMaybe>; image: Scalars['String']['input']; name: Scalars['String']['input']; ports?: InputMaybe>; resources?: InputMaybe; }; export type ContainerStatus = { __typename?: 'ContainerStatus'; name: Scalars['String']['output']; port?: Maybe; ready: Scalars['Boolean']['output']; restartCount?: Maybe; }; export type ContentIndexFilterInput = { contentType?: InputMaybe; indexedAfter?: InputMaybe; indexedBefore?: InputMaybe; language?: InputMaybe; status?: InputMaybe; }; export type ContentIndexStats = { __typename?: 'ContentIndexStats'; averageIndexingTime?: Maybe; failedFiles: Scalars['Int']['output']; indexCoverage: Scalars['Float']['output']; indexedFiles: Scalars['Int']['output']; indexingFiles: Scalars['Int']['output']; lastIndexedAt?: Maybe; notIndexedFiles: Scalars['Int']['output']; totalFiles: Scalars['Int']['output']; totalWordCount: Scalars['BigInt']['output']; }; export declare enum ContentSearchEngine { /** Full-text search with PostgreSQL */ Postgresql = "POSTGRESQL", /** Simple text-based search */ Simple = "SIMPLE" } export type ContentSearchInput = { /** File extensions to search */ extensions?: InputMaybe>; /** Optional folder ID to limit search scope */ folderId?: InputMaybe; /** Enable fuzzy matching (default: false) */ fuzzy?: InputMaybe; /** Maximum number of highlights per result (default: 3) */ maxHighlights?: InputMaybe; /** File types to search (MIME types) */ mimeTypes?: InputMaybe>; /** Minimum match score (0-1, default: 0.1) */ minScore?: InputMaybe; /** Pagination */ pagination?: InputMaybe; /** Search query */ query: Scalars['String']['input']; /** Search engine to use (default: POSTGRESQL) */ searchEngine?: InputMaybe; }; export type ContentSearchResponse = { __typename?: 'ContentSearchResponse'; executionTimeMs: Scalars['Int']['output']; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; query: Scalars['String']['output']; results: Array; searchEngine: ContentSearchEngine; suggestions?: Maybe>; total: Scalars['Int']['output']; }; export type ContentSearchResult = { __typename?: 'ContentSearchResult'; contentType?: Maybe; file: File; fileId: Scalars['ID']['output']; highlights: Array; language?: Maybe; matchCount: Scalars['Int']['output']; matchScore: Scalars['Float']['output']; pageCount?: Maybe; wordCount?: Maybe; }; export declare enum ContentSearchStatus { /** Content indexing failed */ Failed = "FAILED", /** Content is indexed and searchable */ Indexed = "INDEXED", /** Content indexing is in progress */ Indexing = "INDEXING", /** Content is not indexed (unsupported format) */ NotIndexed = "NOT_INDEXED" } /** Content type enum */ export declare enum ContentType { Html = "HTML", Markdown = "MARKDOWN", RichText = "RICH_TEXT", Text = "TEXT" } /** * Context filter input for querying records by context. * Supports exact match filtering on context fields. */ export type ContextFilterInput = { /** Filter by app ID */ appId?: InputMaybe; /** Filter by project ID */ projectId?: InputMaybe; /** Filter by user ID */ userId?: InputMaybe; /** Filter by workspace ID */ workspaceId?: InputMaybe; }; /** * Operation context for filtering and scoping data. * All fields are optional and can be extended as needed. */ export type ContextInput = { /** App ID for app-level scoping */ appId?: InputMaybe; /** Additional custom context as JSON */ custom?: InputMaybe; /** Project ID for project-level scoping */ projectId?: InputMaybe; /** User ID for user-level scoping */ userId?: InputMaybe; /** Workspace ID for workspace-level scoping */ workspaceId?: InputMaybe; }; export type ContextMessageAttachmentInput = { downloadUrl?: InputMaybe; duration?: InputMaybe; fileId: Scalars['ID']['input']; fileName?: InputMaybe; fileSize?: InputMaybe; height?: InputMaybe; mimeType?: InputMaybe; thumbnail?: InputMaybe; width?: InputMaybe; }; export type ContinuousOptimisationSettings = { __typename?: 'ContinuousOptimisationSettings'; /** Optimisation is opt-in per workspace and off by default. */ enabled: Scalars['Boolean']['output']; enabledAt?: Maybe; enabledBy?: Maybe; /** True while the fluidgrids.continuous-optimisation flag is on for the workspace (named like runFailureTriageSettings.killSwitchOn). False means the kill switch has stopped optimisation: nothing scans and the suggestions are hidden. */ killSwitchOn: Scalars['Boolean']['output']; lastDigestAt?: Maybe; lastScanAt?: Maybe; /** Counts from the last scan: workflowsScanned, created, updated, reopened, resolved, deferred, openSuggestions. */ lastScanSummary?: Maybe; /** The nightly scan and the weekly digest system workflows, once seeded. */ systemWorkflows: Array; }; export type ContributorStats = { __typename?: 'ContributorStats'; itemsAdded: Scalars['Int']['output']; lastContribution: Scalars['DateTime']['output']; user: User; userId: Scalars['ID']['output']; }; export type Conversation = { __typename?: 'Conversation'; activeCall?: Maybe; apps: Array; avatar?: Maybe; callHistory: CallSessionConnection; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; currentUserMembership?: Maybe; deletedAt?: Maybe; description?: Maybe; features: ConversationFeatures; id: Scalars['ID']['output']; isGroup: Scalars['Boolean']['output']; lastMessage?: Maybe; memberCount: Scalars['Int']['output']; members: ConversationMembershipConnection; mentionCount: Scalars['Int']['output']; messages: MessageConnection; pinnedMessages: Array; settings?: Maybe; state: ConversationState; tags: Array; title?: Maybe; type: ConversationType; unreadCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; visibility: ConversationVisibility; workspaceId: Scalars['ID']['output']; }; export type ConversationCallHistoryArgs = { after?: InputMaybe; first?: InputMaybe; }; export type ConversationMembersArgs = { after?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; }; export type ConversationMessagesArgs = { after?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; }; export type ConversationPinnedMessagesArgs = { first?: InputMaybe; }; export type ConversationConnection = { __typename?: 'ConversationConnection'; edges: Array; pageInfo: PageInfo; totalCount?: Maybe; }; export type ConversationDeletedPayload = { __typename?: 'ConversationDeletedPayload'; conversationId: Scalars['ID']['output']; deletedBy: Scalars['ID']['output']; }; export type ConversationEdge = { __typename?: 'ConversationEdge'; cursor: Scalars['String']['output']; node: Conversation; }; export type ConversationFeatures = { __typename?: 'ConversationFeatures'; anonymousMode: Scalars['Boolean']['output']; apps: Scalars['Boolean']['output']; calls: Scalars['Boolean']['output']; mentions: Scalars['Boolean']['output']; polls: Scalars['Boolean']['output']; reactions: Scalars['Boolean']['output']; recording: Scalars['Boolean']['output']; screenShare: Scalars['Boolean']['output']; threads: Scalars['Boolean']['output']; }; export type ConversationFilter = { hasMentions?: InputMaybe; hasUnread?: InputMaybe; isPinned?: InputMaybe; states?: InputMaybe>; tags?: InputMaybe>; types?: InputMaybe>; visibility?: InputMaybe; }; export type ConversationMembership = { __typename?: 'ConversationMembership'; canAddMembers: Scalars['Boolean']['output']; canRemoveMembers: Scalars['Boolean']['output']; canSendMessages: Scalars['Boolean']['output']; conversation?: Maybe; conversationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; customAvatar?: Maybe; customTitle?: Maybe; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; invitedBy?: Maybe; isMuted: Scalars['Boolean']['output']; isPinned: Scalars['Boolean']['output']; joinedAt: Scalars['DateTime']['output']; lastReadAt?: Maybe; lastReadMessageId?: Maybe; leftAt?: Maybe; mentionCount: Scalars['Int']['output']; metadata?: Maybe; notificationLevel: NotificationLevel; pinnedOrder?: Maybe; role: ParticipantRole; status: MembershipStatus; unreadCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ConversationMembershipConnection = { __typename?: 'ConversationMembershipConnection'; edges: Array; pageInfo: PageInfo; totalCount?: Maybe; }; export type ConversationMembershipEdge = { __typename?: 'ConversationMembershipEdge'; cursor: Scalars['String']['output']; node: ConversationMembership; }; export type ConversationMembershipFilter = { roles?: InputMaybe>; statuses?: InputMaybe>; }; export declare enum ConversationPermission { DeleteMessages = "DELETE_MESSAGES", EditMessages = "EDIT_MESSAGES", InstallApps = "INSTALL_APPS", ManageParticipants = "MANAGE_PARTICIPANTS", ManageSettings = "MANAGE_SETTINGS", ManageTags = "MANAGE_TAGS", Moderate = "MODERATE", PinMessages = "PIN_MESSAGES", ReadMessages = "READ_MESSAGES", SendMessages = "SEND_MESSAGES", StartCalls = "START_CALLS" } export type ConversationSettings = { __typename?: 'ConversationSettings'; allowAnonymous: Scalars['Boolean']['output']; allowGuests: Scalars['Boolean']['output']; allowInviteLinks: Scalars['Boolean']['output']; allowMessageDeletion: Scalars['Boolean']['output']; allowMessageEditing: Scalars['Boolean']['output']; appsEnabled: Scalars['Boolean']['output']; autoModeration: Scalars['Boolean']['output']; callsEnabled: Scalars['Boolean']['output']; defaultNotificationLevel: NotificationLevel; mentionsEnabled: Scalars['Boolean']['output']; messageRetentionDays?: Maybe; metadata?: Maybe; moderationEnabled: Scalars['Boolean']['output']; reactionsEnabled: Scalars['Boolean']['output']; showReadReceipts: Scalars['Boolean']['output']; showTypingIndicators: Scalars['Boolean']['output']; slowModeSeconds?: Maybe; threadsEnabled: Scalars['Boolean']['output']; }; export type ConversationSettingsInput = { allowAnonymous?: InputMaybe; allowGuests?: InputMaybe; allowInviteLinks?: InputMaybe; allowMessageDeletion?: InputMaybe; allowMessageEditing?: InputMaybe; appsEnabled?: InputMaybe; autoModeration?: InputMaybe; callsEnabled?: InputMaybe; defaultNotificationLevel?: InputMaybe; mentionsEnabled?: InputMaybe; messageRetentionDays?: InputMaybe; metadata?: InputMaybe; moderationEnabled?: InputMaybe; reactionsEnabled?: InputMaybe; showReadReceipts?: InputMaybe; showTypingIndicators?: InputMaybe; slowModeSeconds?: InputMaybe; threadsEnabled?: InputMaybe; }; export type ConversationSort = { direction: SortDirection; field: ConversationSortField; }; export declare enum ConversationSortField { CreatedAt = "CREATED_AT", LastMessageAt = "LAST_MESSAGE_AT", Title = "TITLE", UpdatedAt = "UPDATED_AT" } export type ConversationSourceContextInput = { activeTab?: InputMaybe; contextHref: Scalars['String']['input']; contextTitle?: InputMaybe; entityId?: InputMaybe; entityType?: InputMaybe; metadata?: InputMaybe; pagePath: Scalars['String']['input']; product: Scalars['String']['input']; threadKey: Scalars['String']['input']; widgetKey: Scalars['String']['input']; }; export declare enum ConversationState { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED" } export type ConversationTurnInput = { content: Scalars['String']['input']; /** Either "user" or "assistant". */ role: Scalars['String']['input']; }; export declare enum ConversationType { Announcement = "ANNOUNCEMENT", Bot = "BOT", Broadcast = "BROADCAST", Channel = "CHANNEL", Direct = "DIRECT", Group = "GROUP", Support = "SUPPORT" } export type ConversationUpdatedPayload = { __typename?: 'ConversationUpdatedPayload'; changes: Array; conversation: Conversation; }; export declare enum ConversationVisibility { Private = "PRIVATE", Protected = "PROTECTED", Public = "PUBLIC" } export type ConversationalEditInput = { /** The dashboard spec currently being edited (JSON), if any. */ currentSpec?: InputMaybe; /** Prior conversation turns, oldest first, for context. */ history?: InputMaybe>; /** The user's natural-language instruction or question. */ message: Scalars['String']['input']; }; export type ConversationalEditResult = { __typename?: 'ConversationalEditResult'; /** A short natural-language reply from the assistant. */ assistantMessage: Scalars['String']['output']; /** Detected intent: CREATE | EDIT | EXPLAIN | OTHER. */ intent: Scalars['String']['output']; /** The updated dashboard spec (JSON) after applying the message, when the intent changes it. */ spec?: Maybe; }; export type ConversationsEraseResult = { __typename?: 'ConversationsEraseResult'; anonymised: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; notes?: Maybe; purged: Scalars['Int']['output']; retainedForLegalReason?: Maybe; service: Scalars['String']['output']; }; export declare enum ConversationsExportFormat { Csv = "CSV", Json = "JSON" } export type ConversationsExportJobResponse = { __typename?: 'ConversationsExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CooAddLookbookEntryInput = { lookId?: InputMaybe; lookbookId: Scalars['ID']['input']; note?: InputMaybe; position?: InputMaybe; styleItemId?: InputMaybe; }; export type CooAddToCartInput = { colour?: InputMaybe; /** * The published look the piece is being bought from ("shop the look"). The look's author earns * the creator commission when the order is paid. */ lookId?: InputMaybe; quantity?: InputMaybe; size?: InputMaybe; styleItemId: Scalars['ID']['input']; }; export declare enum CooAdminDecision { Approve = "APPROVE", Reject = "REJECT" } export type CooApproveReturnRequestInput = { brandId: Scalars['ID']['input']; /** * Optional note to the shopper (3 to 1000 characters), used as the refund reason. Defaults to the * shopper's own reason. */ note?: InputMaybe; orderId: Scalars['ID']['input']; }; export type CooBestPriceSummary = { __typename?: 'CooBestPriceSummary'; currency: Scalars['String']['output']; lowestPriceMinor?: Maybe; offerCount: Scalars['Int']['output']; styleItemId: Scalars['ID']['output']; }; export type CooBrand = { __typename?: 'CooBrand'; aesthetics: Array; bio?: Maybe; /** * Cursor-paginated — pass `pagination` to page through a brand with many * collections rather than loading them all in one response. */ collections: CooCollectionConnection; /** Reference to a wspace-files-svc File for the storefront cover image. */ cover?: Maybe; createdAt: Scalars['DateTime']['output']; handle: Scalars['String']['output']; id: Scalars['ID']['output']; isFeatured: Scalars['Boolean']['output']; /** * Cursor-paginated — pass `pagination` to page through a brand with many * style items rather than loading them all in one response. */ items: CooStyleItemConnection; /** Reference to a wspace-files-svc File for the storefront logo. */ logo?: Maybe; name: Scalars['String']['output']; status: CooBrandStatus; tagline?: Maybe; tags: Array; updatedAt: Scalars['DateTime']['output']; websiteUrl?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CooBrandCollectionsArgs = { pagination?: InputMaybe; }; export type CooBrandItemsArgs = { pagination?: InputMaybe; }; export type CooBrandConnection = { __typename?: 'CooBrandConnection'; items: Array; pageInfo: CooPageInfo; }; /** A paid order as one brand sees it: only that brand's lines and that brand's fulfilment. */ export type CooBrandOrder = { __typename?: 'CooBrandOrder'; brandId: Scalars['ID']['output']; /** Total of this brand's lines, before tax. */ brandSubtotal: Scalars['Float']['output']; buyerNote?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; fulfilment: CooOrderFulfilment; id: Scalars['ID']['output']; /** Number of this brand's pieces in the order. */ itemCount: Scalars['Int']['output']; items: Array; orderNumber: Scalars['String']['output']; paidAt?: Maybe; /** The brand's refund of this order, once it started one. */ refund?: Maybe; /** The shopper's return request for this brand's pieces, if they asked for one. */ returnRequest?: Maybe; shippingAddress?: Maybe; shippingName?: Maybe; status: CooOrderStatus; }; export type CooBrandOrderConnection = { __typename?: 'CooBrandOrderConnection'; items: Array; pageInfo: CooPageInfo; }; /** How many of a brand's paid orders are in each fulfilment state. */ export type CooBrandOrderSummary = { __typename?: 'CooBrandOrderSummary'; brandId: Scalars['ID']['output']; confirmed: Scalars['Int']['output']; delivered: Scalars['Int']['output']; /** Orders whose pieces the brand refunded (not counted in the fulfilment states). */ refunded: Scalars['Int']['output']; shipped: Scalars['Int']['output']; total: Scalars['Int']['output']; unfulfilled: Scalars['Int']['output']; }; export declare enum CooBrandStatus { Archived = "ARCHIVED", Draft = "DRAFT", PendingReview = "PENDING_REVIEW", Published = "PUBLISHED", Suspended = "SUSPENDED" } export type CooBulkCatalogImportResult = { __typename?: 'CooBulkCatalogImportResult'; brand: CooBrand; collectionsCreated: Scalars['Int']['output']; itemsCreated: Scalars['Int']['output']; }; export type CooBulkImportCatalogCollectionInput = { coverFileId?: InputMaybe; description?: InputMaybe; endAt?: InputMaybe; name: Scalars['String']['input']; publishAt?: InputMaybe; season?: InputMaybe; tags?: InputMaybe>; }; export type CooBulkImportCatalogInput = { brand: CooCreateBrandInput; collections?: InputMaybe>; items: Array; }; export type CooBulkImportCatalogItemInput = { category?: InputMaybe; collectionName: Scalars['String']['input']; colours?: InputMaybe>; currency?: InputMaybe; description?: InputMaybe; imageFileId?: InputMaybe; materials?: InputMaybe>; name: Scalars['String']['input']; price?: InputMaybe; sizes?: InputMaybe>; sku?: InputMaybe; tags?: InputMaybe>; }; export type CooBuyStoreListedPieceInput = { buyerNote?: InputMaybe; colour?: InputMaybe; quantity?: InputMaybe; shippingAddress: Scalars['String']['input']; shippingName: Scalars['String']['input']; size?: InputMaybe; styleItemId: Scalars['ID']['input']; }; export type CooCart = { __typename?: 'CooCart'; /** Why the cart cannot be checked out yet, when canCheckout is false and the cart is not empty. */ blockedReason?: Maybe; /** True when every line can be checked out together (all purchasable, one currency). */ canCheckout: Scalars['Boolean']['output']; /** Currency of the cart, or null when the cart is empty. */ currency?: Maybe; itemCount: Scalars['Int']['output']; items: Array; /** Subtotal of the purchasable lines, before tax. Tax is computed by billing at checkout. */ subtotal: Scalars['Float']['output']; }; export type CooCartItem = { __typename?: 'CooCartItem'; /** * Units of this size/colour still in stock while the piece tracks stock (BOFF-9637); null when * it does not. A line asking for more than this is not purchasable. */ availableQuantity?: Maybe; colour?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; /** False when the piece can no longer be bought (retired, out of stock or removed). */ isPurchasable: Scalars['Boolean']['output']; lineTotal: Scalars['Float']['output']; lookId?: Maybe; quantity: Scalars['Int']['output']; size?: Maybe; styleItem?: Maybe; styleItemId: Scalars['ID']['output']; /** Current catalog price of the piece. The price is fixed onto the order at checkout. */ unitPrice: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum CooCatalogProvider { Bigcommerce = "BIGCOMMERCE", Shopify = "SHOPIFY", Woocommerce = "WOOCOMMERCE" } export type CooCheckoutInput = { buyerNote?: InputMaybe; shippingAddress: Scalars['String']['input']; shippingName: Scalars['String']['input']; }; export type CooCollaboration = { __typename?: 'CooCollaboration'; brand?: Maybe; brandId: Scalars['ID']['output']; brief?: Maybe; collectionId?: Maybe; compensation: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; endDate?: Maybe; id: Scalars['ID']['output']; /** * Cursor-paginated — pass `pagination` to page through a collaboration with * many attributed looks rather than loading them all in one response. */ looks: CooLookConnection; /** * The compensation this collaboration owes its creator, once it is published. Null when nothing * is owed: no compensation was agreed, the creator is the brand owner, or the collaboration was * published before on-platform payouts. */ payout?: Maybe; publishedAt?: Maybe; quotedDeliverables: Array; quotedDeliveryDays?: Maybe; rateCardId?: Maybe; rateCardRevision?: Maybe; rateCardTitle?: Maybe; role: CooCollaboratorRole; startDate?: Maybe; status: CooCollaborationStatus; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooCollaborationLooksArgs = { pagination?: InputMaybe; }; export type CooCollaborationConnection = { __typename?: 'CooCollaborationConnection'; items: Array; pageInfo: CooPageInfo; }; /** * A collaboration brief drafted for human review. It is not saved; create it * with cooCreateCollaboration. */ export type CooCollaborationDraft = { __typename?: 'CooCollaborationDraft'; brandId: Scalars['ID']['output']; brief: Scalars['String']['output']; creatorId: Scalars['ID']['output']; role: CooCollaboratorRole; status: CooCollaborationStatus; title: Scalars['String']['output']; }; export type CooCollaborationMatchResult = { __typename?: 'CooCollaborationMatchResult'; brandId: Scalars['ID']['output']; /** The brand's published style items the brand profile is built from. */ brandStyleItemIds: Array; /** Creators skipped because they already have an open collaboration with the brand. */ excludedCreatorIds: Array; matches: Array; provenance: CooDecisionProvenance; }; /** Everything the browser needs to open the payment provider's checkout for a collaboration fee. */ export type CooCollaborationPaymentCheckout = { __typename?: 'CooCollaborationPaymentCheckout'; clientSecret?: Maybe; currency: Scalars['String']['output']; payout: CooCollaborationPayout; provider: Scalars['String']['output']; /** Razorpay order id (order_xxx) the checkout widget opens with. */ providerOrderId?: Maybe; razorpayKeyId?: Maybe; stripePublishableKey?: Maybe; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; }; /** The agreed compensation a published collaboration owes its creator, and its payment. */ export type CooCollaborationPayout = { __typename?: 'CooCollaborationPayout'; /** The compensation agreed when the collaboration was published. */ amount: Scalars['Float']['output']; brandId: Scalars['ID']['output']; collaborationId: Scalars['ID']['output']; collaborationTitle?: Maybe; createdAt: Scalars['DateTime']['output']; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; /** When the creator can request the fee as a payout; null until the brand has paid. */ earningAvailableAt?: Maybe; /** Whether the creator's fee is on global-billing's earnings ledger; null until the brand has paid. */ earningSyncStatus?: Maybe; id: Scalars['ID']['output']; paidAt?: Maybe; paymentProvider?: Maybe; status: CooCollaborationPayoutStatus; updatedAt: Scalars['DateTime']['output']; }; export type CooCollaborationPayoutConnection = { __typename?: 'CooCollaborationPayoutConnection'; items: Array; pageInfo: CooPageInfo; }; export declare enum CooCollaborationPayoutStatus { /** The collaboration is published and the brand has not paid the agreed compensation yet. */ AwaitingPayment = "AWAITING_PAYMENT", /** global-billing confirmed the brand's payment; the fee is the creator's earning. */ Paid = "PAID" } export declare enum CooCollaborationStatus { Accepted = "ACCEPTED", Cancelled = "CANCELLED", Declined = "DECLINED", InProgress = "IN_PROGRESS", Proposed = "PROPOSED", Published = "PUBLISHED" } export declare enum CooCollaboratorRole { Brand = "BRAND", Creator = "CREATOR", Photographer = "PHOTOGRAPHER", Stylist = "STYLIST" } export type CooCollection = { __typename?: 'CooCollection'; brand?: Maybe; brandId: Scalars['ID']['output']; cover?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; endAt?: Maybe; id: Scalars['ID']['output']; /** * Cursor-paginated — pass `pagination` to page through a collection with many * style items rather than loading them all in one response. */ items: CooStyleItemConnection; name: Scalars['String']['output']; publishAt?: Maybe; season: CooSeason; status: CooCollectionStatus; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooCollectionItemsArgs = { pagination?: InputMaybe; }; export type CooCollectionConnection = { __typename?: 'CooCollectionConnection'; items: Array; pageInfo: CooPageInfo; }; /** * An advisory proposal. Nothing is written; apply it with cooUpdateCollection / * cooPublishCollection. */ export type CooCollectionCuration = { __typename?: 'CooCollectionCuration'; /** Number of proposed pieces that still have at least one publish blocker. */ blockedCount: Scalars['Int']['output']; brandId: Scalars['ID']['output']; outliers: Array; proposed: Array; provenance: CooDecisionProvenance; season: CooSeason; storyMaterials: Array; storyPalette: Array; }; export declare enum CooCollectionStatus { Archived = "ARCHIVED", Draft = "DRAFT", Ended = "ENDED", Live = "LIVE", Scheduled = "SCHEDULED" } export declare enum CooCommissionReversalStatus { /** Billing could not be reached; the reversal is retried automatically. */ Failed = "FAILED", /** Not reversed. */ None = "NONE", /** The line was refunded after the commission was already reserved for, or paid in, a payout. */ NotReversible = "NOT_REVERSIBLE", /** The line was refunded; the reversal is waiting for billing to confirm it. */ Pending = "PENDING", /** Reversed: the creator will not be paid this commission. */ Reversed = "REVERSED" } export type CooComparedRetailerOffer = { __typename?: 'CooComparedRetailerOffer'; currency: Scalars['String']['output']; gtin?: Maybe; id: Scalars['ID']['output']; inStock: Scalars['Boolean']['output']; name: Scalars['String']['output']; observedAt: Scalars['DateTime']['output']; priceMinor: Scalars['Int']['output']; productUrl: Scalars['String']['output']; retailerId: Scalars['ID']['output']; retailerName: Scalars['String']['output']; retailerSku: Scalars['String']['output']; }; export type CooCreateBrandInput = { aesthetics?: InputMaybe>; bio?: InputMaybe; coverFileId?: InputMaybe; handle: Scalars['String']['input']; logoFileId?: InputMaybe; name: Scalars['String']['input']; tagline?: InputMaybe; tags?: InputMaybe>; websiteUrl?: InputMaybe; }; export type CooCreateCollaborationInput = { brandId: Scalars['ID']['input']; brief?: InputMaybe; collectionId?: InputMaybe; compensation?: InputMaybe; creatorId: Scalars['ID']['input']; currency?: InputMaybe; endDate?: InputMaybe; role?: InputMaybe; startDate?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CooCreateCollectionInput = { brandId: Scalars['ID']['input']; coverFileId?: InputMaybe; description?: InputMaybe; endAt?: InputMaybe; name: Scalars['String']['input']; publishAt?: InputMaybe; season?: InputMaybe; tags?: InputMaybe>; }; export type CooCreateLookInput = { caption?: InputMaybe; collaborationId?: InputMaybe; imageFileId?: InputMaybe; items?: InputMaybe>; occasion?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; visibility?: InputMaybe; }; export type CooCreateLookbookInput = { coverFileId?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; tags?: InputMaybe>; visibility?: InputMaybe; }; export type CooCreatePriceAlertInput = { currency: Scalars['String']['input']; styleItemId: Scalars['ID']['input']; targetPriceMinor?: InputMaybe; }; export type CooCreateStyleItemInput = { brandId: Scalars['ID']['input']; category?: InputMaybe; collectionId?: InputMaybe; colours?: InputMaybe>; currency?: InputMaybe; description?: InputMaybe; imageFileId?: InputMaybe; materials?: InputMaybe>; name: Scalars['String']['input']; price?: InputMaybe; sizes?: InputMaybe>; sku?: InputMaybe; tags?: InputMaybe>; }; export type CooCreateWardrobeItemInput = { brandName?: InputMaybe; category?: InputMaybe; colour?: InputMaybe; currency?: InputMaybe; imageFileId?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; purchasePrice?: InputMaybe; size?: InputMaybe; source?: InputMaybe; styleItemId?: InputMaybe; tags?: InputMaybe>; }; /** * The calling creator's dashboard in the selected workspace. Look engagement and follower * counts are current totals. Sales and recorded follower changes cover the last 30 days. * No buyer identity, other creator identity, payment credential or payout action is exposed. */ export type CooCreatorAnalytics = { __typename?: 'CooCreatorAnalytics'; asOf: Scalars['DateTime']['output']; /** * Attributed order lines paid within the period, excluding every pending or completed commission reversal. * This counts lines rather than item quantities. Collaboration fees are excluded. */ attributedSaleLines: Scalars['Int']['output']; attributedSalesAmount: Scalars['Float']['output']; /** * Accrued look commissions in the selected currency, not a withdrawable balance. * Billing synchronization and the return-window hold still govern payout availability. */ commissionAmount: Scalars['Float']['output']; currency: Scalars['String']['output']; followerCount: Scalars['Int']['output']; /** * First recorded follower change, or null when no change has been recorded yet. * This is not a complete historical backfill or a promise of full 30-day coverage. */ followerHistoryStartedAt?: Maybe; /** * Changes recorded from real edge inserts/deletes. Repeated follows/unfollows do not * inflate these counts. Earlier changes before recording began are unavailable. */ followersGained: Scalars['Int']['output']; followersLost: Scalars['Int']['output']; likeCount: Scalars['Int']['output']; lookCount: Scalars['Int']['output']; netFollowerChange: Scalars['Int']['output']; periodStart: Scalars['DateTime']['output']; saveCount: Scalars['Int']['output']; }; export type CooCreatorEarning = { __typename?: 'CooCreatorEarning'; amount: Scalars['Float']['output']; /** When the commission clears the return window and can be paid out. */ availableAt: Scalars['DateTime']['output']; billingSyncStatus: CooEarningSyncStatus; collaborationId?: Maybe; commissionRate: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; lookId?: Maybe; orderId: Scalars['ID']['output']; orderNumber?: Maybe; /** Whether the commission was reversed because its line was refunded. */ reversalStatus: CooCommissionReversalStatus; reversedAt?: Maybe; saleAmount: Scalars['Float']['output']; }; export type CooCreatorEarningConnection = { __typename?: 'CooCreatorEarningConnection'; items: Array; pageInfo: CooPageInfo; }; /** * A creator's commission balance. The amounts come from global-billing-svc's earnings ledger, * the system of record for balances and payouts. */ export type CooCreatorEarningsSummary = { __typename?: 'CooCreatorEarningsSummary'; availableAmount: Scalars['Float']['output']; /** False when billing could not be reached; the amounts then come from the local ledger only. */ billingAvailable: Scalars['Boolean']['output']; /** Commission rate applied to new look-attributed sales (0..1). */ commissionRate: Scalars['Float']['output']; currency?: Maybe; /** Days a commission waits (the return window) before it becomes available for payout. */ holdDays: Scalars['Int']['output']; paidAmount: Scalars['Float']['output']; pendingAmount: Scalars['Float']['output']; pendingPayoutCount: Scalars['Int']['output']; reservedAmount: Scalars['Float']['output']; totalLifetimeAmount: Scalars['Float']['output']; /** Commissions recorded locally but not yet confirmed on the billing ledger. */ unsyncedCount: Scalars['Int']['output']; }; export type CooCreatorMatch = { __typename?: 'CooCreatorMatch'; creatorId: Scalars['ID']['output']; draft: CooCollaborationDraft; /** The creator's published looks the match is built from. */ evidenceLookIds: Array; /** The brand's style items those looks already feature, if any. */ featuredBrandItemIds: Array; /** * 0..1 aesthetic fit between the brand's published catalog and the creator's * published looks. */ fitScore: Scalars['Float']['output']; reasons: Array; sharedCategories: Array; sharedColours: Array; sharedMaterials: Array; }; export type CooCreatorPayout = { __typename?: 'CooCreatorPayout'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; requestedAmount: Scalars['Float']['output']; status: Scalars['String']['output']; }; export type CooCreatorRateCard = { __typename?: 'CooCreatorRateCard'; compensation: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; creatorId: Scalars['ID']['output']; currency: Scalars['String']['output']; deliverables: Array; deliveryDays: Scalars['Int']['output']; id: Scalars['ID']['output']; isPublished: Scalars['Boolean']['output']; revision: Scalars['Int']['output']; role: CooCreatorServiceRole; summary?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooCreatorRateCardConnection = { __typename?: 'CooCreatorRateCardConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooCreatorRateCardInput = { compensation: Scalars['Float']['input']; currency: Scalars['String']['input']; deliverables: Array; deliveryDays: Scalars['Int']['input']; role: CooCreatorServiceRole; summary?: InputMaybe; title: Scalars['String']['input']; }; export declare enum CooCreatorServiceRole { Creator = "CREATOR", Photographer = "PHOTOGRAPHER", Stylist = "STYLIST" } export type CooCurationItem = { __typename?: 'CooCurationItem'; blockers: Array; /** 0..1 — how well the piece fits the story's palette, materials and season. */ coherence: Scalars['Float']['output']; /** Suggested position in the drop, starting at 0. Null for outliers. */ position?: Maybe; reasons: Array; styleItem: CooStyleItem; styleItemId: Scalars['ID']['output']; /** For an outlier, the season it appears to belong to instead. */ suggestedSeason?: Maybe; }; /** Where a decision came from. Every decision response carries one. */ export type CooDecisionProvenance = { __typename?: 'CooDecisionProvenance'; /** Number of real rows the engine considered. */ candidateCount: Scalars['Int']['output']; /** Decision key, e.g. `coolandlovely.suggest_outfit`. */ decision: Scalars['String']['output']; /** Unique id of this invocation; also the id of the emitted decision event. */ decisionId: Scalars['ID']['output']; /** Engine that produced the decision, e.g. `coolandlovely-rules-v1`. */ engine: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; /** True only when a language model contributed to the decision. */ modelBacked: Scalars['Boolean']['output']; }; /** One reason behind a recommendation, with the entity ids that support it. */ export type CooDecisionReason = { __typename?: 'CooDecisionReason'; code: Scalars['String']['output']; evidenceIds: Array; message: Scalars['String']['output']; }; export type CooDeclineReturnRequestInput = { brandId: Scalars['ID']['input']; /** Why the return is declined (3 to 1000 characters). Shown to the shopper. */ note: Scalars['String']['input']; orderId: Scalars['ID']['input']; }; export declare enum CooEarningSyncStatus { Failed = "FAILED", Pending = "PENDING", Synced = "SYNCED" } export type CooEditorialArticle = { __typename?: 'CooEditorialArticle'; authorName: Scalars['String']['output']; body: Scalars['String']['output']; brandIds: Array; collectionIds: Array; createdAt: Scalars['DateTime']['output']; features: Array; id: Scalars['ID']['output']; lookIds: Array; publishedAt?: Maybe; slug: Scalars['String']['output']; status: CooEditorialStatus; styleItemIds: Array; summary: Scalars['String']['output']; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooEditorialArticleConnection = { __typename?: 'CooEditorialArticleConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooEditorialArticleInput = { authorName: Scalars['String']['input']; /** Plain text; rendered without HTML interpretation. */ body: Scalars['String']['input']; brandIds?: InputMaybe>; collectionIds?: InputMaybe>; lookIds?: InputMaybe>; slug: Scalars['String']['input']; styleItemIds?: InputMaybe>; summary: Scalars['String']['input']; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CooEditorialFeatureConnection = { __typename?: 'CooEditorialFeatureConnection'; items: Array; pageInfo: CooPageInfo; }; export declare enum CooEditorialFeatureKind { Brand = "BRAND", Collection = "COLLECTION", Look = "LOOK", StyleItem = "STYLE_ITEM" } export type CooEditorialFeatureOption = { __typename?: 'CooEditorialFeatureOption'; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** Article-selected public excerpts; ownership and publication are rechecked at read time. */ export type CooEditorialRelatedContent = { __typename?: 'CooEditorialRelatedContent'; id: Scalars['ID']['output']; kind: CooEditorialFeatureKind; name: Scalars['String']['output']; summary: Scalars['String']['output']; }; export declare enum CooEditorialStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type CooExternalBrandPreview = { __typename?: 'CooExternalBrandPreview'; bio?: Maybe; /** Suggested storefront handle, derived from the store name. */ handle: Scalars['String']['output']; /** The store's logo on the platform's CDN, for the client to copy into Files. */ logoUrl?: Maybe; name: Scalars['String']['output']; tagline?: Maybe; tags: Array; websiteUrl?: Maybe; }; export type CooExternalCatalogItemPreview = { __typename?: 'CooExternalCatalogItemPreview'; /** Category inferred from the product type, name, tags and collections. */ category: CooStyleCategory; /** Name of the collection this item lands in; null when it belongs to none. */ collectionName?: Maybe; colours: Array; currency: Scalars['String']['output']; description?: Maybe; /** The product's id on the source platform. */ externalId: Scalars['ID']['output']; /** The product's main image on the platform's CDN, for the client to copy into Files. */ imageUrl?: Maybe; materials: Array; name: Scalars['String']['output']; price: Scalars['Float']['output']; sizes: Array; sku?: Maybe; /** The product's page on the merchant's store. */ sourceUrl?: Maybe; tags: Array; }; export type CooExternalCatalogPreview = { __typename?: 'CooExternalCatalogPreview'; brand: CooExternalBrandPreview; collections: Array; items: Array; provider: CooCatalogProvider; /** The merchant's storefront address. */ sourceUrl?: Maybe; /** True when the store holds more products than were fetched (raise maxItems or import in batches). */ truncated: Scalars['Boolean']['output']; /** Non-fatal notes for the merchant, such as products that were skipped. */ warnings: Array; }; export type CooExternalCatalogSourceInput = { /** * WOOCOMMERCE: REST API consumer secret. Used for this request only and never * stored. */ accessSecret?: InputMaybe; /** * SHOPIFY: Storefront API access token. WOOCOMMERCE: REST API consumer key. * BIGCOMMERCE: store-level API account access token. Used for this request * only and never stored. */ accessToken?: InputMaybe; /** Most items to fetch (1 to 500, default 100). */ maxItems?: InputMaybe; provider: CooCatalogProvider; /** * Where the catalog lives. SHOPIFY: the shop's myshopify.com domain (or * mock.shop, Shopify's public sandbox, which needs no token). WOOCOMMERCE: the * store's HTTPS address. BIGCOMMERCE: the store hash. */ storeIdentifier: Scalars['String']['input']; }; export type CooExternalCollectionPreview = { __typename?: 'CooExternalCollectionPreview'; description?: Maybe; name: Scalars['String']['output']; tags: Array; }; export declare enum CooFulfilmentStatus { /** The brand has accepted the order and is preparing it. */ Confirmed = "CONFIRMED", /** The parcel reached the buyer. */ Delivered = "DELIVERED", /** The brand has handed the parcel to a carrier; tracking details are recorded. */ Shipped = "SHIPPED", /** Paid, and the brand has not yet confirmed its part of the order. */ Unfulfilled = "UNFULFILLED" } export type CooGenerateTrendReportInput = { /** Explicitly include the author's own cumulative wardrobe wear counts; publication shares these names/counts. */ includeWearCounts?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; title: Scalars['String']['input']; }; export type CooLegalAcceptance = { __typename?: 'CooLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: CooLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CooLegalAcceptanceConnection = { __typename?: 'CooLegalAcceptanceConnection'; items: Array; pageInfo: CooPageInfo; }; export declare enum CooLegalCheckpointType { /** * First use of an AI-assisted styling feature or an identity/brand * verification flow — records the actor's acknowledgement before the * feature runs for the first time in a workspace. */ AiFeatureFirstUse = "AI_FEATURE_FIRST_USE", /** * Tenant/workspace acceptance of the Data Processing Addendum, recorded once * per workspace by whichever actor accepts on the tenant's behalf. */ DpaAccept = "DPA_ACCEPT", /** CoolAndLovely Privacy Policy (coolandlovely.com/privacy). */ PrivacyAccept = "PRIVACY_ACCEPT", /** CoolAndLovely Terms of Service (coolandlovely.com/terms). */ TosAccept = "TOS_ACCEPT" } export type CooLook = { __typename?: 'CooLook'; authorId: Scalars['ID']['output']; caption?: Maybe; collaboration?: Maybe; collaborationId?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Reference to a wspace-files-svc File for the styled look photo. */ image?: Maybe; isFeatured: Scalars['Boolean']['output']; /** * Whether the calling actor currently likes this look. False for an * unauthenticated caller. Seeds the like-heart toggle's initial state. */ isLikedByMe: Scalars['Boolean']['output']; /** * Whether the calling actor currently has this look saved/bookmarked. False * for an unauthenticated caller. Seeds the save button's initial state. */ isSavedByMe: Scalars['Boolean']['output']; /** * Cursor-paginated — pass `pagination` to page through a look with many * clipped items rather than loading them all in one response. */ items: CooLookItemConnection; likeCount: Scalars['Int']['output']; occasion: CooLookOccasion; publishedAt?: Maybe; saveCount: Scalars['Int']['output']; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibility: CooVisibility; workspaceId: Scalars['ID']['output']; }; export type CooLookItemsArgs = { pagination?: InputMaybe; }; export type CooLookConnection = { __typename?: 'CooLookConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooLookItem = { __typename?: 'CooLookItem'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lookId: Scalars['ID']['output']; position: Scalars['Int']['output']; styleItem?: Maybe; styleItemId: Scalars['ID']['output']; styling?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooLookItemConnection = { __typename?: 'CooLookItemConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooLookItemInput = { position?: InputMaybe; styleItemId: Scalars['ID']['input']; styling?: InputMaybe; }; export declare enum CooLookOccasion { Active = "ACTIVE", Evening = "EVENING", Everyday = "EVERYDAY", Other = "OTHER", Party = "PARTY", Vacation = "VACATION", WeddingGuest = "WEDDING_GUEST", Work = "WORK" } export type CooLookbook = { __typename?: 'CooLookbook'; cover?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; /** * Cursor-paginated — pass `pagination` to page through a lookbook with many * entries rather than loading them all in one response. */ entries: CooLookbookEntryConnection; id: Scalars['ID']['output']; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; profileId: Scalars['ID']['output']; tags: Array; updatedAt: Scalars['DateTime']['output']; visibility: CooVisibility; workspaceId: Scalars['ID']['output']; }; export type CooLookbookEntriesArgs = { pagination?: InputMaybe; }; export type CooLookbookConnection = { __typename?: 'CooLookbookConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooLookbookEntry = { __typename?: 'CooLookbookEntry'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lookId?: Maybe; lookbookId: Scalars['ID']['output']; note?: Maybe; position: Scalars['Int']['output']; styleItemId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooLookbookEntryConnection = { __typename?: 'CooLookbookEntryConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooMappedRetailerOffer = { __typename?: 'CooMappedRetailerOffer'; id: Scalars['ID']['output']; styleItemId?: Maybe; }; /** UTC observation-day minimum among approved sources. Missing days contain no evidence. */ export type CooObservedPriceDay = { __typename?: 'CooObservedPriceDay'; day: Scalars['String']['output']; lowestPriceMinor: Scalars['Int']['output']; observations: Scalars['Int']['output']; }; export type CooOrder = { __typename?: 'CooOrder'; buyerNote?: Maybe; cancelledAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** * The least advanced fulfilment state across the brands in the order (UNFULFILLED until paid * and confirmed). */ fulfilmentStatus: CooFulfilmentStatus; /** One fulfilment per brand whose pieces are in the order. */ fulfilments: Array; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items: Array; orderNumber: Scalars['String']['output']; paidAt?: Maybe; paymentProvider?: Maybe; /** Total refunded to the shopper so far, across the brands that refunded. */ refundedAmount: Scalars['Float']['output']; refundedAt?: Maybe; /** The brand refunds on the order, oldest first. */ refunds: Array; /** The shopper's return requests on this order, one per brand, oldest first. */ returnRequests: Array; /** * The last moment a return can be requested (the end of the creator commission hold after * payment). Null until the order is paid. */ returnWindowEndsAt?: Maybe; shippingAddress?: Maybe; shippingName?: Maybe; status: CooOrderStatus; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; }; /** * Everything the browser needs to open the payment provider's checkout for an order. The * provider is chosen by global-billing-svc (Razorpay or Stripe). */ export type CooOrderCheckout = { __typename?: 'CooOrderCheckout'; /** Stripe client secret, when billing routes the payment to Stripe. */ clientSecret?: Maybe; currency: Scalars['String']['output']; order: CooOrder; provider: Scalars['String']['output']; /** Razorpay order id (order_xxx) the checkout widget opens with. */ providerOrderId?: Maybe; /** Razorpay publishable key id, issued by billing. */ razorpayKeyId?: Maybe; /** Stripe publishable key the browser confirms the client secret with (Stripe payments only). */ stripePublishableKey?: Maybe; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; }; export type CooOrderConnection = { __typename?: 'CooOrderConnection'; items: Array; pageInfo: CooPageInfo; }; /** One brand's shipment for one order. */ export type CooOrderFulfilment = { __typename?: 'CooOrderFulfilment'; brandId: Scalars['ID']['output']; brandName?: Maybe; carrier?: Maybe; confirmedAt?: Maybe; deliveredAt?: Maybe; /** Null while the brand's part of the order is still UNFULFILLED. */ id?: Maybe; /** Note from the brand to the buyer. */ note?: Maybe; orderId: Scalars['ID']['output']; /** True once the brand refunded its pieces of the order; they will not be shipped. */ refunded: Scalars['Boolean']['output']; shippedAt?: Maybe; status: CooFulfilmentStatus; trackingNumber?: Maybe; trackingUrl?: Maybe; updatedAt?: Maybe; }; export type CooOrderItem = { __typename?: 'CooOrderItem'; brandId: Scalars['ID']['output']; colour?: Maybe; id: Scalars['ID']['output']; image?: Maybe; /** True when the piece was bought from a creator's look and earns that creator a commission. */ isCreatorAttributed: Scalars['Boolean']['output']; lineTotal: Scalars['Float']['output']; lookId?: Maybe; name: Scalars['String']['output']; quantity: Scalars['Int']['output']; size?: Maybe; sku?: Maybe; /** * True when the piece took stock from a tracked size/colour variant when it was bought, so a * brand refund can return it to stock. */ stockTracked: Scalars['Boolean']['output']; styleItemId: Scalars['ID']['output']; unitPrice: Scalars['Float']['output']; }; /** Result of global-billing's payment callback (billing selects { success message }). */ export type CooOrderPaymentCallbackResult = { __typename?: 'CooOrderPaymentCallbackResult'; message?: Maybe; /** False asks billing to retry the callback. */ success: Scalars['Boolean']['output']; }; /** One brand's refund of its pieces of an order. */ export type CooOrderRefund = { __typename?: 'CooOrderRefund'; /** Amount returned to the shopper: the brand's lines plus their share of the order's tax. */ amount: Scalars['Float']['output']; brandId: Scalars['ID']['output']; brandName?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; failureReason?: Maybe; id: Scalars['ID']['output']; orderId: Scalars['ID']['output']; reason: Scalars['String']['output']; refundedAt?: Maybe; /** Whether the refunded pieces were returned to stock. */ restockStatus: CooRestockStatus; restockedAt?: Maybe; /** Units returned to the variants' stock (0 unless RESTOCKED). */ restockedQuantity: Scalars['Int']['output']; status: CooRefundStatus; }; export declare enum CooOrderStatus { Cancelled = "CANCELLED", Paid = "PAID", /** Paid, and at least one brand (not all) refunded its pieces. */ PartiallyRefunded = "PARTIALLY_REFUNDED", PendingPayment = "PENDING_PAYMENT", /** Paid, and every brand in the order refunded its pieces. */ Refunded = "REFUNDED" } /** A catalog piece that would fill a slot the shopper's wardrobe cannot. */ export type CooOutfitGapPiece = { __typename?: 'CooOutfitGapPiece'; reasons: Array; score: Scalars['Float']['output']; slot: CooOutfitSlot; styleItem: CooStyleItem; styleItemId: Scalars['ID']['output']; }; export type CooOutfitPiece = { __typename?: 'CooOutfitPiece'; reasons: Array; score: Scalars['Float']['output']; slot: CooOutfitSlot; wardrobeItem: CooWardrobeItem; wardrobeItemId: Scalars['ID']['output']; }; /** A position in a composed outfit. */ export declare enum CooOutfitSlot { Accessory = "ACCESSORY", Bag = "BAG", Bottom = "BOTTOM", Dress = "DRESS", Footwear = "FOOTWEAR", Outerwear = "OUTERWEAR", Top = "TOP" } /** A draft outfit. It is never saved or published by the engine. */ export type CooOutfitSuggestion = { __typename?: 'CooOutfitSuggestion'; /** 0..1 — share of required slots filled from the wardrobe, weighted by score. */ confidence: Scalars['Float']['output']; date?: Maybe; draftTitle: Scalars['String']['output']; /** * Wardrobe pieces left out because their size does not match the style * profile's size record for that garment type. */ excludedForSizeIds: Array; gapPieces: Array; /** Slots the outfit needs that neither the wardrobe nor the catalog could fill. */ missingSlots: Array; occasion: CooLookOccasion; pieces: Array; provenance: CooDecisionProvenance; summary: Scalars['String']['output']; /** Published looks whose item pairings supported this outfit. */ supportingLookIds: Array; weatherHint?: Maybe; }; export type CooPageInfo = { __typename?: 'CooPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; /** * Minimal native purchaser projection for global-billing-svc before payment initiation. * It does not assert payment success, referral attribution, approved terms or earnings. */ export type CooPendingCheckoutAuthority = { __typename?: 'CooPendingCheckoutAuthority'; billingAccountId: Scalars['ID']['output']; /** Native returned Billing id, when saved; Billing must validate it against its own record. */ billingOrderId?: Maybe; buyerId: Scalars['ID']['output']; buyerOrganizationId: Scalars['ID']['output']; /** The native buyer workspace; null for the original same-workspace checkout flow. */ buyerWorkspaceId?: Maybe; /** Deterministic external idempotency key, distinct from Billing's returned id. */ externalOrderId: Scalars['ID']['output']; orderId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type CooPriceAlert = { __typename?: 'CooPriceAlert'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; kind: CooPriceAlertKind; lastEvaluatedAt?: Maybe; styleItemId: Scalars['ID']['output']; targetPriceMinor?: Maybe; }; export type CooPriceAlertConnection = { __typename?: 'CooPriceAlertConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooPriceAlertDelivery = { __typename?: 'CooPriceAlertDelivery'; createdAt: Scalars['DateTime']['output']; deliveredAt?: Maybe; id: Scalars['ID']['output']; lastErrorCode?: Maybe; notificationId?: Maybe; status: Scalars['String']['output']; }; export type CooPriceAlertDeliveryConnection = { __typename?: 'CooPriceAlertDeliveryConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooPriceAlertInput = { currency: Scalars['String']['input']; kind: CooPriceAlertKind; styleItemId: Scalars['ID']['input']; targetPriceMinor?: InputMaybe; }; export declare enum CooPriceAlertKind { BackInStock = "BACK_IN_STOCK", PriceDrop = "PRICE_DROP" } export declare enum CooProposalDirection { Received = "RECEIVED", Sent = "SENT" } export type CooPublishBlocker = { __typename?: 'CooPublishBlocker'; code: CooPublishBlockerCode; message: Scalars['String']['output']; }; export declare enum CooPublishBlockerCode { MissingPrimaryImage = "MISSING_PRIMARY_IMAGE", NoColourways = "NO_COLOURWAYS", NoMaterials = "NO_MATERIALS", NoSizes = "NO_SIZES", NoSku = "NO_SKU", PriceOutlier = "PRICE_OUTLIER", ZeroPrice = "ZERO_PRICE" } export type CooRateCardProposalInput = { brandId: Scalars['ID']['input']; brief?: InputMaybe; rateCardId: Scalars['ID']['input']; rateCardRevision: Scalars['Int']['input']; title: Scalars['String']['input']; }; export type CooRecordLegalAcceptanceInput = { checkpointType: CooLegalCheckpointType; documentVersion: Scalars['String']['input']; ipAddress?: InputMaybe; userAgent?: InputMaybe; }; export type CooRefundBrandOrderInput = { brandId: Scalars['ID']['input']; orderId: Scalars['ID']['input']; /** Why the pieces are refunded (3 to 1000 characters). Shown to the shopper. */ reason: Scalars['String']['input']; /** * True when the refunded pieces physically came back and should go on sale again: each refunded * stock-tracked line's quantity returns to its size/colour variant, once per refund, and a sold-out * item becomes available again. Send it on an already completed refund to restock it afterwards. * False or absent leaves stock unchanged and never undoes an earlier restock. */ restock?: InputMaybe; }; export declare enum CooRefundStatus { /** The payment provider accepted the refund. */ Completed = "COMPLETED", /** Billing or the payment provider refused the refund; see failureReason. It can be retried. */ Failed = "FAILED", /** Sent to billing; not yet confirmed. */ Pending = "PENDING" } export type CooRequestCreatorPayoutInput = { amount: Scalars['Float']['input']; currency: Scalars['String']['input']; notes?: InputMaybe; }; export type CooRequestReturnInput = { /** The brand whose pieces the shopper wants to return. */ brandId: Scalars['ID']['input']; orderId: Scalars['ID']['input']; /** Why the pieces are being returned (3 to 1000 characters). Shown to the brand. */ reason: Scalars['String']['input']; }; export type CooResaleBrowseInput = { category?: InputMaybe; condition?: InputMaybe; currency?: InputMaybe; maxPriceMinor?: InputMaybe; minPriceMinor?: InputMaybe; pagination?: InputMaybe; search?: InputMaybe; }; /** An existing result is preserved; withdrawn=true fences every later same-identity create. */ export type CooResaleCreateRequestResolution = { __typename?: 'CooResaleCreateRequestResolution'; listing?: Maybe; withdrawn: Scalars['Boolean']['output']; }; export type CooResaleListing = { __typename?: 'CooResaleListing'; category: Scalars['String']['output']; condition: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; moderationStatus: Scalars['String']['output']; photoFileIds: Array; photoUrls: Array; priceMinor: Scalars['Int']['output']; publishedAt?: Maybe; reviewNotes?: Maybe; size: Scalars['String']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type CooResaleListingConnection = { __typename?: 'CooResaleListingConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooResaleListingInput = { category: Scalars['String']['input']; condition: Scalars['String']['input']; currency: Scalars['String']['input']; description: Scalars['String']['input']; photoFileIds: Array; priceMinor: Scalars['Int']['input']; size: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CooResaleListingReview = { __typename?: 'CooResaleListingReview'; listing: CooResaleListing; shop: CooResaleShop; }; export type CooResaleListingReviewConnection = { __typename?: 'CooResaleListingReviewConnection'; items: Array; pageInfo: CooPageInfo; }; /** Operator-only moderation evidence, never embedded in buyer/seller records. */ export type CooResaleModerationReport = { __typename?: 'CooResaleModerationReport'; createdAt: Scalars['DateTime']['output']; details: Scalars['String']['output']; id: Scalars['ID']['output']; listingId: Scalars['ID']['output']; listingVersion: Scalars['Int']['output']; reason: Scalars['String']['output']; snapshot: Scalars['JSON']['output']; status: Scalars['String']['output']; }; export type CooResaleModerationReportConnection = { __typename?: 'CooResaleModerationReportConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooResaleMyReport = { __typename?: 'CooResaleMyReport'; createdAt: Scalars['DateTime']['output']; details: Scalars['String']['output']; id: Scalars['ID']['output']; listingId: Scalars['ID']['output']; reason: Scalars['String']['output']; status: Scalars['String']['output']; }; export type CooResaleMyReportConnection = { __typename?: 'CooResaleMyReportConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooResalePublicListing = { __typename?: 'CooResalePublicListing'; category: Scalars['String']['output']; condition: Scalars['String']['output']; currency: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; photoUrls: Array; priceMinor: Scalars['Int']['output']; publishedAt: Scalars['DateTime']['output']; shop: CooResalePublicShop; size: Scalars['String']['output']; title: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type CooResalePublicListingConnection = { __typename?: 'CooResalePublicListingConnection'; items: Array; pageInfo: CooPageInfo; }; /** An approved seller profile shown to marketplace buyers; no private identity or review fields. */ export type CooResalePublicShop = { __typename?: 'CooResalePublicShop'; description: Scalars['String']['output']; handle: Scalars['String']['output']; name: Scalars['String']['output']; }; export type CooResaleReportAcknowledgement = { __typename?: 'CooResaleReportAcknowledgement'; id: Scalars['ID']['output']; status: Scalars['String']['output']; }; export type CooResaleShop = { __typename?: 'CooResaleShop'; description: Scalars['String']['output']; handle: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; policyAcceptedAt: Scalars['DateTime']['output']; policyVersion: Scalars['String']['output']; reviewNotes?: Maybe; reviewStatus: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type CooResaleShopInput = { acceptedPolicyVersion: Scalars['String']['input']; description: Scalars['String']['input']; expectedVersion?: InputMaybe; handle: Scalars['String']['input']; name: Scalars['String']['input']; }; export type CooResaleShopReviewConnection = { __typename?: 'CooResaleShopReviewConnection'; items: Array; pageInfo: CooPageInfo; }; /** Whether a brand refund returned its pieces to stock (BOFF-9901). */ export declare enum CooRestockStatus { /** The brand did not ask for the pieces to go back on sale. */ None = "NONE", /** Asked for; the pieces return to stock once the refund completes and the sale has settled. */ Pending = "PENDING", /** The refunded stock-tracked pieces are back in stock (see restockedQuantity). */ Restocked = "RESTOCKED", /** * Asked for, but nothing could go back: none of the refunded pieces took stock when they were * bought, or their size/colour variants no longer exist. */ Skipped = "SKIPPED" } export type CooRetailerFeed = { __typename?: 'CooRetailerFeed'; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; feedUrl?: Maybe; homepageUrl: Scalars['String']['output']; id: Scalars['ID']['output']; kind: CooRetailerFeedKind; lastErrorCode?: Maybe; lastFetchedAt?: Maybe; maxAgeHours: Scalars['Int']['output']; name: Scalars['String']['output']; reviewNotes?: Maybe; reviewStatus: Scalars['String']['output']; }; export type CooRetailerFeedConnection = { __typename?: 'CooRetailerFeedConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooRetailerFeedInput = { feedUrl?: InputMaybe; homepageUrl: Scalars['String']['input']; kind?: InputMaybe; maxAgeHours?: InputMaybe; name: Scalars['String']['input']; }; /** Owner-visible source configuration; public offers never expose source URLs or review metadata. */ export declare enum CooRetailerFeedKind { HttpsJson = "HTTPS_JSON", ManualJson = "MANUAL_JSON" } export type CooRetailerRefresh = { __typename?: 'CooRetailerRefresh'; fetchedAt: Scalars['DateTime']['output']; imported: Scalars['Int']['output']; }; export type CooRetailerSearchInput = { currency: Scalars['String']['input']; gtin?: InputMaybe; retailerId?: InputMaybe; retailerSku?: InputMaybe; }; /** A shopper's request to return one brand's pieces of an order. */ export type CooReturnRequest = { __typename?: 'CooReturnRequest'; brandId: Scalars['ID']['output']; brandName?: Maybe; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; /** The brand's note: the refund reason when approved, the explanation when declined. */ decisionNote?: Maybe; id: Scalars['ID']['output']; orderId: Scalars['ID']['output']; orderNumber?: Maybe; /** Why the shopper wants to return the pieces. */ reason: Scalars['String']['output']; /** The brand refund that settled an approved request. */ refundId?: Maybe; status: CooReturnRequestStatus; updatedAt: Scalars['DateTime']['output']; }; export type CooReturnRequestConnection = { __typename?: 'CooReturnRequestConnection'; items: Array; pageInfo: CooPageInfo; }; export declare enum CooReturnRequestStatus { /** The brand accepted the return and refunded the pieces. */ Approved = "APPROVED", /** The brand declined the return; see decisionNote. */ Declined = "DECLINED", /** The shopper asked; the brand has not decided yet. */ Requested = "REQUESTED" } export type CooReviewCollaborationInput = { decision: CooAdminDecision; notes?: InputMaybe; }; export type CooSearchLooksInput = { aesthetics?: InputMaybe>; occasion?: InputMaybe; occasions?: InputMaybe>; query?: InputMaybe; }; export type CooSearchStyleItemsInput = { aesthetics?: InputMaybe>; categories?: InputMaybe>; colours?: InputMaybe>; materials?: InputMaybe>; query?: InputMaybe; sizes?: InputMaybe>; status?: InputMaybe; }; export declare enum CooSeason { AllSeason = "ALL_SEASON", Autumn = "AUTUMN", Resort = "RESORT", Spring = "SPRING", Summer = "SUMMER", Winter = "WINTER" } export type CooSetStyleItemInventoryInput = { trackInventory: Scalars['Boolean']['input']; /** Stock per variant. Variants not listed keep their current stock. */ variants?: InputMaybe>; }; /** A piece listed in the Burdenoff store, as any shopper sees it: product facts only. */ export type CooStoreListedPiece = { __typename?: 'CooStoreListedPiece'; brandHandle: Scalars['String']['output']; brandName: Scalars['String']['output']; category: CooStyleCategory; colours: Array; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; /** False when every size/colour of a stock-tracked piece is sold out. */ inStock: Scalars['Boolean']['output']; materials: Array; name: Scalars['String']['output']; price: Scalars['Float']['output']; sizes: Array; sku?: Maybe; tags: Array; /** True when the brand tracks stock per size/colour; variants then carry the units left. */ trackInventory: Scalars['Boolean']['output']; variants: Array; }; /** One size/colour variant of a store-listed piece and the units left to buy. */ export type CooStoreListedPieceVariant = { __typename?: 'CooStoreListedPieceVariant'; available: Scalars['Int']['output']; /** Null when the piece is not offered in colours. */ colour?: Maybe; /** Null when the piece is not offered in sizes. */ size?: Maybe; }; /** Store catalogue listing status of a style item (BOFF-3430). */ export declare enum CooStoreListingStatus { /** Taken down (draft, retired, zero price or the brand storefront is not live). */ Archived = "ARCHIVED", /** Shown in store discovery. */ Published = "PUBLISHED", /** Kept in the catalogue but hidden (the piece is out of stock). */ Unlisted = "UNLISTED" } /** Outcome of the last push of a style item to the store catalogue (BOFF-3430). */ export declare enum CooStoreSyncStatus { Failed = "FAILED", Pending = "PENDING", Synced = "SYNCED" } export declare enum CooStyleCategory { Accessories = "ACCESSORIES", Bags = "BAGS", Beauty = "BEAUTY", Bottoms = "BOTTOMS", Dresses = "DRESSES", Footwear = "FOOTWEAR", Jewellery = "JEWELLERY", Other = "OTHER", Outerwear = "OUTERWEAR", Tops = "TOPS" } export type CooStyleItem = { __typename?: 'CooStyleItem'; brand?: Maybe; brandId: Scalars['ID']['output']; category: CooStyleCategory; collection?: Maybe; collectionId?: Maybe; colours: Array; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; image?: Maybe; /** * Stock of every size/colour variant of the piece. Request it on a single piece (detail pages); * it reads the stock per item. */ inventory: CooStyleItemInventory; isFeatured: Scalars['Boolean']['output']; materials: Array; name: Scalars['String']['output']; price: Scalars['Float']['output']; sizes: Array; sku?: Maybe; status: CooStyleItemStatus; /** Listing status last pushed to the store catalogue; null when never listed. */ storeListingStatus?: Maybe; /** * Id of this piece's listing in the Burdenoff store catalogue (global-store-svc * StoreProduct), once it has been listed. The piece is listed while it is on * sale in a live brand storefront; CoolAndLovely stays the seller. */ storeProductId?: Maybe; /** Outcome of the last push to the store catalogue; null when never listed. */ storeSyncStatus?: Maybe; storeSyncedAt?: Maybe; tags: Array; /** * True when the brand tracks stock per size/colour for this piece (BOFF-9637). Checkout then * reserves stock, and the piece moves between ACTIVE and OUT_OF_STOCK on its own as stock runs * out or comes back. False: no stock limit, and the brand sets OUT_OF_STOCK by hand. */ trackInventory: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooStyleItemConnection = { __typename?: 'CooStyleItemConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooStyleItemInventory = { __typename?: 'CooStyleItemInventory'; totalAvailable: Scalars['Int']['output']; totalReserved: Scalars['Int']['output']; trackInventory: Scalars['Boolean']['output']; variants: Array; }; export declare enum CooStyleItemStatus { Active = "ACTIVE", Draft = "DRAFT", OutOfStock = "OUT_OF_STOCK", Retired = "RETIRED" } /** Stock of one size/colour variant of a style item. */ export type CooStyleItemVariantStock = { __typename?: 'CooStyleItemVariantStock'; /** Null when the piece is not offered in colours. */ colour?: Maybe; /** True when the variant can be added to a cart (always true while stock is not tracked). */ inStock: Scalars['Boolean']['output']; /** Units held by orders that are awaiting payment. */ reservedQuantity: Scalars['Int']['output']; /** Null when the piece is not offered in sizes. */ size?: Maybe; /** Units that can still be sold. */ stockQuantity: Scalars['Int']['output']; }; export type CooStyleProfile = { __typename?: 'CooStyleProfile'; bio?: Maybe; createdAt: Scalars['DateTime']['output']; displayName?: Maybe; favouriteBrands: Array; /** Number of people who follow this profile's owner. */ followerCount: Scalars['Int']['output']; /** Number of people this profile's owner follows. */ followingCount: Scalars['Int']['output']; id: Scalars['ID']['output']; /** * Whether the calling actor follows this profile's owner. Powers the Follow * button's initial state; false for unauthenticated callers. */ isFollowedByMe: Scalars['Boolean']['output']; /** * Cursor-paginated — pass `pagination` to page through a shopper's lookbooks * rather than loading them all in one response. */ lookbooks: CooLookbookConnection; ownerId: Scalars['ID']['output']; palette: Array; sizes?: Maybe; stylePreferences: Array; updatedAt: Scalars['DateTime']['output']; visibility: CooVisibility; /** * Cursor-paginated — pass `pagination` to page through a shopper's wardrobe * rather than loading it all in one response. */ wardrobeItems: CooWardrobeItemConnection; workspaceId: Scalars['ID']['output']; }; export type CooStyleProfileLookbooksArgs = { pagination?: InputMaybe; }; export type CooStyleProfileWardrobeItemsArgs = { pagination?: InputMaybe; }; export type CooStyleProfileConnection = { __typename?: 'CooStyleProfileConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooSuggestOutfitInput = { date?: InputMaybe; /** Suggest catalog pieces for slots the wardrobe cannot fill. */ includeCatalogGapPieces?: InputMaybe; occasion: CooLookOccasion; weatherHint?: InputMaybe; }; export type CooTrendReport = { __typename?: 'CooTrendReport'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; methodology: Scalars['String']['output']; metrics: Scalars['JSON']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; publishedAt?: Maybe; title: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CooTrendReportConnection = { __typename?: 'CooTrendReportConnection'; items: Array; pageInfo: CooPageInfo; }; export type CooUpdateBrandInput = { aesthetics?: InputMaybe>; bio?: InputMaybe; coverFileId?: InputMaybe; isFeatured?: InputMaybe; logoFileId?: InputMaybe; name?: InputMaybe; tagline?: InputMaybe; tags?: InputMaybe>; websiteUrl?: InputMaybe; }; /** * Editable fields of an in-flight collaboration. Identity (creator/brand/ * collection) and status are intentionally excluded — status changes go through * cooTransitionCollaboration, and identity is fixed at creation time. */ export type CooUpdateCollaborationInput = { brief?: InputMaybe; compensation?: InputMaybe; currency?: InputMaybe; endDate?: InputMaybe; role?: InputMaybe; startDate?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; }; export type CooUpdateCollectionInput = { coverFileId?: InputMaybe; description?: InputMaybe; endAt?: InputMaybe; name?: InputMaybe; publishAt?: InputMaybe; season?: InputMaybe; tags?: InputMaybe>; }; export type CooUpdateLookInput = { caption?: InputMaybe; imageFileId?: InputMaybe; isFeatured?: InputMaybe; occasion?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; visibility?: InputMaybe; }; export type CooUpdateOrderFulfilmentInput = { brandId: Scalars['ID']['input']; /** Required when marking SHIPPED, together with trackingNumber. */ carrier?: InputMaybe; note?: InputMaybe; orderId: Scalars['ID']['input']; /** * CONFIRMED, SHIPPED or DELIVERED. Fulfilment only moves forward; repeating the current state * updates its details (for example a corrected tracking number). */ status: CooFulfilmentStatus; trackingNumber?: InputMaybe; /** Carrier tracking page (http or https). */ trackingUrl?: InputMaybe; }; export type CooUpdateStyleItemInput = { category?: InputMaybe; collectionId?: InputMaybe; colours?: InputMaybe>; currency?: InputMaybe; description?: InputMaybe; imageFileId?: InputMaybe; isFeatured?: InputMaybe; materials?: InputMaybe>; name?: InputMaybe; price?: InputMaybe; sizes?: InputMaybe>; sku?: InputMaybe; /** * Sale status: ACTIVE puts the piece on sale (checkout only accepts ACTIVE pieces), DRAFT or * OUT_OF_STOCK takes it off sale. RETIRED is set only by cooArchiveStyleItem and is terminal. * While the piece tracks stock (trackInventory), ACTIVE and OUT_OF_STOCK follow its stock; use * DRAFT to take a stock-tracked piece off sale. */ status?: InputMaybe; tags?: InputMaybe>; }; export type CooUpdateWardrobeItemInput = { brandName?: InputMaybe; category?: InputMaybe; colour?: InputMaybe; currency?: InputMaybe; imageFileId?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; purchasePrice?: InputMaybe; size?: InputMaybe; source?: InputMaybe; tags?: InputMaybe>; }; export type CooUpsertStyleProfileInput = { bio?: InputMaybe; displayName?: InputMaybe; favouriteBrands?: InputMaybe>; palette?: InputMaybe>; sizes?: InputMaybe; stylePreferences?: InputMaybe>; visibility?: InputMaybe; }; export type CooVariantStockInput = { /** One of the piece's colours; omit when the piece has none. */ colour?: InputMaybe; /** One of the piece's sizes; omit when the piece has none. */ size?: InputMaybe; /** Units available to sell (not counting units held by unpaid orders). */ stockQuantity: Scalars['Int']['input']; }; export declare enum CooVisibility { Followers = "FOLLOWERS", Private = "PRIVATE", Public = "PUBLIC" } export type CooWardrobeFinding = { __typename?: 'CooWardrobeFinding'; category?: Maybe; colour?: Maybe; detail: Scalars['String']['output']; kind: CooWardrobeFindingKind; missingSlots: Array; occasion?: Maybe; /** 0..1 — findings are returned highest severity first. */ severity: Scalars['Float']['output']; /** Active catalog pieces that would close this gap. */ suggestedStyleItemIds: Array; title: Scalars['String']['output']; wardrobeItemIds: Array; }; export declare enum CooWardrobeFindingKind { /** A core garment category has no owned piece at all. */ CategoryGap = "CATEGORY_GAP", /** A piece whose cost per wear is far above the rest of the wardrobe. */ CostPerWearOutlier = "COST_PER_WEAR_OUTLIER", /** A piece that was worn before but not for a long time. */ DormantPiece = "DORMANT_PIECE", /** A piece that has been owned for a while and never logged as worn. */ NeverWorn = "NEVER_WORN", /** The wardrobe cannot compose a complete outfit for an occasion. */ OccasionGap = "OCCASION_GAP", /** A colour from the style profile palette is missing from the wardrobe. */ PaletteGap = "PALETTE_GAP" } export type CooWardrobeGapAnalysis = { __typename?: 'CooWardrobeGapAnalysis'; findings: Array; provenance: CooDecisionProvenance; wardrobeItemCount: Scalars['Int']['output']; }; export type CooWardrobeItem = { __typename?: 'CooWardrobeItem'; brandName?: Maybe; category: CooStyleCategory; colour?: Maybe; /** * purchasePrice / timesWorn, rounded to 2 decimal places. Null when * purchasePrice is unset or the piece has never been logged as worn (avoids a * division by zero / a misleadingly infinite "value"). */ costPerWear?: Maybe; createdAt: Scalars['DateTime']['output']; currency?: Maybe; id: Scalars['ID']['output']; /** Reference to a wspace-files-svc File for the shopper's photo of the piece. */ image?: Maybe; lastWornAt?: Maybe; name: Scalars['String']['output']; notes?: Maybe; profileId: Scalars['ID']['output']; /** * What the shopper paid for this piece. Optional — a piece logged without a * price simply has a null costPerWear. */ purchasePrice?: Maybe; size?: Maybe; source: CooWardrobeSource; styleItemId?: Maybe; tags: Array; timesWorn: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CooWardrobeItemConnection = { __typename?: 'CooWardrobeItemConnection'; items: Array; pageInfo: CooPageInfo; }; export declare enum CooWardrobeSource { Gifted = "GIFTED", Owned = "OWNED", PurchasedOnPlatform = "PURCHASED_ON_PLATFORM", Wishlist = "WISHLIST" } /** * Weather the shopper expects for the outfit. Drives whether outerwear is * required (COLD, RAINY) or left out (HOT). */ export declare enum CooWeatherHint { Cold = "COLD", Hot = "HOT", Mild = "MILD", Rainy = "RAINY", Warm = "WARM" } export declare enum CosAccessLevel { Embargoed = "EMBARGOED", Public = "PUBLIC", Restricted = "RESTRICTED", Workspace = "WORKSPACE" } export type CosAddRunStepInput = { inputs?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; position?: InputMaybe; runId: Scalars['ID']['input']; }; export type CosAddSchemaFieldInput = { datasetId: Scalars['ID']['input']; description?: InputMaybe; fieldType?: InputMaybe; name: Scalars['String']['input']; nullable?: InputMaybe; position?: InputMaybe; provenance?: InputMaybe; unit?: InputMaybe; }; export type CosAnalysis = { __typename?: 'CosAnalysis'; aiAssisted: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; datasetId?: Maybe; errorMessage?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; method?: Maybe; notebookId?: Maybe; /** Reference to a wspace-files-svc File for the rendered visualization. */ outputFile?: Maybe; results?: Maybe; startedAt?: Maybe; status: CosAnalysisStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum CosAnalysisStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING" } /** An unmapped CAOM column carried through as a name/value pair. */ export type CosArchiveColumnValue = { __typename?: 'CosArchiveColumnValue'; name: Scalars['String']['output']; value: Scalars['String']['output']; }; /** A metadata filter on one CAOM observation column (e.g. instrument_name, filters, proposal_id, calib_level). */ export type CosArchiveFilterInput = { /** CAOM column name, e.g. `instrument_name` or `filters`. */ column: Scalars['String']['input']; /** Exact-match values (OR). For numeric or date columns pass min/max as two values to express a range. */ values: Array; }; /** Space missions / surveys searchable through the MAST connector. Values map to CAOM `obs_collection` codes. */ export declare enum CosArchiveMission { Euve = "EUVE", Fuse = "FUSE", Galex = "GALEX", Hst = "HST", Iue = "IUE", Jwst = "JWST", K2 = "K2", Kepler = "KEPLER", Panstarrs = "PANSTARRS", Spitzer = "SPITZER", Swift = "SWIFT", Tess = "TESS" } /** One observation from a MAST CAOM search hit. */ export type CosArchiveObservation = { __typename?: 'CosArchiveObservation'; calibLevel?: Maybe; /** Direct HTTPS URL for the data file. */ dataFileUrl?: Maybe; dataProductType?: Maybe; dataRights?: Maybe; /** MAST data file URI (mast:...), when known. */ dataUri?: Maybe; /** ICRS declination in degrees. */ dec?: Maybe; /** Angular distance from the cone center in degrees (cone searches only). */ distanceDeg?: Maybe; /** Exposure time in seconds. */ exposureSec?: Maybe; /** Remaining CAOM columns not mapped above, as name/value pairs. */ extraColumns: Array; /** Filter / bandpass names, mission-specific. */ filters?: Maybe; instrument?: Maybe; /** Connector mission this observation belongs to; null when the CAOM collection is outside the connector's mission set (see missionCollection). */ mission?: Maybe; /** Raw CAOM `obs_collection` code (e.g. HST, JWST, PS1, HLSP). */ missionCollection: Scalars['String']['output']; /** Mission-specific observation identifier (CAOM `obs_id`). */ observationId: Scalars['String']['output']; /** MAST preview product URI (mast:...), when the archive ships one. */ previewUri?: Maybe; /** Direct HTTPS URL for the preview image; null when the archive has no preview. */ previewUrl?: Maybe; principalInvestigator?: Maybe; /** MAST product group id — pass to `cosListArchiveProducts` for the file list. */ productGroupId: Scalars['String']['output']; proposalId?: Maybe; /** ICRS right ascension in degrees. */ ra?: Maybe; /** Observation start time as MJD. */ startTimeMjd?: Maybe; targetName?: Maybe; }; /** A file product of a MAST observation (science file, preview, auxiliary). */ export type CosArchiveProduct = { __typename?: 'CosArchiveProduct'; dataProductType?: Maybe; description?: Maybe; /** Direct HTTPS download URL (anonymous, no MAST login required for PUBLIC data). */ downloadUrl: Scalars['String']['output']; fileName: Scalars['String']['output']; mission?: Maybe; productType: Scalars['String']['output']; sizeBytes?: Maybe; /** MAST data URI (mast:...). */ uri: Scalars['String']['output']; }; export type CosArchiveProductsInput = { /** Maximum products returned (1-500, default 50). */ limit?: InputMaybe; /** 1-based result page (default 1). */ page?: InputMaybe; /** MAST product group id (`productGroupId` from an archive search hit). */ productGroupId: Scalars['ID']['input']; /** Restrict to these CAOM product types, e.g. SCIENCE, PREVIEW, AUXILIARY. */ productTypes?: InputMaybe>; }; export type CosArchiveSearchInput = { /** ICRS declination in degrees. Requires `ra`. */ dec?: InputMaybe; /** Additional mission-scoped CAOM column filters. */ filters?: InputMaybe>; /** Maximum observations returned (1-50, default 20). */ limit?: InputMaybe; /** Restrict to these missions (maps to CAOM `obs_collection`). */ missions?: InputMaybe>; /** 1-based result page (default 1). */ page?: InputMaybe; /** ICRS right ascension in degrees. Requires `dec`. */ ra?: InputMaybe; /** Cone radius in degrees (0 < r <= 10, default 0.2). */ radiusDeg?: InputMaybe; /** Resolve an object name (SIMBAD/NED via the STScI resolver) and cone-search around it. Mutually exclusive with explicit ra/dec. */ targetName?: InputMaybe; }; export type CosArchiveSearchResults = { __typename?: 'CosArchiveSearchResults'; dec?: Maybe; limit: Scalars['Int']['output']; missions: Array; observations: Array; page: Scalars['Int']['output']; ra?: Maybe; radiusDeg: Scalars['Float']['output']; targetName?: Maybe; /** Number of observations returned in this page (MAST does not return a global hit count). */ total: Scalars['Int']['output']; }; /** An assignable workspace tag. */ export type CosAvailableTag = { __typename?: 'CosAvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type CosCollection = { __typename?: 'CosCollection'; createdAt: Scalars['DateTime']['output']; datasets: Array; description?: Maybe; id: Scalars['ID']['output']; isPublic: Scalars['Boolean']['output']; name: Scalars['String']['output']; slug?: Maybe; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * Finish a step with its telemetry (BOFF-3781). `status` must be SUCCEEDED, * FAILED or CANCELLED. `outputs` may carry rowsIn / rowsOut / anomaliesFlagged / * warnings, which cosAiTriageRun reads when the run has no metrics of its own. */ export type CosCompleteRunStepInput = { errorMessage?: InputMaybe; logsRef?: InputMaybe; outputs?: InputMaybe; /** * Datasets this step wrote (BOFF-10383), at most 100. Each id must be a live * dataset in this workspace that the caller can read, otherwise the call * fails with NOT_FOUND and nothing is changed. The ids are stored as * `outputs.producedDatasetIds` (so `outputs`, when sent, must be a JSON * object), the datasets are marked `lineageCaptured`, and search lineage then * shows this run as PRODUCED_BY. */ producedDatasetIds?: InputMaybe>; status: CosRunStatus; }; export type CosCreateCollectionInput = { description?: InputMaybe; isPublic?: InputMaybe; name: Scalars['String']['input']; slug?: InputMaybe; tags?: InputMaybe>; }; export type CosCreateDatasetInput = { accessLevel?: InputMaybe; collectionId?: InputMaybe; coverage?: InputMaybe; description?: InputMaybe; fileId?: InputMaybe; format?: InputMaybe; name: Scalars['String']['input']; sourceId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type CosCreateNotebookInput = { datasetIds?: InputMaybe>; description?: InputMaybe; environment?: InputMaybe; fileId?: InputMaybe; runtime?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CosCreatePipelineInput = { /** * Deprecated (OVL-09, BOFF-5232): accepted for backwards compatibility and * silently ignored — never persisted, never interpreted. * @deprecated Ignored — orchestration owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ definition?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; /** * Deprecated (OVL-09, BOFF-5232): accepted and silently ignored. * @deprecated Ignored — cron owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ schedule?: InputMaybe; /** Ordered science steps (CosStepKind vocabulary). */ steps?: InputMaybe; tags?: InputMaybe>; /** * Deprecated (OVL-09, BOFF-5232): accepted and silently ignored. * @deprecated Ignored — triggers owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ trigger?: InputMaybe; /** * Optional canonical WorkflowDefinition id (wspace-workflow-svc). Validated * at save time: must exist in this workspace, be ACTIVE and have a manual or * callable start node. When set, cosStartRun hands off to the shared engine. */ workflowDefinitionId?: InputMaybe; }; export type CosCreateReleaseInput = { abstract?: InputMaybe; authors?: InputMaybe>; datasetIds?: InputMaybe>; license?: InputMaybe; notebookId?: InputMaybe; title: Scalars['String']['input']; version?: InputMaybe; }; export type CosCreateSourceInput = { config?: InputMaybe; credentialRef?: InputMaybe; description?: InputMaybe; endpoint?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; }; export type CosDataAccessGrant = { __typename?: 'CosDataAccessGrant'; createdAt: Scalars['DateTime']['output']; datasetId: Scalars['ID']['output']; expiresAt?: Maybe; grantedAt?: Maybe; granteeId: Scalars['ID']['output']; id: Scalars['ID']['output']; reason?: Maybe; revokedAt?: Maybe; scopes: Array; status: CosGrantStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CosDatabricksStepInput = { /** Existing Custom API Key connection; AWS Databricks workspace Base URL and PAT remain in integrations. */ connectionId: Scalars['ID']['input']; inputDatasetIds?: InputMaybe>; jobId: Scalars['String']['input']; /** 60–86400 seconds; expiry requests cancellation, not a false stopped status. */ maxRuntimeSeconds?: InputMaybe; name: Scalars['String']['input']; outputDatasetIds?: InputMaybe>; parameters?: InputMaybe; /** Stable client UUID: retrying an ambiguous queue response cannot create another job. */ requestId: Scalars['ID']['input']; }; export type CosDataset = { __typename?: 'CosDataset'; accessLevel: CosAccessLevel; collection?: Maybe; collectionId?: Maybe; coverage?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; /** Embargo lift date for EMBARGOED datasets (warned about by the agent loop). */ embargoUntil?: Maybe; /** Reference to a wspace-files-svc File holding the raw artifact (blobs live there). */ file?: Maybe; format?: Maybe; id: Scalars['ID']['output']; ingestedAt?: Maybe; lineageCaptured: Scalars['Boolean']['output']; name: Scalars['String']['output']; rowCount: Scalars['String']['output']; schemaFields: Array; sizeBytes: Scalars['String']['output']; source?: Maybe; sourceId?: Maybe; status: CosDatasetStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type CosDatasetConnection = { __typename?: 'CosDatasetConnection'; items: Array; pageInfo: CosPageInfo; }; export declare enum CosDatasetStatus { Archived = "ARCHIVED", Available = "AVAILABLE", Deprecated = "DEPRECATED", Draft = "DRAFT", Ingesting = "INGESTING" } /** * One DataCite DOI-mint attempt for a citable release (BOFF-4346). Real * DataCite REST API integration — `mode` records whether it ran against * DataCite's test/sandbox environment (api.test.datacite.org) or production * (api.datacite.org). */ export type CosDoiRecord = { __typename?: 'CosDoiRecord'; createdAt: Scalars['DateTime']['output']; doi?: Maybe; errorMessage?: Maybe; id: Scalars['ID']['output']; mintedAt?: Maybe; mode: CosExternalRegistryMode; prefix: Scalars['String']['output']; releaseId: Scalars['ID']['output']; state: CosDoiState; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum CosDoiState { Draft = "DRAFT", Failed = "FAILED", Findable = "FINDABLE", Registered = "REGISTERED" } export type CosExternalComputeConnection = { __typename?: 'CosExternalComputeConnection'; items: Array; pageInfo: CosPageInfo; }; export type CosExternalComputeExecution = { __typename?: 'CosExternalComputeExecution'; cancelRequested: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; deadlineAt: Scalars['DateTime']['output']; errorCode?: Maybe; externalRunId?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; inputDatasetIds: Array; jobId: Scalars['String']['output']; lifecycle?: Maybe; /** Authenticated customer Databricks logs; provider bodies are never copied. */ logsUrl?: Maybe; /** Customer-declared output lineage, not a claim of Unity Catalog discovery. */ outputDatasetIds: Array; requestId: Scalars['ID']['output']; result?: Maybe; runId: Scalars['ID']['output']; state: CosExternalComputeState; stepId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; /** * An existing execution stays intact. withdrawn=true permanently closes only an * uncreated actor/workspace request UUID; it never claims remote cancellation. */ export type CosExternalComputeRequestResolution = { __typename?: 'CosExternalComputeRequestResolution'; execution?: Maybe; withdrawn: Scalars['Boolean']['output']; }; /** Durable state; REQUIRES_ATTENTION never claims an external job has stopped. */ export declare enum CosExternalComputeState { Cancelled = "CANCELLED", CancelRequested = "CANCEL_REQUESTED", Failed = "FAILED", Queued = "QUEUED", RequiresAttention = "REQUIRES_ATTENTION", Running = "RUNNING", Submitting = "SUBMITTING", Succeeded = "SUCCEEDED" } export type CosExternalRegistryHealth = { __typename?: 'CosExternalRegistryHealth'; datacite: CosExternalRegistryStatus; zenodo: CosExternalRegistryStatus; }; export declare enum CosExternalRegistryMode { Production = "PRODUCTION", Test = "TEST" } /** * Live reachability + credential-configuration status for the DataCite and * Zenodo integrations — a read-only diagnostic, never throws. */ export type CosExternalRegistryStatus = { __typename?: 'CosExternalRegistryStatus'; baseUrl: Scalars['String']['output']; credentialsConfigured: Scalars['Boolean']['output']; mode: CosExternalRegistryMode; reachable: Scalars['Boolean']['output']; }; export declare enum CosFieldType { Boolean = "BOOLEAN", Coordinate = "COORDINATE", Float = "FLOAT", Geometry = "GEOMETRY", ImageRef = "IMAGE_REF", Integer = "INTEGER", Json = "JSON", Spectrum = "SPECTRUM", String = "STRING", Timestamp = "TIMESTAMP" } export type CosGrantAccessInput = { datasetId: Scalars['ID']['input']; expiresAt?: InputMaybe; granteeId: Scalars['ID']['input']; reason?: InputMaybe; scopes?: InputMaybe>; }; export declare enum CosGrantStatus { Active = "ACTIVE", Expired = "EXPIRED", Pending = "PENDING", Revoked = "REVOKED" } export type CosNotebook = { __typename?: 'CosNotebook'; analyses: Array; createdAt: Scalars['DateTime']['output']; datasetIds: Array; description?: Maybe; environment?: Maybe; /** Reference to a wspace-files-svc File holding the notebook document. */ file?: Maybe; id: Scalars['ID']['output']; isShared: Scalars['Boolean']['output']; releases: Array; runtime?: Maybe; shareSlug?: Maybe; status: CosNotebookStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CosNotebookConnection = { __typename?: 'CosNotebookConnection'; items: Array; pageInfo: CosPageInfo; }; export declare enum CosNotebookStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED", Running = "RUNNING" } export type CosPageInfo = { __typename?: 'CosPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type CosPipeline = { __typename?: 'CosPipeline'; createdAt: Scalars['DateTime']['output']; /** * Deprecated (OVL-09, BOFF-5232): the generic DAG-definition surface this * service never implemented. The column is gone; this field always resolves * null. Science steps live in `steps`, orchestration in wspace-workflow-svc. * @deprecated Always null — orchestration owned by wspace-workflow-svc (OVL-09, BOFF-5232). Use steps / workflowDefinitionId. */ definition?: Maybe; description?: Maybe; id: Scalars['ID']['output']; lastRunAt?: Maybe; name: Scalars['String']['output']; runs: Array; /** * Deprecated (OVL-09, BOFF-5232): cron schedules are owned by * wspace-workflow-svc (WorkflowScheduledJob). Always null. * @deprecated Always null — cron owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ schedule?: Maybe; status: CosPipelineStatus; /** * Ordered science steps (CosStepKind vocabulary) this pipeline is expected to * run. Domain lineage/metadata only — no DAG semantics. Real orchestration * (authoring canvas, triggers, cron, retries, versioning) is owned * canonically by wspace-workflow-svc; see `workflowDefinitionId`. */ steps?: Maybe; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; /** * Deprecated (OVL-09, BOFF-5232): never interpreted locally. Always null. * @deprecated Always null — triggers owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ trigger?: Maybe; updatedAt: Scalars['DateTime']['output']; /** * Deprecated (OVL-09, BOFF-5232): definition versioning lives in * wspace-workflow-svc (WorkflowVersion). Always null. * @deprecated Always null — versioning owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ version?: Maybe; /** * Opaque id of a canonical WorkflowDefinition in wspace-workflow-svc. When * set, cosStartRun hands off to the shared engine (triggerWorkflow) and the * canonical workflow owns execution semantics. */ workflowDefinitionId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CosPipelineConnection = { __typename?: 'CosPipelineConnection'; items: Array; pageInfo: CosPageInfo; }; export type CosPipelineRun = { __typename?: 'CosPipelineRun'; createdAt: Scalars['DateTime']['output']; datasetId?: Maybe; durationMs?: Maybe; errorMessage?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; metrics?: Maybe; params?: Maybe; pipeline?: Maybe; pipelineId: Scalars['ID']['output']; runNumber: Scalars['Int']['output']; startedAt?: Maybe; status: CosRunStatus; steps: Array; triggeredBy?: Maybe; updatedAt: Scalars['DateTime']['output']; /** * Opaque id of the canonical WorkflowRun started in wspace-workflow-svc for * this run (present only when the pipeline links a workflowDefinitionId). */ workflowRunId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CosPipelineRunConnection = { __typename?: 'CosPipelineRunConnection'; items: Array; pageInfo: CosPageInfo; }; export declare enum CosPipelineStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } export type CosPipelineStep = { __typename?: 'CosPipelineStep'; createdAt: Scalars['DateTime']['output']; durationMs?: Maybe; errorMessage?: Maybe; finishedAt?: Maybe; id: Scalars['ID']['output']; inputs?: Maybe; kind: CosStepKind; logsRef?: Maybe; name: Scalars['String']['output']; outputs?: Maybe; position: Scalars['Int']['output']; /** * Datasets this step recorded as produced (BOFF-10383), read from * `outputs.producedDatasetIds`. Search lineage shows the step's run as * PRODUCED_BY on each of them. Empty when nothing was recorded. */ producedDatasetIds: Array; runId: Scalars['ID']['output']; startedAt?: Maybe; status: CosRunStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * Legacy trigger vocabulary, kept only so pre-OVL-09 clients keep compiling. * Never interpreted: orchestration (triggers, cron, scheduling) is owned * canonically by wspace-workflow-svc. Always returns null on CosPipeline. */ export declare enum CosPipelineTrigger { /** @deprecated Never interpreted. */ Manual = "MANUAL", /** @deprecated Never interpreted. */ OnIngest = "ON_INGEST", /** @deprecated Never interpreted — cron lives in wspace-workflow-svc. */ Scheduled = "SCHEDULED", /** @deprecated Never interpreted. */ Webhook = "WEBHOOK" } export type CosRelease = { __typename?: 'CosRelease'; abstract?: Maybe; authors: Array; createdAt: Scalars['DateTime']['output']; datasetIds: Array; doi?: Maybe; doiRecords: Array; id: Scalars['ID']['output']; license?: Maybe; notebookId?: Maybe; publishedAt?: Maybe; status: CosReleaseStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; zenodoMirrors: Array; }; export type CosReleaseAuthorSuggestion = { __typename?: 'CosReleaseAuthorSuggestion'; actorId: Scalars['ID']['output']; contributions: Scalars['Int']['output']; roles: Array; }; export type CosReleaseConnection = { __typename?: 'CosReleaseConnection'; items: Array; pageInfo: CosPageInfo; }; /** * A drafted release. Create it with cosCreateRelease (title, abstract, version, * authors, datasetIds, license); publishing remains a human action. */ export type CosReleaseDraft = { __typename?: 'CosReleaseDraft'; abstract: Scalars['String']['output']; agentRunId: Scalars['ID']['output']; analysisIds: Array; authorSuggestions: Array; authors: Array; datasetIds: Array; engineVersion: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; license: Scalars['String']['output']; licenseRationale: Scalars['String']['output']; method: Scalars['String']['output']; notebookId: Scalars['ID']['output']; notes: Array; title: Scalars['String']['output']; version: Scalars['String']['output']; warnings: Array; }; export declare enum CosReleaseStatus { Draft = "DRAFT", Published = "PUBLISHED", Retracted = "RETRACTED", UnderReview = "UNDER_REVIEW" } export type CosRunAnalysisInput = { aiAssisted?: InputMaybe; datasetId?: InputMaybe; method?: InputMaybe; notebookId?: InputMaybe; title: Scalars['String']['input']; }; export type CosRunRasterCalcStepInput = { name: Scalars['String']['input']; /** Base64-encoded single-band GeoTIFF — near-infrared band. */ nirGeoTiffBase64: Scalars['String']['input']; position?: InputMaybe; /** Base64-encoded single-band GeoTIFF — red band, co-registered with NIR. */ redGeoTiffBase64: Scalars['String']['input']; runId: Scalars['ID']['input']; }; export declare enum CosRunStatus { Cancelled = "CANCELLED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED" } /** * Run-level telemetry (BOFF-3781). Counts are whole numbers >= 0, sent as Float * so survey-scale row counts above 2^31 fit. Only the fields sent are changed; * the rest of `metrics` is kept. Read by cosAiTriageRun. */ export type CosRunTelemetryInput = { anomaliesFlagged?: InputMaybe; errorMessage?: InputMaybe; rowsIn?: InputMaybe; rowsOut?: InputMaybe; warnings?: InputMaybe; }; export type CosRunTriage = { __typename?: 'CosRunTriage'; action: CosTriageAction; agentRunId: Scalars['ID']['output']; confidence: Scalars['Float']['output']; engineVersion: Scalars['String']['output']; evidence: Array; generatedAt: Scalars['DateTime']['output']; method: Scalars['String']['output']; metrics: CosRunTriageMetrics; proposedAction?: Maybe; rationale: Scalars['String']['output']; runId: Scalars['ID']['output']; signals: Array; suggestedParams?: Maybe; thresholds: CosRunTriageThresholds; }; export type CosRunTriageMetrics = { __typename?: 'CosRunTriageMetrics'; anomaliesFlagged?: Maybe; anomalyRate?: Maybe; /** Median anomaly rate of the pipeline's earlier successful runs. */ baselineAnomalyRate?: Maybe; rowLossRate?: Maybe; rowsIn?: Maybe; rowsOut?: Maybe; warnings?: Maybe; }; export type CosRunTriageThresholds = { __typename?: 'CosRunTriageThresholds'; maxWarnings: Scalars['Float']['output']; quarantineAnomalyRate: Scalars['Float']['output']; quarantineRowLossRate: Scalars['Float']['output']; reviewAnomalyRate: Scalars['Float']['output']; reviewRowLossRate: Scalars['Float']['output']; }; export type CosSchemaField = { __typename?: 'CosSchemaField'; createdAt: Scalars['DateTime']['output']; datasetId: Scalars['ID']['output']; description?: Maybe; fieldType: CosFieldType; id: Scalars['ID']['output']; name: Scalars['String']['output']; nullable: Scalars['Boolean']['output']; position: Scalars['Int']['output']; provenance?: Maybe; unit?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CosSchemaFieldProposal = { __typename?: 'CosSchemaFieldProposal'; /** Id of this run in the shared AI invocation ledger. */ agentRunId: Scalars['ID']['output']; datasetId: Scalars['ID']['output']; engineVersion: Scalars['String']['output']; fields: Array; generatedAt: Scalars['DateTime']['output']; method: Scalars['String']['output']; notes: Array; sampleOrigin: CosSchemaSampleOrigin; sampledRows: Scalars['Int']['output']; }; /** * One proposed schema field. Accept it with cosAddSchemaField * (name, fieldType, unit, nullable, position, provenance = provenanceNote). */ export type CosSchemaFieldSuggestion = { __typename?: 'CosSchemaFieldSuggestion'; /** * True when the dataset already has a schema field with this name; it is never * overwritten, and any disagreement is listed in `conflicts`. */ alreadyDefined: Scalars['Boolean']['output']; /** 0 to 1. Lower for small samples and for columns with no sampled values. */ confidence: Scalars['Float']['output']; conflicts: Array; description?: Maybe; emptyValues: Scalars['Int']['output']; existingFieldId?: Maybe; fieldType: CosFieldType; name: Scalars['String']['output']; nullable: Scalars['Boolean']['output']; position: Scalars['Int']['output']; /** Drafted provenance note: where the column came from and why it was typed so. */ provenanceNote: Scalars['String']['output']; reasons: Array; sampledValues: Scalars['Int']['output']; unit?: Maybe; }; /** * A row sample to infer a schema from. `rows` is a JSON array of rows: arrays * aligned with `columns`, or objects keyed by column name (then `columns` is * optional and only fixes the order). At most 500 rows and 1,000 columns are * analysed. */ export type CosSchemaSampleInput = { columns?: InputMaybe>; rows: Scalars['JSON']['input']; }; /** Where the rows the schema proposal was inferred from came from. */ export declare enum CosSchemaSampleOrigin { /** `schemaSample` ({ columns, rows }) stored on the dataset's `context`. */ DatasetContext = "DATASET_CONTEXT", /** The `sample` argument of the request. */ Request = "REQUEST", /** Columns declared in the source connector config; no row values. */ SourceConfig = "SOURCE_CONFIG" } export declare enum CosSearchEntityType { Collection = "COLLECTION", Dataset = "DATASET", Notebook = "NOTEBOOK", Release = "RELEASE" } /** One piece of evidence explaining why a hit matched. */ export type CosSearchEvidence = { __typename?: 'CosSearchEvidence'; /** Id of the entity the evidence comes from (schema field, source, release, ...). */ entityId?: Maybe; kind: CosSearchEvidenceKind; /** Short label for that entity, e.g. the schema field name. */ label?: Maybe; /** The matched text (truncated), e.g. the provenance note. */ text: Scalars['String']['output']; }; export declare enum CosSearchEvidenceKind { /** An analysis title or method run against this dataset matched. */ AnalysisMethod = "ANALYSIS_METHOD", /** The collection (mission, survey, project) matched. */ Collection = "COLLECTION", /** The dataset's coverage metadata matched a term. */ Coverage = "COVERAGE", /** The dataset's coverage years overlap the window named in the query. */ CoverageWindow = "COVERAGE_WINDOW", /** The dataset's own name, description, tags or format matched. */ DatasetText = "DATASET_TEXT", /** A notebook title or description matched. */ Notebook = "NOTEBOOK", /** A release title or abstract matched. */ ReleaseAbstract = "RELEASE_ABSTRACT", /** A schema field's name, unit or description matched. */ SchemaField = "SCHEMA_FIELD", /** A schema field's provenance note matched. */ SchemaProvenance = "SCHEMA_PROVENANCE", /** The upstream source (instrument, telescope, archive) matched. */ Source = "SOURCE" } export type CosSearchHit = { __typename?: 'CosSearchHit'; collection?: Maybe; dataset?: Maybe; entityType: CosSearchEntityType; evidence: Array; id: Scalars['ID']['output']; /** Lineage chain for DATASET hits (empty for other entity types or when includeLineage is false). */ lineage: Array; notebook?: Maybe; release?: Maybe; /** Relative relevance; only meaningful for ordering hits of one response. */ score: Scalars['Float']['output']; snippet?: Maybe; title: Scalars['String']['output']; }; export declare enum CosSearchLineageKind { Analysis = "ANALYSIS", PipelineRun = "PIPELINE_RUN", PipelineStep = "PIPELINE_STEP", Release = "RELEASE", Source = "SOURCE" } /** * One node of a dataset's lineage. `relation` describes how the node relates * to the dataset: INGESTED_FROM (source), PRODUCED_BY (a run whose step outputs * reference the dataset), PROCESSED_BY (a run that took the dataset as input), * STEP_OF (a step of the run named by parentId), ANALYZED_BY, PUBLISHED_IN. */ export type CosSearchLineageNode = { __typename?: 'CosSearchLineageNode'; detail?: Maybe; id: Scalars['ID']['output']; kind: CosSearchLineageKind; label: Scalars['String']['output']; occurredAt?: Maybe; parentId?: Maybe; relation: Scalars['String']['output']; status?: Maybe; }; export type CosSearchResults = { __typename?: 'CosSearchResults'; /** Domain aliases added to the search (e.g. m31 -> andromeda). */ expandedTerms: Array; hits: Array; /** Content terms taken from the query after removing request phrasing. */ interpretedTerms: Array; query: Scalars['String']['output']; /** Observation window extracted from the query, if any. */ timeWindow?: Maybe; total: Scalars['Int']['output']; }; export type CosSearchTimeWindow = { __typename?: 'CosSearchTimeWindow'; fromYear: Scalars['Int']['output']; toYear: Scalars['Int']['output']; }; export type CosSemanticSearchInput = { /** Restrict to these entity types (default: all). */ entityTypes?: InputMaybe>; /** Attach lineage to DATASET hits (default true). */ includeLineage?: InputMaybe; /** Maximum hits returned (1-50, default 20). */ limit?: InputMaybe; /** Plain-language question, e.g. 'calibrated flux columns covering M31 between 2019 and 2021'. Input beyond 500 characters is ignored. */ query: Scalars['String']['input']; }; export type CosSource = { __typename?: 'CosSource'; config?: Maybe; createdAt: Scalars['DateTime']['output']; datasets: Array; description?: Maybe; endpoint?: Maybe; id: Scalars['ID']['output']; lastSyncedAt?: Maybe; name: Scalars['String']['output']; status: CosSourceStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; type: CosSourceType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CosSourceConnection = { __typename?: 'CosSourceConnection'; items: Array; pageInfo: CosPageInfo; }; export declare enum CosSourceStatus { Configuring = "CONFIGURING", Connected = "CONNECTED", Degraded = "DEGRADED", Disabled = "DISABLED", Error = "ERROR", Syncing = "SYNCING" } export declare enum CosSourceType { Api = "API", Archive = "ARCHIVE", FileDrop = "FILE_DROP", GroundSensor = "GROUND_SENSOR", Satellite = "SATELLITE", Simulation = "SIMULATION", Stream = "STREAM", Telescope = "TELESCOPE" } export type CosStartRunInput = { datasetId?: InputMaybe; params?: InputMaybe; pipelineId: Scalars['ID']['input']; }; export declare enum CosStepKind { Analyze = "ANALYZE", Calibrate = "CALIBRATE", Export = "EXPORT", ExternalCompute = "EXTERNAL_COMPUTE", Ingest = "INGEST", Notify = "NOTIFY", RasterCalc = "RASTER_CALC", Reproject = "REPROJECT", Tile = "TILE", Transform = "TRANSFORM", ZonalStats = "ZONAL_STATS" } /** A tag assigned to a CosmicIntersection entity. */ export type CosTagAssignment = { __typename?: 'CosTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; /** Federated UniversalTag reference (owned by wspace-tags-svc). Prefer tagInfo for label/colour. */ tag?: Maybe; tagId: Scalars['ID']['output']; /** Inline projection of the tag (key/label/colour). */ tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; /** Inline (non-federated) tag projection, so clients render labels without a federated round-trip. */ export type CosTagInfo = { __typename?: 'CosTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export declare enum CosTriageAction { FlagSourceDegraded = "FLAG_SOURCE_DEGRADED", /** The run recorded no telemetry, so there is nothing to judge it by. */ InsufficientTelemetry = "INSUFFICIENT_TELEMETRY", Promote = "PROMOTE", QuarantineDataset = "QUARANTINE_DATASET", RerunWithParams = "RERUN_WITH_PARAMS" } /** * A piece of telemetry the recommendation read, with the id of the run, step, * source or pipeline it came from. */ export type CosTriageEvidence = { __typename?: 'CosTriageEvidence'; field: Scalars['String']['output']; kind: CosTriageEvidenceKind; refId: Scalars['ID']['output']; value: Scalars['String']['output']; }; export declare enum CosTriageEvidenceKind { Baseline = "BASELINE", Run = "RUN", RunMetric = "RUN_METRIC", Source = "SOURCE", Step = "STEP" } /** * The existing mutation a person would run to apply the recommendation. Triage * never runs it. */ export type CosTriageProposedAction = { __typename?: 'CosTriageProposedAction'; arguments: Scalars['JSON']['output']; description: Scalars['String']['output']; mutation: Scalars['String']['output']; targetId: Scalars['ID']['output']; }; export type CosTriageSignal = { __typename?: 'CosTriageSignal'; code: Scalars['String']['output']; message: Scalars['String']['output']; severity: CosTriageSignalSeverity; }; export declare enum CosTriageSignalSeverity { Critical = "CRITICAL", Info = "INFO", Warning = "WARNING" } export type CosUpdateCollectionInput = { description?: InputMaybe; isPublic?: InputMaybe; name?: InputMaybe; slug?: InputMaybe; tags?: InputMaybe>; }; export type CosUpdateDatasetInput = { accessLevel?: InputMaybe; collectionId?: InputMaybe; coverage?: InputMaybe; description?: InputMaybe; /** Set or move the embargo lift date (null clears it). */ embargoUntil?: InputMaybe; format?: InputMaybe; name?: InputMaybe; tags?: InputMaybe>; }; export type CosUpdateNotebookInput = { datasetIds?: InputMaybe>; description?: InputMaybe; environment?: InputMaybe; isShared?: InputMaybe; runtime?: InputMaybe; shareSlug?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; }; export type CosUpdatePipelineInput = { /** * Deprecated (OVL-09, BOFF-5232): accepted for backwards compatibility and * silently ignored — never persisted, never interpreted. * @deprecated Ignored — orchestration owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ definition?: InputMaybe; description?: InputMaybe; name?: InputMaybe; /** * Deprecated (OVL-09, BOFF-5232): accepted and silently ignored. * @deprecated Ignored — cron owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ schedule?: InputMaybe; status?: InputMaybe; steps?: InputMaybe; tags?: InputMaybe>; /** * Deprecated (OVL-09, BOFF-5232): accepted and silently ignored. * @deprecated Ignored — triggers owned by wspace-workflow-svc (OVL-09, BOFF-5232). */ trigger?: InputMaybe; workflowDefinitionId?: InputMaybe; }; /** Partial edit of a schema field — the undo path for a wrongly accepted proposal. */ export type CosUpdateSchemaFieldInput = { description?: InputMaybe; fieldType?: InputMaybe; name?: InputMaybe; nullable?: InputMaybe; position?: InputMaybe; provenance?: InputMaybe; unit?: InputMaybe; }; export type CosUpdateSourceInput = { config?: InputMaybe; credentialRef?: InputMaybe; description?: InputMaybe; endpoint?: InputMaybe; name?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; }; /** * A mirror of a published release's metadata to Zenodo (BOFF-4352). Real * Zenodo REST API integration — `mode` records whether it ran against * Zenodo's real sandbox (sandbox.zenodo.org) or production (zenodo.org). */ export type CosZenodoMirror = { __typename?: 'CosZenodoMirror'; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; fileIds: Array; id: Scalars['ID']['output']; mirroredAt?: Maybe; mode: CosExternalRegistryMode; releaseId: Scalars['ID']['output']; status: CosZenodoMirrorStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; zenodoConceptDoi?: Maybe; zenodoDepositId?: Maybe; zenodoDoi?: Maybe; zenodoRecordId?: Maybe; }; export declare enum CosZenodoMirrorStatus { Deposited = "DEPOSITED", Failed = "FAILED", Pending = "PENDING", Published = "PUBLISHED" } export type CourseAssistantCandidate = { __typename?: 'CourseAssistantCandidate'; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** Validated configuration for binding an LMS course to an assistant; grants no learner access. */ export type CourseAssistantConfiguration = { __typename?: 'CourseAssistantConfiguration'; agentId: Scalars['ID']['output']; /** Configuration is valid even while the course index is being built. */ configured: Scalars['Boolean']['output']; courseId: Scalars['ID']['output']; ready: Scalars['Boolean']['output']; workflowId: Scalars['ID']['output']; }; export type CourseAssistantIngestionProgress = { __typename?: 'CourseAssistantIngestionProgress'; errorCode?: Maybe; processedCount: Scalars['Int']['output']; sourceCount: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type CourseAssistantKnowledgeSetup = { __typename?: 'CourseAssistantKnowledgeSetup'; courseId: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; }; export type CourseAssistantTeacherSetup = { __typename?: 'CourseAssistantTeacherSetup'; agentId: Scalars['ID']['output']; courseId: Scalars['ID']['output']; }; export type CourseIngestionWorkflowInstallation = { __typename?: 'CourseIngestionWorkflowInstallation'; ingestionWorkflowId: Scalars['ID']['output']; recoveryScheduleId: Scalars['ID']['output']; recoveryWorkflowId: Scalars['ID']['output']; }; export type CourseKnowledgeImportReceipt = { __typename?: 'CourseKnowledgeImportReceipt'; agentId: Scalars['ID']['output']; courseId: Scalars['ID']['output']; errorCode?: Maybe; id: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; processedCount: Scalars['Int']['output']; snapshotId: Scalars['ID']['output']; sourceCount: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type CourseKnowledgeImportRecovery = { __typename?: 'CourseKnowledgeImportRecovery'; admitted: Scalars['Int']['output']; blocked: Scalars['Int']['output']; completed: Scalars['Int']['output']; intakeFailed: Scalars['Boolean']['output']; scanned: Scalars['Int']['output']; }; export type CreateA2AConnectionInput = { config?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; senderAgentId: Scalars['ID']['input']; targetAgentId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateA2ARegistryEntryInput = { agentCard: Scalars['JSON']['input']; bucketId?: InputMaybe; description?: InputMaybe; entitlements?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; trustLevel?: InputMaybe; visibility?: InputMaybe; wellKnownUrl?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateAiPromptInput = { category?: InputMaybe; content: Scalars['String']['input']; context?: InputMaybe; description?: InputMaybe; isShared?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; /** Optional session to author this prompt against (in-session AI drawer). */ sessionId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; variables?: InputMaybe; }; export type CreateActionInput = { actionType?: VibecontrolsActionType; category?: InputMaybe; color?: InputMaybe; command?: InputMaybe; confirmationRequired?: InputMaybe; context?: InputMaybe; description?: InputMaybe; displayName?: InputMaybe; environmentVariables?: InputMaybe; eventFilters?: InputMaybe; icon?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; retryCount?: InputMaybe; schedule?: InputMaybe; script?: InputMaybe; scriptInterpreter?: InputMaybe; sourceType?: InputMaybe; tags?: InputMaybe>; targetAgentId?: InputMaybe; targetPlatformFilter?: InputMaybe; timeoutMs?: InputMaybe; triggerType?: InputMaybe; /** * Optional link to a Vibe. When set, the action surfaces on * Vibe.linkedEntities subject to `visibility`. */ vibeId?: InputMaybe; /** * Defaults to PRIVATE when omitted. Set SHARED_WITH_VIBE to expose the * action to other actors who can see the linked vibe. */ visibility?: InputMaybe; webhookAuthType?: InputMaybe; webhookAuthValue?: InputMaybe; webhookBody?: InputMaybe; webhookHeaders?: InputMaybe; webhookMethod?: InputMaybe; webhookUrl?: InputMaybe; workflowDefinition?: InputMaybe; workingDirectory?: InputMaybe; }; export type CreateActionItemInput = { assigneeId?: InputMaybe; dueDate?: InputMaybe; notes?: InputMaybe; title: Scalars['String']['input']; }; export type CreateAgentInstructionFileInput = { agentId?: InputMaybe; content: Scalars['String']['input']; customName?: InputMaybe; filename: InstructionFilename; metadata?: InputMaybe; scope: InstructionScope; tags?: InputMaybe>; vibeId?: InputMaybe; visibility?: InputMaybe; }; export type CreateAgentMessageBookmarkInput = { agentId: Scalars['ID']['input']; label?: InputMaybe; messageId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Superseded by `CreateBotmanorAgentTemplateInput`: `agentType` is required, so it * cannot carry `@deprecated`, and switching its enum would break callers. Use * `createBotmanorAgentTemplate`; this input goes with `createAgentTemplate` no * earlier than 2027-02-05 (BOFF-9561). */ export type CreateAgentTemplateInput = { agentType: BotlitAgentType; category: TemplateCategory; config: Scalars['JSON']['input']; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; previewImage?: InputMaybe; tagIds?: InputMaybe>; visibility?: InputMaybe; }; export type CreateAiContextInput = { content: Scalars['String']['input']; context?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; /** Optional session to author this context against (in-session AI drawer). */ sessionId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; }; export type CreateAiPredictionInput = { confidence: Scalars['Float']['input']; features?: InputMaybe; metadata?: InputMaybe; modelVersion: Scalars['String']['input']; predictionType: Scalars['String']['input']; recommendation: Scalars['String']['input']; score: Scalars['Float']['input']; sourceProduct?: InputMaybe; sourceRefId?: InputMaybe; status?: InputMaybe; subjectId?: InputMaybe; subjectType?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateAiToolEventInput = { /** The agent that generated this event */ agentId: Scalars['ID']['input']; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; /** Event type (e.g., "task.completed", "task.started", "task.failed") */ eventType: Scalars['String']['input']; /** Event payload/properties */ payload?: InputMaybe; /** Source tool identifier (e.g., "opencode", "claude-code", "gemini-cli", "cursor") */ source: Scalars['String']['input']; }; export type CreateAllocationInput = { allocatedHours: Scalars['Float']['input']; context?: InputMaybe; endDate: Scalars['DateTime']['input']; notes?: InputMaybe; projectId?: InputMaybe; resourcePlanId: Scalars['ID']['input']; startDate: Scalars['DateTime']['input']; userId: Scalars['ID']['input']; }; export type CreateAnimalInput = { breed: Scalars['String']['input']; context: ContextInput; dateOfBirth?: InputMaybe; /** Gender. Must be one of: MALE, FEMALE (case-insensitive). */ gender: Scalars['String']['input']; healthStatus: Scalars['String']['input']; imageIds?: InputMaybe>; lastCheckup?: InputMaybe; name: Scalars['String']['input']; productionType?: InputMaybe; tagNumber: Scalars['String']['input']; /** Type. Must be one of: CATTLE, BUFFALO, GOAT, SHEEP, PIG, POULTRY (case-insensitive). */ type: Scalars['String']['input']; vaccinations: Scalars['Int']['input']; weight: Scalars['Float']['input']; }; export type CreateAppAgentInput = { agentId: Scalars['ID']['input']; appId: Scalars['ID']['input']; fallbackAgentId?: InputMaybe; intentPatterns?: InputMaybe>; isActive?: InputMaybe; maxQueueSize?: InputMaybe; metadata?: InputMaybe; priority?: InputMaybe; routingRules?: InputMaybe; timeout?: InputMaybe; triggerKeywords?: InputMaybe>; workspaceId: Scalars['ID']['input']; }; export type CreateAppTemplateInput = { appType: BotAppType; category: TemplateCategory; config: Scalars['JSON']['input']; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; previewImage?: InputMaybe; tagIds?: InputMaybe>; visibility?: InputMaybe; }; export type CreateAssetInput = { assetNumber: Scalars['String']['input']; assignedTo?: InputMaybe; category: Scalars['String']['input']; condition?: InputMaybe; customAttributes?: InputMaybe; department?: InputMaybe; depreciationMethod?: InputMaybe; description?: InputMaybe; locationName?: InputMaybe; meterUnit?: InputMaybe; name: Scalars['String']['input']; purchaseDate?: InputMaybe; purchaseValue?: InputMaybe; salvageValue?: InputMaybe; serialNumber?: InputMaybe; status?: InputMaybe; supplier?: InputMaybe; tags?: InputMaybe>; unitsOfProductionCapacity?: InputMaybe; unitsProduced?: InputMaybe; usefulLifeMonths?: InputMaybe; warrantyExpiry?: InputMaybe; }; export type CreateAssetTagInput = { color?: InputMaybe; label: Scalars['String']['input']; /** * Optional. When omitted, the tag is created in the workspace's default * AssetHandler vocabulary (auto-resolved/created server-side). */ vocabularyId?: InputMaybe; }; export type CreateAssetTransactionInput = { amount: Scalars['Float']['input']; category: Scalars['String']['input']; currency?: InputMaybe; department?: InputMaybe; description: Scalars['String']['input']; status?: InputMaybe; type: AssetTransactionType; vendor?: InputMaybe; }; export type CreateAuditInput = { auditor: Scalars['String']['input']; /** * The certification this audit is being carried out against, if any. An id belonging to another * workspace is stored as null rather than rejected — the audit itself is still valid, it is simply * not attributable to a certificate this workspace owns. */ certificationId?: InputMaybe; context: ContextInput; scheduledDate: Scalars['String']['input']; title: Scalars['String']['input']; /** Type. Must be one of: INTERNAL, EXTERNAL, CERTIFICATION (case-insensitive). */ type: Scalars['String']['input']; }; export type CreateAvailabilityRuleInput = { bufferAfter?: InputMaybe; bufferBefore?: InputMaybe; calendarId: Scalars['ID']['input']; dailyLimit?: InputMaybe; dayOfWeek: DayOfWeek; effectiveFrom?: InputMaybe; effectiveTo?: InputMaybe; endTime: Scalars['String']['input']; isAvailable: Scalars['Boolean']['input']; maxNotice?: InputMaybe; metadata?: InputMaybe; minGapBetweenEvents?: InputMaybe; minNotice?: InputMaybe; priority?: InputMaybe; slotIncrement?: InputMaybe; startTime: Scalars['String']['input']; timezone?: InputMaybe; userId?: InputMaybe; weeklyLimit?: InputMaybe; }; export type CreateBatchDownloadInput = { /** Expiration time in seconds (default: 3600 = 1 hour, max: 86400 = 24 hours) */ expirationSeconds?: InputMaybe; /** List of file IDs to include */ fileIds?: InputMaybe>; /** List of folder IDs to include (recursive) */ folderIds?: InputMaybe>; /** Include subfolders (default: true) */ includeSubfolders?: InputMaybe; /** Name for the ZIP archive (without .zip extension) */ name: Scalars['String']['input']; }; export type CreateBatchDownloadResponse = { __typename?: 'CreateBatchDownloadResponse'; download: BatchDownload; message?: Maybe; }; export type CreateBigConsoleTagInput = { color?: InputMaybe; label: Scalars['String']['input']; vocabularyId?: InputMaybe; }; export type CreateBlackoutDateInput = { calendarId: Scalars['ID']['input']; endDate: Scalars['DateTime']['input']; isRecurring?: InputMaybe; metadata?: InputMaybe; reason?: InputMaybe; recurrencePattern?: InputMaybe; startDate: Scalars['DateTime']['input']; userId?: InputMaybe; }; export type CreateBookingPageInput = { bufferAfter?: InputMaybe; bufferBefore?: InputMaybe; calendarId: Scalars['ID']['input']; collectiveHosts?: InputMaybe>; confirmationMessage?: InputMaybe; currency?: InputMaybe; customColor?: InputMaybe; customLogo?: InputMaybe; enableWaitlist?: InputMaybe; eventDuration: Scalars['Int']['input']; eventType?: InputMaybe; isActive?: InputMaybe; isPublic?: InputMaybe; locationDetails?: InputMaybe; locationType?: InputMaybe; maxAttendees?: InputMaybe; maxBookingsPerDay?: InputMaybe; maxBookingsPerWeek?: InputMaybe; maxNotice?: InputMaybe; meetingProvider?: InputMaybe; metadata?: InputMaybe; minNotice?: InputMaybe; name: Scalars['String']['input']; pageType: BookingPageType; price?: InputMaybe; redirectAfterBooking?: InputMaybe; reminderMinutes?: InputMaybe; requireApproval?: InputMaybe; requirePayment?: InputMaybe; roundRobinHosts?: InputMaybe>; sendConfirmationEmail?: InputMaybe; sendReminderEmail?: InputMaybe; slotIncrement?: InputMaybe; slug: Scalars['String']['input']; teamId?: InputMaybe; welcomeMessage?: InputMaybe; }; export type CreateBotAppInput = { bucketId?: InputMaybe; context?: InputMaybe; defaultAgentId?: InputMaybe; description?: InputMaybe; fallbackMessage?: InputMaybe; icon?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; routingStrategy?: InputMaybe; slug: Scalars['String']['input']; status?: InputMaybe; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `BotApp.tags` Json column. */ tags?: InputMaybe; type: BotAppType; visibility?: InputMaybe; welcomeMessage?: InputMaybe; workflowId?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** Deprecated: use CreateBotmanorAgentInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type CreateBotlitAgentInput = { bucketId?: InputMaybe; capabilities?: InputMaybe>; context?: InputMaybe; description?: InputMaybe; knowledgeBaseIds?: InputMaybe>; llmModelId?: InputMaybe; maxConcurrentExecutions?: InputMaybe; maxTokens?: InputMaybe; mcpConnectionIds?: InputMaybe>; metadata?: InputMaybe; name: Scalars['String']['input']; slug: Scalars['String']['input']; specialization?: InputMaybe; status?: InputMaybe; systemPrompt: Scalars['String']['input']; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `BotlitAgent.tags` Json column. */ tags?: InputMaybe; temperature?: InputMaybe; type: BotlitAgentType; visibility?: InputMaybe; workflowIds?: InputMaybe>; workspaceId: Scalars['ID']['input']; }; /** Deprecated: use CreateBotmanorLLMModelInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type CreateBotlitLlmModelInput = { contextWindow: Scalars['Int']['input']; inputPricePerMToken: Scalars['Float']['input']; maxOutputTokens: Scalars['Int']['input']; metadata?: InputMaybe; modelId: Scalars['String']['input']; name: Scalars['String']['input']; outputPricePerMToken: Scalars['Float']['input']; providerId: Scalars['ID']['input']; supportsFunctionCalling?: InputMaybe; supportsStreaming?: InputMaybe; supportsVision?: InputMaybe; }; /** Deprecated: use CreateBotmanorLLMProviderInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type CreateBotlitLlmProviderInput = { apiEndpoint?: InputMaybe; connectionId?: InputMaybe; credentials?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; type: BotlitLlmProviderType; workspaceId: Scalars['ID']['input']; }; export type CreateBotmanorAgentInput = { bucketId?: InputMaybe; capabilities?: InputMaybe>; context?: InputMaybe; description?: InputMaybe; knowledgeBaseIds?: InputMaybe>; llmModelId?: InputMaybe; maxConcurrentExecutions?: InputMaybe; maxTokens?: InputMaybe; mcpConnectionIds?: InputMaybe>; metadata?: InputMaybe; name: Scalars['String']['input']; slug: Scalars['String']['input']; specialization?: InputMaybe; status?: InputMaybe; systemPrompt: Scalars['String']['input']; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical agent `tags` Json column. */ tags?: InputMaybe; temperature?: InputMaybe; type: BotmanorAgentType; visibility?: InputMaybe; workflowIds?: InputMaybe>; workspaceId: Scalars['ID']['input']; }; /** * `CreateAgentTemplateInput` with `agentType: BotmanorAgentType!`. Field for * field identical otherwise; `createBotmanorAgentTemplate` takes it. */ export type CreateBotmanorAgentTemplateInput = { agentType: BotmanorAgentType; category: TemplateCategory; config: Scalars['JSON']['input']; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; previewImage?: InputMaybe; tagIds?: InputMaybe>; visibility?: InputMaybe; }; export type CreateBotmanorLlmModelInput = { contextWindow: Scalars['Int']['input']; inputPricePerMToken: Scalars['Float']['input']; maxOutputTokens: Scalars['Int']['input']; metadata?: InputMaybe; modelId: Scalars['String']['input']; name: Scalars['String']['input']; outputPricePerMToken: Scalars['Float']['input']; providerId: Scalars['ID']['input']; supportsFunctionCalling?: InputMaybe; supportsStreaming?: InputMaybe; supportsVision?: InputMaybe; }; export type CreateBotmanorLlmProviderInput = { apiEndpoint?: InputMaybe; connectionId?: InputMaybe; credentials?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; type: BotmanorLlmProviderType; workspaceId: Scalars['ID']['input']; }; export type CreateBreedingRecordInput = { animalId: Scalars['ID']['input']; context: ContextInput; /** The OBSERVED delivery date, when recording a birth that already happened. */ deliveredOn?: InputMaybe; expectedDueDate?: InputMaybe; mateId?: InputMaybe; matingDate: Scalars['String']['input']; matingType: Scalars['String']['input']; notes?: InputMaybe; /** Offspring born. */ offspringBorn?: InputMaybe; /** Offspring born alive. Must not exceed offspringBorn. */ offspringLive?: InputMaybe; /** Whether the pregnancy was confirmed. Implied by a status of CONFIRMED or DELIVERED (BOFF-6279). */ pregnancyConfirmed?: InputMaybe; /** Status. Must be one of: MATED, CONFIRMED, DELIVERED, FAILED (case-insensitive). */ status: Scalars['String']['input']; }; export type CreateBucketInput = { color?: InputMaybe; context?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; parentBucketId?: InputMaybe; slug: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateBudgetInput = { allocated: Scalars['Float']['input']; category: Scalars['String']['input']; context: ContextInput; name: Scalars['String']['input']; period: Scalars['String']['input']; }; export type CreateCalendarBookingInput = { bookerEmail: Scalars['String']['input']; bookerName: Scalars['String']['input']; bookerPhone?: InputMaybe; bookingPageId: Scalars['ID']['input']; formData: Scalars['JSON']['input']; metadata?: InputMaybe; selectedSlotEnd: Scalars['DateTime']['input']; selectedSlotStart: Scalars['DateTime']['input']; }; export type CreateCalendarExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** Override default entity types (defaults to ["calendars", "calendar_events"]). */ entityTypes?: InputMaybe>; format: CalendarExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateCalendarInput = { calendarType: CalendarType; color?: InputMaybe; description?: InputMaybe; isDefault?: InputMaybe; isPublic?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; ownerGroupId?: InputMaybe; ownerProjectId?: InputMaybe; ownerUserId?: InputMaybe; ownerWorkspaceId?: InputMaybe; timezone?: InputMaybe; }; export type CreateCalendarResourceInput = { approverUserId?: InputMaybe; bufferAfter?: InputMaybe; bufferBefore?: InputMaybe; building?: InputMaybe; calendarId?: InputMaybe; capacity?: InputMaybe; description?: InputMaybe; features?: InputMaybe; floor?: InputMaybe; isActive?: InputMaybe; isBookable?: InputMaybe; location?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; requireApproval?: InputMaybe; resourceType: CalendarResourceType; room?: InputMaybe; }; export type CreateCargoItemInput = { brand?: InputMaybe; category?: InputMaybe; context?: InputMaybe; description?: InputMaybe; dimensions?: InputMaybe; fragile?: InputMaybe; hazardous?: InputMaybe; name: Scalars['String']['input']; sku: Scalars['String']['input']; temperatureControlled?: InputMaybe; value?: InputMaybe; weight?: InputMaybe; }; export type CreateCatalogInput = { /** Operation context for scoping */ context?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; ownerId?: InputMaybe; ownerName?: InputMaybe; tags?: InputMaybe>; visibility?: InputMaybe; }; export type CreateCertificationInput = { certifyingBody: Scalars['String']['input']; context: ContextInput; expiryDate: Scalars['String']['input']; /** Link this certificate to an ICS group (group certification). */ icsGroupId?: InputMaybe; issuedDate: Scalars['String']['input']; name: Scalars['String']['input']; scope?: InputMaybe>; /** * Workflow stage. Must be one of: NOT_STARTED, IN_PROGRESS, CERTIFIED (case-insensitive). * Defaults to CERTIFIED for an ACTIVE certificate, IN_PROGRESS otherwise. */ stage?: InputMaybe; standard: Scalars['String']['input']; /** * Structured standard. Must be one of: NPOP, GLOBALGAP, EUDR, FAIRTRADE, USDA_NOP, * EU_ORGANIC, OTHER (case-insensitive). Inferred from `standard` when omitted. */ standardCode?: InputMaybe; /** Status. Must be one of: ACTIVE, EXPIRED, PENDING_RENEWAL, SUSPENDED (case-insensitive). */ status?: InputMaybe; }; export type CreateChangeRequestInput = { affectedAssets?: InputMaybe>; assignedTo?: InputMaybe; description: Scalars['String']['input']; risk?: InputMaybe; scheduledEnd?: InputMaybe; scheduledStart?: InputMaybe; title: Scalars['String']['input']; type: Scalars['String']['input']; }; export type CreateChannelConnectorInput = { bucketId?: InputMaybe; credentialsRefId?: InputMaybe; defaultPolicyBindings?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; type: ChannelType; visibility?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateChannelRouteInput = { appId: Scalars['ID']['input']; connectorId: Scalars['ID']['input']; formatPolicyId?: InputMaybe; locationId: Scalars['String']['input']; metadata?: InputMaybe; policyBindings?: InputMaybe; routingOverrides?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateClientPortalConfigInput = { clientName: Scalars['String']['input']; contactEmail?: InputMaybe; contactPhone?: InputMaybe; context?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; logoUrl?: InputMaybe; permissions?: InputMaybe; settings?: InputMaybe; }; export type CreateCohortInput = { criteria?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; type: CohortType; userIds?: InputMaybe>; }; export type CreateCollectionInput = { color?: InputMaybe; coverImageId?: InputMaybe; criteria?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; name: Scalars['String']['input']; type: CollectionType; visibility?: InputMaybe; }; export type CreateCommunityPostInput = { category: Scalars['String']['input']; content: Scalars['String']['input']; context: ContextInput; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CreateComplianceDocumentInput = { certificationId?: InputMaybe; context: ContextInput; /** Reference to a real uploaded file in wspace-files-svc (from the fe-libs upload). */ fileId?: InputMaybe; fileName?: InputMaybe; fileUrl?: InputMaybe; /** Status. Must be one of: CURRENT, EXPIRED, PENDING (case-insensitive). */ status?: InputMaybe; title: Scalars['String']['input']; /** Type. Must be one of: CERTIFICATE, PLAN, REPORT, LEGAL, LOG, RECORD (case-insensitive). */ type: Scalars['String']['input']; }; export type CreateComplianceResidueTestInput = { context: ContextInput; cropId?: InputMaybe; laboratory?: InputMaybe; measuredMgPerKg: Scalars['Float']['input']; notes?: InputMaybe; /** Opaque wspace-files-svc reference to the lab report. */ reportFileId?: InputMaybe; substanceName: Scalars['String']['input']; testedAt: Scalars['String']['input']; traceBatchId?: InputMaybe; }; export type CreateComplianceSubstanceRuleInput = { activeIngredient?: InputMaybe; casNumber?: InputMaybe; context: ContextInput; cropScope?: InputMaybe; mrlMgPerKg?: InputMaybe; notes?: InputMaybe; /** Defaults to true when no mrlMgPerKg is given (a ban), false otherwise (a limit). */ prohibited?: InputMaybe; /** Where the rule comes from, e.g. an FSSAI notification or a buyer contract. */ source?: InputMaybe; standardCode?: InputMaybe; substanceName: Scalars['String']['input']; }; export type CreateComponentInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; dependencies?: InputMaybe; description?: InputMaybe; documentationUrl?: InputMaybe; framework?: InputMaybe; language?: InputMaybe; lifecycle?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; ownerId?: InputMaybe; ownerName?: InputMaybe; repositoryUrl?: InputMaybe; sbomData?: InputMaybe; tags?: InputMaybe>; teamId?: InputMaybe; teamName?: InputMaybe; type?: InputMaybe; version?: InputMaybe; }; export type CreateCompostBatchInput = { brownsKg?: InputMaybe; context: ContextInput; gardenId: Scalars['ID']['input']; greensKg?: InputMaybe; method?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; startedAt?: InputMaybe; }; export type CreateConnectionInput = { /** * Which of the provider's auth methods to use. Omit to use the provider's * default method — the behaviour for every single-method provider. */ authMethodKey?: InputMaybe; config?: InputMaybe; context?: InputMaybe; credentialSecretId?: InputMaybe; description?: InputMaybe; managedSecretName?: InputMaybe; name: Scalars['String']['input']; providerId: Scalars['ID']['input']; vaultId?: InputMaybe; /** * Who can reach the new connection. Defaults to WORKSPACE; RESTRICTED keeps it to its owner until * it is shared. */ visibility?: InputMaybe; }; export type CreateConsultationInput = { consultantId: Scalars['String']['input']; consultantName?: InputMaybe; consultantType: ConsultationConsultantType; context: ContextInput; fee?: InputMaybe; mode: Scalars['String']['input']; notes?: InputMaybe; /** * BOFF-6081 — link this booking back to an AI plant scan (the INCONCLUSIVE * hand-off). The scan's context is stamped with the created consultation id. */ plantScanId?: InputMaybe; requestedDate: Scalars['String']['input']; /** BOFF-6030 — ISO instant for the chosen slot. Optional; `slotEnd` is derived from the rule. */ slotStart?: InputMaybe; topic: Scalars['String']['input']; }; export type CreateConversationInput = { /** * RESERVED — provisioned for a future cross-workspace conversation feature. * When false (the default and only currently-supported value) every * participant and the creator MUST belong to the conversation's workspace. * Passing `true` is rejected at runtime unless the operator has explicitly * enabled the feature via `CONVERSATIONS_ALLOW_EXTERNAL=true`, which remains * off in every environment today. Do not rely on this field — it exists so * the cross-workspace rollout is a non-breaking schema change. */ allowExternal?: InputMaybe; description?: InputMaybe; participantIds: Array; settings?: InputMaybe; title?: InputMaybe; type: ConversationType; workspaceId: Scalars['ID']['input']; }; export type CreateConversationPayload = { __typename?: 'CreateConversationPayload'; conversation?: Maybe; success: Scalars['Boolean']['output']; }; export type CreateConversationsExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** Override default entity types (defaults to ["conversations", "messages"]). */ entityTypes?: InputMaybe>; format: ConversationsExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateCosTagInput = { color?: InputMaybe; label: Scalars['String']['input']; /** Optional. When omitted the tag goes to the workspace's default CosmicIntersection vocabulary (created on first use). */ vocabularyId?: InputMaybe; }; export type CreateCrewAnnouncementInput = { author: Scalars['String']['input']; authorRole: Scalars['String']['input']; category: Scalars['String']['input']; content: Scalars['String']['input']; createdAt?: InputMaybe; isPinned: Scalars['Boolean']['input']; priority: Scalars['String']['input']; tags: Array; title: Scalars['String']['input']; viewCount?: InputMaybe; }; export type CreateCrewBookingInput = { clientName: Scalars['String']['input']; listingId: Scalars['ID']['input']; notes?: InputMaybe; scheduledEnd?: InputMaybe; scheduledStart?: InputMaybe; }; export type CreateCrewCandidateInput = { appliedDate: Scalars['DateTime']['input']; currentCompany?: InputMaybe; email: Scalars['String']['input']; experience: Scalars['Int']['input']; firstName: Scalars['String']['input']; hiredDate?: InputMaybe; jobPostingId?: InputMaybe; lastName: Scalars['String']['input']; notes?: InputMaybe; phone: Scalars['String']['input']; position: Scalars['String']['input']; rating?: InputMaybe; resumeUrl?: InputMaybe; skills: Array; source: Scalars['String']['input']; status: Scalars['String']['input']; }; export type CreateCrewClientInput = { contactPerson?: InputMaybe; email?: InputMaybe; industry?: InputMaybe; name: Scalars['String']['input']; phone?: InputMaybe; projects?: InputMaybe; revenue?: InputMaybe; since?: InputMaybe; status?: InputMaybe; }; export type CreateCrewDepartmentInput = { budget?: InputMaybe; headId?: InputMaybe; headName?: InputMaybe; location?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; }; export type CreateCrewDispatchInput = { assigneeUserId?: InputMaybe; description?: InputMaybe; dueAt?: InputMaybe; /** Assign on creation: the employee who takes the work order. */ employeeId?: InputMaybe; priority?: InputMaybe; /** Assign on creation: the shift whose worker takes the work order. */ shiftId?: InputMaybe; siteAddress?: InputMaybe; siteLatitude?: InputMaybe; siteLongitude?: InputMaybe; siteName?: InputMaybe; title: Scalars['String']['input']; }; export type CreateCrewEmployeeInput = { avatar?: InputMaybe; department: Scalars['String']['input']; email: Scalars['String']['input']; firstName: Scalars['String']['input']; lastName: Scalars['String']['input']; location: Scalars['String']['input']; managerId?: InputMaybe; performanceScore?: InputMaybe; phone: Scalars['String']['input']; position: Scalars['String']['input']; salary: Scalars['Float']['input']; skills?: InputMaybe>; startDate: Scalars['DateTime']['input']; status: Scalars['String']['input']; terminationDate?: InputMaybe; type: Scalars['String']['input']; }; export type CreateCrewEnrollmentInput = { courseId: Scalars['ID']['input']; employeeId: Scalars['ID']['input']; employeeName: Scalars['String']['input']; }; export type CreateCrewInterviewInput = { candidateId: Scalars['ID']['input']; candidateName: Scalars['String']['input']; date: Scalars['DateTime']['input']; feedback?: InputMaybe; interviewerId?: InputMaybe; interviewerName: Scalars['String']['input']; position: Scalars['String']['input']; rating?: InputMaybe; status?: InputMaybe; time: Scalars['String']['input']; type: Scalars['String']['input']; }; export type CreateCrewJobPostingInput = { applicants?: InputMaybe; benefits?: InputMaybe>; deadline?: InputMaybe; department: Scalars['String']['input']; description?: InputMaybe; experienceLevel?: InputMaybe; location?: InputMaybe; postedDate?: InputMaybe; requirements?: InputMaybe>; salaryMax?: InputMaybe; salaryMin?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; type?: InputMaybe; }; export type CreateCrewLeaveRequestInput = { approverName?: InputMaybe; days: Scalars['Int']['input']; department: Scalars['String']['input']; employeeId: Scalars['ID']['input']; employeeName: Scalars['String']['input']; endDate: Scalars['DateTime']['input']; reason: Scalars['String']['input']; startDate: Scalars['DateTime']['input']; status: Scalars['String']['input']; type: Scalars['String']['input']; }; export type CreateCrewOnboardingInput = { candidateId?: InputMaybe; currentStage?: InputMaybe; department?: InputMaybe; employeeId?: InputMaybe; fullName: Scalars['String']['input']; position: Scalars['String']['input']; startDate?: InputMaybe; status?: InputMaybe; }; export type CreateCrewOnboardingTaskInput = { assigneeActorId?: InputMaybe; assigneeName?: InputMaybe; dueDate?: InputMaybe; onboardingId: Scalars['ID']['input']; sortOrder?: InputMaybe; stage: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CreateCrewOpenShiftInput = { endsAt: Scalars['DateTime']['input']; geofenceRadiusMeters?: InputMaybe; notes?: InputMaybe; reminderMinutesBefore?: InputMaybe; role?: InputMaybe; siteAddress?: InputMaybe; siteLatitude?: InputMaybe; siteLongitude?: InputMaybe; siteName?: InputMaybe; slots?: InputMaybe; startsAt: Scalars['DateTime']['input']; title: Scalars['String']['input']; }; export type CreateCrewPayrollRecordInput = { deductions: Scalars['Float']['input']; department: Scalars['String']['input']; employeeId: Scalars['ID']['input']; employeeName: Scalars['String']['input']; grossPay: Scalars['Float']['input']; netPay: Scalars['Float']['input']; payDate?: InputMaybe; paymentMethod: Scalars['String']['input']; period: Scalars['String']['input']; status?: InputMaybe; }; export type CreateCrewPayrollRunInput = { country: CrewPayrollCountry; employees: Array; notes?: InputMaybe; payDate?: InputMaybe; period: Scalars['String']['input']; }; export type CreateCrewProjectInput = { budget?: InputMaybe; description: Scalars['String']['input']; endDate?: InputMaybe; managerId?: InputMaybe; managerName?: InputMaybe; name: Scalars['String']['input']; priority?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; teamId?: InputMaybe; teamName?: InputMaybe; }; export type CreateCrewServiceListingInput = { category?: InputMaybe; currency?: InputMaybe; description: Scalars['String']['input']; providerName: Scalars['String']['input']; rate: Scalars['Float']['input']; rateUnit: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CreateCrewShiftInput = { assigneeUserId?: InputMaybe; employeeId: Scalars['ID']['input']; endsAt: Scalars['DateTime']['input']; /** 3-100 vertices; replaces the radius. The site pin defaults to the polygon centre. */ geofencePolygon?: InputMaybe>; geofenceRadiusMeters?: InputMaybe; notes?: InputMaybe; reminderMinutesBefore?: InputMaybe; role?: InputMaybe; siteAddress?: InputMaybe; siteLatitude?: InputMaybe; siteLongitude?: InputMaybe; siteName?: InputMaybe; startsAt: Scalars['DateTime']['input']; title: Scalars['String']['input']; }; export type CreateCrewShiftPatternInput = { assigneeUserId?: InputMaybe; daysOfWeek: Array; durationMinutes: Scalars['Int']['input']; /** Omit to post each occurrence as an open shift. */ employeeId?: InputMaybe; endDate?: InputMaybe; geofenceRadiusMeters?: InputMaybe; horizonDays?: InputMaybe; intervalWeeks?: InputMaybe; notes?: InputMaybe; openSlots?: InputMaybe; reminderMinutesBefore?: InputMaybe; role?: InputMaybe; siteAddress?: InputMaybe; siteLatitude?: InputMaybe; siteLongitude?: InputMaybe; siteName?: InputMaybe; /** YYYY-MM-DD; defaults to today in the pattern's time zone. */ startDate?: InputMaybe; startTime: Scalars['String']['input']; timezone?: InputMaybe; title: Scalars['String']['input']; }; export type CreateCrewSkillInput = { aliases?: InputMaybe>; category?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; }; export type CreateCrewSkillRelationInput = { fromSkillId: Scalars['ID']['input']; toSkillId: Scalars['ID']['input']; /** IMPLIES, RELATED_TO or SUPERSEDES. */ type: Scalars['String']['input']; }; export type CreateCrewTeamInput = { department?: InputMaybe; description: Scalars['String']['input']; leadId?: InputMaybe; leadName?: InputMaybe; members?: InputMaybe>; name: Scalars['String']['input']; status?: InputMaybe; }; export type CreateCrewTimeEntryInput = { billable?: InputMaybe; clockIn: Scalars['String']['input']; clockOut?: InputMaybe; date: Scalars['DateTime']['input']; employeeId: Scalars['ID']['input']; employeeName: Scalars['String']['input']; overtime?: InputMaybe; project?: InputMaybe; status?: InputMaybe; totalHours?: InputMaybe; }; export type CreateCrewTrainingCourseInput = { contentUrl: Scalars['String']['input']; description: Scalars['String']['input']; durationMinutes?: InputMaybe; isActive?: InputMaybe; requiredForRoles?: InputMaybe>; title: Scalars['String']['input']; }; export type CreateCrewVendorInput = { category: Scalars['String']['input']; contactPerson?: InputMaybe; contractValue?: InputMaybe; email?: InputMaybe; name: Scalars['String']['input']; phone?: InputMaybe; rating?: InputMaybe; status?: InputMaybe; }; export type CreateCropInput = { category: Scalars['String']['input']; context: ContextInput; daysToHarvest: Scalars['Int']['input']; expectedHarvestDate: Scalars['String']['input']; fieldId: Scalars['ID']['input']; growthStage: Scalars['String']['input']; /** Crop health. Must be one of: EXCELLENT, GOOD, FAIR, POOR, CRITICAL (case-insensitive). */ healthStatus: Scalars['String']['input']; imageIds?: InputMaybe>; name: Scalars['String']['input']; organicCertified: Scalars['Boolean']['input']; plantingDate: Scalars['String']['input']; progress: Scalars['Int']['input']; /** Growing season. Must be one of: KHARIF, RABI, ZAID, PERENNIAL (case-insensitive). */ season: Scalars['String']['input']; /** Crop status. Must be one of: PLANNING, PLANTED, GROWING, FLOWERING, FRUITING, HARVEST_READY, HARVESTED (case-insensitive). */ status: Scalars['String']['input']; variety: Scalars['String']['input']; yieldEstimate: Scalars['Float']['input']; yieldUnit: Scalars['String']['input']; }; export type CreateCustomerInput = { address?: InputMaybe; businessLicense?: InputMaybe; company?: InputMaybe; context?: InputMaybe; email?: InputMaybe; name: Scalars['String']['input']; notifyByEmail?: InputMaybe; notifyBySms?: InputMaybe; phone?: InputMaybe; rating?: InputMaybe; taxId?: InputMaybe; type?: InputMaybe; }; export type CreateDashboardInput = { description?: InputMaybe; filters?: InputMaybe; isPublic?: InputMaybe; isTemplate?: InputMaybe; layout?: InputMaybe; name: Scalars['String']['input']; }; /** * Input for creating a data sink (v2.1 - standalone DataSinks) * DataSinks are now standalone entities. Workflows push data to them via unique keys. */ export type CreateDataSinkInput = { /** Alert rules */ alerts?: InputMaybe>; /** Additional configuration (flexible JSONB storage) */ config?: InputMaybe; /** Context (Opaque IDs for cross-service context) */ context?: InputMaybe; /** Initial data payload (JSON, optional - workflows push data later) */ data?: InputMaybe; /** * Data sensitivity classification (default: L2_INTERNAL). L4_REGULATED * requires fieldMaskingEnabled: true — rejected otherwise. */ dataClassification?: InputMaybe; /** Optional description */ description?: InputMaybe; /** Export configurations */ exports?: InputMaybe>; /** Field-level masking enabled (default: false) */ fieldMaskingEnabled?: InputMaybe; /** Field masking rules (optional) */ fieldMaskingRules?: InputMaybe; /** Unique key within workspace (e.g., 'sales_metrics_q4') */ key: Scalars['String']['input']; /** Metadata */ metadata?: InputMaybe; /** DataSink name */ name?: InputMaybe; /** Resource quota configuration */ quota?: InputMaybe; /** Refresh configuration */ refresh?: InputMaybe; /** Initial setup state (default: configuration_pending for standalone DataSinks) */ setupState?: InputMaybe; /** Cache TTL in Redis (seconds, default: 300, null = no cache) */ ttl?: InputMaybe; }; export type CreateDataTableInput = { columns: Array; description?: InputMaybe; name: Scalars['String']['input']; }; export type CreateDeliveryJobInput = { cargoItems: Scalars['JSON']['input']; context?: InputMaybe; customerId: Scalars['ID']['input']; deliveryAddress: Scalars['JSON']['input']; deliveryJobNumber: Scalars['String']['input']; driverId?: InputMaybe; pickupAddress: Scalars['JSON']['input']; pricing?: InputMaybe; priority?: InputMaybe; routeId?: InputMaybe; scheduledDelivery?: InputMaybe; specialInstructions?: InputMaybe; status?: InputMaybe; storeOrderId?: InputMaybe; trackingNumber?: InputMaybe; vehicleId?: InputMaybe; }; export type CreateDigitalTwinInput = { assetId: Scalars['ID']['input']; fidelityLevel: Scalars['String']['input']; geometryRef?: InputMaybe; modelRef: Scalars['String']['input']; properties?: InputMaybe; }; /** * Input for createDisposableWorkspace (BOFF-6560, service-actor-only). * No gateway-injected tenant/org/actor context exists for an M2M caller, so * every identity field is explicit here — mirrors SyncFromGlobalInput's * service-to-service shape rather than CreateWorkspaceInput's user-session one. */ export type CreateDisposableWorkspaceInput = { /** Display name of the disposable workspace */ name: Scalars['String']['input']; /** Organization ID this disposable workspace belongs to */ orgId: Scalars['ID']['input']; /** * Owner user ID for the disposable workspace (the operator/service identity * responsible for its lifecycle, not necessarily an end-user) */ ownerId: Scalars['ID']['input']; /** Tenant ID this disposable workspace belongs to */ tenantId: Scalars['ID']['input']; /** Type of workspace (defaults to WORKSPACE) */ type?: InputMaybe; }; export type CreateDriverInput = { baseSalary?: InputMaybe; bonusYtd?: InputMaybe; certifications?: InputMaybe; context?: InputMaybe; currentLocation?: InputMaybe; email?: InputMaybe; employeeId: Scalars['String']['input']; firstName: Scalars['String']['input']; hireDate?: InputMaybe; lastName: Scalars['String']['input']; licenseClass?: InputMaybe; licenseExpiry?: InputMaybe; licenseNumber?: InputMaybe; maxDrivingHoursPerShift?: InputMaybe; notes?: InputMaybe; payCurrency?: InputMaybe; performanceMetrics?: InputMaybe; phone?: InputMaybe; rating?: InputMaybe; status?: InputMaybe; userId?: InputMaybe; vehicleId?: InputMaybe; vehicleIds?: InputMaybe>; }; export type CreateEmailTimeEntryInput = { category?: InputMaybe; context?: InputMaybe; date: Scalars['DateTime']['input']; duration?: InputMaybe; isImportant?: InputMaybe; recipients?: InputMaybe; responseTime?: InputMaybe; sender?: InputMaybe; subject?: InputMaybe; threadId?: InputMaybe; }; /** Input for creating an entity comment */ export type CreateEntityCommentInput = { attachmentIds?: InputMaybe>; content: EntityCommentContentInput; contentType?: InputMaybe; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; expiresAt?: InputMaybe; isAnonymous?: InputMaybe; isPinned?: InputMaybe; mentionUserIds?: InputMaybe>; metadata?: InputMaybe; parentCommentId?: InputMaybe; scheduledAt?: InputMaybe; tagIds?: InputMaybe>; visibility?: InputMaybe; }; export type CreateEntityTagInput = { color?: InputMaybe; label: Scalars['String']['input']; /** Optional. When omitted the tag goes to the workspace's default VibeControls vocabulary (created on first use). */ vocabularyId?: InputMaybe; }; /** * Canonical identity for a new AssetHandler ESG metric. Identity fields become * immutable after creation; recreating an archived identity is a new allocation. */ export type CreateEsgMetricInput = { assetId?: InputMaybe; category: Scalars['String']['input']; metricKey: Scalars['String']['input']; metricName: Scalars['String']['input']; notes?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; target?: InputMaybe; trend?: InputMaybe; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export type CreateEventInput = { allDay?: InputMaybe; calendarId: Scalars['ID']['input']; checkInEnabled?: InputMaybe; description?: InputMaybe; endTime: Scalars['DateTime']['input']; eventType: EventType; isRecurring?: InputMaybe; location?: InputMaybe; locationAddress?: InputMaybe; locationType?: InputMaybe; locationUrl?: InputMaybe; maxAttendees?: InputMaybe; metadata?: InputMaybe; onlineMeetingProvider?: InputMaybe; onlineMeetingUrl?: InputMaybe; rrule?: InputMaybe; startTime: Scalars['DateTime']['input']; status?: InputMaybe; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; timezone?: InputMaybe; title: Scalars['String']['input']; visibility?: InputMaybe; }; /** Input for creating event registration */ export type CreateEventRegistrationInput = { apiKeyHeader?: InputMaybe; config?: InputMaybe; description?: InputMaybe; eventSource: Scalars['String']['input']; eventType: Scalars['String']['input']; name?: InputMaybe; payloadMapping?: InputMaybe; projectId?: InputMaybe; secretToken?: InputMaybe; signatureHeader?: InputMaybe; tags?: InputMaybe>; triggerNodeId: Scalars['String']['input']; validationMethod?: InputMaybe; workflowKey: Scalars['String']['input']; }; export type CreateEventSchemaInput = { description?: InputMaybe; eventName: Scalars['String']['input']; isActive?: InputMaybe; schema: Scalars['JSON']['input']; }; export type CreateExecutionInput = { agentId?: InputMaybe; appId?: InputMaybe; conversationId?: InputMaybe; input: Scalars['String']['input']; metadata?: InputMaybe; type: ExecutionType; workspaceId: Scalars['ID']['input']; }; export type CreateExpenseInput = { amount: Scalars['Float']['input']; category: Scalars['String']['input']; context?: InputMaybe; currency?: InputMaybe; date: Scalars['DateTime']['input']; description?: InputMaybe; notes?: InputMaybe; projectId?: InputMaybe; receiptFileId?: InputMaybe; receiptUrl?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateExpertInput = { availability: Scalars['String']['input']; context: ContextInput; experience: Scalars['Int']['input']; hourlyRate: Scalars['Float']['input']; languages?: InputMaybe>; location: Scalars['String']['input']; name: Scalars['String']['input']; rating?: InputMaybe; reviews?: InputMaybe; specialization: Scalars['String']['input']; }; export type CreateExportJobInput = { context?: InputMaybe; dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; description?: InputMaybe; entityFilters?: InputMaybe; entityTypes: Array; exportScope?: InputMaybe; format?: InputMaybe; includeMedia?: InputMaybe; includeMetadata?: InputMaybe; name: Scalars['String']['input']; organizationId?: InputMaybe; templateId?: InputMaybe; }; export type CreateExportTemplateInput = { context?: InputMaybe; description?: InputMaybe; entityFilters?: InputMaybe; entityTypes: Array; format?: InputMaybe; includeMedia?: InputMaybe; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateFarmEventInput = { capacity?: InputMaybe; context: ContextInput; date: Scalars['String']['input']; description: Scalars['String']['input']; fee?: InputMaybe; location: Scalars['String']['input']; /** Mode. Must be one of: ONLINE, OFFLINE, HYBRID (case-insensitive). */ mode: Scalars['String']['input']; organizer: Scalars['String']['input']; title: Scalars['String']['input']; /** Type. Must be one of: WORKSHOP, CONFERENCE, TRAINING, FIELD_DAY, WEBINAR (case-insensitive). */ type: Scalars['String']['input']; }; export type CreateFarmInput = { areaUnit: Scalars['String']['input']; /** GeoJSON polygon for the farm's outline (Field Map). Optional. */ boundary?: InputMaybe; certificationBody?: InputMaybe; certificationDate?: InputMaybe; context: ContextInput; imageIds?: InputMaybe>; latitude?: InputMaybe; location: Scalars['String']['input']; longitude?: InputMaybe; name: Scalars['String']['input']; organicCertified: Scalars['Boolean']['input']; owner: Scalars['String']['input']; totalArea: Scalars['Float']['input']; }; export type CreateFeedRecordInput = { animalId: Scalars['ID']['input']; context: ContextInput; cost: Scalars['Float']['input']; date: Scalars['String']['input']; feedType: Scalars['String']['input']; notes?: InputMaybe; quantity: Scalars['Float']['input']; unit?: InputMaybe; }; export type CreateFileVersionInput = { changeMessage?: InputMaybe; fileId: Scalars['ID']['input']; isMajorVersion?: InputMaybe; versionLabel?: InputMaybe; }; export type CreateFilesExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; format: ExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateFluidgridsTagInput = { color?: InputMaybe; label: Scalars['String']['input']; /** Optional. When omitted the tag goes to the workspace's default FluidGrids vocabulary (created on first use). */ vocabularyId?: InputMaybe; }; export type CreateFolderInput = { color?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; name: Scalars['String']['input']; parentFolderId?: InputMaybe; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `Folder.tags` Json column. */ tags?: InputMaybe; visibility?: InputMaybe; }; export type CreateFunnelInput = { description?: InputMaybe; name: Scalars['String']['input']; stepOrder?: InputMaybe; steps: Array; timeWindowHours?: InputMaybe; }; export type CreateGardenCareTaskInput = { context: ContextInput; dueDate: Scalars['DateTime']['input']; gardenId: Scalars['ID']['input']; intervalDays?: InputMaybe; notes?: InputMaybe; plantingId?: InputMaybe; priority?: InputMaybe; quantity?: InputMaybe; quantityUnit?: InputMaybe; taskType: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CreateGardenHarvestInput = { context: ContextInput; destination?: InputMaybe; harvestedAt?: InputMaybe; marketPricePerKg?: InputMaybe; notes?: InputMaybe; photoFileId?: InputMaybe; plantingId: Scalars['ID']['input']; quality?: InputMaybe; quantity: Scalars['Float']['input']; unit?: InputMaybe; }; export type CreateGardenInputInput = { category?: InputMaybe; context: ContextInput; cost?: InputMaybe; expiresAt?: InputMaybe; gardenId: Scalars['ID']['input']; lowStockAt?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; purchasedAt?: InputMaybe; quantity?: InputMaybe; store?: InputMaybe; unit?: InputMaybe; }; export type CreateGardenObservationInput = { body?: InputMaybe; context: ContextInput; entryType?: InputMaybe; gardenId: Scalars['ID']['input']; growSpaceId?: InputMaybe; /** Identified issue — used to attach a home-scale organic remedy. */ identifiedIssue?: InputMaybe; observedAt?: InputMaybe; photoFileId?: InputMaybe; plantScanId?: InputMaybe; plantingId?: InputMaybe; title: Scalars['String']['input']; }; export type CreateGardenPlantingInput = { context: ContextInput; /** Overrides the catalogue value when supplied. */ daysToMaturity?: InputMaybe; /** Default true — generates the watering/feeding/pest-check cadence. */ generateCareSchedule?: InputMaybe; growSpaceId: Scalars['ID']['input']; health?: InputMaybe; method?: InputMaybe; notes?: InputMaybe; perennial?: InputMaybe; plantCatalogId?: InputMaybe; plantName: Scalars['String']['input']; quantity?: InputMaybe; source?: InputMaybe; sourceRef?: InputMaybe; sownAt?: InputMaybe; stage?: InputMaybe; variety?: InputMaybe; }; export type CreateGeofenceInput = { address?: InputMaybe; context?: InputMaybe; isActive?: InputMaybe; latitude: Scalars['Float']['input']; linkedProjectId?: InputMaybe; longitude: Scalars['Float']['input']; name: Scalars['String']['input']; radius: Scalars['Float']['input']; trigger?: InputMaybe; }; export type CreateGgnomadActivityInput = { /** BOFF-4379 — self-attested accessibility tags; omit or pass [] for none. */ accessibilityFeatures?: InputMaybe>; category: Scalars['String']['input']; currency?: InputMaybe; description?: InputMaybe; difficulty?: InputMaybe; duration: Scalars['String']['input']; images: Array; includes: Array; /** BOFF-4361 — defaults to true (instant confirm) when omitted. */ instantBook?: InputMaybe; location: Scalars['JSON']['input']; maxParticipants: Scalars['Int']['input']; name: Scalars['String']['input']; price: Scalars['Float']['input']; providerId?: InputMaybe; requirements: Array; safetyInfo?: InputMaybe; storeProductId?: InputMaybe; /** BOFF-4364 — self-attested; omit or pass [] for none. */ sustainabilityPractices?: InputMaybe>; }; export type CreateGgnomadAffiliateCommissionRuleInput = { /** Defaults to true. */ active?: InputMaybe; /** Required for CATEGORY; optional for TIER and PROMOTION. */ bookingType?: InputMaybe; /** 0-50. */ commissionPercent: Scalars['Float']['input']; endsAt?: InputMaybe; kind: GgnomadAffiliateRuleKind; name: Scalars['String']['input']; /** Limit the rule to one partner; omit for every partner. */ partnerId?: InputMaybe; startsAt?: InputMaybe; volumeCurrency?: InputMaybe; volumeMetric?: InputMaybe; volumePeriodDays?: InputMaybe; volumeThreshold?: InputMaybe; }; export type CreateGgnomadAffiliatePartnerInput = { /** Workspace member to link as this partner. */ actorId?: InputMaybe; /** 1-90; defaults to 30. */ attributionWindowDays?: InputMaybe; /** Optional custom code (6-16 letters/digits); generated when omitted. */ code?: InputMaybe; /** 0-50. */ commissionPercent: Scalars['Float']['input']; contactEmail: Scalars['String']['input']; name: Scalars['String']['input']; /** Exact https origins allowed to frame the widget (max 10). */ widgetAllowedOrigins?: InputMaybe>; }; export type CreateGgnomadBookingInput = { billingTransactionId?: InputMaybe; bookingType: GgnomadBookingType; checkIn?: InputMaybe; checkOut?: InputMaybe; /** BOFF-4365 — department/cost-center this booking is charged against; also selects which travel policy applies. */ costCenter?: InputMaybe; /** BOFF-10193 — ignored. The booking takes the listing's currency. */ currency?: InputMaybe; /** BOFF-10193 — ignored. The destination is derived from the listing's name and stored location. */ destination?: InputMaybe; eventDate?: InputMaybe; /** BOFF-4365 — expense-code / GL code for downstream expense reconciliation. */ expenseCode?: InputMaybe; guestEmail?: InputMaybe; guestName: Scalars['String']['input']; guestPhone?: InputMaybe; guests: Scalars['Int']['input']; itemId: Scalars['String']['input']; itemName: Scalars['String']['input']; /** Use global-store-svc/global-billing-svc for payment settlement; this field is retained only for legacy display metadata. */ paymentMethod?: InputMaybe; specialRequests?: InputMaybe; storeOrderId?: InputMaybe; /** BOFF-10193 — ignored. The booking's price is computed server-side from the listing (see ggnomadBookingQuote); kept so existing clients keep working. */ totalPrice?: InputMaybe; /** BOFF-10193 — ignored. The fare class is taken from the stored trip for TRIP bookings. */ travelClass?: InputMaybe; }; export type CreateGgnomadBookingSlotInput = { capacity: Scalars['Int']['input']; endAt?: InputMaybe; listingId: Scalars['String']['input']; listingType: GgnomadListingType; startAt: Scalars['DateTime']['input']; }; export type CreateGgnomadChannelMappingInput = { channelName: Scalars['String']['input']; direction?: InputMaybe; externalIcalUrl?: InputMaybe; listingId: Scalars['String']['input']; listingType: GgnomadListingType; }; export type CreateGgnomadEventInput = { /** BOFF-4379 — self-attested accessibility tags; omit or pass [] for none. */ accessibilityFeatures?: InputMaybe>; category: Scalars['String']['input']; currency?: InputMaybe; description?: InputMaybe; endsAt?: InputMaybe; images: Array; /** BOFF-4361 — defaults to true (instant confirm) when omitted. */ instantBook?: InputMaybe; name: Scalars['String']['input']; performers: Array; price: Scalars['Float']['input']; providerId?: InputMaybe; startsAt: Scalars['DateTime']['input']; storeProductId?: InputMaybe; /** BOFF-4364 — self-attested; omit or pass [] for none. */ sustainabilityPractices?: InputMaybe>; venue: Scalars['JSON']['input']; }; export type CreateGgnomadGroupTripInput = { currency?: InputMaybe; name: Scalars['String']['input']; /** Display name for the caller's own membership row, defaulting to "Trip organizer" — the creator is always the first member so they participate fully in voting/cost-split/item-assignment. */ organizerDisplayName?: InputMaybe; splitMethod?: InputMaybe; tripPlanId: Scalars['ID']['input']; }; export type CreateGgnomadOperatorStorefrontInput = { aboutText?: InputMaybe; displayName: Scalars['String']['input']; logoUrl?: InputMaybe; primaryColor?: InputMaybe; providerId: Scalars['ID']['input']; slug: Scalars['String']['input']; }; export type CreateGgnomadPricingRuleInput = { /** SEASONAL: -90 to 300. OCCUPANCY: 0 to 300. */ adjustmentPercent: Scalars['Float']['input']; /** SEASONAL only: 0 = Sunday ... 6 = Saturday; omit for every day. */ daysOfWeek?: InputMaybe>; /** SEASONAL only, YYYY-MM-DD, on or after startDate. */ endDate?: InputMaybe; isActive?: InputMaybe; listingId: Scalars['ID']['input']; listingType: GgnomadListingType; /** OCCUPANCY only: greater than 0, at most 100. */ minOccupancyPercent?: InputMaybe; /** 1-100 characters, e.g. Peak season or Last rooms. */ name: Scalars['String']['input']; ruleType: GgnomadPricingRuleType; /** SEASONAL only, YYYY-MM-DD. The season may span at most 1096 days. */ startDate?: InputMaybe; }; export type CreateGgnomadPrivateGroupRequestInput = { currency?: InputMaybe; groupSize: Scalars['Int']['input']; listingId: Scalars['String']['input']; listingType: GgnomadListingType; message?: InputMaybe; proposedDate: Scalars['DateTime']['input']; proposedPrice?: InputMaybe; }; export type CreateGgnomadPropertyInput = { /** BOFF-4379 — self-attested accessibility tags; omit or pass [] for none. */ accessibilityFeatures?: InputMaybe>; address: Scalars['JSON']['input']; amenities: Array; bathrooms?: InputMaybe; bedrooms?: InputMaybe; checkInTime?: InputMaybe; checkOutTime?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; images: Array; /** BOFF-4361 — defaults to true (instant confirm) when omitted. */ instantBook?: InputMaybe; maxGuests: Scalars['Int']['input']; /** BOFF-3938 — shortest stay in nights; defaults to 1. */ minStayNights?: InputMaybe; name: Scalars['String']['input']; pricePerNight: Scalars['Float']['input']; providerId?: InputMaybe; storeProductId?: InputMaybe; /** BOFF-4364 — self-attested; omit or pass [] for none. Score is derived server-side, never client-supplied. */ sustainabilityPractices?: InputMaybe>; type: Scalars['String']['input']; /** BOFF-3938 — Friday/Saturday nightly price; omit for none. */ weekendPricePerNight?: InputMaybe; }; export type CreateGgnomadProtectionPolicyInput = { coverageTerms?: InputMaybe; feePercent: Scalars['Float']['input']; isActive?: InputMaybe; maxCoverageAmount?: InputMaybe; name: Scalars['String']['input']; }; export type CreateGgnomadProviderInput = { contactEmail?: InputMaybe; contactPhone?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; type: GgnomadProviderType; website?: InputMaybe; }; export type CreateGgnomadReviewInput = { /** * BOFF-10195 — required in practice: the reviewer's own COMPLETED booking of * the reviewed listing. One review per booking; reviews without one are * rejected. */ bookingId?: InputMaybe; content?: InputMaybe; images?: InputMaybe>; rating: Scalars['Int']['input']; targetId: Scalars['String']['input']; targetType: GgnomadBookingType; title?: InputMaybe; }; export type CreateGgnomadTourInput = { /** BOFF-4379 — self-attested accessibility tags; omit or pass [] for none. */ accessibilityFeatures?: InputMaybe>; currency?: InputMaybe; description?: InputMaybe; difficulty?: InputMaybe; duration: Scalars['String']['input']; guideName?: InputMaybe; highlights: Array; images: Array; /** BOFF-4361 — defaults to true (instant confirm) when omitted. */ instantBook?: InputMaybe; languages: Array; location: Scalars['JSON']['input']; maxGroupSize: Scalars['Int']['input']; name: Scalars['String']['input']; price: Scalars['Float']['input']; providerId?: InputMaybe; storeProductId?: InputMaybe; /** BOFF-4364 — self-attested; omit or pass [] for none. */ sustainabilityPractices?: InputMaybe>; type: Scalars['String']['input']; }; export type CreateGgnomadTravelPolicyInput = { allowedTravelClasses?: InputMaybe>; blockedDestinations?: InputMaybe>; costCenter?: InputMaybe; currency?: InputMaybe; isActive?: InputMaybe; maxBookingAmount?: InputMaybe; maxMonthlyPerTraveler?: InputMaybe; name: Scalars['String']['input']; requireApprovalAlways?: InputMaybe; }; /** * BOFF-10228 — with `offerToken`, the trip's itinerary and fare (origin, * destination, mode, times, carrier, class, price, currency, passengers, stops, * CO2) are taken from the verified offer and the matching fields below are * ignored; only `name` and `storeProductId` come from the caller. Without * `offerToken` the trip is a manual, unpriced itinerary: `price` must be omitted * or 0 and the trip cannot be booked. */ export type CreateGgnomadTripInput = { arrivalAt?: InputMaybe; carrier?: InputMaybe; carrierCode?: InputMaybe; class?: InputMaybe; co2Emissions?: InputMaybe; currency?: InputMaybe; departureAt?: InputMaybe; destination?: InputMaybe; ecoFriendly?: InputMaybe; isRoundTrip?: InputMaybe; name: Scalars['String']['input']; /** BOFF-10228 — the offerToken of a searchGgnomadTransport offer. */ offerToken?: InputMaybe; origin?: InputMaybe; passengers?: InputMaybe; /** BOFF-10228 — only 0 is accepted without an offerToken; with one, the offer's fare is used. */ price?: InputMaybe; returnArrivalAt?: InputMaybe; returnDepartureAt?: InputMaybe; stops?: InputMaybe; storeProductId?: InputMaybe; transportMode?: InputMaybe; }; export type CreateGgnomadTripPlanInput = { description?: InputMaybe; endDate?: InputMaybe; name: Scalars['String']['input']; startDate?: InputMaybe; travelers?: InputMaybe; }; export type CreateGovernmentSchemeInput = { applicationDeadline?: InputMaybe; applicationUrl?: InputMaybe; benefits: Scalars['String']['input']; category: Scalars['String']['input']; context: ContextInput; /** Canonical scheme geography. Defaults to India when omitted by legacy clients. */ country?: InputMaybe; /** Canonical ISO 4217 currency. Defaults to INR when omitted by legacy clients. */ currency?: InputMaybe; department: Scalars['String']['input']; description: Scalars['String']['input']; eligibility: Array; /** * BOFF-6110 — optional machine-evaluable criteria, each `{ id, label, fact, operator, value }`. * Additive: omit it and the scheme keeps only its free-text `eligibility` wording. */ eligibilityRules?: InputMaybe>; maxAmount?: InputMaybe; /** Scheme-authored application document checklist. */ requiredDocuments?: InputMaybe>; /** Status. Must be one of: OPEN, CLOSING_SOON, CLOSED (case-insensitive). */ status: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CreateGraphEdgeInput = { fromNodeId: Scalars['ID']['input']; metadata?: InputMaybe; organizationId: Scalars['ID']['input']; toNodeId: Scalars['ID']['input']; type: Scalars['String']['input']; }; export type CreateGraphNodeInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe; organizationId: Scalars['ID']['input']; productSource: Scalars['String']['input']; projectId?: InputMaybe; title?: InputMaybe; workspaceId?: InputMaybe; }; export type CreateGroupInput = { allowMemberInvites?: InputMaybe; allowNestedGroups?: InputMaybe; allowedEntityTypes?: InputMaybe>; color?: InputMaybe; compositionMode?: InputMaybe; description?: InputMaybe; groupType: GroupType; icon?: InputMaybe; materializationStrategy?: InputMaybe; maxMembers?: InputMaybe; maxNestingDepth?: InputMaybe; membershipType?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; productKey?: InputMaybe; requireApprovalToJoin?: InputMaybe; ruleSyncFrequencyMinutes?: InputMaybe; scope?: InputMaybe; slug?: InputMaybe; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `Group.tags` Json column. */ tags?: InputMaybe; visibility?: InputMaybe; }; export type CreateGroupSettingInput = { description?: InputMaybe; isOverride?: InputMaybe; scope?: InputMaybe; settingKey: Scalars['String']['input']; value: Scalars['JSON']['input']; }; export type CreateGroupTemplateInput = { allowMemberInvites?: InputMaybe; allowNestedGroups?: InputMaybe; allowedEntityTypes?: InputMaybe>; category?: InputMaybe; color?: InputMaybe; compositionMode?: InputMaybe; defaultMetadata?: InputMaybe; defaultSettings?: InputMaybe; description?: InputMaybe; groupType: GroupType; icon?: InputMaybe; maxMembers?: InputMaybe; maxNestingDepth?: InputMaybe; membershipType?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; requireApprovalToJoin?: InputMaybe; scope?: InputMaybe; slug?: InputMaybe; visibility?: InputMaybe; }; export type CreateGroupsExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** Override default entity types (defaults to ["groups", "group_members"]). */ entityTypes?: InputMaybe>; format: GroupsExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateGrowSpaceInput = { context: ContextInput; diameterCm?: InputMaybe; gardenId: Scalars['ID']['input']; heightCm?: InputMaybe; lengthCm?: InputMaybe; mediaRefreshedAt?: InputMaybe; medium?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; quantity?: InputMaybe; slots?: InputMaybe; spaceType?: InputMaybe; sunExposure?: InputMaybe; widthCm?: InputMaybe; zoneLabel?: InputMaybe; }; export type CreateHarvestRecordInput = { /** I-8 — when true, upsert an inventory Product (by SKU) and add the harvested quantity to its stock. */ addToInventory?: InputMaybe; /** I-8 — loose link back to the originating Bed. */ bedId?: InputMaybe; /** * Client-generated idempotency key (BOFF-6094). A replay with the same (workspace, * clientMutationId) — a retried/duplicate mutation call or a double-click — returns * the original harvest instead of recording (and banking) it a second time. Optional: * omitting it preserves the pre-existing (non-idempotent) create behavior. */ clientMutationId?: InputMaybe; context: ContextInput; cropId: Scalars['ID']['input']; fieldId: Scalars['ID']['input']; harvestDate: Scalars['String']['input']; /** I-8 — loose link back to the originating PlantingPlan (planned-vs-actual). */ plantingPlanId?: InputMaybe; pricePerUnit?: InputMaybe; /** I-8 — optional inventory Product category (default: crop category or 'Produce'). */ productCategory?: InputMaybe; quality: Scalars['String']['input']; quantity: Scalars['Float']['input']; storageLocation?: InputMaybe; unit?: InputMaybe; }; export type CreateHeadshotmarketingAdCampaignInput = { audienceId?: InputMaybe; bidStrategy?: InputMaybe; campaignId?: InputMaybe; dailyBudget?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; platform: HeadshotmarketingAdPlatform; /** Platform-native campaign id to link for external ad-network sync. */ platformCampaignId?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; totalBudget?: InputMaybe; }; export type CreateHeadshotmarketingAdCreativeInput = { adCampaignId?: InputMaybe; body?: InputMaybe; callToAction?: InputMaybe; destinationUrl?: InputMaybe; headline?: InputMaybe; mediaUrls?: InputMaybe>; metadata?: InputMaybe; name: Scalars['String']['input']; type: HeadshotmarketingAdCreativeType; }; export type CreateHeadshotmarketingAdCreativeTestInput = { adCampaignId: Scalars['ID']['input']; /** 2 to 6 distinct creatives of the ad campaign; order sets labels A, B, ... */ creativeIds: Array; hypothesis?: InputMaybe; metric: HeadshotmarketingAdCreativeTestMetric; name: Scalars['String']['input']; /** Start the test immediately (RUNNING) instead of leaving it as a DRAFT */ start?: InputMaybe; }; export type CreateHeadshotmarketingAudienceInput = { description?: InputMaybe; estimatedSize?: InputMaybe; isActive?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; tags?: InputMaybe>; targetingCriteria?: InputMaybe; }; export type CreateHeadshotmarketingCampaignInput = { budget?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; goals?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; startDate?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type: HeadshotmarketingCampaignType; }; export type CreateHeadshotmarketingCampaignTemplateInput = { configuration?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; tags?: InputMaybe>; type: HeadshotmarketingCampaignType; }; export type CreateHeadshotmarketingContactInput = { address?: InputMaybe; avatarUrl?: InputMaybe; company?: InputMaybe; customFields?: InputMaybe; email?: InputMaybe; firstName: Scalars['String']['input']; jobTitle?: InputMaybe; lastName: Scalars['String']['input']; metadata?: InputMaybe; phone?: InputMaybe; socialProfiles?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type CreateHeadshotmarketingDealInput = { contactId?: InputMaybe; customFields?: InputMaybe; description?: InputMaybe; expectedCloseDate?: InputMaybe; leadId?: InputMaybe; metadata?: InputMaybe; ownerId?: InputMaybe; pipelineId: Scalars['ID']['input']; probability?: InputMaybe; stageId: Scalars['ID']['input']; status?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; value?: InputMaybe; }; export type CreateHeadshotmarketingInfluencerCampaignInput = { campaignId?: InputMaybe; compensation?: InputMaybe; compensationType?: InputMaybe; contentDeadline?: InputMaybe; deliverables?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; influencerId: Scalars['ID']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; startDate?: InputMaybe; status?: InputMaybe; }; export type CreateHeadshotmarketingInfluencerInput = { audienceDemographics?: InputMaybe; avatarUrl?: InputMaybe; bio?: InputMaybe; email?: InputMaybe; engagementRate?: InputMaybe; location?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; niches?: InputMaybe>; phone?: InputMaybe; platforms?: InputMaybe; tags?: InputMaybe>; tier: HeadshotmarketingInfluencerTier; totalFollowers?: InputMaybe; }; export type CreateHeadshotmarketingInfluencerRelationshipInput = { firstContactDate?: InputMaybe; influencerId: Scalars['ID']['input']; metadata?: InputMaybe; notes?: InputMaybe; rating?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; export type CreateHeadshotmarketingLeadInput = { /** * Ad-network click ids the landing page received (gclid / gbraid / wbraid, * fbclid or the _fbc cookie, li_fat_id). They are stored on the lead and the * visit is recorded as an AD_CLICK touchpoint, credited to the ad campaign * when it can be identified (BOFF-10494). Invalid values are ignored. */ adClickIds?: InputMaybe; /** * The `hm_cid` click id a tracked social or ad link added to the landing page * URL. When present, the click is recorded as this lead's SOCIAL_CLICK or * AD_CLICK touchpoint, dated at the click (BOFF-10394). Unknown, expired or * already-used click ids are ignored. */ attributionClickId?: InputMaybe; campaignId?: InputMaybe; contactId?: InputMaybe; customFields?: InputMaybe; description?: InputMaybe; estimatedValue?: InputMaybe; metadata?: InputMaybe; ownerId?: InputMaybe; score?: InputMaybe; source?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CreateHeadshotmarketingPipelineInput = { description?: InputMaybe; isActive?: InputMaybe; isDefault?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateHeadshotmarketingPipelineStageInput = { color?: InputMaybe; defaultProbability?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; order: Scalars['Int']['input']; pipelineId: Scalars['ID']['input']; }; export type CreateHeadshotmarketingSocialAccountInput = { accountName: Scalars['String']['input']; avatarUrl?: InputMaybe; /** When set to WEBHOOK, publish/schedule perform a real HTTP POST to webhookUrl. */ deliveryMode?: InputMaybe; followerCount?: InputMaybe; /** * Bind this account to an already-created OAuth connection in * wspace-integrations-svc (the id the platform OAuth popup returns — tokens * live server-side in the integrations owner, never in this service). This is * the only supported way to attach credentials; raw tokens are not accepted. */ integrationConnectionId?: InputMaybe; metadata?: InputMaybe; platform: HeadshotmarketingSocialPlatform; platformAccountId: Scalars['String']['input']; profileUrl?: InputMaybe; tokenExpiresAt?: InputMaybe; webhookUrl?: InputMaybe; }; export type CreateHeadshotmarketingSocialPostInput = { campaignId?: InputMaybe; content: Scalars['String']['input']; mediaUrls?: InputMaybe>; metadata?: InputMaybe; scheduledAt?: InputMaybe; socialAccountId: Scalars['ID']['input']; status?: InputMaybe; tags?: InputMaybe>; }; export type CreateHealthRecordInput = { animalId: Scalars['ID']['input']; /** * Client-generated idempotency key (BOFF-4407 offline outbox). A replay with the same * (workspace, clientMutationId) — an offline-queued health event resent after a dropped * connection, or a double-click — returns the original record instead of logging the * event a second time. At most 64 characters. Optional: omitting it keeps the * pre-existing (non-idempotent) create behavior. */ clientMutationId?: InputMaybe; context: ContextInput; cost?: InputMaybe; date: Scalars['String']['input']; diagnosis: Scalars['String']['input']; status: Scalars['String']['input']; treatment: Scalars['String']['input']; /** Type. Must be one of: CHECKUP, TREATMENT, VACCINATION, SURGERY, INJURY (case-insensitive). */ type: Scalars['String']['input']; veterinarian: Scalars['String']['input']; }; export type CreateHealthyBowlAdvisoryTaskInput = { detail?: InputMaybe; dueAt?: InputMaybe; title: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateHealthyBowlAggregationLotInput = { context: ContextInput; crop: Scalars['String']['input']; grade?: InputMaybe; icsGroupId: Scalars['ID']['input']; targetQty?: InputMaybe; unit?: InputMaybe; variety?: InputMaybe; }; export type CreateHealthyBowlAnimalGroupInput = { color?: InputMaybe; context: ContextInput; description?: InputMaybe; /** MANUAL | SMART (defaults to MANUAL). */ kind?: InputMaybe; name: Scalars['String']['input']; /** Smart-group rule, e.g. { animalType: 'CATTLE', productionType: 'DAIRY' }. */ smartRule?: InputMaybe; }; export type CreateHealthyBowlAuctionInput = { /** Minimum increment above the current high bid; defaults to 1 when omitted. */ bidIncrement?: InputMaybe; context: ContextInput; /** Auction close time as an ISO-8601 string. */ endTime: Scalars['String']['input']; marketplaceProductId: Scalars['ID']['input']; reservePrice?: InputMaybe; /** Auction open time as an ISO-8601 string. */ startTime?: InputMaybe; startingPrice: Scalars['Float']['input']; /** Lifecycle status: draft / live; defaults to draft. */ status?: InputMaybe; }; export type CreateHealthyBowlBankAccountInput = { accountNumber?: InputMaybe; bankName?: InputMaybe; context: ContextInput; currency?: InputMaybe; ledgerAccountId?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; }; export type CreateHealthyBowlBedInput = { area?: InputMaybe; /** GeoJSON polygon for the bed's map boundary. Optional. */ boundary?: InputMaybe; context: ContextInput; cropId?: InputMaybe; fieldId: Scalars['ID']['input']; name: Scalars['String']['input']; notes?: InputMaybe; orientationDeg?: InputMaybe; plantCount?: InputMaybe; status?: InputMaybe; unit?: InputMaybe; widthM?: InputMaybe; }; export type CreateHealthyBowlCarbonCreditInput = { baselinePractice?: InputMaybe; context: ContextInput; currency?: InputMaybe; farmId: Scalars['ID']['input']; inventoryId?: InputMaybe; linkedFieldIds?: InputMaybe>; /** SOIL_CARBON | AGROFORESTRY | COVER_CROP | NO_TILL */ method: Scalars['String']['input']; notes?: InputMaybe; pricePerCredit?: InputMaybe; quantityTCo2e: Scalars['Float']['input']; /** Link to a regenerative practice (mutually exclusive with soilCarbonEstimateId). */ regenerativePracticeId?: InputMaybe; /** VERRA_VCS | GOLD_STANDARD | OTHER */ registry?: InputMaybe; /** Link to a soil-carbon estimate (mutually exclusive with regenerativePracticeId). */ soilCarbonEstimateId?: InputMaybe; vintageYear: Scalars['Int']['input']; }; export type CreateHealthyBowlConsultationNoteInput = { body: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateHealthyBowlContactInput = { address?: InputMaybe; context: ContextInput; email?: InputMaybe; gstin?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; phone?: InputMaybe; /** ACTIVE | INACTIVE (defaults to ACTIVE). */ status?: InputMaybe; /** BUYER | SUPPLIER (defaults to BUYER). */ type?: InputMaybe; }; export type CreateHealthyBowlContractAggregationLotInput = { context: ContextInput; contractId: Scalars['ID']['input']; }; export type CreateHealthyBowlCostCenterInput = { code?: InputMaybe; context: ContextInput; /** CROP | ANIMAL | OTHER */ kind: Scalars['String']['input']; label: Scalars['String']['input']; refId?: InputMaybe; refType?: InputMaybe; season?: InputMaybe; yieldQuantity?: InputMaybe; yieldUnit?: InputMaybe; }; export type CreateHealthyBowlCrewInput = { context: ContextInput; isActive?: InputMaybe; leadWorkerId?: InputMaybe; name: Scalars['String']['input']; workerIds?: InputMaybe>; }; export type CreateHealthyBowlCsaPickupLocationInput = { /** Same JSON shape as CsaMembership.deliveryAddress. */ address?: InputMaybe; /** Max memberships. Omit for uncapped — do NOT pass 0, which means no places at all. */ capacity?: InputMaybe; contactName?: InputMaybe; contactPhone?: InputMaybe; context: ContextInput; hoursNote?: InputMaybe; lat?: InputMaybe; lng?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; openingWindows?: InputMaybe>; }; export type CreateHealthyBowlCsaPlanInput = { /** SMALL | MEDIUM | LARGE */ boxSize?: InputMaybe; capacity?: InputMaybe; contents?: InputMaybe>; context: ContextInput; /** Default INR. */ currency?: InputMaybe; /** 0 = Sunday … 6 = Saturday. */ deliveryDayOfWeek?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; /** WEEKLY | BIWEEKLY | MONTHLY */ frequency: Scalars['String']['input']; name: Scalars['String']['input']; price: Scalars['Float']['input']; startDate: Scalars['String']['input']; }; export type CreateHealthyBowlDiseaseWarningRuleInput = { advisoryMessage?: InputMaybe; alertType: Scalars['String']['input']; appliesToCrops?: InputMaybe>; conditions: Array; context: ContextInput; evaluateUsing?: InputMaybe; logicalOperator: Scalars['String']['input']; name: Scalars['String']['input']; notifyInApp?: InputMaybe; status?: InputMaybe; }; export type CreateHealthyBowlFarmRecommendationInput = { /** * BOFF-3676 — HUMAN (default) or MODEL. Omitting it means HUMAN: a caller that does not say * otherwise IS one, and inferring MODEL would attach a machine's authority to a person's advice. */ authorKind?: InputMaybe; confidence?: InputMaybe; detail: Scalars['String']['input']; domain: Scalars['String']['input']; /** Only meaningful when authorKind is MODEL; ignored otherwise. */ modelName?: InputMaybe; priority?: InputMaybe; rationale?: InputMaybe; title: Scalars['String']['input']; /** The CLIENT workspace this recommendation is written onto (the consultant must hold an active assignment to it). */ workspaceId: Scalars['ID']['input']; }; export type CreateHealthyBowlFarmingContractInput = { agreedPrice: Scalars['Float']['input']; context: ContextInput; crop: Scalars['String']['input']; deliverySchedule?: InputMaybe; documentFileId?: InputMaybe; inputSupportTerms?: InputMaybe; pricingModel?: InputMaybe; qualitySpec?: InputMaybe; quotaQty: Scalars['Float']['input']; unit?: InputMaybe; variety?: InputMaybe; }; export type CreateHealthyBowlFieldInput = { area: Scalars['Float']['input']; /** GeoJSON polygon for the field's map boundary (Field Map, Phase 1). Optional. */ boundary?: InputMaybe; context: ContextInput; crops: Array; /** Per-type growing geometry — see `Field.growGeometry`. Omit to leave unchanged. */ growGeometry?: InputMaybe; imageIds?: InputMaybe>; irrigationType: Scalars['String']['input']; location?: InputMaybe; name: Scalars['String']['input']; organicCertified: Scalars['Boolean']['input']; soilType: Scalars['String']['input']; /** Status. Must be one of: ACTIVE, FALLOW, PREPARATION (case-insensitive). */ status: Scalars['String']['input']; /** Defaults to OPEN_FIELD. */ type?: InputMaybe; unit: Scalars['String']['input']; }; export type CreateHealthyBowlInputPlanInput = { context: ContextInput; /** Optional initial rows so the plan is usable immediately. */ items?: InputMaybe>; name: Scalars['String']['input']; notes?: InputMaybe; season: Scalars['String']['input']; }; export type CreateHealthyBowlIrrigationAutomationInput = { autoTaskEnabled?: InputMaybe; context: ContextInput; notifyInApp?: InputMaybe; rainProbThreshold?: InputMaybe; /** The IrrigationSchedule this rule automates. */ scheduleId: Scalars['ID']['input']; skipIfRain?: InputMaybe; soilThresholdPct: Scalars['Int']['input']; status?: InputMaybe; }; export type CreateHealthyBowlIrrigationScheduleInput = { context: ContextInput; cropId?: InputMaybe; durationMin: Scalars['Int']['input']; fieldId: Scalars['ID']['input']; frequencyDays: Scalars['Int']['input']; method: Scalars['String']['input']; startTime: Scalars['String']['input']; status?: InputMaybe; }; export type CreateHealthyBowlLedgerAccountInput = { accountType: Scalars['String']['input']; code: Scalars['String']['input']; context: ContextInput; description?: InputMaybe; name: Scalars['String']['input']; sortOrder?: InputMaybe; }; export type CreateHealthyBowlLoanMilestoneInput = { context: ContextInput; description?: InputMaybe; /** HARVEST or PLANTING_ACTIVITY. Optional at creation; required by the time it is released. */ evidenceType?: InputMaybe; label: Scalars['String']['input']; loanId: Scalars['ID']['input']; releaseAmount: Scalars['Float']['input']; }; export type CreateHealthyBowlMapFeatureInput = { color?: InputMaybe; context: ContextInput; /** GeoJSON point/line/polygon geometry. Required. */ geometry: Scalars['JSON']['input']; name: Scalars['String']['input']; notes?: InputMaybe; /** One of: BUFFER_ZONE, IRRIGATION_LINE, WATER_SOURCE, BUILDING, GREENHOUSE, ENCLOSURE, HAZARD, CUSTOM. */ type: Scalars['String']['input']; }; export type CreateHealthyBowlNurseryBatchInput = { batchCode: Scalars['String']['input']; context: ContextInput; cropId?: InputMaybe; fieldId?: InputMaybe; germinationPct?: InputMaybe; quantity?: InputMaybe; seedLotId: Scalars['ID']['input']; sowDate?: InputMaybe; status?: InputMaybe; trayCount?: InputMaybe; }; export type CreateHealthyBowlPlantCatalogInput = { category?: InputMaybe; context: ContextInput; daysToMaturity?: InputMaybe; /** Germination rate as a fraction in [0, 1] (e.g. 0.85 = 85%). */ germinationRate?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; /** Whether the variety is suitable for organic production. */ organicSuitable?: InputMaybe; plantSpacingCm?: InputMaybe; rowSpacingCm?: InputMaybe; /** Seeds sown per nursery cell/plug. */ seedsPerCell?: InputMaybe; /** Approximate seed count per gram (I-4). */ seedsPerGram?: InputMaybe; variety?: InputMaybe; }; /** * I-7 — log a hands-on operation against a plan/bed/field. At least one of * plantingPlanId/bedId/fieldId should be provided so the activity is anchored. */ export type CreateHealthyBowlPlantingActivityInput = { activityDate: Scalars['String']['input']; bedId?: InputMaybe; context: ContextInput; cropId?: InputMaybe; fieldId?: InputMaybe; laborHours?: InputMaybe; notes?: InputMaybe; plantingPlanId?: InputMaybe; quantity?: InputMaybe; /** One of: WATERING, TILLING, FERTILIZING, WEEDING, TRANSPLANT, SCOUTING, MULCHING, PEST_CONTROL, THINNING, OTHER (case-insensitive). */ type: Scalars['String']['input']; unit?: InputMaybe; }; export type CreateHealthyBowlPriceAlertRuleInput = { commodity: Scalars['String']['input']; /** ABOVE | BELOW. Default ABOVE. */ comparator?: InputMaybe; context: ContextInput; enabled?: InputMaybe; marketName?: InputMaybe; threshold: Scalars['Float']['input']; }; export type CreateHealthyBowlPriceWatchInput = { commodity: Scalars['String']['input']; context: ContextInput; district?: InputMaybe; marketName?: InputMaybe; state?: InputMaybe; }; export type CreateHealthyBowlProductInput = { batchNumber?: InputMaybe; category: Scalars['String']['input']; context: ContextInput; /** * GS1 AI (01) GTIN. Accepts GTIN-8/12/13/14 with or without spaces/hyphens — a 13-digit EAN off * a packet is left-padded to 14. Rejected with BAD_USER_INPUT when the mod-10 check digit fails. * Pass an empty string to CLEAR it. */ gs1Gtin?: InputMaybe; minStock?: InputMaybe; name: Scalars['String']['input']; organicCertified?: InputMaybe; price: Scalars['Float']['input']; shelfLife: Scalars['Int']['input']; sku: Scalars['String']['input']; status?: InputMaybe; stock: Scalars['Int']['input']; unit: Scalars['String']['input']; }; export type CreateHealthyBowlRegenerativePracticeInput = { areaHa?: InputMaybe; context: ContextInput; endDate?: InputMaybe; evidence?: InputMaybe; farmId: Scalars['ID']['input']; fieldId?: InputMaybe; notes?: InputMaybe; /** COVER_CROP | NO_TILL | AGROFORESTRY | COMPOST | RESIDUE_RETENTION | ROTATIONAL_GRAZING */ practiceType: Scalars['String']['input']; startDate: Scalars['String']['input']; }; export type CreateHealthyBowlSeedLotInput = { certExpiry?: InputMaybe; certStandard?: InputMaybe; certifiedOrganic?: InputMaybe; context: ContextInput; cropVariety: Scalars['String']['input']; fileIds?: InputMaybe>; lotNumber: Scalars['String']['input']; purchaseDate?: InputMaybe; quantity?: InputMaybe; supplierId: Scalars['ID']['input']; unit?: InputMaybe; }; export type CreateHealthyBowlStorageLocationInput = { capacity?: InputMaybe; capacityUnit?: InputMaybe; context: ContextInput; /** WAREHOUSE | BIN (defaults to WAREHOUSE). */ kind?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; /** Parent warehouse id — required when kind = BIN. */ parentId?: InputMaybe; /** COLD_STORE | DRY | AMBIENT | FREEZER | MILK_TANK | OTHER (warehouses only). */ storageType?: InputMaybe; }; /** * I-6 succession scheduling — creates `count` PlantingPlan rows spaced `intervalDays` * apart, all sharing one successionGroupId. Seed-rate + bed/crop fields are copied * onto every generated plan. */ export type CreateHealthyBowlSuccessionPlanInput = { /** Optional loose link to a Bed (no FK). */ bedId?: InputMaybe; bedWidthM?: InputMaybe; context: ContextInput; /** Number of successions to generate (>= 1). */ count: Scalars['Int']['input']; cropId?: InputMaybe; density?: InputMaybe; fieldId: Scalars['ID']['input']; /** Days between successive sowings. */ intervalDays: Scalars['Int']['input']; notes?: InputMaybe; pathWidthM?: InputMaybe; /** Optional loose link to a PlantCatalog entry (no FK). */ plantCatalogId?: InputMaybe; /** BOFF-6100 — geometry supplied by the succession form; server derives one set of figures for every child. */ plantSpacingCm?: InputMaybe; plantsNeeded?: InputMaybe; rowSpacingCm?: InputMaybe; /** Growing season. Must be one of: KHARIF, RABI, ZAID, PERENNIAL (case-insensitive). */ season?: InputMaybe; seedGrams?: InputMaybe; seedlingsToRaise?: InputMaybe; /** ISO date of the first sowing/planting in the series. */ startDate: Scalars['String']['input']; year: Scalars['Int']['input']; }; export type CreateHealthyBowlSupplierInput = { address?: InputMaybe; certification?: InputMaybe; comProfileId?: InputMaybe; contactPerson?: InputMaybe; context: ContextInput; /** Id of the shared SeedSupplier directory row this supplier was saved from, if any (BOFF-6096). */ directoryId?: InputMaybe; email?: InputMaybe; location?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; phone?: InputMaybe; type?: InputMaybe; }; export type CreateHealthyBowlTransactionInput = { amount: Scalars['Float']['input']; category: Scalars['String']['input']; /** * BOFF-6116 — optional CRM supplier associated with this transaction. When provided, the contact must * be a live supplier in the current workspace. Supplier spend rollups include linked EXPENSE rows. */ contactId?: InputMaybe; context: ContextInput; /** * BOFF-6072 — optional cost center (crop / animal / other) to attribute this transaction to. Must be * an existing cost center in the workspace; a COMPLETED transaction so tagged reaches cost-by-crop. */ costCenterId?: InputMaybe; /** * BOFF-6136 — optional crop/field this transaction is attributed to. Must belong to this * workspace. When cropId is set and costCenterId is omitted, the crop's own cost center is * auto-attached (created on first use), so the transaction reaches Cost by Crop. */ cropId?: InputMaybe; date: Scalars['String']['input']; description: Scalars['String']['input']; fieldId?: InputMaybe; paymentMethod?: InputMaybe; /** Stable Files service id returned by the shared upload flow. Manual transactions may omit it. */ receiptFileId?: InputMaybe; reference?: InputMaybe; /** Optional exact allocations. Empty or omitted creates a legacy unsplit transaction. */ splits?: InputMaybe>; status: Scalars['String']['input']; /** Type. Must be one of: INCOME, EXPENSE (case-insensitive). */ type: Scalars['String']['input']; }; export type CreateHealthyBowlWateringRunInput = { context: ContextInput; fieldId: Scalars['ID']['input']; litres?: InputMaybe; /** Run timestamp as an ISO-8601 string; defaults to now when omitted. */ runAt?: InputMaybe; scheduleId?: InputMaybe; skippedReason?: InputMaybe; /** How the run was triggered: manual / automation. */ source?: InputMaybe; /** Outcome of the run: ran / skipped. */ status?: InputMaybe; }; export type CreateHealthyBowlWholesaleOrderInput = { buyerContact?: InputMaybe; buyerName: Scalars['String']['input']; buyerUserId?: InputMaybe; context: ContextInput; expectedDeliveryDate?: InputMaybe; notes?: InputMaybe; /** * Optional (BOFF-6091): omit it and the product's price-tier ladder prices the order * (priceSource TIER). Type it and it IS the manual override (priceSource MANUAL) — a hand-typed * price always beats the ladder. */ pricePerKg?: InputMaybe; productId?: InputMaybe; productName: Scalars['String']['input']; quantityKg: Scalars['Float']['input']; }; export type CreateHealthyBowlWorkerInput = { context: ContextInput; dailyWage?: InputMaybe; employmentType?: InputMaybe; hourlyRate?: InputMaybe; isActive?: InputMaybe; linkedActorId?: InputMaybe; name: Scalars['String']['input']; phone?: InputMaybe; piecePrice?: InputMaybe; skills?: InputMaybe>; }; export type CreateIcsGroupInput = { certificationId?: InputMaybe; /** Unique within the workspace. */ code: Scalars['String']['input']; contactPerson?: InputMaybe; contactPhone?: InputMaybe; context: ContextInput; description?: InputMaybe; name: Scalars['String']['input']; registrationNumber?: InputMaybe; /** ACTIVE | INACTIVE | ARCHIVED (case-insensitive). Defaults to ACTIVE. */ status?: InputMaybe; }; export type CreateIcsGrowerInput = { context: ContextInput; /** CONVENTIONAL | IN_CONVERSION_Y1 | IN_CONVERSION_Y2 | IN_CONVERSION_Y3 | ORGANIC. Defaults to IN_CONVERSION_Y1. */ conversionStatus?: InputMaybe; district?: InputMaybe; fullName: Scalars['String']['input']; icsGroupId: Scalars['ID']['input']; latitude?: InputMaybe; longitude?: InputMaybe; /** Unique within the workspace. */ memberCode: Scalars['String']['input']; mobile?: InputMaybe; plotAreaHectares?: InputMaybe; plots?: InputMaybe>; primaryCrop?: InputMaybe; /** LOW | MEDIUM | HIGH. Defaults to LOW. */ riskLevel?: InputMaybe; village: Scalars['String']['input']; }; export type CreateIncidentInput = { assetId?: InputMaybe; assignedTo?: InputMaybe; category: Scalars['String']['input']; description: Scalars['String']['input']; priority?: InputMaybe; title: Scalars['String']['input']; }; export type CreateIntegrationInput = { apiKey?: InputMaybe; apiSecret?: InputMaybe; config?: InputMaybe; context?: InputMaybe; name: Scalars['String']['input']; provider: MtwIntegrationProvider; status?: InputMaybe; }; export type CreateInventoryItemInput = { allocated?: InputMaybe; available?: InputMaybe; cargoItemId: Scalars['ID']['input']; context?: InputMaybe; damaged?: InputMaybe; locationId?: InputMaybe; onHand?: InputMaybe; reorderPoint?: InputMaybe; safetyStock?: InputMaybe; unitCost?: InputMaybe; warehouseId: Scalars['ID']['input']; }; export type CreateInventoryTransactionInput = { cargoItemId: Scalars['ID']['input']; context?: InputMaybe; inventoryItemId?: InputMaybe; notes?: InputMaybe; quantity: Scalars['Int']['input']; referenceId?: InputMaybe; referenceType?: InputMaybe; transactionNumber: Scalars['String']['input']; type: InventoryTransactionType; unitCost?: InputMaybe; warehouseId: Scalars['ID']['input']; }; /** Input for creating a new invitation */ export type CreateInvitationInput = { /** Operation context for scoping */ context?: InputMaybe; /** Email address of the invitee */ email: Scalars['String']['input']; /** Expiration timestamp (defaults to 7 days from creation) */ expiresAt?: InputMaybe; /** User ID if inviting an existing user */ invitedUserId?: InputMaybe; /** Project ID for project invitations */ projectId?: InputMaybe; /** Workspace projects to add the invitee to once they accept the invitation */ projectIds?: InputMaybe>; /** Array of role IDs to assign upon acceptance */ roleIds?: InputMaybe>; /** Universal entity-owned tags to attach during creation */ tags?: InputMaybe; /** Workspace ID for workspace invitations */ workspaceId?: InputMaybe; }; export type CreateInviteLinkInput = { conversationId: Scalars['ID']['input']; expiresAt?: InputMaybe; maxUses?: InputMaybe; }; export type CreateInvoiceInput = { amount: Scalars['Float']['input']; context: ContextInput; customer: Scalars['String']['input']; dueDate: Scalars['String']['input']; items: Array; tax?: InputMaybe; }; export type CreateKnowledgeArticleInput = { content: Scalars['String']['input']; relatedAssetId?: InputMaybe; relatedIncidentId?: InputMaybe; slug: Scalars['String']['input']; status?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CreateKnowledgeBaseInput = { chunkOverlap?: InputMaybe; chunkSize?: InputMaybe; chunkingStrategy?: InputMaybe; description?: InputMaybe; embeddingDimensions: Scalars['Int']['input']; embeddingModel: Scalars['String']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; /** Storage backend: opensearch, milvus or postgres. Defaults to platform configuration. */ vectorStoreDriver?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateLegalHoldInput = { actorId?: InputMaybe; dateFrom?: InputMaybe; dateTo?: InputMaybe; name: Scalars['String']['input']; reason: Scalars['String']['input']; resourceId?: InputMaybe; resourceType?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateLocationEntryInput = { accuracy?: InputMaybe; address?: InputMaybe; context?: InputMaybe; duration?: InputMaybe; endTime?: InputMaybe; geofenceId?: InputMaybe; latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; projectId?: InputMaybe; startTime: Scalars['DateTime']['input']; userId: Scalars['ID']['input']; }; export type CreateLogStreamDestinationInput = { config?: InputMaybe; endpoint: Scalars['String']['input']; eventFilters?: InputMaybe>; isEnabled?: InputMaybe; name: Scalars['String']['input']; provider: LogStreamProvider; /** * WEBHOOK only: plaintext signing secret, encrypted at rest. Omit for * SYSLOG/SENTRY. */ secret?: InputMaybe; }; export type CreateMcpConnectionInput = { config: Scalars['JSON']['input']; credentials?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; type: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateMaintenanceContractInput = { /** Assets this contract covers. May be empty and filled in later. */ assetIds?: InputMaybe>; autoRenew?: InputMaybe; /** ANNUAL | QUARTERLY | MONTHLY | ONE_OFF. Defaults to ANNUAL. */ billingCycle?: InputMaybe; contractRef?: InputMaybe; contractValue?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; endDate: Scalars['DateTime']['input']; renewalNoticeDays?: InputMaybe; startDate: Scalars['DateTime']['input']; title: Scalars['String']['input']; vendorName: Scalars['String']['input']; }; export type CreateMaintenancePlanInput = { assetId: Scalars['ID']['input']; checklistTemplate?: InputMaybe>; description?: InputMaybe; estimatedCost?: InputMaybe; /** * At least ONE of intervalDays / intervalMeter is required. A plan with neither * can never come due, and is refused rather than saved as a schedule that * silently never fires. */ intervalDays?: InputMaybe; intervalMeter?: InputMaybe; leadTimeDays?: InputMaybe; priority?: InputMaybe; /** Where counting starts. Defaults to now, and to the asset's current meter. */ startAt?: InputMaybe; startMeter?: InputMaybe; title: Scalars['String']['input']; /** PREVENTIVE | CORRECTIVE | PREDICTIVE | INSPECTION. Defaults to PREVENTIVE. */ type?: InputMaybe; }; export type CreateMaintenanceRecordInput = { assetId: Scalars['ID']['input']; checklist?: InputMaybe>; description?: InputMaybe; estimatedCost?: InputMaybe; priority?: InputMaybe; scheduledAt?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; type: Scalars['String']['input']; }; export type CreateMarketplaceOrderInput = { buyerId?: InputMaybe; channel?: InputMaybe; context: ContextInput; deliveryDate?: InputMaybe; items: Array; paymentStatus?: InputMaybe; promoCode?: InputMaybe; shipping?: InputMaybe; shippingAddress?: InputMaybe; status?: InputMaybe; subtotal?: InputMaybe; tax?: InputMaybe; total?: InputMaybe; }; export type CreateMarketplaceProductInput = { category: Scalars['String']['input']; context: ContextInput; description: Scalars['String']['input']; image?: InputMaybe; location?: InputMaybe; name: Scalars['String']['input']; organicCertified: Scalars['Boolean']['input']; price: Scalars['Float']['input']; rating: Scalars['Float']['input']; reviews: Scalars['Int']['input']; seller: Scalars['String']['input']; sellerRating?: InputMaybe; /** Livestock withdrawal gate (BOFF-2885): source animal for animal-derived produce. */ sourceAnimalId?: InputMaybe; /** MILK | MEAT | EGGS — the produce this listing comes from (blocks listing while under withdrawal). */ sourceProduceType?: InputMaybe; stock: Scalars['Int']['input']; unit: Scalars['String']['input']; }; export type CreateMedicationLibraryItemInput = { /** Antibiotic | Dewormer | Antiparasitic | NSAID | Hormone | Vaccine | Other */ className?: InputMaybe; context: ContextInput; eggsWithdrawalDays?: InputMaybe; meatWithdrawalDays?: InputMaybe; milkWithdrawalDays?: InputMaybe; name: Scalars['String']['input']; /** IM | IV | IM/IV | SC | Oral | Intramammary | Topical | Other */ route?: InputMaybe; /** Applicable species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY); empty = all. */ species?: InputMaybe>; }; export type CreateMeetingInput = { calendarEventId?: InputMaybe; context?: InputMaybe; cost?: InputMaybe; endTime?: InputMaybe; meetingType: MeetingType; notes?: InputMaybe; recordingUrl?: InputMaybe; startTime: Scalars['DateTime']['input']; title: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateMentorInput = { availability: Scalars['String']['input']; context: ContextInput; experience: Scalars['Int']['input']; focusAreas?: InputMaybe>; hourlyRate: Scalars['Float']['input']; languages?: InputMaybe>; location: Scalars['String']['input']; mentees?: InputMaybe; mentoringSince?: InputMaybe; name: Scalars['String']['input']; rating?: InputMaybe; reviews?: InputMaybe; specialization: Scalars['String']['input']; }; export type CreateMetricInput = { aggregationField?: InputMaybe; aggregationFieldType?: InputMaybe; customSql?: InputMaybe; defaultTimeGrain?: InputMaybe; description?: InputMaybe; eventName?: InputMaybe; filters?: InputMaybe; key: Scalars['String']['input']; name: Scalars['String']['input']; type: MetricType; }; export type CreateMtwPickTaskIntentInput = { destination: MtwPickIntentLinePinInput; idempotencyKey: Scalars['String']['input']; note: Scalars['String']['input']; requestedQuantity: Scalars['Int']['input']; source: MtwPickIntentLinePinInput; }; export type CreateNavViewInput = { homePath?: InputMaybe; name: Scalars['String']['input']; productSlug: Scalars['String']['input']; visibleItems: Array; workspaceId: Scalars['String']['input']; }; export type CreateNoteTagInput = { /** Tag color (hex or name) */ color?: InputMaybe; /** Tag label (display name) */ label: Scalars['String']['input']; }; export type CreateParserFromTypeInput = { /** Console (dashboard) the parser belongs to. */ consoleId: Scalars['ID']['input']; /** Defaults to the parser type description. */ description?: InputMaybe; /** DataSink key the parser reads from. */ inputSinkKey: Scalars['String']['input']; /** Defaults to the parser type name (truncated to 100 characters). */ name?: InputMaybe; /** Output key, unique per console. */ outputKey: Scalars['String']['input']; outputWidgetId?: InputMaybe; /** An installed parser type; the workspace's active version is used. */ parserTypeKey: Scalars['String']['input']; ttl?: InputMaybe; }; export type CreateParserInput = { consoleId: Scalars['ID']['input']; description?: InputMaybe; expression: Scalars['String']['input']; inputSinkKey: Scalars['String']['input']; name: Scalars['String']['input']; outputKey: Scalars['String']['input']; /** Optional target widget ID (v2.1 - parser pushes output to this widget) */ outputWidgetId?: InputMaybe; ttl?: InputMaybe; type: ParserType; }; /** Input for creating a permission override */ export type CreatePermissionOverrideInput = { action: Scalars['String']['input']; actorId: Scalars['String']['input']; actorType: ActorType; expiresAt?: InputMaybe; overrideType: OverrideType; priority?: InputMaybe; reason?: InputMaybe; resourceId?: InputMaybe; resourceType: Scalars['String']['input']; scopeId: Scalars['String']['input']; validFrom?: InputMaybe; validUntil?: InputMaybe; }; export type CreatePestIssueInput = { context: ContextInput; cropAffected: Scalars['String']['input']; detectedDate: Scalars['String']['input']; fieldId: Scalars['ID']['input']; pestName: Scalars['String']['input']; /** Severity. Must be one of: LOW, MEDIUM, HIGH, CRITICAL (case-insensitive). */ severity: Scalars['String']['input']; /** Status. Must be one of: ACTIVE, TREATING, RESOLVED, MONITORING (case-insensitive). */ status?: InputMaybe; treatment?: InputMaybe; /** Type. Must be one of: INSECT, DISEASE, WEED, FUNGUS (case-insensitive). */ type: Scalars['String']['input']; }; export type CreatePhysicalAuditInput = { /** Optional location whose active inventory is snapshotted as expected. */ expectedLocation?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; }; export type CreatePipelineInput = { consoleId: Scalars['ID']['input']; description?: InputMaybe; name: Scalars['String']['input']; /** Key of the derived DataSink that receives this pipeline's output */ outputSinkKey?: InputMaybe; stages?: InputMaybe>; status?: InputMaybe; }; export type CreatePipelineStageInput = { description?: InputMaybe; enabled?: InputMaybe; expression?: InputMaybe; fallbackValue?: InputMaybe; inputKey: Scalars['String']['input']; onError?: InputMaybe; outputKey: Scalars['String']['input']; parserId: Scalars['ID']['input']; parserName?: InputMaybe; parserType?: InputMaybe; }; export type CreatePlantingPlanInput = { /** Optional loose link to a Bed (no FK). */ bedId?: InputMaybe; bedWidthM?: InputMaybe; context: ContextInput; cropId?: InputMaybe; /** BOFF-6100 — caller fallback only for non-bed/no-area fields; server-derived otherwise. */ density?: InputMaybe; endDate?: InputMaybe; expectedYield?: InputMaybe; fertilizers?: InputMaybe>; fieldId: Scalars['ID']['input']; pathWidthM?: InputMaybe; /** Optional loose link to a PlantCatalog entry (no FK). */ plantCatalogId?: InputMaybe; /** * BOFF-6100 — bed geometry, so the server can reproduce the numbers the farmer saw on screen. * * Without these the server would re-derive against the defaults (1.2m beds, 0.45m paths) and quietly * disagree with a form where the farmer had typed something else. */ plantSpacingCm?: InputMaybe; /** * I-5 seed-rate result — total plants required. * * BOFF-6100: the server now derives this from the field and spacing and **overrides** what is sent, * wherever it can derive it. The value here is still honoured for a field the bed calculators do not * model (a greenhouse, an orchard) — there, a hand-entered figure is the only figure anyone has. */ plantsNeeded?: InputMaybe; priority?: InputMaybe; rowSpacingCm?: InputMaybe; /** Growing season. Must be one of: KHARIF, RABI, ZAID, PERENNIAL (case-insensitive). */ season: Scalars['String']['input']; /** I-5 seed-rate result — grams of seed required. Server-derived where possible; see plantsNeeded. */ seedGrams?: InputMaybe; seedRequired?: InputMaybe; /** I-5 seed-rate result — seedlings/transplants to raise. Server-derived where possible. */ seedlingsToRaise?: InputMaybe; /** Sow/nursery-start date (ISO); distinct from the transplant startDate. */ sowDate?: InputMaybe; startDate: Scalars['String']['input']; /** I-7 — transplant date (ISO): nursery seedlings moved out to the bed. */ transplantDate?: InputMaybe; weatherRisk?: InputMaybe; }; export type CreatePolicyInput = { bucketId?: InputMaybe; config?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; type: PolicyType; visibility?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreatePolicyReferenceInput = { action: Scalars['String']['input']; description?: InputMaybe; isActive?: InputMaybe; name: Scalars['String']['input']; opaPackage: Scalars['String']['input']; priority?: InputMaybe; resourceType: Scalars['String']['input']; }; export type CreatePomodoroGoalInput = { endDate: Scalars['DateTime']['input']; period: Scalars['String']['input']; startDate: Scalars['DateTime']['input']; target: Scalars['Int']['input']; type: PomodoroGoalType; workspaceId: Scalars['ID']['input']; }; export type CreateProblemInput = { assignedTo?: InputMaybe; category: Scalars['String']['input']; description: Scalars['String']['input']; priority?: InputMaybe; relatedIncidents?: InputMaybe>; rootCause?: InputMaybe; title: Scalars['String']['input']; workaround?: InputMaybe; }; export type CreateProductionBatchInput = { batchNumber: Scalars['String']['input']; completionDate?: InputMaybe; context: ContextInput; cost?: InputMaybe; productId?: InputMaybe; qualityScore?: InputMaybe; quantity: Scalars['Float']['input']; recipeId?: InputMaybe; startDate: Scalars['String']['input']; status?: InputMaybe; unit: Scalars['String']['input']; }; export type CreateProductionRecordInput = { animalId: Scalars['ID']['input']; context: ContextInput; date: Scalars['String']['input']; notes?: InputMaybe; quality?: InputMaybe; quantity: Scalars['Float']['input']; type: Scalars['String']['input']; unit: Scalars['String']['input']; }; /** * Input for creating a new project. * Workspace ID is read from gateway context (x-workspace-id header). */ export type CreateProjectInput = { /** Project configuration and settings */ config?: InputMaybe; /** * Optional human-readable description (surfaced on `Project.description`; * BOFF-9202) */ description?: InputMaybe; /** Unique project key/code (auto-generated if not provided) */ key?: InputMaybe; /** Display name of the project */ name: Scalars['String']['input']; /** Initial project status (defaults to ACTIVE) */ status?: InputMaybe; /** Universal entity-owned tags to attach during creation */ tags?: InputMaybe; }; export type CreatePromptTemplateInput = { bucketId?: InputMaybe; description?: InputMaybe; exampleInputs?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; slug?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; templateText: Scalars['String']['input']; variables?: InputMaybe; version?: InputMaybe; visibility?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateRagConfigInput = { knowledgeBaseId: Scalars['ID']['input']; metadata?: InputMaybe; minScore?: InputMaybe; name: Scalars['String']['input']; rerankingEnabled?: InputMaybe; rerankingModel?: InputMaybe; searchStrategy?: InputMaybe; topK?: InputMaybe; }; export type CreateRecipeInput = { category: Scalars['String']['input']; context: ContextInput; costPerUnit?: InputMaybe; ingredients: Array; name: Scalars['String']['input']; processingTime: Scalars['Int']['input']; productName?: InputMaybe; shelfLife?: InputMaybe; steps?: InputMaybe>; yieldQuantity?: InputMaybe; yieldUnit?: InputMaybe; }; export type CreateReminderInput = { channel: ReminderChannel; eventId: Scalars['ID']['input']; minutesBefore: Scalars['Int']['input']; }; export type CreateReportInput = { description?: InputMaybe; name: Scalars['String']['input']; parameters?: InputMaybe; sections: Scalars['JSON']['input']; }; export type CreateReportScheduleInput = { cronExpression: Scalars['String']['input']; deliveryChannels: Scalars['JSON']['input']; reportId: Scalars['ID']['input']; timezone?: InputMaybe; }; export type CreateResourcePlanInput = { context?: InputMaybe; description?: InputMaybe; endDate: Scalars['DateTime']['input']; name: Scalars['String']['input']; startDate: Scalars['DateTime']['input']; }; export type CreateRetrievalProfileInput = { bucketId?: InputMaybe; citationFormat?: InputMaybe; citationsRequired?: InputMaybe; description?: InputMaybe; hybridWeights?: InputMaybe; metadata?: InputMaybe; minRelevanceScore?: InputMaybe; minSources?: InputMaybe; multiHop?: InputMaybe; multiHopDepth?: InputMaybe; name: Scalars['String']['input']; noAnswerIfBelowThreshold?: InputMaybe; queryRewrite?: InputMaybe; reranker?: InputMaybe; rerankerModelPolicyId?: InputMaybe; showSources?: InputMaybe; snippetMaxChars?: InputMaybe; status?: InputMaybe; strategyMode?: InputMaybe; tags?: InputMaybe>; testQueries?: InputMaybe; topK?: InputMaybe; visibility?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** Input for creating a new role */ export type CreateRoleInput = { description?: InputMaybe; isSystem?: InputMaybe; name: Scalars['String']['input']; parentId?: InputMaybe; priority?: InputMaybe; /** * Product this role belongs to (PlatformProduct.slug). Product shells must pass * their product slug when creating custom roles. Omit/null is reserved for * cross-product platform roles created from the admin app. */ productSlug?: InputMaybe; scopeId: Scalars['String']['input']; scopeType?: InputMaybe; }; /** * Input for creating a role permission override. * * The override's scope is inherited from the role's own scope (role.scopeId); * clients no longer pass scopeId. This prevents creating cross-scope overrides * where the override and the role live in different workspaces. * * Overrides cannot be created on system templates (role.scopeId='system'). */ export type CreateRolePermissionOverrideInput = { action: Scalars['String']['input']; expiresAt?: InputMaybe; overrideType: OverrideType; priority?: InputMaybe; reason?: InputMaybe; resourceId?: InputMaybe; resourceType: Scalars['String']['input']; roleId: Scalars['ID']['input']; validFrom?: InputMaybe; validUntil?: InputMaybe; }; export type CreateRouteInput = { actualDistance?: InputMaybe; actualDuration?: InputMaybe; context?: InputMaybe; driverId?: InputMaybe; estimatedDistance?: InputMaybe; estimatedDuration?: InputMaybe; fuelCost?: InputMaybe; name: Scalars['String']['input']; shipmentId?: InputMaybe; status?: InputMaybe; vehicleId?: InputMaybe; waypoints: Scalars['JSON']['input']; }; export type CreateRuleSetInput = { definition?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; sampleInput?: InputMaybe; /** Starts from `ruleSetTemplates` entry `templateId` when `definition` is omitted. */ templateId?: InputMaybe; }; export type CreateSandboxInput = { containers: Array; context: ContextInput; description?: InputMaybe; kind?: InputMaybe; metadata?: InputMaybe; mode?: InputMaybe; name: Scalars['String']['input']; ownerActorId?: InputMaybe; resources?: InputMaybe; /** * Run on this customer runner (see SandboxRunner) instead of FluidGrids Cloud. * Honoured by createWorkflowSandbox only. The runner must belong to the * workspace and be online, or the create fails — it never falls back to cloud. */ runnerId?: InputMaybe; source?: InputMaybe; storage?: InputMaybe; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `Sandbox.tags` Json column. */ tags?: InputMaybe; template: SandboxTemplate; templateId?: InputMaybe; ttlSeconds?: InputMaybe; }; export type CreateSandboxRunnerInput = { context: ContextInput; name: Scalars['String']['input']; }; export type CreateSandboxTagInput = { color?: InputMaybe; label: Scalars['String']['input']; }; export type CreateSandboxTemplateInput = { allowedImages?: InputMaybe>; config?: InputMaybe; containers?: InputMaybe>; context: ContextInput; description?: InputMaybe; isDefault?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; resources?: InputMaybe; storage?: InputMaybe; template: SandboxTemplate; ttlSeconds?: InputMaybe; }; export type CreateSandboxWorkerTokenInput = { connectionAllowlist?: InputMaybe>; context: ContextInput; name: Scalars['String']['input']; /** * Self-hosted task queue names (lowercase letters, digits and dashes), each * optionally bound to one environment as `name@dev`, `name@staging` or `name@prod`. * Not `managed`. */ taskQueues: Array; }; export type CreateSavedQueryInput = { description?: InputMaybe; isFavorite?: InputMaybe; isShared?: InputMaybe; name: Scalars['String']['input']; query: Scalars['JSON']['input']; queryType: Scalars['String']['input']; }; export type CreateScheduleTemplateInput = { businessCalendarId?: InputMaybe; category?: InputMaybe; circuitBreaker?: InputMaybe; description?: InputMaybe; executorConfig: Scalars['JSON']['input']; executorType: ExecutorType; failurePolicy?: InputMaybe; isPublic?: InputMaybe; name: Scalars['String']['input']; payloadTemplate?: InputMaybe; retryPolicy?: InputMaybe; scheduleConfig: Scalars['JSON']['input']; scheduleType: ScheduleType; }; export type CreateScheduledJobInput = { actionId?: InputMaybe; autoDisableAfter?: InputMaybe; businessCalendarId?: InputMaybe; circuitBreaker?: InputMaybe; cronExpression?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; executorConfig?: InputMaybe; executorType?: InputMaybe; failurePolicy?: InputMaybe; interval?: InputMaybe; intervalUnit?: InputMaybe; maxOccurrences?: InputMaybe; maxRetries?: InputMaybe; metadata?: InputMaybe; misfirePolicy?: InputMaybe; misfireThreshold?: InputMaybe; name?: InputMaybe; payloadTemplate?: InputMaybe; priority?: InputMaybe; retryDelay?: InputMaybe; retryPolicy?: InputMaybe; rrule?: InputMaybe; scheduleType: ScheduleType; scheduledAt?: InputMaybe; secrets?: InputMaybe; startDate?: InputMaybe; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; timeWindows?: InputMaybe; timezone?: InputMaybe; }; export type CreateSchemeApplicationInput = { amount?: InputMaybe; /** Applicant identity is validated server-side; whitespace-only or omitted values are rejected. */ applicantName?: InputMaybe; /** * Client-generated idempotency key (BOFF-4407 offline outbox). A replay with the same * (workspace, clientMutationId) returns the original application instead of creating a * duplicate — required for a queued draft to be safely retried after a dropped sync. */ clientMutationId?: InputMaybe; context: ContextInput; /** Must be true for a new submission; omitted values are rejected server-side. */ declarationAccepted?: InputMaybe; /** * Supporting evidence. When a scheme publishes `requiredDocuments`, attached evidence must cover * that selected checklist; otherwise the default ownership, government ID and bank-detail slots * apply. At most one document per slot (the last wins) and at most 12 raw entries are accepted. */ documents?: InputMaybe>; /** Farm identity is validated server-side; whitespace-only or omitted values are rejected. */ farmName?: InputMaybe; notes?: InputMaybe; schemeId: Scalars['ID']['input']; schemeName?: InputMaybe; status?: InputMaybe; }; export type CreateScorecardTemplateInput = { description?: InputMaybe; metrics: Array; name: Scalars['String']['input']; }; export type CreateSecretInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; ephemeralExpiresAt?: InputMaybe; expiresAt?: InputMaybe; isEphemeral?: InputMaybe; key: Scalars['String']['input']; maxAccessCount?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; rotationConfig?: InputMaybe; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; type: SecretType; value: Scalars['String']['input']; vaultId: Scalars['ID']['input']; }; export type CreateSecretShareLinkInput = { expiresAt?: InputMaybe; label?: InputMaybe; /** Optional cap on the number of reveals before the link stops working. */ maxViews?: InputMaybe; /** Optional second factor the viewer must enter to reveal the credential. */ password?: InputMaybe; /** Defaults to VIEWER. Links are read-only regardless of role. */ role?: InputMaybe; /** Omit to share the entire vault; set to share a single credential. */ secretId?: InputMaybe; vaultId: Scalars['ID']['input']; }; export type CreateSecretShareLinkResult = { __typename?: 'CreateSecretShareLinkResult'; share: SecretShare; /** * The full bearer token for the share URL. Returned exactly once at creation * and never retrievable again — the server stores only its hash. */ token: Scalars['String']['output']; }; export type CreateSecurityExceptionInput = { compensatingControls?: InputMaybe; expiresAt: Scalars['DateTime']['input']; findingFingerprint: Scalars['String']['input']; reason: Scalars['String']['input']; vibeId: Scalars['ID']['input']; }; export type CreateSecurityExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** * Override default entity types * (defaults to ["vaults", "secrets", "vault_audit_logs", "vault_security_events"]). */ entityTypes?: InputMaybe>; format: SecurityExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateSegmentInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; filterQuery: Scalars['JSON']['input']; name: Scalars['String']['input']; visibility?: InputMaybe; }; /** * Input for the service-to-service `createServiceConnection` mutation. * Used by a first-party product service to register a third-party connection — * with credentials — on behalf of a workspace/user through the canonical * integrations owner. The workspace comes from `x-workspace-id`; the owning actor * is `ownerActorId`. */ export type CreateServiceConnectionInput = { config?: InputMaybe; context?: InputMaybe; /** Credential material. Omit to register a PENDING_AUTH connection to be authenticated later. */ credential?: InputMaybe; description?: InputMaybe; externalAccountEmail?: InputMaybe; externalAccountId?: InputMaybe; externalAccountName?: InputMaybe; name: Scalars['String']['input']; /** The user/actor id the connection is registered on behalf of (becomes createdBy). */ ownerActorId: Scalars['ID']['input']; /** Catalog provider key (e.g. "quickbooks", "facebook", "tally"). */ providerKey: Scalars['String']['input']; }; export type CreateSessionInput = { agentId: Scalars['ID']['input']; autoStart?: InputMaybe; command?: InputMaybe; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; environmentVariables?: InputMaybe; /** * Provider-native session name (e.g. tmux session name). When set, the * agent attaches to that existing daemon-side session instead of * creating a new one. Agent errors if no such session exists. */ externalSessionName?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; /** * Agent profile this session runs under. Sessions are isolated per * profile (different ttyd sockets, different plugin DBs), so this * determines which profile-scoped endpoints the svc + microfe target * for terminal/AI/backup operations. Defaults to "default" when the * caller omits it — matches the agent-side bare-path fallback. */ profile?: InputMaybe; providerSessionName?: InputMaybe; /** * Opaque, provider-agnostic terminal-provider hint forwarded verbatim to the * agent as `provider` on session create (e.g. "session-tmux" / * "session-wezterm" / "session-zellij"). Omit/null => the agent uses its * elected platform default (win32 => wezterm, linux/darwin => tmux). */ terminalProvider?: InputMaybe; type: VibecontrolsSessionType; vibeId?: InputMaybe; workingDirectory?: InputMaybe; }; /** * Input for creating a public share link. Named `CreateShareGrantLinkInput` to * avoid colliding with the legacy session `CreateShareLinkInput`. */ export type CreateShareGrantLinkInput = { expiresAt?: InputMaybe; resourceId: Scalars['ID']['input']; role: ShareRole; }; /** Input for creating a shareable link */ export type CreateShareLinkInput = { /** Hours until the link expires (defaults to 1 hour) */ expiresInHours?: InputMaybe; /** Maximum number of uses (null = unlimited) */ maxUses?: InputMaybe; /** Optional friendly name for the link */ name?: InputMaybe; /** Optional password to protect the link */ password?: InputMaybe; /** Permission level to grant (defaults to VIEW) */ permission?: InputMaybe; /** ID of the session to share */ sessionId: Scalars['ID']['input']; }; export type CreateShipmentInput = { actualDelivery?: InputMaybe; cargoDetails?: InputMaybe; carrierId?: InputMaybe; context?: InputMaybe; customerId?: InputMaybe; deliveryJobId?: InputMaybe; destination: Scalars['JSON']['input']; estimatedDelivery?: InputMaybe; origin: Scalars['JSON']['input']; shipmentNumber: Scalars['String']['input']; status?: InputMaybe; storeOrderId?: InputMaybe; trackingNumber?: InputMaybe; }; export type CreateShipmentLegInput = { carrierId?: InputMaybe; carrierName?: InputMaybe; containerCount?: InputMaybe; containerType?: InputMaybe; currency?: InputMaybe; destination: Scalars['JSON']['input']; distanceKm?: InputMaybe; haulType?: InputMaybe; heightCm?: InputMaybe; lengthCm?: InputMaybe; mode: TransportMode; notes?: InputMaybe; origin: Scalars['JSON']['input']; rateOverrides?: InputMaybe; scheduledArrival?: InputMaybe; scheduledDeparture?: InputMaybe; status?: InputMaybe; trackingReference?: InputMaybe; volumeCbm?: InputMaybe; weightKg?: InputMaybe; widthCm?: InputMaybe; }; export type CreateSiemDestinationInput = { destinationUrl: Scalars['String']['input']; format?: InputMaybe; name: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type CreateSkillInput = { bucketId?: InputMaybe; capabilityFlags?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; promptTemplateId?: InputMaybe; recommendedPolicies?: InputMaybe>; retrievalProfileId?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; toolPackDeps?: InputMaybe>; toolPolicyId?: InputMaybe; visibility?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type CreateSnapshotInput = { dimensions?: InputMaybe; metadata?: InputMaybe; metricId: Scalars['String']['input']; snapshotDate: Scalars['DateTime']['input']; value: Scalars['Float']['input']; }; export type CreateSoilTestInput = { context: ContextInput; fieldId: Scalars['ID']['input']; moisture: Scalars['Float']['input']; nitrogen: Scalars['Float']['input']; organicMatter: Scalars['Float']['input']; ph: Scalars['Float']['input']; phosphorus: Scalars['Float']['input']; potassium: Scalars['Float']['input']; testDate: Scalars['String']['input']; }; export type CreateTagInput = { color?: InputMaybe; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; displayOrder?: InputMaybe; icon?: InputMaybe; key: Scalars['String']['input']; label: Scalars['String']['input']; parentId?: InputMaybe; scope?: InputMaybe; value?: InputMaybe; vocabularyId: Scalars['ID']['input']; }; export type CreateTagRelationInput = { bidirectional?: InputMaybe; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; fromTagId: Scalars['ID']['input']; relationType: TagRelationType; toTagId: Scalars['ID']['input']; }; export type CreateTagRuleInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; enabled?: InputMaybe; entityType: Scalars['String']['input']; name: Scalars['String']['input']; priority?: InputMaybe; runMode?: InputMaybe; vocabularyId?: InputMaybe; }; export type CreateTagTranslationInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; label: Scalars['String']['input']; locale: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type CreateTagsExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** Override default entity types (defaults to ["tags", "vocabularies"]). */ entityTypes?: InputMaybe>; format: TagsExportFormat; includeMetadata?: InputMaybe; name: Scalars['String']['input']; }; export type CreateTargetInput = { connectionConfig?: InputMaybe; host?: InputMaybe; label?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; password?: InputMaybe; port?: InputMaybe; privateKeyPath?: InputMaybe; sourceAgentId?: InputMaybe; tags?: InputMaybe>; type: TargetType; username?: InputMaybe; }; export type CreateTaskInput = { assigneeId?: InputMaybe; context?: InputMaybe; description?: InputMaybe; dueDate?: InputMaybe; estimatedHours?: InputMaybe; order?: InputMaybe; priority?: InputMaybe; projectId: Scalars['ID']['input']; status?: InputMaybe; title: Scalars['String']['input']; }; export type CreateTaskQueueInput = { /** At most 1000 characters. */ description?: InputMaybe; /** Scope the queue to one environment; omitted, it serves every environment. */ environment?: InputMaybe; /** 0.01 to 10000; omitted is unlimited. */ maxTasksPerSecond?: InputMaybe; /** Lower-case letters, digits and dashes, at most 63 characters; not `managed`. */ name: Scalars['String']['input']; /** 10 seconds to 7 days; default 600. */ workerUnavailableTimeoutSeconds?: InputMaybe; }; export type CreateTerraceGardenInput = { areaSqm?: InputMaybe; city?: InputMaybe; climateZone?: InputMaybe; context: ContextInput; floorLevel?: InputMaybe; gardenType?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; orientation?: InputMaybe; region?: InputMaybe; shadeNotes?: InputMaybe; sunHours?: InputMaybe; waterSource?: InputMaybe; }; export type CreateTimeCampusProjectInput = { budget?: InputMaybe; clientId?: InputMaybe; color?: InputMaybe; context?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; estimatedHours?: InputMaybe; hourlyRate?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; }; export type CreateTimeCampusTimeTriggerInput = { /** Local hour 0-23 (default 0: any time of day). */ checkHour?: InputMaybe; comparator: TimeCampusTriggerComparator; enabled?: InputMaybe; message?: InputMaybe; metric: TimeCampusTriggerMetric; name: Scalars['String']['input']; threshold: Scalars['Float']['input']; /** IANA timezone (default UTC). */ timezone?: InputMaybe; }; export type CreateTimeEntryInput = { billable?: InputMaybe; context?: InputMaybe; description?: InputMaybe; duration?: InputMaybe; endTime?: InputMaybe; hourlyRate?: InputMaybe; notes?: InputMaybe; projectId?: InputMaybe; source?: InputMaybe; startTime: Scalars['DateTime']['input']; tags?: InputMaybe; taskId?: InputMaybe; }; export type CreateTraceBatchInput = { batchCode: Scalars['String']['input']; certifications?: InputMaybe>; context: ContextInput; expiryDate?: InputMaybe; harvestDate: Scalars['String']['input']; origin: Scalars['String']['input']; productId?: InputMaybe; /** Livestock withdrawal gate (BOFF-2885): source animal for an animal-derived batch. */ sourceAnimalId?: InputMaybe; /** MILK | MEAT | EGGS — blocks trace-batching while the source animal is under withdrawal. */ sourceProduceType?: InputMaybe; }; export type CreateTreatmentInput = { /** Chemical active ingredient. Recording it lets the compliance scan flag prohibited inputs. */ activeIngredient?: InputMaybe; context: ContextInput; dosage?: InputMaybe; effectiveness: Scalars['Float']['input']; frequency?: InputMaybe; method: Scalars['String']['input']; name: Scalars['String']['input']; safetyPeriod?: InputMaybe; targetPests: Array; /** Type. Must be one of: ORGANIC, BIOLOGICAL, MECHANICAL, CULTURAL (case-insensitive). */ type: Scalars['String']['input']; }; export type CreateTunnelInput = { agentId: Scalars['ID']['input']; basicAuthPassword?: InputMaybe; basicAuthUser?: InputMaybe; context?: InputMaybe; description?: InputMaybe; environment?: InputMaybe; localHost?: InputMaybe; localPort: Scalars['Int']['input']; /** Optional managed subdomain label (e.g. "demo") — reserved under the chosen environment's zone. */ managedSubdomain?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; protocol?: InputMaybe; providerConfig?: InputMaybe; providerKey: TunnelProviderKey; /** Optional slug (auto-generated from name if omitted). */ slug?: InputMaybe; tlsMode?: InputMaybe; /** * Optional link to a Vibe. When set, the tunnel surfaces on * Vibe.linkedEntities subject to `visibility`. */ vibeId?: InputMaybe; /** * Defaults to PRIVATE when omitted. Set SHARED_WITH_VIBE to expose the * tunnel to other actors who can see the linked vibe. */ visibility?: InputMaybe; }; export type CreateVaccinationInput = { administeredBy?: InputMaybe; animalId: Scalars['ID']['input']; context: ContextInput; date: Scalars['String']['input']; nextDue?: InputMaybe; status?: InputMaybe; vaccineName: Scalars['String']['input']; }; /** * Trigger a vault backup. The encrypted archive is uploaded via files-svc * and a one-time password is emailed to the **actor who initiated the * backup**, looked up via auth-svc by `actorId`. There is no caller- * supplied recipient field by design — letting an exporter pick the * target mailbox would turn one mutation call into an exfiltration * primitive (encrypted blob + decryption password to an attacker- * controlled address). If a future flow needs to email a different * recipient it must go through a separate, more strictly gated * mutation. (Codex / human reviewer flagged this on PR #11.) */ export type CreateVaultBackupInput = { secretIds?: InputMaybe>; vaultId: Scalars['ID']['input']; }; export type CreateVaultInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; lockAfterMinutes?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; scope: VaultScope; scopeId?: InputMaybe; settings?: InputMaybe; }; export type CreateVaultIntegrationInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; /** * Provider credentials, stored encrypted with the vault's key and never returned. AWS: accessKeyId, * secretAccessKey; Vault/OpenBao: token, or roleId and secretId; 1Password Connect: token; * Infisical: clientId, clientSecret; Azure Key Vault: tenantId, clientId, clientSecret; * GCP Secret Manager: serviceAccountKey (the JSON key file's content). */ credentials?: InputMaybe; displayName: Scalars['String']['input']; /** Legacy: a connection holding the provider credentials. Not needed when credentials are given. */ integrationConnectionId?: InputMaybe; providerConfig?: InputMaybe; providerType: ExternalProviderType; /** * The key connection fields use to reference this provider, as in {{ $secrets.. }}: * lower-case letters, digits, "-" and "_", starting with a letter. Unique in the workspace. */ referenceKey?: InputMaybe; syncDirection?: InputMaybe; syncEnabled?: InputMaybe; syncIntervalMinutes?: InputMaybe; vaultId: Scalars['ID']['input']; }; export type CreateVaultSecurityEventInput = { city?: InputMaybe; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; correlationId?: InputMaybe; country?: InputMaybe; description?: InputMaybe; detectionRules?: InputMaybe>; deviceId?: InputMaybe; eventData?: InputMaybe; eventType: VaultSecurityEventType; ipAddress?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; message: Scalars['String']['input']; metadata?: InputMaybe; resourceId?: InputMaybe; resourceType?: InputMaybe; riskScore?: InputMaybe; sessionId?: InputMaybe; severity: VaultSecurityEventSeverity; sourceProduct?: InputMaybe; sourceRefId?: InputMaybe; userAgent?: InputMaybe; userId?: InputMaybe; }; export type CreateVaultSyncConfigInput = { integrationId: Scalars['ID']['input']; pathMapping?: InputMaybe; secretFilter?: InputMaybe; }; export type CreateVehicleInput = { capacity?: InputMaybe; context?: InputMaybe; currentLocation?: InputMaybe; fuelEfficiencyLPer100Km?: InputMaybe; fuelLevel?: InputMaybe; fuelType?: InputMaybe; lastServiceDate?: InputMaybe; licensePlate?: InputMaybe; make?: InputMaybe; mileage?: InputMaybe; model?: InputMaybe; nextServiceDueDate?: InputMaybe; nextServiceDueMileage?: InputMaybe; ownershipType?: InputMaybe; status?: InputMaybe; type: VehicleType; vehicleNumber: Scalars['String']['input']; year?: InputMaybe; }; export type CreateVibeCalendarTaskInput = { actionId: Scalars['ID']['input']; calendarId: Scalars['ID']['input']; cronExpression?: InputMaybe; description?: InputMaybe; interval?: InputMaybe; intervalUnit?: InputMaybe; metadata?: InputMaybe; rrule?: InputMaybe; scheduleType: Scalars['String']['input']; scheduledAt?: InputMaybe; timezone: Scalars['String']['input']; title: Scalars['String']['input']; }; export type CreateVibeDeckButtonInput = { actionId: Scalars['ID']['input']; category?: InputMaybe; colSpan?: InputMaybe; color?: InputMaybe; column: Scalars['Int']['input']; confirmationRequired?: InputMaybe; context?: InputMaybe; icon?: InputMaybe; keyboardShortcut?: InputMaybe; label: Scalars['String']['input']; metadata?: InputMaybe; row: Scalars['Int']['input']; rowSpan?: InputMaybe; sortOrder?: InputMaybe; style?: InputMaybe; tags?: InputMaybe>; vibeDeckId: Scalars['ID']['input']; }; export type CreateVibeDeckInput = { buttonSize?: InputMaybe; colorTheme?: InputMaybe; context?: InputMaybe; description?: InputMaybe; gridColumns?: InputMaybe; gridRows?: InputMaybe; icon?: InputMaybe; isDefault?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; sortOrder?: InputMaybe; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; /** * Optional link to a Vibe. When set, the deck surfaces on * Vibe.linkedEntities subject to `visibility`. */ vibeId?: InputMaybe; /** * Defaults to PRIVATE when omitted. Set SHARED_WITH_VIBE to expose the * deck to other actors who can see the linked vibe. */ visibility?: InputMaybe; }; export type CreateVibeDeckShareLinkInput = { allowIframe?: InputMaybe; expiresInHours?: InputMaybe; maxUses?: InputMaybe; name?: InputMaybe; password?: InputMaybe; permission?: InputMaybe; vibeDeckId: Scalars['ID']['input']; visibility?: InputMaybe; }; export type CreateVibeInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; description?: InputMaybe; environmentVariables?: InputMaybe; gitBranch?: InputMaybe; gitRemote?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; parentId?: InputMaybe; path?: InputMaybe; /** * Legacy tag input (string array). Use `tagsV2` for the canonical * `[{key,value,...}]` shape (marqueue §251). Both fields are still written. */ tags?: InputMaybe>; /** * Canonical universal-tag input (marqueue §251). JSON array of `{key,value,...}` * records. When provided, takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; type: VibeType; }; export type CreateVibecontrolsAgentInput = { /** * Auth-svc App clientId. Server-managed like `appId`: a non-null value is * rejected with `BAD_USER_INPUT`. */ appClientId?: InputMaybe; /** * Linked auth-svc App ID (OAuth2 identity for gateway access). Server-managed * (BOFF-7920): written only by `setupAgentGatewayAuth`. A non-null value is * rejected with `BAD_USER_INPUT`; `null` / omitted is accepted. */ appId?: InputMaybe; architecture: Scalars['String']['input']; configuration?: InputMaybe; /** Operation context for scoping (userId, projectId, etc.) */ context?: InputMaybe; /** Data directory the adapter should use (e.g. an existing Skalex agent-db dir). */ dbPath?: InputMaybe; hostname: Scalars['String']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; platform: Scalars['String']['input']; /** * Storage adapter the agent should use (e.g. "postgres", "skalex"). Set this + * storageOptions to point a NEW agent at an EXISTING same-workspace database so * it reuses that data instead of starting empty. */ storageAdapter?: InputMaybe; /** * Adapter options forwarded verbatim to the storage adapter — a flat string map * (e.g. { "connectionString": "postgres://…" }). */ storageOptions?: InputMaybe; targetId?: InputMaybe; tunnelStatus?: InputMaybe; tunnelUrl?: InputMaybe; version: Scalars['String']['input']; }; export type CreateVibecontrolsAgentProfileInput = { agentId: Scalars['ID']['input']; name: Scalars['String']['input']; port?: InputMaybe; }; export type CreateVibecontrolsDocsPageInput = { category?: InputMaybe; content: Scalars['String']['input']; context?: InputMaybe; description?: InputMaybe; frontmatter?: InputMaybe; metadata?: InputMaybe; parentId?: InputMaybe; sidebarPosition?: InputMaybe; siteId: Scalars['ID']['input']; slug: Scalars['String']['input']; status?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type CreateVibecontrolsDocsSiteInput = { context?: InputMaybe; /** Legacy alias for `providerConfig`. Ignored when `providerConfig` is set. */ docusaurusConfig?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; ownerId: Scalars['ID']['input']; ownerType?: InputMaybe; provider?: InputMaybe; providerConfig?: InputMaybe; signedUrlExpiryMs?: InputMaybe; tags?: InputMaybe>; visibility?: InputMaybe; }; export type CreateVibecontrolsNoteInput = { content: Scalars['String']['input']; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; isPinned?: InputMaybe; metadata?: InputMaybe; /** Optional session to author this note against (in-session notes drawer). */ sessionId?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; vibeId?: InputMaybe; visibility?: InputMaybe; }; /** Input for creating a visibility rule */ export type CreateVisibilityRuleInput = { conditions?: InputMaybe; priority?: InputMaybe; /** Resource identifier (external ID, not internal RBAC resource ID) */ resourceIdentifier: Scalars['String']['input']; resourceType: Scalars['String']['input']; scopeId: Scalars['String']['input']; targetId?: InputMaybe; targetType?: InputMaybe; visibilityType: VisibilityType; }; export type CreateVocabularyInput = { allowCustomTags?: InputMaybe; applicableEntityTypes?: InputMaybe>; cardinality?: InputMaybe; color?: InputMaybe; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; dataType?: InputMaybe; description?: InputMaybe; displayOrder?: InputMaybe; enumValues?: InputMaybe>; icon?: InputMaybe; key: Scalars['String']['input']; kind?: InputMaybe; maxValue?: InputMaybe; minValue?: InputMaybe; name: Scalars['String']['input']; predefinedValuesOnly?: InputMaybe; required?: InputMaybe; scope?: InputMaybe; validationPattern?: InputMaybe; }; export type CreateWarehouseInput = { address: Scalars['JSON']['input']; capabilities?: InputMaybe; code: Scalars['String']['input']; contactInfo?: InputMaybe; context?: InputMaybe; name: Scalars['String']['input']; operatingHours?: InputMaybe; status?: InputMaybe; totalCapacity?: InputMaybe; type: WarehouseType; usedCapacity?: InputMaybe; }; export type CreateWarehouseLocationInput = { aisle?: InputMaybe; bin?: InputMaybe; capacity?: InputMaybe; context?: InputMaybe; locationCode: Scalars['String']['input']; locationType?: InputMaybe; rack?: InputMaybe; shelf?: InputMaybe; status?: InputMaybe; warehouseId: Scalars['ID']['input']; zone?: InputMaybe; }; export type CreateWebhookInput = { agentIds?: InputMaybe>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; events: Array; name: Scalars['String']['input']; retryPolicy?: InputMaybe; secret?: InputMaybe; signingKey?: InputMaybe; url: Scalars['String']['input']; }; export type CreateWidgetInput = { config: Scalars['JSON']['input']; layout?: InputMaybe; position?: InputMaybe; title: Scalars['String']['input']; type: WidgetType; }; export type CreateWorkOrderInput = { assetId?: InputMaybe; assignedTo?: InputMaybe; checklist?: InputMaybe>; description?: InputMaybe; priority?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; type: WorkOrderType; }; /** Input for creating workflow definition */ export type CreateWorkflowDefinitionInput = { alias?: InputMaybe; category?: InputMaybe; context?: InputMaybe; definitionJson: Scalars['JSON']['input']; description?: InputMaybe; icon?: InputMaybe; name: Scalars['String']['input']; projectId?: InputMaybe; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; export type CreateWorkflowFolderInput = { name: Scalars['String']['input']; /** Omit or null for a top-level folder. */ parentId?: InputMaybe; }; /** Input for creating a new FluidGrids Workflow */ export type CreateWorkflowInput = { config?: InputMaybe; dataSinkKeys?: InputMaybe>; /** * FluidGrids workflow definition JSON (nodes, edges). * When provided, the service will create a corresponding * WorkflowDefinition in wspace-workflow-svc and store the * external workflow ID for future execution. * Ignored when externalWorkflowId is provided. */ definitionJson?: InputMaybe; description?: InputMaybe; /** * ID of an existing workflow in wspace-workflow-svc. * When provided, the service skips the bridge call to create a new * external workflow and links directly to this ID instead. * Used by the FluidGrids SDK onWorkflowSaved callback. */ externalWorkflowId?: InputMaybe; /** * Unique within the workspace for the lifetime of the workflow, including after * deletion. Reusing an active or deleted key returns WORKFLOW_KEY_EXISTS. */ key: Scalars['String']['input']; name: Scalars['String']['input']; /** * Initial lifecycle status. Defaults to `draft` when omitted, preserving the * previous behaviour. * * The ingest endpoint only accepts payloads for workflows in `active` — a * workflow left in `draft` rejects its own delivery with 422. Callers that wire * a workflow up completely in one step (definition plus dataSinkKeys) should * pass `active` so the chain is usable without a follow-up `updateWorkflow`. * * Only `draft` and `active` are accepted here. `paused`, `error` and `archived` * describe things that can only happen to a workflow that already exists — in * particular `error` is written by `executeWorkflow` to mean a real trigger * failed — so creating one directly in those states is rejected with * `INVALID_INITIAL_WORKFLOW_STATUS`. Use `updateWorkflow` to transition. */ status?: InputMaybe; }; export type CreateWorkflowProjectInput = { description?: InputMaybe; name: Scalars['String']['input']; }; /** A new search attribute. */ export type CreateWorkflowSearchAttributeInput = { /** At most 1000 characters. */ description?: InputMaybe; /** A letter, then letters, digits and underscores (at most 64); not a system attribute such as status. */ name: Scalars['String']['input']; type: WorkflowSearchAttributeType; }; /** A signal token to create for a run. */ export type CreateWorkflowSignalTokenInput = { /** IPv4 addresses and CIDR ranges a post must come from (at most 50); empty: any. */ ipAllowlist?: InputMaybe>; reusable?: InputMaybe; /** The run. Give it or `target`. */ runId?: InputMaybe; /** A signal the run declares. */ signalName: Scalars['String']['input']; /** The run by workflow id; instead of `runId`. */ target?: InputMaybe; /** Seconds the token lives: 60 to 7,776,000 (90 days); 30 days by default. */ ttlSeconds?: InputMaybe; }; export type CreateWorkflowVariableInput = { description?: InputMaybe; /** NONE or SECRET_REFERENCE; the retired provider types are refused. */ externalProvider?: InputMaybe; /** * Required with SECRET_REFERENCE: `$secrets..` or * `$secrets...`, optionally wrapped in `{{ }}`. */ externalRef?: InputMaybe; isSecret?: InputMaybe; key: Scalars['String']['input']; /** Required when scope = PROJECT. */ projectId?: InputMaybe; scope?: InputMaybe; /** * Local plaintext value. Mutually exclusive with `externalProvider` != * NONE + `externalRef` — a variable is either stored (encrypted, when * `isSecret`) in this service or resolved from an external provider, never * both. */ value?: InputMaybe; }; /** Input for creating a new workflow version */ export type CreateWorkflowVersionInput = { /** Alias to attach to the new version (movable pointer — cleared from any sibling version). Omitted = no alias. */ alias?: InputMaybe; /** * Provenance of the version (IR schema version 2 `authoring`: mode, generator, generatorVersion, * sourceHash, liftedFrom). Written into the definition; refused when `definitionJson` carries a * different `authoring`. Needs the `fluidgrids.code-first` feature. */ authoring?: InputMaybe; /** * The version this one is forked from, when a builder saves an ACTIVE or ARCHIVED * version (BOFF-9725). Used with `expectedRevision`. */ baseVersion?: InputMaybe; /** * The uploaded code bundle the version runs (durable functions, from prepareWorkflowCodeUpload). * Its buildId, language and exports must match the definition's `code` block. Needs the * `fluidgrids.code-first` and `fluidgrids.durable-functions` features. */ codeBundle?: InputMaybe; definitionJson: Scalars['JSON']['input']; description?: InputMaybe; /** The builder's edit-lease session; refused with a CONFLICT error while another session holds the lease. */ editSessionId?: InputMaybe; /** * The `revision` of `baseVersion` the caller loaded. When set, the fork is refused * with a CONFLICT error if that version changed, or was already forked by another * builder, since it was loaded. */ expectedRevision?: InputMaybe; /** * Typed interface of the version (IR schema version 2 `interface`: input, output, signals, queries, * updates as JSON Schema 2020-12). Written into the definition; refused when `definitionJson` * carries a different `interface`. Needs the `fluidgrids.code-first` feature. */ interface?: InputMaybe; /** Version string (optional — auto-generated as v1, v2, v3... if omitted) */ version?: InputMaybe; }; /** Create workflow version response */ export type CreateWorkflowVersionResponse = { __typename?: 'CreateWorkflowVersionResponse'; message?: Maybe; success: Scalars['Boolean']['output']; workflow?: Maybe; }; /** * Input for creating a new workspace. * tenantId is populated from gateway context (x-tenant-id header). * ownerId defaults to the authenticated actor (x-actor-id header). */ export type CreateWorkspaceInput = { /** Physical or mailing address */ address?: InputMaybe; /** Primary contact email */ contactEmail?: InputMaybe; /** Operation context for scoping */ context?: InputMaybe; /** Custom domain for the workspace */ domain?: InputMaybe; /** Display name of the workspace */ name: Scalars['String']['input']; /** Organization ID if part of an organization */ orgId?: InputMaybe; /** Type of workspace (defaults to WORKSPACE) */ type?: InputMaybe; /** Public website URL */ website?: InputMaybe; }; /** * Input for creating a new workspace resource. * Workspace ID is read from gateway context (x-workspace-id header). */ export type CreateWorkspaceResourceInput = { /** Resource configuration (provider-specific) */ config?: InputMaybe; /** Operation context for scoping */ context?: InputMaybe; /** Resource metadata (labels, annotations) */ metadata?: InputMaybe; /** Display name of the resource */ name: Scalars['String']['input']; /** Backward-compatible flat tags for categorization */ tags?: InputMaybe>; /** Type of resource */ type: WorkspaceResourceType; /** Universal entity-owned tags for categorization */ universalTags?: InputMaybe; }; /** Result of creating a workspace secret */ export type CreateWorkspaceSecretResult = { __typename?: 'CreateWorkspaceSecretResult'; /** Error message if creation failed */ error?: Maybe; /** Whether the secret was created successfully */ success: Scalars['Boolean']['output']; /** Workspace ID the secret was created for */ workspaceId?: Maybe; }; export type CreateWorkspacesExportJobInput = { dateRangeEnd?: InputMaybe; dateRangeStart?: InputMaybe; /** * Override the default entity types. Defaults to * ["workspaces", "projects", "workspace_members", "invitations"]. */ entityTypes?: InputMaybe>; format: WorkspacesExportFormat; includeMetadata?: InputMaybe; /** Human-readable export job name (shown in the export-jobs list UI). */ name: Scalars['String']['input']; }; /** * A proposal from the AI decision engine. `proposal` holds the full stored * result; the typed fields below project it per kind (null for other kinds). */ export type CrewAiDecision = { __typename?: 'CrewAiDecision'; aiError?: Maybe; /** * GENERATED (model narrative), FALLBACK (model failed or its answer was * rejected; deterministic narrative), UNAVAILABLE (no model provider * configured) or NOT_NEEDED (nothing to narrate). */ aiStatus: Scalars['String']['output']; appliedAt?: Maybe; appliedBy?: Maybe; /** What the apply step changed. */ applyResult?: Maybe; /** Outcome of the AI-credit charge: CHARGED, SKIPPED: or NOT_CHARGED:. */ chargeStatus?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; dismissReason?: Maybe; dismissedAt?: Maybe; dismissedBy?: Maybe; /** Fields the ranking is built never to read (protected or irrelevant attributes). */ excludedFeatures: Array; /** Fields the ranking read. */ featureBasis: Array; id: Scalars['ID']['output']; input: Scalars['JSON']['output']; inputTokens: Scalars['Int']['output']; interviewSummary?: Maybe; kind: CrewAiDecisionKind; latencyMs: Scalars['Int']['output']; /** Whether the model call was written to the shared AI ledger. */ ledgerRecorded: Scalars['Boolean']['output']; /** Provider-qualified model id, e.g. anthropic/claude-haiku-4-5. */ model?: Maybe; outputTokens: Scalars['Int']['output']; proposal: Scalars['JSON']['output']; provider?: Maybe; shortlist?: Maybe; skillGap?: Maybe; staffing?: Maybe; /** PROPOSED, APPLYING, APPLIED or DISMISSED. */ status: Scalars['String']['output']; subjectId: Scalars['ID']['output']; /** PROJECT, JOB_POSTING, TEAM, DEPARTMENT or CANDIDATE. */ subjectType: Scalars['String']['output']; /** Narrative: model-written when aiStatus is GENERATED, deterministic otherwise. */ summary: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewAiDecisionFilterInput = { kind?: InputMaybe; status?: InputMaybe; subjectId?: InputMaybe; }; /** STAFFING, SHORTLIST, SKILL_GAP or INTERVIEW_SUMMARY. */ export declare enum CrewAiDecisionKind { InterviewSummary = "INTERVIEW_SUMMARY", Shortlist = "SHORTLIST", SkillGap = "SKILL_GAP", Staffing = "STAFFING" } export type CrewAnalyzeSkillGapInput = { /** Exactly one of teamId, departmentId or projectId. */ scope: CrewSkillGapScopeInput; /** Extra skills to count as demand. */ skills?: InputMaybe>; }; export type CrewAnnouncement = { __typename?: 'CrewAnnouncement'; author: Scalars['String']['output']; authorRole: Scalars['String']['output']; category: Scalars['String']['output']; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isPinned: Scalars['Boolean']['output']; priority: Scalars['String']['output']; tags: Array; title: Scalars['String']['output']; viewCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewAttritionBacktest = { __typename?: 'CrewAttritionBacktest'; baselineBrier?: Maybe; cutoffDate?: Maybe; heuristicAuc?: Maybe; modelAuc?: Maybe; modelBrier?: Maybe; testExits: Scalars['Int']['output']; testSamples: Scalars['Int']['output']; trainExits: Scalars['Int']['output']; trainSamples: Scalars['Int']['output']; }; export type CrewAttritionForecast = { __typename?: 'CrewAttritionForecast'; model: CrewAttritionModel; predictions: Array; }; export type CrewAttritionModel = { __typename?: 'CrewAttritionModel'; backtest: CrewAttritionBacktest; excludedFeatures: Array; featureBasis: Array; features: Array; horizonDays: Scalars['Int']['output']; method: Scalars['String']['output']; reason: Scalars['String']['output']; /** ACTIVE, HEURISTIC_PREFERRED or INSUFFICIENT_DATA. */ status: Scalars['String']['output']; trainedAt: Scalars['DateTime']['output']; trainingExits: Scalars['Int']['output']; trainingSamples: Scalars['Int']['output']; }; export type CrewAttritionModelFeature = { __typename?: 'CrewAttritionModelFeature'; /** Fitted logistic coefficient; 0 unless the model status is ACTIVE. */ coefficient: Scalars['Float']['output']; description: Scalars['String']['output']; name: Scalars['String']['output']; }; export type CrewAttritionPrediction = { __typename?: 'CrewAttritionPrediction'; department: Scalars['String']['output']; drivers: Array; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; heuristicRiskLevel: Scalars['String']['output']; heuristicRiskScore: Scalars['Float']['output']; /** Probability of leaving within model.horizonDays; null unless model.status is ACTIVE. */ predictedExitProbability?: Maybe; /** MODEL or HEURISTIC. */ source: Scalars['String']['output']; }; export type CrewAttritionRisk = { __typename?: 'CrewAttritionRisk'; department: Scalars['String']['output']; drivers: Array; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; riskLevel: Scalars['String']['output']; riskScore: Scalars['Float']['output']; }; export type CrewAttritionRiskSummary = { __typename?: 'CrewAttritionRiskSummary'; highCount: Scalars['Int']['output']; lowCount: Scalars['Int']['output']; mediumCount: Scalars['Int']['output']; topRisks: Array; totalAssessed: Scalars['Int']['output']; }; export type CrewAvailableEmployeeFilterInput = { dateRange?: InputMaybe; departmentId?: InputMaybe; skills?: InputMaybe>; }; export type CrewBooking = { __typename?: 'CrewBooking'; cancelledReason?: Maybe; clientActorId: Scalars['ID']['output']; clientName: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; listingId: Scalars['ID']['output']; listingTitle: Scalars['String']['output']; notes?: Maybe; providerActorId: Scalars['ID']['output']; providerName: Scalars['String']['output']; rate: Scalars['Float']['output']; rateUnit: Scalars['String']['output']; scheduledEnd?: Maybe; scheduledStart?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewBookingFilterInput = { clientActorId?: InputMaybe; listingId?: InputMaybe; providerActorId?: InputMaybe; status?: InputMaybe; }; export type CrewCandidate = { __typename?: 'CrewCandidate'; appliedDate: Scalars['DateTime']['output']; currentCompany?: Maybe; email: Scalars['String']['output']; experience: Scalars['Int']['output']; firstName: Scalars['String']['output']; hiredDate?: Maybe; id: Scalars['ID']['output']; jobPostingId?: Maybe; lastName: Scalars['String']['output']; notes?: Maybe; phone: Scalars['String']['output']; position: Scalars['String']['output']; rating: Scalars['Float']['output']; resumeUrl?: Maybe; /** Canonical skills with proficiency and provenance (replaces the legacy `skills` strings). */ skillProfile: Array; /** @deprecated Free-text skill strings. Use skillProfile (canonical CrewSkill entities with proficiency). Kept in sync for one release (BOFF-3717). */ skills: Array; source: Scalars['String']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewCandidateFilterInput = { jobPostingId?: InputMaybe; minRating?: InputMaybe; skills?: InputMaybe>; status?: InputMaybe; }; /** * One candidate's deterministic match score against a specific job posting * (BOFF-4195). Scoring is an explainable, rule-based blend of skill overlap * (70%) and experience-level fit (30%) — see `rationale` for the human-readable * breakdown of exactly how the score was computed. This is intentionally NOT a * black box and NOT an ML-trained ranking. */ export type CrewCandidateMatch = { __typename?: 'CrewCandidateMatch'; candidate: CrewCandidate; candidateId: Scalars['ID']['output']; experienceScore: Scalars['Float']['output']; jobPostingId: Scalars['ID']['output']; /** Canonical names of the requirements (required and nice-to-have) the candidate meets. */ matchedSkills: Array; /** Canonical names of the required skills the candidate does not meet. */ missingSkills: Array; rationale: Scalars['String']['output']; score: Scalars['Float']['output']; /** Per-requirement breakdown: how each required / nice-to-have skill was (or was not) met. */ skillMatches: Array; skillScore: Scalars['Float']['output']; }; /** * Filter for `crewJobPostingMatches`. `status`, when set, restricts the candidate * pool to a single CrewCandidateStatus value (case-insensitive) instead of the * default pool (every candidate in the workspace not already HIRED or REJECTED). * `minScore` drops any candidate whose overall score falls below the threshold * (0-100). */ export type CrewCandidateMatchFilterInput = { minScore?: InputMaybe; status?: InputMaybe; }; /** A skill held by a candidate. */ export type CrewCandidateSkill = { __typename?: 'CrewCandidateSkill'; candidateId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** 0-100; null when not assessed. */ proficiency?: Maybe; skill: CrewSkill; skillId: Scalars['ID']['output']; /** RESUME, SELF_REPORTED, RECRUITER, ASSESSMENT or LEGACY. */ source: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; /** How one skill a job posting asks for is met by a candidate (BOFF-10360). */ export type CrewCandidateSkillMatch = { __typename?: 'CrewCandidateSkillMatch'; /** Skill names from the held skill to the requirement through the skills graph (empty for exact matches). */ chain: Array; /** EXACT, SUPERSEDED or IMPLIED when the candidate holds a satisfying skill; null when they hold none. */ matchType?: Maybe; matched: Scalars['Boolean']['output']; /** Minimum proficiency the posting asks for, if any. */ minProficiency?: Maybe; /** Candidate's proficiency in the held skill (null when not assessed). */ proficiency?: Maybe; /** Why it was not met (not held, proficiency not assessed, proficiency below N); null when met. */ reason?: Maybe; /** True for a must-have skill, false for a nice-to-have. */ required: Scalars['Boolean']['output']; /** Canonical skill name. */ requirement: Scalars['String']['output']; /** 0-100 strength of the match; 0 when not met. */ score: Scalars['Float']['output']; /** The posting's canonical skill. */ skillId: Scalars['ID']['output']; /** Name of the held skill that satisfied the requirement. */ viaSkill?: Maybe; }; /** How a worker proved presence at check-in (BOFF-10900). */ export declare enum CrewCheckInMethod { Gps = "GPS", Qr = "QR" } export type CrewClient = { __typename?: 'CrewClient'; contactPerson?: Maybe; email?: Maybe; id: Scalars['ID']['output']; industry?: Maybe; name: Scalars['String']['output']; phone?: Maybe; projects: Scalars['Int']['output']; revenue: Scalars['Float']['output']; since?: Maybe; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewConfigureWatchInput = { /** Five-field cron expression, e.g. "30 6 * * *". */ cronExpression?: InputMaybe; /** Turn the watch on (provisions the FluidGrids schedule) or off (pauses it). */ enabled?: InputMaybe; /** * Threshold overrides; absent keys keep their defaults: * benchWindowDays (1-90, default 7), overAllocationPercent (100-400, default 125), * overAllocationMinProjects (2-10, default 3), pipelineStallDays (1-120, default 14), * interviewStallDays (0-30, default 2), projectRiskSpendRatio (0.5-5, default 0.9), * projectRiskProgressPercent (1-100, default 70), maxDecisionsPerRun (1-20, default 5), * skillGapIntervalDays (1-30, default 7). */ thresholds?: InputMaybe; /** IANA timezone name, e.g. "Asia/Kolkata". */ timezone?: InputMaybe; }; export type CrewCostProjection = { __typename?: 'CrewCostProjection'; annual: Scalars['Float']['output']; department: Scalars['String']['output']; headcount: Scalars['Int']['output']; monthly: Scalars['Float']['output']; }; /** * Shared date-range filter for workforce queries (interviews, leave, time * entries, allocation). Both bounds are inclusive. */ export type CrewDateRangeInput = { end: Scalars['DateTime']['input']; start: Scalars['DateTime']['input']; }; export type CrewDepartment = { __typename?: 'CrewDepartment'; budget: Scalars['Float']['output']; employeeCount: Scalars['Int']['output']; headId?: Maybe; headName?: Maybe; id: Scalars['ID']['output']; location?: Maybe; name: Scalars['String']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewDispatch = { __typename?: 'CrewDispatch'; arrivedAt?: Maybe; assignedAt?: Maybe; assigneeUserId?: Maybe; cancelledAt?: Maybe; completedAt?: Maybe; completionNotes?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; dueAt?: Maybe; employeeId?: Maybe; employeeName?: Maybe; enRouteAt?: Maybe; id: Scalars['ID']['output']; priority: CrewDispatchPriority; shiftId?: Maybe; siteAddress?: Maybe; siteLatitude?: Maybe; siteLongitude?: Maybe; siteName?: Maybe; status: CrewDispatchStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewDispatchFilterInput = { employeeId?: InputMaybe; priority?: InputMaybe; shiftId?: InputMaybe; status?: InputMaybe; }; export declare enum CrewDispatchPriority { High = "HIGH", Low = "LOW", Normal = "NORMAL", Urgent = "URGENT" } export declare enum CrewDispatchStatus { Assigned = "ASSIGNED", Cancelled = "CANCELLED", Completed = "COMPLETED", EnRoute = "EN_ROUTE", OnSite = "ON_SITE", Open = "OPEN" } export type CrewEmployee = { __typename?: 'CrewEmployee'; avatar?: Maybe; department: Scalars['String']['output']; email: Scalars['String']['output']; firstName: Scalars['String']['output']; id: Scalars['ID']['output']; lastName: Scalars['String']['output']; location: Scalars['String']['output']; managerId?: Maybe; performanceScore: Scalars['Float']['output']; phone: Scalars['String']['output']; position: Scalars['String']['output']; salary: Scalars['Float']['output']; /** Canonical skills with proficiency and provenance (replaces the legacy `skills` strings). */ skillProfile: Array; /** @deprecated Free-text skill strings. Use skillProfile (canonical CrewSkill entities with proficiency). Kept in sync for one release (BOFF-3717). */ skills: Array; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; terminationDate?: Maybe; type: Scalars['String']['output']; /** Platform user id of the employee's app login (used for self check-in, open shifts and swaps). */ userId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CrewEmployeeAllocation = { __typename?: 'CrewEmployeeAllocation'; billableHours: Scalars['Float']['output']; byProject: Array; employeeId: Scalars['ID']['output']; rangeEnd: Scalars['DateTime']['output']; rangeStart: Scalars['DateTime']['output']; totalHours: Scalars['Float']['output']; }; export type CrewEmployeeAllocationEntry = { __typename?: 'CrewEmployeeAllocationEntry'; billableHours: Scalars['Float']['output']; hours: Scalars['Float']['output']; projectId?: Maybe; projectName: Scalars['String']['output']; }; export type CrewEmployeeDocument = { __typename?: 'CrewEmployeeDocument'; category?: Maybe; employeeId: Scalars['ID']['output']; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; title: Scalars['String']['output']; uploadedAt: Scalars['DateTime']['output']; uploadedBy: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewEmployeeFilterInput = { departmentId?: InputMaybe; location?: InputMaybe; managerId?: InputMaybe; skills?: InputMaybe>; status?: InputMaybe; type?: InputMaybe; }; /** A skill held by an employee. */ export type CrewEmployeeSkill = { __typename?: 'CrewEmployeeSkill'; createdAt: Scalars['DateTime']['output']; employeeId: Scalars['ID']['output']; id: Scalars['ID']['output']; lastUsedAt?: Maybe; /** 0-100; null when not assessed (for example backfilled from the legacy field). */ proficiency?: Maybe; skill: CrewSkill; skillId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** SELF_REPORTED, MANAGER, ASSESSMENT, CERTIFICATION or LEGACY. */ verifiedFrom: Scalars['String']['output']; }; export type CrewEnrollment = { __typename?: 'CrewEnrollment'; completedAt?: Maybe; courseId: Scalars['ID']['output']; courseTitle: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; id: Scalars['ID']['output']; startedAt?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewEnrollmentFilterInput = { courseId?: InputMaybe; employeeId?: InputMaybe; status?: InputMaybe; }; /** * A CALCULATION/bookkeeping ledger record only — never a real payment or fund * custody object. See the module header comment above. * `releaseCondition` valid values: ON_BOOKING_COMPLETION, ON_MANUAL_APPROVAL. * `status` valid values: PENDING_HOLD, HELD, RELEASED, CANCELLED. */ export type CrewEscrowRecord = { __typename?: 'CrewEscrowRecord'; amount: Scalars['Float']['output']; bookingId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; heldAt?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; releaseCondition: Scalars['String']['output']; releasedAt?: Maybe; releasedBy?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewEscrowRecordFilterInput = { bookingId?: InputMaybe; status?: InputMaybe; }; export type CrewExecutiveDashboard = { __typename?: 'CrewExecutiveDashboard'; activeHeadcount: Scalars['Int']['output']; attritionRisk: CrewAttritionRiskSummary; averagePerformanceScore: Scalars['Float']['output']; averageTenureMonths: Scalars['Float']['output']; costProjection: Array; exitsLast90Days: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; headcountGap: Array; newHiresLast90Days: Scalars['Int']['output']; skillsGap: Array; totalHeadcount: Scalars['Int']['output']; }; /** Kind of field event a device captured while offline. */ export declare enum CrewFieldEventKind { CheckIn = "CHECK_IN", CheckOut = "CHECK_OUT", QrCheckIn = "QR_CHECK_IN" } export declare enum CrewFieldEventOutcome { /** The event was applied (now or by an earlier sync of the same clientEventId). */ Applied = "APPLIED", /** The event can never apply; drop it from the device queue and show the reason. */ Rejected = "REJECTED", /** A transient failure; keep the event queued and sync again later. */ Retry = "RETRY" } export type CrewFieldEventResult = { __typename?: 'CrewFieldEventResult'; clientEventId: Scalars['ID']['output']; /** Human-readable explanation for the worker. */ message?: Maybe; outcome: CrewFieldEventOutcome; /** * Stable reason code for REJECTED/RETRY: SHIFT_NOT_FOUND, SHIFT_CLOSED, * ALREADY_CHECKED_IN, ALREADY_CHECKED_OUT, OUTSIDE_SHIFT_WINDOW, * OUTSIDE_GEOFENCE, CAPTURED_BEFORE_CHECK_IN, TOO_OLD, CAPTURED_IN_FUTURE, * INVALID_CODE, NO_MATCHING_SHIFT, INVALID_INPUT, TRANSIENT. */ reason?: Maybe; /** True when this clientEventId had already been processed by an earlier sync. */ replayed: Scalars['Boolean']['output']; /** The shift as it stands after the event (null when it is not the caller's). */ shift?: Maybe; }; /** Field-operations limits a client needs to behave like the server. */ export type CrewFieldOpsPolicy = { __typename?: 'CrewFieldOpsPolicy'; /** Minutes before a shift starts that check-in opens. */ checkInEarlyMinutes: Scalars['Int']['output']; /** Most events accepted by one syncMyCrewFieldEvents call. */ maxSyncBatch: Scalars['Int']['output']; /** Hours an offline-captured event may wait before it can no longer be synced. */ offlineSyncMaxAgeHours: Scalars['Int']['output']; /** Days a check-in/check-out device position is kept before it is erased. */ positionRetentionDays: Scalars['Int']['output']; }; /** A vertex of a polygon geofence. */ export type CrewGeoPoint = { __typename?: 'CrewGeoPoint'; latitude: Scalars['Float']['output']; longitude: Scalars['Float']['output']; }; export type CrewGeoPointInput = { latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; }; /** A device-reported position at check-in or check-out. */ export type CrewGeoPositionInput = { /** Horizontal accuracy radius reported by the device, in metres. */ accuracyMeters?: InputMaybe; latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; }; export type CrewHeadcountForecast = { __typename?: 'CrewHeadcountForecast'; assumptions: Array; averageAnnualSalary: Scalars['Float']['output']; currentHeadcount: Scalars['Int']['output']; currentMonthlyCost: Scalars['Float']['output']; department?: Maybe; exitsInWindow: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; hiresInWindow: Scalars['Int']['output']; hiresPerMonth: Scalars['Float']['output']; horizons: Array; method: Scalars['String']['output']; monthlyExitRate: Scalars['Float']['output']; observationMonths: Scalars['Float']['output']; openRequisitions: Scalars['Int']['output']; /** OK or LIMITED_HISTORY. */ status: Scalars['String']['output']; }; export type CrewHeadcountForecastHorizon = { __typename?: 'CrewHeadcountForecastHorizon'; cumulativeCost: Scalars['Float']['output']; expectedExits: Scalars['Float']['output']; expectedHires: Scalars['Float']['output']; high: Scalars['Float']['output']; low: Scalars['Float']['output']; months: Scalars['Int']['output']; projectedHeadcount: Scalars['Float']['output']; projectedMonthlyCost: Scalars['Float']['output']; }; export type CrewHeadcountGap = { __typename?: 'CrewHeadcountGap'; current: Scalars['Int']['output']; department: Scalars['String']['output']; openPostings: Scalars['Int']['output']; projectedHeadcount: Scalars['Int']['output']; }; export type CrewInterview = { __typename?: 'CrewInterview'; candidateId: Scalars['ID']['output']; candidateName: Scalars['String']['output']; date: Scalars['DateTime']['output']; feedback?: Maybe; id: Scalars['ID']['output']; interviewerId?: Maybe; interviewerName: Scalars['String']['output']; position: Scalars['String']['output']; rating?: Maybe; status: Scalars['String']['output']; time: Scalars['String']['output']; type: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewInterviewFilterInput = { candidateId?: InputMaybe; dateRange?: InputMaybe; interviewerId?: InputMaybe; status?: InputMaybe; }; /** Decision support only: never a hire or reject verdict. */ export type CrewInterviewSummary = { __typename?: 'CrewInterviewSummary'; candidateId: Scalars['ID']['output']; concerns: Array; dissent?: Maybe; feedbackCount: Scalars['Int']['output']; interviewCount: Scalars['Int']['output']; items: Array; maxRating?: Maybe; meanRating?: Maybe; minRating?: Maybe; openQuestions: Array; ratedCount: Scalars['Int']['output']; splitPanel: Scalars['Boolean']['output']; spread?: Maybe; strengths: Array; }; export type CrewInterviewSummaryItem = { __typename?: 'CrewInterviewSummaryItem'; date: Scalars['DateTime']['output']; deviation?: Maybe; dissenting: Scalars['Boolean']['output']; hasFeedback: Scalars['Boolean']['output']; interviewId: Scalars['ID']['output']; interviewerLabel: Scalars['String']['output']; interviewerName: Scalars['String']['output']; rating?: Maybe; type: Scalars['String']['output']; }; export type CrewJobPosting = { __typename?: 'CrewJobPosting'; applicants: Scalars['Int']['output']; benefits: Array; deadline?: Maybe; department: Scalars['String']['output']; description: Scalars['String']['output']; experienceLevel: Scalars['String']['output']; id: Scalars['ID']['output']; location: Scalars['String']['output']; postedDate: Scalars['DateTime']['output']; requirements: Array; salaryMax: Scalars['Float']['output']; salaryMin: Scalars['Float']['output']; /** Canonical skills the posting asks for, required first (replaces the legacy `requirements` strings for matching). */ skillRequirements: Array; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * A canonical skill a job posting asks for (BOFF-10360). Required skills mirror * the posting's legacy `requirements` strings; nice-to-have skills * (`required: false`) are set with `setCrewJobPostingSkill`. */ export type CrewJobPostingSkill = { __typename?: 'CrewJobPostingSkill'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; jobPostingId: Scalars['ID']['output']; /** 0-100 minimum candidate proficiency; null when any level is acceptable. */ minProficiency?: Maybe; required: Scalars['Boolean']['output']; skill: CrewSkill; skillId: Scalars['ID']['output']; /** REQUIREMENT (mirrored from requirements), RECRUITER (set directly) or LEGACY (backfilled). */ source: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type CrewLeaveRequest = { __typename?: 'CrewLeaveRequest'; approverName?: Maybe; days: Scalars['Int']['output']; department: Scalars['String']['output']; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; reason: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; type: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewLeaveRequestFilterInput = { dateRange?: InputMaybe; employeeId?: InputMaybe; status?: InputMaybe; }; /** A check-in/check-out the device captured offline, replayed when it is back online. */ export type CrewOfflineFieldEventInput = { /** When the worker acted on the device. */ capturedAt: Scalars['DateTime']['input']; /** The scanned site code, for QR_CHECK_IN. */ checkInCode?: InputMaybe; /** Client-generated id (8-64 of A-Z a-z 0-9 _ -). Resending the same id is idempotent. */ clientEventId: Scalars['ID']['input']; kind: CrewFieldEventKind; /** Required for CHECK_IN and CHECK_OUT; optional for QR_CHECK_IN. */ position?: InputMaybe; /** Required for CHECK_IN and CHECK_OUT; optional for QR_CHECK_IN. */ shiftId?: InputMaybe; }; export type CrewOnboarding = { __typename?: 'CrewOnboarding'; candidateId?: Maybe; completedTaskCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; currentStage: Scalars['String']['output']; department?: Maybe; employeeId?: Maybe; fullName: Scalars['String']['output']; id: Scalars['ID']['output']; position: Scalars['String']['output']; progressPercent: Scalars['Float']['output']; startDate?: Maybe; status: Scalars['String']['output']; tasks: Array; totalTaskCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewOnboardingFilterInput = { candidateId?: InputMaybe; employeeId?: InputMaybe; status?: InputMaybe; }; export type CrewOnboardingTask = { __typename?: 'CrewOnboardingTask'; assigneeActorId?: Maybe; assigneeName?: Maybe; completedAt?: Maybe; dueDate?: Maybe; id: Scalars['ID']['output']; onboardingId: Scalars['ID']['output']; sortOrder: Scalars['Int']['output']; stage: Scalars['String']['output']; title: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** An unassigned shift that eligible workers can claim. */ export type CrewOpenShift = { __typename?: 'CrewOpenShift'; cancelReason?: Maybe; /** Live claims (shifts) taken from this open shift. */ claimedCount: Scalars['Int']['output']; /** Shifts claimed from this open shift (dispatcher view). */ claims: Array; createdAt: Scalars['DateTime']['output']; endsAt: Scalars['DateTime']['output']; geofenceRadiusMeters: Scalars['Int']['output']; id: Scalars['ID']['output']; notes?: Maybe; patternId?: Maybe; remainingSlots: Scalars['Int']['output']; reminderMinutesBefore: Scalars['Int']['output']; /** When set, only employees whose position or skills match may claim. */ role?: Maybe; siteAddress?: Maybe; siteLatitude?: Maybe; siteLongitude?: Maybe; siteName?: Maybe; slots: Scalars['Int']['output']; startsAt: Scalars['DateTime']['output']; status: CrewOpenShiftStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewOpenShiftFilterInput = { from?: InputMaybe; patternId?: InputMaybe; status?: InputMaybe; to?: InputMaybe; }; export declare enum CrewOpenShiftStatus { Cancelled = "CANCELLED", Open = "OPEN" } export declare enum CrewPayrollCountry { Gb = "GB", In = "IN", Us = "US" } export type CrewPayrollRecord = { __typename?: 'CrewPayrollRecord'; deductions: Scalars['Float']['output']; department: Scalars['String']['output']; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; grossPay: Scalars['Float']['output']; id: Scalars['ID']['output']; netPay: Scalars['Float']['output']; payDate?: Maybe; paymentMethod: Scalars['String']['output']; period: Scalars['String']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewPayrollRecordFilterInput = { employeeId?: InputMaybe; period?: InputMaybe; status?: InputMaybe; }; export type CrewPayrollRun = { __typename?: 'CrewPayrollRun'; approvedAt?: Maybe; approvedBy?: Maybe; calculatedAt?: Maybe; country: CrewPayrollCountry; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; employeeCount: Scalars['Int']['output']; id: Scalars['ID']['output']; notes?: Maybe; payDate?: Maybe; period: Scalars['String']['output']; status: CrewPayrollRunStatus; totalGrossPay: Scalars['Float']['output']; totalNetPay: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewPayrollRunEmployeeInput = { annualGrossSalary: Scalars['Float']['input']; employeeId: Scalars['ID']['input']; employeeName: Scalars['String']['input']; }; export type CrewPayrollRunFilterInput = { country?: InputMaybe; period?: InputMaybe; status?: InputMaybe; }; export declare enum CrewPayrollRunStatus { Approved = "APPROVED", Calculated = "CALCULATED", Closed = "CLOSED", Draft = "DRAFT" } export type CrewPayslip = { __typename?: 'CrewPayslip'; annualGrossSalary: Scalars['Float']['output']; assumptions: Array; country: CrewPayrollCountry; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; employeeContributions: Array; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; employeeSocialContrib: Scalars['Float']['output']; employerContributions: Array; employerSocialContrib: Scalars['Float']['output']; grossPay: Scalars['Float']['output']; id: Scalars['ID']['output']; incomeTax: Scalars['Float']['output']; incomeTaxBrackets: Array; netPay: Scalars['Float']['output']; otherDeductionLines: Array; otherDeductions: Scalars['Float']['output']; payrollRunId: Scalars['ID']['output']; period: Scalars['String']['output']; taxableIncome: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewPayslipContributionLine = { __typename?: 'CrewPayslipContributionLine'; amount: Scalars['Float']['output']; base: Scalars['Float']['output']; label: Scalars['String']['output']; rate?: Maybe; }; export type CrewPayslipFilterInput = { employeeId?: InputMaybe; payrollRunId?: InputMaybe; }; export type CrewPayslipTaxBracket = { __typename?: 'CrewPayslipTaxBracket'; bandFrom: Scalars['Float']['output']; bandTo?: Maybe; label: Scalars['String']['output']; rate: Scalars['Float']['output']; taxOnBand: Scalars['Float']['output']; taxableInBand: Scalars['Float']['output']; }; export type CrewPerformanceRollup = { __typename?: 'CrewPerformanceRollup'; averageInterviewRating: Scalars['Float']['output']; department: Scalars['String']['output']; employeeId: Scalars['ID']['output']; interviewCount: Scalars['Int']['output']; reason: Scalars['String']['output']; rollupScore: Scalars['Float']['output']; tenureMonths: Scalars['Float']['output']; }; export type CrewProject = { __typename?: 'CrewProject'; budget: Scalars['Float']['output']; completedTasks: Scalars['Int']['output']; description: Scalars['String']['output']; endDate?: Maybe; id: Scalars['ID']['output']; managerId?: Maybe; managerName?: Maybe; name: Scalars['String']['output']; priority: Scalars['String']['output']; progress: Scalars['Int']['output']; spent: Scalars['Float']['output']; startDate?: Maybe; status: Scalars['String']['output']; tasks: Scalars['Int']['output']; teamId?: Maybe; teamName?: Maybe; workspaceId: Scalars['ID']['output']; }; export type CrewProjectFilterInput = { endsBefore?: InputMaybe; managerId?: InputMaybe; priority?: InputMaybe; status?: InputMaybe; teamId?: InputMaybe; }; export type CrewProposeStaffingInput = { /** Default: the project's own dates, else the next 90 days. */ dateRange?: InputMaybe; /** An employee on this many overlapping PLANNING/ACTIVE projects is at capacity (1-10, default 3). */ maxConcurrentProjects?: InputMaybe; projectId: Scalars['ID']['input']; roleNeeds: Array; }; export type CrewRoleNeedInput = { /** People needed with this skill (1-20, default 1). */ count?: InputMaybe; /** Minimum assessed proficiency (0-100). Unassessed holders do not qualify when set. */ minProficiency?: InputMaybe; /** Skill name or alias; resolved through the workspace skills taxonomy. */ skill: Scalars['String']['input']; }; /** One worker's push about a rota edit that moved or removed their shifts (BOFF-11002). */ export type CrewRotaChangeNotification = { __typename?: 'CrewRotaChangeNotification'; /** New future shifts the worker now works (a moved shift counts once removed and once added). */ addedCount: Scalars['Int']['output']; /** Devices the push provider accepted the push for. */ delivered: Scalars['Int']['output']; /** True when the push was handed to the platform push channel. */ dispatched: Scalars['Boolean']['output']; employeeId?: Maybe; /** Future shifts the worker no longer works. */ removedCount: Scalars['Int']['output']; /** Devices the worker registered for CrewFoundry (0 when the app was never installed). */ totalDevices: Scalars['Int']['output']; /** Recipient login. */ userId: Scalars['ID']['output']; }; /** Outcome of notifying workers about a rota edit: one push per affected worker. */ export type CrewRotaChangeNotificationSummary = { __typename?: 'CrewRotaChangeNotificationSummary'; /** Workers with a linked login whose future shifts changed. */ affectedWorkers: Scalars['Int']['output']; /** Devices the push provider accepted a push for, across all workers. */ delivered: Scalars['Int']['output']; /** Pushes handed to the platform push channel. */ dispatched: Scalars['Int']['output']; notifications: Array; /** Changed occurrences whose employee has no linked login, so nobody could be told. */ skippedWithoutLogin: Scalars['Int']['output']; }; export type CrewServiceListing = { __typename?: 'CrewServiceListing'; category?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; providerActorId: Scalars['ID']['output']; providerName: Scalars['String']['output']; rate: Scalars['Float']['output']; rateUnit: Scalars['String']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewServiceListingFilterInput = { category?: InputMaybe; providerActorId?: InputMaybe; status?: InputMaybe; }; export type CrewShift = { __typename?: 'CrewShift'; /** Platform user id of the field worker who checks in to this shift. */ assigneeUserId?: Maybe; cancelReason?: Maybe; /** Distance in metres between the check-in position and the site. */ checkInDistanceMeters?: Maybe; /** How presence was proved at check-in: GPS or QR. */ checkInMethod?: Maybe; /** Set when the check-in was captured offline: when the server received it (checkedInAt is the capture time). */ checkInSyncedAt?: Maybe; /** Distance in metres between the check-out position and the site. */ checkOutDistanceMeters?: Maybe; /** Set when the check-out was captured offline: when the server received it (checkedOutAt is the capture time). */ checkOutSyncedAt?: Maybe; checkedInAt?: Maybe; checkedOutAt?: Maybe; createdAt: Scalars['DateTime']['output']; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; endsAt: Scalars['DateTime']['output']; /** Polygon check-in geofence. When set it replaces the circular radius. */ geofencePolygon?: Maybe>; geofenceRadiusMeters: Scalars['Int']['output']; id: Scalars['ID']['output']; notes?: Maybe; /** The open shift this shift was claimed from. */ openShiftId?: Maybe; /** True once the occurrence was edited on its own or swapped; series edits no longer change it. */ patternDetached: Scalars['Boolean']['output']; /** The recurring pattern this shift was generated from. */ patternId?: Maybe; /** The pattern slot this shift fills (its original start). */ patternSlotAt?: Maybe; reminderMinutesBefore: Scalars['Int']['output']; reminderSentAt?: Maybe; role?: Maybe; siteAddress?: Maybe; siteLatitude?: Maybe; siteLongitude?: Maybe; siteName?: Maybe; startsAt: Scalars['DateTime']['output']; status: CrewShiftStatus; /** Time entry opened by the geo check-in. */ timeEntry?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewShiftFilterInput = { assigneeUserId?: InputMaybe; employeeId?: InputMaybe; /** Shifts that end at or after this instant. */ from?: InputMaybe; status?: InputMaybe; /** Shifts that start before this instant. */ to?: InputMaybe; }; /** A recurring shift pattern, for example a weekly rota. */ export type CrewShiftPattern = { __typename?: 'CrewShiftPattern'; assigneeUserId?: Maybe; createdAt: Scalars['DateTime']['output']; /** ISO weekdays, 1 (Monday) to 7 (Sunday), in the pattern's time zone. */ daysOfWeek: Array; durationMinutes: Scalars['Int']['output']; /** Null for an open-shift pattern: each occurrence is posted as an open shift. */ employeeId?: Maybe; employeeName?: Maybe; /** Last local date of the series (YYYY-MM-DD); null when open-ended. */ endDate?: Maybe; /** Occurrences exist for every slot that starts before this instant. */ generatedThrough?: Maybe; geofenceRadiusMeters: Scalars['Int']['output']; /** How many days ahead occurrences are kept generated. */ horizonDays: Scalars['Int']['output']; id: Scalars['ID']['output']; /** 1 = every week, 2 = every other week, and so on. */ intervalWeeks: Scalars['Int']['output']; notes?: Maybe; /** Workers needed per occurrence (open-shift patterns). */ openSlots: Scalars['Int']['output']; reminderMinutesBefore: Scalars['Int']['output']; role?: Maybe; siteAddress?: Maybe; siteLatitude?: Maybe; siteLongitude?: Maybe; siteName?: Maybe; /** First local date of the series (YYYY-MM-DD). */ startDate: Scalars['String']['output']; /** Local start time, HH:MM. */ startTime: Scalars['String']['output']; status: CrewShiftPatternStatus; /** IANA time zone the pattern's days and start time are expressed in. */ timezone: Scalars['String']['output']; title: Scalars['String']['output']; /** Upcoming open shifts of the series (open-shift patterns). */ upcomingOpenShifts: Array; /** Upcoming shifts of the series (assigned patterns). */ upcomingShifts: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** A recurring shift pattern, for example a weekly rota. */ export type CrewShiftPatternUpcomingOpenShiftsArgs = { limit?: InputMaybe; }; /** A recurring shift pattern, for example a weekly rota. */ export type CrewShiftPatternUpcomingShiftsArgs = { limit?: InputMaybe; }; export type CrewShiftPatternFilterInput = { employeeId?: InputMaybe; status?: InputMaybe; }; /** Outcome of creating, editing, extending or ending a pattern. */ export type CrewShiftPatternResult = { __typename?: 'CrewShiftPatternResult'; createdOpenShifts: Scalars['Int']['output']; createdShifts: Scalars['Int']['output']; pattern: CrewShiftPattern; /** Future occurrences removed by a schedule change or by ending the series. */ retiredOccurrences: Scalars['Int']['output']; /** Slot starts skipped because the employee already had a shift then. */ skippedConflicts: Array; /** Pushes sent to the workers whose future shifts this edit moved or removed (empty for create and generate). */ workerNotifications: CrewRotaChangeNotificationSummary; }; export declare enum CrewShiftPatternStatus { Active = "ACTIVE", Ended = "ENDED" } /** Outcome of a shift-reminder push fan-out. */ export type CrewShiftReminderResult = { __typename?: 'CrewShiftReminderResult'; /** Devices the push provider accepted the reminder for. */ delivered: Scalars['Int']['output']; /** True when the reminder was handed to the platform push channel. */ dispatched: Scalars['Boolean']['output']; reminderSentAt?: Maybe; shiftId: Scalars['ID']['output']; /** Devices the worker registered for CrewFoundry (0 when the app was never installed). */ totalDevices: Scalars['Int']['output']; }; export declare enum CrewShiftStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Missed = "MISSED", Scheduled = "SCHEDULED" } export type CrewShiftSwapFilterInput = { employeeId?: InputMaybe; shiftId?: InputMaybe; status?: InputMaybe; }; /** A worker's request for a colleague to take one of their shifts. */ export type CrewShiftSwapRequest = { __typename?: 'CrewShiftSwapRequest'; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; decidedBy?: Maybe; decisionNote?: Maybe; id: Scalars['ID']['output']; message?: Maybe; requesterEmployeeId: Scalars['ID']['output']; requesterEmployeeName: Scalars['String']['output']; requesterUserId: Scalars['ID']['output']; respondedAt?: Maybe; shift?: Maybe; shiftId: Scalars['ID']['output']; status: CrewShiftSwapStatus; targetEmployeeId: Scalars['ID']['output']; targetEmployeeName: Scalars['String']['output']; targetShift?: Maybe; /** The colleague's shift the requester takes in exchange (null for a give-away). */ targetShiftId?: Maybe; targetUserId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum CrewShiftSwapStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Declined = "DECLINED", /** The shift started before the request was decided. */ Expired = "EXPIRED", /** Accepted by the colleague; waiting for a dispatcher. */ PendingApproval = "PENDING_APPROVAL", /** Waiting for the colleague to accept. */ PendingPeer = "PENDING_PEER", Rejected = "REJECTED" } export type CrewShortlistCandidatesInput = { jobPostingId: Scalars['ID']['input']; /** Shortlist length (1-100, default 25). */ limit?: InputMaybe; /** APPLICANTS (default) or OPEN_POOL. */ pool?: InputMaybe; }; export type CrewShortlistEntry = { __typename?: 'CrewShortlistEntry'; candidateId: Scalars['ID']['output']; displayName: Scalars['String']['output']; experienceScore: Scalars['Int']['output']; /** Requirements the candidate does not meet. */ gaps: Array; matchedSkills: Array; note?: Maybe; rank: Scalars['Int']['output']; reasons: Array; ref: Scalars['String']['output']; /** 0-100: skills 70% + experience fit 30%. */ score: Scalars['Int']['output']; skillScore: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type CrewShortlistProposal = { __typename?: 'CrewShortlistProposal'; entries: Array; jobPostingId: Scalars['ID']['output']; jobPostingTitle: Scalars['String']['output']; /** APPLICANTS (candidates on this posting) or OPEN_POOL (every open candidate). */ pool: Scalars['String']['output']; poolSize: Scalars['Int']['output']; }; /** * QR check-in code posted at a site (BOFF-10900). A worker who scans it is * checked into their own shift whose site name matches, without a location fix. * Issuing a new code for the same site revokes the previous one. */ export type CrewSiteCheckInCode = { __typename?: 'CrewSiteCheckInCode'; /** The secret the QR encodes. Only managers can read it. */ code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; revokedAt?: Maybe; siteName: Scalars['String']['output']; }; /** A canonical skill in the workspace taxonomy. */ export type CrewSkill = { __typename?: 'CrewSkill'; /** Alternative spellings that resolve to this skill (React.js, ReactJS, ...). */ aliases: Array; /** Number of candidates holding this exact skill. */ candidateCount: Scalars['Int']['output']; /** Category key, e.g. SOFTWARE_ENGINEERING, SITE_SAFETY, TRADES, HEALTHCARE, UNCATEGORIZED. */ category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; /** Number of employees holding this exact skill. */ employeeCount: Scalars['Int']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** Direct relations in either direction. */ relations: Array; slug: Scalars['String']['output']; /** TAXONOMY (starter taxonomy), CUSTOM (added by a user) or BACKFILL (created from an unmatched legacy skill string; needs triage). */ source: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewSkillCoverage = { __typename?: 'CrewSkillCoverage'; demand: Scalars['Int']['output']; skill: Scalars['String']['output']; supply: Scalars['Int']['output']; }; export type CrewSkillFilterInput = { category?: InputMaybe; /** Matches the name (case-insensitive), slug or an exact alias. */ search?: InputMaybe; source?: InputMaybe; }; export type CrewSkillGapEntry = { __typename?: 'CrewSkillGapEntry'; adjacentHoldersInScope: Scalars['Int']['output']; demand: Scalars['Int']['output']; gap: Scalars['Int']['output']; holdersElsewhere: Scalars['Int']['output']; marketplaceListingIds: Array; note?: Maybe; /** HIGH, MEDIUM or LOW. */ priority: Scalars['String']['output']; ref: Scalars['String']['output']; /** REDEPLOY, UPSKILL, MARKETPLACE or HIRE. */ remedy: Scalars['String']['output']; remedyDetail: Scalars['String']['output']; resolvedSkill?: Maybe; skill: Scalars['String']['output']; sourceRefs: Array; /** JOB_POSTING, STAFFING_REQUEST or REQUESTED. */ sources: Array; supply: Scalars['Int']['output']; }; export type CrewSkillGapProposal = { __typename?: 'CrewSkillGapProposal'; covered: Array; gaps: Array; scopeHeadcount: Scalars['Int']['output']; scopeId: Scalars['ID']['output']; scopeName: Scalars['String']['output']; scopeType: Scalars['String']['output']; }; export type CrewSkillGapScopeInput = { departmentId?: InputMaybe; projectId?: InputMaybe; teamId?: InputMaybe; }; export type CrewSkillGraph = { __typename?: 'CrewSkillGraph'; depth: Scalars['Int']['output']; edges: Array; nodes: Array; root: CrewSkill; }; export type CrewSkillGraphEdge = { __typename?: 'CrewSkillGraphEdge'; fromSkillId: Scalars['ID']['output']; id: Scalars['ID']['output']; toSkillId: Scalars['ID']['output']; type: Scalars['String']['output']; }; export type CrewSkillGraphNode = { __typename?: 'CrewSkillGraphNode'; /** Hops from the root skill. */ depth: Scalars['Int']['output']; /** IMPLIES (the root gives you this skill), IMPLIED_BY (this skill gives you the root) or RELATED. */ direction: Scalars['String']['output']; /** Skill ids from the root (exclusive) to this node (inclusive). */ pathSkillIds: Array; /** Type of the last edge on the path. */ relationType: Scalars['String']['output']; skill: CrewSkill; }; /** * An employee who can do a skill, matched through the taxonomy: EXACT holders, * SUPERSEDED (holds a credential that supersedes it) or IMPLIED (holds a skill * that implies it). `explanation` states the chain in plain words. */ export type CrewSkillHolderMatch = { __typename?: 'CrewSkillHolderMatch'; employee: CrewEmployee; explanation: Scalars['String']['output']; matchType: Scalars['String']['output']; matchedSkill: CrewSkill; proficiency?: Maybe; verifiedFrom: Scalars['String']['output']; }; /** Result of merging one skill into another (BOFF-10361). */ export type CrewSkillMergeResult = { __typename?: 'CrewSkillMergeResult'; candidatesMoved: Scalars['Int']['output']; employeesMoved: Scalars['Int']['output']; jobPostingsMoved: Scalars['Int']['output']; relationsMoved: Scalars['Int']['output']; /** The surviving skill, with the merged skill's name and aliases added as aliases. */ target: CrewSkill; }; /** * A typed edge between two skills. IMPLIES: holding `fromSkill` means you can do * `toSkill`. SUPERSEDES: `fromSkill` replaces `toSkill` (and satisfies it). * RELATED_TO: adjacent, informative only. */ export type CrewSkillRelation = { __typename?: 'CrewSkillRelation'; createdAt: Scalars['DateTime']['output']; fromSkill?: Maybe; fromSkillId: Scalars['ID']['output']; id: Scalars['ID']['output']; toSkill?: Maybe; toSkillId: Scalars['ID']['output']; type: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewSkillSyncReport = { __typename?: 'CrewSkillSyncReport'; backfillSkillsCreated: Scalars['Int']['output']; candidateLinksCreated: Scalars['Int']['output']; candidatesProcessed: Scalars['Int']['output']; employeeLinksCreated: Scalars['Int']['output']; employeesProcessed: Scalars['Int']['output']; jobPostingLinksCreated: Scalars['Int']['output']; jobPostingsProcessed: Scalars['Int']['output']; relationsCreated: Scalars['Int']['output']; taxonomySkillsCreated: Scalars['Int']['output']; unmatched: Array; }; /** * A legacy free-text skill string the taxonomy did not recognise. It was kept as * a BACKFILL skill so no data is lost; review it and merge or recategorise. */ export type CrewSkillUnmatched = { __typename?: 'CrewSkillUnmatched'; occurrences: Scalars['Int']['output']; skillId: Scalars['ID']['output']; value: Scalars['String']['output']; }; export type CrewSkillsGap = { __typename?: 'CrewSkillsGap'; employeesWithSkill: Scalars['Int']['output']; openJobsRequiringSkill: Scalars['Int']['output']; shortage: Scalars['Int']['output']; skill: Scalars['String']['output']; }; /** * Result of rebuilding a workspace's projection in the platform knowledge graph * and search index: the skills graph (BOFF-10362) and the directory records * (BOFF-10432). Counts are events published. */ export type CrewSkillsGraphReindexReport = { __typename?: 'CrewSkillsGraphReindexReport'; /** Live announcements published (title, category, priority, tags). */ announcements: Scalars['Int']['output']; /** Live departments published (name, location, status). */ departments: Scalars['Int']['output']; employeeSkills: Scalars['Int']['output']; employees: Scalars['Int']['output']; /** False when platform graph sync is disabled in this environment; nothing was published. */ enabled: Scalars['Boolean']['output']; /** Events the platform graph emitter rejected; re-run the reindex to repair them. */ failed: Scalars['Int']['output']; /** Live job postings published (title, department, location, type, experience level, status). */ jobPostings: Scalars['Int']['output']; /** Live projects published (name, description, status, priority, team and manager names). */ projects: Scalars['Int']['output']; relations: Scalars['Int']['output']; skills: Scalars['Int']['output']; /** Live teams published (name, description, department, lead name). */ teams: Scalars['Int']['output']; }; export type CrewStaffingNeed = { __typename?: 'CrewStaffingNeed'; alternates: Array; count: Scalars['Int']['output']; minProficiency?: Maybe; qualifiedCount: Scalars['Int']['output']; recommended: Array; resolvedSkill?: Maybe; shortfall: Scalars['Int']['output']; skill: Scalars['String']['output']; }; export type CrewStaffingPick = { __typename?: 'CrewStaffingPick'; activeAssignments: Scalars['Int']['output']; department: Scalars['String']['output']; displayName: Scalars['String']['output']; employeeId: Scalars['ID']['output']; headroom: Scalars['Int']['output']; /** EXACT, SUPERSEDED or IMPLIED. */ matchType?: Maybe; /** Model note, when one was generated. */ note?: Maybe; position: Scalars['String']['output']; proficiency?: Maybe; /** Deterministic reasons, always present. */ reasons: Array; /** Pseudonymous reference the model saw (R1, R2, ...). */ ref?: Maybe; /** 0-100: skill match 80% + free capacity 20%. */ score: Scalars['Int']['output']; skillScore: Scalars['Int']['output']; /** The held skill that satisfied the requirement. */ viaSkill?: Maybe; }; export type CrewStaffingProposal = { __typename?: 'CrewStaffingProposal'; excludedAlreadyOnTeam: Scalars['Int']['output']; excludedAtCapacity: Scalars['Int']['output']; maxConcurrentProjects: Scalars['Int']['output']; needs: Array; poolSize: Scalars['Int']['output']; projectId: Scalars['ID']['output']; projectName: Scalars['String']['output']; teamId?: Maybe; windowEnd: Scalars['DateTime']['output']; windowStart: Scalars['DateTime']['output']; }; export type CrewTeam = { __typename?: 'CrewTeam'; createdAt: Scalars['DateTime']['output']; department?: Maybe; description: Scalars['String']['output']; id: Scalars['ID']['output']; leadId?: Maybe; leadName?: Maybe; memberCount: Scalars['Int']['output']; members: Array; name: Scalars['String']['output']; projectCount: Scalars['Int']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewTimeEntry = { __typename?: 'CrewTimeEntry'; billable: Scalars['Boolean']['output']; clockIn: Scalars['String']['output']; clockOut?: Maybe; date: Scalars['DateTime']['output']; employeeId: Scalars['ID']['output']; employeeName: Scalars['String']['output']; id: Scalars['ID']['output']; overtime: Scalars['Float']['output']; project?: Maybe; status: Scalars['String']['output']; totalHours: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type CrewTimeEntryFilterInput = { dateRange?: InputMaybe; employeeId?: InputMaybe; projectId?: InputMaybe; }; /** * Filter for `crewTrainingCompletionDashboard`. `managerId`, when set, scopes * the dashboard to the direct reports of that manager (`CrewEmployee.managerId`) * instead of every enrolled employee in the workspace. `courseId` narrows to a * single course instead of every active course. */ export type CrewTrainingCompletionFilterInput = { courseId?: InputMaybe; managerId?: InputMaybe; }; export type CrewTrainingCourse = { __typename?: 'CrewTrainingCourse'; contentUrl: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; durationMinutes?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; requiredForRoles: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * One row of the manager completion dashboard (`crewTrainingCompletionDashboard`): * aggregate enrollment counts for a single course, optionally scoped to one * manager's direct reports. */ export type CrewTrainingCourseCompletion = { __typename?: 'CrewTrainingCourseCompletion'; completedCount: Scalars['Int']['output']; completionRate: Scalars['Float']['output']; courseId: Scalars['ID']['output']; courseTitle: Scalars['String']['output']; inProgressCount: Scalars['Int']['output']; notStartedCount: Scalars['Int']['output']; totalEnrolled: Scalars['Int']['output']; }; export type CrewTrainingCourseFilterInput = { isActive?: InputMaybe; }; export type CrewVendor = { __typename?: 'CrewVendor'; category: Scalars['String']['output']; contactPerson?: Maybe; contractValue: Scalars['Float']['output']; email?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; phone?: Maybe; rating: Scalars['Float']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * Per-workspace watch configuration. Exists only once a workspace admin * explicitly enables the watch; `enabled` additionally requires the * `crewfoundry.ai.watch` feature flag to pass on every run. */ export type CrewWatchConfig = { __typename?: 'CrewWatchConfig'; /** Five-field cron (UTC by default) of the FluidGrids scheduled job. */ cronExpression: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; /** Last skill-gap drift evaluation. */ lastSkillGapAt?: Maybe; /** FluidGrids scheduled job id, null while disabled. */ scheduledJobId?: Maybe; /** Validated threshold settings (see CrewConfigureWatchInput). */ thresholds: Scalars['JSON']['output']; /** IANA timezone the cron is evaluated in. */ timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** FluidGrids workflow key, set on first enable. */ workflowKey?: Maybe; }; /** One detected watch signal, deduped by (workspace, fingerprint). */ export type CrewWatchFinding = { __typename?: 'CrewWatchFinding'; acknowledgedAt?: Maybe; acknowledgedBy?: Maybe; createdAt: Scalars['DateTime']['output']; /** The decision-engine proposal produced for this finding, when one ran. */ decisionId?: Maybe; /** Normalized signal facts (numbers, dates, names). */ detail: Scalars['JSON']['output']; fingerprint: Scalars['String']['output']; id: Scalars['ID']['output']; kind: CrewWatchKind; /** Last run that still saw the signal. */ lastSeenAt: Scalars['DateTime']['output']; notifiedAt?: Maybe; /** User ids the finding was notified to. */ notifiedTo: Array; resolvedAt?: Maybe; /** OPEN, ACKNOWLEDGED or RESOLVED. */ status: Scalars['String']['output']; subjectId: Scalars['ID']['output']; /** EMPLOYEE, CANDIDATE, INTERVIEW, PROJECT or DEPARTMENT. */ subjectType: Scalars['String']['output']; }; /** BENCH, OVER_ALLOCATION, PIPELINE_STALL, PROJECT_RISK or SKILL_GAP_DRIFT. */ export declare enum CrewWatchKind { Bench = "BENCH", OverAllocation = "OVER_ALLOCATION", PipelineStall = "PIPELINE_STALL", ProjectRisk = "PROJECT_RISK", SkillGapDrift = "SKILL_GAP_DRIFT" } /** Outcome of one watch evaluation pass. */ export type CrewWatchRunSummary = { __typename?: 'CrewWatchRunSummary'; /** Decision-engine invocations this run. */ decisions: Scalars['Int']['output']; /** Signals detected this run (including refreshed ones). */ findings: Scalars['Int']['output']; /** Signals that opened a new finding row this run. */ newFindings: Scalars['Int']['output']; /** New findings that produced at least one notification. */ notified: Scalars['Int']['output']; /** Skip reasons (flag off, quota exhausted, not configured ...). */ skipped: Array; }; /** The caller's employee record in the current workspace. */ export type CrewWorkerProfile = { __typename?: 'CrewWorkerProfile'; employeeId: Scalars['ID']['output']; name: Scalars['String']['output']; position: Scalars['String']['output']; }; export type CrewfoundryBootstrap = { __typename?: 'CrewfoundryBootstrap'; announcements: Array; candidates: Array; clients: Array; departments: Array; employees: Array; interviews: Array; jobPostings: Array; leaveRequests: Array; projects: Array; teams: Array; timeEntries: Array; vendors: Array; }; export type CrewfoundryExportConsentInput = { /** Optional ISO-8601 instant after which the consent no longer applies */ expiresAt?: InputMaybe; /** ISO-8601 instant with an explicit offset at which consent was given. Accepted for 15 minutes. */ grantedAt: Scalars['String']['input']; /** * What the export is consented for. Name every sensitive record type in the export * (export:employees, export:candidates, export:payroll), separated by commas or spaces, * or export:crewfoundry for all of them. */ scope: Scalars['String']['input']; }; export declare enum CrewfoundryExportFormat { Csv = "CSV", Json = "JSON" } export type CrewfoundryExportJob = { __typename?: 'CrewfoundryExportJob'; createdAt: Scalars['DateTime']['output']; downloadUrl?: Maybe; entityTypes: Array; format: CrewfoundryExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * Ground-truth quota usage for one (workspace, quota) pair. Consumed only by * wspace-activity-svc's count reconciler, which overwrites * WorkspaceQuotaAssignment.used with currentValue. */ export type CrewfoundryQuotaCountMetric = { __typename?: 'CrewfoundryQuotaCountMetric'; currentValue: Scalars['Float']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * Authorization envelope for the anonymous FluidGrids tick callback. The * dispatchSecret is a per-workspace HMAC of the workspace id keyed by * INTERNAL_SERVICE_TOKEN; it is provisioned into the workflow definition at * enable time and never leaves the cluster. */ export type CrewfoundryWatchTickInput = { dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type Crop = { __typename?: 'Crop'; category: Scalars['String']['output']; daysToHarvest: Scalars['Int']['output']; entityTags: Array; expectedHarvestDate: Scalars['String']['output']; field: Scalars['String']['output']; fieldName: Scalars['String']['output']; growthStage: Scalars['String']['output']; /** Crop-level health score 0-100 from field NDVI (BOFF-6084). Null until a field NDVI refresh scores this crop — never 0-as-unknown. */ healthScore?: Maybe; /** The NDVI reading date the healthScore was computed from. */ healthScoreAt?: Maybe; /** Provenance of healthScore: RULE | MODEL | NDVI. Only NDVI is produced today. */ healthScoreSource?: Maybe; healthStatus: Scalars['String']['output']; id: Scalars['ID']['output']; imageIds: Array; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; plantingDate: Scalars['String']['output']; progress: Scalars['Int']['output']; season: Scalars['String']['output']; status: Scalars['String']['output']; variety: Scalars['String']['output']; yieldEstimate: Scalars['Float']['output']; /** When the current yieldEstimate value was set. */ yieldEstimateAt?: Maybe; /** Provenance of yieldEstimate: FARMER (farmer-typed) | NDVI_FORECAST (satellite write-back). Null on legacy rows = farmer-entered. */ yieldEstimateSource?: Maybe; yieldUnit: Scalars['String']['output']; }; export type CropDistributionPoint = { __typename?: 'CropDistributionPoint'; color: Scalars['String']['output']; name: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type CsaBoxItem = { __typename?: 'CsaBoxItem'; productId?: Maybe; productName: Scalars['String']['output']; quantity: Scalars['Float']['output']; unit: Scalars['String']['output']; }; export type CsaBoxItemInput = { productId?: InputMaybe; productName: Scalars['String']['input']; quantity: Scalars['Float']['input']; unit: Scalars['String']['input']; }; export type CsaDelivery = { __typename?: 'CsaDelivery'; /** * When the box REACHED where it was going. For a collected box that is the driver's drop-off at the * stand, hours before `deliveredAt`; for a driven box the two are the same instant (BOFF-5978). */ arrivedAt?: Maybe; /** Opaque global-billing BillingOrder id — the real billing cycle for this box. */ billingOrderId?: Maybe; billingSyncError?: Maybe; /** PENDING | SYNCED | FAILED */ billingSyncStatus: Scalars['String']['output']; csaMembershipId: Scalars['ID']['output']; csaPlanId: Scalars['ID']['output']; cycleNumber: Scalars['Int']['output']; /** When the box reached its MEMBER's hands — the handover, never the drop-off. */ deliveredAt?: Maybe; deliveryAddress?: Maybe; /** * HOME_DELIVERY | PICKUP, SNAPSHOTTED when the cycle was created (BOFF-5978). A member switching to * collection must not retitle the boxes already driven to their door. */ fulfilmentMode: Scalars['String']['output']; id: Scalars['ID']['output']; /** * Where this box went — the pickup location's coordinates for a collected box, the member's for a * driven one. Follows the SNAPSHOT below, not the membership's current setting. */ lat?: Maybe; lng?: Maybe; memberName: Scalars['String']['output']; notes?: Maybe; notificationSentAt?: Maybe; orderId?: Maybe; /** When the linked Order settled, null until paid. */ paidAt?: Maybe; /** Gateway-verified payment reference, null until the linked Order settles. */ paymentReference?: Maybe; /** PENDING | PAID | FAILED — mirrored from the linked Order; the UI never writes this. */ paymentStatus?: Maybe; /** The location this box went to. Null for a home delivery. */ pickupLocationId?: Maybe; /** * The stand's name AS IT WAS. Names get re-used between seasons, so a manifest reprinted for a past * date and keyed on the live name could label the box with a different stand. */ pickupLocationName?: Maybe; scheduledDate: Scalars['String']['output']; /** * SCHEDULED | PACKED | DISPATCHED | AWAITING_COLLECTION | DELIVERED | SKIPPED. * * AWAITING_COLLECTION (BOFF-5978) is a collected box that has REACHED its pickup location and is * waiting for its member. A driven box never enters it: at the door, arriving and handing over are * one act. Collapsing the two marked every box at a stand delivered the moment the van pulled away. */ status: Scalars['String']['output']; /** FluidGrids WorkflowRun id for the dispatch-notification flow. */ workflowRunId?: Maybe; }; export type CsaMembership = { __typename?: 'CsaMembership'; billingAccountId?: Maybe; billingSyncError?: Maybe; /** PENDING | SYNCED | FAILED */ billingSyncStatus: Scalars['String']['output']; createdAt: Scalars['String']['output']; csaPlanId: Scalars['ID']['output']; csaPlanName: Scalars['String']['output']; cycleCount: Scalars['Int']['output']; /** The member's home address. Kept even while they collect — most switches are temporary. */ deliveryAddress?: Maybe; /** HOME_DELIVERY | PICKUP — derived from whether pickupLocationId is set. */ fulfilmentMode: Scalars['String']['output']; id: Scalars['ID']['output']; /** * The MEMBER's own coordinates — their home, always, collecting or not. These are the values stored * against the membership and the ones `UpdateHealthyBowlCsaMembershipInput.lat/lng` writes back to. * * They used to return the pickup location's while the member collected, which meant a read-modify- * write — the shape every edit form takes — posted the stand's coordinates back and overwrote the * member's home position with them, irreversibly. A writable field has to read back what is stored * in it. For where the box actually goes, read `routingLat`/`routingLng` (BOFF-5978). */ lat?: Maybe; lng?: Maybe; memberEmail?: Maybe; memberName: Scalars['String']['output']; memberPhone?: Maybe; /** Opaque global-auth User id (may be null for a manually-added member). */ memberUserId?: Maybe; nextDeliveryDate?: Maybe; pausedUntil?: Maybe; /** The stand/co-op this member collects from. Null = home delivery (BOFF-5978). */ pickupLocationId?: Maybe; /** Read live off the location, so correcting the stand's name corrects it everywhere at once. */ pickupLocationName?: Maybe; /** * Where this member's NEXT box is driven: the pickup location's coordinates while they collect, the * member's own when they do not. DERIVED and read-only — never a second stored copy, and never * written back. */ routingLat?: Maybe; routingLng?: Maybe; startDate: Scalars['String']['output']; /** ACTIVE | PAUSED | CANCELLED */ status: Scalars['String']['output']; }; export type CsaPlan = { __typename?: 'CsaPlan'; /** Memberships with status ACTIVE currently on this plan — who is collecting this cycle. */ activeMemberCount: Scalars['Int']['output']; /** * ACTIVE + PAUSED — the figure `capacity` is enforced against at enrolment, and the one * `capacityRemaining` below is derived from. Kept separate from `activeMemberCount` rather than * replacing it: "who is collecting this cycle" and "how many places are taken" are different * questions and one number cannot answer both honestly. */ assignedMemberCount: Scalars['Int']['output']; /** True only when a cap exists AND is met or exceeded. */ atCapacity: Scalars['Boolean']['output']; billingSyncError?: Maybe; /** PENDING | SYNCED | FAILED */ billingSyncStatus: Scalars['String']['output']; /** SMALL | MEDIUM | LARGE */ boxSize: Scalars['String']['output']; /** Maximum memberships that may be enrolled. Null = uncapped. */ capacity?: Maybe; /** NO_CAPACITY_SET | CAPACITY_ZERO — why the two figures above are null. Null when they are not. */ capacityReason?: Maybe; /** * Places left, against `assignedMemberCount`. Null when no capacity is set — an uncapped plan has * unknown headroom, and zero would read as full. Negative when a cap was lowered under the members * already assigned; that over-subscription is real and clamping it to zero would hide it. */ capacityRemaining?: Maybe; /** 0–100+, 1dp. Null without a positive cap to divide by. */ capacityUtilisationPct?: Maybe; contents: Array; createdAt: Scalars['String']['output']; currency: Scalars['String']['output']; /** 0 = Sunday … 6 = Saturday */ deliveryDayOfWeek: Scalars['Int']['output']; description?: Maybe; endDate?: Maybe; /** WEEKLY | BIWEEKLY | MONTHLY */ frequency: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** * Memberships with status PAUSED still on this plan (BOFF-6088). Pausing does not release the * place: nothing clears the plan pointer, and the member resumes against this same plan. */ pausedMemberCount: Scalars['Int']['output']; price: Scalars['Float']['output']; /** Opaque global-billing RecurringBillingPlan id. */ recurringBillingPlanId?: Maybe; startDate: Scalars['String']['output']; /** ACTIVE | PAUSED | ARCHIVED */ status: Scalars['String']['output']; }; /** * Credential payload for CUSTOM providers (e.g. Google Workspace Admin via * domain-wide delegation). `config` is the provider's configSchema-shaped object; * any fields marked `secret: true` in the provider configSchema are stored only * inside the encrypted credential payload, never in plain connection config. */ export type CustomConfigAuthInput = { config: Scalars['JSON']['input']; connectionId: Scalars['ID']['input']; }; /** * A custom field definition that describes an additional field available * on work items within a project. */ export type CustomFieldDefinition = { __typename?: 'CustomFieldDefinition'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this definition */ createdBy: Scalars['String']['output']; /** Default value (JSON-encoded) */ defaultValue?: Maybe; /** Soft-delete timestamp */ deletedAt?: Maybe; /** Field description */ description?: Maybe; /** Field data type */ fieldType: CustomFieldType; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this field is required */ isRequired: Scalars['Boolean']['output']; /** Arbitrary metadata */ metadata?: Maybe; /** Field name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe; /** Options for SELECT/MULTI_SELECT types */ options?: Maybe; /** Parent project */ project?: Maybe; /** Parent project ID */ projectId: Scalars['String']['output']; /** Sort order */ sortOrder: Scalars['Int']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Validation rules (JSON-encoded) */ validationRules?: Maybe; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum CustomFieldType { Boolean = "BOOLEAN", Date = "DATE", Email = "EMAIL", Json = "JSON", Label = "LABEL", MultiSelect = "MULTI_SELECT", Number = "NUMBER", Select = "SELECT", Text = "TEXT", Url = "URL", User = "USER" } /** A custom field value set on a specific work item. */ export type CustomFieldValue = { __typename?: 'CustomFieldValue'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Custom field definition */ definition?: Maybe; /** Custom field definition ID */ definitionId: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Actor who set this value */ setBy: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** The stored value (JSON-encoded) */ value: Scalars['JSON']['output']; /** Work item ID this value belongs to */ workItemId: Scalars['String']['output']; }; /** Custom node generation response */ export type CustomNodeGenerationResponse = { __typename?: 'CustomNodeGenerationResponse'; codeContent?: Maybe; generatedPath?: Maybe; manifestContent?: Maybe; message: Scalars['String']['output']; nodeType?: Maybe; nodeVersion?: Maybe; success: Scalars['Boolean']['output']; }; /** * Implementation language for a generated custom node. A closed set: the * language text in the generation prompt comes from the server, never from the * caller (BOFF-3720). */ export declare enum CustomNodeLanguage { Javascript = "JAVASCRIPT", Python = "PYTHON", Typescript = "TYPESCRIPT" } export type CustomerFilterInput = { search?: InputMaybe; type?: InputMaybe; }; export declare enum DlqStatus { Discarded = "DISCARDED", Investigating = "INVESTIGATING", Pending = "PENDING", Resolved = "RESOLVED" } export type DashboardOverview = { __typename?: 'DashboardOverview'; openIncidents: Scalars['Int']['output']; openWorkOrders: Scalars['Int']['output']; totalAssets: Scalars['Int']['output']; totalTransactions: Scalars['Int']['output']; }; export type DashboardStats = { __typename?: 'DashboardStats'; activeCrops: Scalars['Int']['output']; harvestDue: Scalars['Int']['output']; netProfit: Scalars['Float']['output']; organicScore: Scalars['Int']['output']; pendingOrders: Scalars['Int']['output']; totalAnimals: Scalars['Int']['output']; totalExpenses: Scalars['Float']['output']; totalFields: Scalars['Int']['output']; totalRevenue: Scalars['Float']['output']; weatherAlerts: Scalars['Int']['output']; }; export type DashboardSummary = { __typename?: 'DashboardSummary'; activeWorkflowsCount: Scalars['Int']['output']; archivedWorkflowsCount: Scalars['Int']['output']; avgNodeExecutionTimeSeconds?: Maybe; avgWorkflowExecutionTimeSeconds?: Maybe; nodeUsageStats: Array; recentRuns: Array; recentWorkflows: Array; runsCancelledCount: Scalars['Int']['output']; runsCompletedCount: Scalars['Int']['output']; runsCompletedLast7d: Scalars['Int']['output']; runsCompletedLast24h: Scalars['Int']['output']; runsCompletedLast30d: Scalars['Int']['output']; runsCountTotal: Scalars['Int']['output']; runsFailedCount: Scalars['Int']['output']; runsFailedLast7d: Scalars['Int']['output']; runsFailedLast24h: Scalars['Int']['output']; runsFailedLast30d: Scalars['Int']['output']; runsPendingCount: Scalars['Int']['output']; runsRunningCount: Scalars['Int']['output']; runsWaitingCount: Scalars['Int']['output']; /** * Rough estimate of manual-effort time saved by automation (BOFF-7519): * `completedRunsCount * avgNodesPerRun * ASSUMED_MANUAL_SECONDS_PER_NODE`, * converted to hours. A deliberately coarse heuristic (see * `DashboardProvider.TIME_SAVED_ASSUMED_MANUAL_SECONDS_PER_NODE`'s doc * comment for the assumption) — directional, not a billing-grade figure. * Null when there is no completed-run history yet to estimate from. */ timeSavedEstimateHours?: Maybe; /** Workflows with the most FAILED runs, worst-first (BOFF-7519). Capped at 10. */ topFailingWorkflows: Array; totalNodesExecutedCount: Scalars['Int']['output']; userId: Scalars['String']['output']; username?: Maybe; workflowSuccessRate?: Maybe; workflowsCount: Scalars['Int']['output']; }; /** * Data sensitivity classification (BC-PFC-11). L4_REGULATED makes * fieldMaskingEnabled mandatory on create/update — the API rejects an * L4_REGULATED sink with masking disabled instead of silently allowing it. */ export declare enum DataClassification { L1Public = "L1_PUBLIC", L2Internal = "L2_INTERNAL", L3Confidential = "L3_CONFIDENTIAL", L4Regulated = "L4_REGULATED" } /** * Pre-processed data from FluidGrids workflows with PostgreSQL + Redis caching. * Provides hybrid storage for widget data extraction via JQ/JSONata/Spark parsers. */ export type DataSink = { __typename?: 'DataSink'; /** Alert rules for data conditions */ alerts?: Maybe>; /** Additional configuration (flexible JSONB storage) */ config?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** User ID who created the entity */ createdBy: Scalars['ID']['output']; /** Actual data payload (stored in PostgreSQL JSONB) */ data: Scalars['JSON']['output']; /** * Data sensitivity classification (BC-PFC-11). L4_REGULATED requires * fieldMaskingEnabled to be true; the API enforces this on create/update. */ dataClassification: DataClassification; /** Data statistics (size, hash) */ dataStats?: Maybe; /** Soft delete timestamp */ deletedAt?: Maybe; /** User who deleted the datasink */ deletedBy?: Maybe; /** Optional description */ description?: Maybe; /** Cache expiration timestamp */ expiresAt?: Maybe; /** Export configurations for scheduled reports */ exports?: Maybe>; /** Field-level masking enabled */ fieldMaskingEnabled: Scalars['Boolean']['output']; /** Field masking rules configuration */ fieldMaskingRules?: Maybe; /** FluidGrids workflow execution ID retained for direct lookup paths. */ fluidGridsWorkflowExecutionId?: Maybe; /** FluidGrids workflow ID retained for direct lookup paths. */ fluidGridsWorkflowId?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Active status */ isActive: Scalars['Boolean']['output']; /** Unique key within workspace (e.g., 'sales_metrics_q4') */ key: Scalars['String']['output']; /** Last refresh timestamp */ lastRefreshedAt: Scalars['DateTime']['output']; /** User who last refreshed the datasink */ lastRefreshedBy?: Maybe; linkedParserCount: Scalars['Int']['output']; /** Parsers that use this DataSink as input (v2.0) */ linkedParsers: Array; linkedWorkflowCount: Scalars['Int']['output']; /** Custom metadata (source info, workflow config, etc.) */ metadata?: Maybe; /** DataSink name */ name?: Maybe; /** Next scheduled refresh timestamp */ nextRefreshAt?: Maybe; /** Resource quota configuration */ quota?: Maybe; /** Refresh configuration */ refresh?: Maybe; /** Setup state tracking (v2.0 - tracks DataSink configuration progress) */ setupState: DataSinkSetupState; /** Timestamp when setup state last changed */ setupStateChangedAt?: Maybe; /** User who last changed the setup state */ setupStateChangedBy?: Maybe; /** Data payload size in bytes (auto-calculated, read-only) */ sizeBytes: Scalars['Int']['output']; /** DataSink status */ status: DataSinkStatus; /** Last status change timestamp */ statusChangedAt?: Maybe; /** User who last changed status */ statusChangedBy?: Maybe; tagAssignments: Array; /** Cache TTL in Redis (seconds, default: 300, null = no cache) */ ttl?: Maybe; /** Last modification timestamp */ updatedAt: Scalars['DateTime']['output']; /** User ID who last updated the entity */ updatedBy: Scalars['ID']['output']; /** Version number (auto-increments on refresh for conflict detection) */ version: Scalars['Int']['output']; /** Linked workflows via DataSinkWorkflowLink junction table (many-to-many) */ workflowLinks: Array; workspace?: Maybe; /** Workspace context */ workspaceId: Scalars['ID']['output']; }; /** Data sink alert configuration */ export type DataSinkAlert = { __typename?: 'DataSinkAlert'; /** Notification channels */ channels: Array; /** Alert condition (JQ/JSONata expression) */ condition: Scalars['String']['output']; conditionType: DataSinkAlertConditionType; deliveries: Array; /** Alert enabled status */ enabled: Scalars['Boolean']['output']; /** Alert ID */ id: Scalars['ID']['output']; /** Alert name */ name: Scalars['String']['output']; /** Recipients (user IDs or role names) */ recipients: Array; /** Alert severity */ severity: AlertSeverity; /** Throttle configuration */ throttle?: Maybe; }; export declare enum DataSinkAlertChannel { Email = "EMAIL", Slack = "SLACK", Webhook = "WEBHOOK", /** Starts a workflow run. The delivery's channelId is the workflow id. */ Workflow = "WORKFLOW" } export declare enum DataSinkAlertConditionType { Jq = "JQ", Jsonata = "JSONATA" } export type DataSinkAlertConfiguredChannel = { __typename?: 'DataSinkAlertConfiguredChannel'; id: Scalars['ID']['output']; name: Scalars['String']['output']; platform: DataSinkAlertChannel; status: Scalars['String']['output']; }; export type DataSinkAlertDelivery = { __typename?: 'DataSinkAlertDelivery'; channel: DataSinkAlertChannel; channelId: Scalars['ID']['output']; recipient: Scalars['String']['output']; }; export type DataSinkAlertDeliveryAttempt = { __typename?: 'DataSinkAlertDeliveryAttempt'; attemptedAt?: Maybe; channel: DataSinkAlertChannel; channelId: Scalars['ID']['output']; error?: Maybe; notificationId?: Maybe; recipient: Scalars['String']['output']; /** Actual platform notification delivery status; PENDING means not attempted yet. */ status: Scalars['String']['output']; }; export type DataSinkAlertDeliveryInput = { channel: DataSinkAlertChannel; channelId: Scalars['ID']['input']; recipient: Scalars['String']['input']; }; export type DataSinkAlertExecution = { __typename?: 'DataSinkAlertExecution'; alertId: Scalars['ID']['output']; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; dataSinkId: Scalars['ID']['output']; deliveries: Array; durationMs: Scalars['Int']['output']; error?: Maybe; id: Scalars['ID']['output']; matched: Scalars['Boolean']['output']; source: Scalars['String']['output']; status: DataSinkAlertExecutionStatus; version: Scalars['Int']['output']; }; export declare enum DataSinkAlertExecutionStatus { Completed = "COMPLETED", Error = "ERROR", NoMatch = "NO_MATCH", Pending = "PENDING", Throttled = "THROTTLED" } /** Input for alert configuration */ export type DataSinkAlertInput = { /** Notification channels */ channels: Array; /** Alert condition (JQ/JSONata expression) */ condition: Scalars['String']['input']; conditionType?: InputMaybe; deliveries?: InputMaybe>; /** Alert enabled status */ enabled?: InputMaybe; /** Alert ID (for updates) */ id?: InputMaybe; /** Alert name */ name: Scalars['String']['input']; /** Recipients (user IDs or role names) */ recipients: Array; /** Alert severity */ severity: AlertSeverity; /** Throttle configuration */ throttle?: InputMaybe; }; /** Whole current payload evaluation. Never dispatches a notification. */ export type DataSinkAlertPreview = { __typename?: 'DataSinkAlertPreview'; durationMs: Scalars['Int']['output']; error?: Maybe; matched: Scalars['Boolean']['output']; result?: Maybe; version: Scalars['Int']['output']; }; /** Data sink connection (pagination) */ export type DataSinkConnection = { __typename?: 'DataSinkConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; /** Data retrieved from DataSink with JQ/JSONata extraction */ export type DataSinkData = { __typename?: 'DataSinkData'; /** Whether data is from Redis cache */ cached: Scalars['Boolean']['output']; /** Extracted data after transformation */ extracted?: Maybe; /** Data freshness timestamp */ fetchedAt: Scalars['DateTime']['output']; /** Whether more elements exist beyond this page (v3.0). */ hasMore?: Maybe; /** * Effective page size applied to this response (v3.0). A server default is applied * when the caller omits `limit`, and requests above the maximum are clamped. */ limit?: Maybe; /** Effective offset applied to this response (v3.0). */ offset?: Maybe; /** Raw data from data sink */ raw: Scalars['JSON']['output']; /** * Total number of elements available (v3.0). Non-null only when the payload (or * the dataPath-extracted result) is an array being paginated; null otherwise. */ totalCount?: Maybe; /** Data version */ version: Scalars['Int']['output']; }; /** Data sink statistics */ export type DataSinkDataStats = { __typename?: 'DataSinkDataStats'; /** Data size in bytes */ dataSizeBytes: Scalars['Int']['output']; /** Data hash for integrity verification (e.g., sha256:abc123...) */ hash: Scalars['String']['output']; }; export type DataSinkEdge = { __typename?: 'DataSinkEdge'; cursor: Scalars['String']['output']; node: DataSink; }; /** Data sink export configuration */ export type DataSinkExport = { __typename?: 'DataSinkExport'; /** Export enabled status */ enabled: Scalars['Boolean']['output']; /** Export format (pdf, csv, xlsx, json) */ format: Scalars['String']['output']; /** Export ID */ id: Scalars['ID']['output']; /** Export name */ name: Scalars['String']['output']; /** Recipients (user IDs or email addresses) */ recipients: Array; /** Schedule configuration */ schedule?: Maybe; /** Template ID for formatted exports */ template?: Maybe; }; /** Input for export configuration */ export type DataSinkExportInput = { /** Export enabled status */ enabled?: InputMaybe; /** Export format (pdf, csv, xlsx, json) */ format: Scalars['String']['input']; /** Export ID (for updates) */ id?: InputMaybe; /** Export name */ name: Scalars['String']['input']; /** Recipients (user IDs or email addresses) */ recipients: Array; /** Schedule configuration */ schedule?: InputMaybe; /** Template ID for formatted exports */ template?: InputMaybe; }; /** Data sink resource quota configuration */ export type DataSinkQuota = { __typename?: 'DataSinkQuota'; /** Alert recipients (user IDs or role names) */ alertRecipients?: Maybe>; /** Alert threshold percentage (0-100) */ alertThreshold: Scalars['Int']['output']; /** Maximum data size in bytes */ maxDataSize: Scalars['Int']['output']; /** Maximum retention period in days */ maxRetentionDays: Scalars['Int']['output']; }; /** Input for quota configuration */ export type DataSinkQuotaInput = { /** Alert recipients (user IDs or role names) */ alertRecipients?: InputMaybe>; /** Alert threshold percentage (0-100) */ alertThreshold: Scalars['Int']['input']; /** Maximum data size in bytes */ maxDataSize: Scalars['Int']['input']; /** Maximum retention period in days */ maxRetentionDays: Scalars['Int']['input']; }; /** Data sink refresh configuration */ export type DataSinkRefreshConfig = { __typename?: 'DataSinkRefreshConfig'; /** Schedule configuration (required for scheduled refresh) */ schedule?: Maybe; /** Refresh type */ type: DataSinkRefreshType; }; /** Input for refresh configuration */ export type DataSinkRefreshConfigInput = { /** Schedule configuration (required for scheduled refresh) */ schedule?: InputMaybe; /** Refresh type */ type: DataSinkRefreshType; }; /** DataSink refresh type enumeration (v1.0) */ export declare enum DataSinkRefreshType { manual = "manual", scheduled = "scheduled" } /** DataSink setup state enumeration (v2.0 - tracks configuration progress) */ export declare enum DataSinkSetupState { /** Fully configured and ready */ completed = "completed", /** Has data, needs TTL/refresh config */ configuration_pending = "configuration_pending", /** Workflow done, needs additional config */ workflow_completed = "workflow_completed", /** Workflow not yet created/linked */ workflow_pending = "workflow_pending", /** FluidGrids workflow is executing */ workflow_running = "workflow_running" } /** DataSink source type enumeration (v2.0 - FluidGrids workflow only) */ export declare enum DataSinkSourceType { manual = "manual", workflow = "workflow" } /** DataSink status enumeration (v2.0 - updated per specs) */ export declare enum DataSinkStatus { error = "error", ready = "ready", refreshing = "refreshing", stale = "stale" } /** Event type for DataSink updates (v2.0) */ export type DataSinkUpdateEvent = { __typename?: 'DataSinkUpdateEvent'; /** Actor who triggered the update */ actorId: Scalars['ID']['output']; /** Updated DataSink */ dataSink: DataSink; /** Timestamp of the event */ timestamp: Scalars['DateTime']['output']; /** Event type */ type: DataSinkUpdateEventType; }; /** DataSink update event types (v2.0) */ export declare enum DataSinkUpdateEventType { Created = "CREATED", Deleted = "DELETED", Refreshed = "REFRESHED", Updated = "UPDATED" } /** Junction table for many-to-many relationship between DataSink and FluidGridsWorkflow */ export type DataSinkWorkflowLink = { __typename?: 'DataSinkWorkflowLink'; createdAt: Scalars['DateTime']['output']; dataMapping?: Maybe; dataSink: DataSink; dataSinkId: Scalars['ID']['output']; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; priority: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workflow: FluidGridsWorkflow; workflowId: Scalars['ID']['output']; }; /** Data source type stub (owned by datasource module) */ export type DataSource = { __typename?: 'DataSource'; id: Scalars['ID']['output']; }; export type DataTable = { __typename?: 'DataTable'; columns: Array; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; rowCount: Scalars['Int']['output']; sizeBytes: Scalars['Int']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type DataTableColumn = { __typename?: 'DataTableColumn'; defaultValue?: Maybe; key: Scalars['String']['output']; label: Scalars['String']['output']; required: Scalars['Boolean']['output']; type: DataTableColumnType; }; export type DataTableColumnInput = { defaultValue?: InputMaybe; key: Scalars['String']['input']; label: Scalars['String']['input']; required?: InputMaybe; type: DataTableColumnType; }; export declare enum DataTableColumnType { Boolean = "BOOLEAN", Date = "DATE", Json = "JSON", Number = "NUMBER", String = "STRING" } export declare enum DataTableFilterOp { Contains = "CONTAINS", Eq = "EQ", Gt = "GT", Gte = "GTE", IsNotNull = "IS_NOT_NULL", IsNull = "IS_NULL", Lt = "LT", Lte = "LTE", Neq = "NEQ" } export type DataTableListResponse = { __typename?: 'DataTableListResponse'; tables: Array; total: Scalars['Int']['output']; }; export type DataTableResponse = MutationResponse & { __typename?: 'DataTableResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; table?: Maybe; }; export type DataTableRow = { __typename?: 'DataTableRow'; createdAt: Scalars['DateTime']['output']; data: Scalars['JSON']['output']; id: Scalars['ID']['output']; tableId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; export type DataTableRowFilterInput = { column: Scalars['String']['input']; op: DataTableFilterOp; /** Omitted/null for IS_NULL / IS_NOT_NULL. */ value?: InputMaybe; }; export type DataTableRowResponse = MutationResponse & { __typename?: 'DataTableRowResponse'; message: Scalars['String']['output']; row?: Maybe; success: Scalars['Boolean']['output']; }; export type DataTableRowsMutationResponse = MutationResponse & { __typename?: 'DataTableRowsMutationResponse'; affected: Scalars['Int']['output']; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type DataTableRowsQueryInput = { filters?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; tableId: Scalars['ID']['input']; }; export type DataTableRowsResponse = { __typename?: 'DataTableRowsResponse'; rows: Array; total: Scalars['Int']['output']; }; /** Standard date range output */ export type DateRange = { __typename?: 'DateRange'; endDate?: Maybe; startDate?: Maybe; }; /** Standard date range input */ export type DateRangeInput = { endDate?: InputMaybe; startDate?: InputMaybe; }; export declare enum DayOfWeek { Friday = "FRIDAY", Monday = "MONDAY", Saturday = "SATURDAY", Sunday = "SUNDAY", Thursday = "THURSDAY", Tuesday = "TUESDAY", Wednesday = "WEDNESDAY" } export type DeadLetterQueue = { __typename?: 'DeadLetterQueue'; context?: Maybe; createdAt: Scalars['DateTime']['output']; executorConfig: Scalars['JSON']['output']; failureReason: Scalars['String']['output']; firstAttemptAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastAttemptAt: Scalars['DateTime']['output']; lastError: Scalars['String']['output']; lastErrorStack?: Maybe; metadata?: Maybe; originalRunId: Scalars['String']['output']; resolution?: Maybe; resolvedAt?: Maybe; resolvedBy?: Maybe; scheduleId: Scalars['String']['output']; scheduleName?: Maybe; status: DlqStatus; totalAttempts: Scalars['Int']['output']; }; export type DeadLetterQueueConnection = { __typename?: 'DeadLetterQueueConnection'; entries: Array; nextCursor?: Maybe; total: Scalars['Int']['output']; }; export type DecideAgronomyDecisionInput = { context: ContextInput; id: Scalars['ID']['input']; /** ACCEPTED | REJECTED. */ verdict: Scalars['String']['input']; }; export type DecideHealthyBowlFarmRecommendationInput = { context: ContextInput; /** ACCEPTED | REJECTED | ESCALATED */ decision: Scalars['String']['input']; id: Scalars['ID']['input']; }; export type DecideMtwFreightInvoiceInput = { comparisonId: Scalars['ID']['input']; decision: MtwFreightInvoiceDecision; /** Required for DISPUTED: the invoice row ids under dispute. */ disputedLineIds?: InputMaybe>; expectedSequence: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; /** Required for DISPUTED and ACCEPTED_WITH_VARIANCE. */ reason?: InputMaybe; shipmentId: Scalars['ID']['input']; }; export type DecideToolApprovalResponse = { __typename?: 'DecideToolApprovalResponse'; error?: Maybe; request?: Maybe; /** The node the run resumed from, when the decision resumed it. */ resumedFromNodeId?: Maybe; success: Scalars['Boolean']['output']; }; /** Returned when explicitly decrypting a secret value. */ export type DecryptedSecret = { __typename?: 'DecryptedSecret'; id: Scalars['ID']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; type: SecretType; value: Scalars['String']['output']; }; export type DelegateA2ATaskInput = { senderAgentId: Scalars['ID']['input']; targetAgentId: Scalars['ID']['input']; task: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Input for deleting a comment */ export type DeleteCommentInput = { id: Scalars['ID']['input']; soft?: InputMaybe; }; export type DeleteConfigResponse = MutationResponse & { __typename?: 'DeleteConfigResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type DeleteConversationPayload = { __typename?: 'DeleteConversationPayload'; conversationId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type DeleteDraftPayload = { __typename?: 'DeleteDraftPayload'; conversationId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type DeleteMessagePayload = { __typename?: 'DeleteMessagePayload'; messageId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type DeleteMyAssistantConversationPayload = { __typename?: 'DeleteMyAssistantConversationPayload'; conversation?: Maybe; outcome: AssistantHistoryDeleteOutcome; }; /** Which runs deleteWorkflowRuns deletes (BOFF-9731). Give exactly one of `ids` or `filter`. */ export type DeleteWorkflowRunsInput = { /** * The runs the workflowRuns list selects for this filter (its `limit` and `offset` are ignored), so * deleting by the list's filter deletes what the list shows. The newest 500 finished runs are * deleted per call; call again while `hasMore` is true. */ filter?: InputMaybe; /** * At most 500 run ids. An id that does not exist, belongs to another workspace or is a private run * of someone else is ignored. */ ids?: InputMaybe>; }; /** What deleteWorkflowRuns did (BOFF-9731). */ export type DeleteWorkflowRunsResult = { __typename?: 'DeleteWorkflowRunsResult'; /** Runs permanently deleted with everything recorded for them. */ deleted: Scalars['Int']['output']; /** With a filter: more finished runs match than this call deleted. Always false for ids. */ hasMore: Scalars['Boolean']['output']; /** Selected runs left in place because they are still pending, running or waiting. */ skippedInFlight: Scalars['Int']['output']; }; export declare enum DeliveryChannelType { Email = "EMAIL", Slack = "SLACK", Storage = "STORAGE", Webhook = "WEBHOOK" } export type DeliveryJobFilterInput = { customerId?: InputMaybe; driverId?: InputMaybe; priority?: InputMaybe; routeId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; storeOrderId?: InputMaybe; unassigned?: InputMaybe; vehicleId?: InputMaybe; }; export declare enum DeliveryJobStatus { Assigned = "ASSIGNED", Cancelled = "CANCELLED", Confirmed = "CONFIRMED", Delivered = "DELIVERED", Failed = "FAILED", InTransit = "IN_TRANSIT", OutForDelivery = "OUT_FOR_DELIVERY", Pending = "PENDING", PickedUp = "PICKED_UP", Returned = "RETURNED" } export declare enum DeliveryPriority { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM", Urgent = "URGENT" } export type DeliveryRoute = { __typename?: 'DeliveryRoute'; dispatchedAt?: Maybe; driverName?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; routeDate: Scalars['String']['output']; startLat?: Maybe; startLng?: Maybe; /** PLANNED | IN_PROGRESS | COMPLETED | CANCELLED */ status: Scalars['String']['output']; stopCount: Scalars['Int']['output']; stops: Array; totalDistanceKm?: Maybe; /** How many. Derived from the list above on every read, so it can never disagree with it. */ unroutableBoxCount: Scalars['Int']['output']; /** * Boxes this plan could NOT place, because neither the member nor the pickup location they are bound * for has coordinates to sequence them by (BOFF-5978). A stand saved without coordinates — which * `HealthyBowlPickupLocation.mapped` reports as false — used to take every box going there off the * route in silence: the farmer saw a plausible route, the driver drove it, and a whole stand's * members got no box and no explanation. Empty on a route that placed everything. */ unroutableCsaDeliveryIds: Array; /** MISSING_COORDINATES — why those boxes were left out. Null when none were. */ unroutableReason?: Maybe; }; export type DeliveryStop = { __typename?: 'DeliveryStop'; address?: Maybe; arrivedAt?: Maybe; /** * Boxes dropped here. One for a home delivery; the whole stand's load for a pickup point, which the * driver parks at ONCE — before BOFF-5978 each collector became its own stop at identical * coordinates, inflating stopCount by the size of the stand's membership. */ boxCount: Scalars['Int']['output']; /** The single box, for a home delivery. Null on a pickup stop, which carries many (BOFF-5978). */ csaDeliveryId?: Maybe; id: Scalars['ID']['output']; label: Scalars['String']['output']; lat: Scalars['Float']['output']; lng: Scalars['Float']['output']; /** The member, for a home delivery. Null on a pickup stop — it serves many members, not one. */ memberName?: Maybe; notes?: Maybe; notificationSentAt?: Maybe; /** Set when this stop is a pickup point rather than a member's door. */ pickupLocationId?: Maybe; sequence: Scalars['Int']['output']; /** PENDING | ARRIVED | DELIVERED | FAILED */ status: Scalars['String']['output']; }; export declare enum DemandForecastScope { Customer = "CUSTOMER", Lane = "LANE" } export type DependencyHealth = { __typename?: 'DependencyHealth'; message: Scalars['String']['output']; status: Scalars['String']['output']; }; export declare enum DependencyStatus { Active = "ACTIVE", Removed = "REMOVED", Resolved = "RESOLVED" } export type DependencyTriggeredUpdate = { __typename?: 'DependencyTriggeredUpdate'; dependencyCount: Scalars['Int']['output']; scheduleId: Scalars['ID']['output']; scheduleName?: Maybe; timestamp: Scalars['DateTime']['output']; triggeredBy: Scalars['ID']['output']; }; /** * How one work item constrains the SCHEDULE of another. * * These four are the standard CPM relationships; `lagMinutes` offsets them. This * enum used to carry issue-link verbs (BLOCKS, DUPLICATES, RELATES_TO, ...) while * the database carried these four — one name, ZERO overlapping values — so every * `planmagnetCreateDependency` passed gateway validation and then failed the * write. The semantic verbs now live on `WorkItemLink.relationType`, which is * where they belong: "A relates to B" says nothing about when either one starts. * * Only these relationships take part in critical-path analysis. */ export declare enum DependencyType { /** The successor finishes after the predecessor finishes. */ FinishToFinish = "FINISH_TO_FINISH", /** The successor starts after the predecessor finishes. The usual case. */ FinishToStart = "FINISH_TO_START", /** The successor finishes after the predecessor starts. Rare. */ StartToFinish = "START_TO_FINISH", /** The successor starts after the predecessor starts. */ StartToStart = "START_TO_START" } export declare enum DeploymentEnvironment { Development = "DEVELOPMENT", Production = "PRODUCTION", Staging = "STAGING" } export declare enum DeploymentStatus { Deployed = "DEPLOYED", Failed = "FAILED", Pending = "PENDING", RolledBack = "ROLLED_BACK" } export type DetachAgentFromVibeInput = { agentId: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; }; /** Detailed node usage statistics */ export type DetailedNodeUsage = { __typename?: 'DetailedNodeUsage'; averageDuration: Scalars['Float']['output']; executionCount: Scalars['Int']['output']; failureCount: Scalars['Int']['output']; lastExecutedAt?: Maybe; maxDuration?: Maybe; medianDuration?: Maybe; minDuration?: Maybe; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; skipCount: Scalars['Int']['output']; successCount: Scalars['Int']['output']; successRate: Scalars['Float']['output']; totalDuration: Scalars['Float']['output']; }; /** Input for detailed node usage queries */ export type DetailedNodeUsageInput = { contextFilter?: InputMaybe; endDate: Scalars['DateTime']['input']; nodeType?: InputMaybe; startDate: Scalars['DateTime']['input']; }; /** The code runs of one workflow that hit a determinism violation in the window. */ export type DeterminismViolationWorkflowStat = { __typename?: 'DeterminismViolationWorkflowStat'; lastViolationAt: Scalars['DateTime']['output']; name?: Maybe; /** Of those runs, the ones still open: their workflow tasks retry until a fixed bundle is deployed. */ openRuns: Scalars['Int']['output']; runs: Scalars['Int']['output']; workflowKey: Scalars['String']['output']; }; /** * Submit a photo for diagnosis. Provide the image via exactly one of `imageBase64` * (preferred — a downscaled data URI/base64), `imageUrl` (a fetchable URL, used by * E2E/external callers), or `photoFileId` (an already-uploaded wspace-files-svc id * the server will fetch). `photoFileId`/`photoFileIds` are also persisted for the * Recent Scans thumbnails. */ export type DiagnosePlantScanInput = { capturedAt?: InputMaybe; context: ContextInput; /** * Optional id of the Crop this scan is about (from the crop picker / `?cropId=` deep * link). Validated against the caller's workspace; a foreign or unknown id is stored as * null rather than rejected, so the scan always saves. `cropName` remains the snapshot. */ cropId?: InputMaybe; cropName?: InputMaybe; fieldId?: InputMaybe; fieldName?: InputMaybe; imageBase64?: InputMaybe; imageUrl?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; /** Farmer's free-text symptom notes, used to steer the model. */ notes?: InputMaybe; photoFileId?: InputMaybe; photoFileIds?: InputMaybe>; }; export type DigitalTwin = { __typename?: 'DigitalTwin'; assetId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; fidelityLevel: Scalars['String']['output']; geometryRef?: Maybe; id: Scalars['ID']['output']; modelRef: Scalars['String']['output']; properties: Scalars['JSONObject']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type DiscoveryJob = { __typename?: 'DiscoveryJob'; assetsDiscovered: Scalars['Int']['output']; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; errorSummary?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; source: Scalars['String']['output']; startedAt?: Maybe; status: DiscoveryJobStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum DiscoveryJobStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING" } /** * A configurable weather early-warning rule. `conditions` define one or more metric/threshold checks * (e.g. temp between 18-24 AND humidity above 90%) combined with `logicalOperator`; * `alertType` categorises it (FROST/STORM/HEAT/DISEASE). */ export type DiseaseWarningRule = { __typename?: 'DiseaseWarningRule'; /** Optional advisory message included in the warning. */ advisoryMessage?: Maybe; /** Alert category: FROST / STORM / HEAT / DISEASE. */ alertType: Scalars['String']['output']; /** Crop names this rule applies to (empty = all). */ appliesToCrops: Array; /** Metric/threshold conditions that make up this rule. */ conditions: Array; /** Evaluate against the next-24h forecast or live current conditions: forecast / live. */ evaluateUsing: Scalars['String']['output']; id: Scalars['ID']['output']; /** Timestamp of the last evaluation (ISO-8601). */ lastEvaluatedAt?: Maybe; /** Outcome of the last evaluation: triggered / clear / error. */ lastOutcome?: Maybe; /** The most recent FluidGrids WorkflowRun id that evaluated this rule. */ lastRunId?: Maybe; /** Timestamp the rule last actually fired a warning (ISO-8601). */ lastTriggeredAt?: Maybe; /** How multiple conditions are combined: AND / OR. */ logicalOperator: Scalars['String']['output']; /** Legacy single-condition metric (kept for backward compatibility). */ metric: Scalars['String']['output']; name: Scalars['String']['output']; /** Send the farmer an in-app notification when the rule fires. */ notifyInApp: Scalars['Boolean']['output']; /** Legacy single-condition operator (kept for backward compatibility). */ operator: Scalars['String']['output']; /** Lifecycle status: active / paused. */ status: Scalars['String']['output']; /** Legacy single-condition threshold (kept for backward compatibility). */ threshold: Scalars['Float']['output']; /** Legacy single-condition unit (kept for backward compatibility). */ unit?: Maybe; /** The FluidGrids workflow key provisioned for this rule, once created. */ workflowKey?: Maybe; }; /** * A single metric + threshold + duration condition within a DiseaseWarningRule. Multiple conditions * are combined by the rule's `logicalOperator` (AND/OR). */ export type DiseaseWarningRuleCondition = { __typename?: 'DiseaseWarningRuleCondition'; consecutiveDays?: Maybe; durationHours?: Maybe; id: Scalars['ID']['output']; metric: Scalars['String']['output']; operator: Scalars['String']['output']; ruleId: Scalars['ID']['output']; sortOrder: Scalars['Int']['output']; threshold: Scalars['Float']['output']; thresholdMax?: Maybe; unit?: Maybe; }; export type DiseaseWarningRuleConditionInput = { consecutiveDays?: InputMaybe; durationHours?: InputMaybe; id?: InputMaybe; metric: Scalars['String']['input']; operator: Scalars['String']['input']; sortOrder?: InputMaybe; threshold: Scalars['Float']['input']; thresholdMax?: InputMaybe; unit?: InputMaybe; }; export type DismissComplianceFlagInput = { context: ContextInput; id: Scalars['ID']['input']; /** Why it does not apply. Required. */ reason: Scalars['String']['input']; }; /** Authorization envelope for the anonymous accounting auto-sync callback. */ export type DispatchHealthyBowlAccountingSyncInput = { /** HMAC-SHA256(INTERNAL_SERVICE_TOKEN, workspaceId) — proves the call came from the sync flow. */ dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Authorization envelope for the anonymous auction-sweep callback. */ export type DispatchHealthyBowlAuctionSweepInput = { /** HMAC-SHA256(INTERNAL_SERVICE_TOKEN, workspaceId) — proves the call came from the sweep flow. */ dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Authorization envelope for the anonymous consultation-reminder sweep callback. */ export type DispatchHealthyBowlConsultReminderSweepInput = { /** Domain-separated HMAC-SHA256(INTERNAL_SERVICE_TOKEN, `consult-reminder:${workspaceId}`). */ dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type DispatchHealthyBowlCsaNotificationInput = { /** CsaDelivery id. */ csaDeliveryId: Scalars['ID']['input']; /** HMAC(INTERNAL_SERVICE_TOKEN, csaDeliveryId) — the FluidGrids flow's callback entry point. */ dispatchSecret: Scalars['String']['input']; }; export type DispatchHealthyBowlDiseaseWarningInput = { /** HMAC(INTERNAL_SERVICE_TOKEN, ruleId) — the FluidGrids flow's callback entry point. */ dispatchSecret: Scalars['String']['input']; /** DiseaseWarningRule id. */ ruleId: Scalars['ID']['input']; }; /** * Authorization envelope for the anonymous daily-cron mandi-ingest callback. The FluidGrids * scheduled-job carries no user token, so it is authorized by an HMAC dispatch secret * (HMAC-SHA256 of workspaceId keyed by INTERNAL_SERVICE_TOKEN) — the same shape as * `DispatchHealthyBowlAuctionSweepInput`. */ export type DispatchHealthyBowlMandiPriceIngestInput = { /** Optional Agmarknet fetch filter (a live fetch is always used on this path — no payload). */ commodity?: InputMaybe; /** HMAC-SHA256(INTERNAL_SERVICE_TOKEN, workspaceId) — proves the call came from the ingest flow. */ dispatchSecret: Scalars['String']['input']; limit?: InputMaybe; state?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** * FluidGrids callback payload. The sensor-ingest webhook flow (one per workspace) normalizes a raw * probe reading, then POSTs THIS to the public HMAC-gated `dispatchHealthyBowlSensorReading`. The * `dispatchSecret` is HMAC-SHA256(INTERNAL_SERVICE_TOKEN, workspaceId) — keyed by workspace (not * probe) because a single per-workspace webhook flow handles every probe and cannot derive a * per-probe secret at run time. It proves the call came from the flow; the workspace + probe are then * resolved server-side and the reading is written through the SAME code path as * `ingestHealthyBowlSensorReading`. */ export type DispatchHealthyBowlSensorReadingInput = { batteryPercent?: InputMaybe; /** HMAC-SHA256(INTERNAL_SERVICE_TOKEN, workspaceId) — proves the call came from the sensor-ingest flow. */ dispatchSecret: Scalars['String']['input']; /** MOISTURE | TEMPERATURE. Optional when moisture/temperature convenience fields are used. */ metric?: InputMaybe; /** Convenience: a soil-moisture percentage; writes a MOISTURE reading. */ moisture?: InputMaybe; /** The registered probe's external code (e.g. HB-SOIL-001). Must map to a probe in the workspace. */ probeCode: Scalars['String']['input']; /** ISO timestamp of the reading. Defaults to server-now when omitted. */ recordedAt?: InputMaybe; /** Convenience: a temperature in °C; writes a TEMPERATURE reading. */ temperature?: InputMaybe; value?: InputMaybe; /** The workspace the probe belongs to (carried in the FluidGrids run context). */ workspaceId: Scalars['ID']['input']; }; export type DispatchHealthyBowlWateringRunInput = { /** IrrigationAutomation id. */ automationId: Scalars['ID']['input']; /** HMAC(INTERNAL_SERVICE_TOKEN, automationId) — the FluidGrids flow's callback entry point. */ dispatchSecret: Scalars['String']['input']; }; export type DisposeAssetInput = { disposalDate?: InputMaybe; method?: InputMaybe; notes?: InputMaybe; }; export type DistributionSummary = { __typename?: 'DistributionSummary'; activeCsaMembers: Scalars['Int']['output']; activeCsaPlans: Scalars['Int']['output']; /** Pickup locations not archived (BOFF-5978). */ activePickupLocations: Scalars['Int']['output']; channels: Array; /** Of `activeCsaMembers`, how many collect rather than have their box driven to them. */ collectingCsaMembers: Scalars['Int']['output']; openWholesaleOrders: Scalars['Int']['output']; routesThisWeek: Scalars['Int']['output']; stopsThisWeek: Scalars['Int']['output']; upcomingDeliveries: Scalars['Int']['output']; weeklyBoxes: Scalars['Int']['output']; wholesaleAccounts: Scalars['Int']['output']; }; export declare enum DocStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type DocsAnalytics = { __typename?: 'DocsAnalytics'; /** Build success rate as a percentage (0-100) */ buildSuccessRate?: Maybe; pagesByStatus: Array; revisionsByStatus: Array; totalBuildImages: Scalars['Int']['output']; totalPages: Scalars['Int']['output']; totalRevisions: Scalars['Int']['output']; totalSites: Scalars['Int']['output']; }; export declare enum DocumentStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Processing = "PROCESSING" } export type DraftMessage = { __typename?: 'DraftMessage'; content: Scalars['JSON']['output']; conversationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; parentMessageId?: Maybe; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; }; /** Whether a version still serves runs (spec code-first 11 §2.27). */ export type DrainageInfo = { __typename?: 'DrainageInfo'; /** When the newest run of this version was created. */ lastRunStartedAt?: Maybe; /** * Open durable-function runs that this version's bundle serves: PINNED ones, and AUTO_UPGRADE ones * that have not moved off it (including those that cannot: the ACTIVE version does not export their * function, or they upgraded through a rollout that was lowered or removed). Every run of the * workspace is counted. */ openRuns: Scalars['Int']['output']; /** The version is the target of a rollout with a positive percent. */ rolloutTarget: Scalars['Boolean']['output']; status: DrainageStatus; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** Whether a version still serves runs (workflowVersionDrainage, spec code-first 11 §2.27). */ export declare enum DrainageStatus { /** The ACTIVE version, or the target of a rollout: it takes new starts. */ Active = "ACTIVE", /** No open PINNED run uses its bundle: a worker serving only its build may retire. */ Drained = "DRAINED", /** Takes no new starts but open PINNED runs still use its bundle. */ Draining = "DRAINING" } export type DriverFilterInput = { licenseClass?: InputMaybe; search?: InputMaybe; status?: InputMaybe; vehicleId?: InputMaybe; }; export declare enum DriverStatus { Available = "AVAILABLE", Inactive = "INACTIVE", OffDuty = "OFF_DUTY", OnBreak = "ON_BREAK", OnDelivery = "ON_DELIVERY" } /** * A plan together with where it stands right now. * * Returned by `dueMaintenancePlans`, which is the answer to the question the farm * could not previously ask: what needs servicing? */ export type DueMaintenancePlan = { __typename?: 'DueMaintenancePlan'; /** The asset's current meter reading. Null on an asset nobody meters. */ currentMeter?: Maybe; /** Whole days until due; negative when overdue. Null for meter-only plans. */ daysUntilDue?: Maybe; /** * TIME | METER — which interval brought it due, or null when it is not yet due. * When both are due this reads TIME, because that is the one a human could have * acted on in advance; both are equally real. */ dueReason?: Maybe; isDue: Scalars['Boolean']['output']; /** True when the due point is already behind us, lead time excluded. */ isOverdue: Scalars['Boolean']['output']; /** What that reading counts in. Null when nobody has said; render bare units. */ meterUnit?: Maybe; /** Usage units until due; negative when the meter is already past it. */ meterUntilDue?: Maybe; /** Null when the plan does not count in time. */ nextDueAt?: Maybe; /** Null when the plan does not count in usage, or the asset carries no meter. */ nextDueMeter?: Maybe; plan: MaintenancePlan; }; export type DuplicateCollectionInput = { collectionId: Scalars['ID']['input']; copyItems?: InputMaybe; copyShares?: InputMaybe; name: Scalars['String']['input']; }; /** Input for duplicating a workflow */ export type DuplicateWorkflowInput = { newVersion?: InputMaybe; newWorkflowKey: Scalars['String']['input']; }; /** Duplicate workflow response */ export type DuplicateWorkflowResponse = { __typename?: 'DuplicateWorkflowResponse'; message?: Maybe; success: Scalars['Boolean']['output']; workflow?: Maybe; }; export declare enum DurableWorkerSandboxBodyEncoding { Base64 = "BASE64", Utf8 = "UTF8" } /** A lease on one durable-worker MicroVM. */ export type DurableWorkerSandboxLease = { __typename?: 'DurableWorkerSandboxLease'; /** True when an idle VM of the pool was taken over instead of a new one started. */ adopted: Scalars['Boolean']['output']; /** Returned only by acquireDurableWorkerSandbox. Every other call needs it. */ callerSecret?: Maybe; /** When the MicroVM itself ends. */ expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; leaseExpiresAt: Scalars['DateTime']['output']; leaseOwner: Scalars['String']['output']; /** `::` */ poolKey: Scalars['String']['output']; purpose: DurableWorkerSandboxPurpose; /** After this the VM is no longer renewed or adopted; acquire another one. */ recycleAt: Scalars['DateTime']['output']; sdkVersion: Scalars['String']['output']; }; export declare enum DurableWorkerSandboxMethod { Get = "GET", Post = "POST", Put = "PUT" } export declare enum DurableWorkerSandboxPurpose { /** Builds Python bundles. */ Build = "BUILD", /** Runs workflow tasks (replay, queries, hotfix verification). */ Task = "TASK" } export type DurableWorkerSandboxResponse = { __typename?: 'DurableWorkerSandboxResponse'; body: Scalars['String']['output']; bodyEncoding: DurableWorkerSandboxBodyEncoding; contentType?: Maybe; status: Scalars['Int']['output']; }; export type EDiscoverySearchInput = { actorId?: InputMaybe; dateFrom?: InputMaybe; dateTo?: InputMaybe; /** Case-insensitive substring match against action or description. */ keyword?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; resourceId?: InputMaybe; resourceType?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** Result of an eDiscovery search over the workspace's ActivityLog stream. */ export type EDiscoverySearchResult = { __typename?: 'EDiscoverySearchResult'; items: Array; totalCount: Scalars['Int']['output']; }; export type EcoAddReportLineItemInput = { carbonEntryId?: InputMaybe; category?: InputMaybe; label: Scalars['String']['input']; reportId: Scalars['ID']['input']; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export type EcoAiActivityLineInput = { activityType: Scalars['String']['input']; /** Pointer to the source document (bill number, receipt id, booking reference). */ reference?: InputMaybe; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; /** Where ecoAiDraftCarbonEntries reads activity data from. */ export declare enum EcoAiActivitySource { /** Activity lines supplied in the request (fuel receipts, bills, flights, supplier lines). */ ActivityLines = "ACTIVITY_LINES", /** The site's measurements in the period, aggregated by parameter and unit. */ Measurements = "MEASUREMENTS" } export declare enum EcoAiAnalysisStatus { InsufficientData = "INSUFFICIENT_DATA", Ok = "OK" } export type EcoAiAuditLog = { __typename?: 'EcoAiAuditLog'; actorId?: Maybe; costCredits?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; injectionDetected: Scalars['Boolean']['output']; inputTokens?: Maybe; messageId: Scalars['ID']['output']; metadata?: Maybe; model?: Maybe; outputTokens?: Maybe; prompt?: Maybe; redacted: Scalars['Boolean']['output']; response?: Maybe; sessionId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoAiAuditLogConnection = { __typename?: 'EcoAiAuditLogConnection'; items: Array; pageInfo: EcoAiPageInfo; }; export type EcoAiCreditUsage = { __typename?: 'EcoAiCreditUsage'; totalCredits: Scalars['Int']['output']; totalTurns: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoAiDetectAnomaliesInput = { /** Caller-supplied correlation id; generated when omitted. */ correlationId?: InputMaybe; parameter: Scalars['String']['input']; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; /** Restrict the series to one sensor. */ sensorId?: InputMaybe; /** Assistant session to attribute the run to; defaults to the correlation id. */ sessionId?: InputMaybe; siteId: Scalars['ID']['input']; }; export type EcoAiDraftBatch = { __typename?: 'EcoAiDraftBatch'; /** Shared AI ledger row recording this run. Every drafted entry references it. */ agentRunId: Scalars['ID']['output']; /** Lines that already had a live draft from an earlier identical run. */ alreadyDrafted: Scalars['Int']['output']; /** Deterministic key of this batch; re-running identical input yields the same key. */ batchKey: Scalars['String']['output']; /** Entries created by this run, all in status DRAFT. */ drafted: Array; engineVersion: Scalars['String']['output']; skipped: Array; source: EcoAiActivitySource; }; export type EcoAiDraftCarbonEntriesInput = { /** Required when source is ACTIVITY_LINES (at most 200). */ lines?: InputMaybe>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; siteId: Scalars['ID']['input']; source: EcoAiActivitySource; }; /** One ranked emission-factor candidate with the reasons behind its score. */ export type EcoAiFactorCandidate = { __typename?: 'EcoAiFactorCandidate'; /** 0..1. Unit compatibility, scope match, name relevance, vintage and region. */ confidence: Scalars['Float']['output']; /** Multiply the activity value by this to express it in the factor's unit. */ conversionMultiplier: Scalars['Float']['output']; factor: EcoEmissionFactor; rank: Scalars['Int']['output']; rationale: Scalars['String']['output']; reasonCodes: Array; }; export type EcoAiFactorSuggestion = { __typename?: 'EcoAiFactorSuggestion'; activityType: Scalars['String']['output']; /** Shared AI ledger row for this run (null if the ledger was unreachable). */ agentRunId?: Maybe; candidates: Array; classification: EcoAiScopeClassification; engineVersion: Scalars['String']['output']; /** True when no factor in the workspace fits well enough; create one instead. */ noSuitableFactor: Scalars['Boolean']['output']; noSuitableFactorReason?: Maybe; normalizedActivityType: Scalars['String']['output']; unit: Scalars['String']['output']; }; export type EcoAiPageInfo = { __typename?: 'EcoAiPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type EcoAiProposeThresholdInput = { correlationId?: InputMaybe; /** Days of history to calibrate from (1-730, default 90). */ lookbackDays?: InputMaybe; parameter: Scalars['String']['input']; sessionId?: InputMaybe; siteId: Scalars['ID']['input']; }; /** A change the AI recommends but never executes; a human applies it with the named mutation. */ export type EcoAiProposedAction = { __typename?: 'EcoAiProposedAction'; kind: EcoAiProposedActionKind; mutation: Scalars['String']['output']; reason: Scalars['String']['output']; sensorId: Scalars['ID']['output']; targetStatus: EcoSensorStatus; }; export declare enum EcoAiProposedActionKind { SetSensorStatus = "SET_SENSOR_STATUS" } /** The GHG Protocol rule that classified an activity. */ export type EcoAiScopeClassification = { __typename?: 'EcoAiScopeClassification'; category?: Maybe; confidence: Scalars['Float']['output']; ghgCategory?: Maybe; matchedTerm?: Maybe; ruleDescription: Scalars['String']['output']; ruleId: Scalars['String']['output']; /** Null when no rule recognised the activity. */ scope?: Maybe; }; /** An activity the engine did not draft, and why. */ export type EcoAiSkippedActivity = { __typename?: 'EcoAiSkippedActivity'; activityType: Scalars['String']['output']; reason: Scalars['String']['output']; /** UNCLASSIFIED_ACTIVITY or NO_SUITABLE_FACTOR. */ reasonCode: Scalars['String']['output']; reference?: Maybe; unit: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type EcoAiSuggestEmissionFactorInput = { /** What the activity is, e.g. "grid electricity", "diesel generator", "business flight". */ activityType: Scalars['String']['input']; /** Number of ranked candidates to return (1-20, default 5). */ maxCandidates?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; siteId?: InputMaybe; unit: Scalars['String']['input']; }; export type EcoAiTriageAlertInput = { correlationId?: InputMaybe; measurementId: Scalars['ID']['input']; sessionId?: InputMaybe; thresholdId: Scalars['ID']['input']; }; export type EcoAlertThreshold = { __typename?: 'EcoAlertThreshold'; createdAt: Scalars['DateTime']['output']; direction: EcoThresholdDirection; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; limitValue?: Maybe; maxValue?: Maybe; minValue?: Maybe; parameter: Scalars['String']['output']; severity: EcoThresholdSeverity; siteId: Scalars['ID']['output']; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoAlertThresholdConnection = { __typename?: 'EcoAlertThresholdConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoAlertTriageClassification { InsufficientData = "INSUFFICIENT_DATA", RealEvent = "REAL_EVENT", SensorFault = "SENSOR_FAULT" } export declare enum EcoAlertTriageRecommendation { CollectMoreData = "COLLECT_MORE_DATA", InspectSensor = "INSPECT_SENSOR", InvestigateEvent = "INVESTIGATE_EVENT" } export type EcoAlertTriageResult = { __typename?: 'EcoAlertTriageResult'; /** Shared AI invocation ledger (wspace-prompts-svc) row id; null when it could not be recorded. */ agentRunId?: Maybe; /** Whether the reading breaches the threshold being triaged. */ breachesThreshold: Scalars['Boolean']['output']; classification: EcoAlertTriageClassification; /** 0 when classification is INSUFFICIENT_DATA. */ confidence: Scalars['Float']['output']; correlationId: Scalars['String']['output']; engine: Scalars['String']['output']; evidenceMeasurementIds: Array; measurementId: Scalars['ID']['output']; measurementSource: EcoMeasurementSource; /** Robust z-score of the reading against recent readings of the same parameter at the site. */ measurementZ?: Maybe; proposedAction?: Maybe; rationale: Array; recommendation: EcoAlertTriageRecommendation; runId: Scalars['ID']['output']; sensorId?: Maybe; sensorStatus?: Maybe; sessionId: Scalars['String']['output']; signals: Array; thresholdId: Scalars['ID']['output']; }; export type EcoAlertTriageSignal = { __typename?: 'EcoAlertTriageSignal'; code: Scalars['String']['output']; detail: Scalars['String']['output']; evidenceMeasurementIds: Array; favours: EcoTriageSignalDirection; weight: Scalars['Int']['output']; }; export type EcoAnomalyCandidate = { __typename?: 'EcoAnomalyCandidate'; /** Every reading supporting the anomaly. Never empty. */ evidenceMeasurementIds: Array; kind: EcoAnomalyKind; /** The reading the anomaly is about. */ measurementId: Scalars['ID']['output']; recordedAt: Scalars['DateTime']['output']; /** Modified z-score for SPIKE/DROP; run length for FLATLINE. */ score: Scalars['Float']['output']; sensorId?: Maybe; value: Scalars['Float']['output']; }; export type EcoAnomalyDetectionResult = { __typename?: 'EcoAnomalyDetectionResult'; /** Shared AI invocation ledger (wspace-prompts-svc) row id; null when it could not be recorded. */ agentRunId?: Maybe; anomalies: Array; baseline?: Maybe; correlationId: Scalars['String']['output']; engine: Scalars['String']['output']; notes: Array; parameter: Scalars['String']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; readingsAnalysed: Scalars['Int']['output']; /** AI audit ledger run id (the ecoAiAuditLogs row's messageId). */ runId: Scalars['ID']['output']; sessionId: Scalars['String']['output']; siteId: Scalars['ID']['output']; status: EcoAiAnalysisStatus; truncated: Scalars['Boolean']['output']; unit?: Maybe; }; export declare enum EcoAnomalyKind { /** A reading far below the robust baseline. */ Drop = "DROP", /** A run of identical readings from one sensor inside a varying series (stuck probe). */ Flatline = "FLATLINE", /** A reading far above the robust baseline. */ Spike = "SPIKE" } export type EcoAudit = { __typename?: 'EcoAudit'; auditorName?: Maybe; completedAt?: Maybe; correctiveActions: Array; createdAt: Scalars['DateTime']['output']; findingsSummary?: Maybe; id: Scalars['ID']['output']; scheduledAt: Scalars['DateTime']['output']; scope?: Maybe; score?: Maybe; site?: Maybe; siteId?: Maybe; status: EcoAuditStatus; title: Scalars['String']['output']; type: EcoAuditType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoAuditConnection = { __typename?: 'EcoAuditConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoAuditStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Scheduled = "SCHEDULED" } export declare enum EcoAuditType { External = "EXTERNAL", FollowUp = "FOLLOW_UP", Internal = "INTERNAL", Regulatory = "REGULATORY" } export type EcoCarbonCredit = { __typename?: 'EcoCarbonCredit'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; ownerAccount: Scalars['String']['output']; quantityTco2e: Scalars['Float']['output']; remainingTco2e: Scalars['Float']['output']; retirements: Array; serialNumber: Scalars['String']['output']; status: EcoCarbonCreditStatus; transfers: Array; updatedAt: Scalars['DateTime']['output']; vintage?: Maybe; vintageId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCarbonCreditConnection = { __typename?: 'EcoCarbonCreditConnection'; items: Array; pageInfo: EcoCreditsPageInfo; }; export declare enum EcoCarbonCreditStatus { Cancelled = "CANCELLED", Issued = "ISSUED", PartiallyRetired = "PARTIALLY_RETIRED", Retired = "RETIRED" } export type EcoCarbonEntry = { __typename?: 'EcoCarbonEntry'; activityUnit: Scalars['String']['output']; activityValue: Scalars['Float']['output']; /** * Shared AI ledger (wspace-prompts-svc PromptInvocation) id of the decision * engine run that drafted this entry. Null for hand-recorded entries. */ agentRunId?: Maybe; /** * Structured AI decision provenance: the GHG rule that fired, the chosen factor * and its alternatives with confidences, source rows, engine version and the * human review outcome. */ aiProvenance?: Maybe; /** Why the AI chose this emission factor and GHG scope, in plain words. */ aiRationale?: Maybe; category: Scalars['String']['output']; co2eKg: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; factor?: Maybe; factorId?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; periodStart: Scalars['DateTime']['output']; scope: EcoEmissionScope; siteId?: Maybe; status: EcoCarbonEntryStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCarbonEntryConnection = { __typename?: 'EcoCarbonEntryConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export declare enum EcoCarbonEntryStatus { Adjusted = "ADJUSTED", Draft = "DRAFT", Recorded = "RECORDED", Verified = "VERIFIED" } export type EcoComplianceObligation = { __typename?: 'EcoComplianceObligation'; authority?: Maybe; createdAt: Scalars['DateTime']['output']; deadlines: Array; description?: Maybe; dueAt?: Maybe; framework?: Maybe; fulfilledAt?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; permits: Array; recurrence: EcoObligationRecurrence; siteId?: Maybe; status: EcoObligationStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoComplianceObligationConnection = { __typename?: 'EcoComplianceObligationConnection'; items: Array; pageInfo: EcoPageInfo; }; export type EcoConservationPageInfo = { __typename?: 'EcoConservationPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export declare enum EcoConservationStatus { CriticallyEndangered = "CRITICALLY_ENDANGERED", DataDeficient = "DATA_DEFICIENT", Endangered = "ENDANGERED", ExtinctInWild = "EXTINCT_IN_WILD", LeastConcern = "LEAST_CONCERN", NearThreatened = "NEAR_THREATENED", NotEvaluated = "NOT_EVALUATED", Vulnerable = "VULNERABLE" } export type EcoCorrectiveAction = { __typename?: 'EcoCorrectiveAction'; assignedTo?: Maybe; audit?: Maybe; auditId?: Maybe; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; dueDate?: Maybe; id: Scalars['ID']['output']; incident?: Maybe; incidentId?: Maybe; risk?: Maybe; riskId?: Maybe; site?: Maybe; siteId?: Maybe; status: EcoCorrectiveActionStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verificationNotes?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EcoCorrectiveActionConnection = { __typename?: 'EcoCorrectiveActionConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoCorrectiveActionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Open = "OPEN", Verified = "VERIFIED" } export type EcoCreateAuditInput = { auditorName?: InputMaybe; scheduledAt: Scalars['DateTime']['input']; scope?: InputMaybe; siteId?: InputMaybe; title: Scalars['String']['input']; type?: InputMaybe; }; export type EcoCreateCorrectiveActionInput = { assignedTo?: InputMaybe; auditId?: InputMaybe; description?: InputMaybe; dueDate?: InputMaybe; incidentId?: InputMaybe; riskId?: InputMaybe; siteId?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateCreditMethodologyInput = { code: Scalars['String']['input']; description?: InputMaybe; effectiveDate?: InputMaybe; name: Scalars['String']['input']; standardBody: Scalars['String']['input']; version: Scalars['Int']['input']; }; export type EcoCreateCreditVintageInput = { estimatedTco2e: Scalars['Float']['input']; methodologyId: Scalars['ID']['input']; projectId?: InputMaybe; vintageYear: Scalars['Int']['input']; }; export type EcoCreateDataSourceInput = { config?: InputMaybe; isActive?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; type: EcoDataSourceType; }; export type EcoCreateDeadlineInput = { dueAt: Scalars['DateTime']['input']; notes?: InputMaybe; obligationId?: InputMaybe; remindAt?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateEhsPermitInput = { conditions?: InputMaybe; expiresAt?: InputMaybe; issuedAt?: InputMaybe; issuingAuthority?: InputMaybe; permitNumber: Scalars['String']['input']; siteId: Scalars['ID']['input']; type?: InputMaybe; }; export type EcoCreateEmissionFactorInput = { activityUnit: Scalars['String']['input']; factorKgco2e: Scalars['Float']['input']; name: Scalars['String']['input']; scope?: InputMaybe; source?: InputMaybe; validYear?: InputMaybe; }; export type EcoCreateEnergyAssetInput = { capacityKw?: InputMaybe; commissionedAt?: InputMaybe; kind: EcoEnergyAssetKind; name: Scalars['String']['input']; notes?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; }; export type EcoCreateGrantFunderInput = { contactEmail?: InputMaybe; contactName?: InputMaybe; name: Scalars['String']['input']; notes?: InputMaybe; website?: InputMaybe; }; export type EcoCreateGrantInput = { amount?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; funderId: Scalars['ID']['input']; projectId?: InputMaybe; referenceCode?: InputMaybe; startDate?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateGrantMilestoneInput = { amount?: InputMaybe; description?: InputMaybe; dueDate?: InputMaybe; grantId: Scalars['ID']['input']; reportId?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateHabitatProjectInput = { budgetAmount?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; managerId?: InputMaybe; name: Scalars['String']['input']; siteId?: InputMaybe; startDate?: InputMaybe; targetHectares?: InputMaybe; }; export type EcoCreateIncidentInput = { description: Scalars['String']['input']; observationId?: InputMaybe; occurredAt: Scalars['DateTime']['input']; severity: EcoIncidentSeverity; siteId?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateMaterialLoopInput = { description?: InputMaybe; material: Scalars['String']['input']; name: Scalars['String']['input']; targetCircularityPct?: InputMaybe; unit: Scalars['String']['input']; }; /** Strict canonical metric creation. Source identity and period are immutable after creation. */ export type EcoCreateMetricInput = { category: Scalars['String']['input']; metricKey: Scalars['String']['input']; metricName: Scalars['String']['input']; notes?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; sourceProduct?: InputMaybe; sourceRefId?: InputMaybe; target?: InputMaybe; trend?: InputMaybe; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export type EcoCreateObligationInput = { authority?: InputMaybe; description?: InputMaybe; dueAt?: InputMaybe; framework?: InputMaybe; notes?: InputMaybe; recurrence?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreatePermitInput = { expiresAt?: InputMaybe; issuingAuthority?: InputMaybe; notes?: InputMaybe; obligationId?: InputMaybe; permitNumber?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateReductionTargetInput = { baselineValue: Scalars['Float']['input']; baselineYear: Scalars['Int']['input']; description?: InputMaybe; metric: Scalars['String']['input']; name: Scalars['String']['input']; targetValue: Scalars['Float']['input']; targetYear: Scalars['Int']['input']; unit: Scalars['String']['input']; }; export type EcoCreateReportInput = { framework?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; summary?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateRiskInput = { category?: InputMaybe; code?: InputMaybe; controlMeasures?: InputMaybe; likelihood?: InputMaybe; ownerId?: InputMaybe; reviewDueAt?: InputMaybe; severity?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; title: Scalars['String']['input']; }; export type EcoCreateSensorInput = { hardwareId?: InputMaybe; installedAt?: InputMaybe; kind?: InputMaybe; name: Scalars['String']['input']; siteId: Scalars['ID']['input']; status?: InputMaybe; unit?: InputMaybe; }; export type EcoCreateSiteInput = { areaHectares?: InputMaybe; code?: InputMaybe; country?: InputMaybe; description?: InputMaybe; isPriority?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; name: Scalars['String']['input']; region?: InputMaybe; status?: InputMaybe; type?: InputMaybe; }; export type EcoCreateSpeciesInput = { commonName: Scalars['String']['input']; conservationStatus?: InputMaybe; description?: InputMaybe; isPriority?: InputMaybe; scientificName?: InputMaybe; taxonGroup?: InputMaybe; }; export type EcoCreateThresholdInput = { direction?: InputMaybe; limitValue?: InputMaybe; maxValue?: InputMaybe; minValue?: InputMaybe; parameter: Scalars['String']['input']; severity?: InputMaybe; siteId: Scalars['ID']['input']; unit: Scalars['String']['input']; }; export type EcoCreateWasteStreamInput = { category?: InputMaybe; description?: InputMaybe; name: Scalars['String']['input']; siteId?: InputMaybe; unit: Scalars['String']['input']; }; /** * Server-side committed creation provenance. Contains no resource body or coordinates. * An absent receipt is not evidence that an in-flight request cannot still commit. */ export type EcoCreationOutcome = { __typename?: 'EcoCreationOutcome'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; entityId: Scalars['ID']['output']; key: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; operation: Scalars['String']['output']; payloadHash: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCreditMethodology = { __typename?: 'EcoCreditMethodology'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; effectiveDate?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; standardBody: Scalars['String']['output']; status: EcoCreditMethodologyStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCreditMethodologyConnection = { __typename?: 'EcoCreditMethodologyConnection'; items: Array; pageInfo: EcoCreditsPageInfo; }; export declare enum EcoCreditMethodologyStatus { Active = "ACTIVE", Draft = "DRAFT", Retired = "RETIRED" } /** Workspace-wide credit portfolio rollup for the registry dashboard. */ export type EcoCreditPortfolioSummary = { __typename?: 'EcoCreditPortfolioSummary'; activeMethodologies: Scalars['Int']['output']; creditCount: Scalars['Int']['output']; openVintages: Scalars['Int']['output']; retiredCreditCount: Scalars['Int']['output']; totalIssuedTco2e: Scalars['Float']['output']; totalRemainingTco2e: Scalars['Float']['output']; totalRetiredTco2e: Scalars['Float']['output']; }; export type EcoCreditRetirement = { __typename?: 'EcoCreditRetirement'; beneficiaryName?: Maybe; createdAt: Scalars['DateTime']['output']; credit?: Maybe; creditId: Scalars['ID']['output']; id: Scalars['ID']['output']; quantityTco2e: Scalars['Float']['output']; reason: Scalars['String']['output']; retiredAt: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCreditRetirementConnection = { __typename?: 'EcoCreditRetirementConnection'; items: Array; pageInfo: EcoCreditsPageInfo; }; export type EcoCreditTransfer = { __typename?: 'EcoCreditTransfer'; createdAt: Scalars['DateTime']['output']; credit?: Maybe; creditId: Scalars['ID']['output']; fromAccount: Scalars['String']['output']; id: Scalars['ID']['output']; quantityTco2e: Scalars['Float']['output']; toAccount: Scalars['String']['output']; transferredAt: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCreditVintage = { __typename?: 'EcoCreditVintage'; createdAt: Scalars['DateTime']['output']; credits: Array; estimatedTco2e: Scalars['Float']['output']; id: Scalars['ID']['output']; issuanceDate?: Maybe; issuedTco2e: Scalars['Float']['output']; methodology?: Maybe; methodologyId: Scalars['ID']['output']; projectId?: Maybe; retiredTco2e: Scalars['Float']['output']; status: EcoCreditVintageStatus; updatedAt: Scalars['DateTime']['output']; vintageYear: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoCreditVintageConnection = { __typename?: 'EcoCreditVintageConnection'; items: Array; pageInfo: EcoCreditsPageInfo; }; export declare enum EcoCreditVintageStatus { Closed = "CLOSED", FullyIssued = "FULLY_ISSUED", Open = "OPEN", PartiallyIssued = "PARTIALLY_ISSUED" } export type EcoCreditsPageInfo = { __typename?: 'EcoCreditsPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type EcoDataSource = { __typename?: 'EcoDataSource'; config?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; notes?: Maybe; type: EcoDataSourceType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoDataSourceConnection = { __typename?: 'EcoDataSourceConnection'; items: Array; pageInfo: EcoIngestionPageInfo; }; export declare enum EcoDataSourceType { EmissionFactorLibrary = "EMISSION_FACTOR_LIBRARY", Gbif = "GBIF", Openaq = "OPENAQ", Openweathermap = "OPENWEATHERMAP" } export type EcoDeadline = { __typename?: 'EcoDeadline'; canceledAt?: Maybe; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; dueAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe; obligation?: Maybe; obligationId?: Maybe; remindAt?: Maybe; remindedAt?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoDeadlineConnection = { __typename?: 'EcoDeadlineConnection'; items: Array; pageInfo: EcoPageInfo; }; export type EcoDeadlineReminderDispatchResult = { __typename?: 'EcoDeadlineReminderDispatchResult'; failed: Scalars['Int']['output']; reminded: Scalars['Int']['output']; scanned: Scalars['Int']['output']; }; export type EcoDonorPortalFunder = { __typename?: 'EcoDonorPortalFunder'; name: Scalars['String']['output']; website?: Maybe; }; export type EcoDonorPortalGrant = { __typename?: 'EcoDonorPortalGrant'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; description?: Maybe; endDate?: Maybe; funder: EcoDonorPortalFunder; milestones: Array; project?: Maybe; referenceCode?: Maybe; /** Published impact reports linked as milestone evidence, deduplicated. */ reports: Array; startDate?: Maybe; status: EcoGrantStatus; title: Scalars['String']['output']; }; /** * Result of enabling a donor portal link. `token` and `portalUrl` are returned * ONCE — only a digest of the secret is stored, so they cannot be read back later. */ export type EcoDonorPortalLinkResult = { __typename?: 'EcoDonorPortalLinkResult'; grant: EcoGrant; portalUrl: Scalars['String']['output']; token: Scalars['String']['output']; }; export type EcoDonorPortalMilestone = { __typename?: 'EcoDonorPortalMilestone'; achievedAt?: Maybe; amount?: Maybe; description?: Maybe; dueDate?: Maybe; status: EcoGrantMilestoneStatus; title: Scalars['String']['output']; }; export type EcoDonorPortalProject = { __typename?: 'EcoDonorPortalProject'; budgetAmount: Scalars['Float']['output']; currency: Scalars['String']['output']; name: Scalars['String']['output']; status: EcoHabitatProjectStatus; targetHectares?: Maybe; }; export type EcoDonorPortalReport = { __typename?: 'EcoDonorPortalReport'; id: Scalars['ID']['output']; publishedAt: Scalars['DateTime']['output']; summary?: Maybe; title: Scalars['String']['output']; }; export type EcoDonorPortalView = { __typename?: 'EcoDonorPortalView'; grant: EcoDonorPortalGrant; }; export type EcoEhsPermit = { __typename?: 'EcoEhsPermit'; conditions?: Maybe; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; issuedAt?: Maybe; issuingAuthority?: Maybe; permitNumber: Scalars['String']['output']; site?: Maybe; siteId: Scalars['ID']['output']; status: EcoEhsPermitStatus; type: EcoEhsPermitType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoEhsPermitConnection = { __typename?: 'EcoEhsPermitConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoEhsPermitStatus { Active = "ACTIVE", Expired = "EXPIRED", Pending = "PENDING", RenewalDue = "RENEWAL_DUE", Revoked = "REVOKED", Suspended = "SUSPENDED" } export declare enum EcoEhsPermitType { Air = "AIR", Construction = "CONSTRUCTION", HazardousMaterial = "HAZARDOUS_MATERIAL", LandUse = "LAND_USE", Noise = "NOISE", Operating = "OPERATING", Other = "OTHER", Waste = "WASTE", Water = "WATER" } export type EcoEmissionFactor = { __typename?: 'EcoEmissionFactor'; activityUnit: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; factorKgco2e: Scalars['Float']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; scope: EcoEmissionScope; source?: Maybe; updatedAt: Scalars['DateTime']['output']; validYear?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EcoEmissionFactorConnection = { __typename?: 'EcoEmissionFactorConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export declare enum EcoEmissionScope { Scope_1 = "SCOPE_1", Scope_2 = "SCOPE_2", Scope_3 = "SCOPE_3" } export type EcoEnergyAsset = { __typename?: 'EcoEnergyAsset'; capacityKw?: Maybe; commissionedAt?: Maybe; createdAt: Scalars['DateTime']['output']; decommissionedAt?: Maybe; id: Scalars['ID']['output']; kind: EcoEnergyAssetKind; name: Scalars['String']['output']; notes?: Maybe; siteId?: Maybe; status: EcoEnergyAssetStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoEnergyAssetConnection = { __typename?: 'EcoEnergyAssetConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * The technology behind an energy asset. GRID marks the grid import / * consumption point; readings on a GRID asset are grid consumption, readings * on any other kind are on-site generation. */ export declare enum EcoEnergyAssetKind { Biomass = "BIOMASS", Geothermal = "GEOTHERMAL", Grid = "GRID", Hydro = "HYDRO", Solar = "SOLAR", Wind = "WIND" } export declare enum EcoEnergyAssetStatus { Active = "ACTIVE", Maintenance = "MAINTENANCE", Planned = "PLANNED", Retired = "RETIRED" } export type EcoEnergyGridBaseline = { __typename?: 'EcoEnergyGridBaseline'; createdAt: Scalars['DateTime']['output']; factorKgco2ePerKwh: Scalars['Float']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; notes?: Maybe; region?: Maybe; source?: Maybe; updatedAt: Scalars['DateTime']['output']; validFrom: Scalars['DateTime']['output']; validTo?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EcoEnergyGridBaselineConnection = { __typename?: 'EcoEnergyGridBaselineConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * One bucket of the energy mix: grid consumption, renewable on-site * generation, or other on-site generation. */ export type EcoEnergyMixBucket = { __typename?: 'EcoEnergyMixBucket'; energyKwh: Scalars['Float']['output']; key: EcoEnergyMixBucketKey; label: Scalars['String']['output']; sharePct: Scalars['Float']['output']; }; /** Energy-mix bucket keys for the dashboard aggregation. */ export declare enum EcoEnergyMixBucketKey { /** Electricity imported from the grid (readings on GRID assets). */ Grid = "GRID", /** * On-site generation from non-renewable assets (BIOMASS and any future * non-renewable generation kinds). */ OtherGeneration = "OTHER_GENERATION", /** On-site generation from renewable assets (SOLAR, WIND, HYDRO, GEOTHERMAL). */ Renewable = "RENEWABLE" } /** * The energy mix for a period: grid vs on-site generation, the renewable * share, and the avoided emissions renewable generation displaced, measured * against the workspace's active grid baseline. */ export type EcoEnergyMixDashboard = { __typename?: 'EcoEnergyMixDashboard'; /** * CO2e (kg) avoided by generating renewable electricity instead of drawing * it from the grid: renewableGenerationKwh * grid baseline factor. Null when * no grid baseline covers the period. */ avoidedCo2eKg?: Maybe; /** * The grid baseline factor used for the avoided-emissions calculation * (kgCO2e per kWh). Null when no baseline covers the period. */ baselineFactorKgco2ePerKwh?: Maybe; buckets: Array; /** Electricity imported from the grid, in kWh. */ gridConsumptionKwh: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** On-site renewable generation, in kWh. */ renewableGenerationKwh: Scalars['Float']['output']; /** * Renewable generation as a share of all energy in the period * (generation + grid import). 0 when there is no energy at all. */ renewableSharePct: Scalars['Float']['output']; /** Total on-site generation across all generation assets, in kWh. */ totalGenerationKwh: Scalars['Float']['output']; }; export type EcoEnergyReading = { __typename?: 'EcoEnergyReading'; asset?: Maybe; assetId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; energyKwh: Scalars['Float']['output']; externalRef?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; recordedAt: Scalars['DateTime']['output']; source: EcoEnergyReadingSource; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoEnergyReadingConnection = { __typename?: 'EcoEnergyReadingConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * Batch-import result: what was imported, what was skipped because its * externalRef already exists, and what failed validation. */ export type EcoEnergyReadingImportResult = { __typename?: 'EcoEnergyReadingImportResult'; assetId: Scalars['ID']['output']; imported: Array; /** * Line indexes (0-based, into the input lines array) rejected for invalid * data, e.g. a non-positive energyKwh or an unparseable recordedAt. */ rejected: Array; skippedDuplicates: Scalars['Int']['output']; }; /** * How an energy reading entered the system. METER_API and IMPORT share the * externalRef idempotency path; MANUAL readings have no external reference. */ export declare enum EcoEnergyReadingSource { Import = "IMPORT", Manual = "MANUAL", MeterApi = "METER_API" } export type EcoGrant = { __typename?: 'EcoGrant'; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; endDate?: Maybe; funder?: Maybe; funderId: Scalars['ID']['output']; id: Scalars['ID']['output']; milestones: Array; portalAccessCount: Scalars['Int']['output']; /** * True while a donor portal share link exists and has not been revoked. * The link secret itself is never stored or returned again. */ portalEnabled: Scalars['Boolean']['output']; portalEnabledAt?: Maybe; portalLastAccessedAt?: Maybe; project?: Maybe; projectId?: Maybe; referenceCode?: Maybe; startDate?: Maybe; status: EcoGrantStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoGrantConnection = { __typename?: 'EcoGrantConnection'; items: Array; pageInfo: EcoGrantsPageInfo; }; export type EcoGrantFunder = { __typename?: 'EcoGrantFunder'; contactEmail?: Maybe; contactName?: Maybe; createdAt: Scalars['DateTime']['output']; grants: Array; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe; updatedAt: Scalars['DateTime']['output']; website?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EcoGrantFunderConnection = { __typename?: 'EcoGrantFunderConnection'; items: Array; pageInfo: EcoGrantsPageInfo; }; export type EcoGrantMilestone = { __typename?: 'EcoGrantMilestone'; achievedAt?: Maybe; /** Portion of the grant amount tied to this milestone (same currency as the grant). */ amount?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; dueDate?: Maybe; grant?: Maybe; grantId: Scalars['ID']['output']; id: Scalars['ID']['output']; report?: Maybe; /** Published impact report evidencing this milestone (optional). */ reportId?: Maybe; status: EcoGrantMilestoneStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoGrantMilestoneConnection = { __typename?: 'EcoGrantMilestoneConnection'; items: Array; pageInfo: EcoGrantsPageInfo; }; export declare enum EcoGrantMilestoneStatus { Achieved = "ACHIEVED", Missed = "MISSED", Pending = "PENDING", Waived = "WAIVED" } export declare enum EcoGrantStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT" } export type EcoGrantsPageInfo = { __typename?: 'EcoGrantsPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type EcoHabitatProject = { __typename?: 'EcoHabitatProject'; activities: Array; budgetAmount: Scalars['Float']['output']; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; endDate?: Maybe; id: Scalars['ID']['output']; managerId?: Maybe; name: Scalars['String']['output']; siteId?: Maybe; startDate?: Maybe; status: EcoHabitatProjectStatus; targetHectares?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoHabitatProjectConnection = { __typename?: 'EcoHabitatProjectConnection'; items: Array; pageInfo: EcoConservationPageInfo; }; export declare enum EcoHabitatProjectStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Monitoring = "MONITORING", OnHold = "ON_HOLD", Planned = "PLANNED" } export type EcoImportEnergyReadingLineInput = { energyKwh: Scalars['Float']['input']; externalRef: Scalars['String']['input']; notes?: InputMaybe; recordedAt: Scalars['DateTime']['input']; }; export type EcoImportEnergyReadingsInput = { assetId: Scalars['ID']['input']; lines: Array; /** Where the lines come from (METER_API or IMPORT). */ source: EcoEnergyReadingSource; }; export type EcoIncident = { __typename?: 'EcoIncident'; correctiveActions: Array; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; injuredCount: Scalars['Int']['output']; observation?: Maybe; observationId?: Maybe; occurredAt: Scalars['DateTime']['output']; rootCause?: Maybe; severity: EcoIncidentSeverity; site?: Maybe; siteId?: Maybe; status: EcoIncidentStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoIncidentConnection = { __typename?: 'EcoIncidentConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoIncidentSeverity { Catastrophic = "CATASTROPHIC", Major = "MAJOR", Minor = "MINOR", Moderate = "MODERATE", NearMiss = "NEAR_MISS" } export declare enum EcoIncidentStatus { ActionRequired = "ACTION_REQUIRED", Closed = "CLOSED", Reported = "REPORTED", UnderInvestigation = "UNDER_INVESTIGATION" } export type EcoIngestionJob = { __typename?: 'EcoIngestionJob'; action: Scalars['String']['output']; completedAt?: Maybe; config?: Maybe; createdAt: Scalars['DateTime']['output']; errorCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lastError?: Maybe; processedCount: Scalars['Int']['output']; source?: Maybe; sourceId: Scalars['ID']['output']; stagedCount: Scalars['Int']['output']; startedAt?: Maybe; status: EcoIngestionJobStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoIngestionJobConnection = { __typename?: 'EcoIngestionJobConnection'; items: Array; pageInfo: EcoIngestionPageInfo; }; export declare enum EcoIngestionJobStatus { Completed = "COMPLETED", Failed = "FAILED", Partial = "PARTIAL", Pending = "PENDING", Running = "RUNNING" } export type EcoIngestionPageInfo = { __typename?: 'EcoIngestionPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type EcoIngestionRecord = { __typename?: 'EcoIngestionRecord'; createdAt: Scalars['DateTime']['output']; entityId?: Maybe; entityType?: Maybe; errorMessage?: Maybe; externalId?: Maybe; id: Scalars['ID']['output']; jobId: Scalars['ID']['output']; normalizedValue?: Maybe; rawPayload: Scalars['JSON']['output']; recordType: EcoIngestionRecordType; recordedAt?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoIngestionRecordConnection = { __typename?: 'EcoIngestionRecordConnection'; items: Array; pageInfo: EcoIngestionPageInfo; }; export declare enum EcoIngestionRecordType { Alert = "ALERT", EmissionFactor = "EMISSION_FACTOR", Measurement = "MEASUREMENT", Metric = "METRIC", Species = "SPECIES", Unknown = "UNKNOWN" } export type EcoIssueCarbonCreditsInput = { count?: InputMaybe; ownerAccount?: InputMaybe; quantityTco2e: Scalars['Float']['input']; vintageId: Scalars['ID']['input']; }; export type EcoLogAiPromptInput = { messageId: Scalars['ID']['input']; metadata?: InputMaybe; model?: InputMaybe; prompt: Scalars['String']['input']; sessionId: Scalars['ID']['input']; }; export type EcoLogAiResponseInput = { inputTokens?: InputMaybe; messageId: Scalars['ID']['input']; metadata?: InputMaybe; model?: InputMaybe; outputTokens?: InputMaybe; response: Scalars['String']['input']; sessionId: Scalars['ID']['input']; }; export type EcoLogRestorationActivityInput = { details?: InputMaybe; performedAt: Scalars['DateTime']['input']; projectId: Scalars['ID']['input']; quantity?: InputMaybe; summary: Scalars['String']['input']; type?: InputMaybe; unit?: InputMaybe; }; export type EcoMaterialLoop = { __typename?: 'EcoMaterialLoop'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; material: Scalars['String']['output']; name: Scalars['String']['output']; /** * Optional circularity ambition (0-100): the share of input the workspace * aims to close the loop on, tracked on the loop summary. */ targetCircularityPct?: Maybe; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoMaterialLoopConnection = { __typename?: 'EcoMaterialLoopConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export type EcoMaterialLoopFlow = { __typename?: 'EcoMaterialLoopFlow'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; loop?: Maybe; loopId: Scalars['ID']['output']; notes?: Maybe; periodStart: Scalars['DateTime']['output']; quantity: Scalars['Float']['output']; stage: EcoMaterialLoopStage; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoMaterialLoopFlowConnection = { __typename?: 'EcoMaterialLoopFlowConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * Stage of a material loop a flow quantity passed through: the circular chain * input -> use -> recovery -> reuse. */ export declare enum EcoMaterialLoopStage { Input = "INPUT", Recovery = "RECOVERY", Reuse = "REUSE", Use = "USE" } /** * Aggregated flow quantities per loop stage, with the circularity rate * (reuse / input; 0 when no input was recorded). */ export type EcoMaterialLoopSummary = { __typename?: 'EcoMaterialLoopSummary'; circularityRate: Scalars['Float']['output']; inputQuantity: Scalars['Float']['output']; loopId: Scalars['ID']['output']; recoveryQuantity: Scalars['Float']['output']; reuseQuantity: Scalars['Float']['output']; targetCircularityPct?: Maybe; useQuantity: Scalars['Float']['output']; }; export type EcoMeasurement = { __typename?: 'EcoMeasurement'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isBreach: Scalars['Boolean']['output']; notes?: Maybe; parameter: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; sensorId?: Maybe; siteId: Scalars['ID']['output']; source: EcoMeasurementSource; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoMeasurementConnection = { __typename?: 'EcoMeasurementConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoMeasurementSource { Calculated = "CALCULATED", Import = "IMPORT", Manual = "MANUAL", Satellite = "SATELLITE", Sensor = "SENSOR" } export type EcoMetric = { __typename?: 'EcoMetric'; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metricKey: Scalars['String']['output']; metricName: Scalars['String']['output']; notes?: Maybe; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; sourceProduct?: Maybe; sourceRefId?: Maybe; target?: Maybe; trend?: Maybe; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoMetricConnection = { __typename?: 'EcoMetricConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * Cross-product rollup of the metrics library: one row per * metricKey/category/unit/period, aggregating every source product that * contributed a value for that canonical identity in the period. */ export type EcoMetricRollup = { __typename?: 'EcoMetricRollup'; category: Scalars['String']['output']; entryCount: Scalars['Int']['output']; metricKey: Scalars['String']['output']; metricName: Scalars['String']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; sourceCount: Scalars['Int']['output']; sourceProducts: Array; target?: Maybe; totalValue: Scalars['Float']['output']; trend?: Maybe; unit: Scalars['String']['output']; }; export declare enum EcoObligationRecurrence { Annual = "ANNUAL", Monthly = "MONTHLY", OneOff = "ONE_OFF", Quarterly = "QUARTERLY" } export declare enum EcoObligationStatus { Fulfilled = "FULFILLED", InProgress = "IN_PROGRESS", Open = "OPEN", Overdue = "OVERDUE", Waived = "WAIVED" } export type EcoObservation = { __typename?: 'EcoObservation'; /** * Client-generated idempotency key supplied when the observation was recorded * (offline field capture). Null for observations recorded without one. */ clientRef?: Maybe; count: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (photo / audio evidence). */ evidence?: Maybe; id: Scalars['ID']['output']; /** True when a prompt-injection pattern was detected in a COMMUNITY_REPORT note. */ injectionDetected: Scalars['Boolean']['output']; latitude?: Maybe; longitude?: Maybe; method: EcoObservationMethod; notes?: Maybe; observedAt: Scalars['DateTime']['output']; observerId?: Maybe; siteId?: Maybe; species?: Maybe; speciesId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoObservationConnection = { __typename?: 'EcoObservationConnection'; items: Array; pageInfo: EcoConservationPageInfo; }; export declare enum EcoObservationMethod { Acoustic = "ACOUSTIC", CameraTrap = "CAMERA_TRAP", CommunityReport = "COMMUNITY_REPORT", DirectSighting = "DIRECT_SIGHTING", Edna = "EDNA", Telemetry = "TELEMETRY", TracksSigns = "TRACKS_SIGNS" } export type EcoPageInfo = { __typename?: 'EcoPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type EcoPermit = { __typename?: 'EcoPermit'; approvedAt?: Maybe; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; issuingAuthority?: Maybe; notes?: Maybe; obligation?: Maybe; obligationId?: Maybe; permitNumber?: Maybe; siteId?: Maybe; status: EcoPermitStatus; submittedAt?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoPermitConnection = { __typename?: 'EcoPermitConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoPermitStatus { Approved = "APPROVED", Draft = "DRAFT", Expired = "EXPIRED", Rejected = "REJECTED", Submitted = "SUBMITTED", Suspended = "SUSPENDED", UnderReview = "UNDER_REVIEW" } export type EcoRecordCarbonEntryInput = { activityUnit: Scalars['String']['input']; activityValue: Scalars['Float']['input']; category: Scalars['String']['input']; factorId?: InputMaybe; notes?: InputMaybe; periodStart: Scalars['DateTime']['input']; scope?: InputMaybe; siteId?: InputMaybe; }; export type EcoRecordEnergyReadingInput = { assetId: Scalars['ID']['input']; energyKwh: Scalars['Float']['input']; /** * Vendor / import line reference. Unique per workspace; required for * METER_API and IMPORT sources, where it makes ingestion idempotent. */ externalRef?: InputMaybe; notes?: InputMaybe; recordedAt: Scalars['DateTime']['input']; source?: InputMaybe; }; export type EcoRecordMaterialLoopFlowInput = { loopId: Scalars['ID']['input']; notes?: InputMaybe; periodStart: Scalars['DateTime']['input']; quantity: Scalars['Float']['input']; stage: EcoMaterialLoopStage; }; export type EcoRecordMeasurementInput = { notes?: InputMaybe; parameter: Scalars['String']['input']; recordedAt: Scalars['DateTime']['input']; sensorId?: InputMaybe; siteId: Scalars['ID']['input']; source?: InputMaybe; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export type EcoRecordObservationInput = { /** * Optional client-generated idempotency key (1-128 chars of letters, digits, * '-', '_', ':' or '.'). The offline field app mints one per queued * observation and may replay the mutation after a dropped connection: * recording again with the same clientRef in the same workspace returns the * observation the first attempt created instead of creating a duplicate. */ clientRef?: InputMaybe; count?: InputMaybe; evidenceFileId?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; method?: InputMaybe; notes?: InputMaybe; observedAt: Scalars['DateTime']['input']; siteId?: InputMaybe; speciesId: Scalars['ID']['input']; }; export type EcoRecordWasteInput = { notes?: InputMaybe; periodEnd?: InputMaybe; periodStart: Scalars['DateTime']['input']; quantity: Scalars['Float']['input']; route: EcoWasteRoute; streamId: Scalars['ID']['input']; }; export type EcoReductionTarget = { __typename?: 'EcoReductionTarget'; baselineValue: Scalars['Float']['output']; baselineYear: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; metric: Scalars['String']['output']; name: Scalars['String']['output']; status: EcoReductionTargetStatus; targetValue: Scalars['Float']['output']; targetYear: Scalars['Int']['output']; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoReductionTargetConnection = { __typename?: 'EcoReductionTargetConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export declare enum EcoReductionTargetStatus { Achieved = "ACHIEVED", Active = "ACTIVE", Missed = "MISSED", Proposed = "PROPOSED", Retired = "RETIRED" } export type EcoRejectReportInput = { reason: Scalars['String']['input']; reportId: Scalars['ID']['input']; }; export type EcoReport = { __typename?: 'EcoReport'; approvedAt?: Maybe; approvedBy?: Maybe; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (the exported/published artifact). */ file?: Maybe; framework: EcoReportFramework; id: Scalars['ID']['output']; lineItems: Array; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; publishedAt?: Maybe; rejectedAt?: Maybe; rejectionReason?: Maybe; status: EcoReportStatus; summary?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** wspace-workflow-svc run id gating the approval/sign-off lifecycle. */ workflowRunId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EcoReportAiTokenUsageInput = { inputTokens: Scalars['Int']['input']; messageId: Scalars['ID']['input']; model: Scalars['String']['input']; outputTokens: Scalars['Int']['input']; sessionId: Scalars['ID']['input']; }; export type EcoReportConnection = { __typename?: 'EcoReportConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export declare enum EcoReportFramework { Cdp = "CDP", Csrd = "CSRD", Custom = "CUSTOM", EuTaxonomy = "EU_TAXONOMY", GhgProtocol = "GHG_PROTOCOL", Gri = "GRI", Issb = "ISSB", Sasb = "SASB", Tcfd = "TCFD" } export type EcoReportLineItem = { __typename?: 'EcoReportLineItem'; carbonEntryId?: Maybe; category?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; reportId: Scalars['ID']['output']; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EcoReportStatus { Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED" } export type EcoRestorationActivity = { __typename?: 'EcoRestorationActivity'; createdAt: Scalars['DateTime']['output']; details?: Maybe; id: Scalars['ID']['output']; performedAt: Scalars['DateTime']['output']; projectId: Scalars['ID']['output']; quantity?: Maybe; summary: Scalars['String']['output']; type: EcoRestorationActivityType; unit?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EcoRestorationActivityType { CommunityEngagement = "COMMUNITY_ENGAGEMENT", InvasiveRemoval = "INVASIVE_REMOVAL", Planting = "PLANTING", Rewilding = "REWILDING", SoilRemediation = "SOIL_REMEDIATION", Survey = "SURVEY", WaterManagement = "WATER_MANAGEMENT" } export type EcoRetireCarbonCreditsInput = { beneficiaryName?: InputMaybe; creditId: Scalars['ID']['input']; quantityTco2e: Scalars['Float']['input']; reason: Scalars['String']['input']; }; export type EcoRisk = { __typename?: 'EcoRisk'; category: EcoRiskCategory; code?: Maybe; controlMeasures?: Maybe; correctiveActions: Array; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; likelihood: EcoRiskLikelihood; ownerId?: Maybe; reviewDueAt?: Maybe; /** Band derived from riskScore: 1-4 LOW, 5-9 MEDIUM, 10-16 HIGH, 17-25 EXTREME. */ riskRating: EcoRiskRating; /** Persisted 5x5 score (likelihood index x severity index), 1-25. */ riskScore: Scalars['Int']['output']; severity: EcoRiskSeverity; site?: Maybe; siteId?: Maybe; status: EcoRiskStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EcoRiskCategory { Chemical = "CHEMICAL", Environmental = "ENVIRONMENTAL", Fire = "FIRE", Health = "HEALTH", Operational = "OPERATIONAL", Other = "OTHER", Regulatory = "REGULATORY", Safety = "SAFETY" } export type EcoRiskConnection = { __typename?: 'EcoRiskConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoRiskLikelihood { AlmostCertain = "ALMOST_CERTAIN", Likely = "LIKELY", Possible = "POSSIBLE", Rare = "RARE", Unlikely = "UNLIKELY" } export declare enum EcoRiskRating { Extreme = "EXTREME", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum EcoRiskSeverity { Catastrophic = "CATASTROPHIC", Major = "MAJOR", Minor = "MINOR", Moderate = "MODERATE", Negligible = "NEGLIGIBLE" } export declare enum EcoRiskStatus { Assessing = "ASSESSING", Closed = "CLOSED", Identified = "IDENTIFIED", Mitigating = "MITIGATING", Monitoring = "MONITORING" } export type EcoSensor = { __typename?: 'EcoSensor'; createdAt: Scalars['DateTime']['output']; hardwareId?: Maybe; id: Scalars['ID']['output']; installedAt?: Maybe; kind: EcoSensorKind; lastReadingAt?: Maybe; name: Scalars['String']['output']; site?: Maybe; siteId: Scalars['ID']['output']; status: EcoSensorStatus; unit?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoSensorConnection = { __typename?: 'EcoSensorConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoSensorKind { Acoustic = "ACOUSTIC", AirQuality = "AIR_QUALITY", CameraTrap = "CAMERA_TRAP", EnergyMeter = "ENERGY_METER", Flow = "FLOW", Manual = "MANUAL", Soil = "SOIL", WaterQuality = "WATER_QUALITY", Weather = "WEATHER" } export declare enum EcoSensorStatus { Degraded = "DEGRADED", Maintenance = "MAINTENANCE", Offline = "OFFLINE", Online = "ONLINE", Retired = "RETIRED" } /** Robust baseline of a measurement series (median and MAD-based sigma). */ export type EcoSeriesBaseline = { __typename?: 'EcoSeriesBaseline'; median: Scalars['Float']['output']; sampleSize: Scalars['Int']['output']; /** Robust standard-deviation estimate; 0 means the series is constant. */ scale: Scalars['Float']['output']; }; export type EcoSetEnergyGridBaselineInput = { factorKgco2ePerKwh: Scalars['Float']['input']; notes?: InputMaybe; region?: InputMaybe; source?: InputMaybe; validFrom: Scalars['DateTime']['input']; validTo?: InputMaybe; }; export type EcoSite = { __typename?: 'EcoSite'; areaHectares?: Maybe; code?: Maybe; country?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isPriority: Scalars['Boolean']['output']; latitude?: Maybe; longitude?: Maybe; name: Scalars['String']['output']; region?: Maybe; sensors: Array; status: EcoSiteStatus; thresholds: Array; type: EcoSiteType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoSiteConnection = { __typename?: 'EcoSiteConnection'; items: Array; pageInfo: EcoPageInfo; }; export declare enum EcoSiteStatus { Active = "ACTIVE", Archived = "ARCHIVED", MonitoringPaused = "MONITORING_PAUSED" } export declare enum EcoSiteType { Airshed = "AIRSHED", Coastal = "COASTAL", Facility = "FACILITY", Farm = "FARM", Forest = "FOREST", Other = "OTHER", ProtectedArea = "PROTECTED_AREA", Watershed = "WATERSHED", Wetland = "WETLAND" } export type EcoSpecies = { __typename?: 'EcoSpecies'; commonName: Scalars['String']['output']; conservationStatus: EcoConservationStatus; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isPriority: Scalars['Boolean']['output']; observations: Array; scientificName?: Maybe; taxonGroup: EcoTaxonGroup; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoSpeciesConnection = { __typename?: 'EcoSpeciesConnection'; items: Array; pageInfo: EcoConservationPageInfo; }; export type EcoSustainabilityPageInfo = { __typename?: 'EcoSustainabilityPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export declare enum EcoTaxonGroup { Amphibian = "AMPHIBIAN", Bird = "BIRD", Fish = "FISH", Fungi = "FUNGI", Insect = "INSECT", Mammal = "MAMMAL", Other = "OTHER", Plant = "PLANT", Reptile = "REPTILE" } export declare enum EcoThresholdDirection { Above = "ABOVE", Below = "BELOW", OutsideRange = "OUTSIDE_RANGE" } export type EcoThresholdProposal = { __typename?: 'EcoThresholdProposal'; /** Shared AI invocation ledger (wspace-prompts-svc) row id; null when it could not be recorded. */ agentRunId?: Maybe; baseline?: Maybe; correlationId: Scalars['String']['output']; direction?: Maybe; engine: Scalars['String']['output']; /** Share of historical readings the proposed band would have flagged. */ historicalBreachRate?: Maybe; lookbackDays: Scalars['Int']['output']; maxValue?: Maybe; minValue?: Maybe; notes: Array; /** Historical readings outside the proposed band (at most 50). */ outlierMeasurementIds: Array; p5?: Maybe; p50?: Maybe; p95?: Maybe; parameter: Scalars['String']['output']; runId: Scalars['ID']['output']; sampleSize: Scalars['Int']['output']; sessionId: Scalars['String']['output']; siteId: Scalars['ID']['output']; status: EcoAiAnalysisStatus; unit?: Maybe; }; export declare enum EcoThresholdSeverity { Critical = "CRITICAL", Info = "INFO", Warning = "WARNING" } export type EcoTransferCarbonCreditInput = { creditId: Scalars['ID']['input']; quantityTco2e?: InputMaybe; toAccount: Scalars['String']['input']; }; export declare enum EcoTriageSignalDirection { RealEvent = "REAL_EVENT", SensorFault = "SENSOR_FAULT" } export type EcoTriggerIngestionInput = { action: Scalars['String']['input']; config?: InputMaybe; sourceId: Scalars['ID']['input']; }; export type EcoUpdateAuditInput = { auditorName?: InputMaybe; findingsSummary?: InputMaybe; scheduledAt?: InputMaybe; scope?: InputMaybe; score?: InputMaybe; siteId?: InputMaybe; title?: InputMaybe; type?: InputMaybe; }; export type EcoUpdateCorrectiveActionInput = { assignedTo?: InputMaybe; description?: InputMaybe; dueDate?: InputMaybe; title?: InputMaybe; verificationNotes?: InputMaybe; }; export type EcoUpdateDataSourceInput = { config?: InputMaybe; isActive?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; }; export type EcoUpdateDeadlineInput = { dueAt?: InputMaybe; notes?: InputMaybe; remindAt?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateEhsPermitInput = { conditions?: InputMaybe; expiresAt?: InputMaybe; issuedAt?: InputMaybe; issuingAuthority?: InputMaybe; permitNumber?: InputMaybe; type?: InputMaybe; }; export type EcoUpdateEnergyAssetInput = { capacityKw?: InputMaybe; commissionedAt?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; }; export type EcoUpdateGrantFunderInput = { contactEmail?: InputMaybe; contactName?: InputMaybe; name?: InputMaybe; notes?: InputMaybe; website?: InputMaybe; }; export type EcoUpdateGrantInput = { amount?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; endDate?: InputMaybe; funderId?: InputMaybe; projectId?: InputMaybe; referenceCode?: InputMaybe; startDate?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateGrantMilestoneInput = { amount?: InputMaybe; description?: InputMaybe; dueDate?: InputMaybe; reportId?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateIncidentInput = { description?: InputMaybe; injuredCount?: InputMaybe; occurredAt?: InputMaybe; rootCause?: InputMaybe; severity?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateMaterialLoopInput = { description?: InputMaybe; isActive?: InputMaybe; material?: InputMaybe; name?: InputMaybe; targetCircularityPct?: InputMaybe; unit?: InputMaybe; }; /** Mutable metric values; canonical identity fields are intentionally absent. */ export type EcoUpdateMetricInput = { category?: InputMaybe; metricName?: InputMaybe; notes?: InputMaybe; target?: InputMaybe; trend?: InputMaybe; unit?: InputMaybe; value?: InputMaybe; }; export type EcoUpdateObligationInput = { authority?: InputMaybe; description?: InputMaybe; dueAt?: InputMaybe; framework?: InputMaybe; notes?: InputMaybe; siteId?: InputMaybe; title?: InputMaybe; }; export type EcoUpdatePermitInput = { expiresAt?: InputMaybe; issuingAuthority?: InputMaybe; notes?: InputMaybe; permitNumber?: InputMaybe; siteId?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateRiskInput = { category?: InputMaybe; code?: InputMaybe; controlMeasures?: InputMaybe; likelihood?: InputMaybe; ownerId?: InputMaybe; reviewDueAt?: InputMaybe; severity?: InputMaybe; siteId?: InputMaybe; status?: InputMaybe; title?: InputMaybe; }; export type EcoUpdateSiteInput = { areaHectares?: InputMaybe; code?: InputMaybe; country?: InputMaybe; description?: InputMaybe; isPriority?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; name?: InputMaybe; region?: InputMaybe; status?: InputMaybe; type?: InputMaybe; }; export type EcoUpdateSpeciesInput = { commonName?: InputMaybe; conservationStatus?: InputMaybe; description?: InputMaybe; isPriority?: InputMaybe; scientificName?: InputMaybe; taxonGroup?: InputMaybe; }; export type EcoUpdateWasteStreamInput = { category?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; name?: InputMaybe; unit?: InputMaybe; }; export type EcoUpsertMetricInput = { category: Scalars['String']['input']; id?: InputMaybe; metricKey: Scalars['String']['input']; metricName: Scalars['String']['input']; notes?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; sourceProduct?: InputMaybe; sourceRefId?: InputMaybe; target?: InputMaybe; trend?: InputMaybe; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export declare enum EcoWasteCategory { ConstructionDemolition = "CONSTRUCTION_DEMOLITION", Electronic = "ELECTRONIC", General = "GENERAL", Hazardous = "HAZARDOUS", Organic = "ORGANIC", Other = "OTHER", Packaging = "PACKAGING", Recyclables = "RECYCLABLES", Textiles = "TEXTILES" } /** * Diversion breakdown for one unit of measure. Quantities are only comparable * within a unit, so the summary buckets per unit rather than mixing them. */ export type EcoWasteDiversionBucket = { __typename?: 'EcoWasteDiversionBucket'; compostedQuantity: Scalars['Float']['output']; /** Diverted share of the total (0..1); 0 when the total is 0. */ diversionRate: Scalars['Float']['output']; /** RECYCLED + COMPOSTED + RECOVERED + REUSED. */ divertedQuantity: Scalars['Float']['output']; landfilledQuantity: Scalars['Float']['output']; otherQuantity: Scalars['Float']['output']; recoveredQuantity: Scalars['Float']['output']; recycledQuantity: Scalars['Float']['output']; reusedQuantity: Scalars['Float']['output']; totalQuantity: Scalars['Float']['output']; unit: Scalars['String']['output']; }; /** * Diversion-rate tracking for the workspace (or one stream/site), grouped by * unit of measure. */ export type EcoWasteDiversionSummary = { __typename?: 'EcoWasteDiversionSummary'; buckets: Array; /** Number of waste records contributing to the summary. */ recordCount: Scalars['Int']['output']; }; export type EcoWasteRecord = { __typename?: 'EcoWasteRecord'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe; periodEnd?: Maybe; periodStart: Scalars['DateTime']['output']; quantity: Scalars['Float']['output']; route: EcoWasteRoute; stream?: Maybe; streamId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoWasteRecordConnection = { __typename?: 'EcoWasteRecordConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; /** * How a quantity of recorded waste was handled. Diverted routes (RECYCLED, * COMPOSTED, RECOVERED, REUSED) count toward the diversion rate; LANDFILL and * OTHER do not. */ export declare enum EcoWasteRoute { Composted = "COMPOSTED", Landfill = "LANDFILL", Other = "OTHER", Recovered = "RECOVERED", Recycled = "RECYCLED", Reused = "REUSED" } export type EcoWasteStream = { __typename?: 'EcoWasteStream'; category: EcoWasteCategory; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; siteId?: Maybe; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EcoWasteStreamConnection = { __typename?: 'EcoWasteStreamConnection'; items: Array; pageInfo: EcoSustainabilityPageInfo; }; export type EditMessageInput = { content: MessageContentInput; id: Scalars['ID']['input']; reason?: InputMaybe; }; /** * Effective License Position for one software title as of `asOf`. * * Honesty note: `usageSource` is always "SELF_REPORTED" today -- `totalUsed` * comes from SoftwareAsset.seatsUsed, which is manually entered, not from * automated network/agent discovery (DiscoveryJob has no scan engine yet). * Do not present this as discovery-verified until that lands. */ export type EffectiveLicensePosition = { __typename?: 'EffectiveLicensePosition'; activeEntitlementCount: Scalars['Int']['output']; asOf: Scalars['DateTime']['output']; costExposure: Scalars['Float']['output']; currency?: Maybe; entitlementsExpiringWithin90Days: Scalars['Int']['output']; positionType: LicensePositionType; softwareAssetId: Scalars['ID']['output']; softwareAssetName: Scalars['String']['output']; totalEntitled: Scalars['Int']['output']; totalUsed: Scalars['Int']['output']; usageSource: Scalars['String']['output']; varianceUnits: Scalars['Int']['output']; vendor: Scalars['String']['output']; }; /** Computed effective permissions for an actor */ export type EffectivePermissions = { __typename?: 'EffectivePermissions'; actorId: Scalars['String']['output']; /** Cache key for debugging and invalidation */ cacheKey?: Maybe; /** * When this permission set should be considered stale. * Frontend should refresh after this time. */ expiresAt: Scalars['DateTime']['output']; /** * Flat permission strings for easy frontend matching. * Format: "{resourceType}:{action}" e.g., ["project:read", "project:write", "task:*"] * Includes wildcards for ADMIN level (e.g., "project:*") */ permissionStrings: Array; /** Resource types and their effective levels */ permissions: Array; /** Role names assigned to the actor in this scope */ roles: Array; scopeId: Scalars['String']['output']; }; /** Effective permission for a resource type */ export type EffectiveResourcePermission = { __typename?: 'EffectiveResourcePermission'; /** Actions allowed at this level */ allowedActions: Array; level: RoleLevel; /** Any overrides affecting this permission */ overrides: Array; resourceType: Scalars['String']['output']; /** Source of this permission (role name) */ source: Scalars['String']['output']; }; export type EmailTimeEntry = { __typename?: 'EmailTimeEntry'; category?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; duration?: Maybe; id: Scalars['ID']['output']; isImportant: Scalars['Boolean']['output']; recipients?: Maybe; responseTime?: Maybe; sender?: Maybe; subject?: Maybe; threadId?: Maybe; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type EmailTimeEntryFilterInput = { category?: InputMaybe; isImportant?: InputMaybe; search?: InputMaybe; sender?: InputMaybe; threadId?: InputMaybe; }; export type EmailTrackingStats = { __typename?: 'EmailTrackingStats'; averageResponseTime?: Maybe; byCategory?: Maybe; importantCount: Scalars['Int']['output']; totalDuration: Scalars['Int']['output']; totalEmails: Scalars['Int']['output']; }; export declare enum EncryptionAlgorithm { Aes_256Cbc = "AES_256_CBC", Aes_256Gcm = "AES_256_GCM", Chacha20Poly1305 = "CHACHA20_POLY1305", EccP256 = "ECC_P256", EccP384 = "ECC_P384", Ed25519 = "ED25519", Rsa_2048 = "RSA_2048", Rsa_4096 = "RSA_4096" } export type EncryptionKey = { __typename?: 'EncryptionKey'; algorithm: EncryptionAlgorithm; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; keySize: Scalars['Int']['output']; keyType: KeyType; lastUsedAt?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; parentKeyId?: Maybe; rotatedAt?: Maybe; rotationSchedule?: Maybe; status: KeyStatus; tenantId?: Maybe; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; usageCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; export type EncryptionKeyFilterInput = { algorithm?: InputMaybe; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; keyType?: InputMaybe; status?: InputMaybe; }; export type EncryptionKeyList = { __typename?: 'EncryptionKeyList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type EndHealthyBowlGrazingMoveInput = { context: ContextInput; /** Defaults to now. Must not precede the entry — a negative duration is a data error. */ exitedAt?: InputMaybe; id: Scalars['ID']['input']; notes?: InputMaybe; }; export declare enum EnergyLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM", VeryHigh = "VERY_HIGH", VeryLow = "VERY_LOW" } export type EnrollHealthyBowlCsaMemberInput = { /** * Enroll past `CsaPlan.capacity` deliberately (BOFF-6088). Omit/false to be refused with * BAD_USER_INPUT once the plan is full (counting ACTIVE + PAUSED members). */ allowOverCapacity?: InputMaybe; context: ContextInput; csaPlanId: Scalars['ID']['input']; deliveryAddress?: InputMaybe; lat?: InputMaybe; lng?: InputMaybe; memberEmail?: InputMaybe; memberName: Scalars['String']['input']; memberPhone?: InputMaybe; memberUserId?: InputMaybe; /** * Enroll straight onto a pickup location (BOFF-5978). Omit for home delivery. Saves a second call * for the common case of a member signing up AT the stand. Refused if the location is archived or * already at capacity — use assignHealthyBowlCsaPickupLocation to over-subscribe deliberately. */ pickupLocationId?: InputMaybe; startDate?: InputMaybe; }; /** * Input for ensureTagAssignment — the assign-by-label M2M entrypoint. * * A calling service supplies a free-form `label` plus the `vocabularyKey` that * namespaces it (e.g. "conversation-tags", "store-product-tags"). tags-svc * resolves-or-creates the vocabulary (owned by tags-svc), resolves-or-creates the * UniversalTag by (vocabulary, slugified label), and upserts the assignment. * Callers never need to own or know a vocabularyId / tagId. */ export type EnsureTagAssignmentInput = { /** Optional hex color applied to the tag when it is first created. */ color?: InputMaybe; /** Identifier of the entity being tagged. */ entityId: Scalars['ID']['input']; /** Polymorphic entity type (e.g. "Conversation", "Product"). */ entityType: Scalars['String']['input']; /** Free-form, human-facing label. Slugified to derive the tag key. */ label: Scalars['String']['input']; /** * Vocabulary namespace key. Resolved-or-created as a tags-svc-owned * WORKSPACE-scoped STANDARD vocabulary (STRING dataType, MULTIPLE cardinality). */ vocabularyKey: Scalars['String']['input']; }; /** Entity comment - polymorphic comment for any entity type */ export type EntityComment = { __typename?: 'EntityComment'; authorId: Scalars['ID']['output']; authorType: AuthorType; content: EntityCommentContent; contentType: ContentType; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; editHistory: Array; edited: Scalars['Boolean']['output']; editedAt?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; expiresAt?: Maybe; files: Array; id: Scalars['ID']['output']; isAnonymous: Scalars['Boolean']['output']; isPinned: Scalars['Boolean']['output']; mentions: Array; metadata?: Maybe; parentComment?: Maybe; parentCommentId?: Maybe; pinnedAt?: Maybe; pinnedBy?: Maybe; reactionSummary: Array; reactions: Array; replies: Array; replyCount: Scalars['Int']['output']; resolvedAt?: Maybe; resolvedById?: Maybe; status: CommentStatus; tags: Array; /** The TheCulturePost discussion this reply belongs to. */ tcpDiscussionId?: Maybe; /** When the reply's moderation state last changed. */ tcpModeratedAt?: Maybe; /** Respectful-by-design moderation state of this reply. */ tcpModerationStatus?: Maybe; /** Self-disclosed perspective/tradition the author writes from, when shared. */ tcpPerspective?: Maybe; threadLevel: Scalars['Int']['output']; threadRootId?: Maybe; updatedAt: Scalars['DateTime']['output']; visibility: CommentVisibility; workspaceId: Scalars['ID']['output']; }; /** Paginated entity comments */ export type EntityCommentConnection = { __typename?: 'EntityCommentConnection'; hasMore: Scalars['Boolean']['output']; hasPrevious: Scalars['Boolean']['output']; items: Array; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; totalPages: Scalars['Int']['output']; }; /** Entity comment content (supports multiple formats) */ export type EntityCommentContent = { __typename?: 'EntityCommentContent'; html?: Maybe; markdown?: Maybe; richText?: Maybe; text?: Maybe; }; /** Input for entity comment content */ export type EntityCommentContentInput = { html?: InputMaybe; markdown?: InputMaybe; richText?: InputMaybe; text?: InputMaybe; }; /** Entity comment edit history */ export type EntityCommentEdit = { __typename?: 'EntityCommentEdit'; commentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; editedBy: Scalars['ID']['output']; id: Scalars['ID']['output']; previousContent: Scalars['JSON']['output']; reason?: Maybe; }; /** Entity comment file (links to File module) */ export type EntityCommentFile = { __typename?: 'EntityCommentFile'; commentId: Scalars['ID']['output']; file?: Maybe; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; order: Scalars['Int']['output']; }; /** Entity comment mention */ export type EntityCommentMention = { __typename?: 'EntityCommentMention'; commentId: Scalars['ID']['output']; id: Scalars['ID']['output']; length: Scalars['Int']['output']; mentionType: AuthorType; mentionedUserId: Scalars['ID']['output']; notified: Scalars['Boolean']['output']; offset: Scalars['Int']['output']; }; /** Entity comment reaction */ export type EntityCommentReaction = { __typename?: 'EntityCommentReaction'; commentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; emoji: Scalars['String']['output']; id: Scalars['ID']['output']; userId: Scalars['ID']['output']; }; /** Entity comment statistics */ export type EntityCommentStats = { __typename?: 'EntityCommentStats'; active: Scalars['Int']['output']; archived: Scalars['Int']['output']; averageThreadDepth: Scalars['Float']['output']; byAuthor: Array; byStatus: Array; byVisibility: Array; deleted: Scalars['Int']['output']; flagged: Scalars['Int']['output']; resolved: Scalars['Int']['output']; threadCount: Scalars['Int']['output']; total: Scalars['Int']['output']; totalAttachments: Scalars['Int']['output']; totalMentions: Scalars['Int']['output']; totalReactions: Scalars['Int']['output']; }; export type EntityList = { __typename?: 'EntityList'; entities: Array; hasMore: Scalars['Boolean']['output']; /** * Opaque cursor pointing to the entity immediately after the last item in * `entities`. Pass it back as `pagination.cursor` to fetch the next page. * Null when `hasMore` is false. */ nextCursor?: Maybe; total: Scalars['Int']['output']; }; export type EntitySearchCapability = { __typename?: 'EntitySearchCapability'; description: Scalars['String']['output']; displayName: Scalars['String']['output']; entityType: Scalars['String']['output']; searchableFields: Array; supportedFilters: Array; }; export declare enum EntityStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT" } /** A tag assigned to a VibeControls entity. */ export type EntityTagAssignment = { __typename?: 'EntityTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; /** Federated UniversalTag reference (owned by wspace-tags-svc). Prefer tagInfo for label/colour. */ tag?: Maybe; tagId: Scalars['ID']['output']; /** Inline projection of the tag (key/label/colour). */ tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; /** Inline (non-federated) tag projection, so clients render labels without a federated round-trip. */ export type EntityTagInfo = { __typename?: 'EntityTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export type EntityTagUsage = { __typename?: 'EntityTagUsage'; count: Scalars['Int']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; }; export type EntityTypeUsage = { __typename?: 'EntityTypeUsage'; count: Scalars['Int']['output']; entityType: Scalars['String']['output']; recentEntities: Array; }; /** * A row in the environment-topology matrix: one component and its current version across every * environment (DEVELOPMENT, STAGING, PRODUCTION). */ export type EnvTopologyRow = { __typename?: 'EnvTopologyRow'; component: VibecontrolsComponent; environments: Array; }; export type EnvVar = { __typename?: 'EnvVar'; name: Scalars['String']['output']; value: Scalars['String']['output']; }; export type EnvVarInput = { name: Scalars['String']['input']; value: Scalars['String']['input']; }; /** Error analytics for the caller's workspace over a time window (BOFF-7519). */ export type ErrorAnalytics = { __typename?: 'ErrorAnalytics'; errorsByType: Array; /** Worst-first, capped at `input.limit` (default 10). */ topFailingNodes: Array; /** Worst-first, capped at `input.limit` (default 10). */ topFailingWorkflows: Array; totalErrors: Scalars['Int']['output']; /** * Daily error counts across the queried window, oldest first. Every day in * the window is present (zero-filled), so the frontend can chart it without * gap-filling itself. */ trend: Array; }; export type ErrorAnalyticsInput = { /** Defaults to now. */ endDate?: InputMaybe; /** Caps topFailingWorkflows/topFailingNodes. Default 10, clamped to 50. */ limit?: InputMaybe; /** Defaults to 30 days before `endDate` (or now, if endDate is also omitted). */ startDate?: InputMaybe; }; export type ErrorLogEntry = { __typename?: 'ErrorLogEntry'; errorMessage: Scalars['String']['output']; errorType: Scalars['String']['output']; nodeId?: Maybe; runId?: Maybe; severity: Scalars['String']['output']; stackTrace?: Maybe; timestamp: Scalars['DateTime']['output']; userId?: Maybe; }; /** * One day's error count, oldest first, for the Error Analytics trend chart * (BOFF-7519). `date` is an ISO 8601 calendar date (YYYY-MM-DD), UTC. */ export type ErrorTrendPoint = { __typename?: 'ErrorTrendPoint'; count: Scalars['Int']['output']; date: Scalars['String']['output']; }; export declare enum ErrorType { Authorization = "AUTHORIZATION", BudgetExceeded = "BUDGET_EXCEEDED", Dependency = "DEPENDENCY", DispatchFailed = "DISPATCH_FAILED", OutputSchemaMismatch = "OUTPUT_SCHEMA_MISMATCH", Permanent = "PERMANENT", Timeout = "TIMEOUT", Transient = "TRANSIENT", Unknown = "UNKNOWN", Validation = "VALIDATION" } /** * Error breakdown by classification, for the Error Analytics screen * (BOFF-7519). */ export type ErrorTypeBreakdown = { __typename?: 'ErrorTypeBreakdown'; count: Scalars['Int']['output']; errorType: ErrorType; }; export type Event = { __typename?: 'Event'; anonymousId?: Maybe; browserName?: Maybe; browserVersion?: Maybe; city?: Maybe; context?: Maybe; country?: Maybe; deviceModel?: Maybe; deviceType?: Maybe; eventName: Scalars['String']['output']; id: Scalars['ID']['output']; ip?: Maybe; osName?: Maybe; osVersion?: Maybe; platform?: Maybe; processedAt?: Maybe; properties?: Maybe; receivedAt: Scalars['DateTime']['output']; region?: Maybe; sessionId?: Maybe; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe; userId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EventAgendaItem = { __typename?: 'EventAgendaItem'; session: Scalars['String']['output']; time: Scalars['String']['output']; }; export type EventAttendee = { __typename?: 'EventAttendee'; actualPlusOne?: Maybe; checkInAt?: Maybe; checkInStatus: CheckInStatus; createdAt: Scalars['DateTime']['output']; email?: Maybe; event: CalendarEvent; eventId: Scalars['String']['output']; id: Scalars['ID']['output']; isOptional: Scalars['Boolean']['output']; isOrganizer: Scalars['Boolean']['output']; maxPlusOne?: Maybe; metadata?: Maybe; name?: Maybe; plusOne: Scalars['Boolean']['output']; responseNote?: Maybe; role: AttendeeRole; rsvpAt?: Maybe; rsvpStatus: RsvpStatus; updatedAt: Scalars['DateTime']['output']; userId?: Maybe; }; export type EventConnection = { __typename?: 'EventConnection'; events: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; /** EventFilter: Defines conditions for when an event should trigger a workflow */ export type EventFilter = { __typename?: 'EventFilter'; createdAt: Scalars['DateTime']['output']; eventRegistrationId: Scalars['String']['output']; filterExpression: Scalars['JSON']['output']; filterType: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; }; export type EventFilterInput = { eventType?: InputMaybe; promptStatus?: InputMaybe; search?: InputMaybe; }; export type EventQueryInput = { endDate: Scalars['DateTime']['input']; eventNames?: InputMaybe>; filters?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; sessionIds?: InputMaybe>; startDate: Scalars['DateTime']['input']; userIds?: InputMaybe>; }; export type EventQueryResult = { __typename?: 'EventQueryResult'; events: Array; hasMore: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; /** * EventRegistration: Maps external events to workflow triggers * Federated entity identified by id */ export type EventRegistration = { __typename?: 'EventRegistration'; apiKeyHeader?: Maybe; config?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; deletedAt?: Maybe; description?: Maybe; eventSource: Scalars['String']['output']; eventType: Scalars['String']['output']; failedTriggers: Scalars['Int']['output']; formUrl?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; lastTriggeredAt?: Maybe; name?: Maybe; payloadMapping?: Maybe; projectId?: Maybe; secretToken?: Maybe; signatureHeader?: Maybe; status: EventStatus; /** * The external watch this push trigger needs (BOFF-12113), for example a Gmail watch: whether it * works, and if creating it failed, why and when it is retried. Null for a trigger that needs no * watch, or one whose watch has not been attempted yet. */ subscriptionState?: Maybe; successfulTriggers: Scalars['Int']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array; tags: Array; tenantId?: Maybe; totalTriggers: Scalars['Int']['output']; triggerNodeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; validationMethod: ValidationMethod; webhookToken?: Maybe; webhookUrl?: Maybe; workflowKey: Scalars['String']['output']; workspaceId?: Maybe; }; export type EventReminder = { __typename?: 'EventReminder'; absoluteTime?: Maybe; channel: ReminderChannel; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; customMessage?: Maybe; event: CalendarEvent; eventId: Scalars['String']['output']; id: Scalars['ID']['output']; minutesBefore: Scalars['Int']['output']; reminderType: ReminderType; sent: Scalars['Boolean']['output']; sentAt?: Maybe; }; export type EventSchema = { __typename?: 'EventSchema'; createdAt: Scalars['DateTime']['output']; createdBy: User; description?: Maybe; eventName: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; schema: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EventStatus { Active = "ACTIVE", Archived = "ARCHIVED", Disabled = "DISABLED", Paused = "PAUSED" } export declare enum EventType { Meeting = "MEETING", Milestone = "MILESTONE", Prompt = "PROMPT", Task = "TASK" } export type EventValidationResult = { __typename?: 'EventValidationResult'; errors?: Maybe>; message?: Maybe; status: EventValidationStatus; }; export declare enum EventValidationStatus { InvalidPropertiesSize = "INVALID_PROPERTIES_SIZE", InvalidSchema = "INVALID_SCHEMA", RateLimited = "RATE_LIMITED", SampledOut = "SAMPLED_OUT", Valid = "VALID" } export declare enum EventVisibility { Confidential = "CONFIDENTIAL", Private = "PRIVATE", Public = "PUBLIC" } export type EventfullyManagedAgendaConflict = { __typename?: 'EventfullyManagedAgendaConflict'; message: Scalars['String']['output']; sessionAId: Scalars['ID']['output']; sessionATitle: Scalars['String']['output']; sessionBId?: Maybe; sessionBTitle?: Maybe; speakerId?: Maybe; suggestedFix: EventfullyManagedAgendaFix; /** VENUE_CLASH, SPEAKER_DOUBLE_BOOKED or OVER_CAPACITY. */ type: Scalars['String']['output']; venueId?: Maybe; }; export type EventfullyManagedAgendaConflictResolution = { __typename?: 'EventfullyManagedAgendaConflictResolution'; conflicts: Array; engine: EventfullyManagedAiDecisionEngine; eventId: Scalars['ID']['output']; }; export type EventfullyManagedAgendaFix = { __typename?: 'EventfullyManagedAgendaFix'; /** MOVE_SESSION, RESCHEDULE_SESSION, MOVE_ROOM, RAISE_CAPACITY, ADD_REPEAT, OPEN_WAITLIST, REASSIGN_SPEAKER or MANUAL_REVIEW. */ action: Scalars['String']['output']; applyable: Scalars['Boolean']['output']; rationale: Scalars['String']['output']; sessionId: Scalars['ID']['output']; targetCapacity?: Maybe; targetEndsAt?: Maybe; targetStartsAt?: Maybe; targetVenueId?: Maybe; targetVenueName?: Maybe; }; /** Which engine produced a decision, and when it was persisted. */ export type EventfullyManagedAiDecisionEngine = { __typename?: 'EventfullyManagedAiDecisionEngine'; generatedAt: Scalars['DateTime']['output']; latencyMs: Scalars['Int']['output']; model: Scalars['String']['output']; provider: Scalars['String']['output']; /** AnalyticsSnapshot row the decision was persisted to; null when persist was false. */ snapshotId?: Maybe; version: Scalars['String']['output']; }; /** The four decisions the engine produces. */ export declare enum EventfullyManagedAiDecisionKind { AgendaConflicts = "AGENDA_CONFLICTS", AttendanceForecast = "ATTENDANCE_FORECAST", CapacityRightSizing = "CAPACITY_RIGHT_SIZING", NoShowPrediction = "NO_SHOW_PREDICTION" } /** A persisted decision, re-read without re-running the engine. */ export type EventfullyManagedAiDecisionRecord = { __typename?: 'EventfullyManagedAiDecisionRecord'; /** The full decision payload, in the same shape the generating mutation returned. */ data: Scalars['JSON']['output']; eventId: Scalars['ID']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: EventfullyManagedAiDecisionKind; model: Scalars['String']['output']; provider: Scalars['String']['output']; version: Scalars['String']['output']; }; export type EventfullyManagedApplyAgendaFixInput = { capacity?: InputMaybe; /** Must be true. The engine never changes a session without this explicit confirmation. */ confirm: Scalars['Boolean']['input']; endsAt?: InputMaybe; sessionId: Scalars['ID']['input']; startsAt?: InputMaybe; venueId?: InputMaybe; }; export type EventfullyManagedAttendanceForecast = { __typename?: 'EventfullyManagedAttendanceForecast'; basis: EventfullyManagedForecastBasis; cells: Array; /** Registrations (by quantity) already checked in; counted in full, not predicted. */ checkedInSoFar: Scalars['Int']['output']; /** True when there is too little history for a reliable number. */ coldStart: Scalars['Boolean']['output']; /** Plain-language explanation of a cold-start forecast; null otherwise. */ coldStartReason?: Maybe; confidence: EventfullyManagedForecastConfidence; engine: EventfullyManagedAiDecisionEngine; eventId: Scalars['ID']['output']; /** Upper bound of the 90% range. */ high: Scalars['Int']['output']; historicalEvents: Scalars['Int']['output']; historicalRegistrations: Scalars['Int']['output']; /** Lower bound of the 90% range. */ low: Scalars['Int']['output']; predictedAttendance: Scalars['Int']['output']; /** Live registrations (by ticket quantity), excluding cancelled and waitlisted. */ registered: Scalars['Int']['output']; sessions: Array; showRate: Scalars['Float']['output']; signals: Array; }; export type EventfullyManagedAttendee = { __typename?: 'EventfullyManagedAttendee'; company?: Maybe; createdAt: Scalars['DateTime']['output']; email: Scalars['String']['output']; eventId: Scalars['ID']['output']; fullName: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; phone?: Maybe; preferences?: Maybe; profile?: Maybe; role?: Maybe; tagAssignments: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * One event a person attended (or registered for) in this workspace — a single * row of the cross-event attendee history (BOFF-5893). Only live rows: an * attendee or event that has been erased (soft-deleted, the GDPR/DPDP erasure * path) never appears here. */ export type EventfullyManagedAttendeeHistoryEntry = { __typename?: 'EventfullyManagedAttendeeHistoryEntry'; attendeeId: Scalars['ID']['output']; checkedIn: Scalars['Boolean']['output']; email: Scalars['String']['output']; eventEndAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; eventName: Scalars['String']['output']; eventStartAt: Scalars['DateTime']['output']; eventStatus: Scalars['String']['output']; fullName: Scalars['String']['output']; registeredAt?: Maybe; registrationStatus?: Maybe; }; export type EventfullyManagedAttendeeInput = { company?: InputMaybe; email: Scalars['String']['input']; eventId: Scalars['ID']['input']; fullName: Scalars['String']['input']; metadata?: InputMaybe; phone?: InputMaybe; preferences?: InputMaybe; profile?: InputMaybe; role?: InputMaybe; }; export type EventfullyManagedAttendeeList = { __typename?: 'EventfullyManagedAttendeeList'; items: Array; total: Scalars['Int']['output']; }; /** * One automation-rule execution attempt (BOFF-5893). Every attempt — success, * failure or skip — is recorded so an organizer can see a rule fired and E2E * can assert firing without standing up the workflow engine. */ export type EventfullyManagedAutomationRuleRun = { __typename?: 'EventfullyManagedAutomationRuleRun'; actionType: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; detail?: Maybe; eventId?: Maybe; id: Scalars['ID']['output']; ruleId: Scalars['ID']['output']; status: Scalars['String']['output']; trigger: Scalars['String']['output']; workflowRunId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedAutomationRuleRunList = { __typename?: 'EventfullyManagedAutomationRuleRunList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedAvailableTag = { __typename?: 'EventfullyManagedAvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type EventfullyManagedBadge = { __typename?: 'EventfullyManagedBadge'; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastPrintedAt?: Maybe; metadata?: Maybe; printCount: Scalars['Int']['output']; registrationId: Scalars['ID']['output']; templateId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedBadgePrintJob = { __typename?: 'EventfullyManagedBadgePrintJob'; attempts: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; error?: Maybe; eventId: Scalars['ID']['output']; format: EventfullyManagedBadgePrintJobFormat; id: Scalars['ID']['output']; payload: Scalars['String']['output']; printedAt?: Maybe; registrationId: Scalars['ID']['output']; stationId?: Maybe; status: EventfullyManagedBadgePrintJobStatus; templateId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EventfullyManagedBadgePrintJobFormat { Pdf = "PDF", Zpl = "ZPL" } export type EventfullyManagedBadgePrintJobList = { __typename?: 'EventfullyManagedBadgePrintJobList'; items: Array; }; export declare enum EventfullyManagedBadgePrintJobStatus { Canceled = "CANCELED", Failed = "FAILED", Pending = "PENDING", Printed = "PRINTED" } export type EventfullyManagedBadgeTemplate = { __typename?: 'EventfullyManagedBadgeTemplate'; accentColor?: Maybe; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; footerText?: Maybe; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; logoUrl?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; showCompany: Scalars['Boolean']['output']; showQrCode: Scalars['Boolean']['output']; showRole: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedBadgeTemplateInput = { accentColor?: InputMaybe; eventId: Scalars['ID']['input']; footerText?: InputMaybe; isDefault?: InputMaybe; logoUrl?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; showCompany?: InputMaybe; showQrCode?: InputMaybe; showRole?: InputMaybe; }; export type EventfullyManagedBadgeTemplateList = { __typename?: 'EventfullyManagedBadgeTemplateList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedCapacityRecommendation = { __typename?: 'EventfullyManagedCapacityRecommendation'; /** KEEP, MOVE_ROOM, DOWNSIZE_ROOM, RAISE_CAPACITY, ADD_REPEAT, OPEN_WAITLIST or SET_CAPACITY. */ action: Scalars['String']['output']; /** True when eventfullyManagedApplyAgendaFix can apply this recommendation. */ applyable: Scalars['Boolean']['output']; effectiveCapacity?: Maybe; high: Scalars['Int']['output']; predictedAttendance: Scalars['Int']['output']; rationale: Scalars['String']['output']; roomCapacity?: Maybe; sessionCapacity?: Maybe; sessionId: Scalars['ID']['output']; targetCapacity?: Maybe; targetVenueId?: Maybe; targetVenueName?: Maybe; title: Scalars['String']['output']; utilization?: Maybe; }; export type EventfullyManagedCapacityRightSizing = { __typename?: 'EventfullyManagedCapacityRightSizing'; coldStart: Scalars['Boolean']['output']; confidence: EventfullyManagedForecastConfidence; engine: EventfullyManagedAiDecisionEngine; eventId: Scalars['ID']['output']; recommendations: Array; }; export type EventfullyManagedCheckInRecord = { __typename?: 'EventfullyManagedCheckInRecord'; alreadyCheckedIn?: Maybe; attendeeId?: Maybe; clientScanId?: Maybe; createdAt: Scalars['DateTime']['output']; direction: Scalars['String']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; method: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; registrationId?: Maybe; sessionId?: Maybe; stationId?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedCheckInRecordInput = { attendeeId?: InputMaybe; clientScanId?: InputMaybe; direction?: InputMaybe; eventId: Scalars['ID']['input']; metadata?: InputMaybe; method?: InputMaybe; recordedAt?: InputMaybe; registrationId?: InputMaybe; sessionId?: InputMaybe; stationId?: InputMaybe; status?: InputMaybe; }; export type EventfullyManagedCheckInRecordList = { __typename?: 'EventfullyManagedCheckInRecordList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedCheckInStation = { __typename?: 'EventfullyManagedCheckInStation'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; kioskConfig?: Maybe; location?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedCheckInStationInput = { code: Scalars['String']['input']; eventId: Scalars['ID']['input']; isActive?: InputMaybe; kioskConfig?: InputMaybe; location?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; }; export type EventfullyManagedCheckInStationList = { __typename?: 'EventfullyManagedCheckInStationList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedCheckInThroughputPoint = { __typename?: 'EventfullyManagedCheckInThroughputPoint'; count: Scalars['Int']['output']; hour: Scalars['DateTime']['output']; /** BOFF-11389: the IANA zone `hour` is bucketed and should be labeled in — the event's own zone, not the viewer's browser zone. */ timezone: Scalars['String']['output']; }; export type EventfullyManagedCheckInToken = { __typename?: 'EventfullyManagedCheckInToken'; qrDataUrl: Scalars['String']['output']; registrationId: Scalars['ID']['output']; token: Scalars['String']['output']; }; export type EventfullyManagedCreateEntityTagInput = { color?: InputMaybe; label: Scalars['String']['input']; vocabularyId?: InputMaybe; }; export type EventfullyManagedCreateEventFromTemplateInput = { description?: InputMaybe; endAt?: InputMaybe; name: Scalars['String']['input']; startAt: Scalars['DateTime']['input']; templateId: Scalars['ID']['input']; }; export type EventfullyManagedCreateIntegrationConnectorInput = { /** * Private-app / API access token for the provider account. Encrypted at * rest (AES-256-GCM) immediately on write; never returned by any query. */ accessToken: Scalars['String']['input']; name: Scalars['String']['input']; provider: EventfullyManagedIntegrationProvider; }; export type EventfullyManagedCurrencyAmount = { __typename?: 'EventfullyManagedCurrencyAmount'; amount: Scalars['String']['output']; currency: Scalars['String']['output']; }; export type EventfullyManagedDashboardSummary = { __typename?: 'EventfullyManagedDashboardSummary'; activeEvents: Scalars['Int']['output']; /** BOFF-11386: live registrations (same definition as totalRegistrations) that are checked in. */ checkedInRegistrations: Scalars['Int']['output']; latestEvents: Array; /** BOFF-11386: live-registration count grouped by status; slices always sum to totalRegistrations. */ registrationsByStatus: Array; totalAttendees: Scalars['Int']['output']; totalEvents: Scalars['Int']['output']; totalRegistrations: Scalars['Int']['output']; totalSponsors: Scalars['Int']['output']; totalVenues: Scalars['Int']['output']; upcomingSessions: Scalars['Int']['output']; }; export type EventfullyManagedEnqueueBadgePrintInput = { format?: InputMaybe; registrationId: Scalars['ID']['input']; stationId?: InputMaybe; }; export type EventfullyManagedEntityTagAssignment = { __typename?: 'EventfullyManagedEntityTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; export type EventfullyManagedEntityTagInfo = { __typename?: 'EventfullyManagedEntityTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export type EventfullyManagedEvent = { __typename?: 'EventfullyManagedEvent'; capacity?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; endAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; startAt: Scalars['DateTime']['output']; status: Scalars['String']['output']; tagAssignments: Array; timezone: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibility: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * One event's revenue slice (BOFF-5891). A "refund" is a registration that was * paid (totalAmount > 0) and later cancelled — EventfullyManaged does not own * payment state, so cancellation after payment is the only refund signal here. */ export type EventfullyManagedEventFinanceBreakdown = { __typename?: 'EventfullyManagedEventFinanceBreakdown'; event: EventfullyManagedEvent; netRevenueByCurrency: Array; paidRegistrations: Scalars['Int']['output']; refundedRegistrations: Scalars['Int']['output']; refundsByCurrency: Array; revenueByCurrency: Array; }; export type EventfullyManagedEventInput = { capacity?: InputMaybe; description?: InputMaybe; endAt: Scalars['DateTime']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; startAt: Scalars['DateTime']['input']; status?: InputMaybe; timezone: Scalars['String']['input']; type: Scalars['String']['input']; visibility?: InputMaybe; }; /** * Schedule-derived lifecycle bucket of an event (BOFF-4005). UPCOMING starts in the * future, LIVE has started and not yet ended, PAST has already ended. */ export declare enum EventfullyManagedEventLifecycle { Live = "LIVE", Past = "PAST", Upcoming = "UPCOMING" } /** Number of events per lifecycle bucket, honouring the search term. */ export type EventfullyManagedEventLifecycleCounts = { __typename?: 'EventfullyManagedEventLifecycleCounts'; all: Scalars['Int']['output']; live: Scalars['Int']['output']; past: Scalars['Int']['output']; upcoming: Scalars['Int']['output']; }; export type EventfullyManagedEventList = { __typename?: 'EventfullyManagedEventList'; items: Array; total: Scalars['Int']['output']; }; /** * Organization/workspace portfolio of events (mock efm-23). Scoped to the caller's * workspace; switching organization or workspace happens in the shell context switcher. */ export type EventfullyManagedEventPortfolio = { __typename?: 'EventfullyManagedEventPortfolio'; counts: EventfullyManagedEventLifecycleCounts; items: Array; /** Events matching the lifecycle filter and search. */ total: Scalars['Int']['output']; totalCheckedIn: Scalars['Int']['output']; totalRegistrations: Scalars['Int']['output']; totalSponsors: Scalars['Int']['output']; totalVenues: Scalars['Int']['output']; }; export type EventfullyManagedEventSession = { __typename?: 'EventfullyManagedEventSession'; capacity?: Maybe; checkedInCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; endsAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; registeredCount: Scalars['Int']['output']; sessionType: Scalars['String']['output']; startsAt: Scalars['DateTime']['output']; status: Scalars['String']['output']; tagAssignments: Array; title: Scalars['String']['output']; track?: Maybe; updatedAt: Scalars['DateTime']['output']; venueId?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedEventSessionInput = { capacity?: InputMaybe; description?: InputMaybe; endsAt: Scalars['DateTime']['input']; eventId: Scalars['ID']['input']; metadata?: InputMaybe; sessionType: Scalars['String']['input']; startsAt: Scalars['DateTime']['input']; status?: InputMaybe; title: Scalars['String']['input']; track?: InputMaybe; venueId?: InputMaybe; }; export type EventfullyManagedEventSessionList = { __typename?: 'EventfullyManagedEventSessionList'; items: Array; total: Scalars['Int']['output']; }; /** * Reusable event template (BOFF-5893). The snapshot itself is not exposed over * GraphQL — it is versioned internal state consumed by * `eventfullyManagedCreateEventFromTemplate`. */ export type EventfullyManagedEventTemplate = { __typename?: 'EventfullyManagedEventTemplate'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; sourceEventId?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedEventTemplateList = { __typename?: 'EventfullyManagedEventTemplateList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedExhibitor = { __typename?: 'EventfullyManagedExhibitor'; boothCode?: Maybe; category?: Maybe; contactEmail?: Maybe; contactName?: Maybe; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; leadCount: Scalars['Int']['output']; metadata?: Maybe; name: Scalars['String']['output']; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; website?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedExhibitorInput = { boothCode?: InputMaybe; category?: InputMaybe; contactEmail?: InputMaybe; contactName?: InputMaybe; eventId: Scalars['ID']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; status?: InputMaybe; website?: InputMaybe; }; export type EventfullyManagedExhibitorList = { __typename?: 'EventfullyManagedExhibitorList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedExhibitorSummary = { __typename?: 'EventfullyManagedExhibitorSummary'; boothCount: Scalars['Int']['output']; }; /** * BOFF-11390 / BOFF-11391 — server-computed Finance aggregates, grouped by currency. * BOFF-5891 — refunds/net revenue and the per-event rollup live here too. */ export type EventfullyManagedFinanceSummary = { __typename?: 'EventfullyManagedFinanceSummary'; /** Revenue rollup for each live event in the workspace, most recent first. */ byEvent: Array; /** revenueByCurrency minus refundsByCurrency, per currency (never summed across currencies). */ netRevenueByCurrency: Array; promoCodesTotal: Scalars['Int']['output']; /** Ticket revenue given back: paid registrations later cancelled, grouped by currency. */ refundsByCurrency: Array; registrationsTotal: Scalars['Int']['output']; revenueByCurrency: Array; ticketTypesTotal: Scalars['Int']['output']; }; export type EventfullyManagedFloorPlan = { __typename?: 'EventfullyManagedFloorPlan'; createdAt: Scalars['DateTime']['output']; dimensions?: Maybe; id: Scalars['ID']['output']; imageUrl?: Maybe; interactiveAreas?: Maybe; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; venueId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedFloorPlanInput = { dimensions?: InputMaybe; imageUrl?: InputMaybe; interactiveAreas?: InputMaybe; name: Scalars['String']['input']; venueId: Scalars['ID']['input']; }; export type EventfullyManagedFloorPlanList = { __typename?: 'EventfullyManagedFloorPlanList'; items: Array; total: Scalars['Int']['output']; }; /** * Where a forecast's show rate comes from. PRIOR_ONLY means the workspace has no * past event with check-in data, so the number is a baseline assumption. */ export declare enum EventfullyManagedForecastBasis { Blended = "BLENDED", History = "HISTORY", PriorOnly = "PRIOR_ONLY" } /** How much history backs a forecast. */ export declare enum EventfullyManagedForecastConfidence { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type EventfullyManagedForecastInput = { /** * Organiser's own baseline show rate (0 to 1), used in place of the default * priors (0.8 paid, 0.55 free) wherever history is thin. */ baselineShowRate?: InputMaybe; /** How many recent past events to learn from (1 to 50, default 20). */ lookbackEvents?: InputMaybe; /** Persist the decision to AnalyticsSnapshot.data (default true). */ persist?: InputMaybe; }; /** One input the engine used, so the organiser can see why it decided. */ export type EventfullyManagedForecastSignal = { __typename?: 'EventfullyManagedForecastSignal'; detail?: Maybe; key: Scalars['String']['output']; label: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type EventfullyManagedGetEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type EventfullyManagedIntegrationConnector = { __typename?: 'EventfullyManagedIntegrationConnector'; createdAt: Scalars['DateTime']['output']; externalAccountId?: Maybe; externalAccountName?: Maybe; id: Scalars['ID']['output']; lastError?: Maybe; lastSyncedAt?: Maybe; name: Scalars['String']['output']; provider: EventfullyManagedIntegrationProvider; status: EventfullyManagedIntegrationConnectorStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EventfullyManagedIntegrationConnectorStatus { Connected = "CONNECTED", Disconnected = "DISCONNECTED", Error = "ERROR", Pending = "PENDING" } export declare enum EventfullyManagedIntegrationProvider { Hubspot = "HUBSPOT" } export type EventfullyManagedIntegrationSyncRun = { __typename?: 'EventfullyManagedIntegrationSyncRun'; completedAt?: Maybe; connectorId: Scalars['ID']['output']; errorMessage?: Maybe; eventId?: Maybe; id: Scalars['ID']['output']; /** BOFF-11398: total distinct attendee+lead contacts found for the event, across every page — not capped at 500. */ recordsConsidered: Scalars['Int']['output']; recordsFailed: Scalars['Int']['output']; recordsSynced: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: EventfullyManagedIntegrationSyncRunStatus; workspaceId: Scalars['ID']['output']; }; export declare enum EventfullyManagedIntegrationSyncRunStatus { Failed = "FAILED", /** BOFF-11398: some contacts synced, some failed, or not every contact considered could be sent. */ Partial = "PARTIAL", Running = "RUNNING", Success = "SUCCESS" } export type EventfullyManagedLead = { __typename?: 'EventfullyManagedLead'; attendeeEmail: Scalars['String']['output']; attendeeName: Scalars['String']['output']; capturedAt: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; exhibitorId?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; notes?: Maybe; score?: Maybe; sponsorId?: Maybe; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedLeadInput = { attendeeEmail: Scalars['String']['input']; attendeeName: Scalars['String']['input']; capturedAt?: InputMaybe; eventId: Scalars['ID']['input']; exhibitorId?: InputMaybe; metadata?: InputMaybe; notes?: InputMaybe; score?: InputMaybe; sponsorId?: InputMaybe; status?: InputMaybe; }; export type EventfullyManagedLeadList = { __typename?: 'EventfullyManagedLeadList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedManualCheckInInput = { attendeeId: Scalars['ID']['input']; direction?: InputMaybe; eventId: Scalars['ID']['input']; recordedAt?: InputMaybe; sessionId?: InputMaybe; stationId?: InputMaybe; }; export type EventfullyManagedMeeting = { __typename?: 'EventfullyManagedMeeting'; bookingId?: Maybe; createdAt: Scalars['DateTime']['output']; endsAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; location?: Maybe; metadata?: Maybe; notes?: Maybe; sourceProfileId?: Maybe; startsAt: Scalars['DateTime']['output']; status: Scalars['String']['output']; targetProfileId?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedMeetingInput = { bookingPageId?: InputMaybe; endsAt: Scalars['DateTime']['input']; eventId: Scalars['ID']['input']; location?: InputMaybe; metadata?: InputMaybe; notes?: InputMaybe; sourceProfileId?: InputMaybe; startsAt: Scalars['DateTime']['input']; status?: InputMaybe; targetProfileId?: InputMaybe; title: Scalars['String']['input']; }; export type EventfullyManagedMeetingList = { __typename?: 'EventfullyManagedMeetingList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedNetworkingMatch = { __typename?: 'EventfullyManagedNetworkingMatch'; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; reason?: Maybe; score: Scalars['Int']['output']; sourceProfileId: Scalars['ID']['output']; status: Scalars['String']['output']; targetProfileId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Why a networking-match generation pass came back empty. Null for the plain list/suggest reads, which never set it. */ export declare enum EventfullyManagedNetworkingMatchEmptyReason { /** Enough profiles exist, but none shared an interest, ask or industry. */ NoOverlap = "NO_OVERLAP", /** Fewer than the minimum opted-in profiles exist for this event. */ TooFewProfiles = "TOO_FEW_PROFILES" } export type EventfullyManagedNetworkingMatchInput = { eventId: Scalars['ID']['input']; metadata?: InputMaybe; reason?: InputMaybe; score: Scalars['Int']['input']; sourceProfileId: Scalars['ID']['input']; status?: InputMaybe; targetProfileId: Scalars['ID']['input']; }; export type EventfullyManagedNetworkingMatchList = { __typename?: 'EventfullyManagedNetworkingMatchList'; /** BOFF-11356: only set by eventfullyManagedGenerateNetworkingMatches — the matching cap, when more eligible profiles existed than were considered. Null when nothing was capped, and for the plain list/suggest reads. */ cappedAt?: Maybe; /** BOFF-11356/BOFF-11359: only set by eventfullyManagedGenerateNetworkingMatches — how many opted-in profiles were actually scored (after the matching cap). Null for the plain list/suggest reads. */ consideredCount?: Maybe; /** BOFF-11359: only set by eventfullyManagedGenerateNetworkingMatches — why `items` is empty. Null when `items` is non-empty, and for the plain list/suggest reads. */ emptyReason?: Maybe; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedNetworkingProfile = { __typename?: 'EventfullyManagedNetworkingProfile'; attendeeId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; industry?: Maybe; interests: Array; lookingFor: Array; metadata?: Maybe; role?: Maybe; updatedAt: Scalars['DateTime']['output']; visibility: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedNetworkingProfileInput = { attendeeId: Scalars['ID']['input']; eventId: Scalars['ID']['input']; industry?: InputMaybe; interests?: InputMaybe>; lookingFor?: InputMaybe>; metadata?: InputMaybe; role?: InputMaybe; visibility?: InputMaybe; }; export type EventfullyManagedNetworkingProfileList = { __typename?: 'EventfullyManagedNetworkingProfileList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedNoShowPrediction = { __typename?: 'EventfullyManagedNoShowPrediction'; coldStart: Scalars['Boolean']['output']; coldStartReason?: Maybe; confidence: EventfullyManagedForecastConfidence; engine: EventfullyManagedAiDecisionEngine; eventId: Scalars['ID']['output']; eventNoShowRate: Scalars['Float']['output']; sessions: Array; }; /** One event in the multi-event portfolio with its live registration stats. */ export type EventfullyManagedPortfolioEvent = { __typename?: 'EventfullyManagedPortfolioEvent'; /** checkedIn / registrations in the range 0..1; null when the event has no registrations. */ checkInRate?: Maybe; /** Active registrations that have checked in. */ checkedIn: Scalars['Int']['output']; event: EventfullyManagedEvent; lifecycle: EventfullyManagedEventLifecycle; /** Active (non-cancelled) registrations for the event. */ registrations: Scalars['Int']['output']; venueId?: Maybe; venueName?: Maybe; }; export type EventfullyManagedPromoCode = { __typename?: 'EventfullyManagedPromoCode'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; discountType: Scalars['String']['output']; discountValue: Scalars['String']['output']; endsAt?: Maybe; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; maxUses?: Maybe; metadata?: Maybe; startsAt?: Maybe; updatedAt: Scalars['DateTime']['output']; usedCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedPromoCodeInput = { code: Scalars['String']['input']; description?: InputMaybe; discountType: Scalars['String']['input']; discountValue: Scalars['String']['input']; endsAt?: InputMaybe; eventId: Scalars['ID']['input']; isActive?: InputMaybe; maxUses?: InputMaybe; metadata?: InputMaybe; startsAt?: InputMaybe; }; export type EventfullyManagedPromoCodeList = { __typename?: 'EventfullyManagedPromoCodeList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedQuotaCountMetric = { __typename?: 'EventfullyManagedQuotaCountMetric'; currentValue: Scalars['Int']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedRegistration = { __typename?: 'EventfullyManagedRegistration'; attendeeId?: Maybe; /** * BOFF-11392 — the attendee's full name at query time, resolved from the * relation. Null when the registration has no attendee (e.g. attendeeId was * never set, or the attendee record was removed). */ attendeeName?: Maybe; billingOrderId?: Maybe; checkedInAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; promoCodeId?: Maybe; quantity: Scalars['Int']['output']; registeredAt: Scalars['DateTime']['output']; status: Scalars['String']['output']; ticketTypeId?: Maybe; totalAmount?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedRegistrationInput = { attendeeId?: InputMaybe; billingAccountId?: InputMaybe; currency?: InputMaybe; eventId: Scalars['ID']['input']; metadata?: InputMaybe; promoCode?: InputMaybe; quantity?: InputMaybe; status?: InputMaybe; ticketTypeId?: InputMaybe; totalAmount?: InputMaybe; }; export type EventfullyManagedRegistrationList = { __typename?: 'EventfullyManagedRegistrationList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedRegistrationStatusCount = { __typename?: 'EventfullyManagedRegistrationStatusCount'; count: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type EventfullyManagedReplaceEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array; }; export type EventfullyManagedSaveEventTemplateInput = { description?: InputMaybe; eventId: Scalars['ID']['input']; name: Scalars['String']['input']; }; export type EventfullyManagedScanCheckInInput = { clientScanId?: InputMaybe; direction?: InputMaybe; method?: InputMaybe; recordedAt?: InputMaybe; sessionId?: InputMaybe; stationId?: InputMaybe; token: Scalars['String']['input']; }; export type EventfullyManagedSessionConflict = { __typename?: 'EventfullyManagedSessionConflict'; message: Scalars['String']['output']; sessionAId: Scalars['ID']['output']; sessionATitle: Scalars['String']['output']; sessionBId: Scalars['ID']['output']; sessionBTitle: Scalars['String']['output']; speakerId?: Maybe; type: Scalars['String']['output']; venueId?: Maybe; }; export type EventfullyManagedSessionForecast = { __typename?: 'EventfullyManagedSessionForecast'; /** Learned draw of this session type relative to an equal split (1 = equal share). */ captureFactor: Scalars['Float']['output']; checkedInSoFar: Scalars['Int']['output']; /** Sessions running at the same time, this one included. */ concurrency: Scalars['Int']['output']; endsAt: Scalars['DateTime']['output']; high: Scalars['Int']['output']; low: Scalars['Int']['output']; predictedAttendance: Scalars['Int']['output']; sessionId: Scalars['ID']['output']; sessionType: Scalars['String']['output']; startsAt: Scalars['DateTime']['output']; title: Scalars['String']['output']; }; export type EventfullyManagedSessionNoShow = { __typename?: 'EventfullyManagedSessionNoShow'; drivers: Array; /** The session's equal split of registrants, if everyone came. */ expectedDemand: Scalars['Int']['output']; predictedAttendance: Scalars['Int']['output']; predictedNoShowRate: Scalars['Float']['output']; sessionId: Scalars['ID']['output']; sessionType: Scalars['String']['output']; title: Scalars['String']['output']; }; /** BOFF-3764 — one ranked session for one attendee, with the explanation. */ export type EventfullyManagedSessionRecommendation = { __typename?: 'EventfullyManagedSessionRecommendation'; /** The attendee interests, asks or industry the session matched. */ matchedTopics: Array; /** Human-readable explanation of why the session was recommended. Never empty. */ reason: Scalars['String']['output']; /** 0-100 overlap score; never 0 (zero-signal sessions are not recommended). */ score: Scalars['Int']['output']; /** capacity minus current session check-ins; null when the session has no capacity. */ seatsRemaining?: Maybe; session: EventfullyManagedEventSession; }; /** * BOFF-3764 — why a session recommendation list is empty. Null whenever items * is non-empty. */ export declare enum EventfullyManagedSessionRecommendationEmptyReason { /** The attendee's profile lists no interests, asks or industry. */ NoInterests = "NO_INTERESTS", /** The attendee has no networking profile to read interests from. */ NoProfile = "NO_PROFILE", /** No upcoming session overlaps the attendee's interests. */ NoSignal = "NO_SIGNAL", /** The event has no upcoming, open sessions the attendee has not already attended. */ NoUpcomingSessions = "NO_UPCOMING_SESSIONS" } export type EventfullyManagedSessionRecommendationList = { __typename?: 'EventfullyManagedSessionRecommendationList'; emptyReason?: Maybe; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedSessionRegistration = { __typename?: 'EventfullyManagedSessionRegistration'; attendeeId?: Maybe; createdAt: Scalars['DateTime']['output']; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; registrationId: Scalars['ID']['output']; sessionId: Scalars['ID']['output']; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedSessionRegistrationList = { __typename?: 'EventfullyManagedSessionRegistrationList'; items: Array; total: Scalars['Int']['output']; }; /** Show rate for one ticket-tier x registration-lead-time cell. */ export type EventfullyManagedShowRateCell = { __typename?: 'EventfullyManagedShowRateCell'; currentRegistered: Scalars['Int']['output']; historicalAttended: Scalars['Int']['output']; historicalRegistered: Scalars['Int']['output']; /** LATE (7 days or less before the event), MID (8 to 30), EARLY (over 30) or UNKNOWN. */ leadBucket: Scalars['String']['output']; showRate: Scalars['Float']['output']; /** PAID or FREE. */ tier: Scalars['String']['output']; }; export type EventfullyManagedSimpleEntity = { __typename?: 'EventfullyManagedSimpleEntity'; createdAt: Scalars['DateTime']['output']; eventId?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; metrics?: Maybe; name?: Maybe; status?: Maybe; title?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedSimpleEntityInput = { eventId?: InputMaybe; metadata?: InputMaybe; name?: InputMaybe; status?: InputMaybe; title?: InputMaybe; }; export type EventfullyManagedSimpleEntityList = { __typename?: 'EventfullyManagedSimpleEntityList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedSpeaker = { __typename?: 'EventfullyManagedSpeaker'; avatarUrl?: Maybe; bio?: Maybe; createdAt: Scalars['DateTime']['output']; email?: Maybe; fullName: Scalars['String']['output']; id: Scalars['ID']['output']; organization?: Maybe; phone?: Maybe; socialLinks?: Maybe; tagAssignments: Array; title?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedSpeakerInput = { avatarUrl?: InputMaybe; bio?: InputMaybe; email?: InputMaybe; fullName: Scalars['String']['input']; organization?: InputMaybe; phone?: InputMaybe; socialLinks?: InputMaybe; title?: InputMaybe; }; export type EventfullyManagedSpeakerList = { __typename?: 'EventfullyManagedSpeakerList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedSponsor = { __typename?: 'EventfullyManagedSponsor'; contactEmail?: Maybe; contactName?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; /** BOFF-11363: the sponsor's contract-value currency (e.g. USD, INR, EUR). Null for sponsors saved before this field existed. */ currency?: Maybe; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; level: Scalars['String']['output']; logoUrl?: Maybe; metadata?: Maybe; metrics?: Maybe; name: Scalars['String']['output']; tagAssignments: Array; updatedAt: Scalars['DateTime']['output']; website?: Maybe; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedSponsorInput = { contactEmail?: InputMaybe; contactName?: InputMaybe; contactPhone?: InputMaybe; /** BOFF-11363: the sponsor's contract-value currency (e.g. USD, INR, EUR). */ currency?: InputMaybe; eventId: Scalars['ID']['input']; level: Scalars['String']['input']; logoUrl?: InputMaybe; metadata?: InputMaybe; metrics?: InputMaybe; name: Scalars['String']['input']; website?: InputMaybe; }; export type EventfullyManagedSponsorList = { __typename?: 'EventfullyManagedSponsorList'; items: Array; total: Scalars['Int']['output']; }; /** * One sponsor's ROI row: contract value against leads actually captured * (BOFF-5891). contractValue/leadsTarget come from the sponsor's metrics JSON; * currency is the column added in BOFF-11363 (null for older sponsors). */ export type EventfullyManagedSponsorRoi = { __typename?: 'EventfullyManagedSponsorRoi'; contractValue: Scalars['Float']['output']; /** contractValue / leadsCaptured; null when no leads were captured. */ costPerLead?: Maybe; /** Null for sponsors saved before BOFF-11363 added currency. */ currency?: Maybe; leadsCaptured: Scalars['Int']['output']; leadsTarget: Scalars['Float']['output']; level: Scalars['String']['output']; name: Scalars['String']['output']; sponsorId: Scalars['ID']['output']; }; export type EventfullyManagedSponsorRoiReport = { __typename?: 'EventfullyManagedSponsorRoiReport'; /** Contract value and leads target grouped by currency (never summed across currencies). */ byCurrency: Array; items: Array; totalLeadsCaptured: Scalars['Int']['output']; totalSponsors: Scalars['Int']['output']; }; /** One currency's slice of the sponsor portfolio (BOFF-11362/BOFF-11363). */ export type EventfullyManagedSponsorsCurrencyTotal = { __typename?: 'EventfullyManagedSponsorsCurrencyTotal'; contractValue: Scalars['Float']['output']; count: Scalars['Int']['output']; /** Null for sponsors saved before BOFF-11363 added currency. */ currency?: Maybe; leadsTarget: Scalars['Float']['output']; }; /** Real server-side portfolio totals, computed over every matching sponsor (not just the current page) and grouped by currency instead of summed blindly. */ export type EventfullyManagedSponsorsPortfolioTotals = { __typename?: 'EventfullyManagedSponsorsPortfolioTotals'; byCurrency: Array; totalSponsors: Scalars['Int']['output']; }; export type EventfullyManagedTagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe; source?: InputMaybe; tagId: Scalars['ID']['input']; }; export type EventfullyManagedTicketType = { __typename?: 'EventfullyManagedTicketType'; capacity?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe; name: Scalars['String']['output']; price: Scalars['String']['output']; salesEndAt?: Maybe; salesStartAt?: Maybe; soldCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedTicketTypeInput = { capacity?: InputMaybe; currency?: InputMaybe; description?: InputMaybe; eventId: Scalars['ID']['input']; isActive?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; price: Scalars['String']['input']; salesEndAt?: InputMaybe; salesStartAt?: InputMaybe; }; export type EventfullyManagedTicketTypeList = { __typename?: 'EventfullyManagedTicketTypeList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedUntagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type EventfullyManagedVenue = { __typename?: 'EventfullyManagedVenue'; addressLine1?: Maybe; amenities: Array; capacity?: Maybe; city?: Maybe; country?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; openingHours?: Maybe; postalCode?: Maybe; pricing?: Maybe; state?: Maybe; status: Scalars['String']['output']; tagAssignments: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type EventfullyManagedVenueInput = { addressLine1?: InputMaybe; amenities?: InputMaybe>; capacity?: InputMaybe; city?: InputMaybe; country?: InputMaybe; description?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; openingHours?: InputMaybe; postalCode?: InputMaybe; pricing?: InputMaybe; state?: InputMaybe; status?: InputMaybe; }; export type EventfullyManagedVenueList = { __typename?: 'EventfullyManagedVenueList'; items: Array; total: Scalars['Int']['output']; }; export type EventfullyManagedVirtualParticipant = { __typename?: 'EventfullyManagedVirtualParticipant'; actorId: Scalars['ID']['output']; id: Scalars['ID']['output']; joinedAt: Scalars['DateTime']['output']; leftAt?: Maybe; muted: Scalars['Boolean']['output']; role: EventfullyManagedVirtualParticipantRole; sessionId: Scalars['ID']['output']; videoEnabled: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EventfullyManagedVirtualParticipantRole { Attendee = "ATTENDEE", Host = "HOST", Presenter = "PRESENTER" } export type EventfullyManagedVirtualSession = { __typename?: 'EventfullyManagedVirtualSession'; createdAt: Scalars['DateTime']['output']; endedAt?: Maybe; eventId: Scalars['ID']['output']; eventSessionId?: Maybe; hostId: Scalars['ID']['output']; id: Scalars['ID']['output']; maxParticipants: Scalars['Int']['output']; mode: EventfullyManagedVirtualSessionMode; participantCount: Scalars['Int']['output']; participants: Array; startedAt: Scalars['DateTime']['output']; status: EventfullyManagedVirtualSessionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum EventfullyManagedVirtualSessionMode { Meeting = "MEETING", Webinar = "WEBINAR" } export declare enum EventfullyManagedVirtualSessionStatus { Active = "ACTIVE", Ended = "ENDED" } /** * A relayed WebRTC signaling message (SDP offer/answer or ICE candidate). * Never persisted — delivered live to the addressed participant only. */ export type EventfullyManagedVirtualSignal = { __typename?: 'EventfullyManagedVirtualSignal'; fromActorId: Scalars['ID']['output']; payload: Scalars['JSON']['output']; sessionId: Scalars['ID']['output']; signalType: EventfullyManagedVirtualSignalType; toActorId: Scalars['ID']['output']; }; export declare enum EventfullyManagedVirtualSignalType { Answer = "ANSWER", IceCandidate = "ICE_CANDIDATE", Offer = "OFFER" } export type ExecuteActionInput = { agentId?: InputMaybe; environmentVariables?: InputMaybe; triggerSource?: InputMaybe; }; export type ExecutePipelineInput = { inputData?: InputMaybe; pipelineId: Scalars['ID']['input']; }; /** * Input for a node-level TEST execution. `sourceRunId` is optional: when omitted, * the service selects the latest compatible TEST run in this workspace and * workflow version. No PRODUCTION run is implicitly used as a data cache. */ export type ExecuteStepInput = { nodeId: Scalars['String']['input']; sourceRunId?: InputMaybe; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * A node-level TEST execution plan. Reused states are copied into the new run; * only `executeNodeIds` are dispatched to the worker. This is intentionally * separate from `RunFromNodeInput`, whose semantics include all downstream nodes. */ export type ExecuteStepPlan = { __typename?: 'ExecuteStepPlan'; blockers: Array; executeNodeIds: Array; initialNodeIds: Array; pinnedNodeIds: Array; reusedNodeIds: Array; sourceRunId?: Maybe; targetNodeId: Scalars['String']['output']; }; /** * Result of the n8n-style Execute step action. The run is always TEST mode and * is never a production trigger or a production quota event. */ export type ExecuteStepResponse = { __typename?: 'ExecuteStepResponse'; plan: ExecuteStepPlan; runId: Scalars['ID']['output']; status: Scalars['String']['output']; triggerNodeId: Scalars['String']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export type ExecuteSyncResult = { __typename?: 'ExecuteSyncResult'; eventsAdded?: Maybe; eventsDeleted?: Maybe; eventsUpdated?: Maybe; message?: Maybe; success: Scalars['Boolean']['output']; syncId?: Maybe; }; export type ExecuteTransformInput = { /** The transform expression. */ expression: Scalars['String']['input']; /** Bounded JSON input the transform runs against. */ input?: InputMaybe; /** Approved transform engine, e.g. "jsonata". */ transformType: Scalars['String']['input']; /** Optional workspace scoping/audit hint. */ workspaceId?: InputMaybe; }; export type Execution = { __typename?: 'Execution'; agentId?: Maybe; appId?: Maybe; completedAt?: Maybe; /** Set when a RETENTION policy erased this run's input, output and error payloads */ contentPurgedAt?: Maybe; conversationId?: Maybe; cost?: Maybe; createdAt: Scalars['DateTime']['output']; duration?: Maybe; errorCode?: Maybe; errorDetails?: Maybe; errorMessage?: Maybe; id: Scalars['ID']['output']; input: Scalars['String']['output']; metadata?: Maybe; output?: Maybe; status: ExecutionStatus; tokensUsed?: Maybe; toolCalls?: Maybe; type: ExecutionType; workspaceId: Scalars['ID']['output']; }; export type ExecutionFilterInput = { agentId?: InputMaybe; appId?: InputMaybe; conversationId?: InputMaybe; status?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; /** How a run executes. */ export declare enum ExecutionKind { /** A workflow function of a code bundle, replayed from its event history. */ DurableFn = "DURABLE_FN", /** The canvas: one job per node visit. */ Graph = "GRAPH" } export type ExecutionMetrics = { __typename?: 'ExecutionMetrics'; cost: Scalars['Float']['output']; executionId: Scalars['ID']['output']; inputTokens: Scalars['Int']['output']; outputTokens: Scalars['Int']['output']; ragChunks: Scalars['Int']['output']; toolCalls: Scalars['Int']['output']; totalTokens: Scalars['Int']['output']; }; export type ExecutionMetricsFilterInput = { agentId?: InputMaybe; appId?: InputMaybe; endDate?: InputMaybe; startDate?: InputMaybe; workspaceId?: InputMaybe; }; export declare enum ExecutionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING", Timeout = "TIMEOUT" } export declare enum ExecutionType { Agent = "AGENT", App = "APP", Workflow = "WORKFLOW" } export type ExecutionUpdate = { __typename?: 'ExecutionUpdate'; duration?: Maybe; error?: Maybe; executionId: Scalars['ID']['output']; output?: Maybe; progress?: Maybe; scheduleId: Scalars['ID']['output']; status: JobStatus; success: Scalars['Boolean']['output']; timestamp: Scalars['DateTime']['output']; }; export declare enum ExecutorType { Graphql = "GRAPHQL", InternalApi = "INTERNAL_API", NatsTopic = "NATS_TOPIC", Webhook = "WEBHOOK" } export type ExpenseEntry = { __typename?: 'ExpenseEntry'; amount: Scalars['Float']['output']; approvedAt?: Maybe; approvedBy?: Maybe; category: Scalars['String']['output']; context?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; date: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; projectId?: Maybe; /** * A presigned download URL for the receipt, resolved on-demand from * `receiptFileId` on every read (never stale, unlike the legacy `receiptUrl`). * Null when there is no receipt or the file/service is unavailable. */ receiptDownloadUrl?: Maybe; /** * Stable wspace-files File id for the uploaded receipt. Persist this instead * of a presigned URL so a fresh download link can always be minted on read. */ receiptFileId?: Maybe; /** @deprecated Presigned URLs expire after 7 days. Use receiptFileId + receiptDownloadUrl instead. */ receiptUrl?: Maybe; status: ExpenseStatus; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type ExpenseFilterInput = { category?: InputMaybe; currency?: InputMaybe; dateFrom?: InputMaybe; dateTo?: InputMaybe; maxAmount?: InputMaybe; minAmount?: InputMaybe; projectId?: InputMaybe; status?: InputMaybe; userId?: InputMaybe; }; export declare enum ExpenseOrderByField { amount = "amount", category = "category", CreatedAt = "createdAt", date = "date", status = "status", UpdatedAt = "updatedAt" } export type ExpenseOrderByInput = { direction: TimeCampusSortDirection; field: ExpenseOrderByField; }; export type ExpenseStats = { __typename?: 'ExpenseStats'; approvedCount: Scalars['Int']['output']; averageAmount: Scalars['Float']['output']; byCategory?: Maybe; pendingCount: Scalars['Int']['output']; totalAmount: Scalars['Float']['output']; totalExpenses: Scalars['Int']['output']; }; export declare enum ExpenseStatus { Approved = "APPROVED", Pending = "PENDING", Reimbursed = "REIMBURSED", Rejected = "REJECTED" } export type Expert = { __typename?: 'Expert'; availability: Scalars['String']['output']; experience: Scalars['Int']['output']; hourlyRate: Scalars['Float']['output']; id: Scalars['ID']['output']; languages: Array; location: Scalars['String']['output']; name: Scalars['String']['output']; rating: Scalars['Float']['output']; reviews: Scalars['Int']['output']; specialization: Scalars['String']['output']; }; /** A connection that needs attention soon. Metadata only; never a token. */ export type ExpiringConnection = { __typename?: 'ExpiringConnection'; expiresAt?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; providerKey?: Maybe; providerName?: Maybe; reason: ConnectionExpiryReason; status: ConnectionStatus; }; export declare enum ExportArchiveFormat { Zip = "ZIP" } export type ExportAvailableEntity = { __typename?: 'ExportAvailableEntity'; description?: Maybe; displayName: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; entityType: Scalars['String']['output']; estimatedSize?: Maybe; supportsDateRange: Scalars['Boolean']['output']; supportsMediaExport: Scalars['Boolean']['output']; }; export type ExportAvailableEntityConnection = { __typename?: 'ExportAvailableEntityConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type ExportAvailableEntityEdge = { __typename?: 'ExportAvailableEntityEdge'; cursor: Scalars['String']['output']; node: ExportAvailableEntity; }; /** Input for exporting comments */ export type ExportCommentsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; format?: InputMaybe; includeArchived?: InputMaybe; includeDeleted?: InputMaybe; }; export type ExportCrewfoundryEntitiesInput = { /** * Explicit consent acknowledgement from the signed-in person. Required when * entityTypes includes employee, candidate or payroll records; ignored for * requests made by an app on a user's behalf, which must carry the consent in * their verified delegation instead. */ consent?: InputMaybe; entityTypes: Array; format?: CrewfoundryExportFormat; includeMetadata?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type ExportEntityConfig = { __typename?: 'ExportEntityConfig'; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe; displayName: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; entityType: Scalars['String']['output']; estimatedSize?: Maybe; graphqlQuery: Scalars['String']['output']; id: Scalars['ID']['output']; onBehalfOf?: Maybe; supportsDateRange: Scalars['Boolean']['output']; supportsMediaExport: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export declare enum ExportFormat { Csv = "CSV", Json = "JSON" } export type ExportGgnomadEntitiesInput = { entityTypes: Array; format?: GgnomadExportFormat; includeMetadata?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type ExportHeadshotmarketingEntitiesInput = { entityTypes: Array; format?: HeadshotmarketingExportFormat; includeMetadata?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type ExportJob = { __typename?: 'ExportJob'; archiveFileId?: Maybe; archiveFormat: ExportArchiveFormat; chunkSizeBytes: Scalars['BigInt']['output']; completedAt?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; dateRangeEnd?: Maybe; dateRangeStart?: Maybe; description?: Maybe; downloadExpiresAt?: Maybe; downloadUrl?: Maybe; entityFilters?: Maybe; entityTypes: Array; errorCode?: Maybe; errorMessage?: Maybe; expiresAt?: Maybe; exportScope: ExportScope; format: ExportFormat; id: Scalars['ID']['output']; includeMedia: Scalars['Boolean']['output']; includeMetadata: Scalars['Boolean']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe; organizationId?: Maybe; parts: Array; processedEntities: Scalars['Int']['output']; progress: Scalars['Int']['output']; startedAt?: Maybe; status: ExportJobStatus; targetWorkspaceIds: Array; template?: Maybe; templateId?: Maybe; temporalWorkflowId?: Maybe; tenantId?: Maybe; totalEntities: Scalars['Int']['output']; totalSizeBytes: Scalars['BigInt']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ExportJobConnection = { __typename?: 'ExportJobConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type ExportJobEdge = { __typename?: 'ExportJobEdge'; cursor: Scalars['String']['output']; node: ExportJob; }; export type ExportJobFilterInput = { context?: InputMaybe; dateFrom?: InputMaybe; dateTo?: InputMaybe; entityTypes?: InputMaybe>; format?: InputMaybe; search?: InputMaybe; status?: InputMaybe>; }; export type ExportJobResponse = { __typename?: 'ExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ExportJobStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Created = "CREATED", Deleted = "DELETED", Expired = "EXPIRED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING" } export type ExportMtwEntitiesInput = { entityTypes: Array; format?: MtwExportFormat; includeMetadata?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** * Options for exportWorkflow. They apply to the TYPESCRIPT and PYTHON formats; a JSON export is * the stored document and ignores them. */ export type ExportOptionsInput = { /** * Connection names, as an object mapping connectionId to name. The service does not read the * integrations service on the caller's behalf: the CLI and the builder list the workspace's * connections with the caller's own permissions and pass the names here. */ connectionNameMap?: InputMaybe; /** * Write `connection: ''` instead of the connection id for every connection named in * `connectionNameMap`. False keeps every id. A connection without a known name always keeps its * id (fidelity item connection-id-only, still lossless). */ connectionNames?: InputMaybe; /** Write the layout sidecar `workflows/.layout.json`. Without it node positions are lost (lossy). */ includeLayout?: InputMaybe; /** Write pinned TEST data to `workflows/.pinned.json`. Without it pinned data is left out (lossy when present). */ includePinnedData?: InputMaybe; }; export type ExportPaginationInput = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; sortDirection?: InputMaybe; }; export type ExportPart = { __typename?: 'ExportPart'; checksum?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; downloadExpiresAt?: Maybe; downloadUrl?: Maybe; entityTypes: Array; fileId?: Maybe; fileName: Scalars['String']['output']; id: Scalars['ID']['output']; jobId: Scalars['ID']['output']; partNumber: Scalars['Int']['output']; sizeBytes: Scalars['BigInt']['output']; updatedAt: Scalars['DateTime']['output']; }; /** Export schedule configuration */ export type ExportSchedule = { __typename?: 'ExportSchedule'; /** Cron expression */ cron: Scalars['String']['output']; /** Timezone for schedule */ timezone: Scalars['String']['output']; }; /** Input for export schedule */ export type ExportScheduleInput = { /** Cron expression */ cron: Scalars['String']['input']; /** Timezone for schedule */ timezone: Scalars['String']['input']; }; export declare enum ExportScope { Individual = "INDIVIDUAL", OrgAdmin = "ORG_ADMIN", WorkspaceAdmin = "WORKSPACE_ADMIN" } export declare enum ExportSortField { CreatedAt = "CREATED_AT", Name = "NAME", Status = "STATUS", TotalSizeBytes = "TOTAL_SIZE_BYTES", UpdatedAt = "UPDATED_AT" } export type ExportTemplate = { __typename?: 'ExportTemplate'; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe; entityFilters?: Maybe; entityTypes: Array; format: ExportFormat; id: Scalars['ID']['output']; includeMedia: Scalars['Boolean']['output']; includeMetadata: Scalars['Boolean']['output']; isDefault: Scalars['Boolean']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe; tenantId?: Maybe; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type ExportTemplateConnection = { __typename?: 'ExportTemplateConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type ExportTemplateEdge = { __typename?: 'ExportTemplateEdge'; cursor: Scalars['String']['output']; node: ExportTemplate; }; export type ExportTimeCampusEntitiesInput = { /** Inclusive upper bound on the record date, for entity types that support it. */ dateRangeEnd?: InputMaybe; /** Inclusive lower bound on the record date, for entity types that support it. */ dateRangeStart?: InputMaybe; /** TimeCampus entity types to export, e.g. `timecampus_time_entries`. */ entityTypes: Array; format?: TimeCampusExportFormat; includeMetadata?: InputMaybe; /** Human-readable job name shown in export history (max 120 characters). */ name?: InputMaybe; /** * Ignored. The workspace always comes from the verified request context; the * field stays only so existing callers keep validating. */ workspaceId?: InputMaybe; }; export type ExportTimeCampusUserDataInput = { entityTypes: Array; format?: TimeCampusExportFormat; includeMetadata?: InputMaybe; userId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * One exported file. Phase A returns every file inline in `content`; `url` (a download link for * large files) stays null until project bundles ship. */ export type ExportedFile = { __typename?: 'ExportedFile'; content?: Maybe; contentType: Scalars['String']['output']; /** Path inside a code-first project, for example `workflows/lead-enrichment.ts`. */ path: Scalars['String']['output']; url?: Maybe; }; export type ExposeConnectorOperationAsMcpToolInput = { adapter: Scalars['String']['input']; /** Required for an operation that changes data. */ allowWrite?: InputMaybe; connectionId: Scalars['String']['input']; description?: InputMaybe; enabled?: InputMaybe; /** Set to update a saved connector tool. */ id?: InputMaybe; nodeType: Scalars['String']['input']; /** Defaults to the latest version of the node. */ nodeVersion?: InputMaybe; operation: Scalars['String']['input']; toolName: Scalars['String']['input']; }; export type ExposeWorkflowAsMcpToolInput = { /** Defaults to the workflow's description. */ description?: InputMaybe; enabled?: InputMaybe; /** Defaults to a name derived from the workflow's name. */ toolName?: InputMaybe; workflowKey: Scalars['String']['input']; }; export type ExtendLockInput = { /** Additional seconds to extend (max: 86400) */ additionalSeconds: Scalars['Int']['input']; /** Lock ID to extend */ lockId: Scalars['ID']['input']; }; export type ExternalCalendarSync = { __typename?: 'ExternalCalendarSync'; accessToken?: Maybe; calendar?: Maybe; calendarId: Scalars['String']['output']; conflictResolution: ConflictResolution; createdAt: Scalars['DateTime']['output']; direction: ExternalCalendarSyncDirection; externalCalendarId: Scalars['String']['output']; externalCalendarName?: Maybe; failedEventCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lastSyncAt?: Maybe; lastSyncError?: Maybe; lastSyncStatus?: Maybe; metadata?: Maybe; nextSyncAt?: Maybe; provider: SyncProvider; refreshToken?: Maybe; status: ExternalCalendarSyncStatus; syncEnabled: Scalars['Boolean']['output']; syncFrequency: Scalars['Int']['output']; syncedEventCount: Scalars['Int']['output']; tokenExpiresAt?: Maybe; updatedAt: Scalars['DateTime']['output']; userId: Scalars['String']['output']; }; export type ExternalCalendarSyncConnection = { __typename?: 'ExternalCalendarSyncConnection'; hasMore: Scalars['Boolean']['output']; syncs: Array; total: Scalars['Int']['output']; }; export declare enum ExternalCalendarSyncDirection { OneWayFromExternal = "ONE_WAY_FROM_EXTERNAL", OneWayToExternal = "ONE_WAY_TO_EXTERNAL", TwoWay = "TWO_WAY" } export declare enum ExternalCalendarSyncStatus { Active = "ACTIVE", Disconnected = "DISCONNECTED", Error = "ERROR", Paused = "PAUSED" } /** A mapping between a PlanMagnet entity and its external counterpart. */ export type ExternalMapping = { __typename?: 'ExternalMapping'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** External entity ID */ externalId: Scalars['String']['output']; /** External entity type */ externalType: Scalars['String']['output']; /** External entity URL */ externalUrl?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Internal entity ID */ internalId: Scalars['String']['output']; /** Internal entity type (e.g. 'workitem', 'sprint', 'project') */ internalType: Scalars['String']['output']; /** Last sync direction for this mapping */ lastSyncDirection?: Maybe; /** Last synced timestamp */ lastSyncedAt?: Maybe; /** Arbitrary metadata */ metadata?: Maybe; /** Parent sync */ sync?: Maybe; /** Parent sync configuration ID */ syncId: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; }; export declare enum ExternalProviderType { AwsSecretsManager = "AWS_SECRETS_MANAGER", AzureKeyVault = "AZURE_KEY_VAULT", GcpSecretManager = "GCP_SECRET_MANAGER", HashicorpVault = "HASHICORP_VAULT", /** Infisical, with a machine identity (BOFF-9741). */ Infisical = "INFISICAL", /** 1Password Connect (BOFF-9741). */ OnepasswordConnect = "ONEPASSWORD_CONNECT", Openbao = "OPENBAO" } /** Why a reference could not be resolved. */ export declare enum ExternalSecretErrorCode { AccessDenied = "ACCESS_DENIED", FieldNotFound = "FIELD_NOT_FOUND", InvalidReference = "INVALID_REFERENCE", ProviderNotFound = "PROVIDER_NOT_FOUND", ProviderUnavailable = "PROVIDER_UNAVAILABLE", SecretNotFound = "SECRET_NOT_FOUND" } /** * Whoever saved the connection that holds the references. A provider resolves only for someone * who can view the vault it belongs to. */ export type ExternalSecretPrincipalInput = { actorId: Scalars['ID']['input']; actorType: Scalars['String']['input']; }; /** A provider that connection fields can reference. */ export type ExternalSecretProvider = { __typename?: 'ExternalSecretProvider'; displayName: Scalars['String']['output']; providerType: ExternalProviderType; referenceKey: Scalars['String']['output']; vaultId: Scalars['ID']['output']; }; export type ExternalSecretReferenceInput = { /** One field of a JSON or multi-field secret. */ field?: InputMaybe; /** The provider's reference key. */ key: Scalars['String']['input']; /** The secret's name at the provider. */ name: Scalars['String']['input']; }; /** A reference with its value, or the reason it has none. Only services receive these. */ export type ExternalSecretResolution = { __typename?: 'ExternalSecretResolution'; errorCode?: Maybe; errorMessage?: Maybe; field?: Maybe; key: Scalars['String']['output']; name: Scalars['String']['output']; value?: Maybe; }; /** * An external sync configuration connecting a PlanMagnet project * to an external tool for data synchronization. */ export type ExternalSync = { __typename?: 'ExternalSync'; /** * How an automatic sync run resolves a detected conflict (AUT-10). MANUAL (the default) leaves it OPEN for * planmagnetResolveSyncConflict; SOURCE_WINS/TARGET_WINS/MERGE (AUT-24) apply automatically during the run. */ conflictStrategy: PlanmagnetSyncConflictResolution; /** * Connection configuration (JSON - credentials ref, endpoint, etc.) * @deprecated(reason: "Credentials are resolved from the IntegrationConnection referenced by * integrationConnectionId; this field now carries only the non-credential planmagnet-domain fields * (owner/repo for GitHub) and will be removed after the legacy backfill (BOFF-5258).") */ connectionConfig: Scalars['JSON']['output']; /** Context information */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this sync */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe; /** Sync direction */ direction: PlanmagnetSyncDirection; /** External project/board identifier */ externalProjectId: Scalars['String']['output']; /** External project URL */ externalProjectUrl?: Maybe; /** Field mapping configuration */ fieldMapping?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** * Opaque reference to a wspace-integrations-svc IntegrationConnection (BOFF-5258). When set, the third-party * credential is resolved at sync time through the canonical owner's service-actor credential vault and is never * stored by PlanMagnet. Null on legacy syncs created before the reference existed. */ integrationConnectionId?: Maybe; /** Last sync error message */ lastSyncError?: Maybe; /** Last successful sync timestamp */ lastSyncedAt?: Maybe; /** Arbitrary metadata */ metadata?: Maybe; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe; /** * AUT-12 — GITHUB only: when set, a PR discovered by this sync that is MERGED and newly so moves every work item * it links to this status (through the project's normal workflow rules — a disallowed move is skipped, never * forced). Null (the default) leaves work item status alone on a merge. */ prMergedStatus?: Maybe; /** Parent project */ project?: Maybe; /** Parent project ID */ projectId: Scalars['String']['output']; /** Sync provider */ provider: PlanmagnetSyncProvider; /** * Health summary derived from this sync's run history (AUT-22/09): last run time/status, how many consecutive * runs have failed (0 once the most recent run succeeded or was partial), and how many runs happened in the * last 7 days. */ runHealth: PlanmagnetSyncRunHealth; /** Current sync status */ status: PlanmagnetSyncStatus; /** Sync filter rules (which items to sync) */ syncFilters?: Maybe; /** Total items synced */ totalItemsSynced: Scalars['Int']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this sync */ updatedBy?: Maybe; /** * AUT-02 — whether the inbound GitHub webhook receiver accepts deliveries for this sync. Turned on (and rotated) * by planmagnetEnableSyncWebhook, off by planmagnetDisableSyncWebhook. */ webhookEnabled: Scalars['Boolean']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** Per-node failure aggregate for the Error Analytics screen (BOFF-7519). */ export type FailingNodeStat = { __typename?: 'FailingNodeStat'; failureCount: Scalars['Int']['output']; failureRate: Scalars['Float']['output']; nodeType: Scalars['String']['output']; /** * One representative error message from this node's most recent failure, so * the screen has something concrete to show without a drill-down. */ sampleError?: Maybe; totalExecutions: Scalars['Int']['output']; }; /** * Per-workflow failure aggregate for the Insights/Error Analytics screens * (BOFF-7519). */ export type FailingWorkflowStat = { __typename?: 'FailingWorkflowStat'; failureCount: Scalars['Int']['output']; failureRate: Scalars['Float']['output']; name?: Maybe; totalRuns: Scalars['Int']['output']; workflowKey: Scalars['String']['output']; }; export type Farm = { __typename?: 'Farm'; areaUnit: Scalars['String']['output']; /** * GeoJSON polygon describing the farm's outline on the Field Map (BOFF-6101). * Same shape as Field.boundary / Bed.boundary. Null when never drawn. */ boundary?: Maybe; certificationBody?: Maybe; certificationDate?: Maybe; id: Scalars['ID']['output']; imageIds: Array; /** * Farm centre latitude, read back from `Farm.coordinates` (BOFF-6122). Null when the farm * has no stored pin — the weather read then geocodes `location` instead. * CreateFarmInput/UpdateFarmInput have accepted this pair since the weather work; exposing it * here is what makes a stored coordinate visible and re-editable rather than write-only. */ latitude?: Maybe; location: Scalars['String']['output']; /** Farm centre longitude. See `latitude`; the two are always written and cleared together. */ longitude?: Maybe; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; owner: Scalars['String']['output']; totalArea: Scalars['Float']['output']; }; export type FarmEvent = { __typename?: 'FarmEvent'; attendees: Scalars['Int']['output']; date: Scalars['String']['output']; description: Scalars['String']['output']; fee: Scalars['Float']['output']; id: Scalars['ID']['output']; location: Scalars['String']['output']; maxCapacity: Scalars['Int']['output']; mode: Scalars['String']['output']; organizer: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; export type FarmInsight = { __typename?: 'FarmInsight'; action: Scalars['String']['output']; category: Scalars['String']['output']; confidence: Scalars['Float']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; title: Scalars['String']['output']; }; /** * A product feature request capturing ideas, customer feedback, * and implementation priority. */ export type FeatureRequest = { __typename?: 'FeatureRequest'; /** Business value score, a whole number from 0 to 100 */ businessValue?: Maybe; /** * CWF-15: a freeform category for this request (e.g. "bug", "ui", "performance"). Null when never set. An * existing, previously-unexposed column — no fixed vocabulary; the UI may offer suggestions but the server * accepts any non-empty string. */ category?: Maybe; /** Competitors offering this feature */ competitors: Array; /** RICE confidence score 1-10 (PRM-26): how sure the reach/impact estimates are. Null when never set. */ confidence?: Maybe; /** Context information */ context?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** * Actor who created this request. CWF-15: redacted the same way as `submittedBy` for a non-moderator caller * when `isAnonymous` is true — this column otherwise mirrors the real requester exactly, so leaving it * unredacted would expose the identity `submittedBy` just hid. */ createdBy: Scalars['String']['output']; /** Why it was declined (set by planmagnetDeclineFeatureRequest) */ declineReason?: Maybe; /** Soft-delete timestamp */ deletedAt?: Maybe; /** Detailed description */ description?: Maybe; /** The original this request was merged into, when it still exists */ duplicateOf?: Maybe; /** The original this request was merged into (status DUPLICATE) */ duplicateOfId?: Maybe; /** Effort estimate (T-shirt: XS, S, M, L, XL) */ effortEstimate?: Maybe; /** * Effort score 1-10 for Value-vs-Effort prioritization (PRM-27). Null when never set. Distinct from the * T-shirt-sized `effortEstimate` stored in metadata. */ effortScore?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** RICE impact score 1-10 (PRM-26): how much this moves the needle per person reached. Null when never set. */ impact?: Maybe; /** * CWF-15: when true, the requester is hidden from every non-moderator read — this includes `submittedBy` * below, `createdBy` and `updatedBy` (reviewed 2026-10-01: both mirror the real requester exactly whenever * it is set, so leaving them unredacted defeated the whole guarantee), and the globalSearch index. A * moderator (an actor who can delete a PlanMagnet feature request — see `planmagnetDeleteFeatureRequest`) * still sees the real requester everywhere, for abuse handling. */ isAnonymous: Scalars['Boolean']['output']; /** Kano classification (PRM-27), an alternative to RICE. Null when never set. */ kano?: Maybe; /** Arbitrary metadata */ metadata?: Maybe; /** MoSCoW classification (PRM-27), an alternative to RICE. Null when never set. */ moscow?: Maybe; /** * Actor on whose behalf this was created. Not populated by the feature-request create/update path today, so * CWF-15's anonymity flag has nothing to redact here yet. */ onBehalfOf?: Maybe; /** Priority score (computed from votes and business value) */ priorityScore?: Maybe; /** The linked Product, when set. */ product?: Maybe; /** PRM-01: the linked product feature — null when none is linked or it was deleted. */ productFeature?: Maybe; /** * PRM-01: id of the product feature (PlanmagnetProductFeature) that addresses this request, when one was linked * (planmagnetLinkFeatureRequestToProductFeature). Null otherwise — a request is never converted into a feature. A * request and its feature stay in one product: linking accepts only a feature of the request's own product when it has * one, and while this is set the request's productId can only be set to that feature's product, or cleared. */ productFeatureId?: Maybe; /** Linked strategic Product (BOFF-8045). Null when never attached. */ productId?: Maybe; /** Parent project ID */ projectId?: Maybe; /** * CWF-15: structured-feedback rating, 1-5. Null when never set. Distinct from PRM-27's valueScore/effortScore * (prioritization inputs) and from voteCount (how many people want it) — this is the submitter's own * satisfaction/quality rating of the idea. */ rating?: Maybe; /** * RICE reach score 1-10 (PRM-26): how many people/customers this reaches in the target period. Null when * never set. */ reach?: Maybe; /** * RICE score (PRM-26), computed server-side as (reach * impact * confidence) / effortScore — never stored. * Null when any of reach/impact/confidence/effortScore is unset or any of reach/impact/confidence/effortScore * is 0 (see utils/prioritization.ts#computeRiceScore) — never a fabricated value. */ riceScore?: Maybe; /** The linked roadmap initiative — null when it was deleted or its roadmap was. */ roadmapItem?: Maybe; /** The roadmap initiative that addresses this request (PRM-24). Null when not linked. */ roadmapItemId?: Maybe; /** Hidden from the triage queue until this moment (set by planmagnetSnoozeFeatureRequest); still SUBMITTED */ snoozedUntil?: Maybe; /** Current status */ status: FeatureRequestStatus; /** * Submitter actor ID. CWF-15: reads as "anonymous" instead of the real actor id for a non-moderator caller when * `isAnonymous` is true — see that field. Never null (SDL contract unchanged), so an anonymous read gets this * sentinel string rather than an absent value. */ submittedBy: Scalars['String']['output']; /** Tags for categorization */ tags: Array; /** Feature title */ title: Scalars['String']['output']; /** When accept, decline or merge decided this request */ triagedAt?: Maybe; /** Who accepted, declined or merged this request */ triagedBy?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** * Actor who last updated this request. CWF-15: redacted like `createdBy` above when set and `isAnonymous` is * true; stays null (not the redaction sentinel) when the request was never edited. */ updatedBy?: Maybe; /** * Value-vs-Effort quadrant, computed server-side from valueScore/effortScore (PRM-27) — never stored. Null * unless both scores are set. See PlanmagnetValueEffortQuadrant for the boundaries. */ valueEffortQuadrant?: Maybe; /** * Value score 1-10 for Value-vs-Effort prioritization (PRM-27). Null when never set. Distinct from the * 0-100 `businessValue` stored in metadata — a separate explicit column, not a migration of it. */ valueScore?: Maybe; /** * CWF-15 (follow-up): true when the calling actor (from context — never an argument) has a live vote on this * request. Lets the client answer "have I voted" after a reload without comparing against `votes[].voterId`, * which an anonymous own-vote reads as the "anonymous" sentinel (see `viewerVote`). Computed per request, * batched across a list (one query for the whole page, not one per request). */ viewerHasVoted: Scalars['Boolean']['output']; /** * CWF-15 (follow-up): the calling actor's OWN vote on this request — with their real `voterId` and this * vote's actual `isAnonymous` flag, never redacted regardless of that flag or the caller's moderator status. * Null when they have not voted. Scoped to the actor from context only; nobody else's vote, and nobody else's * redaction, is affected by this field. */ viewerVote?: Maybe; /** Total vote count */ voteCount: Scalars['Int']['output']; /** Rank by votes among the workspace's live requests (1 = most votes; ties share a rank) */ voteRank: Scalars['Int']['output']; /** Votes on this feature */ votes: Array; /** Linked work item ID */ workItemId?: Maybe; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum FeatureRequestStatus { Completed = "COMPLETED", Declined = "DECLINED", Duplicate = "DUPLICATE", InProgress = "IN_PROGRESS", Planned = "PLANNED", Submitted = "SUBMITTED", UnderReview = "UNDER_REVIEW" } /** A vote cast on a feature request. */ export type FeatureVote = { __typename?: 'FeatureVote'; /** Optional comment */ comment?: Maybe; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Parent feature request ID */ featureRequestId: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** * CWF-15: when true, this vote's `voterId` is hidden from non-moderator reads. Independent of the parent * FeatureRequest's `isAnonymous` — a named request can still receive anonymous votes, and vice versa. */ isAnonymous: Scalars['Boolean']['output']; /** * Voter actor ID. CWF-15: reads as "anonymous" instead of the real actor id for a non-moderator caller when this * vote's own `isAnonymous` is true — independent of the parent FeatureRequest's `isAnonymous`. Never null. */ voterId: Scalars['String']['output']; /** Vote weight (default 1) */ weight: Scalars['Int']['output']; }; export type FeedRecord = { __typename?: 'FeedRecord'; animals: Array; category: Scalars['String']['output']; cost: Scalars['Float']['output']; date: Scalars['String']['output']; feedType: Scalars['String']['output']; id: Scalars['ID']['output']; quantity: Scalars['Float']['output']; unit: Scalars['String']['output']; }; export type FgTriageFailedRunsInput = { /** New clusters handed on per tick (1-50, default 20). */ maxClusters?: InputMaybe; /** Re-read failures from this time instead of the cursor. The cursor never moves backwards. */ since?: InputMaybe; }; /** * One fidelity finding. `kind` is one of expression-verbatim, legacy-syntax, unknown-node, * connection-id-only, connection-ambiguous, raw-node, key-added, key-rewritten (the stored * definition carried another workflow's key; the export uses this workflow's key) (all * informational), and layout-omitted, pinned-data-omitted, roundtrip-mismatch, lowering-failed * (which make the export lossy). */ export type FidelityItem = { __typename?: 'FidelityItem'; detail: Scalars['String']['output']; kind: Scalars['String']['output']; nodeId?: Maybe; path?: Maybe; }; /** * LOSSLESS: lowering the exported files reproduces the definition (compared by irHash). * LOSSY: something was left out or did not round-trip; see the items. */ export declare enum FidelityLevel { Lossless = "LOSSLESS", Lossy = "LOSSY" } /** Fidelity report of an export (spec code-first 07 §2). */ export type FidelityReport = { __typename?: 'FidelityReport'; items: Array; level: FidelityLevel; }; export type Field = { __typename?: 'Field'; area: Scalars['Float']['output']; /** * GeoJSON polygon describing the field's map boundary (Field Map, Phase 1). * Stored/returned as-is. Typically a GeoJSON Polygon: * { "type": "Polygon", "coordinates": [[[lng, lat], ...]] }. * The outer ring must be closed (first point == last point). */ boundary?: Maybe; crops: Array; /** * Per-type growing geometry (BOFF-6040). The shape depends on `type`: * * * `GREENHOUSE` / `POLYTUNNEL` — `{ benchCount, benchLengthM, benchWidthM, aisleWidthM }` * * `ORCHARD` — `{ treeSpacingM, rowWidthM }` * * `INDOOR` — `{ rackCount, tiers, trayLengthM, trayWidthM }` * * `OPEN_FIELD` / `RAISED_BED` — none; they use bed geometry, unchanged * * `PASTURE` — none; grazing is a stocking rate, not a plant count * * Null on a typed field is a real state, not an error: the UI prompts for the * geometry rather than printing an open-field number that would not apply. */ growGeometry?: Maybe; id: Scalars['ID']['output']; imageIds: Array; irrigationType: Scalars['String']['output']; location?: Maybe; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; soilType: Scalars['String']['output']; status: Scalars['String']['output']; /** What kind of growing location this is. OPEN_FIELD for every field created before BOFF-5977. */ type: GrowLocationType; unit: Scalars['String']['output']; }; /** Aggregate loader for the Field Capture screen — fields for the picker plus recent observations and rollups. */ export type FieldCaptureData = { __typename?: 'FieldCaptureData'; fields: Array; recentObservations: Array; stats: FieldCaptureStats; updatedAt: Scalars['DateTime']['output']; }; export type FieldCaptureField = { __typename?: 'FieldCaptureField'; cropNames: Array; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; export type FieldCaptureStats = { __typename?: 'FieldCaptureStats'; byType: Array; observationsToday: Scalars['Int']['output']; totalObservations: Scalars['Int']['output']; }; /** Field mask strategy enumeration (v1.0) */ export declare enum FieldMaskStrategy { hash = "hash", hide = "hide", partial = "partial", redact = "redact" } /** * An offline-first field observation. One unified capture record a farmer can create * with zero connectivity, replayed idempotently when the device is back online. */ export type FieldObservation = { __typename?: 'FieldObservation'; animalTag?: Maybe; capturedAt: Scalars['DateTime']['output']; capturedOffline: Scalars['Boolean']['output']; /** Client-generated stable id — the idempotency key that prevents duplicate rows. */ clientId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; cropName?: Maybe; /** Type-specific extra fields the unified columns don't cover. */ data?: Maybe; fieldId?: Maybe; fieldName?: Maybe; gpsAccuracy?: Maybe; id: Scalars['ID']['output']; latitude?: Maybe; longitude?: Maybe; note?: Maybe; /** One of: PEST | CROP_HEALTH | SOIL | HARVEST | LIVESTOCK. */ observationType: Scalars['String']['output']; /** Opaque wspace-files-svc file ids for photos captured offline and uploaded on sync. */ photoFileIds: Array; quantity?: Maybe; severity?: Maybe; syncedAt?: Maybe; title?: Maybe; unit?: Maybe; updatedAt: Scalars['DateTime']['output']; /** Optimistic-concurrency counter — send the last-known value as `baseVersion` to detect conflicts. */ version: Scalars['Int']['output']; }; export type FieldObservationFilterInput = { fieldId?: InputMaybe; limit?: InputMaybe; /** Filter by type: PEST | CROP_HEALTH | SOIL | HARVEST | LIVESTOCK. */ observationType?: InputMaybe; offset?: InputMaybe; }; /** One queued observation replayed by the sync engine. */ export type FieldObservationSyncInput = { animalTag?: InputMaybe; /** The server version this write was based on. Omit / null for a brand-new capture. */ baseVersion?: InputMaybe; capturedAt: Scalars['DateTime']['input']; capturedOffline?: InputMaybe; /** Client-generated stable id (idempotency key). REQUIRED — same clientId ⇒ same row. */ clientId: Scalars['String']['input']; /** Optional client-computed hash of the payload (informational; the server recomputes). */ contentHash?: InputMaybe; cropName?: InputMaybe; data?: InputMaybe; fieldId?: InputMaybe; fieldName?: InputMaybe; gpsAccuracy?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; note?: InputMaybe; /** One of: PEST | CROP_HEALTH | SOIL | HARVEST | LIVESTOCK (case-insensitive). */ observationType: Scalars['String']['input']; photoFileIds?: InputMaybe>; quantity?: InputMaybe; severity?: InputMaybe; title?: InputMaybe; unit?: InputMaybe; }; export type FieldObservationSyncResult = { __typename?: 'FieldObservationSyncResult'; conflictCount: Scalars['Int']['output']; duplicateCount: Scalars['Int']['output']; failedCount: Scalars['Int']['output']; items: Array; syncedCount: Scalars['Int']['output']; }; /** Outcome of syncing one queued observation. */ export type FieldObservationSyncResultItem = { __typename?: 'FieldObservationSyncResultItem'; clientId: Scalars['String']['output']; message?: Maybe; /** The server record after a successful sync, or the current server record on conflict. */ observation?: Maybe; /** One of: SYNCED | DUPLICATE | CONFLICT | FAILED. */ outcome: Scalars['String']['output']; /** On CONFLICT, the conflicting server-side version to show side-by-side with the local copy. */ serverVersion?: Maybe; }; export type FieldObservationTypeCount = { __typename?: 'FieldObservationTypeCount'; count: Scalars['Int']['output']; observationType: Scalars['String']['output']; }; export type FieldSensorThreshold = { __typename?: 'FieldSensorThreshold'; alertChannel: Scalars['String']['output']; comparator: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; fieldId: Scalars['String']['output']; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; metric: Scalars['String']['output']; ruleKey: Scalars['String']['output']; threshold: Scalars['Float']['output']; }; export type FieldSensorThresholdRuleInput = { alertChannel?: InputMaybe; comparator: Scalars['String']['input']; enabled?: InputMaybe; metric: Scalars['String']['input']; ruleKey: Scalars['String']['input']; threshold: Scalars['Float']['input']; }; /** File type (owned by files module) */ export type File = { __typename?: 'File'; /** True only when both the service rule and the gateway RBAC rule allow the caller to copy this file (copyFile). */ canCopy?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to delete this file (deleteFile). */ canDelete?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to move this file to another folder (moveFile). */ canMove?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to read this file (getFile). It does not promise a download: getFileDownloadUrl also needs a DOWNLOAD right and an active file. */ canRead?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to share this file (shareFile, createFileShareLink). */ canShare?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to update this file (updateFile, toggleFileStarred). It does not promise restoreFile, which needs a DELETE right. */ canUpdate?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; downloadCount: Scalars['Int']['output']; downloadUrl?: Maybe; extension: Scalars['String']['output']; folder?: Maybe; folderId?: Maybe; id: Scalars['ID']['output']; /** Marketing-specific alt text for the file (decorates the canonical File). */ marketingAltText?: Maybe; /** Marketing asset category for this file. */ marketingAssetType?: Maybe; /** Marketing-specific pixel height. */ marketingHeight?: Maybe; /** Marketing-specific thumbnail URL (e.g. a CDN-derived preview). */ marketingThumbnailUrl?: Maybe; /** Marketing-specific pixel width. */ marketingWidth?: Maybe; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; /** * Permanent, non-expiring CDN URL — only set when visibility is PUBLIC. * Unlike downloadUrl (a fresh presigned URL on every query, ~1 hour TTL), * this is safe to persist and embed permanently (e.g. a product catalog * image), since it never expires and needs no re-signing. */ publicUrl?: Maybe; s3Bucket: Scalars['String']['output']; s3Key: Scalars['String']['output']; sha256Hash?: Maybe; sha256Provenance: FileSha256Provenance; shares: Array; size: Scalars['BigInt']['output']; starred: Scalars['Boolean']['output']; status: FileStatus; tagAssignments: Array; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside * `tagAssignments` (the wspace-tags-svc-backed structured view). */ tags: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; uploadedById: Scalars['ID']['output']; versions: Array; viewCount: Scalars['Int']['output']; visibility: FileVisibility; workspace: Workspace; workspaceId: Scalars['ID']['output']; }; export type FileBulkOperationResult = { __typename?: 'FileBulkOperationResult'; errors?: Maybe>; failedCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; successCount: Scalars['Int']['output']; }; export type FileContentIndex = { __typename?: 'FileContentIndex'; contentType?: Maybe; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; extractedText?: Maybe; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; indexedAt?: Maybe; language?: Maybe; lastIndexedAt?: Maybe; pageCount?: Maybe; status: ContentSearchStatus; updatedAt: Scalars['DateTime']['output']; wordCount?: Maybe; }; export type FileContentIndexList = { __typename?: 'FileContentIndexList'; hasMore: Scalars['Boolean']['output']; indexes: Array; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type FileCopiedEvent = { __typename?: 'FileCopiedEvent'; metadata?: Maybe; sourceFileId: Scalars['ID']['output']; targetFileId: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FileCreateShareInput = { accessLevel: FileShareAccessLevel; expiresAt?: InputMaybe; fileId: Scalars['ID']['input']; invitedEmail?: InputMaybe; invitedUserIds?: InputMaybe>; maxDownloads?: InputMaybe; password?: InputMaybe; shareType: FileShareType; }; export type FileDeletedEvent = { __typename?: 'FileDeletedEvent'; fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FileEvent = { __typename?: 'FileEvent'; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FileEventSubscriptionInput = { /** Optional filter by event types */ eventTypes?: InputMaybe>; /** Optional filter by specific file ID */ fileId?: InputMaybe; /** Optional filter by specific folder ID */ folderId?: InputMaybe; /** Include system events (quota warnings, cleanup, etc.) */ includeSystemEvents?: InputMaybe; }; export declare enum FileEventType { CleanupExecuted = "CLEANUP_EXECUTED", CommentAdded = "COMMENT_ADDED", CommentDeleted = "COMMENT_DELETED", CommentUpdated = "COMMENT_UPDATED", FileCopied = "FILE_COPIED", FileDeleted = "FILE_DELETED", FileDownloaded = "FILE_DOWNLOADED", FileMoved = "FILE_MOVED", FileRestored = "FILE_RESTORED", FileShared = "FILE_SHARED", FileStarred = "FILE_STARRED", FileTagged = "FILE_TAGGED", FileUnshared = "FILE_UNSHARED", FileUnstarred = "FILE_UNSTARRED", FileUntagged = "FILE_UNTAGGED", FileUpdated = "FILE_UPDATED", FileUploaded = "FILE_UPLOADED", FolderCreated = "FOLDER_CREATED", FolderDeleted = "FOLDER_DELETED", FolderMoved = "FOLDER_MOVED", FolderUpdated = "FOLDER_UPDATED", MetadataDeleted = "METADATA_DELETED", MetadataExpired = "METADATA_EXPIRED", MetadataSet = "METADATA_SET", QuotaExceeded = "QUOTA_EXCEEDED", QuotaWarning = "QUOTA_WARNING", ShareAccessed = "SHARE_ACCESSED", ShareExpired = "SHARE_EXPIRED", UserEditing = "USER_EDITING", UserLeft = "USER_LEFT", UserMentioned = "USER_MENTIONED", UserViewing = "USER_VIEWING", VersionCreated = "VERSION_CREATED", VersionRestored = "VERSION_RESTORED" } export type FileEventUnion = CleanupExecutedEvent | CommentAddedEvent | CommentDeletedEvent | CommentUpdatedEvent | FileCopiedEvent | FileDeletedEvent | FileMovedEvent | FileSharedEvent | FileUpdatedEvent | FileUploadedEvent | FolderCreatedEvent | FolderDeletedEvent | FolderMovedEvent | FolderUpdatedEvent | MetadataSetEvent | QuotaWarningEvent | UserMentionedEvent | UserPresenceEvent; export type FileFilterInput = { createdAfter?: InputMaybe; createdBefore?: InputMaybe; extensions?: InputMaybe>; maxSize?: InputMaybe; mimeTypes?: InputMaybe>; minSize?: InputMaybe; starred?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; uploadedById?: InputMaybe; visibility?: InputMaybe; }; export type FileGgnomadDamageClaimInput = { description: Scalars['String']['input']; evidenceUrls?: InputMaybe>; requestedAmount: Scalars['Float']['input']; }; export type FileHealthyBowlInsuranceClaimInput = { claimedAmount?: InputMaybe; context: ContextInput; description?: InputMaybe; documentIds?: InputMaybe>; estimatedLossPct?: InputMaybe; incidentDate: Scalars['String']['input']; /** PEST | DISEASE | FLOOD | DROUGHT | HAILSTORM | CYCLONE | FIRE | OTHER */ incidentType: Scalars['String']['input']; notifiedArea?: InputMaybe; photoIds?: InputMaybe>; policyId: Scalars['ID']['input']; }; export type FileList = { __typename?: 'FileList'; files: Array; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type FileLock = { __typename?: 'FileLock'; autoRelease: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; isExpired: Scalars['Boolean']['output']; lockType: LockType; lockedById: Scalars['ID']['output']; lockedByName?: Maybe; reason?: Maybe; releasedAt?: Maybe; releasedById?: Maybe; timeRemaining?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export type FileLockFilterInput = { expiresAfter?: InputMaybe; expiresBefore?: InputMaybe; isActive?: InputMaybe; lockType?: InputMaybe; lockedById?: InputMaybe; }; export type FileLockList = { __typename?: 'FileLockList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; locks: Array; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type FileMetadata = { __typename?: 'FileMetadata'; booleanValue?: Maybe; canDelete?: Maybe; canUpdate?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; dateValue?: Maybe; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; isPublic: Scalars['Boolean']['output']; jsonValue?: Maybe; key: Scalars['String']['output']; numberValue?: Maybe; textValue?: Maybe; updatedAt: Scalars['DateTime']['output']; urlValue?: Maybe; value: Scalars['String']['output']; valueType: MetadataValueType; }; export type FileMetadataFilterInput = { createdAfter?: InputMaybe; createdBefore?: InputMaybe; createdById?: InputMaybe; fileId?: InputMaybe; isPublic?: InputMaybe; key?: InputMaybe; valueType?: InputMaybe; }; export type FileMetadataList = { __typename?: 'FileMetadataList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; metadata: Array; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum FileMetadataSortField { CreatedAt = "CREATED_AT", Key = "KEY", UpdatedAt = "UPDATED_AT" } export type FileMovedEvent = { __typename?: 'FileMovedEvent'; fileId: Scalars['ID']['output']; metadata?: Maybe; newFolderId?: Maybe; oldFolderId?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** File permission information */ export type FilePermission = { __typename?: 'FilePermission'; /** User or group ID */ entityId: Scalars['ID']['output']; /** Entity type (user, group, etc.) */ entityType: Scalars['String']['output']; /** File ID */ fileId: Scalars['ID']['output']; /** Granted at timestamp */ grantedAt: Scalars['DateTime']['output']; /** Permission ID */ id: Scalars['ID']['output']; /** Permission type (read, write, delete, etc.) */ permissionType: Scalars['String']['output']; }; /** File permission check result */ export type FilePermissionCheckResult = { __typename?: 'FilePermissionCheckResult'; /** Whether the user has the permission */ hasPermission: Scalars['Boolean']['output']; /** Reason if permission is denied */ reason?: Maybe; }; /** * How the stored SHA256 was established. STORAGE_VERIFIED describes a full-object * checksum at upload completion, not permanent object immutability. */ export declare enum FileSha256Provenance { ClientDeclared = "CLIENT_DECLARED", None = "NONE", StorageVerified = "STORAGE_VERIFIED", Unknown = "UNKNOWN" } export type FileShare = { __typename?: 'FileShare'; accessCount: Scalars['Int']['output']; accessLevel: FileShareAccessLevel; canRevoke?: Maybe; canUpdate?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; downloadCount: Scalars['Int']['output']; expiresAt?: Maybe; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; invitedEmail?: Maybe; invitedUserIds?: Maybe>; lastAccessedAt?: Maybe; maxDownloads?: Maybe; requiresPassword: Scalars['Boolean']['output']; revokedAt?: Maybe; revokedBy?: Maybe; shareType: FileShareType; token?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export declare enum FileShareAccessLevel { Comment = "COMMENT", Download = "DOWNLOAD", Edit = "EDIT", View = "VIEW" } export type FileShareList = { __typename?: 'FileShareList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; shares: Array; total: Scalars['Int']['output']; }; export type FileShareOptionsInput = { /** Legacy access level preserved so the token-access path can issue download URLs (legacy parity). */ accessLevel?: InputMaybe; /** Optional download cap (legacy parity). */ maxDownloads?: InputMaybe; /** Optional share password (argon2id-hashed at rest, legacy parity). */ password?: InputMaybe; }; export declare enum FileShareType { EmailInvite = "EMAIL_INVITE", GroupShare = "GROUP_SHARE", PublicLink = "PUBLIC_LINK" } export type FileSharedEvent = { __typename?: 'FileSharedEvent'; accessLevel: Scalars['String']['output']; expiresAt?: Maybe; fileId: Scalars['ID']['output']; metadata?: Maybe; shareId: Scalars['ID']['output']; shareType: Scalars['String']['output']; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum FileSortField { CreatedAt = "CREATED_AT", MimeType = "MIME_TYPE", Name = "NAME", Size = "SIZE", UpdatedAt = "UPDATED_AT" } export type FileSortInput = { field: FileSortField; order: SortOrder; }; export declare enum FileStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED", Uploading = "UPLOADING" } /** * Storage identity of a File, for platform services that hold a reference to a * file they did not upload themselves (BOFF-11221). Returned only to service * actors by resolveFileStorageReference. */ export type FileStorageReference = { __typename?: 'FileStorageReference'; fileId: Scalars['ID']['output']; s3Bucket: Scalars['String']['output']; s3Key: Scalars['String']['output']; status: FileStatus; uploadedById: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** Tag assignment for a file */ export type FileTagAssignment = { __typename?: 'FileTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type FileTypeCount = { __typename?: 'FileTypeCount'; count: Scalars['Int']['output']; mimeType: Scalars['String']['output']; totalSize: Scalars['BigInt']['output']; }; export type FileUpdateShareInput = { accessLevel?: InputMaybe; expiresAt?: InputMaybe; maxDownloads?: InputMaybe; password?: InputMaybe; }; export type FileUpdatedEvent = { __typename?: 'FileUpdatedEvent'; changes: Scalars['String']['output']; fileId: Scalars['ID']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FileUploadedEvent = { __typename?: 'FileUploadedEvent'; fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; metadata?: Maybe; mimeType: Scalars['String']['output']; size: Scalars['BigInt']['output']; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FileVersion = { __typename?: 'FileVersion'; changeMessage?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe; file: File; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; isCurrentVersion: Scalars['Boolean']['output']; isMajorVersion: Scalars['Boolean']['output']; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; s3Bucket: Scalars['String']['output']; s3Key: Scalars['String']['output']; sha256Hash?: Maybe; sha256Provenance: FileSha256Provenance; size: Scalars['BigInt']['output']; versionLabel?: Maybe; versionNumber: Scalars['Int']['output']; }; export type FileVersionComparison = { __typename?: 'FileVersionComparison'; contentDiff: Scalars['Boolean']['output']; nameDiff: Scalars['Boolean']['output']; sizeDiff: Scalars['Int']['output']; version1: FileVersion; version2: FileVersion; }; export type FileVersionList = { __typename?: 'FileVersionList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; versions: Array; }; export declare enum FileVisibility { Private = "PRIVATE", Public = "PUBLIC", Team = "TEAM", Workspace = "WORKSPACE" } export type FilesEraseResult = { __typename?: 'FilesEraseResult'; anonymised: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; notes?: Maybe; purged: Scalars['Int']['output']; retainedForLegalReason?: Maybe; service: Scalars['String']['output']; }; export type FilterCapability = { __typename?: 'FilterCapability'; dataType: FilterDataType; description: Scalars['String']['output']; displayName: Scalars['String']['output']; entityTypes: Array; enumValues?: Maybe>; name: Scalars['String']['output']; supportedOperators: Array; }; export declare enum FilterDataType { Array = "ARRAY", Boolean = "BOOLEAN", Date = "DATE", Datetime = "DATETIME", Enum = "ENUM", Number = "NUMBER", Object = "OBJECT", String = "STRING" } export declare enum FilterOperator { Between = "BETWEEN", Contains = "CONTAINS", Equals = "EQUALS", GreaterThan = "GREATER_THAN", In = "IN", IsNotNull = "IS_NOT_NULL", IsNull = "IS_NULL", LessThan = "LESS_THAN" } /** AI spend across every workspace and product in a window of at most 30 days. */ export type FleetAiSpend = { __typename?: 'FleetAiSpend'; /** Anomalous-spend alerts raised in the window across all workspaces, newest first (at most 100). */ alerts: Array; attempts: Scalars['Int']['output']; /** One point per UTC day in the window, oldest first, including days with no spend. */ byDay: Array; /** The 50 provider and model pairs with the highest cost, highest first. */ byModel: Array; /** Every product with spend, highest cost first. */ byProduct: Array; /** The 50 workspaces with the highest cost, highest first. */ byWorkspace: Array; costMicroUsd: Scalars['String']['output']; from: Scalars['DateTime']['output']; inputTokens: Scalars['String']['output']; outputTokens: Scalars['String']['output']; to: Scalars['DateTime']['output']; /** True when more workspaces were active than one request visits (2000); totals then cover the visited ones. */ truncated: Scalars['Boolean']['output']; /** Calls whose ledger row carries no cost (for example bring-your-own-key calls with no catalogue price). */ unpricedAttempts: Scalars['Int']['output']; /** Workspaces with recorded AI calls in the window. */ workspaces: Scalars['Int']['output']; }; export type FleetAiSpendDay = { __typename?: 'FleetAiSpendDay'; attempts: Scalars['Int']['output']; costMicroUsd: Scalars['String']['output']; /** YYYY-MM-DD (UTC). */ day: Scalars['String']['output']; }; export type FleetAiSpendModel = { __typename?: 'FleetAiSpendModel'; attempts: Scalars['Int']['output']; costMicroUsd: Scalars['String']['output']; inputTokens: Scalars['String']['output']; modelKey: Scalars['String']['output']; outputTokens: Scalars['String']['output']; providerKey: Scalars['String']['output']; unpricedAttempts: Scalars['Int']['output']; workspaces: Scalars['Int']['output']; }; export type FleetAiSpendProduct = { __typename?: 'FleetAiSpendProduct'; attempts: Scalars['Int']['output']; costMicroUsd: Scalars['String']['output']; productKey: Scalars['String']['output']; unpricedAttempts: Scalars['Int']['output']; workspaces: Scalars['Int']['output']; }; export type FleetAiSpendWorkspace = { __typename?: 'FleetAiSpendWorkspace'; attempts: Scalars['Int']['output']; costMicroUsd: Scalars['String']['output']; inputTokens: Scalars['String']['output']; outputTokens: Scalars['String']['output']; /** The model with the highest cost in this workspace. */ topModelKey?: Maybe; /** The product with the highest cost in this workspace. */ topProductKey?: Maybe; unpricedAttempts: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** Failed runs in the window for one typed error category. */ export type FleetErrorTypeCount = { __typename?: 'FleetErrorTypeCount'; count: Scalars['Int']['output']; /** An ErrorType value, or UNCLASSIFIED when the run recorded none. */ errorType: Scalars['String']['output']; }; /** Node executions started in the window for one node type. */ export type FleetNodeExecutions = { __typename?: 'FleetNodeExecutions'; executions: Scalars['Int']['output']; failures: Scalars['Int']['output']; nodeType: Scalars['String']['output']; running: Scalars['Int']['output']; }; /** Fleet-wide operational snapshot for the super-admin Fleet Operations page. */ export type FleetOperationsSummary = { __typename?: 'FleetOperationsSummary'; activeRuns: FleetRunCounts; /** Percentage of runs finished in the window that failed (0-100). */ errorRate: Scalars['Float']['output']; errorsByType: Array; failedInWindow: Scalars['Int']['output']; /** Runs that finished (any terminal status) within the window. */ finishedInWindow: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; /** Node executions waiting to start plus durable activities scheduled or in backoff. */ queueDepth: Scalars['Int']['output']; /** Node types with the most executions started within the window (at most 10). */ topNodes: Array; windowHours: Scalars['Int']['output']; /** Durable workers holding activity leases right now, busiest first. */ workers: Array; /** Workspaces with active runs, busiest first (at most 50). */ workspaces: Array; }; /** Active (PENDING, RUNNING, WAITING) run counts across the whole fleet. */ export type FleetRunCounts = { __typename?: 'FleetRunCounts'; pending: Scalars['Int']['output']; running: Scalars['Int']['output']; total: Scalars['Int']['output']; waiting: Scalars['Int']['output']; }; /** One durable worker, as seen through the activity leases it currently holds. */ export type FleetWorkerStatus = { __typename?: 'FleetWorkerStatus'; /** Leases the worker holds whose deadline has already passed (likely a stalled or lost worker). */ expiredLeases: Scalars['Int']['output']; /** Activities the worker has leased and not yet finished. */ inFlight: Scalars['Int']['output']; lastHeartbeatAt?: Maybe; oldestLeaseStartedAt?: Maybe; workerId: Scalars['String']['output']; }; /** Active runs of one workspace, for the Fleet Operations table. */ export type FleetWorkspaceActivity = { __typename?: 'FleetWorkspaceActivity'; /** Creation time of the oldest active run in the workspace. */ oldestActiveRunAt?: Maybe; pending: Scalars['Int']['output']; running: Scalars['Int']['output']; total: Scalars['Int']['output']; waiting: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; /** Input for FluidGrids error details */ export type FluidGridsErrorInput = { /** Error code */ code: Scalars['String']['input']; /** Additional error details */ details?: InputMaybe; /** Error message */ message: Scalars['String']['input']; }; /** FluidGrids event type enumeration */ export declare enum FluidGridsEventType { /** Workflow execution completed successfully */ workflow_completed = "workflow_completed", /** Workflow execution failed */ workflow_failed = "workflow_failed", /** Workflow execution has started */ workflow_started = "workflow_started" } /** Input for FluidGrids webhook payload */ export type FluidGridsWebhookPayloadInput = { /** Output data from the workflow (only present on workflow_completed) */ data?: InputMaybe; /** Error information (only present on workflow_failed) */ error?: InputMaybe; /** Type of event that occurred */ eventType: FluidGridsEventType; /** Unique execution ID for this workflow run */ executionId: Scalars['String']['input']; /** * Additional metadata from the workflow execution. `dataSinkKey` names the * target DataSink within the request workspace. The workspace always comes from * the request; a `workspaceId` key here is not used. */ metadata?: InputMaybe; /** ISO-8601 timestamp of when the event occurred */ timestamp: Scalars['DateTime']['input']; /** FluidGrids workflow ID */ workflowId: Scalars['String']['input']; }; /** Result of FluidGrids webhook processing */ export type FluidGridsWebhookResult = { __typename?: 'FluidGridsWebhookResult'; /** ID of the affected DataSink (if found) */ dataSinkId?: Maybe; /** Human-readable message about the result */ message?: Maybe; /** Whether the webhook was processed successfully */ success: Scalars['Boolean']['output']; }; /** * BigConsole's data-delivery binding for a FluidGrids workflow. * * This is not a workflow engine. The workflow definition, its versions and every * run are owned by wspace-workflow-svc (`WorkflowDefinition` / `WorkflowRun`). * `externalWorkflowId` is the id of that WorkflowDefinition. This type holds only * what BigConsole needs to receive the workflow's output: the ingest key, the * webhook URL and signing secret, and the DataSinks the output is written to. * `status`, `lastExecutedAt`, `lastExecutionId` and `executionCount` are * BigConsole-side bookkeeping of runs triggered through `executeWorkflow`; the * run itself, including its status and node history, lives in * wspace-workflow-svc. A workflow without `externalWorkflowId` cannot be * executed (WORKFLOW_NOT_LINKED). */ export type FluidGridsWorkflow = { __typename?: 'FluidGridsWorkflow'; config?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe; executionCount: Scalars['Int']['output']; /** * Id of the WorkflowDefinition in wspace-workflow-svc that this binding runs. * Null until the workflow is created with `definitionJson` or linked with * `externalWorkflowId`; an unlinked workflow cannot be executed. */ externalWorkflowId?: Maybe; /** * True when this workflow has an HMAC signing secret configured. The secret * itself is never exposed through GraphQL; it is stored encrypted and used only * for internal HMAC verification on the ingest endpoint. */ hasWebhookSecret?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; lastExecutedAt?: Maybe; lastExecutionId?: Maybe; linkedDataSinkCount: Scalars['Int']['output']; linkedDataSinks: Array; name: Scalars['String']['output']; status: FluidGridsWorkflowStatus; tagAssignments: Array; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['String']['output']; version: Scalars['Int']['output']; webhookUrl?: Maybe; }; /** Filter input for querying FluidGrids workflows */ export type FluidGridsWorkflowFilterInput = { key?: InputMaybe; searchQuery?: InputMaybe; status?: InputMaybe; }; export declare enum FluidGridsWorkflowStatus { active = "active", archived = "archived", draft = "draft", error = "error", paused = "paused" } /** An assignable workspace tag. */ export type FluidgridsAvailableTag = { __typename?: 'FluidgridsAvailableTag'; color?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; /** A tag assigned to a FluidGrids entity. */ export type FluidgridsTagAssignment = { __typename?: 'FluidgridsTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; /** Federated UniversalTag reference (owned by wspace-tags-svc). Prefer tagInfo for label/colour. */ tag?: Maybe; tagId: Scalars['ID']['output']; /** Inline projection of the tag (key/label/colour). */ tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; /** Inline (non-federated) tag projection, so clients render labels without a federated round-trip. */ export type FluidgridsTagInfo = { __typename?: 'FluidgridsTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export type FocusScore = { __typename?: 'FocusScore'; consistencyScore?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; deepWorkScore?: Maybe; distractionResistanceScore?: Maybe; energyManagementScore?: Maybe; factors?: Maybe; id: Scalars['ID']['output']; overallScore: Scalars['Float']['output']; taskCompletionScore?: Maybe; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FocusScoreSummary = { __typename?: 'FocusScoreSummary'; averageScore: Scalars['Float']['output']; highestScore: Scalars['Float']['output']; improvementArea?: Maybe; lowestScore: Scalars['Float']['output']; topFactor?: Maybe; trend?: Maybe; }; export type FocusScoreTrend = { __typename?: 'FocusScoreTrend'; change: Scalars['Float']['output']; date: Scalars['DateTime']['output']; score: Scalars['Float']['output']; }; export type Folder = { __typename?: 'Folder'; /** True only when both the service rule and the gateway RBAC rule allow the caller to delete this folder and the files under it (deleteFolder). */ canDelete?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to move this folder and the files under it (moveFolder). */ canMove?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to open this folder. */ canRead?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to share this folder (shareFolder, createFolderShareLink). */ canShare?: Maybe; /** True only when both the service rule and the gateway RBAC rule allow the caller to update this folder (updateFolder, toggleFolderStarred). It does not promise restoreFolder, which needs a DELETE right on the trashed files under the folder. */ canUpdate?: Maybe; color?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe; files?: Maybe>; filesCount?: Maybe; icon?: Maybe; id: Scalars['ID']['output']; level: Scalars['Int']['output']; name: Scalars['String']['output']; parentFolder?: Maybe; parentFolderId?: Maybe; path: Scalars['String']['output']; starred: Scalars['Boolean']['output']; status: FolderStatus; subFolders?: Maybe>; subfoldersCount?: Maybe; tagAssignments: Array; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. Lives alongside * `tagAssignments` (the wspace-tags-svc-backed structured view). */ tags: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; visibility: FileVisibility; workspace: Workspace; workspaceId: Scalars['ID']['output']; }; export type FolderBulkOperationResult = { __typename?: 'FolderBulkOperationResult'; errors?: Maybe>; failedCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; successCount: Scalars['Int']['output']; }; export type FolderCreateShareInput = { accessLevel: FileShareAccessLevel; expiresAt?: InputMaybe; folderId: Scalars['ID']['input']; invitedEmail?: InputMaybe; invitedUserIds?: InputMaybe>; maxDownloads?: InputMaybe; password?: InputMaybe; shareType: FileShareType; }; export type FolderCreatedEvent = { __typename?: 'FolderCreatedEvent'; folderId: Scalars['ID']['output']; folderName: Scalars['String']['output']; metadata?: Maybe; parentFolderId?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FolderDeletedEvent = { __typename?: 'FolderDeletedEvent'; folderId: Scalars['ID']['output']; folderName: Scalars['String']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FolderFilterInput = { createdAfter?: InputMaybe; createdBefore?: InputMaybe; createdById?: InputMaybe; parentFolderId?: InputMaybe; starred?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; visibility?: InputMaybe; }; export type FolderList = { __typename?: 'FolderList'; folders: Array; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type FolderMovedEvent = { __typename?: 'FolderMovedEvent'; folderId: Scalars['ID']['output']; metadata?: Maybe; newParentFolderId?: Maybe; oldParentFolderId?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FolderPath = { __typename?: 'FolderPath'; depth: Scalars['Int']['output']; folders: Array; }; /** Folder permission information */ export type FolderPermission = { __typename?: 'FolderPermission'; /** User or group ID */ entityId: Scalars['ID']['output']; /** Entity type (user, group, etc.) */ entityType: Scalars['String']['output']; /** Folder ID */ folderId: Scalars['ID']['output']; /** Granted at timestamp */ grantedAt: Scalars['DateTime']['output']; /** Permission ID */ id: Scalars['ID']['output']; /** Permission type (read, write, delete, etc.) */ permissionType: Scalars['String']['output']; }; export type FolderShare = { __typename?: 'FolderShare'; accessCount: Scalars['Int']['output']; accessLevel: FileShareAccessLevel; canRevoke?: Maybe; canUpdate?: Maybe; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; downloadCount: Scalars['Int']['output']; expiresAt?: Maybe; folder: Folder; folderId: Scalars['ID']['output']; id: Scalars['ID']['output']; invitedEmail?: Maybe; invitedUserIds?: Maybe>; lastAccessedAt?: Maybe; maxDownloads?: Maybe; requiresPassword: Scalars['Boolean']['output']; revokedAt?: Maybe; revokedBy?: Maybe; shareType: FileShareType; token?: Maybe; updatedAt: Scalars['DateTime']['output']; }; export type FolderShareList = { __typename?: 'FolderShareList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; shares: Array; total: Scalars['Int']['output']; }; export declare enum FolderSortField { CreatedAt = "CREATED_AT", Level = "LEVEL", Name = "NAME", UpdatedAt = "UPDATED_AT" } export type FolderSortInput = { field: FolderSortField; order: SortOrder; }; export declare enum FolderStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED" } /** Tag assignment for a folder */ export type FolderTagAssignment = { __typename?: 'FolderTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; validFrom?: Maybe; validTo?: Maybe; }; export type FolderTree = { __typename?: 'FolderTree'; children: Array; depth: Scalars['Int']['output']; folder: Folder; }; export type FolderUpdateShareInput = { accessLevel?: InputMaybe; expiresAt?: InputMaybe; maxDownloads?: InputMaybe; password?: InputMaybe; }; export type FolderUpdatedEvent = { __typename?: 'FolderUpdatedEvent'; changes: Scalars['String']['output']; folderId: Scalars['ID']['output']; metadata?: Maybe; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type FolderWithContents = { __typename?: 'FolderWithContents'; files: FileList; folder: Folder; subfolders: Array; }; export type ForkInstalledPackageInput = { installedPackageId: Scalars['ID']['input']; metadata?: InputMaybe; newName?: InputMaybe; workspaceId: Scalars['ID']['input']; }; export type FreightRateInput = { containerCount?: InputMaybe; containerType?: InputMaybe; currency?: InputMaybe; distanceKm?: InputMaybe; haulType?: InputMaybe; heightCm?: InputMaybe; lengthCm?: InputMaybe; mode: TransportMode; pieces?: InputMaybe; rateOverrides?: InputMaybe; volumeCbm?: InputMaybe; weightKg?: InputMaybe; widthCm?: InputMaybe; }; export type FreightRateOverridesInput = { baseFare?: InputMaybe; fuelSurchargePct?: InputMaybe; handlingFee?: InputMaybe; ratePerCbm?: InputMaybe; ratePerContainer?: InputMaybe; ratePerKg?: InputMaybe; ratePerKm?: InputMaybe; ratePerRevenueTon?: InputMaybe; ratePerTonneKm?: InputMaybe; terminalHandlingFee?: InputMaybe; }; /** A month-view frost/storm/heat/disease-window risk calendar for the farm. */ export type FrostRiskCalendar = { __typename?: 'FrostRiskCalendar'; days: Array; /** Count of FROST_HIGH + FROST_WATCH days in the month. */ frostRiskDayCount: Scalars['Int']['output']; /** Historical average first-frost date label (e.g. "Nov 18"), if derivable. */ historicalFirstFrost?: Maybe; /** Month number 1-12. */ month: Scalars['Int']['output']; monthName: Scalars['String']['output']; year: Scalars['Int']['output']; }; /** A single day in the frost-risk calendar with its derived risk classification. */ export type FrostRiskDay = { __typename?: 'FrostRiskDay'; /** ISO yyyy-mm-dd. */ date: Scalars['String']['output']; /** Day of month 1-31. */ day: Scalars['Int']['output']; detail?: Maybe; label: Scalars['String']['output']; /** Risk: FROST_HIGH / FROST_WATCH / HEAT / STORM / DISEASE_WINDOW / CLEAR / UNKNOWN. */ risk: Scalars['String']['output']; /** Where the classification came from: forecast / history / climatology. */ source: Scalars['String']['output']; tempMax?: Maybe; tempMin?: Maybe; }; export declare enum FuelType { Cng = "CNG", Diesel = "DIESEL", Electric = "ELECTRIC", Hybrid = "HYBRID", Petrol = "PETROL" } export type Funnel = { __typename?: 'Funnel'; createdAt: Scalars['DateTime']['output']; createdBy: User; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; stepOrder: FunnelStepOrder; steps: Array; timeWindowHours?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type FunnelBreakdown = { __typename?: 'FunnelBreakdown'; dimension: Scalars['String']['output']; steps: Array; value: Scalars['String']['output']; }; /** Funnel query output type (echoes query parameters) */ export type FunnelQuery = { __typename?: 'FunnelQuery'; breakdowns?: Maybe>; endDate: Scalars['DateTime']['output']; funnelId?: Maybe; startDate: Scalars['DateTime']['output']; stepOrder?: Maybe; timeWindowHours?: Maybe; }; export type FunnelQueryInput = { breakdowns?: InputMaybe>; endDate: Scalars['DateTime']['input']; filters?: InputMaybe>; funnelId?: InputMaybe; startDate: Scalars['DateTime']['input']; stepOrder?: InputMaybe; steps?: InputMaybe>; timeWindowHours?: InputMaybe; }; export type FunnelQueryResult = { __typename?: 'FunnelQueryResult'; breakdowns: Array; cached: Scalars['Boolean']['output']; executedAt: Scalars['DateTime']['output']; executionTimeMs: Scalars['Int']['output']; overallConversion: Scalars['Float']['output']; query: FunnelQuery; steps: Array; totalUsers: Scalars['Int']['output']; }; export type FunnelStepDefinition = { __typename?: 'FunnelStepDefinition'; eventName: Scalars['String']['output']; filters?: Maybe; stepNumber: Scalars['Int']['output']; }; export type FunnelStepInput = { eventName: Scalars['String']['input']; filters?: InputMaybe; stepNumber: Scalars['Int']['input']; }; export declare enum FunnelStepOrder { Any = "ANY", Strict = "STRICT" } export type FunnelStepResult = { __typename?: 'FunnelStepResult'; averageTimeFromPrevious?: Maybe; conversionFromFirst: Scalars['Float']['output']; conversionFromPrevious?: Maybe; dropoffFromPrevious?: Maybe; dropoffRate?: Maybe; medianTimeFromPrevious?: Maybe; stepName: Scalars['String']['output']; stepNumber: Scalars['Int']['output']; userCount: Scalars['Int']['output']; }; export type GardenAlert = { __typename?: 'GardenAlert'; entityId?: Maybe; /** LOW_STOCK | EXPIRING_INPUT | MEDIA_REFRESH | AILING_PLANTING | OVERDUE_HARVEST | COMPOST_READY */ kind: Scalars['String']['output']; message: Scalars['String']['output']; /** INFO | WARNING | CRITICAL */ severity: Scalars['String']['output']; }; export type GardenAvoidNote = { __typename?: 'GardenAvoidNote'; name: Scalars['String']['output']; reason: Scalars['String']['output']; }; export type GardenCareLog = { __typename?: 'GardenCareLog'; /** Same vocabulary as GardenCareTask.taskType. */ action: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; gardenId: Scalars['ID']['output']; growSpaceId?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; /** DONE | SKIPPED */ outcome: Scalars['String']['output']; performedAt: Scalars['DateTime']['output']; photoFileId?: Maybe; plantingId?: Maybe; plantingName?: Maybe; quantity?: Maybe; quantityUnit?: Maybe; taskId?: Maybe; }; export type GardenCareSchedule = { __typename?: 'GardenCareSchedule'; doneThisWeek: Scalars['Int']['output']; later: Array; overdue: Array; skippedForRainThisWeek: Scalars['Int']['output']; thisWeek: Array; today: Array; waterLitresThisWeek: Scalars['Float']['output']; }; export type GardenCareTask = { __typename?: 'GardenCareTask'; autoGenerated: Scalars['Boolean']['output']; /** Derived: OVERDUE | TODAY | THIS_WEEK | LATER */ bucket: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Derived: days until due; negative once overdue. */ daysUntilDue: Scalars['Int']['output']; dueDate: Scalars['DateTime']['output']; /** Forecast rainfall (mm) for the due date, from the workspace weather forecast. */ forecastRainMm?: Maybe; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; growSpaceName?: Maybe; id: Scalars['ID']['output']; /** 0 = one-off; otherwise the recurrence period in days. */ intervalDays: Scalars['Int']['output']; lastDoneAt?: Maybe; notes?: Maybe; plantingId?: Maybe; plantingName?: Maybe; /** LOW | NORMAL | HIGH */ priority: Scalars['String']['output']; quantity?: Maybe; quantityUnit?: Maybe; /** True when this is a watering task and enough rain is forecast to skip it. */ rainSkipSuggested: Scalars['Boolean']['output']; /** PENDING | DONE | SKIPPED */ status: Scalars['String']['output']; /** WATER | FEED | PRUNE | STAKE | REPOT | MULCH | PEST_CHECK | POLLINATE | HARVEST | SOW | MEDIA_REFRESH | OTHER */ taskType: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type GardenDashboard = { __typename?: 'GardenDashboard'; activePlantings: Scalars['Int']['output']; alerts: Array; compostReadyCount: Scalars['Int']['output']; containerCount: Scalars['Int']['output']; gardenId?: Maybe; gardenName?: Maybe; growSpaceCount: Scalars['Int']['output']; harvestedThisMonthKg: Scalars['Float']['output']; harvestedThisYearKg: Scalars['Float']['output']; occupancy: Array; recentObservations: Array; stageDistribution: Array; tasksDueToday: Scalars['Int']['output']; tasksOverdue: Scalars['Int']['output']; todaysCare: Array; totalVolumeLitres: Scalars['Float']['output']; upcomingHarvests: Array; valueSavedThisMonth: Scalars['Float']['output']; }; export type GardenHarvest = { __typename?: 'GardenHarvest'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** KITCHEN | GIFTED | SOLD | SEED_SAVED | COMPOSTED */ destination: Scalars['String']['output']; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; growSpaceName?: Maybe; harvestedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; marketPricePerKg?: Maybe; notes?: Maybe; photoFileId?: Maybe; plantingId?: Maybe; plantingName?: Maybe; /** EXCELLENT | GOOD | FAIR | POOR */ quality?: Maybe; quantity: Scalars['Float']['output']; /** Normalised weight; null for COUNT and BUNCH, which have no universal weight. */ quantityKg?: Maybe; /** G | KG | COUNT | BUNCH */ unit: Scalars['String']['output']; valueSaved?: Maybe; }; export type GardenHarvestMonthPoint = { __typename?: 'GardenHarvestMonthPoint'; kilograms: Scalars['Float']['output']; /** First day of the month, ISO-8601. */ month: Scalars['String']['output']; valueSaved: Scalars['Float']['output']; }; export type GardenHarvestSummary = { __typename?: 'GardenHarvestSummary'; byMonth: Array; currency: Scalars['String']['output']; harvestCount: Scalars['Int']['output']; monthKg: Scalars['Float']['output']; monthValueSaved: Scalars['Float']['output']; topProducers: Array; totalKg: Scalars['Float']['output']; totalValueSaved: Scalars['Float']['output']; yearKg: Scalars['Float']['output']; }; export type GardenInput = { __typename?: 'GardenInput'; /** SEED | MEDIUM | AMENDMENT | PEST_CONTROL | TOOL | OTHER */ category: Scalars['String']['output']; cost?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; expiresAt?: Maybe; expiringSoon: Scalars['Boolean']['output']; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; id: Scalars['ID']['output']; lowStock: Scalars['Boolean']['output']; lowStockAt?: Maybe; name: Scalars['String']['output']; notes?: Maybe; purchasedAt?: Maybe; quantity: Scalars['Float']['output']; store?: Maybe; /** G | KG | ML | L | PACKET | BLOCK | PIECE */ unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type GardenObservation = { __typename?: 'GardenObservation'; body?: Maybe; createdAt: Scalars['DateTime']['output']; /** NOTE | PEST | DISEASE | WEATHER_EVENT | MILESTONE | EXPERIMENT | FAILURE */ entryType: Scalars['String']['output']; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; growSpaceId?: Maybe; id: Scalars['ID']['output']; observedAt: Scalars['DateTime']['output']; photoFileId?: Maybe; plantScanId?: Maybe; plantingId?: Maybe; plantingName?: Maybe; /** Home-scale organic remedy suggested alongside a PEST/DISEASE entry. */ remedy?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type GardenPlannerResult = { __typename?: 'GardenPlannerResult'; avoid: Array; city?: Maybe; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; largestContainerLitres?: Maybe; month: Scalars['Int']['output']; monthLabel: Scalars['String']['output']; recommendations: Array; sunHours?: Maybe; }; export type GardenPlanting = { __typename?: 'GardenPlanting'; /** Derived: whole days since sowing. */ ageDays: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; /** Derived: days until the expected first harvest; negative once overdue. */ daysToHarvest?: Maybe; daysToMaturity?: Maybe; expectedHarvestAt?: Maybe; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; germinationRate?: Maybe; growSpaceId: Scalars['ID']['output']; growSpaceName: Scalars['String']['output']; harvestOverdue: Scalars['Boolean']['output']; /** Total harvested from this planting so far, in kilograms. */ harvestedKg: Scalars['Float']['output']; /** THRIVING | HEALTHY | STRESSED | AILING | DEAD */ health: Scalars['String']['output']; id: Scalars['ID']['output']; /** DIRECT_SEED | TRANSPLANT | CUTTING | SAPLING | GRAFT */ method: Scalars['String']['output']; notes?: Maybe; organicSuitable?: Maybe; perennial: Scalars['Boolean']['output']; plantCatalogId?: Maybe; plantName: Scalars['String']['output']; /** Agronomy inherited from the plant catalogue entry, when one is linked. */ plantSpacingCm?: Maybe; /** Derived: 0-100 between sowing and expected harvest; null for perennials. */ progressPercent?: Maybe; quantity: Scalars['Int']['output']; rowSpacingCm?: Maybe; /** OWN_SEED | NURSERY | SEED_LOT | GIFTED | STORE */ source?: Maybe; sourceRef?: Maybe; sownAt: Scalars['DateTime']['output']; /** SOWN | GERMINATED | SEEDLING | VEGETATIVE | FLOWERING | FRUITING | HARVESTING | SPENT | FAILED */ stage: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; variety?: Maybe; }; export type GardenRecommendation = { __typename?: 'GardenRecommendation'; avoidWith: Array; companions: Array; daysToMaturity?: Maybe; /** EASY | MODERATE | ADVANCED */ difficulty: Scalars['String']['output']; /** True when the workspace's own plant catalogue already has this crop. */ inCatalog: Scalars['Boolean']['output']; localName?: Maybe; minContainerLitres: Scalars['Float']['output']; minSunHours: Scalars['Float']['output']; name: Scalars['String']['output']; plantCatalogId?: Maybe; reason: Scalars['String']['output']; score: Scalars['Int']['output']; sowWindow: Scalars['String']['output']; variety?: Maybe; }; export type GardenSpaceOccupancy = { __typename?: 'GardenSpaceOccupancy'; capacity: Scalars['Int']['output']; growSpaceId: Scalars['ID']['output']; name: Scalars['String']['output']; occupiedSlots: Scalars['Int']['output']; spaceType: Scalars['String']['output']; }; export type GardenStageCount = { __typename?: 'GardenStageCount'; count: Scalars['Int']['output']; stage: Scalars['String']['output']; }; export type GardenTopProducer = { __typename?: 'GardenTopProducer'; kilograms: Scalars['Float']['output']; plantName: Scalars['String']['output']; plantingId?: Maybe; }; export type GenerateCertificateOfOriginInput = { /** Auto-assigned as COO-- when omitted. */ certificateNumber?: InputMaybe; certificationIds?: InputMaybe>; consigneeName?: InputMaybe; context: ContextInput; declaration?: InputMaybe; destinationCountry?: InputMaybe; exporterName: Scalars['String']['input']; hsCode?: InputMaybe; issuedDate?: InputMaybe; originCountry?: InputMaybe; originRegion?: InputMaybe; productDescription?: InputMaybe; quantity: Scalars['Float']['input']; traceBatchId: Scalars['ID']['input']; unit?: InputMaybe; }; /** Input for generating custom nodes */ export type GenerateCustomNodeInput = { desiredNodeTypeSlug?: InputMaybe; /** * Deprecated free-form language. Only TypeScript, JavaScript and Python spellings are accepted; anything else is rejected. * @deprecated Use languageCode. */ language?: InputMaybe; /** Implementation language. Defaults to TYPESCRIPT. */ languageCode?: InputMaybe; modelName?: InputMaybe; nodeCategory?: InputMaybe; prompt: Scalars['String']['input']; }; export type GenerateEncryptionKeyInput = { algorithm: EncryptionAlgorithm; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe; expiresAt?: InputMaybe; keyType: KeyType; metadata?: InputMaybe; name: Scalars['String']['input']; rotationSchedule?: InputMaybe; }; export type GenerateHealthyBowlDeliveryRouteInput = { context: ContextInput; driverName?: InputMaybe; /** Inclusive ISO date range of scheduled CSA deliveries to route (defaults: this week). */ fromDate: Scalars['String']['input']; name?: InputMaybe; startLat?: InputMaybe; startLng?: InputMaybe; toDate: Scalars['String']['input']; }; export type GenerateHealthyBowlMrvReportInput = { context: ContextInput; farmId: Scalars['ID']['input']; /** PDF | CSV (default PDF). */ format?: InputMaybe; year?: InputMaybe; }; export type GenerateMaintenanceRecordsInput = { /** Limit the sweep to one asset. Omit to sweep the whole workspace. */ assetId?: InputMaybe; /** Report what would be raised without writing anything. */ dryRun?: InputMaybe; /** * Also raise work that falls due within this many days, so it can be planned * rather than discovered late. Defaults to 0 — due now only. */ withinDays?: InputMaybe; }; /** What a generation sweep did, or — on a dry run — exactly what it would do. */ export type GenerateMaintenanceResult = { __typename?: 'GenerateMaintenanceResult'; dryRun: Scalars['Boolean']['output']; generated: Scalars['Int']['output']; /** One note per skipped plan, naming the plan and the record that blocked it. */ notes: Array; /** The records raised. On a dry run these are previews and carry an empty id. */ records: Array; /** * Plans that were due but deliberately left alone, almost always because their * previous record is still open. Generating again would stack duplicates. */ skipped: Scalars['Int']['output']; }; export type GenerateReportInput = { format: ReportFormat; parameters?: InputMaybe; reportId: Scalars['ID']['input']; }; export type GenerateShareLinkInput = { expiresAt?: InputMaybe; maxUses?: InputMaybe; }; export type GenerateTimeCampusInvoiceDraftInput = { clientAddress?: InputMaybe; clientEmail?: InputMaybe; clientName: Scalars['String']['input']; /** * Optional link to an existing client portal, so the portal can later expose * this invoice to the client. Not validated against portal permissions here. */ clientPortalConfigId?: InputMaybe; context?: InputMaybe; currency?: InputMaybe; dueDate?: InputMaybe; notes?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; /** * Restrict aggregation to these projects. Omit to include every billable, * un-invoiced entry in the workspace for the period. */ projectIds?: InputMaybe>; /** Flat percentage applied to the subtotal, e.g. 0.18 for 18%. Defaults to 0. */ taxRate?: InputMaybe; workspaceId: Scalars['ID']['input']; }; /** Input for generating a workflow draft from a natural-language description */ export type GenerateWorkflowFromPromptInput = { /** Existing definitionJson to refine instead of generating from scratch */ baseDefinitionJson?: InputMaybe; /** Optional model id override (for example claude-opus-5-5) */ model?: InputMaybe; /** * What to emit. TYPESCRIPT and PYTHON need the `fluidgrids.code-first` and `fluidgrids.ai-code` * features (FEATURE_DISABLED before any model call otherwise); read the code from `draft.code`. */ output?: InputMaybe; /** Plain-English description of the workflow (up to 4000 characters) */ prompt: Scalars['String']['input']; /** Optional starting pattern id from `workflowGenerationTemplates` */ template?: InputMaybe; /** Workflow the draft is meant for, when refining an existing workflow */ workflowId?: InputMaybe; }; /** AI-generated artifact */ export type GeneratedArtifact = { __typename?: 'GeneratedArtifact'; content?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; size?: Maybe; type: ArtifactType; updatedAt: Scalars['DateTime']['output']; userId?: Maybe; }; /** Paginated artifacts list */ export type GeneratedArtifactList = { __typename?: 'GeneratedArtifactList'; artifacts: Array; pagination: PaginationInfo; }; export type Geofence = { __typename?: 'Geofence'; address?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe; events: Array; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; latitude: Scalars['Float']['output']; linkedProjectId?: Maybe; longitude: Scalars['Float']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe; radius: Scalars['Float']['output']; trigger: GeofenceTrigger; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GeofenceEventsArgs = { pagination?: InputMaybe; }; export type GeofenceEvent = { __typename?: 'GeofenceEvent'; context?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe; geofence?: Maybe; geofenceId: Scalars['ID']['output']; id: Scalars['ID']['output']; locationLatitude: Scalars['Float']['output']; locationLongitude: Scalars['Float']['output']; onBehalfOf?: Maybe; timestamp: Scalars['DateTime']['output']; type: GeofenceEventType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum GeofenceEventType { Enter = "ENTER", Exit = "EXIT" } export type GeofenceFilterInput = { isActive?: InputMaybe; search?: InputMaybe; }; export type GeofenceListResponse = { __typename?: 'GeofenceListResponse'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum GeofenceTrigger { Both = "BOTH", Enter = "ENTER", Exit = "EXIT" } export type GetAnalyticsDashboardTagsInput = { entityId: Scalars['ID']['input']; }; export type GetAnalyticsMetricTagsInput = { entityId: Scalars['ID']['input']; }; export type GetAnalyticsReportTagsInput = { entityId: Scalars['ID']['input']; }; export type GetAssetTagsInput = { entityId: Scalars['ID']['input']; }; export type GetBigConsoleEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; /** Input for getting comment attachments */ export type GetCommentAttachmentsInput = { commentId: Scalars['ID']['input']; limit?: InputMaybe; offset?: InputMaybe; }; /** Input for getting comment tags */ export type GetCommentTagsInput = { commentId: Scalars['ID']['input']; includeInherited?: InputMaybe; }; /** Input for getting comments */ export type GetCommentsInput = { authorId?: InputMaybe; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; includeArchived?: InputMaybe; includeDeleted?: InputMaybe; parentCommentId?: InputMaybe; skip?: InputMaybe; sortBy?: InputMaybe; sortOrder?: InputMaybe; status?: InputMaybe; take?: InputMaybe; visibility?: InputMaybe; }; export type GetConnectionTagsInput = { entityId: Scalars['ID']['input']; }; export type GetCosEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type GetEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type GetFileTagsInput = { entityId: Scalars['ID']['input']; }; export type GetFluidgridsEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type GetFolderTagsInput = { entityId: Scalars['ID']['input']; }; export type GetGroupTagsInput = { groupId: Scalars['ID']['input']; }; export type GetNoteTagsInput = { /** ID of the note */ noteId: Scalars['ID']['input']; }; export type GetProjectTagsInput = { entityId: Scalars['ID']['input']; }; export type GetSandboxTagsInput = { sandboxId: Scalars['ID']['input']; }; /** Input for getting scheduled comments */ export type GetScheduledCommentsInput = { activeOnly?: InputMaybe; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type GetScheduledJobTagsInput = { entityId: Scalars['ID']['input']; }; export type GetSecretTagsInput = { entityId: Scalars['ID']['input']; }; export type GetWorkspaceTagsInput = { entityId: Scalars['ID']['input']; }; /** * BOFF-4379 — WCAG-aligned accessibility features a host/operator can declare * on a listing. Self-attested tags (not independently verified) that power * discovery filters for travelers with disabilities. */ export declare enum GgnomadAccessibilityFeature { AccessibleBedroom = "ACCESSIBLE_BEDROOM", AccessibleParking = "ACCESSIBLE_PARKING", AccessibleRestroom = "ACCESSIBLE_RESTROOM", ElevatorOrLift = "ELEVATOR_OR_LIFT", HearingAids = "HEARING_AIDS", RollInShower = "ROLL_IN_SHOWER", ServiceAnimalFriendly = "SERVICE_ANIMAL_FRIENDLY", StepFreeEntrance = "STEP_FREE_ENTRANCE", VisualAids = "VISUAL_AIDS", WheelchairAccessible = "WHEELCHAIR_ACCESSIBLE" } export type GgnomadActivity = { __typename?: 'GgnomadActivity'; /** BOFF-4379 — see GgnomadProperty.accessibilityFeatures. */ accessibilityFeatures: Array; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; difficulty?: Maybe; duration: Scalars['String']['output']; id: Scalars['ID']['output']; images: Array; includes: Array; /** BOFF-4361 — see GgnomadProperty.instantBook. */ instantBook: Scalars['Boolean']['output']; location: Scalars['JSON']['output']; maxParticipants: Scalars['Int']['output']; name: Scalars['String']['output']; price: Scalars['Float']['output']; /** BOFF-4378 — this listing's price converted into `currency` (ISO 4217, e.g. INR) at the latest published FX rate. Display only: bookings are charged in the listing currency unless a checkout chooses another one. Null when the currency is not supported or no FX rates are available. */ priceIn?: Maybe; provider?: Maybe; providerId?: Maybe; rating?: Maybe; requirements: Array; reviewCount: Scalars['Int']['output']; safetyInfo?: Maybe; status: GgnomadListingStatus; storeProduct?: Maybe; storeProductId?: Maybe; /** BOFF-4364 — see GgnomadProperty.sustainabilityPractices/-Score. */ sustainabilityPractices: Array; sustainabilityScore: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadActivityPriceInArgs = { currency: Scalars['String']['input']; }; export type GgnomadAffiliateCommission = { __typename?: 'GgnomadAffiliateCommission'; /** BOFF-10615 — every rule that priced at least one line. */ appliedRuleIds: Array; approvedAt?: Maybe; baseAmount: Scalars['Float']['output']; /** BOFF-10615 — the partner's base rate when the commission was priced; null on commissions that predate rules. */ baseCommissionPercent?: Maybe; commissionAmount: Scalars['Float']['output']; /** The effective rate of the whole order (commissionAmount / baseAmount) when the commission has per-booking lines. */ commissionPercent: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; /** BOFF-10615 — how each booking was priced and which rule produced its rate; empty on commissions that predate rules. */ lines: Array; orderId: Scalars['ID']['output']; /** The order's reference code, for matching against the operator's records. */ orderReferenceCode?: Maybe; partnerId: Scalars['ID']['output']; payoutId?: Maybe; status: GgnomadAffiliateCommissionStatus; voidReason?: Maybe; voidedAt?: Maybe; workspaceId: Scalars['String']['output']; }; export type GgnomadAffiliateCommissionBalance = { __typename?: 'GgnomadAffiliateCommissionBalance'; approvedAmount: Scalars['Float']['output']; currency: Scalars['String']['output']; pendingAmount: Scalars['Float']['output']; processingAmount: Scalars['Float']['output']; }; /** How one booking of a commission was priced. */ export type GgnomadAffiliateCommissionLine = { __typename?: 'GgnomadAffiliateCommissionLine'; baseAmount: Scalars['Float']['output']; /** The booking; null when the order's bookings could not be read and the order was priced as a whole. */ bookingId?: Maybe; bookingType?: Maybe; commissionAmount: Scalars['Float']['output']; commissionPercent: Scalars['Float']['output']; /** The rule that set the rate (null for the base rate). */ ruleId?: Maybe; ruleKind?: Maybe; /** The rule's name when the commission was priced. */ ruleName?: Maybe; source: GgnomadAffiliateRateSource; /** For a TIER rule, the partner's volume when the rule was applied. */ volume?: Maybe; }; export type GgnomadAffiliateCommissionRule = { __typename?: 'GgnomadAffiliateCommissionRule'; active: Scalars['Boolean']['output']; /** The booking type the rule applies to; null means every type (required for CATEGORY). */ bookingType?: Maybe; /** 0-50. */ commissionPercent: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; /** PROMOTION only: exclusive end. */ endsAt?: Maybe; id: Scalars['ID']['output']; kind: GgnomadAffiliateRuleKind; name: Scalars['String']['output']; /** The partner the rule applies to; null applies it to every partner. */ partnerId?: Maybe; /** PROMOTION only: inclusive start. */ startsAt?: Maybe; updatedAt: Scalars['DateTime']['output']; /** TIER with REVENUE only: the currency revenue is counted in. */ volumeCurrency?: Maybe; /** TIER only. */ volumeMetric?: Maybe; /** TIER only: the trailing period, in days (1-365), volume is measured over. */ volumePeriodDays?: Maybe; /** TIER only: the volume at which the rate starts. */ volumeThreshold?: Maybe; workspaceId: Scalars['String']['output']; }; export declare enum GgnomadAffiliateCommissionStatus { /** Reviewed and owed to the partner, re-based on bookings that were not cancelled or refunded. */ Approved = "APPROVED", /** Included in a recorded payout. */ Paid = "PAID", /** Earned by a placed order; awaiting operator review. */ Pending = "PENDING", /** BOFF-10614 — in a provider payout that billing has not settled yet. */ Processing = "PROCESSING", /** Will not be paid (for example the trip was cancelled or the referral was fraudulent). */ Void = "VOID" } export declare enum GgnomadAffiliateKycDecision { Rejected = "REJECTED", Verified = "VERIFIED" } export declare enum GgnomadAffiliateKycStatus { /** Submitted and waiting for an operator to review it. */ Pending = "PENDING", Rejected = "REJECTED", Verified = "VERIFIED" } export type GgnomadAffiliatePartner = { __typename?: 'GgnomadAffiliatePartner'; /** The workspace member who is this partner and can see their own earnings, if linked. */ actorId?: Maybe; /** 1-90 days a referral stays eligible for a commission. */ attributionWindowDays: Scalars['Int']['output']; /** 6-16 uppercase letters and digits; used in widget URLs and ?ggref= links. */ code: Scalars['String']['output']; /** 0-50: percent of an order's subtotal after discounts (tax and service fee excluded). */ commissionPercent: Scalars['Float']['output']; contactEmail: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; stats: GgnomadAffiliatePartnerStats; status: GgnomadAffiliatePartnerStatus; updatedAt: Scalars['DateTime']['output']; /** Exact https origins allowed to frame the booking widget; empty means any https site. */ widgetAllowedOrigins: Array; workspaceId: Scalars['String']['output']; }; /** Referral and earnings totals for one partner. */ export type GgnomadAffiliatePartnerStats = { __typename?: 'GgnomadAffiliatePartnerStats'; approvedAmount: Scalars['Float']['output']; /** Orders that earned a commission (void ones excluded). */ conversions: Scalars['Int']['output']; /** Currency of the amounts; null until the partner earned a commission. */ currency?: Maybe; paidAmount: Scalars['Float']['output']; pendingAmount: Scalars['Float']['output']; /** BOFF-10614 — in provider payouts that billing has not settled yet. */ processingAmount: Scalars['Float']['output']; /** Signed-in travelers who arrived through this partner. */ referrals: Scalars['Int']['output']; }; export declare enum GgnomadAffiliatePartnerStatus { Active = "ACTIVE", Suspended = "SUSPENDED" } export type GgnomadAffiliatePayout = { __typename?: 'GgnomadAffiliatePayout'; /** Net amount paid to the partner: the gross commissions less any tax withheld. */ amount: Scalars['Float']['output']; /** The global-billing-svc PayoutRequest this payout was submitted as. */ billingPayoutRequestId?: Maybe; /** Last status billing reported for that PayoutRequest. */ billingStatus?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; failureReason?: Maybe; /** BOFF-10614 — sum of the commissions in this payout, before withholding. */ grossAmount: Scalars['Float']['output']; id: Scalars['ID']['output']; /** BOFF-10614 — MANUAL (recorded by an operator) or PROVIDER (paid through global-billing-svc). */ method: GgnomadAffiliatePayoutMethod; /** Billing could not undo the earning of this failed payout; an operator must resolve it. */ needsReview: Scalars['Boolean']['output']; /** When the payout was paid; for a provider payout still in flight, when it was submitted (see status). */ paidAt: Scalars['DateTime']['output']; partnerId: Scalars['ID']['output']; /** The bank transfer or payout-provider reference the workspace paid with. */ reference: Scalars['String']['output']; settledAt?: Maybe; /** BOFF-10614 — PROCESSING until billing settles a provider payout. */ status: GgnomadAffiliatePayoutStatus; submittedAt?: Maybe; withholdingAmount: Scalars['Float']['output']; withholdingPercent: Scalars['Float']['output']; /** Tax rule the withholding was computed under, for example IN_194H_PAN or OPERATOR_OVERRIDE. */ withholdingRule?: Maybe; workspaceId: Scalars['String']['output']; }; export declare enum GgnomadAffiliatePayoutAccountType { BankAccount = "BANK_ACCOUNT", Upi = "UPI", Wallet = "WALLET" } export declare enum GgnomadAffiliatePayoutCadence { /** On the 1st of each month at 03:30 UTC. */ Monthly = "MONTHLY", /** Every Monday at 03:30 UTC. */ Weekly = "WEEKLY" } export declare enum GgnomadAffiliatePayoutMethod { /** Recorded by an operator who paid the partner outside GGNomad. */ Manual = "MANUAL", /** Paid through global-billing-svc's payout rail. */ Provider = "PROVIDER" } export type GgnomadAffiliatePayoutProfile = { __typename?: 'GgnomadAffiliatePayoutProfile'; beneficiaryName: Scalars['String']['output']; /** ISO 3166-1 alpha-2 country of tax residence. */ country: Scalars['String']['output']; /** ISO 4217 currency the partner is paid in. */ currency: Scalars['String']['output']; /** GSTIN (India), showing only its last four characters. */ gstinMasked?: Maybe; kycRejectionReason?: Maybe; kycReviewedAt?: Maybe; kycStatus: GgnomadAffiliateKycStatus; kycSubmittedAt: Scalars['DateTime']['output']; partnerId: Scalars['ID']['output']; /** * Why automatic payouts are blocked, empty when the partner can be paid: * PARTNER_NOT_LINKED, PARTNER_SUSPENDED, KYC_NOT_VERIFIED, TAX_DETAILS_INCOMPLETE. * A verified payout account in Billing is checked at payout time. */ payoutBlockers: Array; payoutMethod: GgnomadAffiliatePayoutAccountType; taxDetailsComplete: Scalars['Boolean']['output']; taxForm?: Maybe; taxFormSignedAt?: Maybe; /** PAN (India) or foreign TIN, showing only its last four characters. */ taxIdMasked?: Maybe; updatedAt: Scalars['DateTime']['output']; withholdingOverridePercent?: Maybe; /** Effective withholding percent applied to payouts. */ withholdingPercent: Scalars['Float']['output']; /** IN_194H_PAN, FOREIGN_

or OPERATOR_OVERRIDE. */ withholdingRule: Scalars['String']['output']; }; export type GgnomadAffiliatePayoutReconciliation = { __typename?: 'GgnomadAffiliatePayoutReconciliation'; from: Scalars['DateTime']['output']; needsReviewCount: Scalars['Int']['output']; /** Every payout created in the period. */ payoutCount: Scalars['Int']['output']; /** The newest payouts of the period, at most 500; see rowsTruncated. */ rows: Array; /** True when the period has more payouts than rows lists. Totals and counts always cover the whole period. */ rowsTruncated: Scalars['Boolean']['output']; to: Scalars['DateTime']['output']; totals: Array; unbalancedCount: Scalars['Int']['output']; }; export declare enum GgnomadAffiliatePayoutReviewResolution { /** Billing did pay the earning out: the commissions become PAID. */ Paid = "PAID", /** Billing did not pay it: the commissions return to APPROVED for the next run. */ Released = "RELEASED" } export type GgnomadAffiliatePayoutRun = { __typename?: 'GgnomadAffiliatePayoutRun'; dryRun: Scalars['Boolean']['output']; failedCount: Scalars['Int']['output']; items: Array; minimumAmount: Scalars['Float']['output']; ranAt: Scalars['DateTime']['output']; skippedCount: Scalars['Int']['output']; submittedCount: Scalars['Int']['output']; }; export type GgnomadAffiliatePayoutRunItem = { __typename?: 'GgnomadAffiliatePayoutRunItem'; commissionCount: Scalars['Int']['output']; currency: Scalars['String']['output']; grossAmount: Scalars['Float']['output']; netAmount: Scalars['Float']['output']; outcome: GgnomadAffiliatePayoutRunOutcome; partnerId: Scalars['ID']['output']; partnerName: Scalars['String']['output']; payoutId?: Maybe; /** * Why it was skipped or failed, for example BELOW_MINIMUM, KYC_NOT_VERIFIED, * PAYOUT_ACCOUNT_MISSING or PAYOUT_ACCOUNT_NOT_VERIFIED. */ reason?: Maybe; withholdingAmount: Scalars['Float']['output']; }; export declare enum GgnomadAffiliatePayoutRunOutcome { Failed = "FAILED", /** Billing reported it paid straight away. */ Paid = "PAID", /** Billing was unreachable; the payout stays in flight and is retried. */ PendingRetry = "PENDING_RETRY", /** Dry run: would be paid. */ Ready = "READY", /** Not paid this run; see reason. */ Skipped = "SKIPPED", /** Submitted to billing. */ Submitted = "SUBMITTED" } export type GgnomadAffiliatePayoutSchedule = { __typename?: 'GgnomadAffiliatePayoutSchedule'; cadence: GgnomadAffiliatePayoutCadence; enabled: Scalars['Boolean']['output']; lastRunAt?: Maybe; /** Counts from the last non-dry run: submitted, skipped, failed and paidNet. */ lastRunSummary?: Maybe; /** A partner is paid only when their approved commissions in one currency reach this amount. */ minimumAmount: Scalars['Float']['output']; nextRunAt?: Maybe; }; /** A partner's payout statement for a period. */ export type GgnomadAffiliatePayoutStatement = { __typename?: 'GgnomadAffiliatePayoutStatement'; /** Commissions not paid yet, per currency. */ balances: Array; from: Scalars['DateTime']['output']; partnerId: Scalars['ID']['output']; partnerName: Scalars['String']['output']; /** Every payout created in the period. */ payoutCount: Scalars['Int']['output']; /** Payouts created in the period, newest first, at most 200; see payoutsTruncated. */ payouts: Array; /** True when the period has more payouts than payouts lists. Totals and balances always cover everything. */ payoutsTruncated: Scalars['Boolean']['output']; to: Scalars['DateTime']['output']; /** Paid payouts in the period, per currency. */ totals: Array; }; export declare enum GgnomadAffiliatePayoutStatus { /** Billing could not pay it; its commissions went back to APPROVED unless it needs review. */ Failed = "FAILED", /** Being created: its commissions are still being claimed. It is not sent to billing until this finishes. */ Opening = "OPENING", Paid = "PAID", /** Submitted to billing and not settled yet. */ Processing = "PROCESSING" } export type GgnomadAffiliatePayoutSyncResult = { __typename?: 'GgnomadAffiliatePayoutSyncResult'; checked: Scalars['Int']['output']; failed: Scalars['Int']['output']; paid: Scalars['Int']['output']; pending: Scalars['Int']['output']; }; export type GgnomadAffiliatePayoutTotal = { __typename?: 'GgnomadAffiliatePayoutTotal'; currency: Scalars['String']['output']; grossAmount: Scalars['Float']['output']; netAmount: Scalars['Float']['output']; paidCount: Scalars['Int']['output']; withholdingAmount: Scalars['Float']['output']; }; /** The rate a booking would earn a partner right now. */ export type GgnomadAffiliateRatePreview = { __typename?: 'GgnomadAffiliateRatePreview'; commissionPercent: Scalars['Float']['output']; ruleId?: Maybe; ruleKind?: Maybe; ruleName?: Maybe; source: GgnomadAffiliateRateSource; volume?: Maybe; }; export declare enum GgnomadAffiliateRateSource { /** The partner's base commissionPercent. */ Base = "BASE", /** A commission rule. */ Rule = "RULE" } export type GgnomadAffiliateReconciliationRow = { __typename?: 'GgnomadAffiliateReconciliationRow'; /** Whether the attached commissions add up to the payout's gross amount (a failed payout has none attached). */ balanced: Scalars['Boolean']['output']; commissionCount: Scalars['Int']['output']; /** Sum of the commissions attached to the payout. */ commissionTotal: Scalars['Float']['output']; partnerCode: Scalars['String']['output']; partnerName: Scalars['String']['output']; payout: GgnomadAffiliatePayout; }; export type GgnomadAffiliateReconciliationTotal = { __typename?: 'GgnomadAffiliateReconciliationTotal'; count: Scalars['Int']['output']; currency: Scalars['String']['output']; grossAmount: Scalars['Float']['output']; netAmount: Scalars['Float']['output']; status: GgnomadAffiliatePayoutStatus; withholdingAmount: Scalars['Float']['output']; }; /** Result of recording a referral: null fields when the code was unknown, suspended or the caller's own. */ export type GgnomadAffiliateReferralResult = { __typename?: 'GgnomadAffiliateReferralResult'; accepted: Scalars['Boolean']['output']; expiresAt?: Maybe; /** Display name of the referring partner. */ partnerName?: Maybe; }; export declare enum GgnomadAffiliateReferralSource { Link = "LINK", Widget = "WIDGET" } export declare enum GgnomadAffiliateRuleKind { /** A rate for one booking type. */ Category = "CATEGORY", /** A rate inside a start and end date. */ Promotion = "PROMOTION", /** A rate once the partner's referred volume in a trailing period reaches a threshold. */ Tier = "TIER" } /** Tax form a partner outside India certifies. */ export declare enum GgnomadAffiliateTaxForm { W8Ben = "W8BEN", W8Bene = "W8BENE", W9 = "W9" } export declare enum GgnomadAffiliateVolumeMetric { /** Referred bookings that were not cancelled or refunded. */ Bookings = "BOOKINGS", /** The commissionable amount of those bookings, in volumeCurrency. */ Revenue = "REVENUE" } export type GgnomadAnalytics = { __typename?: 'GgnomadAnalytics'; analyticsDashboard?: Maybe; analyticsDashboardId?: Maybe; conversionRate: Scalars['Float']['output']; monthlyTrends: Scalars['JSON']['output']; revenueByCategory: Scalars['JSON']['output']; topDestinations: Scalars['JSON']['output']; totalBookings: Scalars['Int']['output']; totalRevenue: Scalars['Float']['output']; totalUsers: Scalars['Int']['output']; }; /** BOFF-4378 — the rate applied to one source currency. */ export type GgnomadAppliedFxRate = { __typename?: 'GgnomadAppliedFxRate'; fromCurrency: Scalars['String']['output']; /** 1 fromCurrency = rate toCurrency. */ rate: Scalars['Float']['output']; toCurrency: Scalars['String']['output']; }; /** * BOFF-4365 — status of a GgnomadBookingApproval. Never confuse with * GgnomadBookingStatus: a booking can be `PENDING`/`CONFIRMED` at the payment * level while its approval is independently `PENDING`/`APPROVED`/`REJECTED`. */ export declare enum GgnomadApprovalStatus { Approved = "APPROVED", Pending = "PENDING", Rejected = "REJECTED" } /** * BOFF-4388 — one row of the append-only audit trail for a listing-verification * or booking-lifecycle transition. `entityType` is PROPERTY/TOUR/EVENT/ACTIVITY * for listings or BOOKING for bookings. */ export type GgnomadAuditLogEntry = { __typename?: 'GgnomadAuditLogEntry'; action: Scalars['String']['output']; actorId: Scalars['String']['output']; correlationId?: Maybe; createdAt: Scalars['DateTime']['output']; entityId: Scalars['String']['output']; entityType: Scalars['String']['output']; fromStatus?: Maybe; id: Scalars['ID']['output']; reason?: Maybe; sandboxId?: Maybe; toStatus?: Maybe; /** Verified relay attribution; null on historical or unattributed writes. Actor identity remains unchanged. */ via?: Maybe; workspaceId: Scalars['String']['output']; }; /** BOFF-3938 — what a host can set on a date. BOOKED is derived from bookings and never set. */ export declare enum GgnomadAvailabilityStatus { Available = "AVAILABLE", Blocked = "BLOCKED", Seasonal = "SEASONAL" } export type GgnomadBooking = { __typename?: 'GgnomadBooking'; /** BOFF-4365 — the booking-approval request raised for this booking, if one exists. */ approval?: Maybe; /** BOFF-4365 — null when no travel policy applied at creation time; PENDING/APPROVED/REJECTED otherwise. */ approvalStatus?: Maybe; billingTransaction?: Maybe; billingTransactionId?: Maybe; bookingType: GgnomadBookingType; /** * BOFF-4364 — carbon-offset ESTIMATE shown at booking time, using a standard * public per-km/per-night CO2 factor (see src/utils/carbon-estimate.ts). * NOT a live carbon-offset purchase — that stays out of scope per the * platform's billing boundary. Null when no reliable per-unit CO2 driver * exists for this booking's listing type today (see carbonEstimateMethod). */ carbonEstimateKg?: Maybe; /** BOFF-4364 — which standard factor produced carbonEstimateKg (e.g. PER_NIGHT_PROPERTY_ESTIMATE, PER_KM_TRIP_ESTIMATE), or null when no estimate was computed. */ carbonEstimateMethod?: Maybe; checkIn?: Maybe; checkOut?: Maybe; /** BOFF-4365 — free-text department/cost-center code the booking is charged against, for spend reporting and policy matching. */ costCenter?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** BOFF-4382 — damage claims filed against this booking, if any. */ damageClaims: Array; /** BOFF-4365 — destination label used for policy matching (blocked-destination checks); defaults to itemName when not supplied. */ destination?: Maybe; /** BOFF-3936 — this booking's share of the order's bundle and loyalty discounts. */ discountAmount?: Maybe; eventDate?: Maybe; /** BOFF-4365 — free-text expense-code / GL code for downstream expense reconciliation. */ expenseCode?: Maybe; /** BOFF-4378 — the FX rate applied: 1 `listingCurrency` = fxRate `currency`. Exactly 1 when no conversion happened. */ fxRate?: Maybe; /** BOFF-4378 — the published day (YYYY-MM-DD) of the FX rates used; null when no conversion happened. See ggnomadFxRates(date:) to reconcile. */ fxRateDate?: Maybe; /** BOFF-4378 — who published the FX rates used (ECB); null when no conversion happened. */ fxRateSource?: Maybe; guestEmail?: Maybe; guestName: Scalars['String']['output']; guestPhone?: Maybe; guests: Scalars['Int']['output']; id: Scalars['ID']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; /** BOFF-4378 — this booking's total in `listingCurrency`, before conversion. */ listingAmount?: Maybe; /** BOFF-4378 — the currency the listing priced this booking in; differs from `currency` when a checkout converted it. Null on bookings made before FX snapshots. */ listingCurrency?: Maybe; /** BOFF-3936 — the order (cart or trip-plan checkout) this booking was placed in; null for bookings made directly. */ orderId?: Maybe; /** BOFF-10786 — the source of that order: CART, TRIP_PLAN, or GUEST for a guest checkout from a storefront's booking widget. Null for bookings made directly. */ orderSource?: Maybe; paymentMethod?: Maybe; paymentStatus: Scalars['String']['output']; /** BOFF-4382 — totalPrice * protectionPolicy.feePercent / 100, computed at attach time. Fee calculation only — no live payment capture. */ protectionFeeAmount?: Maybe; protectionPolicy?: Maybe; /** BOFF-4382 — the damage/cancellation-protection policy attached at checkout time, if any. */ protectionPolicyId?: Maybe; referenceCode: Scalars['String']['output']; /** BOFF-3936 — this booking's share of the workspace service fee. totalPrice = subtotalAmount - discountAmount + taxAmount + serviceFeeAmount. */ serviceFeeAmount?: Maybe; /** BOFF-4361 — set when this booking was made against a specific availability slot (see bookGgnomadSlot). */ slotId?: Maybe; specialRequests?: Maybe; status: GgnomadBookingStatus; storeOrder?: Maybe; storeOrderId?: Maybe; /** BOFF-3936 — the listing price of this booking before discounts, tax and fees. Null on bookings made before the fee model. */ subtotalAmount?: Maybe; /** BOFF-3936 — this booking's share of the workspace tax (see ggnomadCheckoutSettings). */ taxAmount?: Maybe; tickets: Array; totalPrice: Scalars['Float']['output']; /** BOFF-4365 — fare/room class (e.g. ECONOMY, BUSINESS) used for policy class-rule checks. */ travelClass?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * BOFF-4365 — a manager approval request raised automatically when * createGgnomadBooking detects a policy violation. `reasons` holds one * human-readable line per violated rule. */ export type GgnomadBookingApproval = { __typename?: 'GgnomadBookingApproval'; booking?: Maybe; bookingId: Scalars['String']['output']; costCenter?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; policy?: Maybe; policyId?: Maybe; reasons: Array; requestedBy: Scalars['String']['output']; reviewNote?: Maybe; reviewedAt?: Maybe; reviewedBy?: Maybe; status: GgnomadApprovalStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** BOFF-10194 — the lifecycle transitions an operator can run through operateGgnomadBooking. */ export declare enum GgnomadBookingOperation { Cancel = "CANCEL", CheckIn = "CHECK_IN", Complete = "COMPLETE", NoShow = "NO_SHOW" } /** BOFF-10193 — what a booking is multiplied by: nights for a stay, guests for a per-person listing, or the whole fare for a trip. */ export declare enum GgnomadBookingQuantityBasis { Fare = "FARE", Guests = "GUESTS", Nights = "NIGHTS" } /** * BOFF-10193 — the server-computed price of one booking. `amount` = * `unitPrice` x `quantity`, where `unitPrice` is the listing price including the * demand surcharge (`ggnomadDynamicPrice.finalPrice`) and `quantity` follows * `quantityBasis`. * * BOFF-3938 — a PROPERTY stay is priced night by night from the host calendar * (see `nightlyRates`): `amount` is the sum of the surcharged nights and * `unitPrice` their average. Quoting or booking a stay that breaks the calendar * fails with MAX_GUESTS_EXCEEDED, MIN_STAY_NOT_MET or DATES_UNAVAILABLE. */ export type GgnomadBookingQuote = { __typename?: 'GgnomadBookingQuote'; /** What createGgnomadBooking will charge: subtotal + taxAmount + serviceFeeAmount (BOFF-3936). */ amount: Scalars['Float']['output']; /** BOFF-4378 — the seasonal pricing rules that priced this booking (one per night at most for stays). */ appliedPricingRuleIds: Array; basePrice: Scalars['Float']['output']; bookingType: GgnomadBookingType; currency: Scalars['String']['output']; /** Destination label derived from the listing's name and stored location; used for travel-policy checks. */ destination?: Maybe; itemId: Scalars['String']['output']; /** BOFF-3938 — PROPERTY stays: the base price of each night from the host calendar, before the demand surcharge. Empty for other bookings. */ nightlyRates: Array; quantity: Scalars['Int']['output']; quantityBasis: GgnomadBookingQuantityBasis; /** BOFF-4378 — the host's seasonal pricing rule applied to the booked date (tours, events, activities; for stays see nightlyRates). 0 when none applies. */ seasonalAdjustmentPercent: Scalars['Float']['output']; serviceFeeAmount: Scalars['Float']['output']; /** BOFF-3936 — the workspace's service fee rate and amount for this booking. */ serviceFeePercent: Scalars['Float']['output']; /** BOFF-3936 — the listing price (unitPrice x quantity) before tax and service fee. */ subtotal: Scalars['Float']['output']; surchargePercent: Scalars['Float']['output']; /** BOFF-4378 — whether surchargePercent came from the platform's default demand tiers or the host's occupancy rules. */ surchargeSource: GgnomadSurchargeSource; taxAmount: Scalars['Float']['output']; /** BOFF-3936 — the workspace's tax label, rate and amount for this booking. */ taxLabel: Scalars['String']['output']; taxPercent: Scalars['Float']['output']; /** Fare class of a TRIP booking, from the stored trip; null for listings. */ travelClass?: Maybe; unitPrice: Scalars['Float']['output']; }; export type GgnomadBookingQuoteInput = { bookingType: GgnomadBookingType; checkIn?: InputMaybe; checkOut?: InputMaybe; eventDate?: InputMaybe; guests?: InputMaybe; itemId: Scalars['String']['input']; }; /** * BOFF-4361 — a bookable date/time window with capacity for one listing * (PROPERTY/TOUR/EVENT/ACTIVITY). `remainingCapacity` (capacity - bookedCount, * never negative) is what `ggnomadBookingSlots(onlyAvailable: true)` filters * on. Book one via `bookGgnomadSlot`, which guards capacity with a conditional * DB update so concurrent bookings cannot oversell it. */ export type GgnomadBookingSlot = { __typename?: 'GgnomadBookingSlot'; bookedCount: Scalars['Int']['output']; capacity: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; endAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; listingId: Scalars['String']['output']; listingType: GgnomadListingType; remainingCapacity: Scalars['Int']['output']; startAt: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export declare enum GgnomadBookingStatus { Cancelled = "CANCELLED", CheckedIn = "CHECKED_IN", Completed = "COMPLETED", Confirmed = "CONFIRMED", NoShow = "NO_SHOW", Pending = "PENDING", Refunded = "REFUNDED" } export declare enum GgnomadBookingType { Activity = "ACTIVITY", Event = "EVENT", Property = "PROPERTY", Tour = "TOUR", Trip = "TRIP" } /** BOFF-3938 — what a calendar day shows. */ export declare enum GgnomadCalendarDayStatus { /** Open at the property's normal or the date's own rules. */ Available = "AVAILABLE", /** A blackout date set by the host, or a date blocked by an imported external calendar. */ Blocked = "BLOCKED", /** A whole-unit property (villa, apartment, cabin) already held by a confirmed booking. */ Booked = "BOOKED", /** Open at a seasonal rate the host set. */ Seasonal = "SEASONAL" } /** * BOFF-4343 — one open cart per (workspace, traveler); `myGgnomadCart` gets or * lazily creates it. Deferred: linking `storeOrderId` to a real * `global-store-svc` `StoreOrder` and dynamic/ML bundle pricing — see Linear. */ export type GgnomadCart = { __typename?: 'GgnomadCart'; checkedOutAt?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; items: Array; status: GgnomadCartStatus; summary: GgnomadCartSummary; /** * BOFF-4378 — the cart priced in `currency` (ISO 4217): what * checkoutGgnomadCart(input: { currency }) would charge. Lines in other * currencies are converted at the latest published FX rates. Fails with * FX_CURRENCY_UNSUPPORTED or FX_RATES_UNAVAILABLE. */ summaryIn: GgnomadCartSummary; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * BOFF-4343 — one open cart per (workspace, traveler); `myGgnomadCart` gets or * lazily creates it. Deferred: linking `storeOrderId` to a real * `global-store-svc` `StoreOrder` and dynamic/ML bundle pricing — see Linear. */ export type GgnomadCartSummaryInArgs = { currency: Scalars['String']['input']; }; export type GgnomadCartItem = { __typename?: 'GgnomadCartItem'; checkIn?: Maybe; checkOut?: Maybe; currency: Scalars['String']['output']; eventDate?: Maybe; guests: Scalars['Int']['output']; id: Scalars['ID']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; itemType: GgnomadBookingType; /** unitPrice * quantity, before any bundle/loyalty discount. */ lineTotal: Scalars['Float']['output']; notes?: Maybe; quantity: Scalars['Int']['output']; /** BOFF-10193 — ignored. The line is priced server-side from the listing. */ unitPrice?: Maybe; }; export declare enum GgnomadCartStatus { Abandoned = "ABANDONED", CheckedOut = "CHECKED_OUT", Open = "OPEN" } /** * BOFF-4343 — live pricing preview computed from the cart's current contents * and the static bundle-discount rule (BUNDLE_DISCOUNT_RULES in GgnomadService: * percent-off tiers keyed on how many distinct item types the cart holds). * Nothing here is persisted — it's recomputed on every read and again at the * moment of checkout, so it can never drift from the cart's live contents. */ export type GgnomadCartSummary = { __typename?: 'GgnomadCartSummary'; bundleDiscountAmount: Scalars['Float']['output']; bundleDiscountPercent: Scalars['Float']['output']; currency: Scalars['String']['output']; distinctItemTypes: Scalars['Int']['output']; /** BOFF-4378 — the published day (YYYY-MM-DD) of those rates; null when no conversion was needed. */ fxRateDate?: Maybe; /** BOFF-4378 — the FX rates used to convert lines priced in other currencies into `currency`; empty when no conversion was needed. */ fxRates: Array; itemCount: Scalars['Int']['output']; /** BOFF-3936 — loyalty-point discount applied at checkout; 0 in previews. */ loyaltyDiscountAmount: Scalars['Float']['output']; serviceFeeAmount: Scalars['Float']['output']; /** BOFF-3936 — the workspace's service fee rate and amount on the discounted subtotal. */ serviceFeePercent: Scalars['Float']['output']; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; /** BOFF-3936 — the workspace's tax label (e.g. Taxes, VAT, GST), rate and amount on the discounted subtotal. */ taxLabel: Scalars['String']['output']; taxPercent: Scalars['Float']['output']; /** subtotal - discounts + taxAmount + serviceFeeAmount: what checkout charges. */ total: Scalars['Float']['output']; }; /** * BOFF-4385 — real iCal (RFC 5545) channel-manager mapping for one listing. * `exportToken` is the opaque bearer for the public, unauthenticated .ics * export feed at this listing's OUTBOUND direction (served via the svc's REST * endpoint, forwarded publicly by the gateway — see `ggnomadChannelExportUrl`). * `externalIcalUrl` is the feed this mapping polls for INBOUND sync. */ export type GgnomadChannelMapping = { __typename?: 'GgnomadChannelMapping'; channelName: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; direction: GgnomadChannelSyncDirection; /** Public export URL for this mapping's OUTBOUND `.ics` feed, or null for an INBOUND-only mapping. */ exportUrl?: Maybe; externalIcalUrl?: Maybe; id: Scalars['ID']['output']; importedEventCount: Scalars['Int']['output']; isActive: Scalars['Boolean']['output']; lastSyncError?: Maybe; lastSyncStatus?: Maybe; lastSyncedAt?: Maybe; listingId: Scalars['String']['output']; listingType: GgnomadListingType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** BOFF-4385 — direction a channel mapping syncs in. */ export declare enum GgnomadChannelSyncDirection { Both = "BOTH", Inbound = "INBOUND", Outbound = "OUTBOUND" } /** BOFF-4385 — result of the most recent inbound sync attempt. */ export declare enum GgnomadChannelSyncStatus { Failed = "FAILED", Pending = "PENDING", Synced = "SYNCED" } /** One item of a trip plan, priced from its listing for checkout. */ export type GgnomadCheckoutLine = { __typename?: 'GgnomadCheckoutLine'; checkIn?: Maybe; checkOut?: Maybe; currency: Scalars['String']['output']; eventDate?: Maybe; /** BOFF-4378 — the rate applied: 1 listingCurrency = fxRate currency (1 when not converted). */ fxRate?: Maybe; guests: Scalars['Int']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; itemType: GgnomadBookingType; lineTotal: Scalars['Float']['output']; /** BOFF-4378 — the currency the listing prices this line in; differs from `currency` when the quote converted it. */ listingCurrency?: Maybe; /** BOFF-4378 — the line total in listingCurrency, before conversion. */ listingLineTotal?: Maybe; quantity: Scalars['Int']['output']; tripPlanItemId: Scalars['ID']['output']; unitPrice: Scalars['Float']['output']; }; /** * BOFF-4343/4376 — the bookings created from a checked-out cart, plus the * final priced summary (bundle discount, and loyalty-point discount if * `redeemPoints` was supplied). Payment capture is out of scope: bookings land * PENDING/unpaid the same way a direct `createGgnomadBooking` without * `billingTransactionId` does. */ export type GgnomadCheckoutResult = { __typename?: 'GgnomadCheckoutResult'; bookings: Array; cart: GgnomadCart; loyaltyDiscountAmount: Scalars['Float']['output']; /** BOFF-3936 — the order record; null only for the legacy input without traveler details. */ order?: Maybe; pointsRedeemed: Scalars['Int']['output']; summary: GgnomadCartSummary; }; /** * The tax and service fee every checkout in the workspace applies, set by the * workspace operator. Both are percentages of the order subtotal after * discounts. A workspace that never saved settings charges 0% of each. */ export type GgnomadCheckoutSettings = { __typename?: 'GgnomadCheckoutSettings'; acceptedPaymentMethods: Array; serviceFeePercent: Scalars['Float']['output']; taxLabel: Scalars['String']['output']; taxPercent: Scalars['Float']['output']; }; /** BOFF-4382 — a damage/cancellation-protection claim's review-workflow status. */ export declare enum GgnomadClaimStatus { Approved = "APPROVED", Denied = "DENIED", Submitted = "SUBMITTED", UnderReview = "UNDER_REVIEW" } /** * BOFF-4378 — an amount converted between currencies at a published FX rate. * `amount` is rounded to the target currency's minor unit (0 decimals for JPY, * KRW, IDR ...; 2 for most others). */ export type GgnomadConvertedAmount = { __typename?: 'GgnomadConvertedAmount'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; originalAmount: Scalars['Float']['output']; originalCurrency: Scalars['String']['output']; /** 1 originalCurrency = rate currency. Exactly 1 for the same currency. */ rate: Scalars['Float']['output']; /** Published day (YYYY-MM-DD) of the rates used; null for a same-currency amount. */ rateDate?: Maybe; /** Who published the rates (ECB); null for a same-currency amount. */ source?: Maybe; }; /** BOFF-4378 — several amounts in different currencies converted into one and summed. */ export type GgnomadConvertedTotal = { __typename?: 'GgnomadConvertedTotal'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; /** Published day (YYYY-MM-DD) of the rates used; null when every amount was already in `currency`. */ rateDate?: Maybe; /** The rate used for every other currency that was converted. */ rates: Array; source?: Maybe; }; /** BOFF-4566 — how far HTTPS serving of a verified custom domain has got. */ export declare enum GgnomadCustomDomainServingStatus { /** The domain serves the storefront over HTTPS. */ Active = "ACTIVE", /** The TXT record has not verified yet. */ AwaitingVerification = "AWAITING_VERIFICATION", /** The tenant could not be created; retried automatically. */ Failed = "FAILED", /** The CloudFront tenant exists; waiting for the operator's CNAME and/or the managed certificate. */ Provisioning = "PROVISIONING", /** This environment does not serve custom domains (alpha/local); ownership is still verified and kept. */ Unavailable = "UNAVAILABLE" } /** BOFF-4566 — ownership state of a storefront's custom domain. */ export declare enum GgnomadCustomDomainStatus { Pending = "PENDING", Verified = "VERIFIED" } /** * BOFF-4382 — a host's claim against a COMPLETED booking's protection * coverage: SUBMITTED -> UNDER_REVIEW -> APPROVED|DENIED. Claim payout stays * out of scope — only the review workflow and record-keeping are real. */ export type GgnomadDamageClaim = { __typename?: 'GgnomadDamageClaim'; booking?: Maybe; bookingId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; evidenceUrls: Array; filedBy: Scalars['String']['output']; id: Scalars['ID']['output']; requestedAmount: Scalars['Float']['output']; reviewNote?: Maybe; reviewedAt?: Maybe; reviewedBy?: Maybe; status: GgnomadClaimStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * BOFF-4387 — deterministic demand-based pricing quote: `surchargePercent` is * tied to how many non-cancelled/non-refunded bookings already exist for this * listing on the same calendar date, relative to the listing's stated * capacity (`referenceCapacity`). Not a black-box ML model. Since BOFF-10193 * createGgnomadBooking applies the same surcharge itself when it prices a * booking; use ggnomadBookingQuote for the full amount of a booking. */ export type GgnomadDynamicPriceQuote = { __typename?: 'GgnomadDynamicPriceQuote'; basePrice: Scalars['Float']['output']; currency: Scalars['String']['output']; date: Scalars['DateTime']['output']; existingBookings: Scalars['Int']['output']; finalPrice: Scalars['Float']['output']; listingId: Scalars['String']['output']; listingType: GgnomadListingType; occupancyRatio: Scalars['Float']['output']; /** BOFF-4378 — the seasonal pricing rule applied, if any. */ pricingRuleId?: Maybe; referenceCapacity: Scalars['Int']['output']; /** BOFF-4378 — the host's seasonal adjustment for this date (0 when none). finalPrice = basePrice x (1 + seasonal/100) x (1 + surcharge/100). */ seasonalAdjustmentPercent: Scalars['Float']['output']; surchargePercent: Scalars['Float']['output']; /** BOFF-4378 — whether surchargePercent came from the platform's default demand tiers or the host's occupancy rules. */ surchargeSource: GgnomadSurchargeSource; }; export type GgnomadEvent = { __typename?: 'GgnomadEvent'; /** BOFF-4379 — see GgnomadProperty.accessibilityFeatures. */ accessibilityFeatures: Array; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; endsAt?: Maybe; id: Scalars['ID']['output']; images: Array; /** BOFF-4361 — see GgnomadProperty.instantBook. */ instantBook: Scalars['Boolean']['output']; name: Scalars['String']['output']; performers: Array; price: Scalars['Float']['output']; /** BOFF-4378 — this listing's price converted into `currency` (ISO 4217, e.g. INR) at the latest published FX rate. Display only: bookings are charged in the listing currency unless a checkout chooses another one. Null when the currency is not supported or no FX rates are available. */ priceIn?: Maybe; provider?: Maybe; providerId?: Maybe; rating?: Maybe; reviewCount: Scalars['Int']['output']; startsAt: Scalars['DateTime']['output']; status: GgnomadListingStatus; storeProduct?: Maybe; storeProductId?: Maybe; /** BOFF-4364 — see GgnomadProperty.sustainabilityPractices/-Score. */ sustainabilityPractices: Array; sustainabilityScore: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; venue: Scalars['JSON']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadEventPriceInArgs = { currency: Scalars['String']['input']; }; export declare enum GgnomadExportFormat { Csv = "CSV", Json = "JSON" } export type GgnomadExportJob = { __typename?: 'GgnomadExportJob'; createdAt: Scalars['DateTime']['output']; downloadUrl?: Maybe; entityTypes: Array; format: GgnomadExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** BOFF-4378 — one quoted currency in an FX rate table. */ export type GgnomadFxRate = { __typename?: 'GgnomadFxRate'; currency: Scalars['String']['output']; /** 1 baseCurrency = rate currency. */ rate: Scalars['Float']['output']; }; /** * BOFF-4378 — the published FX reference rates (European Central Bank) for one * business day, expressed against `baseCurrency`. Rates are refreshed from the * ECB at most every six hours per service instance; `stale` is true when the * latest stored day is more than four days old because the feed could not be * reached. */ export type GgnomadFxRates = { __typename?: 'GgnomadFxRates'; baseCurrency: Scalars['String']['output']; fetchedAt: Scalars['DateTime']['output']; /** Published day (YYYY-MM-DD). */ rateDate: Scalars['String']['output']; /** Every other supported currency, sorted by code. */ rates: Array; source: Scalars['String']['output']; stale: Scalars['Boolean']['output']; }; /** * The planner reads only ACTIVE listings in this workspace whose place values * match `destination`, priced in `currency`, that the whole party fits. */ export type GgnomadGenerateTripPlanInput = { /** Total budget for the trip in `currency`. Omit for no cap. */ budget?: InputMaybe; /** ISO 4217 code; only listings priced in this currency are considered (no FX). Defaults to USD. */ currency?: InputMaybe; destination: Scalars['String']['input']; /** Inclusive. At most 30 calendar days including startDate. */ endDate: Scalars['DateTime']['input']; /** Things the travelers like, e.g. food, live music, trekking. Matched against listing text. */ interests?: InputMaybe>; /** Experiences per day, 1-4. Defaults to 2. */ maxItemsPerDay?: InputMaybe; /** Plan name; defaults to 'Trip to '. */ name?: InputMaybe; /** Up to six reviewed priorities. Only eligible workspace inventory can influence ranking; unavailable priorities produce warnings. Budget, capacity and time constraints still apply. */ preferredListings?: InputMaybe>; startDate: Scalars['DateTime']['input']; travelers: Scalars['Int']['input']; }; /** * BOFF-4392 — a workspace's data residency and enterprise governance policy. * Workspaces that never saved one get the defaults: data pinned to ap-south-1 * (India, Mumbai) and exports allowed for every GGNomad entity type. */ export type GgnomadGovernancePolicy = { __typename?: 'GgnomadGovernancePolicy'; /** Entity types the operator restricted exports to; empty means every type. */ allowedExportEntityTypes: Array; /** False until an operator saves the policy; the defaults apply until then. */ configured: Scalars['Boolean']['output']; /** AWS region code the workspace's GGNomad data is pinned to, e.g. ap-south-1. */ dataRegion: Scalars['String']['output']; dataRegionName: Scalars['String']['output']; /** The entity types that may be exported under this policy. */ exportableEntityTypes: Array; /** When false, exportGgnomadEntities is refused for the whole workspace. */ exportsEnabled: Scalars['Boolean']['output']; /** The region this deployment, and every GGNomad data store it uses, runs in. */ hostingRegion: Scalars['String']['output']; hostingRegionName: Scalars['String']['output']; /** True when dataRegion is the hosting region. Exports are refused while it is false. */ residencyCompliant: Scalars['Boolean']['output']; updatedAt?: Maybe; updatedBy?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GgnomadGroupTrip = { __typename?: 'GgnomadGroupTrip'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; members: Array; name: Scalars['String']['output']; splitMethod: GgnomadGroupTripSplitMethod; tripPlanId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * BOFF-4374 — real cost-split calculation, not a stub: EVEN divides the trip * plan's item total equally (remainder cents distributed deterministically so * shares sum exactly to totalCost); ITEMIZED sums each member's assigned items * plus an even share of unassigned items. Settling the split through * `global-billing-svc` is deferred — see Linear BOFF-4374. */ export type GgnomadGroupTripCostSplit = { __typename?: 'GgnomadGroupTripCostSplit'; currency: Scalars['String']['output']; shares: Array; splitMethod: GgnomadGroupTripSplitMethod; totalCost: Scalars['Float']['output']; }; export type GgnomadGroupTripMember = { __typename?: 'GgnomadGroupTripMember'; actorId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; displayName: Scalars['String']['output']; email?: Maybe; id: Scalars['ID']['output']; }; export type GgnomadGroupTripMemberShare = { __typename?: 'GgnomadGroupTripMemberShare'; actorId: Scalars['String']['output']; amountOwed: Scalars['Float']['output']; /** ITEMIZED only — total of items assigned directly to this member. */ assignedTotal: Scalars['Float']['output']; displayName: Scalars['String']['output']; memberId: Scalars['ID']['output']; /** The unassigned/shared portion of the total, divided evenly across all members (the whole total, for EVEN). */ sharedTotal: Scalars['Float']['output']; }; export declare enum GgnomadGroupTripSplitMethod { Even = "EVEN", Itemized = "ITEMIZED" } export type GgnomadGroupTripVote = { __typename?: 'GgnomadGroupTripVote'; actorId: Scalars['String']['output']; choice: GgnomadGroupTripVoteChoice; comment?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; tripPlanItemId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum GgnomadGroupTripVoteChoice { Abstain = "ABSTAIN", No = "NO", Yes = "YES" } /** BOFF-4374 — simple YES/NO/ABSTAIN tally per trip-plan item; ranked-choice voting is explicitly deferred (see Linear). */ export type GgnomadGroupTripVoteTally = { __typename?: 'GgnomadGroupTripVoteTally'; abstain: Scalars['Int']['output']; no: Scalars['Int']['output']; tripPlanItemId: Scalars['String']['output']; votes: Array; yes: Scalars['Int']['output']; }; /** * BOFF-4388 — the result of a listing-verification transition, and the element * type of the operator review queue. Resolved by field-shape discriminator (see * ggnomadResolvers.GgnomadListing.__resolveType) since these four types already * carry distinguishing fields (`pricePerNight`, `maxGroupSize`, `venue`, * `maxParticipants`) — no wrapper/marker field needed. */ export type GgnomadListing = GgnomadActivity | GgnomadEvent | GgnomadProperty | GgnomadTour; export declare enum GgnomadListingStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED", PendingReview = "PENDING_REVIEW" } /** * BOFF-4388 — the four listing types that go through the DRAFT -> PENDING_REVIEW * -> ACTIVE verification workflow (`GgnomadListingStatus`). `GgnomadTrip` is * deliberately excluded — trips have their own lifecycle (`GgnomadTripStatus`) * and are never operator-reviewed. */ export declare enum GgnomadListingType { Activity = "ACTIVITY", Event = "EVENT", Property = "PROPERTY", Tour = "TOUR" } /** * BOFF-4376 — Type A self-on-actor resource (`myGgnomadLoyaltyAccount`): no * identity arg; account is created lazily on first read/earn/redeem. Points * accrue at a flat rate when a booking reaches COMPLETED (see * `LOYALTY_EARN_RATE_POINTS_PER_CURRENCY_UNIT` in GgnomadService) — tiered * loyalty status levels are explicitly deferred (see Linear BOFF-4376). */ export type GgnomadLoyaltyAccount = { __typename?: 'GgnomadLoyaltyAccount'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lifetimePoints: Scalars['Int']['output']; pointsBalance: Scalars['Int']['output']; transactions: Array; updatedAt: Scalars['DateTime']['output']; }; /** * BOFF-4376 — Type A self-on-actor resource (`myGgnomadLoyaltyAccount`): no * identity arg; account is created lazily on first read/earn/redeem. Points * accrue at a flat rate when a booking reaches COMPLETED (see * `LOYALTY_EARN_RATE_POINTS_PER_CURRENCY_UNIT` in GgnomadService) — tiered * loyalty status levels are explicitly deferred (see Linear BOFF-4376). */ export type GgnomadLoyaltyAccountTransactionsArgs = { pagination?: InputMaybe; }; /** BOFF-4376 — discount CALCULATION only; no live payment capture. Apply discountAmount client-side against a future booking/checkout. */ export type GgnomadLoyaltyRedemption = { __typename?: 'GgnomadLoyaltyRedemption'; account: GgnomadLoyaltyAccount; currency: Scalars['String']['output']; discountAmount: Scalars['Float']['output']; transaction: GgnomadLoyaltyTransaction; }; export type GgnomadLoyaltyTransaction = { __typename?: 'GgnomadLoyaltyTransaction'; balanceAfter: Scalars['Int']['output']; bookingId?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; points: Scalars['Int']['output']; type: GgnomadLoyaltyTransactionType; }; export declare enum GgnomadLoyaltyTransactionType { Adjustment = "ADJUSTMENT", Earn = "EARN", Expire = "EXPIRE", Redeem = "REDEEM" } /** BOFF-3938 — the base price of one night (YYYY-MM-DD) of a stay. */ export type GgnomadNightlyRate = { __typename?: 'GgnomadNightlyRate'; date: Scalars['String']['output']; price: Scalars['Float']['output']; source: GgnomadNightlyRateSource; }; /** BOFF-3938 — where a night's price came from. */ export declare enum GgnomadNightlyRateSource { Base = "BASE", Override = "OVERRIDE", /** BOFF-4378 — the base or weekend rate adjusted by one of the host's seasonal pricing rules. */ Rule = "RULE", Weekend = "WEEKEND" } /** * BOFF-4363 — white-label / branded storefront for one operator. A storefront * is only ever visible through the public `ggnomadStorefrontBySlug` query once * `isPublished` is true; draft branding is only readable inside the workspace * via `ggnomadOperatorStorefront`. Custom-domain DNS/SSL provisioning and a * drag-and-drop page builder are explicitly deferred — see Linear BOFF-4363. */ export type GgnomadOperatorStorefront = { __typename?: 'GgnomadOperatorStorefront'; aboutText?: Maybe; createdAt: Scalars['DateTime']['output']; /** BOFF-4566 — the operator-owned custom domain attached to this storefront, with its DNS challenge and HTTPS serving state. Null when no domain is attached. */ customDomain?: Maybe; displayName: Scalars['String']['output']; /** * BOFF-10786 — whether the booking widget offers guest checkout (BOFF-10616) * for this storefront. When false the guest booking routes answer "Booking * unavailable" and the widget links only to sign-in booking. Defaults to true; * changed with setGgnomadStorefrontGuestCheckout. */ guestCheckoutEnabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isPublished: Scalars['Boolean']['output']; logoUrl?: Maybe; /** Hex color, e.g. #1E88E5. */ primaryColor?: Maybe; /** The operator's provider profile. BOFF-10195 — null when read through the public ggnomadStorefrontBySlug page. */ provider?: Maybe; providerId: Scalars['String']['output']; publishedAt?: Maybe; /** Domain-safe path segment (lowercase letters, digits, hyphens; 3-80 chars) the public storefront page is served under. */ slug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * BOFF-3936 — one checkout of a cart or a trip plan: the traveler, the chosen * payment method and the itemized totals of every booking it created. Bookings * land PENDING/unpaid; payment is settled through global-billing-svc. */ export type GgnomadOrder = { __typename?: 'GgnomadOrder'; billingAccountId?: Maybe; billingOrderId?: Maybe; billingPaymentId?: Maybe; billingTransactionId?: Maybe; bookings: Array; bundleDiscount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** BOFF-4378 — the published day (YYYY-MM-DD) of the FX rates used to convert lines into `currency`; null when no conversion happened. */ fxRateDate?: Maybe; /** BOFF-4378 — who published those rates (ECB); null when no conversion happened. */ fxRateSource?: Maybe; /** BOFF-4378 — the rate applied to each listing currency; empty when no conversion happened. */ fxRates: Array; id: Scalars['ID']['output']; loyaltyDiscount: Scalars['Float']['output']; paidAt?: Maybe; paymentMethod: GgnomadPaymentMethod; paymentStatus: Scalars['String']['output']; pointsRedeemed: Scalars['Int']['output']; referenceCode: Scalars['String']['output']; serviceFeeAmount: Scalars['Float']['output']; serviceFeePercent: Scalars['Float']['output']; /** CART, TRIP_PLAN, or GUEST for a guest checkout from a storefront's booking widget (BOFF-10616). */ source: Scalars['String']['output']; /** The cart, trip plan or storefront id. */ sourceId: Scalars['String']['output']; /** PENDING while bookings are being created, then PLACED; FAILED if checkout was rolled back. */ status: Scalars['String']['output']; storeOrderId?: Maybe; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; taxLabel: Scalars['String']['output']; taxPercent: Scalars['Float']['output']; total: Scalars['Float']['output']; traveler: GgnomadTraveler; workspaceId: Scalars['String']['output']; }; export type GgnomadOrderPaymentCallbackResult = { __typename?: 'GgnomadOrderPaymentCallbackResult'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type GgnomadOrderPaymentHandoff = { __typename?: 'GgnomadOrderPaymentHandoff'; billingAccountId: Scalars['ID']['output']; billingOrderId: Scalars['ID']['output']; hostedCheckoutPath: Scalars['String']['output']; order: GgnomadOrder; storeOrderId: Scalars['ID']['output']; }; export type GgnomadOverviewStats = { __typename?: 'GgnomadOverviewStats'; bookings: Scalars['Int']['output']; listings: Scalars['Int']['output']; monthlyRevenue: Scalars['Float']['output']; users: Scalars['Int']['output']; }; /** How the traveler intends to pay. Payment itself is settled through global-billing-svc; checkout records the choice. */ export declare enum GgnomadPaymentMethod { ApplePay = "APPLE_PAY", Card = "CARD", GooglePay = "GOOGLE_PAY" } /** Inventory kinds supported by the grounded itinerary planner. */ export declare enum GgnomadPlannerListingKind { Activity = "ACTIVITY", Event = "EVENT", Property = "PROPERTY", Tour = "TOUR" } /** * BOFF-4378 — a host's pricing rule on one listing. Seasonal rules adjust the * base price on the dates they cover (the shortest matching season wins; an * explicit nightly price in a property's availability calendar is never * adjusted). Occupancy rules replace the default demand tiers for the listing; * the highest threshold reached wins. Rules never stack. */ export type GgnomadPricingRule = { __typename?: 'GgnomadPricingRule'; /** Percentage change to the price: negative for a discount (SEASONAL only), positive for a premium. */ adjustmentPercent: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** SEASONAL: days of the week the rule applies on (0 = Sunday ... 6 = Saturday); empty means every day. */ daysOfWeek: Array; /** SEASONAL: last day (YYYY-MM-DD, inclusive). */ endDate?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; listingId: Scalars['ID']['output']; listingType: GgnomadListingType; /** OCCUPANCY: the occupancy (percent of the listing's capacity booked on the date) the rule starts at. */ minOccupancyPercent?: Maybe; name: Scalars['String']['output']; ruleType: GgnomadPricingRuleType; /** SEASONAL: first day (YYYY-MM-DD, inclusive). */ startDate?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** BOFF-4378 — the kinds of provider pricing rule. */ export declare enum GgnomadPricingRuleType { /** A surcharge (0 to 300%) once the listing's occupancy on the booked date reaches minOccupancyPercent. */ Occupancy = "OCCUPANCY", /** A percentage adjustment of the base price for a date range (-90 to +300). */ Seasonal = "SEASONAL" } /** * BOFF-4387 — a traveler's request for a custom private/group tour outside * standard listed slots. The host may ACCEPT (optionally creating a real * GgnomadBooking at the agreed price), COUNTER (propose a different * price/date), or DECLINE. */ export type GgnomadPrivateGroupRequest = { __typename?: 'GgnomadPrivateGroupRequest'; booking?: Maybe; bookingId?: Maybe; counterDate?: Maybe; counterPrice?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; groupSize: Scalars['Int']['output']; hostNote?: Maybe; id: Scalars['ID']['output']; listingId: Scalars['String']['output']; listingType: GgnomadListingType; message?: Maybe; proposedDate: Scalars['DateTime']['output']; proposedPrice?: Maybe; requestedBy: Scalars['String']['output']; respondedAt?: Maybe; respondedBy?: Maybe; status: GgnomadPrivateRequestStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** BOFF-4387 — the host's response action to a GgnomadPrivateGroupRequest. */ export declare enum GgnomadPrivateRequestAction { Accept = "ACCEPT", Counter = "COUNTER", Decline = "DECLINE" } /** BOFF-4387 — a private/group tour request's negotiation status. */ export declare enum GgnomadPrivateRequestStatus { Accepted = "ACCEPTED", Countered = "COUNTERED", Declined = "DECLINED", Pending = "PENDING" } export type GgnomadProperty = { __typename?: 'GgnomadProperty'; /** BOFF-4379 — self-attested WCAG-aligned accessibility tags; see GgnomadAccessibilityFeature. */ accessibilityFeatures: Array; address: Scalars['JSON']['output']; amenities: Array; bathrooms?: Maybe; bedrooms?: Maybe; checkInTime?: Maybe; checkOutTime?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; id: Scalars['ID']['output']; images: Array; /** BOFF-4361 — when true (default), a verified/policy-clean booking against this listing confirms immediately with no host review. */ instantBook: Scalars['Boolean']['output']; maxGuests: Scalars['Int']['output']; /** BOFF-3938 — the shortest stay (in nights) this property accepts. A date can raise it for check-ins on that date. */ minStayNights: Scalars['Int']['output']; name: Scalars['String']['output']; /** BOFF-4378 — this listing's price converted into `currency` (ISO 4217, e.g. INR) at the latest published FX rate. Display only: bookings are charged in the listing currency unless a checkout chooses another one. Null when the currency is not supported or no FX rates are available. */ priceIn?: Maybe; pricePerNight: Scalars['Float']['output']; provider?: Maybe; providerId?: Maybe; rating?: Maybe; reviewCount: Scalars['Int']['output']; status: GgnomadListingStatus; storeProduct?: Maybe; storeProductId?: Maybe; /** BOFF-4364 — self-attested; see GgnomadSustainabilityPractice doc comment. */ sustainabilityPractices: Array; /** BOFF-4364 — deterministic score (0-100) derived from sustainabilityPractices; SELF-REPORTED, not independently verified. */ sustainabilityScore: Scalars['Int']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** BOFF-3938 — nightly price for Friday and Saturday nights; null means those nights cost pricePerNight. */ weekendPricePerNight?: Maybe; workspaceId: Scalars['String']['output']; }; export type GgnomadPropertyPriceInArgs = { currency: Scalars['String']['input']; }; /** * BOFF-3938 — one property's availability & pricing calendar for a date range. * Readable by any workspace member (travelers see open dates and nightly * prices); `canManage` is true for the listing's host, who alone can change it * with setGgnomadPropertyAvailability / clearGgnomadPropertyAvailability and * sees notes and booking counts. */ export type GgnomadPropertyCalendar = { __typename?: 'GgnomadPropertyCalendar'; canManage: Scalars['Boolean']['output']; currency: Scalars['String']['output']; days: Array; endDate: Scalars['String']['output']; instantBook: Scalars['Boolean']['output']; listingStatus: GgnomadListingStatus; maxGuests: Scalars['Int']['output']; minStayNights: Scalars['Int']['output']; pricePerNight: Scalars['Float']['output']; propertyId: Scalars['ID']['output']; startDate: Scalars['String']['output']; weekendPricePerNight?: Maybe; /** True for villas, apartments and cabins, which a single booking takes whole. */ wholeUnit: Scalars['Boolean']['output']; }; export type GgnomadPropertyCalendarDay = { __typename?: 'GgnomadPropertyCalendarDay'; /** Confirmed bookings covering this night. Host only; null for everyone else. */ bookedCount?: Maybe; /** YYYY-MM-DD (UTC calendar day). */ date: Scalars['String']['output']; /** True when an imported external calendar blocks this date (channel manager). */ externallyBlocked: Scalars['Boolean']['output']; /** True when the host set something on this date. */ hasOverride: Scalars['Boolean']['output']; /** Friday or Saturday night. */ isWeekend: Scalars['Boolean']['output']; /** Minimum nights for a stay checking in on this date. */ minStay: Scalars['Int']['output']; /** The host's note for this date. Host only; null for everyone else. */ note?: Maybe; /** Base price of this night, before any demand surcharge. */ price: Scalars['Float']['output']; priceSource: GgnomadNightlyRateSource; status: GgnomadCalendarDayStatus; }; /** * BOFF-4382 — a coverage plan a workspace defines. `feePercent` is charged as a * percentage of booking value at attach time (attachGgnomadProtectionPolicy) — * calculation only, no live payment capture. */ export type GgnomadProtectionPolicy = { __typename?: 'GgnomadProtectionPolicy'; coverageTerms?: Maybe; createdAt: Scalars['DateTime']['output']; feePercent: Scalars['Float']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; maxCoverageAmount?: Maybe; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadProvider = { __typename?: 'GgnomadProvider'; /** BOFF-3953 — business address: line1, line2, city, region, postalCode, country. */ address?: Maybe; /** BOFF-3953 — live: bookings created on this provider's listings since the start of the current UTC month, cancelled and refunded excluded. */ bookingsThisMonth: Scalars['Int']['output']; contactEmail?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; /** BOFF-3953 — live: listings this provider owns that are not ARCHIVED. */ listingCount: Scalars['Int']['output']; /** BOFF-3953 — logo image URL (http or https). */ logo?: Maybe; name: Scalars['String']['output']; /** BOFF-3953 — the provider-profile checklist the provider portal shows until every step is complete. */ profileCompletion: GgnomadProviderProfileCompletion; /** BOFF-3953 — live: review-weighted mean rating across this provider's rated listings; null when none is rated. */ rating?: Maybe; /** BOFF-3953 — live: reviews across this provider's listings. */ reviewCount: Scalars['Int']['output']; status: Scalars['String']['output']; /** BOFF-4363 — this provider's branded storefront, or null if it hasn't created one yet. */ storefront?: Maybe; /** BOFF-3953 — live: booking value across this provider's listings in USD (bookings in other currencies converted at the latest published FX rate), cancelled and refunded bookings excluded. */ totalRevenue: Scalars['Float']['output']; type: GgnomadProviderType; updatedAt: Scalars['DateTime']['output']; /** BOFF-3953 — when a marketplace operator verified this provider; null until then. */ verifiedAt?: Maybe; website?: Maybe; workspaceId: Scalars['String']['output']; }; /** * BOFF-4390 — provider-facing analytics dashboard. Computed live from real * GgnomadBooking rows for the listings owned by exactly one GgnomadProvider — * never cross-provider (see `myGgnomadProviderAnalytics`'s ownership check). * Deliberately out of scope for this core: predictive/forecasting numbers and * configurable custom-report building — both need history/config this ticket * does not build; see BOFF-4390 follow-up notes. */ export type GgnomadProviderAnalytics = { __typename?: 'GgnomadProviderAnalytics'; bookingsOverTime: Array; cancellationRate: Scalars['Float']['output']; cancelledBookings: Scalars['Int']['output']; capacityUtilizationRate: Scalars['Float']['output']; dateFrom: Scalars['DateTime']['output']; dateTo: Scalars['DateTime']['output']; granularity: Scalars['String']['output']; providerId: Scalars['String']['output']; providerName: Scalars['String']['output']; revenueOverTime: Array; topListings: Array; totalBookings: Scalars['Int']['output']; totalRevenue: Scalars['Float']['output']; }; /** * BOFF-4390 — one bucket of a provider analytics time series, truncated to the * requested `granularity` (day/week/month). `period` is the UTC bucket-start * date as `YYYY-MM-DD` (day/week) or `YYYY-MM` (month). `bookings` counts every * booking created in the bucket regardless of status; `revenue` sums * `totalPrice` for bookings NOT cancelled/refunded — the same * non-cancelled/non-refunded convention `ggnomadSpendSummary` already uses for * "real" spend. */ export type GgnomadProviderAnalyticsPoint = { __typename?: 'GgnomadProviderAnalyticsPoint'; bookings: Scalars['Int']['output']; period: Scalars['String']['output']; revenue: Scalars['Float']['output']; }; /** * BOFF-4390 — per-listing drill-down row inside a provider's analytics window. * `capacityUtilizationRate` is guests-booked ÷ listing capacity (maxGuests / * maxGroupSize / maxCapacity / maxParticipants depending on listing type), * averaged across that listing's bookings in the window — the honest metric * GGNomad's data model actually supports today, since there is no per-date * room/seat inventory table to compute true night-by-night occupancy against. * `cancellationRate` is cancelled ÷ total bookings for that listing in the * window (0 when the listing has zero bookings in range). */ export type GgnomadProviderListingAnalytics = { __typename?: 'GgnomadProviderListingAnalytics'; bookings: Scalars['Int']['output']; cancellationRate: Scalars['Float']['output']; capacityUtilizationRate: Scalars['Float']['output']; listingId: Scalars['String']['output']; listingName: Scalars['String']['output']; listingType: GgnomadBookingType; revenue: Scalars['Float']['output']; }; /** BOFF-3953 — how complete a provider profile is. `percent` is a whole number from 0 to 100. */ export type GgnomadProviderProfileCompletion = { __typename?: 'GgnomadProviderProfileCompletion'; completedSteps: Scalars['Int']['output']; isComplete: Scalars['Boolean']['output']; percent: Scalars['Int']['output']; steps: Array; totalSteps: Scalars['Int']['output']; }; /** * BOFF-3953 — one step of the provider-profile checklist. * BUSINESS_DETAILS: a description. CONTACT: contact email and phone. * LOCATION: an address with city and country. BRANDING: a logo and a website. * FIRST_LISTING: at least one listing that is not archived. * VERIFICATION: a marketplace operator verified the provider. */ export declare enum GgnomadProviderProfileStep { Branding = "BRANDING", BusinessDetails = "BUSINESS_DETAILS", Contact = "CONTACT", FirstListing = "FIRST_LISTING", Location = "LOCATION", Verification = "VERIFICATION" } export type GgnomadProviderProfileStepStatus = { __typename?: 'GgnomadProviderProfileStepStatus'; complete: Scalars['Boolean']['output']; step: GgnomadProviderProfileStep; }; export declare enum GgnomadProviderType { ActivityProvider = "ACTIVITY_PROVIDER", EventOrganizer = "EVENT_ORGANIZER", HotelOperator = "HOTEL_OPERATOR", TourOperator = "TOUR_OPERATOR", TransportProvider = "TRANSPORT_PROVIDER" } /** BOFF-4375 — one registered push-capable device for the calling actor. */ export type GgnomadPushDevice = { __typename?: 'GgnomadPushDevice'; actorId: Scalars['String']['output']; appVersion?: Maybe; createdAt: Scalars['DateTime']['output']; deviceToken: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; lastSeenAt: Scalars['DateTime']['output']; platform: GgnomadPushPlatform; workspaceId: Scalars['String']['output']; }; /** BOFF-4375 — native push registration platform. */ export declare enum GgnomadPushPlatform { Android = "ANDROID", Ios = "IOS", Web = "WEB" } /** BOFF-4392 — a region a workspace's GGNomad data can be pinned to. */ export type GgnomadResidencyRegion = { __typename?: 'GgnomadResidencyRegion'; code: Scalars['String']['output']; /** ISO 3166-1 alpha-2 country of the region's data centres. */ country: Scalars['String']['output']; /** True for the region this deployment runs in. */ hosting: Scalars['Boolean']['output']; name: Scalars['String']['output']; }; export type GgnomadReview = { __typename?: 'GgnomadReview'; content?: Maybe; createdAt: Scalars['DateTime']['output']; helpfulCount: Scalars['Int']['output']; id: Scalars['ID']['output']; images: Array; isVerified: Scalars['Boolean']['output']; rating: Scalars['Int']['output']; respondedAt?: Maybe; response?: Maybe; targetId: Scalars['String']['output']; targetType: GgnomadBookingType; title?: Maybe; }; export type GgnomadReviewSummary = { __typename?: 'GgnomadReviewSummary'; average: Scalars['Float']['output']; count: Scalars['Int']['output']; distribution: Array; }; /** A traveler-reviewed preference. It never supplies a listing price or availability claim. */ export type GgnomadReviewedListingPreferenceInput = { itemId: Scalars['ID']['input']; itemType: GgnomadPlannerListingKind; }; /** BOFF-3208 — the inventory kinds ggnomadSearch looks across. */ export declare enum GgnomadSearchEntityType { Activity = "ACTIVITY", Event = "EVENT", Property = "PROPERTY", Provider = "PROVIDER", Tour = "TOUR" } /** BOFF-3208 — one result card, the same shape for every inventory kind. */ export type GgnomadSearchHit = { __typename?: 'GgnomadSearchHit'; /** Property type, tour type, event category, activity category or provider type. */ category: Scalars['String']['output']; currency?: Maybe; description?: Maybe; /** BOFF-4378 — the price converted into the search's displayCurrency; null without one, without a price, or when the currency cannot be converted. */ displayPrice?: Maybe; ecoFriendly: Scalars['Boolean']['output']; entityType: GgnomadSearchEntityType; id: Scalars['ID']['output']; image?: Maybe; /** Short place label taken from the stored address / location / venue. */ location?: Maybe; /** Price per night for properties, per booking otherwise; null for providers. */ price?: Maybe; providerId?: Maybe; rating?: Maybe; reviewCount: Scalars['Int']['output']; /** Relevance score used by the RELEVANCE sort (higher is better). */ score: Scalars['Float']['output']; /** Event start time; null for other kinds. */ startsAt?: Maybe; sustainabilityScore: Scalars['Int']['output']; title: Scalars['String']['output']; }; /** * BOFF-3208 — search criteria for `ggnomadSearch`. Every filter is optional and * they combine with AND. `query` matches every word against each listing's name, * description and location; `destination` matches location only. */ export type GgnomadSearchInput = { /** * The entity's own classification: property type (HOTEL, VILLA...), tour type * (CULTURAL, BOAT...), event category (CONCERT...), activity category * (WATER_SPORTS...) or provider type (TOUR_OPERATOR...). Kinds without that * value are left out. */ category?: InputMaybe; /** Start of the travel window: events must start inside it; properties must have no host-blocked night inside it. */ dateFrom?: InputMaybe; /** End of the travel window. */ dateTo?: InputMaybe; /** Destination words, matched against the address / location / venue only. */ destination?: InputMaybe; /** BOFF-4378 — also show every price converted into this currency (ISO 4217) as displayPrice. Filters and sorting still use each listing's own price. */ displayCurrency?: InputMaybe; /** Only listings whose self-attested sustainability score is at least 50. Providers are left out. */ ecoFriendly?: InputMaybe; /** Include events that have already ended (when no date window is given they are hidden). */ includePastEvents?: InputMaybe; /** Page size, 1 to 50 (default 20). */ limit?: InputMaybe; /** Highest price (per night for properties). */ maxPrice?: InputMaybe; /** Lowest price (per night for properties). Providers have no price and are left out when a price filter is set. */ minPrice?: InputMaybe; /** Minimum average rating, 0 to 5. */ minRating?: InputMaybe; /** Results to skip. offset + limit may not exceed 200. */ offset?: InputMaybe; /** Only this provider's listings (and the provider itself). */ providerId?: InputMaybe; /** Provider status to match (PENDING, ACTIVE, SUSPENDED or ARCHIVED); ACTIVE when omitted. */ providerStatus?: InputMaybe; /** Free text, up to 200 characters. Every word must appear in the name, description or location. */ query?: InputMaybe; sort?: InputMaybe; /** Listing status to match; ACTIVE (bookable) when omitted. */ status?: InputMaybe; /** Inventory kinds to search; all kinds when omitted. */ types?: InputMaybe>; }; export type GgnomadSearchResult = { __typename?: 'GgnomadSearchResult'; /** Matches per requested kind, in the requested order. */ counts: Array; hasMore: Scalars['Boolean']['output']; items: Array; /** The normalised query text, or null when no text was given. */ query?: Maybe; /** Id of this search, also carried by the ggnomad.search.executed analytics event. */ searchId: Scalars['ID']['output']; tookMs: Scalars['Int']['output']; /** Matches across every requested kind. */ total: Scalars['Int']['output']; }; /** BOFF-3208 — result ordering for ggnomadSearch. Results without a price or rating sort last. */ export declare enum GgnomadSearchSort { Newest = "NEWEST", PriceAsc = "PRICE_ASC", PriceDesc = "PRICE_DESC", RatingDesc = "RATING_DESC", /** Best text match first (title beats location beats description), then rating. */ Relevance = "RELEVANCE" } export type GgnomadSearchTypeCount = { __typename?: 'GgnomadSearchTypeCount'; count: Scalars['Int']['output']; entityType: GgnomadSearchEntityType; }; /** Immutable server-priced reservation quote for the canonical billing service. */ export type GgnomadSourceOrderQuote = { __typename?: 'GgnomadSourceOrderQuote'; buyerActorId: Scalars['ID']['output']; currency: Scalars['String']['output']; expiresAt: Scalars['String']['output']; items: Array; organizationId: Scalars['ID']['output']; revision: Scalars['String']['output']; sourceOrderId: Scalars['ID']['output']; subtotal: Scalars['String']['output']; taxAmount: Scalars['String']['output']; taxLabel: Scalars['String']['output']; total: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type GgnomadSourceOrderQuoteItem = { __typename?: 'GgnomadSourceOrderQuoteItem'; amount: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** * BOFF-4365 — manager consolidated-spend view. `byCostCenter` maps cost-center * label (or "unassigned") to { spend: Float, count: Int }. */ export type GgnomadSpendSummary = { __typename?: 'GgnomadSpendSummary'; bookingCount: Scalars['Int']['output']; byCostCenter: Scalars['JSON']['output']; pendingApprovalAmount: Scalars['Float']['output']; pendingApprovalCount: Scalars['Int']['output']; totalSpend: Scalars['Float']['output']; }; /** * BOFF-4566 — an operator-owned domain attached to a storefront. Ownership is * proven by a DNS TXT record named verificationRecordName with the value * verificationRecordValue. Once verified, the storefront is served over HTTPS * on the operator's own domain (CNAME to cnameTarget). */ export type GgnomadStorefrontCustomDomain = { __typename?: 'GgnomadStorefrontCustomDomain'; /** Status of the automatically issued HTTPS certificate (pending-validation, issued, ...). */ certificateStatus?: Maybe; /** Hostname the operator points a CNAME record at (e.g. storefronts.ggnomad.com). Null where this environment does not serve custom domains. */ cnameTarget?: Maybe; /** Lowercase ASCII (punycode) hostname, e.g. trips.example.com. */ hostname: Scalars['String']['output']; lastCheckedAt?: Maybe; /** Why the last ownership check did not pass. Null once verified. */ lastError?: Maybe; /** What still has to happen before the domain serves, while servingStatus is PROVISIONING or FAILED. */ servingError?: Maybe; /** Whether the domain serves the storefront over HTTPS yet. */ servingStatus: GgnomadCustomDomainServingStatus; status: GgnomadCustomDomainStatus; /** https:// once servingStatus is ACTIVE. */ url?: Maybe; /** Fully qualified name of the TXT record, e.g. _ggnomad-challenge.trips.example.com. */ verificationRecordName: Scalars['String']['output']; /** DNS record type to create. Always TXT. */ verificationRecordType: Scalars['String']['output']; /** Exact value the TXT record must contain. */ verificationRecordValue: Scalars['String']['output']; verifiedAt?: Maybe; }; /** * BOFF-4363 — the public, branded storefront page returned by * `ggnomadStorefrontBySlug`: the operator's branding plus one page of the * ACTIVE listings of each listing type belonging to that provider. */ export type GgnomadStorefrontPage = { __typename?: 'GgnomadStorefrontPage'; activities: Array; events: Array; properties: Array; storefront: GgnomadOperatorStorefront; tours: Array; }; /** BOFF-4378 — where a demand surcharge came from. */ export declare enum GgnomadSurchargeSource { /** The platform's default demand tiers (+10% from 50% occupancy, +20% from 80%). */ DefaultTiers = "DEFAULT_TIERS", /** The host's own occupancy rules, which replace the default tiers for the listing. */ ProviderRules = "PROVIDER_RULES" } /** * BOFF-4364 — self-attested sustainability practices a host/operator can * declare on a listing. `sustainabilityScore` on each listing type is derived * deterministically from how many of these are declared — SELF-REPORTED by the * host, NOT independently verified or audited (see GgnomadService's * computeSustainabilityScore doc comment). Independently-audited certification * is explicitly out of scope for this pass — see Linear BOFF-4364. */ export declare enum GgnomadSustainabilityPractice { CarbonOffsetProgram = "CARBON_OFFSET_PROGRAM", CommunityReinvestment = "COMMUNITY_REINVESTMENT", LocalSourcing = "LOCAL_SOURCING", PlasticFree = "PLASTIC_FREE", RenewableEnergy = "RENEWABLE_ENERGY", SustainableTransport = "SUSTAINABLE_TRANSPORT", WasteRecycling = "WASTE_RECYCLING", WaterConservation = "WATER_CONSERVATION" } /** * A mobile QR-code ticket issued for a confirmed booking (BOFF-4362). `qrToken` * is a server-signed, revocable bearer token; `qrCodeDataUrl` renders it as a * displayable PNG. Redemption is idempotent-safe: once REDEEMED or REVOKED, the * same token permanently fails validation even though the signature stays valid. */ export type GgnomadTicket = { __typename?: 'GgnomadTicket'; booking?: Maybe; bookingId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; /** BOFF-10194 — PNG data URL of `qrToken`. Same visibility rule: null unless the caller made the booking. */ qrCodeDataUrl?: Maybe; /** BOFF-10194 — the signed QR credential. Returned only to the traveler who made the booking; null for everyone else (hosts and operators scan the token the traveler presents). */ qrToken?: Maybe; redeemedAt?: Maybe; redeemedBy?: Maybe; revokedAt?: Maybe; revokedReason?: Maybe; status: GgnomadTicketStatus; ticketCode: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export declare enum GgnomadTicketStatus { Issued = "ISSUED", Redeemed = "REDEEMED", Revoked = "REVOKED" } export type GgnomadTour = { __typename?: 'GgnomadTour'; /** BOFF-4379 — see GgnomadProperty.accessibilityFeatures. */ accessibilityFeatures: Array; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe; difficulty?: Maybe; duration: Scalars['String']['output']; guideName?: Maybe; highlights: Array; id: Scalars['ID']['output']; images: Array; /** BOFF-4361 — see GgnomadProperty.instantBook. */ instantBook: Scalars['Boolean']['output']; languages: Array; location: Scalars['JSON']['output']; maxGroupSize: Scalars['Int']['output']; name: Scalars['String']['output']; price: Scalars['Float']['output']; /** BOFF-4378 — this listing's price converted into `currency` (ISO 4217, e.g. INR) at the latest published FX rate. Display only: bookings are charged in the listing currency unless a checkout chooses another one. Null when the currency is not supported or no FX rates are available. */ priceIn?: Maybe; provider?: Maybe; providerId?: Maybe; rating?: Maybe; reviewCount: Scalars['Int']['output']; status: GgnomadListingStatus; storeProduct?: Maybe; storeProductId?: Maybe; /** BOFF-4364 — see GgnomadProperty.sustainabilityPractices/-Score. */ sustainabilityPractices: Array; sustainabilityScore: Scalars['Int']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadTourPriceInArgs = { currency: Scalars['String']['input']; }; /** * BOFF-4406 — an ephemeral (non-persisted) transport inventory search result * returned by `searchGgnomadTransport`. `providerName` identifies which * transport-inventory provider produced the offer — see the `TransportProvider` * interface in `src/clients/transport-provider.ts`. Today this is always the * built-in reference/sandbox provider (no live GDS commercial agreement is in * place yet — see BOFF-4406 notes); the interface is designed so a real * provider (e.g. Amadeus for flights) can be plugged in without changing this * schema. Book an offer by passing its `offerToken` to `createGgnomadTrip` * (BOFF-10228): the trip's fare and itinerary are taken from the signed token, * never from caller-supplied fields. */ export type GgnomadTransportOffer = { __typename?: 'GgnomadTransportOffer'; arrivalAt: Scalars['DateTime']['output']; carrier: Scalars['String']['output']; carrierCode?: Maybe; class?: Maybe; co2Emissions?: Maybe; currency: Scalars['String']['output']; departureAt: Scalars['DateTime']['output']; destination: Scalars['JSON']['output']; durationMinutes: Scalars['Int']['output']; ecoFriendly: Scalars['Boolean']['output']; isRoundTrip: Scalars['Boolean']['output']; /** BOFF-10228 — after this time the offerToken is rejected; search again for a fresh offer. */ offerExpiresAt: Scalars['DateTime']['output']; offerId: Scalars['ID']['output']; /** BOFF-10228 — signed snapshot of this offer, bound to the caller and workspace. Pass it to createGgnomadTrip before offerExpiresAt. */ offerToken: Scalars['String']['output']; origin: Scalars['JSON']['output']; passengers: Scalars['Int']['output']; price: Scalars['Float']['output']; providerName: Scalars['String']['output']; returnArrivalAt?: Maybe; returnDepartureAt?: Maybe; stops?: Maybe; transportMode: Scalars['String']['output']; }; /** * BOFF-4365 — corporate travel guardrails for a workspace (or one cost center * within it). Managers (GGNomad Marketplace Operator role) define these; a * booking that violates the applicable policy is held for approval instead of * confirming automatically. `costCenter: null` means "workspace-wide default". */ export type GgnomadTravelPolicy = { __typename?: 'GgnomadTravelPolicy'; /** Non-empty list restricts GgnomadBooking.travelClass to these values; empty means unrestricted. */ allowedTravelClasses: Array; /** Destination labels (matched against GgnomadBooking.destination, case-insensitive) that always require approval. */ blockedDestinations: Array; costCenter?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** Per-booking budget cap in `currency`; null means no per-booking cap. */ maxBookingAmount?: Maybe; /** Rolling calendar-month spend cap per traveler in `currency`; null means no monthly cap. */ maxMonthlyPerTraveler?: Maybe; name: Scalars['String']['output']; /** When true, every booking under this policy requires approval regardless of amount/destination/class. */ requireApprovalAlways: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadTraveler = { __typename?: 'GgnomadTraveler'; dateOfBirth?: Maybe; email: Scalars['String']['output']; firstName: Scalars['String']['output']; lastName: Scalars['String']['output']; nationality?: Maybe; phone?: Maybe; }; /** The primary traveler on an order. */ export type GgnomadTravelerInput = { /** YYYY-MM-DD, in the past. */ dateOfBirth?: InputMaybe; email: Scalars['String']['input']; firstName: Scalars['String']['input']; lastName: Scalars['String']['input']; /** ISO 3166-1 alpha-2 country code, e.g. IN. */ nationality?: InputMaybe; /** 7-15 digits, optionally starting with + (spaces, dashes, dots and parentheses allowed). */ phone?: InputMaybe; }; export type GgnomadTrip = { __typename?: 'GgnomadTrip'; arrivalAt: Scalars['DateTime']['output']; carrier?: Maybe; /** BOFF-4406 — carrier-issued identifier (e.g. flight/train/bus number) for the leg. */ carrierCode?: Maybe; class?: Maybe; /** BOFF-4406 — estimated CO2 emissions (kg) for this leg, when the provider reports it. */ co2Emissions?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; departureAt: Scalars['DateTime']['output']; destination: Scalars['JSON']['output']; ecoFriendly: Scalars['Boolean']['output']; /** BOFF-10228 — true when the fare and itinerary were taken from a verified searchGgnomadTransport offer. Only such trips can be booked. */ fareVerified: Scalars['Boolean']['output']; /** BOFF-10228 — when the offer token was verified; null for a manual trip. */ fareVerifiedAt?: Maybe; id: Scalars['ID']['output']; isRoundTrip: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** BOFF-10228 — the transport provider whose signed offer this trip's fare came from; null for a manual trip. */ offerProvider?: Maybe; origin: Scalars['JSON']['output']; passengers: Scalars['Int']['output']; price: Scalars['Float']['output']; /** BOFF-4378 — this listing's price converted into `currency` (ISO 4217, e.g. INR) at the latest published FX rate. Display only: bookings are charged in the listing currency unless a checkout chooses another one. Null when the currency is not supported or no FX rates are available. */ priceIn?: Maybe; returnArrivalAt?: Maybe; returnDepartureAt?: Maybe; status: Scalars['String']['output']; /** BOFF-4406 — provider-reported layover/connection legs, shape mirrors the provider's offer payload. */ stops?: Maybe; storeProduct?: Maybe; storeProductId?: Maybe; transportMode: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadTripPriceInArgs = { currency: Scalars['String']['input']; }; export type GgnomadTripPlan = { __typename?: 'GgnomadTripPlan'; createdAt: Scalars['DateTime']['output']; description?: Maybe; endDate?: Maybe; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items: Array; name: Scalars['String']['output']; startDate?: Maybe; status: Scalars['String']['output']; /** BOFF-4378 — legacy raw sum of item prices, ignoring currency. Use totalsByCurrency, or totalIn(currency) for an FX-converted total. */ total: Scalars['Float']['output']; /** BOFF-4378 — every item converted into `currency` (ISO 4217) at the latest published FX rates and summed. Fails with FX_CURRENCY_UNSUPPORTED or FX_RATES_UNAVAILABLE. */ totalIn: GgnomadConvertedTotal; /** BOFF-4378 — currency-safe item totals grouped by currency. */ totalsByCurrency: Array; travelers: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type GgnomadTripPlanTotalInArgs = { currency: Scalars['String']['input']; }; export type GgnomadTripPlanCheckoutQuote = { __typename?: 'GgnomadTripPlanCheckoutQuote'; acceptedPaymentMethods: Array; lines: Array; summary: GgnomadCartSummary; tripPlanId: Scalars['ID']['output']; }; export type GgnomadTripPlanCheckoutResult = { __typename?: 'GgnomadTripPlanCheckoutResult'; bookings: Array; loyaltyDiscountAmount: Scalars['Float']['output']; order: GgnomadOrder; pointsRedeemed: Scalars['Int']['output']; summary: GgnomadCartSummary; tripPlanId: Scalars['ID']['output']; }; /** BOFF-4378 — per-currency breakdown of a trip plan's item prices. */ export type GgnomadTripPlanCurrencyTotal = { __typename?: 'GgnomadTripPlanCurrencyTotal'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; }; /** * BOFF-3699 — a constraint the trip plan breaks. `code` is one of * LISTING_UNAVAILABLE, CAPACITY_EXCEEDED, EVENT_OUTSIDE_WINDOW, OVERLAP, * OVER_BUDGET (ERROR) or DAY_OUTSIDE_WINDOW, PRICE_CHANGED (WARNING). `itemIds` * are GgnomadTripPlanItem ids. */ export type GgnomadTripPlanIssue = { __typename?: 'GgnomadTripPlanIssue'; code: Scalars['String']['output']; day?: Maybe; itemIds: Array; message: Scalars['String']['output']; severity: Scalars['String']['output']; }; export type GgnomadTripPlanItem = { __typename?: 'GgnomadTripPlanItem'; currency: Scalars['String']['output']; day?: Maybe; id: Scalars['ID']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; itemType: Scalars['String']['output']; notes?: Maybe; price: Scalars['Float']['output']; scheduledAt?: Maybe; }; /** BOFF-3699 — a listing that fits an empty slot of an existing trip plan. Not saved; add it with addGgnomadTripPlanItem. */ export type GgnomadTripPlanItemSuggestion = { __typename?: 'GgnomadTripPlanItemSuggestion'; currency: Scalars['String']['output']; day: Scalars['Int']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; itemType: GgnomadTripPlanItemType; price: Scalars['Float']['output']; quantity: Scalars['Int']['output']; reason: Scalars['String']['output']; scheduledAt: Scalars['DateTime']['output']; score: Scalars['Float']['output']; unitPrice: Scalars['Float']['output']; }; /** * BOFF-4406 — `TRIP` was added so a booked `GgnomadTrip` (flight/rail/bus/ferry * leg) can be attached to a trip plan the same way properties/tours/events/ * activities already can. `GgnomadTripPlanItem.itemType` is a plain string * column (not a Postgres enum), so this is a pure GraphQL SDL addition with no * migration involved. */ export declare enum GgnomadTripPlanItemType { Activity = "ACTIVITY", Event = "EVENT", Property = "PROPERTY", Tour = "TOUR", Trip = "TRIP" } /** * BOFF-3699 — a generated itinerary that has not been saved as a trip plan. * `status` is PENDING, ACCEPTED or EXPIRED. `warnings` explains a thin proposal: * NO_INVENTORY, NO_STAY_AVAILABLE, NO_STAY_WITHIN_BUDGET, BUDGET_TOO_LOW. */ export type GgnomadTripPlanProposal = { __typename?: 'GgnomadTripPlanProposal'; budget?: Maybe; /** Listings that met the destination, currency, capacity and date filters. */ candidateCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; destination: Scalars['String']['output']; endDate: Scalars['DateTime']['output']; /** The decision engine that produced the proposal, e.g. rules-v1. */ engine: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; interests: Array; items: Array; name: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; total: Scalars['Float']['output']; travelers: Scalars['Int']['output']; /** Set once the proposal has been accepted. */ tripPlanId?: Maybe; warnings: Array; withinBudget: Scalars['Boolean']['output']; }; /** * BOFF-3699 — one listing in a proposal. `price` is computed by the service from * the listing row: unitPrice x quantity, where quantity is nights for a * PROPERTY and travelers for a TOUR, EVENT or ACTIVITY. */ export type GgnomadTripPlanProposalItem = { __typename?: 'GgnomadTripPlanProposalItem'; currency: Scalars['String']['output']; day: Scalars['Int']['output']; endsAt: Scalars['DateTime']['output']; /** Proposal-local id; pass it in ggnomadAcceptTripPlanProposal(itemIds) to keep only some items. */ id: Scalars['ID']['output']; itemId: Scalars['String']['output']; itemName: Scalars['String']['output']; itemType: GgnomadTripPlanItemType; price: Scalars['Float']['output']; quantity: Scalars['Int']['output']; reason: Scalars['String']['output']; scheduledAt: Scalars['DateTime']['output']; score: Scalars['Float']['output']; unitPrice: Scalars['Float']['output']; }; export type GgnomadWidgetAnalytics = { __typename?: 'GgnomadWidgetAnalytics'; /** Impressions and clicks per UTC day, oldest first, one entry per day. */ daily: Array; /** Number of UTC days covered, ending today. */ days: Scalars['Int']['output']; /** One row per partner (or the operator's own widget) and storefront, most impressions first. */ rows: Array; /** Start of the first UTC day covered. */ since: Scalars['DateTime']['output']; totals: GgnomadWidgetAnalyticsTotals; }; export type GgnomadWidgetAnalyticsDay = { __typename?: 'GgnomadWidgetAnalyticsDay'; clicks: Scalars['Int']['output']; /** UTC day, YYYY-MM-DD. */ day: Scalars['String']['output']; impressions: Scalars['Int']['output']; }; /** Widget performance for one storefront and one partner, or the operator's own widget. */ export type GgnomadWidgetAnalyticsRow = { __typename?: 'GgnomadWidgetAnalyticsRow'; /** clicks / impressions (0-1); null without impressions. */ clickThroughRate?: Maybe; /** Book now clicks. */ clicks: Scalars['Int']['output']; /** conversions / clicks; null without clicks or for the operator's own widget. */ conversionRate?: Maybe; /** Of those referrals, the ones that placed an order; null for the operator's own widget. */ conversions?: Maybe; /** Widget frames shown to visitors. */ impressions: Scalars['Int']['output']; partnerCode?: Maybe; /** The partner whose code the widget carried; null for the operator's own widget. */ partnerId?: Maybe; partnerName?: Maybe; /** Signed-in travelers recorded as arriving from this widget; null for the operator's own widget, which carries no attribution. */ referrals?: Maybe; storefrontSlug: Scalars['String']['output']; }; export type GgnomadWidgetAnalyticsTotals = { __typename?: 'GgnomadWidgetAnalyticsTotals'; /** clicks / impressions; null without impressions. */ clickThroughRate?: Maybe; clicks: Scalars['Int']['output']; /** conversions / clicks on partner widgets; null without partner widget clicks. */ conversionRate?: Maybe; conversions: Scalars['Int']['output']; impressions: Scalars['Int']['output']; /** Partner widget referrals (the operator's own widget carries no attribution). */ referrals: Scalars['Int']['output']; }; export type GovAddCaseNoteInput = { applicationId: Scalars['ID']['input']; body: Scalars['String']['input']; type?: InputMaybe; }; export type GovAddDocumentInput = { applicationId: Scalars['ID']['input']; fileId?: InputMaybe; name: Scalars['String']['input']; requirement?: InputMaybe; }; export type GovAddWalletDocumentInput = { category?: InputMaybe; fileId: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * One configurable tier of a country's administrative hierarchy (rank 0 is the * national level, ascending downward). Defining tiers as data is what lets the * module serve any country without a schema change. */ export type GovAdminLevel = { __typename?: 'GovAdminLevel'; /** Stable machine code, unique per country (e.g. STATE, DISTRICT, WARD). */ code: Scalars['String']['output']; /** ISO 3166-1 alpha-2 country code this tier belongs to. */ countryCode: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; /** True when the tier elects representatives. */ isElectoral: Scalars['Boolean']['output']; /** Number of published + draft jurisdictions currently sitting at this tier. */ jurisdictionCount: Scalars['Int']['output']; name: Scalars['String']['output']; pluralName: Scalars['String']['output']; /** Depth of the tier: 0 is the national level, ascending downward. */ rank: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovAdminLevelConnection = { __typename?: 'GovAdminLevelConnection'; items: Array; pageInfo: GovPageInfo; }; /** * One administrative-hierarchy preset a country can be seeded from. * * A country's own chain uses the terminology it actually uses — States and * Districts for India, Counties and Sub-counties for Kenya, Local Government Areas * for Nigeria. Structural fallbacks (`generic`, `federal`) are offered for * countries that have no bundled chain, or for a workspace that wants a neutral * vocabulary. Every seeded tier stays editable afterwards. */ export type GovAdminLevelPreset = { __typename?: 'GovAdminLevelPreset'; description: Scalars['String']['output']; /** True when this is the country's own hierarchy rather than a structural fallback. */ isCountrySpecific: Scalars['Boolean']['output']; /** `IN`, `KE`, `generic`, `federal`, … */ key: Scalars['String']['output']; label: Scalars['String']['output']; tiers: Array; }; /** One tier of a preset, shown before anything is written. */ export type GovAdminLevelPresetTier = { __typename?: 'GovAdminLevelPresetTier'; code: Scalars['String']['output']; isElectoral: Scalars['Boolean']['output']; name: Scalars['String']['output']; pluralName: Scalars['String']['output']; rank: Scalars['Int']['output']; }; export type GovAgency = { __typename?: 'GovAgency'; code?: Maybe; contactEmail?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; jurisdiction?: Maybe; name: Scalars['String']['output']; services: Array; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovAgencyConnection = { __typename?: 'GovAgencyConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovAgencyPerformanceRow = { __typename?: 'GovAgencyPerformanceRow'; agencyId: Scalars['ID']['output']; agencyName: Scalars['String']['output']; applications: Scalars['Int']['output']; approved: Scalars['Int']['output']; avgProcessingHours?: Maybe; pending: Scalars['Int']['output']; rejected: Scalars['Int']['output']; slaCompliancePercent?: Maybe; }; export type GovAgentRun = { __typename?: 'GovAgentRun'; completedAt?: Maybe; cost: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; reason?: Maybe; startedAt: Scalars['DateTime']['output']; status: GovAgentRunStatus; summaryJson?: Maybe; trigger: GovAgentRunTrigger; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum GovAgentRunStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Skipped = "SKIPPED" } export declare enum GovAgentRunTrigger { Event = "EVENT", Scheduled = "SCHEDULED" } export type GovApplication = { __typename?: 'GovApplication'; assignedToId?: Maybe; citizenId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe; decisionReason?: Maybe; documents: Array; dueDate?: Maybe; formData?: Maybe; id: Scalars['ID']['output']; notes: Array; permits: Array; priority: GovCasePriority; reference: Scalars['String']['output']; serviceId: Scalars['ID']['output']; /** * SLA escalations already fired on this application by GovSlaEscalationRules * (BOFF-5792). Officer-facing only — citizen paths must not expose it. */ slaEscalations: Array; status: GovApplicationStatus; submittedAt?: Maybe; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovApplicationConnection = { __typename?: 'GovApplicationConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovApplicationSlaSummary = { __typename?: 'GovApplicationSlaSummary'; dueSoon: Scalars['Int']['output']; noDueDate: Scalars['Int']['output']; onTrack: Scalars['Int']['output']; overdue: Scalars['Int']['output']; }; export declare enum GovApplicationStatus { Approved = "APPROVED", Draft = "DRAFT", InfoRequested = "INFO_REQUESTED", InReview = "IN_REVIEW", Rejected = "REJECTED", Submitted = "SUBMITTED", Withdrawn = "WITHDRAWN" } /** Category of a mapped public asset, facility, organisation or landmark. */ export declare enum GovAssetCategory { Airport = "AIRPORT", Bridge = "BRIDGE", Business = "BUSINESS", Clinic = "CLINIC", CommunityCenter = "COMMUNITY_CENTER", EmergencyShelter = "EMERGENCY_SHELTER", EvCharging = "EV_CHARGING", FireStation = "FIRE_STATION", GovernmentOffice = "GOVERNMENT_OFFICE", Hospital = "HOSPITAL", Landmark = "LANDMARK", Library = "LIBRARY", Market = "MARKET", Museum = "MUSEUM", Ngo = "NGO", Other = "OTHER", Park = "PARK", Parking = "PARKING", Pharmacy = "PHARMACY", PoliceStation = "POLICE_STATION", Port = "PORT", PowerFacility = "POWER_FACILITY", PublicToilet = "PUBLIC_TOILET", School = "SCHOOL", SportsFacility = "SPORTS_FACILITY", TransitStation = "TRANSIT_STATION", TransitStop = "TRANSIT_STOP", University = "UNIVERSITY", WasteFacility = "WASTE_FACILITY", WaterFacility = "WATER_FACILITY" } /** A count of assets in one category, for map legends and registry summaries. */ export type GovAssetCategoryCount = { __typename?: 'GovAssetCategoryCount'; category: GovAssetCategory; count: Scalars['Int']['output']; }; /** Who runs a public asset. */ export declare enum GovAssetOperator { Ngo = "NGO", Private = "PRIVATE", Public = "PUBLIC", PublicPrivate = "PUBLIC_PRIVATE", Unknown = "UNKNOWN" } /** Operational state of a public asset. */ export declare enum GovAssetStatus { Closed = "CLOSED", Operational = "OPERATIONAL", Planned = "PLANNED", UnderConstruction = "UNDER_CONSTRUCTION", UnderMaintenance = "UNDER_MAINTENANCE" } /** * One append-only entry of the workspace's tamper-evident audit trail. Entries * carry redacted summaries and stable identifiers only — never citizen payload * content (form answers, line items, note bodies, decision text). */ export type GovAuditEvent = { __typename?: 'GovAuditEvent'; /** Coarse action key, e.g. `application.transitioned`. */ action: Scalars['String']['output']; /** Attributed actor (user, app or service id). */ actorId: Scalars['ID']['output']; /** sha256 over this event's canonical serialization plus `prevHash`. */ entryHash: Scalars['String']['output']; id: Scalars['ID']['output']; /** Hashable attributes only (statuses, references, amounts, currency). */ metadata?: Maybe; occurredAt: Scalars['DateTime']['output']; /** sha256 of the previous event of this workspace (genesis = 64 zeros). */ prevHash: Scalars['String']['output']; resourceId?: Maybe; /** Resource family, e.g. `application`, `document`, `payment`. */ resourceType: Scalars['String']['output']; /** Monotonic per-workspace sequence, starting at 1. A gap proves deletion. */ seq: Scalars['Int']['output']; /** Redacted, human-readable one-liner safe for auditor eyes. */ summary: Scalars['String']['output']; }; /** * An auditor-facing export. `contentBase64` is the UTF-8 file content base64 * encoded; `truncated` marks exports cut at the server-side row cap (the oldest, * chain-complete prefix is always exported). */ export type GovAuditExport = { __typename?: 'GovAuditExport'; contentBase64: Scalars['String']['output']; filename: Scalars['String']['output']; format: GovAuditExportFormat; generatedAt: Scalars['DateTime']['output']; rowCount: Scalars['Int']['output']; truncated: Scalars['Boolean']['output']; }; export declare enum GovAuditExportFormat { Csv = "CSV", Pdf = "PDF" } export type GovAuditTrailConnection = { __typename?: 'GovAuditTrailConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovAuditTrailFilterInput = { actorId?: InputMaybe; from?: InputMaybe; resourceId?: InputMaybe; resourceType?: InputMaybe; to?: InputMaybe; }; /** * Result of recomputing the workspace's hash chain from genesis and comparing * against the persisted chain head. `valid: false` (or a non-null `brokenSeq`) * is cryptographic evidence that the stored trail was tampered with. */ export type GovAuditVerification = { __typename?: 'GovAuditVerification'; brokenSeq?: Maybe; chainHeadHash: Scalars['String']['output']; checkedEvents: Scalars['Int']['output']; expectedHeadHash: Scalars['String']['output']; valid: Scalars['Boolean']['output']; }; /** One jurisdiction's standing within a benchmark peer set. */ export type GovBenchmarkEntry = { __typename?: 'GovBenchmarkEntry'; jurisdictionId: Scalars['ID']['output']; jurisdictionName: Scalars['String']['output']; rank: Scalars['Int']['output']; value: Scalars['Float']['output']; }; /** * A jurisdiction benchmarked against a peer set for one indicator. A rank is only * published when the peer set is large enough to be meaningful. */ export type GovBenchmarkResult = { __typename?: 'GovBenchmarkResult'; average?: Maybe; best?: Maybe; indicator: GovIndicator; /** False when the peer set was too small to publish a rank. */ isRankPublished: Scalars['Boolean']['output']; jurisdictionId: Scalars['ID']['output']; median?: Maybe; peerCount: Scalars['Int']['output']; peers: Array; /** The subject's percentile within the peer set, 0-100. */ percentile?: Maybe; periodLabel?: Maybe; scope: GovBenchmarkScope; /** The subject's own entry; null when the subject has no value for the period. */ subject?: Maybe; worst?: Maybe; }; /** Which peer set a jurisdiction is benchmarked against. */ export declare enum GovBenchmarkScope { Children = "CHILDREN", Custom = "CUSTOM", ParentAverage = "PARENT_AVERAGE", SameLevelNational = "SAME_LEVEL_NATIONAL", Siblings = "SIBLINGS" } /** * One fiscal period's published budget. `fiscalYear` is a free-form label because * fiscal calendars differ by country ("2026", "2026-27", "FY2026"); the real dates * live in `periodStart`/`periodEnd`. `populationAtPublication` is snapshotted so * per-capita figures stay honest when the population estimate is later revised. */ export type GovBudget = { __typename?: 'GovBudget'; approvedOn?: Maybe; createdAt: Scalars['DateTime']['output']; /** ISO 4217 currency this budget is denominated in. */ currencyCode: Scalars['String']['output']; /** wspace-files-svc File id for the published budget document. */ documentFileId?: Maybe; fiscalYear: Scalars['String']['output']; id: Scalars['ID']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; lines: Array; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; populationAtPublication?: Maybe; publishedAt?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; status: GovBudgetStatus; summary?: Maybe; totalExpenseActual?: Maybe; totalExpensePlanned: Scalars['Float']['output']; totalRevenueActual?: Maybe; totalRevenuePlanned: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; /** * Budget classification. TAXES..OTHER_REVENUE are revenue-side; EDUCATION..OTHER_EXPENSE * are expense-side. A category that does not match its line's `kind` is rejected. */ export declare enum GovBudgetCategory { Administration = "ADMINISTRATION", Agriculture = "AGRICULTURE", AssetSales = "ASSET_SALES", CapitalProjects = "CAPITAL_PROJECTS", CultureAndRecreation = "CULTURE_AND_RECREATION", DebtService = "DEBT_SERVICE", DigitalInfrastructure = "DIGITAL_INFRASTRUCTURE", Education = "EDUCATION", Energy = "ENERGY", Environment = "ENVIRONMENT", FeesAndCharges = "FEES_AND_CHARGES", Grants = "GRANTS", Healthcare = "HEALTHCARE", Housing = "HOUSING", IntergovernmentalTransfers = "INTERGOVERNMENTAL_TRANSFERS", InternationalAid = "INTERNATIONAL_AID", Loans = "LOANS", OtherExpense = "OTHER_EXPENSE", OtherRevenue = "OTHER_REVENUE", PublicPrivatePartnership = "PUBLIC_PRIVATE_PARTNERSHIP", PublicSafety = "PUBLIC_SAFETY", RoadsAndTransport = "ROADS_AND_TRANSPORT", SocialWelfare = "SOCIAL_WELFARE", Taxes = "TAXES", WaterAndSanitation = "WATER_AND_SANITATION" } export type GovBudgetCategoryRow = { __typename?: 'GovBudgetCategoryRow'; actual?: Maybe; category: GovBudgetCategory; kind: GovBudgetLineKind; planned: Scalars['Float']['output']; /** This category's share of its side of the ledger, 0-100. */ sharePercent: Scalars['Float']['output']; variance?: Maybe; variancePercent?: Maybe; }; export type GovBudgetConnection = { __typename?: 'GovBudgetConnection'; items: Array; pageInfo: GovPageInfo; }; /** Planned vs actual execution of a budget, rolled up by category. */ export type GovBudgetExecution = { __typename?: 'GovBudgetExecution'; actualExpense?: Maybe; actualRevenue?: Maybe; budgetId: Scalars['ID']['output']; byCategory: Array; currencyCode: Scalars['String']['output']; /** Actual expenditure as a percentage of planned; null when nothing is planned. */ executionPercent?: Maybe; fiscalYear: Scalars['String']['output']; /** Actual expenditure per head; null when either input is missing. */ perCapitaActualExpense?: Maybe; /** Planned expenditure per head; null when no population is snapshotted. */ perCapitaExpense?: Maybe; plannedExpense: Scalars['Float']['output']; plannedRevenue: Scalars['Float']['output']; }; export type GovBudgetFilterInput = { fiscalYear?: InputMaybe; jurisdictionId?: InputMaybe; status?: InputMaybe; }; /** One revenue source or expenditure head within a budget. */ export type GovBudgetLine = { __typename?: 'GovBudgetLine'; actualAmount?: Maybe; budgetId: Scalars['ID']['output']; category: GovBudgetCategory; createdAt: Scalars['DateTime']['output']; department?: Maybe; displayOrder: Scalars['Int']['output']; /** Government functional classification code, where one is published. */ functionCode?: Maybe; id: Scalars['ID']['output']; kind: GovBudgetLineKind; label: Scalars['String']['output']; notes?: Maybe; plannedAmount: Scalars['Float']['output']; previousYearAmount?: Maybe; updatedAt: Scalars['DateTime']['output']; /** actualAmount - plannedAmount; null until an actual is recorded. */ variance?: Maybe; /** Variance as a percentage of the planned amount; null when planned is zero. */ variancePercent?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GovBudgetLineInput = { actualAmount?: InputMaybe; category: GovBudgetCategory; department?: InputMaybe; displayOrder?: InputMaybe; functionCode?: InputMaybe; /** Omit to create a new line; supply to update an existing one. */ id?: InputMaybe; kind: GovBudgetLineKind; label: Scalars['String']['input']; notes?: InputMaybe; plannedAmount?: InputMaybe; previousYearAmount?: InputMaybe; }; /** Which side of the ledger a budget line sits on. */ export declare enum GovBudgetLineKind { Expense = "EXPENSE", Revenue = "REVENUE" } /** Approval lifecycle of a published budget. */ export declare enum GovBudgetStatus { Approved = "APPROVED", Closed = "CLOSED", Draft = "DRAFT", Proposed = "PROPOSED", Revised = "REVISED" } export type GovCaseEscalation = { __typename?: 'GovCaseEscalation'; applicationId?: Maybe; context?: Maybe; createdAt: Scalars['DateTime']['output']; deskAssignedToId?: Maybe; grievanceId?: Maybe; id: Scalars['ID']['output']; kind: GovCaseEscalationKind; permitId?: Maybe; reason: Scalars['String']['output']; resolvedAt?: Maybe; severity: Scalars['String']['output']; status: GovCaseEscalationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum GovCaseEscalationKind { BacklogDigest = "BACKLOG_DIGEST", GrievanceAgeing = "GRIEVANCE_AGEING", PermitRenewal = "PERMIT_RENEWAL", SlaRisk = "SLA_RISK", StalledInfoRequested = "STALLED_INFO_REQUESTED" } export declare enum GovCaseEscalationStatus { Dismissed = "DISMISSED", Open = "OPEN", Resolved = "RESOLVED" } export type GovCaseNote = { __typename?: 'GovCaseNote'; applicationId: Scalars['ID']['output']; authorId: Scalars['ID']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; type: GovCaseNoteType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum GovCaseNoteType { CitizenMessage = "CITIZEN_MESSAGE", Decision = "DECISION", InfoRequest = "INFO_REQUEST", Internal = "INTERNAL" } export declare enum GovCasePriority { High = "HIGH", Low = "LOW", Normal = "NORMAL", Urgent = "URGENT" } /** Delivery state of a public promise made by an office holder. */ export declare enum GovCommitmentStatus { Abandoned = "ABANDONED", Delivered = "DELIVERED", InProgress = "IN_PROGRESS", Promised = "PROMISED", Stalled = "STALLED" } /** * A survey, poll, public hearing or participatory-budgeting exercise. * `questions` is the question schema: * `[{ id, label, type, options?, required, min?, max? }]` where `type` is one of * SINGLE_CHOICE | MULTI_CHOICE | RATING | TEXT | BUDGET_ALLOCATION. */ export type GovConsultation = { __typename?: 'GovConsultation'; allowAnonymous: Scalars['Boolean']['output']; /** Pot to distribute, for participatory-budgeting consultations. */ budgetAmount?: Maybe; closesAt?: Maybe; consultationType: GovConsultationType; createdAt: Scalars['DateTime']['output']; currencyCode?: Maybe; description?: Maybe; documentFileId?: Maybe; /** Whether the calling actor has already responded. */ hasRespondedByMe: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** True when the consultation is OPEN and within its date window. */ isAcceptingResponses: Scalars['Boolean']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; opensAt?: Maybe; questions: Scalars['JSON']['output']; responseCount: Scalars['Int']['output']; resultsPublishedAt?: Maybe; /** Aggregated, publishable results. Raw responses are never exposed. */ resultsSummary?: Maybe; status: GovConsultationStatus; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovConsultationConnection = { __typename?: 'GovConsultationConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovConsultationFilterInput = { consultationType?: InputMaybe; jurisdictionId?: InputMaybe; openOnly?: InputMaybe; status?: InputMaybe; }; /** Aggregated answers for one consultation question. */ export type GovConsultationQuestionResult = { __typename?: 'GovConsultationQuestionResult'; /** * Aggregate for the question. Choice questions carry option counts, rating * questions carry a distribution and mean, budget questions carry allocations. * Free-text questions carry a count only — never the text itself. */ aggregate: Scalars['JSON']['output']; label: Scalars['String']['output']; questionId: Scalars['String']['output']; responseCount: Scalars['Int']['output']; type: Scalars['String']['output']; }; /** One participant's submission. Only ever readable by its own author. */ export type GovConsultationResponse = { __typename?: 'GovConsultationResponse'; answers: Scalars['JSON']['output']; consultationId: Scalars['ID']['output']; id: Scalars['ID']['output']; jurisdictionId: Scalars['ID']['output']; respondentActorId?: Maybe; sentiment?: Maybe; submittedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Publishable results for a consultation. */ export type GovConsultationResults = { __typename?: 'GovConsultationResults'; consultationId: Scalars['ID']['output']; /** True when the result set is below the suppression threshold and withheld. */ isSuppressed: Scalars['Boolean']['output']; questions: Array; responseCount: Scalars['Int']['output']; resultsPublishedAt?: Maybe; status: GovConsultationStatus; }; /** * Lifecycle of a consultation. Responses are only accepted while OPEN; aggregate * results become readable at PUBLISHED. Raw responses are never published. */ export declare enum GovConsultationStatus { Cancelled = "CANCELLED", Closed = "CLOSED", Draft = "DRAFT", Open = "OPEN", Published = "PUBLISHED" } /** Kind of public participation exercise. */ export declare enum GovConsultationType { Feedback = "FEEDBACK", ParticipatoryBudget = "PARTICIPATORY_BUDGET", Poll = "POLL", PublicHearing = "PUBLIC_HEARING", Survey = "SURVEY" } export type GovCreateAdminLevelInput = { code: Scalars['String']['input']; countryCode: Scalars['String']['input']; description?: InputMaybe; isElectoral?: InputMaybe; name: Scalars['String']['input']; pluralName: Scalars['String']['input']; rank: Scalars['Int']['input']; }; export type GovCreateAgencyInput = { code?: InputMaybe; contactEmail?: InputMaybe; contactPhone?: InputMaybe; description?: InputMaybe; jurisdiction?: InputMaybe; name: Scalars['String']['input']; tags?: InputMaybe>; }; export type GovCreateApplicationInput = { formData?: InputMaybe; priority?: InputMaybe; reference?: InputMaybe; serviceId: Scalars['ID']['input']; tags?: InputMaybe>; }; export type GovCreateBudgetInput = { approvedOn?: InputMaybe; currencyCode: Scalars['String']['input']; documentFileId?: InputMaybe; fiscalYear: Scalars['String']['input']; jurisdictionId: Scalars['ID']['input']; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; populationAtPublication?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; summary?: InputMaybe; totalExpenseActual?: InputMaybe; totalExpensePlanned?: InputMaybe; totalRevenueActual?: InputMaybe; totalRevenuePlanned?: InputMaybe; verification?: InputMaybe; }; export type GovCreateConsultationInput = { allowAnonymous?: InputMaybe; budgetAmount?: InputMaybe; closesAt?: InputMaybe; consultationType?: InputMaybe; currencyCode?: InputMaybe; description?: InputMaybe; documentFileId?: InputMaybe; jurisdictionId: Scalars['ID']['input']; opensAt?: InputMaybe; questions: Scalars['JSON']['input']; tags?: InputMaybe>; title: Scalars['String']['input']; }; export type GovCreateDatasetInput = { contactEmail?: InputMaybe; description?: InputMaybe; domain?: InputMaybe; externalUrl?: InputMaybe; fileId?: InputMaybe; format?: InputMaybe; jurisdictionId?: InputMaybe; license?: InputMaybe; licenseUrl?: InputMaybe; name: Scalars['String']['input']; periodEnd?: InputMaybe; periodStart?: InputMaybe; publisher?: InputMaybe; rowCount?: InputMaybe; sizeBytes?: InputMaybe; slug?: InputMaybe; tags?: InputMaybe>; updateFrequency?: InputMaybe; version?: InputMaybe; }; export type GovCreateElectionInput = { electionDate: Scalars['DateTime']['input']; electionType?: InputMaybe; invalidVotes?: InputMaybe; jurisdictionId: Scalars['ID']['input']; name: Scalars['String']['input']; officeTitle?: InputMaybe; registeredVoters?: InputMaybe; resultDeclaredOn?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; validVotes?: InputMaybe; verification?: InputMaybe; votesCast?: InputMaybe; }; export type GovCreateIndicatorInput = { code: Scalars['String']['input']; description?: InputMaybe; direction?: InputMaybe; domain: GovIndicatorDomain; isActive?: InputMaybe; isCore?: InputMaybe; maxValue?: InputMaybe; methodology?: InputMaybe; minValue?: InputMaybe; name: Scalars['String']['input']; periodicity?: InputMaybe; sdgGoal?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; targetValue?: InputMaybe; unit: Scalars['String']['input']; valueType?: InputMaybe; weight?: InputMaybe; }; export type GovCreateJurisdictionEventInput = { category?: InputMaybe; description?: InputMaybe; imageFileId?: InputMaybe; impact?: InputMaybe; jurisdictionId: Scalars['ID']['input']; linkedBudgetId?: InputMaybe; linkedElectionId?: InputMaybe; linkedProjectId?: InputMaybe; occurredOn: Scalars['DateTime']['input']; sourceName?: InputMaybe; sourceUrl?: InputMaybe; title: Scalars['String']['input']; verification?: InputMaybe; }; export type GovCreateJurisdictionInput = { adminLevelId: Scalars['ID']['input']; areaSqKm?: InputMaybe; bannerFileId?: InputMaybe; boundaryFileId?: InputMaybe; centroidLat?: InputMaybe; centroidLng?: InputMaybe; climateSummary?: InputMaybe; contactEmail?: InputMaybe; contactPhone?: InputMaybe; countryCode: Scalars['String']['input']; crestFileId?: InputMaybe; currencyCode?: InputMaybe; emergencyNumbers?: InputMaybe; establishedOn?: InputMaybe; headquarters?: InputMaybe; households?: InputMaybe; languages?: InputMaybe>; localName?: InputMaybe; name: Scalars['String']['input']; officialCode?: InputMaybe; officialWebsite?: InputMaybe; parentId?: InputMaybe; population?: InputMaybe; populationYear?: InputMaybe; slug?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; timezone?: InputMaybe; verification?: InputMaybe; }; export type GovCreateOfficialCommitmentInput = { description?: InputMaybe; domain?: InputMaybe; evidenceFileIds?: InputMaybe>; evidenceUrl?: InputMaybe; linkedProjectId?: InputMaybe; officialId: Scalars['ID']['input']; progressPercent?: InputMaybe; promisedOn?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; targetDate?: InputMaybe; title: Scalars['String']['input']; verification?: InputMaybe; }; export type GovCreateOfficialInput = { attendancePercent?: InputMaybe; biography?: InputMaybe; committees?: InputMaybe>; contactEmail?: InputMaybe; contactPhone?: InputMaybe; department?: InputMaybe; displayOrder?: InputMaybe; electedOn?: InputMaybe; fullName: Scalars['String']['input']; isCurrent?: InputMaybe; isIndependent?: InputMaybe; jurisdictionId: Scalars['ID']['input']; linkedUserId?: InputMaybe; localName?: InputMaybe; nextElectionOn?: InputMaybe; officeAddress?: InputMaybe; officeHours?: InputMaybe; officeTitle: Scalars['String']['input']; officeType?: InputMaybe; party?: InputMaybe; photoFileId?: InputMaybe; responsibilities?: InputMaybe; socialProfiles?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; termDurationMonths?: InputMaybe; termEnd?: InputMaybe; termStart?: InputMaybe; verification?: InputMaybe; votingRecordUrl?: InputMaybe; }; export type GovCreatePaymentInput = { amount: Scalars['Float']['input']; applicationId?: InputMaybe; currency?: InputMaybe; lineItems?: InputMaybe; providerRef?: InputMaybe; }; export type GovCreateProjectInput = { actualCompletionDate?: InputMaybe; actualCost?: InputMaybe; agencyId?: InputMaybe; awardedOn?: InputMaybe; beneficiaryCount?: InputMaybe; budgetAmount?: InputMaybe; code?: InputMaybe; contractorName?: InputMaybe; contractorRegistrationId?: InputMaybe; currencyCode?: InputMaybe; delayReason?: InputMaybe; department?: InputMaybe; description?: InputMaybe; documentFileIds?: InputMaybe>; domain?: InputMaybe; fundingSource?: InputMaybe; imageFileIds?: InputMaybe>; jurisdictionId: Scalars['ID']['input']; latitude?: InputMaybe; locationLabel?: InputMaybe; longitude?: InputMaybe; name: Scalars['String']['input']; plannedCompletionDate?: InputMaybe; progressPercent?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; tenderReference?: InputMaybe; tenderUrl?: InputMaybe; verification?: InputMaybe; }; export type GovCreateProjectMilestoneInput = { completedOn?: InputMaybe; description?: InputMaybe; displayOrder?: InputMaybe; dueDate?: InputMaybe; evidenceFileId?: InputMaybe; name: Scalars['String']['input']; progressPercent?: InputMaybe; projectId: Scalars['ID']['input']; status?: InputMaybe; }; export type GovCreatePublicAssetInput = { address?: InputMaybe; capacity?: InputMaybe; capacityUnit?: InputMaybe; category: GovAssetCategory; contactEmail?: InputMaybe; contactPhone?: InputMaybe; description?: InputMaybe; establishedOn?: InputMaybe; imageFileId?: InputMaybe; isAccessible?: InputMaybe; jurisdictionId: Scalars['ID']['input']; latitude?: InputMaybe; longitude?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; openingHours?: InputMaybe; operator?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; subCategory?: InputMaybe; tags?: InputMaybe>; verification?: InputMaybe; website?: InputMaybe; }; export type GovCreateRoutingRuleInput = { assigneeId: Scalars['ID']['input']; candidateAssigneeIds?: InputMaybe>; category?: InputMaybe; isActive?: InputMaybe; matchOrder?: InputMaybe; name: Scalars['String']['input']; priority?: InputMaybe; serviceId?: InputMaybe; strategy?: InputMaybe; }; export type GovCreateServiceInput = { agencyId: Scalars['ID']['input']; category?: InputMaybe; currency?: InputMaybe; eligibility?: InputMaybe; feeAmount?: InputMaybe; feeType?: InputMaybe; formSchema?: InputMaybe; name: Scalars['String']['input']; requiredDocuments?: InputMaybe>; slaDays?: InputMaybe; slug: Scalars['String']['input']; summary?: InputMaybe; tags?: InputMaybe>; }; export type GovCreateSlaEscalationRuleInput = { isActive?: InputMaybe; matchOrder?: InputMaybe; name: Scalars['String']['input']; notifySupervisorId?: InputMaybe; reassignToId?: InputMaybe; serviceId?: InputMaybe; thresholdHours: Scalars['Int']['input']; }; export type GovDashboardSummary = { __typename?: 'GovDashboardSummary'; activeAgencies: Scalars['Int']['output']; /** Agencies onboarded in the last 30 days vs the preceding 30 days. */ activeAgenciesTrend: GovDashboardTrend; activePermits: Scalars['Int']['output']; /** Permits issued in the last 30 days vs the preceding 30 days. */ activePermitsTrend: GovDashboardTrend; applicationsByStatus: Array; applicationsTotal: Scalars['Int']['output']; /** Applications filed in the last 30 days vs the preceding 30 days. */ applicationsTotalTrend: GovDashboardTrend; openGrievances: Scalars['Int']['output']; /** Grievances reported in the last 30 days vs the preceding 30 days. */ openGrievancesTrend: GovDashboardTrend; pendingPayments: Scalars['Int']['output']; pendingPaymentsAmount: Scalars['Float']['output']; /** Payments that entered PENDING in the last 30 days vs the preceding 30 days. */ pendingPaymentsTrend: GovDashboardTrend; publishedServices: Scalars['Int']['output']; /** Services published in the last 30 days vs the preceding 30 days. */ publishedServicesTrend: GovDashboardTrend; }; export type GovDashboardTrend = { __typename?: 'GovDashboardTrend'; changePercent?: Maybe; current: Scalars['Int']['output']; direction: GovTrendDirection; previous: Scalars['Int']['output']; }; /** * A proposed correction to published civic data, with evidence, reviewed by an * official. A data-quality workflow, deliberately distinct from the grievance * flow, which is about service delivery in the physical world. */ export type GovDataChangeProposal = { __typename?: 'GovDataChangeProposal'; appliedAt?: Maybe; createdAt: Scalars['DateTime']['output']; currentValue?: Maybe; entityId: Scalars['ID']['output']; entityType: GovIntelEntityType; evidenceFileIds: Array; evidenceUrl?: Maybe; fieldPath: Scalars['String']['output']; id: Scalars['ID']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; proposedValue: Scalars['String']['output']; rationale: Scalars['String']['output']; reviewNote?: Maybe; reviewedAt?: Maybe; reviewedByActorId?: Maybe; status: GovProposalStatus; submittedAt: Scalars['DateTime']['output']; submittedByActorId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovDataChangeProposalConnection = { __typename?: 'GovDataChangeProposalConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovDataChangeProposalFilterInput = { entityId?: InputMaybe; entityType?: InputMaybe; jurisdictionId?: InputMaybe; status?: InputMaybe; }; /** Open-data licence a dataset is released under. */ export declare enum GovDataLicense { Cc0 = "CC0", CcBy = "CC_BY", CcBySa = "CC_BY_SA", Odbl = "ODBL", Ogl = "OGL", Other = "OTHER", Proprietary = "PROPRIETARY", PublicDomain = "PUBLIC_DOMAIN" } /** * An open-data catalogue entry. Metadata only: the bytes live in wspace-files-svc * or at the publisher's own URL, and bulk export delegates to wspace-export-svc. */ export type GovDataset = { __typename?: 'GovDataset'; contactEmail?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; domain?: Maybe; downloadCount: Scalars['Int']['output']; /** Publisher-hosted location, when the data is not held on the platform. */ externalUrl?: Maybe; /** wspace-files-svc File id holding the dataset. */ fileId?: Maybe; format: GovDatasetFormat; id: Scalars['ID']['output']; jurisdiction?: Maybe; jurisdictionId?: Maybe; license: GovDataLicense; licenseUrl?: Maybe; name: Scalars['String']['output']; periodEnd?: Maybe; periodStart?: Maybe; publishedAt?: Maybe; publisher?: Maybe; rowCount?: Maybe; sizeBytes?: Maybe; slug: Scalars['String']['output']; status: GovDatasetStatus; tags: Array; updateFrequency?: Maybe; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type GovDatasetConnection = { __typename?: 'GovDatasetConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovDatasetFilterInput = { domain?: InputMaybe; format?: InputMaybe; jurisdictionId?: InputMaybe; license?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; /** Distribution format of an open-data dataset. */ export declare enum GovDatasetFormat { Api = "API", Csv = "CSV", Geojson = "GEOJSON", Json = "JSON", Pdf = "PDF", Xlsx = "XLSX", Xml = "XML" } /** Publication lifecycle of a dataset. */ export declare enum GovDatasetStatus { Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT", Published = "PUBLISHED" } export type GovDeskApplicationCount = { __typename?: 'GovDeskApplicationCount'; assignedToId?: Maybe; count: Scalars['Int']['output']; }; export type GovDeskSlaSummary = { __typename?: 'GovDeskSlaSummary'; assignedToId?: Maybe; compliancePercent?: Maybe; dueSoon: Scalars['Int']['output']; isSuppressed: Scalars['Boolean']['output']; noDueDate: Scalars['Int']['output']; onTrack: Scalars['Int']['output']; overdue: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** * Per-officer desk workload snapshot (BOFF-5792): open (SLA-active) cases, * cases due within 48 hours, and cases already past due. openCount + * dueSoonCount + overdueCount derive from the same row set — dueSoon and * overdue are subsets of open. */ export type GovDeskWorkload = { __typename?: 'GovDeskWorkload'; assigneeId: Scalars['ID']['output']; dueSoonCount: Scalars['Int']['output']; openCount: Scalars['Int']['output']; overdueCount: Scalars['Int']['output']; }; export type GovDocument = { __typename?: 'GovDocument'; applicationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File; the Files service owns storage + signed URLs. */ file?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; rejectionReason?: Maybe; requirement?: Maybe; status: GovDocumentStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum GovDocumentStatus { Accepted = "ACCEPTED", Pending = "PENDING", Rejected = "REJECTED" } /** A single domain's contribution to a jurisdiction's composite score. */ export type GovDomainScore = { __typename?: 'GovDomainScore'; changePercent?: Maybe; domain: GovIndicatorDomain; /** Core indicators defined in this domain. */ indicatorCount: Scalars['Int']['output']; /** Core indicators in this domain that actually have a published value. */ measuredCount: Scalars['Int']['output']; /** Weighted 0-100 score; null when no core indicator in this domain is measured. */ score?: Maybe; trend: GovTrendDirection; }; /** A past or scheduled electoral event for a jurisdiction. */ export type GovElection = { __typename?: 'GovElection'; createdAt: Scalars['DateTime']['output']; electionDate: Scalars['DateTime']['output']; electionType: GovElectionType; id: Scalars['ID']['output']; invalidVotes?: Maybe; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; name: Scalars['String']['output']; officeTitle?: Maybe; registeredVoters?: Maybe; resultDeclaredOn?: Maybe; results: Array; sourceName?: Maybe; sourceUrl?: Maybe; status: GovElectionStatus; turnoutPercent?: Maybe; updatedAt: Scalars['DateTime']['output']; validVotes?: Maybe; verification: GovVerificationStatus; votesCast?: Maybe; /** Winning margin as a percentage of valid votes. */ winningMarginPercent?: Maybe; /** Winning margin in votes between the top two declared results. */ winningMarginVotes?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GovElectionConnection = { __typename?: 'GovElectionConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovElectionFilterInput = { electionType?: InputMaybe; fromDate?: InputMaybe; jurisdictionId?: InputMaybe; status?: InputMaybe; toDate?: InputMaybe; }; /** One candidate's declared result within an election. */ export type GovElectionResult = { __typename?: 'GovElectionResult'; candidateName: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; electionId: Scalars['ID']['output']; id: Scalars['ID']['output']; isIndependent: Scalars['Boolean']['output']; isWinner: Scalars['Boolean']['output']; /** Opaque GovOfficial id once the winner is seated. */ officialId?: Maybe; party?: Maybe; photoFileId?: Maybe; position?: Maybe; updatedAt: Scalars['DateTime']['output']; votePercent?: Maybe; votes: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type GovElectionResultInput = { candidateName: Scalars['String']['input']; isIndependent?: InputMaybe; isWinner?: InputMaybe; officialId?: InputMaybe; party?: InputMaybe; photoFileId?: InputMaybe; position?: InputMaybe; votes: Scalars['Int']['input']; }; /** Lifecycle of an electoral event. */ export declare enum GovElectionStatus { Cancelled = "CANCELLED", Counting = "COUNTING", Declared = "DECLARED", InProgress = "IN_PROGRESS", Scheduled = "SCHEDULED" } /** Kind of electoral event. */ export declare enum GovElectionType { ByElection = "BY_ELECTION", General = "GENERAL", Local = "LOCAL", Other = "OTHER", Primary = "PRIMARY", Referendum = "REFERENDUM" } /** Category of a historical timeline entry. */ export declare enum GovEventCategory { Award = "AWARD", Budget = "BUDGET", Demographic = "DEMOGRAPHIC", Disaster = "DISASTER", Election = "ELECTION", Infrastructure = "INFRASTRUCTURE", Other = "OTHER", Policy = "POLICY", Project = "PROJECT" } /** Whether a timeline entry was good, bad or neutral for the region. */ export declare enum GovEventImpact { Negative = "NEGATIVE", Neutral = "NEUTRAL", Positive = "POSITIVE" } export declare enum GovFeeType { Fixed = "FIXED", Free = "FREE", Variable = "VARIABLE" } /** Where a development project's money comes from. */ export declare enum GovFundingSource { Csr = "CSR", InternationalAid = "INTERNATIONAL_AID", Loan = "LOAN", LocalRevenue = "LOCAL_REVENUE", NationalGrant = "NATIONAL_GRANT", Other = "OTHER", PublicPrivatePartnership = "PUBLIC_PRIVATE_PARTNERSHIP", StateGrant = "STATE_GRANT" } export type GovGrievance = { __typename?: 'GovGrievance'; agencyId?: Maybe; assignedToId?: Maybe; category: GovServiceCategory; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; latitude?: Maybe; location?: Maybe; longitude?: Maybe; photoFileIds: Array; priority: GovCasePriority; reporterId: Scalars['ID']['output']; resolution?: Maybe; resolvedAt?: Maybe; status: GovGrievanceStatus; tags: Array; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovGrievanceCategoryRow = { __typename?: 'GovGrievanceCategoryRow'; avgResolutionHours?: Maybe; category: GovServiceCategory; resolved: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type GovGrievanceConnection = { __typename?: 'GovGrievanceConnection'; items: Array; pageInfo: GovPageInfo; }; /** * A recurring-issue cluster. Cells below the suppression threshold are omitted so * a hotspot can never identify an individual reporter. */ export type GovGrievanceHotspot = { __typename?: 'GovGrievanceHotspot'; count: Scalars['Int']['output']; latitude?: Maybe; locationLabel: Scalars['String']['output']; longitude?: Maybe; topCategory: GovServiceCategory; }; /** Citizen-issue insight for a jurisdiction, rolled up from live grievances. */ export type GovGrievanceInsights = { __typename?: 'GovGrievanceInsights'; avgResolutionHours?: Maybe; byCategory: Array; hotspots: Array; inProgress: Scalars['Int']['output']; jurisdictionId: Scalars['ID']['output']; open: Scalars['Int']['output']; resolved: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum GovGrievanceStatus { Acknowledged = "ACKNOWLEDGED", Closed = "CLOSED", InProgress = "IN_PROGRESS", Open = "OPEN", Rejected = "REJECTED", Resolved = "RESOLVED" } /** The definition of a measurable civic KPI. */ export type GovIndicator = { __typename?: 'GovIndicator'; /** Stable dotted code, unique per workspace (e.g. EDU.LITERACY.RATE). */ code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe; direction: GovIndicatorDirection; domain: GovIndicatorDomain; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** Only core indicators contribute to the composite scorecard. */ isCore: Scalars['Boolean']['output']; /** Normalization ceiling used when scoring this indicator 0-100. */ maxValue?: Maybe; methodology?: Maybe; /** Normalization floor used when scoring this indicator 0-100. */ minValue?: Maybe; name: Scalars['String']['output']; periodicity: GovIndicatorPeriodicity; /** UN Sustainable Development Goal number, 1-17. */ sdgGoal?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; targetValue?: Maybe; /** Display unit (%, per 1,000, days). */ unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; valueType: GovIndicatorValueType; weight: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type GovIndicatorConnection = { __typename?: 'GovIndicatorConnection'; items: Array; pageInfo: GovPageInfo; }; /** * Whether a rising value is good, bad or neutral. Drives scorecard normalization: * LOWER_IS_BETTER indicators are inverted before being scored 0-100. */ export declare enum GovIndicatorDirection { HigherIsBetter = "HIGHER_IS_BETTER", LowerIsBetter = "LOWER_IS_BETTER", Neutral = "NEUTRAL" } /** * Sector taxonomy shared by indicators, projects and datasets. One taxonomy spans * every statistical surface the module publishes, so a country can add its own * indicators without a schema migration. */ export declare enum GovIndicatorDomain { Demographics = "DEMOGRAPHICS", Digital = "DIGITAL", Economy = "ECONOMY", Education = "EDUCATION", Environment = "ENVIRONMENT", Finance = "FINANCE", Governance = "GOVERNANCE", Healthcare = "HEALTHCARE", Housing = "HOUSING", Infrastructure = "INFRASTRUCTURE", PublicSafety = "PUBLIC_SAFETY", SocialWelfare = "SOCIAL_WELFARE", Tourism = "TOURISM", Transport = "TRANSPORT", Utilities = "UTILITIES" } export type GovIndicatorFilterInput = { domain?: InputMaybe; isActive?: InputMaybe; isCore?: InputMaybe; sdgGoal?: InputMaybe; search?: InputMaybe; }; /** How often an indicator or dataset is expected to be refreshed. */ export declare enum GovIndicatorPeriodicity { Adhoc = "ADHOC", Annual = "ANNUAL", Daily = "DAILY", Monthly = "MONTHLY", Quarterly = "QUARTERLY", Weekly = "WEEKLY" } /** One point on an indicator's time series for a jurisdiction. */ export type GovIndicatorPoint = { __typename?: 'GovIndicatorPoint'; periodLabel: Scalars['String']['output']; periodStart: Scalars['DateTime']['output']; targetValue?: Maybe; value: Scalars['Float']['output']; verification: GovVerificationStatus; }; /** An indicator's full published history for one jurisdiction. */ export type GovIndicatorSeries = { __typename?: 'GovIndicatorSeries'; /** Percentage change between the two most recent published points. */ changePercent?: Maybe; indicator: GovIndicator; jurisdictionId: Scalars['ID']['output']; latestPeriodLabel?: Maybe; latestValue?: Maybe; points: Array; /** Direction of travel, already adjusted for whether higher is better. */ trend: GovTrendDirection; }; /** One measured fact: an indicator, for a jurisdiction, over a period, with provenance. */ export type GovIndicatorValue = { __typename?: 'GovIndicatorValue'; createdAt: Scalars['DateTime']['output']; /** Opaque GovDataset id this value was derived from, when applicable. */ datasetId?: Maybe; denominator?: Maybe; id: Scalars['ID']['output']; indicator?: Maybe; indicatorId: Scalars['ID']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; notes?: Maybe; /** Optional raw components, so a rate can be audited back to its inputs. */ numerator?: Maybe; periodEnd: Scalars['DateTime']['output']; /** Human period label matching the indicator's periodicity (2026, 2026-Q1). */ periodLabel: Scalars['String']['output']; periodStart: Scalars['DateTime']['output']; publishedAt?: Maybe; sourceDate?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; targetValue?: Maybe; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type GovIndicatorValueConnection = { __typename?: 'GovIndicatorValueConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovIndicatorValueFilterInput = { domain?: InputMaybe; fromPeriodStart?: InputMaybe; indicatorCode?: InputMaybe; indicatorId?: InputMaybe; jurisdictionId?: InputMaybe; periodLabel?: InputMaybe; toPeriodStart?: InputMaybe; verification?: InputMaybe; }; /** How an indicator's value should be read and formatted. */ export declare enum GovIndicatorValueType { Count = "COUNT", Currency = "CURRENCY", DurationDays = "DURATION_DAYS", Index = "INDEX", Number = "NUMBER", Percentage = "PERCENTAGE", Ratio = "RATIO" } /** Kind of deterministically derived insight surfaced on a jurisdiction profile. */ export declare enum GovInsightKind { Anomaly = "ANOMALY", CoverageGap = "COVERAGE_GAP", EmergingIssue = "EMERGING_ISSUE", Improvement = "IMPROVEMENT", Risk = "RISK", Strength = "STRENGTH", Weakness = "WEAKNESS" } /** How loudly an insight should be surfaced. */ export declare enum GovInsightSeverity { High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } /** Which Community Intelligence record a data-change proposal targets. */ export declare enum GovIntelEntityType { Budget = "BUDGET", BudgetLine = "BUDGET_LINE", Dataset = "DATASET", Election = "ELECTION", ElectionResult = "ELECTION_RESULT", Event = "EVENT", IndicatorValue = "INDICATOR_VALUE", Jurisdiction = "JURISDICTION", Official = "OFFICIAL", OfficialCommitment = "OFFICIAL_COMMITMENT", Project = "PROJECT", ProjectMilestone = "PROJECT_MILESTONE", PublicAsset = "PUBLIC_ASSET" } export type GovIssuePermitInput = { applicationId?: InputMaybe; expiresAt?: InputMaybe; fileId?: InputMaybe; holderId: Scalars['ID']['input']; serviceId: Scalars['ID']['input']; title: Scalars['String']['input']; /** * Deprecated / ignored: the verification code is always generated server-side * (high-entropy, unguessable) so it can back the public authenticity check. * Retained as an optional field only for backward compatibility. */ verificationCode?: InputMaybe; }; /** * The permanent digital profile of one administrative region — the authoritative * record of who governs it, what exists in it, and how it performs. */ export type GovJurisdiction = { __typename?: 'GovJurisdiction'; adminLevel?: Maybe; adminLevelId: Scalars['ID']['output']; /** Ancestors ordered from the root down to the immediate parent. */ ancestors: Array; areaSqKm?: Maybe; bannerFileId?: Maybe; /** wspace-files-svc File id holding the boundary GeoJSON. */ boundaryFileId?: Maybe; centroidLat?: Maybe; centroidLng?: Maybe; children: Array; climateSummary?: Maybe; contactEmail?: Maybe; contactPhone?: Maybe; countryCode: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; crestFileId?: Maybe; /** ISO 4217 currency code used by this region. */ currencyCode?: Maybe; depth: Scalars['Int']['output']; /** Public emergency contacts: [{ label, number }]. */ emergencyNumbers?: Maybe; establishedOn?: Maybe; headquarters?: Maybe; households?: Maybe; id: Scalars['ID']['output']; languages: Array; /** Name in the region's own language or script, when it differs. */ localName?: Maybe; name: Scalars['String']['output']; /** Official census / government code for the region. */ officialCode?: Maybe; officialWebsite?: Maybe; parent?: Maybe; parentId?: Maybe; /** Materialized ancestor path, `///`. */ path: Scalars['String']['output']; population?: Maybe; /** Population per square kilometre, derived when both inputs are published. */ populationDensity?: Maybe; populationYear?: Maybe; publishedAt?: Maybe; slug: Scalars['String']['output']; sourceName?: Maybe; sourceUrl?: Maybe; status: GovJurisdictionStatus; summary?: Maybe; tags: Array; timezone?: Maybe; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type GovJurisdictionConnection = { __typename?: 'GovJurisdictionConnection'; items: Array; pageInfo: GovPageInfo; }; /** A dated entry on the region's historical timeline. */ export type GovJurisdictionEvent = { __typename?: 'GovJurisdictionEvent'; category: GovEventCategory; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; imageFileId?: Maybe; impact?: Maybe; jurisdictionId: Scalars['ID']['output']; linkedBudgetId?: Maybe; linkedElectionId?: Maybe; linkedProjectId?: Maybe; occurredOn: Scalars['DateTime']['output']; sourceName?: Maybe; sourceUrl?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type GovJurisdictionEventConnection = { __typename?: 'GovJurisdictionEventConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovJurisdictionFilterInput = { adminLevelId?: InputMaybe; /** Restrict to descendants of this jurisdiction (materialized-path subtree). */ ancestorId?: InputMaybe; countryCode?: InputMaybe; parentId?: InputMaybe; /** Free-text match against name, local name and official code. */ search?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; }; /** A citizen's subscription to a jurisdiction's updates. */ export type GovJurisdictionFollow = { __typename?: 'GovJurisdictionFollow'; actorId: Scalars['ID']['output']; /** Delivery channels: IN_APP | EMAIL. */ channels: Array; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; /** Topics: BUDGET | PROJECT | ELECTION | CONSULTATION | EMERGENCY | INDICATOR | DATASET. */ topics: Array; workspaceId: Scalars['ID']['output']; }; /** * A deterministically derived observation about a jurisdiction. Rule-based and * explainable — every insight carries the evidence it was derived from. This is * not model-generated narrative. */ export type GovJurisdictionInsight = { __typename?: 'GovJurisdictionInsight'; detail: Scalars['String']['output']; domain?: Maybe; evidence: Array; generatedAt: Scalars['DateTime']['output']; indicatorCode?: Maybe; kind: GovInsightKind; severity: GovInsightSeverity; title: Scalars['String']['output']; }; /** * A single page-load aggregate for the jurisdiction profile screen: everything the * overview renders in one round trip instead of a dozen. */ export type GovJurisdictionOverview = { __typename?: 'GovJurisdictionOverview'; activeProjectCount: Scalars['Int']['output']; adminLevel?: Maybe; childCount: Scalars['Int']['output']; completedProjectCount: Scalars['Int']['output']; currentBudget?: Maybe; followerCount: Scalars['Int']['output']; insights: Array; /** Whether the calling actor follows this jurisdiction. */ isFollowedByMe: Scalars['Boolean']['output']; jurisdiction: GovJurisdiction; officialCount: Scalars['Int']['output']; openConsultationCount: Scalars['Int']['output']; parent?: Maybe; publicAssetCount: Scalars['Int']['output']; publishedDatasetCount: Scalars['Int']['output']; scorecard?: Maybe; }; /** * A jurisdiction's composite performance scorecard. Scores are min/max normalised * to 0-100 honouring each indicator's direction, weighted, and aggregated per * domain. When too few core indicators are measured the score is null rather than * a misleading number. */ export type GovJurisdictionScorecard = { __typename?: 'GovJurisdictionScorecard'; /** Measured core indicators as a percentage of defined core indicators. */ coveragePercent: Scalars['Float']['output']; domains: Array; generatedAt: Scalars['DateTime']['output']; indicatorCount: Scalars['Int']['output']; jurisdictionId: Scalars['ID']['output']; jurisdictionName: Scalars['String']['output']; measuredCount: Scalars['Int']['output']; /** Weighted composite 0-100; null when coverage is below the publishable threshold. */ overallScore?: Maybe; periodLabel?: Maybe; }; /** Publication lifecycle of a jurisdiction profile. DRAFT is never citizen-visible. */ export declare enum GovJurisdictionStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } /** A node in the administrative hierarchy tree, with its children inlined. */ export type GovJurisdictionTreeNode = { __typename?: 'GovJurisdictionTreeNode'; adminLevelCode: Scalars['String']['output']; adminLevelName: Scalars['String']['output']; childCount: Scalars['Int']['output']; children: Array; depth: Scalars['Int']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; population?: Maybe; slug: Scalars['String']['output']; status: GovJurisdictionStatus; }; /** Delivery state of a project milestone. */ export declare enum GovMilestoneStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Delayed = "DELAYED", InProgress = "IN_PROGRESS", Pending = "PENDING" } /** Nature of an office holder's appointment. */ export declare enum GovOfficeType { Administrative = "ADMINISTRATIVE", Advisory = "ADVISORY", Elected = "ELECTED", Judicial = "JUDICIAL" } /** An elected representative or administrative office holder for a jurisdiction. */ export type GovOfficial = { __typename?: 'GovOfficial'; /** Published sitting/house attendance, 0-100. */ attendancePercent?: Maybe; biography?: Maybe; /** Delivered commitments as a share of all non-abandoned commitments, 0-100. */ commitmentDeliveryRate?: Maybe; commitments: Array; committees: Array; contactEmail?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; department?: Maybe; displayOrder: Scalars['Int']['output']; electedOn?: Maybe; fullName: Scalars['String']['output']; id: Scalars['ID']['output']; isCurrent: Scalars['Boolean']['output']; isIndependent: Scalars['Boolean']['output']; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; /** Opaque global-auth user id when the office holder also has a platform account. */ linkedUserId?: Maybe; localName?: Maybe; nextElectionOn?: Maybe; officeAddress?: Maybe; officeHours?: Maybe; officeTitle: Scalars['String']['output']; officeType: GovOfficeType; party?: Maybe; photoFileId?: Maybe; responsibilities?: Maybe; /** Public social profiles: [{ platform, url }]. */ socialProfiles?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; termDurationMonths?: Maybe; termEnd?: Maybe; termStart?: Maybe; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; votingRecordUrl?: Maybe; workspaceId: Scalars['ID']['output']; }; /** A public promise or pledge, tracked from statement to delivery. */ export type GovOfficialCommitment = { __typename?: 'GovOfficialCommitment'; createdAt: Scalars['DateTime']['output']; description?: Maybe; domain?: Maybe; evidenceFileIds: Array; evidenceUrl?: Maybe; id: Scalars['ID']['output']; /** True when the target date has passed and the commitment is not DELIVERED. */ isOverdue: Scalars['Boolean']['output']; jurisdictionId: Scalars['ID']['output']; /** Opaque GovProject id when a project delivers this commitment. */ linkedProjectId?: Maybe; official?: Maybe; officialId: Scalars['ID']['output']; progressPercent: Scalars['Int']['output']; promisedOn?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; status: GovCommitmentStatus; targetDate?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type GovOfficialCommitmentConnection = { __typename?: 'GovOfficialCommitmentConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovOfficialCommitmentFilterInput = { domain?: InputMaybe; jurisdictionId?: InputMaybe; officialId?: InputMaybe; status?: InputMaybe; }; export type GovOfficialConnection = { __typename?: 'GovOfficialConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovOfficialFilterInput = { isCurrent?: InputMaybe; jurisdictionId?: InputMaybe; officeType?: InputMaybe; party?: InputMaybe; search?: InputMaybe; }; export type GovPageInfo = { __typename?: 'GovPageInfo'; cursor?: Maybe; hasMore: Scalars['Boolean']['output']; }; export type GovPayment = { __typename?: 'GovPayment'; amount: Scalars['Float']['output']; applicationId?: Maybe; billingTransactionId?: Maybe; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; lineItems?: Maybe; paidAt?: Maybe; payerId: Scalars['ID']['output']; providerRef?: Maybe; receiptNumber?: Maybe; refundedAt?: Maybe; status: GovPaymentStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovPaymentConnection = { __typename?: 'GovPaymentConnection'; items: Array; pageInfo: GovPageInfo; }; export declare enum GovPaymentStatus { Failed = "FAILED", Paid = "PAID", Pending = "PENDING", Refunded = "REFUNDED" } export type GovPermit = { __typename?: 'GovPermit'; applicationId?: Maybe; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe; /** Reference to a wspace-files-svc File holding the generated permit PDF. */ file?: Maybe; holderId: Scalars['ID']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; revokeReason?: Maybe; revokedAt?: Maybe; serviceId: Scalars['ID']['output']; status: GovPermitStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verificationCode: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type GovPermitConnection = { __typename?: 'GovPermitConnection'; items: Array; pageInfo: GovPageInfo; }; /** * A rendered permit PDF (BOFF-4060). Always generated fresh, server-side, from * the persisted permit record — the returned bytes are authoritative. */ export type GovPermitPdfDocument = { __typename?: 'GovPermitPdfDocument'; filename: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; pdfBase64: Scalars['String']['output']; }; export declare enum GovPermitStatus { Active = "ACTIVE", Expired = "EXPIRED", Issued = "ISSUED", Revoked = "REVOKED" } /** A public works / development project, from tender through to completion. */ export type GovProject = { __typename?: 'GovProject'; actualCompletionDate?: Maybe; actualCost?: Maybe; /** Owning GovAgency, when the project is agency-run. */ agencyId?: Maybe; awardedOn?: Maybe; beneficiaryCount?: Maybe; budgetAmount?: Maybe; code?: Maybe; contractorName?: Maybe; contractorRegistrationId?: Maybe; /** actualCost - budgetAmount; null until an actual cost is recorded. */ costVariance?: Maybe; createdAt: Scalars['DateTime']['output']; currencyCode?: Maybe; /** * Days late, derived at read time and never stored. Completed projects compare * actual against planned completion; live projects compare today against planned * completion. Never negative — an early finish reads as 0. Null when no planned * completion date is published. */ delayDays?: Maybe; delayReason?: Maybe; department?: Maybe; description?: Maybe; documentFileIds: Array; domain: GovIndicatorDomain; fundingSource: GovFundingSource; id: Scalars['ID']['output']; imageFileIds: Array; jurisdiction?: Maybe; jurisdictionId: Scalars['ID']['output']; latitude?: Maybe; locationLabel?: Maybe; longitude?: Maybe; milestones: Array; name: Scalars['String']['output']; plannedCompletionDate?: Maybe; progressPercent: Scalars['Int']['output']; publishedAt?: Maybe; sourceName?: Maybe; sourceUrl?: Maybe; startDate?: Maybe; status: GovProjectStatus; tags: Array; tenderReference?: Maybe; tenderUrl?: Maybe; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type GovProjectConnection = { __typename?: 'GovProjectConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovProjectFilterInput = { agencyId?: InputMaybe; /** Only projects running late by at least one day. */ delayedOnly?: InputMaybe; department?: InputMaybe; domain?: InputMaybe; fundingSource?: InputMaybe; jurisdictionId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; /** A dated checkpoint within a project's delivery timeline. */ export type GovProjectMilestone = { __typename?: 'GovProjectMilestone'; completedOn?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; displayOrder: Scalars['Int']['output']; dueDate?: Maybe; evidenceFileId?: Maybe; id: Scalars['ID']['output']; /** True when the due date has passed and the milestone is not COMPLETED. */ isOverdue: Scalars['Boolean']['output']; name: Scalars['String']['output']; progressPercent: Scalars['Int']['output']; projectId: Scalars['ID']['output']; status: GovMilestoneStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Delivery lifecycle of a development project. */ export declare enum GovProjectStatus { Awarded = "AWARDED", Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Planned = "PLANNED", Suspended = "SUSPENDED", Tendered = "TENDERED" } /** Review lifecycle of a proposed data correction. */ export declare enum GovProposalStatus { Accepted = "ACCEPTED", Rejected = "REJECTED", Submitted = "SUBMITTED", UnderReview = "UNDER_REVIEW", Withdrawn = "WITHDRAWN" } /** * The mappable registry of everything physical or organisational in a * jurisdiction: schools, hospitals, police and fire stations, water and power * facilities, transit, parks, government offices, NGOs, businesses and landmarks. * One categorised registry rather than a table per sector. */ export type GovPublicAsset = { __typename?: 'GovPublicAsset'; address?: Maybe; capacity?: Maybe; /** Unit the capacity is counted in (beds, students, vehicles). */ capacityUnit?: Maybe; category: GovAssetCategory; contactEmail?: Maybe; contactPhone?: Maybe; createdAt: Scalars['DateTime']['output']; description?: Maybe; establishedOn?: Maybe; id: Scalars['ID']['output']; imageFileId?: Maybe; /** Whether the facility is accessible to people with disabilities. */ isAccessible?: Maybe; jurisdictionId: Scalars['ID']['output']; latitude?: Maybe; longitude?: Maybe; /** Category-specific attributes, keyed per the documented convention. */ metadata?: Maybe; name: Scalars['String']['output']; openingHours?: Maybe; operator: GovAssetOperator; sourceName?: Maybe; sourceUrl?: Maybe; status: GovAssetStatus; subCategory?: Maybe; tags: Array; updatedAt: Scalars['DateTime']['output']; verification: GovVerificationStatus; website?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GovPublicAssetConnection = { __typename?: 'GovPublicAssetConnection'; items: Array; pageInfo: GovPageInfo; }; export type GovPublicAssetFilterInput = { category?: InputMaybe; isAccessible?: InputMaybe; jurisdictionId?: InputMaybe; /** Only assets that carry coordinates, for map layers. */ mappableOnly?: InputMaybe; operator?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; export type GovRecordIndicatorValueInput = { datasetId?: InputMaybe; denominator?: InputMaybe; indicatorCode?: InputMaybe; /** Supply either the indicator id or its code. */ indicatorId?: InputMaybe; jurisdictionId: Scalars['ID']['input']; notes?: InputMaybe; numerator?: InputMaybe; periodEnd: Scalars['DateTime']['input']; periodLabel: Scalars['String']['input']; periodStart: Scalars['DateTime']['input']; sourceDate?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; targetValue?: InputMaybe; value: Scalars['Float']['input']; verification?: InputMaybe; }; export type GovRegionSlaSummary = { __typename?: 'GovRegionSlaSummary'; compliancePercent?: Maybe; dueSoon: Scalars['Int']['output']; isSuppressed: Scalars['Boolean']['output']; noDueDate: Scalars['Int']['output']; onTrack: Scalars['Int']['output']; overdue: Scalars['Int']['output']; regionId?: Maybe; regionName: Scalars['String']['output']; total: Scalars['Int']['output']; }; export type GovReportGrievanceInput = { agencyId?: InputMaybe; category?: InputMaybe; description: Scalars['String']['input']; latitude?: InputMaybe; location?: InputMaybe; longitude?: InputMaybe; photoFileIds?: InputMaybe>; priority?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; }; /** * Auto-assignment matcher evaluated on submission (BOFF-4058). A rule matches * when every condition it sets (serviceId / category / priority) is satisfied; * an unset condition means "any". Active rules are evaluated in ascending * matchOrder and the first full match assigns the application to assigneeId. */ export type GovRoutingRule = { __typename?: 'GovRoutingRule'; assigneeId: Scalars['ID']['output']; candidateAssigneeIds: Array; category?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; matchOrder: Scalars['Int']['output']; name: Scalars['String']['output']; priority?: Maybe; serviceId?: Maybe; strategy: GovRoutingStrategy; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovRoutingRuleConnection = { __typename?: 'GovRoutingRuleConnection'; items: Array; pageInfo: GovPageInfo; }; /** * How a matched routing rule picks its assignee (BOFF-5792): DIRECT always * assigns `assigneeId`; LEAST_LOADED spreads new work across the rule's * candidate officer pool by current open-case load. */ export declare enum GovRoutingStrategy { Direct = "DIRECT", LeastLoaded = "LEAST_LOADED" } export type GovRunSlaWatchLoopInput = { trigger: GovAgentRunTrigger; workspaceId: Scalars['ID']['input']; }; /** Coarse sentiment recorded against a consultation response. */ export declare enum GovSentiment { Negative = "NEGATIVE", Neutral = "NEUTRAL", Positive = "POSITIVE" } export type GovService = { __typename?: 'GovService'; agency?: Maybe; agencyId: Scalars['ID']['output']; category: GovServiceCategory; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; eligibility?: Maybe; feeAmount: Scalars['Float']['output']; feeType: GovFeeType; formSchema?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; publishedAt?: Maybe; requiredDocuments: Array; slaDays: Scalars['Int']['output']; slug: Scalars['String']['output']; status: GovServiceStatus; summary?: Maybe; tags: Array; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovServiceApplicationCount = { __typename?: 'GovServiceApplicationCount'; count: Scalars['Int']['output']; serviceId: Scalars['ID']['output']; serviceName: Scalars['String']['output']; }; export declare enum GovServiceCategory { Certificates = "CERTIFICATES", Education = "EDUCATION", Grievances = "GRIEVANCES", Health = "HEALTH", LicencesAndPermits = "LICENCES_AND_PERMITS", Other = "OTHER", SocialWelfare = "SOCIAL_WELFARE", TaxesAndPayments = "TAXES_AND_PAYMENTS", Utilities = "UTILITIES" } export type GovServiceConnection = { __typename?: 'GovServiceConnection'; items: Array; pageInfo: GovPageInfo; }; /** Service-delivery performance for a jurisdiction, rolled up from live casework. */ export type GovServicePerformance = { __typename?: 'GovServicePerformance'; /** Approvals as a percentage of decided applications; null when nothing is decided. */ approvalRate?: Maybe; approvedCount: Scalars['Int']['output']; avgProcessingHours?: Maybe; byAgency: Array; byService: Array; jurisdictionId: Scalars['ID']['output']; pendingCount: Scalars['Int']['output']; rejectedCount: Scalars['Int']['output']; slaBreachedCount: Scalars['Int']['output']; slaCompliancePercent?: Maybe; totalApplications: Scalars['Int']['output']; }; export type GovServicePerformanceRow = { __typename?: 'GovServicePerformanceRow'; applications: Scalars['Int']['output']; approved: Scalars['Int']['output']; avgProcessingHours?: Maybe; pending: Scalars['Int']['output']; rejected: Scalars['Int']['output']; serviceId: Scalars['ID']['output']; serviceName: Scalars['String']['output']; slaCompliancePercent?: Maybe; slaDays: Scalars['Int']['output']; }; export declare enum GovServiceStatus { Draft = "DRAFT", Published = "PUBLISHED", Retired = "RETIRED", Suspended = "SUSPENDED" } /** * Immutable ledger row recording that an SLA escalation rule fired on an * application (BOFF-5792). Surfaced on the officer casework UI as the case's * escalation state. */ export type GovSlaEscalation = { __typename?: 'GovSlaEscalation'; applicationId: Scalars['ID']['output']; breachOffsetHours?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notifiedSupervisorId?: Maybe; reassignedToId?: Maybe; ruleId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** * Auto SLA escalation rule (BOFF-5792). When a sweep finds an active, * non-terminal application whose time-to-breach is at or below * `thresholdHours` (or that is already past due), it notifies * `notifySupervisorId` and/or auto-reassigns the case to `reassignToId`, and * records an immutable GovSlaEscalation so the same rule never fires twice on * the same case. Unlike the watch loop's officer-facing proposals, these rules * act immediately. */ export type GovSlaEscalationRule = { __typename?: 'GovSlaEscalationRule'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; matchOrder: Scalars['Int']['output']; name: Scalars['String']['output']; notifySupervisorId?: Maybe; reassignToId?: Maybe; serviceId?: Maybe; thresholdHours: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovSlaEscalationRuleConnection = { __typename?: 'GovSlaEscalationRuleConnection'; items: Array; pageInfo: GovPageInfo; }; /** Aggregate result of one SLA escalation sweep (BOFF-5792). */ export type GovSlaEscalationSweepResult = { __typename?: 'GovSlaEscalationSweepResult'; escalatedCount: Scalars['Int']['output']; examinedCount: Scalars['Int']['output']; notifiedCount: Scalars['Int']['output']; reassignedCount: Scalars['Int']['output']; }; export type GovStatusCount = { __typename?: 'GovStatusCount'; count: Scalars['Int']['output']; status: GovApplicationStatus; }; export type GovSubmitConsultationResponseInput = { /** Submit without recording the responding actor. Rejected when the consultation does not allow it. */ anonymous?: InputMaybe; /** Answers: [{ questionId, value }]. */ answers: Scalars['JSON']['input']; consultationId: Scalars['ID']['input']; sentiment?: InputMaybe; }; export type GovSubmitDataChangeProposalInput = { entityId: Scalars['ID']['input']; entityType: GovIntelEntityType; evidenceFileIds?: InputMaybe>; evidenceUrl?: InputMaybe; fieldPath: Scalars['String']['input']; jurisdictionId: Scalars['ID']['input']; proposedValue: Scalars['String']['input']; rationale: Scalars['String']['input']; }; export declare enum GovTrendDirection { Down = "DOWN", Flat = "FLAT", Up = "UP" } export type GovUpdateAdminLevelInput = { code?: InputMaybe; description?: InputMaybe; isElectoral?: InputMaybe; name?: InputMaybe; pluralName?: InputMaybe; rank?: InputMaybe; }; export type GovUpdateAgencyInput = { code?: InputMaybe; contactEmail?: InputMaybe; contactPhone?: InputMaybe; description?: InputMaybe; isActive?: InputMaybe; jurisdiction?: InputMaybe; name?: InputMaybe; tags?: InputMaybe>; }; export type GovUpdateApplicationInput = { assignedToId?: InputMaybe; formData?: InputMaybe; priority?: InputMaybe; tags?: InputMaybe>; }; export type GovUpdateBudgetInput = { approvedOn?: InputMaybe; currencyCode?: InputMaybe; documentFileId?: InputMaybe; fiscalYear?: InputMaybe; periodEnd?: InputMaybe; periodStart?: InputMaybe; populationAtPublication?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; summary?: InputMaybe; totalExpenseActual?: InputMaybe; totalExpensePlanned?: InputMaybe; totalRevenueActual?: InputMaybe; totalRevenuePlanned?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateConsultationInput = { allowAnonymous?: InputMaybe; budgetAmount?: InputMaybe; closesAt?: InputMaybe; consultationType?: InputMaybe; currencyCode?: InputMaybe; description?: InputMaybe; documentFileId?: InputMaybe; opensAt?: InputMaybe; questions?: InputMaybe; tags?: InputMaybe>; title?: InputMaybe; }; export type GovUpdateDatasetInput = { contactEmail?: InputMaybe; description?: InputMaybe; domain?: InputMaybe; externalUrl?: InputMaybe; fileId?: InputMaybe; format?: InputMaybe; jurisdictionId?: InputMaybe; license?: InputMaybe; licenseUrl?: InputMaybe; name?: InputMaybe; periodEnd?: InputMaybe; periodStart?: InputMaybe; publisher?: InputMaybe; rowCount?: InputMaybe; sizeBytes?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; updateFrequency?: InputMaybe; version?: InputMaybe; }; export type GovUpdateElectionInput = { electionDate?: InputMaybe; electionType?: InputMaybe; invalidVotes?: InputMaybe; name?: InputMaybe; officeTitle?: InputMaybe; registeredVoters?: InputMaybe; resultDeclaredOn?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; validVotes?: InputMaybe; verification?: InputMaybe; votesCast?: InputMaybe; }; export type GovUpdateGrievanceInput = { agencyId?: InputMaybe; assignedToId?: InputMaybe; location?: InputMaybe; priority?: InputMaybe; tags?: InputMaybe>; }; export type GovUpdateIndicatorInput = { description?: InputMaybe; direction?: InputMaybe; domain?: InputMaybe; isActive?: InputMaybe; isCore?: InputMaybe; maxValue?: InputMaybe; methodology?: InputMaybe; minValue?: InputMaybe; name?: InputMaybe; periodicity?: InputMaybe; sdgGoal?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; targetValue?: InputMaybe; unit?: InputMaybe; valueType?: InputMaybe; weight?: InputMaybe; }; export type GovUpdateIndicatorValueInput = { datasetId?: InputMaybe; denominator?: InputMaybe; notes?: InputMaybe; numerator?: InputMaybe; periodLabel?: InputMaybe; sourceDate?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; targetValue?: InputMaybe; value?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateJurisdictionEventInput = { category?: InputMaybe; description?: InputMaybe; imageFileId?: InputMaybe; impact?: InputMaybe; linkedBudgetId?: InputMaybe; linkedElectionId?: InputMaybe; linkedProjectId?: InputMaybe; occurredOn?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; title?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateJurisdictionInput = { adminLevelId?: InputMaybe; areaSqKm?: InputMaybe; bannerFileId?: InputMaybe; boundaryFileId?: InputMaybe; centroidLat?: InputMaybe; centroidLng?: InputMaybe; climateSummary?: InputMaybe; contactEmail?: InputMaybe; contactPhone?: InputMaybe; crestFileId?: InputMaybe; currencyCode?: InputMaybe; emergencyNumbers?: InputMaybe; establishedOn?: InputMaybe; headquarters?: InputMaybe; households?: InputMaybe; languages?: InputMaybe>; localName?: InputMaybe; name?: InputMaybe; officialCode?: InputMaybe; officialWebsite?: InputMaybe; parentId?: InputMaybe; population?: InputMaybe; populationYear?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; timezone?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateOfficialCommitmentInput = { description?: InputMaybe; domain?: InputMaybe; evidenceFileIds?: InputMaybe>; evidenceUrl?: InputMaybe; linkedProjectId?: InputMaybe; progressPercent?: InputMaybe; promisedOn?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; targetDate?: InputMaybe; title?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateOfficialInput = { attendancePercent?: InputMaybe; biography?: InputMaybe; committees?: InputMaybe>; contactEmail?: InputMaybe; contactPhone?: InputMaybe; department?: InputMaybe; displayOrder?: InputMaybe; electedOn?: InputMaybe; fullName?: InputMaybe; isCurrent?: InputMaybe; isIndependent?: InputMaybe; linkedUserId?: InputMaybe; localName?: InputMaybe; nextElectionOn?: InputMaybe; officeAddress?: InputMaybe; officeHours?: InputMaybe; officeTitle?: InputMaybe; officeType?: InputMaybe; party?: InputMaybe; photoFileId?: InputMaybe; responsibilities?: InputMaybe; socialProfiles?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; termDurationMonths?: InputMaybe; termEnd?: InputMaybe; termStart?: InputMaybe; verification?: InputMaybe; votingRecordUrl?: InputMaybe; }; export type GovUpdateProjectInput = { actualCompletionDate?: InputMaybe; actualCost?: InputMaybe; agencyId?: InputMaybe; awardedOn?: InputMaybe; beneficiaryCount?: InputMaybe; budgetAmount?: InputMaybe; code?: InputMaybe; contractorName?: InputMaybe; contractorRegistrationId?: InputMaybe; currencyCode?: InputMaybe; delayReason?: InputMaybe; department?: InputMaybe; description?: InputMaybe; documentFileIds?: InputMaybe>; domain?: InputMaybe; fundingSource?: InputMaybe; imageFileIds?: InputMaybe>; latitude?: InputMaybe; locationLabel?: InputMaybe; longitude?: InputMaybe; name?: InputMaybe; plannedCompletionDate?: InputMaybe; progressPercent?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; startDate?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; tenderReference?: InputMaybe; tenderUrl?: InputMaybe; verification?: InputMaybe; }; export type GovUpdateProjectMilestoneInput = { completedOn?: InputMaybe; description?: InputMaybe; displayOrder?: InputMaybe; dueDate?: InputMaybe; evidenceFileId?: InputMaybe; name?: InputMaybe; progressPercent?: InputMaybe; status?: InputMaybe; }; export type GovUpdatePublicAssetInput = { address?: InputMaybe; capacity?: InputMaybe; capacityUnit?: InputMaybe; category?: InputMaybe; contactEmail?: InputMaybe; contactPhone?: InputMaybe; description?: InputMaybe; establishedOn?: InputMaybe; imageFileId?: InputMaybe; isAccessible?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; metadata?: InputMaybe; name?: InputMaybe; openingHours?: InputMaybe; operator?: InputMaybe; sourceName?: InputMaybe; sourceUrl?: InputMaybe; status?: InputMaybe; subCategory?: InputMaybe; tags?: InputMaybe>; verification?: InputMaybe; website?: InputMaybe; }; export type GovUpdateRoutingRuleInput = { assigneeId?: InputMaybe; candidateAssigneeIds?: InputMaybe>; category?: InputMaybe; isActive?: InputMaybe; matchOrder?: InputMaybe; name?: InputMaybe; priority?: InputMaybe; serviceId?: InputMaybe; strategy?: InputMaybe; }; export type GovUpdateServiceInput = { category?: InputMaybe; currency?: InputMaybe; eligibility?: InputMaybe; feeAmount?: InputMaybe; feeType?: InputMaybe; formSchema?: InputMaybe; name?: InputMaybe; requiredDocuments?: InputMaybe>; slaDays?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; }; export type GovUpdateSlaEscalationRuleInput = { isActive?: InputMaybe; matchOrder?: InputMaybe; name?: InputMaybe; notifySupervisorId?: InputMaybe; reassignToId?: InputMaybe; serviceId?: InputMaybe; thresholdHours?: InputMaybe; }; export type GovUpdateWalletDocumentInput = { category?: InputMaybe; name?: InputMaybe; }; export type GovUpdateWatchLoopConfigInput = { backlogDigestEnabled?: InputMaybe; cadenceMinutes?: InputMaybe; enabled?: InputMaybe; grievanceAgeingDays?: InputMaybe; grievanceAgeingEnabled?: InputMaybe; maxCandidatesPerSweep?: InputMaybe; permitRenewalEnabled?: InputMaybe; permitRenewalWindowDays?: InputMaybe; riskThresholdPercent?: InputMaybe; slaRiskEnabled?: InputMaybe; stalledInfoEnabled?: InputMaybe; stalledThresholdDays?: InputMaybe; }; /** * Provenance grade of a published civic fact. OFFICIAL is reserved for data * attributed to the governing body; COMMUNITY_VERIFIED is corroborated through an * accepted correction; DISPUTED flags a contested figure without hiding it. */ export declare enum GovVerificationStatus { CommunityVerified = "COMMUNITY_VERIFIED", Disputed = "DISPUTED", Official = "OFFICIAL", Unverified = "UNVERIFIED" } /** * WalletDocument — a citizen-owned, reusable document in the personal document * wallet (BOFF-5796). Unlike GovDocument (attached to one application), a wallet * document belongs to the citizen and can pre-fill document uploads on any of * their applications. Blobs live in wspace-files-svc; this references a File. */ export type GovWalletDocument = { __typename?: 'GovWalletDocument'; category: GovWalletDocumentCategory; citizenId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe; /** Reference to a wspace-files-svc File; the Files service owns storage + signed URLs. */ file?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; rejectionReason?: Maybe; status: GovWalletDocumentStatus; updatedAt: Scalars['DateTime']['output']; verifiedAt?: Maybe; verifiedById?: Maybe; workspaceId: Scalars['ID']['output']; }; /** Category of a citizen wallet document — what the document proves (BOFF-5796). */ export declare enum GovWalletDocumentCategory { Address = "ADDRESS", Certificate = "CERTIFICATE", Identity = "IDENTITY", Income = "INCOME", Other = "OTHER", Photograph = "PHOTOGRAPH", Tax = "TAX" } export type GovWalletDocumentConnection = { __typename?: 'GovWalletDocumentConnection'; items: Array; pageInfo: GovPageInfo; }; /** * Verification lifecycle of a citizen wallet document (BOFF-5796). A VERIFIED * wallet document can satisfy document requirements across applications without * re-upload; EXPIRED marks it no longer acceptable. */ export declare enum GovWalletDocumentStatus { Expired = "EXPIRED", Pending = "PENDING", Rejected = "REJECTED", Verified = "VERIFIED" } export type GovWatchLoopConfig = { __typename?: 'GovWatchLoopConfig'; backlogDigestEnabled: Scalars['Boolean']['output']; cadenceMinutes: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; grievanceAgeingDays: Scalars['Int']['output']; grievanceAgeingEnabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; maxCandidatesPerSweep: Scalars['Int']['output']; permitRenewalEnabled: Scalars['Boolean']['output']; permitRenewalWindowDays: Scalars['Int']['output']; riskThresholdPercent: Scalars['Int']['output']; slaRiskEnabled: Scalars['Boolean']['output']; stalledInfoEnabled: Scalars['Boolean']['output']; stalledThresholdDays: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type GovernmentActivityItem = { __typename?: 'GovernmentActivityItem'; date: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; export type GovernmentAnnouncement = { __typename?: 'GovernmentAnnouncement'; category: Scalars['String']['output']; content: Scalars['String']['output']; date: Scalars['String']['output']; id: Scalars['ID']['output']; title: Scalars['String']['output']; }; export type GovernmentBenefitPoint = { __typename?: 'GovernmentBenefitPoint'; amount: Scalars['Float']['output']; month: Scalars['String']['output']; }; export type GovernmentMessage = { __typename?: 'GovernmentMessage'; body: Scalars['String']['output']; date: Scalars['String']['output']; department: Scalars['String']['output']; from: Scalars['String']['output']; id: Scalars['ID']['output']; preview: Scalars['String']['output']; subject: Scalars['String']['output']; unread: Scalars['Boolean']['output']; }; export type GovernmentNotification = { __typename?: 'GovernmentNotification'; date: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; read: Scalars['Boolean']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; export type GovernmentScheme = { __typename?: 'GovernmentScheme'; applicationDeadline?: Maybe; applicationUrl?: Maybe; benefits: Scalars['String']['output']; category: Scalars['String']['output']; /** Canonical scheme geography; never inferred from provider or display text. */ country: Scalars['String']['output']; /** Canonical ISO 4217 currency for this scheme's amounts. */ currency: Scalars['String']['output']; department: Scalars['String']['output']; description: Scalars['String']['output']; eligibility: Array; /** * BOFF-6110 — machine-evaluable criteria, each `{ id, label, fact, operator, value }`. * Empty when the scheme only carries the free-text `eligibility` wording. */ eligibilityRules: Array; id: Scalars['ID']['output']; maxAmount?: Maybe; /** Scheme-authored documents required for an application. */ requiredDocuments: Array; status: Scalars['String']['output']; title: Scalars['String']['output']; }; export type GrantHealthyBowlFinancierAccessInput = { context: ContextInput; expiresAt?: InputMaybe; /** The financier's actor id (their platform user id) to grant scoped read access to. */ financierActorId: Scalars['String']['input']; financierName?: InputMaybe; scope?: InputMaybe; }; /** Grant permission input */ export type GrantPermissionInput = { /** User or group ID to grant permission to */ entityId: Scalars['ID']['input']; /** Entity type (user, group, etc.) */ entityType: Scalars['String']['input']; /** Permission type to grant */ permissionType: Scalars['String']['input']; }; /** Date range filter for search (graph-specific to avoid conflicts with other services). */ export type GraphDateRangeInput = { from?: InputMaybe; to?: InputMaybe; }; /** Represents an edge (relationship) in the knowledge graph */ export type GraphEdge = { __typename?: 'GraphEdge'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Source node ID */ from: Scalars['ID']['output']; /** Source node */ fromNode?: Maybe; /** Unique edge ID */ id: Scalars['ID']['output']; /** Edge metadata */ metadata?: Maybe; /** Organization ID for multi-tenancy */ organizationId: Scalars['ID']['output']; /** Target node ID */ to: Scalars['ID']['output']; /** Target node */ toNode?: Maybe; /** Edge type/relationship name */ type: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; }; /** Metadata condition for graph search filters. */ export type GraphMetadataConditionInput = { key: Scalars['String']['input']; operator?: InputMaybe; value: Scalars['String']['input']; }; /** Metadata filter operator for graph search. */ export declare enum GraphMetadataOperator { Contains = "CONTAINS", Equals = "EQUALS", NotEquals = "NOT_EQUALS", StartsWith = "STARTS_WITH" } /** Represents a node (vertex) in the knowledge graph */ export type GraphNode = { __typename?: 'GraphNode'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Original entity ID from source system */ entityId: Scalars['ID']['output']; /** Entity type (e.g., Project, File, Task) */ entityType: Scalars['String']['output']; /** Unique node ID in the Apache AGE graph */ id: Scalars['ID']['output']; /** Whether the node is active */ isActive: Scalars['Boolean']['output']; /** Node metadata */ metadata?: Maybe; /** Organization ID for multi-tenancy */ organizationId: Scalars['ID']['output']; /** Product source (workspaces, tenant, etc.) */ productSource: Scalars['String']['output']; /** Project ID (if applicable) */ projectId?: Maybe; /** Node title/name */ title?: Maybe; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Workspace ID (if applicable) */ workspaceId?: Maybe; }; /** Traversal result with path information */ export type GraphPath = { __typename?: 'GraphPath'; /** Edges in the path */ edges: Array; /** Nodes in the path */ vertices: Array; /** Path weight/cost */ weight?: Maybe; }; /** Search matching mode. */ export declare enum GraphSearchMode { Exact = "EXACT", Fulltext = "FULLTEXT", Partial = "PARTIAL" } /** Sort order for global search. */ export declare enum GraphSearchSortBy { CreatedAsc = "CREATED_ASC", CreatedDesc = "CREATED_DESC", ScoreAsc = "SCORE_ASC", ScoreDesc = "SCORE_DESC", TitleAsc = "TITLE_ASC", TitleDesc = "TITLE_DESC", UpdatedAsc = "UPDATED_ASC", UpdatedDesc = "UPDATED_DESC" } /** * Tag-based filter for graph search. * Filters entity-owned tag arrays stored in graph metadata. */ export type GraphTagFilterInput = { depth?: InputMaybe; hierarchyPaths?: InputMaybe>; includeDescendants?: InputMaybe; matchAll?: InputMaybe; tagIds?: InputMaybe>; tagKeys?: InputMaybe>; vocabularyKeys?: InputMaybe>; }; /** Graph traversal options */ export type GraphTraversalInput = { /** Traversal direction */ direction?: InputMaybe; /** Edge types to follow (empty = all types) */ edgeTypes?: InputMaybe>; /** Maximum depth */ maxDepth?: InputMaybe; /** Minimum depth */ minDepth?: InputMaybe; /** Node types to include (empty = all types) */ nodeTypes?: InputMaybe>; /** Starting node ID */ startNodeId: Scalars['ID']['input']; }; export type Group = { __typename?: 'Group'; allowMemberInvites: Scalars['Boolean']['output']; allowNestedGroups: Scalars['Boolean']['output']; allowedEntityTypes: Array; archivedAt?: Maybe; childGroups: Array; color?: Maybe; compositionMode: GroupCompositionMode; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; customType?: Maybe; deletedAt?: Maybe; description?: Maybe; groupType: GroupType; icon?: Maybe; id: Scalars['ID']['output']; isSystemGroup: Scalars['Boolean']['output']; lastRuleSyncAt?: Maybe; materializationStrategy?: Maybe; maxMembers?: Maybe; maxNestingDepth: Scalars['Int']['output']; memberCount: Scalars['Int']['output']; members: MembershipConnection; membershipRules: Array; membershipType: MembershipType; metadata?: Maybe; name: Scalars['String']['output']; nextRuleSyncAt?: Maybe; ownerId: Scalars['ID']['output']; parentGroups: Array; productKey?: Maybe; requireApprovalToJoin: Scalars['Boolean']['output']; ruleSyncFrequencyMinutes?: Maybe; scope: GroupScope; settings: Array; slug: Scalars['String']['output']; status: GroupStatus; tagAssignments: Array; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records. Use `groupTagAssignments` for the structured wspace-tags-svc view. */ tags: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; viewerMembership?: Maybe; visibility: GroupVisibility; workspace?: Maybe; workspaceId: Scalars['ID']['output']; }; export type GroupMembersArgs = { after?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; }; export type GroupMembershipRulesArgs = { limit?: InputMaybe; }; export type GroupActionResult = { __typename?: 'GroupActionResult'; data?: Maybe; message?: Maybe; success: Scalars['Boolean']['output']; }; export type GroupAuditLog = { __typename?: 'GroupAuditLog'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; changes?: Maybe; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; eventType: Scalars['String']['output']; groupId: Scalars['ID']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe; metadata?: Maybe; userAgent?: Maybe; }; export type GroupAuditLogConnection = { __typename?: 'GroupAuditLogConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupAuditLogEdge = { __typename?: 'GroupAuditLogEdge'; cursor: Scalars['String']['output']; node: GroupAuditLog; }; export declare enum GroupCompositionMode { Heterogeneous = "HETEROGENEOUS", Homogeneous = "HOMOGENEOUS" } export type GroupConnection = { __typename?: 'GroupConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupEdge = { __typename?: 'GroupEdge'; cursor: Scalars['String']['output']; node: Group; }; export declare enum GroupExportFormat { Csv = "CSV", Json = "JSON" } export type GroupExportResult = { __typename?: 'GroupExportResult'; data?: Maybe; exportedAt: Scalars['DateTime']['output']; format: GroupExportFormat; recordCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; }; export type GroupFilter = { groupType?: InputMaybe; memberEntityId?: InputMaybe; scope?: InputMaybe; searchText?: InputMaybe; status?: InputMaybe; visibility?: InputMaybe; }; export type GroupMembership = { __typename?: 'GroupMembership'; approvedAt?: Maybe; approvedBy?: Maybe; createdAt: Scalars['DateTime']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; expiresAt?: Maybe; group: Group; id: Scalars['ID']['output']; invitationStatus?: Maybe; invitedAt?: Maybe; invitedBy?: Maybe; joinedAt?: Maybe; membershipType: MembershipType; metadata?: Maybe; role: MembershipRole; source: MembershipSource; updatedAt: Scalars['DateTime']['output']; }; export type GroupMembershipFilter = { entityType?: InputMaybe; membershipType?: InputMaybe; role?: InputMaybe; source?: InputMaybe; }; export type GroupMembershipRule = { __typename?: 'GroupMembershipRule'; assignRole: MembershipRole; autoAdd: Scalars['Boolean']['output']; autoRemove: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe; enabled: Scalars['Boolean']['output']; entityType: Scalars['String']['output']; executions: Array; group: Group; groupId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; priority: Scalars['Int']['output']; ruleDefinition: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; }; export type GroupMembershipRuleExecutionsArgs = { limit?: InputMaybe; }; export type GroupMembershipRuleConnection = { __typename?: 'GroupMembershipRuleConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupMembershipRuleEdge = { __typename?: 'GroupMembershipRuleEdge'; cursor: Scalars['String']['output']; node: GroupMembershipRule; }; /** * Minimal group metadata for trusted service-to-service reference validation. * The lookup is always scoped to the authenticated workspace and can resolve a * PRIVATE group without exposing its membership or configuration. */ export type GroupReference = { __typename?: 'GroupReference'; deletedAt?: Maybe; id: Scalars['ID']['output']; membershipType: MembershipType; name: Scalars['String']['output']; status: GroupStatus; workspaceId: Scalars['ID']['output']; }; export type GroupRoleAssignment = { __typename?: 'GroupRoleAssignment'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; assignedAt: Scalars['DateTime']['output']; expiresAt?: Maybe; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; roleId: Scalars['ID']['output']; roleName?: Maybe; scopeId: Scalars['ID']['output']; scopeResourceId?: Maybe; scopeResourceType?: Maybe; }; export type GroupRoleAssignmentConnection = { __typename?: 'GroupRoleAssignmentConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupRoleAssignmentEdge = { __typename?: 'GroupRoleAssignmentEdge'; cursor: Scalars['String']['output']; node: GroupRoleAssignment; }; export type GroupRuleCreateInput = { assignRole?: InputMaybe; autoAdd?: InputMaybe; autoRemove?: InputMaybe; description?: InputMaybe; enabled?: InputMaybe; entityType: Scalars['String']['input']; metadata?: InputMaybe; name: Scalars['String']['input']; priority?: InputMaybe; ruleDefinition: Scalars['JSON']['input']; }; export type GroupRuleSyncExecution = { __typename?: 'GroupRuleSyncExecution'; completedAt?: Maybe; entitiesEvaluated: Scalars['Int']['output']; errors?: Maybe; executionTimeMs?: Maybe; id: Scalars['ID']['output']; membersAdded: Scalars['Int']['output']; membersRemoved: Scalars['Int']['output']; rule: GroupMembershipRule; ruleId: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; status: ActionStatus; }; export type GroupRuleSyncExecutionConnection = { __typename?: 'GroupRuleSyncExecutionConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupRuleSyncExecutionEdge = { __typename?: 'GroupRuleSyncExecutionEdge'; cursor: Scalars['String']['output']; node: GroupRuleSyncExecution; }; export type GroupRuleUpdateInput = { assignRole?: InputMaybe; autoAdd?: InputMaybe; autoRemove?: InputMaybe; description?: InputMaybe; enabled?: InputMaybe; metadata?: InputMaybe; name?: InputMaybe; priority?: InputMaybe; ruleDefinition?: InputMaybe; }; export declare enum GroupScope { Global = "GLOBAL", Private = "PRIVATE", Tenant = "TENANT", Workspace = "WORKSPACE" } export type GroupSetting = { __typename?: 'GroupSetting'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe; groupId: Scalars['ID']['output']; id: Scalars['ID']['output']; isOverride: Scalars['Boolean']['output']; scope: Scalars['String']['output']; settingKey: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['JSON']['output']; }; export type GroupShareLink = { __typename?: 'GroupShareLink'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe; groupId: Scalars['ID']['output']; id: Scalars['ID']['output']; lastUsedAt?: Maybe; maxUses?: Maybe; revoked: Scalars['Boolean']['output']; revokedAt?: Maybe; revokedBy?: Maybe; token: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; useCount: Scalars['Int']['output']; }; export type GroupSort = { direction: SortDirection; field: GroupSortField; }; export declare enum GroupSortField { CreatedAt = "CREATED_AT", MemberCount = "MEMBER_COUNT", Name = "NAME", UpdatedAt = "UPDATED_AT" } export declare enum GroupStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED", Draft = "DRAFT", Suspended = "SUSPENDED" } export type GroupTagAssignment = { __typename?: 'GroupTagAssignment'; assignedAt?: Maybe; assignedBy?: Maybe; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; groupId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; source: Scalars['String']['output']; tag?: Maybe; tagId: Scalars['ID']['output']; tagInfo?: Maybe; validFrom?: Maybe; validTo?: Maybe; }; export type GroupTagInfo = { __typename?: 'GroupTagInfo'; color?: Maybe; id: Scalars['ID']['output']; key?: Maybe; label?: Maybe; }; export type GroupTemplate = { __typename?: 'GroupTemplate'; allowMemberInvites: Scalars['Boolean']['output']; allowNestedGroups: Scalars['Boolean']['output']; allowedEntityTypes: Array; category?: Maybe; color?: Maybe; compositionMode: GroupCompositionMode; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; defaultMetadata?: Maybe; defaultSettings?: Maybe; description?: Maybe; groupType: GroupType; icon?: Maybe; id: Scalars['ID']['output']; isSystem: Scalars['Boolean']['output']; maxMembers?: Maybe; maxNestingDepth: Scalars['Int']['output']; membershipType: MembershipType; metadata?: Maybe; name: Scalars['String']['output']; requireApprovalToJoin: Scalars['Boolean']['output']; scope: GroupScope; slug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibility: GroupVisibility; }; export type GroupTemplateConnection = { __typename?: 'GroupTemplateConnection'; edges: Array; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type GroupTemplateEdge = { __typename?: 'GroupTemplateEdge'; cursor: Scalars['String']['output']; node: GroupTemplate; }; export type GroupTemplateFilter = { category?: InputMaybe; groupType?: InputMaybe; isSystem?: InputMaybe; searchText?: InputMaybe; }; export declare enum GroupType { Audience = "AUDIENCE", BetaProgram = "BETA_PROGRAM", ChannelGroup = "CHANNEL_GROUP", Custom = "CUSTOM", DynamicAudience = "DYNAMIC_AUDIENCE", FeatureFlagGroup = "FEATURE_FLAG_GROUP", ProjectGroup = "PROJECT_GROUP", ResourceCollection = "RESOURCE_COLLECTION", SecurityGroup = "SECURITY_GROUP", Team = "TEAM" } export declare enum GroupVisibility { Internal = "INTERNAL", Private = "PRIVATE", PublicLink = "PUBLIC_LINK" } export declare enum GroupsExportFormat { Csv = "CSV", Json = "JSON" } export type GroupsExportJobResponse = { __typename?: 'GroupsExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * What kind of growing location a field is. * * Drives the maths that apply to it: open-field bed geometry does not describe a greenhouse bench, * an orchard's permanent tree spacing, or an indoor rack — and a pasture is grazed, not bedded out. * Existing fields are OPEN_FIELD, which is what the product assumed everywhere before this existed. */ export declare enum GrowLocationType { Greenhouse = "GREENHOUSE", Indoor = "INDOOR", OpenField = "OPEN_FIELD", Orchard = "ORCHARD", Pasture = "PASTURE", Polytunnel = "POLYTUNNEL", RaisedBed = "RAISED_BED" } export type GrowSpace = { __typename?: 'GrowSpace'; /** Estimated total capacity across all containers in this row. */ capacity: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; diameterCm?: Maybe; gardenId: Scalars['ID']['output']; gardenName: Scalars['String']['output']; heightCm?: Maybe; id: Scalars['ID']['output']; lengthCm?: Maybe; /** Whole months since the medium was last refreshed; null if never recorded. */ mediaAgeMonths?: Maybe; /** True once the medium is a year old and worth replacing. */ mediaRefreshDue: Scalars['Boolean']['output']; mediaRefreshedAt?: Maybe; /** POTTING_MIX | COCOPEAT | GARDEN_SOIL | COMPOST_BLEND | SOILLESS | HYDRO */ medium?: Maybe; name: Scalars['String']['output']; notes?: Maybe; /** Plants currently growing here. */ occupiedSlots: Scalars['Int']['output']; quantity: Scalars['Int']['output']; slots?: Maybe; /** GROW_BAG | POT | RAISED_BED | PLANTER_BOX | VERTICAL_TOWER | HYDROPONIC_CHANNEL | SEED_TRAY | TRELLIS | GROUND_PATCH */ spaceType: Scalars['String']['output']; /** FULL_SUN | PARTIAL | SHADE */ sunExposure?: Maybe; updatedAt: Scalars['DateTime']['output']; /** Litres of medium in ONE container; computed from the dimensions. */ volumeLitres?: Maybe; widthCm?: Maybe; zoneLabel?: Maybe; }; export type Gs1LabelInput = { context: ContextInput; /** 1–250 labels, one per page. Clamped server-side. */ copies?: InputMaybe; id: Scalars['ID']['input']; }; export type HandOffMtwFreightInvoiceSettlementInput = { comparisonId: Scalars['ID']['input']; expectedSequence: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; note?: InputMaybe; shipmentId: Scalars['ID']['input']; }; /** * Input for an incoming channel message forwarded from wspace-conversations-svc. * All fields are platform-agnostic; the platform field identifies which channel type * sent the message. */ export type HandleChannelMessageInput = { /** Global channel ID from global-channel-svc */ channelId: Scalars['String']['input']; /** Conversation ID already created by conversations-svc — skips duplicate storage */ conversationId?: InputMaybe; /** Platform event type (e.g. MESSAGE_CREATE, app_mention) */ eventType: Scalars['String']['input']; /** True when this message is a direct message to the bot */ isDm?: InputMaybe; /** Message ID already created by conversations-svc */ messageId?: InputMaybe; /** Organization ID for multi-tenancy routing */ organizationId: Scalars['String']['input']; /** Platform type string (e.g. SLACK, TEAMS, DISCORD, WHATSAPP) */ platform: Scalars['String']['input']; /** Platform-native channel or DM ID (e.g. Slack C1234 or D5678) */ platformChannelId?: InputMaybe; /** Plain-text message content */ text: Scalars['String']['input']; /** Thread/reply-chain ID for threaded responses */ threadId?: InputMaybe; /** ISO-8601 timestamp when the message was originally sent */ timestamp?: InputMaybe; /** External user ID who sent the message (e.g. Slack user U123) */ userId: Scalars['String']['input']; /** Platform-specific message or webhook event ID — used for idempotency */ webhookEventId: Scalars['String']['input']; }; /** * Result of accepting a channel message for bot processing. * The mutation returns immediately; actual LLM generation and reply happen asynchronously. */ export type HandleChannelMessageResult = { __typename?: 'HandleChannelMessageResult'; /** Whether the message was accepted for background processing */ accepted: Scalars['Boolean']['output']; }; export type HarvestRecord = { __typename?: 'HarvestRecord'; /** I-8 — loose link to the originating Bed. */ bedId?: Maybe; cropName: Scalars['String']['output']; fieldName: Scalars['String']['output']; harvestDate: Scalars['String']['output']; id: Scalars['ID']['output']; /** I-8 — loose link to the originating PlantingPlan (planned-vs-actual). */ plantingPlanId?: Maybe; pricePerUnit?: Maybe; /** I-8 — the inventory Product this harvest fed into (when addToInventory used). */ productId?: Maybe; qualityGrade: Scalars['String']['output']; quantity: Scalars['Float']['output']; status: Scalars['String']['output']; storageLocation?: Maybe; unit: Scalars['String']['output']; }; export type HbCarbonCredit = { __typename?: 'HbCarbonCredit'; baselinePractice?: Maybe; createdAt: Scalars['String']['output']; creditCode: Scalars['String']['output']; currency?: Maybe; farmId: Scalars['ID']['output']; id: Scalars['ID']['output']; inventoryId?: Maybe; issuedDate?: Maybe; linkedFieldIds: Array; /** SOIL_CARBON | AGROFORESTRY | COVER_CROP | NO_TILL */ method: Scalars['String']['output']; notes?: Maybe; pricePerCredit?: Maybe; quantityTCo2e: Scalars['Float']['output']; /** Linked regenerative practice (sequestration source). */ regenerativePracticeId?: Maybe; /** VERRA_VCS | GOLD_STANDARD | OTHER */ registry?: Maybe; registrySerial?: Maybe; /** Linked soil-carbon estimate (sequestration source). */ soilCarbonEstimateId?: Maybe; /** DRAFT | PENDING | VERIFIED | ISSUED | RETIRED */ status: Scalars['String']['output']; updatedAt: Scalars['String']['output']; verifierRef?: Maybe; vintageYear: Scalars['Int']['output']; }; export type HbCarbonCreditList = { __typename?: 'HbCarbonCreditList'; draftCount: Scalars['Int']['output']; issuedCount: Scalars['Int']['output']; items: Array; pendingCount: Scalars['Int']['output']; total: Scalars['Int']['output']; totalTco2e: Scalars['Float']['output']; verifiedCount: Scalars['Int']['output']; }; export type HbCarbonOverview = { __typename?: 'HbCarbonOverview'; credits: HbCreditSummary; /** Percent change vs the prior year's inventory; null when there is no prior year. */ emissionsChangePct?: Maybe; eudr: HbEudrSummary; farmId?: Maybe; farmLocation?: Maybe; farmName?: Maybe; /** False when the farm has no inventory yet (render the onboarding empty state). */ hasData: Scalars['Boolean']['output']; intensityPerTonne?: Maybe; inventory?: Maybe; netBalance: Scalars['Float']['output']; /** NET_POSITIVE (sink) | NET_EMITTER */ netStatus: Scalars['String']['output']; scopeBreakdown: Array; sequestered: Scalars['Float']['output']; soilCarbonTrend: Array; totalEmissions: Scalars['Float']['output']; year: Scalars['Int']['output']; }; export type HbCreditSummary = { __typename?: 'HbCreditSummary'; draft: Scalars['Int']['output']; issued: Scalars['Int']['output']; pending: Scalars['Int']['output']; total: Scalars['Int']['output']; totalTco2e: Scalars['Float']['output']; verified: Scalars['Int']['output']; }; export type HbCropHealthFieldSummary = { __typename?: 'HbCropHealthFieldSummary'; areaAcres: Scalars['Float']['output']; confidenceBand?: Maybe; cropName?: Maybe; estimatedTonnes?: Maybe; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; hasBoundary: Scalars['Boolean']['output']; /** EXCELLENT | HEALTHY | BELOW_AVERAGE | STRESSED | NO_DATA. */ healthBand: Scalars['String']['output']; healthLabel: Scalars['String']['output']; lastReadingDate?: Maybe; /** Highest zone severity (LOW|MEDIUM|HIGH) or null. */ maxZoneSeverity?: Maybe; meanNdvi?: Maybe; stressedZoneCount: Scalars['Int']['output']; trendDirection: Scalars['String']['output']; trendPct: Scalars['Float']['output']; unit: Scalars['String']['output']; }; export type HbCropHealthOverview = { __typename?: 'HbCropHealthOverview'; farmName?: Maybe; fields: Array; fieldsWithBoundaryCount: Scalars['Int']['output']; lastSyncAt?: Maybe; monitoredFieldCount: Scalars['Int']['output']; openStressedZoneCount: Scalars['Int']['output']; settings: HbSatelliteSettings; stressedFieldCount: Scalars['Int']['output']; }; export type HbEscalateStressedZoneInput = { context: ContextInput; id: Scalars['ID']['input']; note?: InputMaybe; /** PEST | TASK. */ target: Scalars['String']['input']; }; export type HbEudrExport = { __typename?: 'HbEudrExport'; /** Opaque wspace-files-svc id (null if the file library was unreachable — the PDF still returns). */ fileId?: Maybe; fileName: Scalars['String']['output']; /** Base64 PDF for immediate client download. */ pdfBase64: Scalars['String']['output']; statementCode: Scalars['String']['output']; }; export type HbEudrStatement = { __typename?: 'HbEudrStatement'; commodity: Scalars['String']['output']; createdAt: Scalars['String']['output']; cutoffCompliant: Scalars['Boolean']['output']; cutoffDate: Scalars['String']['output']; dataSource?: Maybe; /** LOW | STANDARD | HIGH */ deforestationRisk: Scalars['String']['output']; dueDiligenceRef?: Maybe; farmId: Scalars['ID']['output']; fieldId?: Maybe; geoLatitude?: Maybe; geoLongitude?: Maybe; id: Scalars['ID']['output']; lastVerifiedAt?: Maybe; plotAreaHa?: Maybe; plotGeojson?: Maybe; productionDateFrom?: Maybe; productionDateTo?: Maybe; riskAssessment?: Maybe; statementCode: Scalars['String']['output']; statementFileId?: Maybe; /** DRAFT | SUBMITTED | VERIFIED */ status: Scalars['String']['output']; traceBatchId?: Maybe; updatedAt: Scalars['String']['output']; }; export type HbEudrSummary = { __typename?: 'HbEudrSummary'; compliantPlots: Scalars['Int']['output']; latestStatement?: Maybe; totalPlots: Scalars['Int']['output']; }; export type HbFieldCropHealth = { __typename?: 'HbFieldCropHealth'; field: HbFieldFacet; healthScore: HbFieldHealthScore; latestReading?: Maybe; stressedZones: Array; timeline: Array; yieldForecast?: Maybe; }; export type HbFieldFacet = { __typename?: 'HbFieldFacet'; areaAcres: Scalars['Float']['output']; /** The field's stored GeoJSON boundary (for the map clip). */ boundary?: Maybe; cropName?: Maybe; farmName?: Maybe; hasBoundary: Scalars['Boolean']['output']; id: Scalars['ID']['output']; location?: Maybe; name: Scalars['String']['output']; unit: Scalars['String']['output']; variety?: Maybe; }; export type HbFieldHealthScore = { __typename?: 'HbFieldHealthScore'; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; /** EXCELLENT | HEALTHY | BELOW_AVERAGE | STRESSED. */ healthBand: Scalars['String']['output']; healthLabel: Scalars['String']['output']; latestDate?: Maybe; meanNdvi: Scalars['Float']['output']; previousNdvi?: Maybe; readingsCount: Scalars['Int']['output']; /** Change in mean NDVI vs the previous reading. */ trendDelta: Scalars['Float']['output']; /** UP | DOWN | FLAT. */ trendDirection: Scalars['String']['output']; trendPct: Scalars['Float']['output']; }; export type HbGhgActivity = { __typename?: 'HbGhgActivity'; activityDate: Scalars['String']['output']; category: Scalars['String']['output']; /** kg CO2e for this line. */ co2e: Scalars['Float']['output']; factorKey: Scalars['String']['output']; factorSet: Scalars['String']['output']; factorValue: Scalars['Float']['output']; id: Scalars['ID']['output']; inventoryId: Scalars['ID']['output']; label: Scalars['String']['output']; quantity: Scalars['Float']['output']; /** SCOPE_1 | SCOPE_2 | SCOPE_3 */ scope: Scalars['String']['output']; sourceRef?: Maybe; /** DERIVED | MANUAL */ sourceType: Scalars['String']['output']; unit: Scalars['String']['output']; }; export type HbGhgInventory = { __typename?: 'HbGhgInventory'; activityCount: Scalars['Int']['output']; createdAt: Scalars['String']['output']; farmId: Scalars['ID']['output']; farmName?: Maybe; id: Scalars['ID']['output']; intensityPerTonne?: Maybe; lockedAt?: Maybe; methodology: Scalars['String']['output']; netCo2e: Scalars['Float']['output']; notes?: Maybe; periodEnd: Scalars['String']['output']; periodStart: Scalars['String']['output']; sequesteredCo2e: Scalars['Float']['output']; /** DRAFT | LOCKED | VERIFIED */ status: Scalars['String']['output']; totalCo2e: Scalars['Float']['output']; totalScope1: Scalars['Float']['output']; totalScope2: Scalars['Float']['output']; totalScope3: Scalars['Float']['output']; updatedAt: Scalars['String']['output']; verifiedAt?: Maybe; year: Scalars['Int']['output']; }; export type HbMrvReport = { __typename?: 'HbMrvReport'; /** CSV body (present when format=CSV). */ csv?: Maybe; farmId: Scalars['ID']['output']; /** PDF | CSV */ format: Scalars['String']['output']; generatedAt: Scalars['String']['output']; id: Scalars['ID']['output']; /** Base64 PDF (present when format=PDF). */ pdfBase64?: Maybe; reportCode: Scalars['String']['output']; reportFileId?: Maybe; summary?: Maybe; year: Scalars['Int']['output']; }; export type HbNdviComparison = { __typename?: 'HbNdviComparison'; deltaNdvi: Scalars['Float']['output']; deltaPct: Scalars['Float']['output']; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; left?: Maybe; right?: Maybe; timeline: Array; /** Improving | Declining | Stable. */ trendLabel: Scalars['String']['output']; }; export type HbNdviGrid = { __typename?: 'HbNdviGrid'; /** [minLng, minLat, maxLng, maxLat] of the field bounding box. */ bbox: Array; /** Row-major NDVI cell values in [0,1]; null for cells outside the field polygon. */ cells: Array>; cols: Scalars['Int']['output']; rows: Scalars['Int']['output']; }; export type HbNdviIngestResult = { __typename?: 'HbNdviIngestResult'; alertsRaised: Scalars['Int']['output']; healthScore: HbFieldHealthScore; notificationsSent: Scalars['Int']['output']; reading: HbNdviReading; stressedZones: Array; }; export type HbNdviReading = { __typename?: 'HbNdviReading'; /** Satellite pass date this reading represents. */ capturedDate: Scalars['DateTime']['output']; cloudCoverPct?: Maybe; createdAt: Scalars['DateTime']['output']; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; /** The polygon-clipped per-cell NDVI grid (heavy; only populated on detail reads). */ grid?: Maybe; gridCols: Scalars['Int']['output']; gridRows: Scalars['Int']['output']; /** Health band label at this reading (EXCELLENT | HEALTHY | BELOW_AVERAGE | STRESSED). */ healthBand: Scalars['String']['output']; id: Scalars['ID']['output']; maxNdvi: Scalars['Float']['output']; meanEvi?: Maybe; meanNdvi: Scalars['Float']['output']; minNdvi: Scalars['Float']['output']; /** SENTINEL2_STUB | SENTINEL2_PARTNER | MANUAL. */ source: Scalars['String']['output']; }; export type HbNdviReadingIngestInput = { /** Satellite pass date (defaults to server-now). */ capturedDate?: InputMaybe; context: ContextInput; fieldId: Scalars['ID']['input']; /** SENTINEL2_STUB (default) | SENTINEL2_PARTNER | MANUAL. */ source?: InputMaybe; }; export type HbNdviRefreshResult = { __typename?: 'HbNdviRefreshResult'; fieldsRefreshed: Scalars['Int']['output']; fieldsSkippedNoBoundary: Scalars['Int']['output']; lastSyncAt: Scalars['DateTime']['output']; readingsCreated: Scalars['Int']['output']; results: Array; stressedZonesDetected: Scalars['Int']['output']; }; export type HbNdviTimelinePoint = { __typename?: 'HbNdviTimelinePoint'; capturedDate: Scalars['DateTime']['output']; healthBand: Scalars['String']['output']; meanNdvi: Scalars['Float']['output']; readingId: Scalars['ID']['output']; source: Scalars['String']['output']; }; export type HbRefreshFieldNdviInput = { /** Also seed this many prior dated readings per field (history), so trend/timeline work immediately. Default 0, max 12. */ backfillReadings?: InputMaybe; context: ContextInput; /** Refresh one field; omit to refresh every field in the workspace that has a boundary. */ fieldId?: InputMaybe; }; export type HbRegenerativePractice = { __typename?: 'HbRegenerativePractice'; areaHa: Scalars['Float']['output']; createdAt: Scalars['String']['output']; endDate?: Maybe; evidence?: Maybe; farmId: Scalars['ID']['output']; fieldId?: Maybe; id: Scalars['ID']['output']; notes?: Maybe; /** COVER_CROP | NO_TILL | AGROFORESTRY | COMPOST | RESIDUE_RETENTION | ROTATIONAL_GRAZING */ practiceType: Scalars['String']['output']; startDate: Scalars['String']['output']; }; export type HbSatelliteSettings = { __typename?: 'HbSatelliteSettings'; dataRetentionMonths: Scalars['Int']['output']; fetchEvi: Scalars['Boolean']['output']; fetchNdmi: Scalars['Boolean']['output']; fetchNdvi: Scalars['Boolean']['output']; id?: Maybe; lastPullAt?: Maybe; lastPullFieldCount?: Maybe; lastPullSource?: Maybe; nextPullAt?: Maybe; /** SENTINEL2_STUB | SENTINEL2_PARTNER. */ provider: Scalars['String']['output']; /** CONNECTED | DISCONNECTED | PENDING. */ providerStatus: Scalars['String']['output']; /** DAILY | EVERY_3_DAYS | WEEKLY. */ refreshSchedule: Scalars['String']['output']; /** LOW | MEDIUM | HIGH. */ stressSensitivity: Scalars['String']['output']; updatedAt?: Maybe; }; export type HbSaveYieldScenarioInput = { context: ContextInput; fieldId: Scalars['ID']['input']; irrigationMmPerWeek?: InputMaybe; name: Scalars['String']['input']; nitrogenKgPerAcre?: InputMaybe; plantDensityPerSqM?: InputMaybe; plantingDate?: InputMaybe; variety?: InputMaybe; }; export type HbScopeBreakdown = { __typename?: 'HbScopeBreakdown'; /** tCO2e */ co2e: Scalars['Float']['output']; label: Scalars['String']['output']; percentage: Scalars['Float']['output']; /** SCOPE_1 | SCOPE_2 | SCOPE_3 */ scope: Scalars['String']['output']; }; export type HbSoilCarbonEstimate = { __typename?: 'HbSoilCarbonEstimate'; areaHa?: Maybe; baselineSoc?: Maybe; /** LOW | MEDIUM | HIGH */ confidence: Scalars['String']['output']; createdAt: Scalars['String']['output']; currentSoc?: Maybe; farmId: Scalars['ID']['output']; fieldId?: Maybe; id: Scalars['ID']['output']; /** MODELED | SOIL_SAMPLED */ methodology: Scalars['String']['output']; notes?: Maybe; periodEnd: Scalars['String']['output']; periodStart: Scalars['String']['output']; practiceId?: Maybe; tCo2eSequestered: Scalars['Float']['output']; }; export type HbSoilCarbonPoint = { __typename?: 'HbSoilCarbonPoint'; /** Cumulative sequestered tCO2e up to this point. */ cumulativeTco2e: Scalars['Float']['output']; label: Scalars['String']['output']; periodEnd: Scalars['String']['output']; }; export type HbStressedZone = { __typename?: 'HbStressedZone'; areaAcres?: Maybe; capturedDate: Scalars['DateTime']['output']; centroidLat: Scalars['Float']['output']; centroidLng: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; /** % below the field average (negative). */ deltaPct: Scalars['Float']['output']; escalatedActivityId?: Maybe; escalatedPestIssueId?: Maybe; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; /** Field mean NDVI at detection time. */ fieldNdvi: Scalars['Float']['output']; id: Scalars['ID']['output']; /** Zone A | Zone B | … */ label: Scalars['String']['output']; readingId: Scalars['ID']['output']; /** low_vigor | water_stress | nutrient_deficiency | declining_trend | pest_risk. */ reason: Scalars['String']['output']; /** Plain-English cause + suggested action. */ reasonDetail?: Maybe; /** LOW | MEDIUM | HIGH. */ severity: Scalars['String']['output']; /** OPEN | ACKNOWLEDGED | ESCALATED | RESOLVED. */ status: Scalars['String']['output']; /** Mean NDVI inside the zone. */ zoneNdvi: Scalars['Float']['output']; }; export type HbStressedZoneEscalation = { __typename?: 'HbStressedZoneEscalation'; activityId?: Maybe; pestIssueId?: Maybe; /** PEST | TASK. */ target: Scalars['String']['output']; zone: HbStressedZone; }; export type HbUpdateSatelliteSettingsInput = { context: ContextInput; dataRetentionMonths?: InputMaybe; fetchEvi?: InputMaybe; fetchNdmi?: InputMaybe; fetchNdvi?: InputMaybe; provider?: InputMaybe; refreshSchedule?: InputMaybe; stressSensitivity?: InputMaybe; }; export type HbYieldForecast = { __typename?: 'HbYieldForecast'; areaAcres: Scalars['Float']['output']; baselineYieldPerAcre: Scalars['Float']['output']; /** NDVI_TREND_RULE | SCENARIO_SIM. */ basis: Scalars['String']['output']; confidenceBand: Scalars['Float']['output']; confidenceHighTonnes: Scalars['Float']['output']; /** LOW | MEDIUM | HIGH. */ confidenceLabel: Scalars['String']['output']; confidenceLowTonnes: Scalars['Float']['output']; createdAt?: Maybe; cropId?: Maybe; cropName?: Maybe; deltaVsBaselinePct?: Maybe; estimatedTonnes: Scalars['Float']['output']; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; growthStage?: Maybe; /** e.g. 'mid-Oct'. */ harvestWindowLabel?: Maybe; harvestWindowStart?: Maybe; /** Set only for persisted (saved) scenarios; null for a live/simulated forecast. */ id?: Maybe; meanNdvi: Scalars['Float']['output']; /** Explainable calculation basis (documented, no fabricated precision). */ method: Scalars['String']['output']; /** Saved-scenario metadata. */ name?: Maybe; readingsUsed: Scalars['Int']['output']; saved: Scalars['Boolean']['output']; scenario?: Maybe; trajectory: Array; variety?: Maybe; yieldPerAcre: Scalars['Float']['output']; }; export type HbYieldScenarioEcho = { __typename?: 'HbYieldScenarioEcho'; irrigationMmPerWeek?: Maybe; nitrogenKgPerAcre?: Maybe; plantDensityPerSqM?: Maybe; plantingDate?: Maybe; variety?: Maybe; }; export type HbYieldSimulationInput = { context: ContextInput; fieldId: Scalars['ID']['input']; irrigationMmPerWeek?: InputMaybe; nitrogenKgPerAcre?: InputMaybe; plantDensityPerSqM?: InputMaybe; plantingDate?: InputMaybe; variety?: InputMaybe; }; export type HbYieldTrajectoryPoint = { __typename?: 'HbYieldTrajectoryPoint'; baseline: Scalars['Float']['output']; label: Scalars['String']['output']; lower: Scalars['Float']['output']; monthIndex: Scalars['Int']['output']; simulated: Scalars['Float']['output']; upper: Scalars['Float']['output']; }; /** An AI tool available for marketing content generation and optimization. */ export type HeadshotmarketingAiTool = { __typename?: 'HeadshotmarketingAITool'; category: HeadshotmarketingAiToolCategory; configuration?: Maybe; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; description?: Maybe; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; metadata?: Maybe; model?: Maybe; name: Scalars['String']['output']; provider: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HeadshotmarketingAiToolCategory { ContentGeneration = "CONTENT_GENERATION", Copywriting = "COPYWRITING", ImageGeneration = "IMAGE_GENERATION", Other = "OTHER", SeoOptimization = "SEO_OPTIMIZATION", Summarization = "SUMMARIZATION", Translation = "TRANSLATION", VideoGeneration = "VIDEO_GENERATION" } /** * One AI run of this product: an AI tool execution, or (since BOFF-3771) a * decision-engine, translation or marketing-agent model call. This is the * product's append-only projection; the canonical record of every model call is * the shared AI ledger in wspace-prompts-svc, which prices it server-side. A * finished run can no longer change. Provenance fields never carry prompt text * or personal data. */ export type HeadshotmarketingAiToolExecution = { __typename?: 'HeadshotmarketingAIToolExecution'; /** user | app | service | super_admin */ actorType?: Maybe; /** Gateway request id the run belongs to. */ correlationId?: Maybe; /** * Server-priced cost in USD from the shared AI ledger. Always null for a * simulated run. * @deprecated Use costUsd. */ cost?: Maybe; /** Server-priced cost in USD; null when the call could not be priced. */ costUsd?: Maybe; createdAt: Scalars['DateTime']['output']; /** What the run decided or produced, e.g. generated, scored, recommended. */ decision?: Maybe; durationMs?: Maybe; errorMessage?: Maybe; executedBy: Scalars['ID']['output']; id: Scalars['ID']['output']; input: Scalars['JSON']['output']; /** Ids of the entities the run read (contacts, leads, deals, campaigns). */ inputRefs: Array; /** Alias of durationMs. */ latencyMs?: Maybe; /** Whether the shared AI ledger confirmed a row for this run's model call. */ ledgerRecorded: Scalars['Boolean']['output']; /** Shared-ledger outcome: CHARGED, SKIPPED: or NOT_RECORDED:. */ ledgerStatus?: Maybe; metadata?: Maybe; /** provider/model as the provider reported it. */ model?: Maybe; /** * The AI surface: content.ai-tool, crm.lead-score, crm.audience-suggestion, * crm.next-action, localization.translate or agent.chat. */ operationKey: Scalars['String']['output']; output?: Maybe; /** PII-free description of the run: operation, tool and input shape. */ promptSummary?: Maybe; /** * Provider that answered (gemini, openai, anthropic), or deterministic for a * run that made no model call. */ provider?: Maybe; /** Assistant or client session id, when the caller sent one. */ sessionId?: Maybe; /** * True when tokens and cost were not metered by a provider (the deterministic * fallback, and every run recorded before BOFF-3771). Never part of real spend. */ simulated: Scalars['Boolean']['output']; status: HeadshotmarketingAiToolExecutionStatus; tokensIn?: Maybe; tokensOut?: Maybe; /** * tokensIn + tokensOut as the provider metered them. Null when the provider * reported no usage or no model was called. */ tokensUsed?: Maybe; tool?: Maybe; /** The AI tool for content.ai-tool runs; the operation key for other runs. */ toolId: Scalars['ID']['output']; /** manual | scheduled | event */ trigger: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAiToolExecutionFilterInput = { executedBy?: InputMaybe; status?: InputMaybe; toolId?: InputMaybe; }; export type HeadshotmarketingAiToolExecutionList = { __typename?: 'HeadshotmarketingAIToolExecutionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingAiToolExecutionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING" } export type HeadshotmarketingAiToolFilterInput = { category?: InputMaybe; isEnabled?: InputMaybe; provider?: InputMaybe; search?: InputMaybe; }; export type HeadshotmarketingAiToolList = { __typename?: 'HeadshotmarketingAIToolList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** * Outcome of one external ad-network sync attempt (budget push or * status/metrics pull). A FAILED result with `retryable: true` and a * `nextRetryAt` has been queued for an automatic retry. */ export type HeadshotmarketingAdBudgetPushResult = { __typename?: 'HeadshotmarketingAdBudgetPushResult'; /** 1-based consecutive attempt number. */ attempt: Scalars['Int']['output']; message: Scalars['String']['output']; /** When the automatic retry runs, if one was scheduled. */ nextRetryAt?: Maybe; /** Whether the failure is transient (HTTP 408/429/5xx, timeout). */ retryable: Scalars['Boolean']['output']; syncStatus: HeadshotmarketingAdSyncStatus; }; /** * A budget reallocation suggestion for an ad campaign. `source` is either * "llm:" (a real LLM call succeeded) or "deterministic-heuristic" * (no LLM provider key configured — the real, honest fallback path). */ export type HeadshotmarketingAdBudgetRecommendation = { __typename?: 'HeadshotmarketingAdBudgetRecommendation'; adCampaignId: Scalars['ID']['output']; appliedAt?: Maybe; appliedBy?: Maybe; confidence: Scalars['Float']['output']; currentBudget: Scalars['Float']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; rationale: Scalars['String']['output']; recommendedBudget: Scalars['Float']['output']; source: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAdBudgetRecommendationList = { __typename?: 'HeadshotmarketingAdBudgetRecommendationList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** * A paid advertising campaign on an external ad platform with budget, * targeting, scheduling, and performance tracking. */ export type HeadshotmarketingAdCampaign = { __typename?: 'HeadshotmarketingAdCampaign'; /** Target audience ID */ audienceId?: Maybe; /** Bid strategy (CPC, CPM, CPA, etc.) */ bidStrategy?: Maybe; /** Associated marketing campaign ID (optional) */ campaignId?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this ad campaign */ createdBy: Scalars['ID']['output']; /** Daily budget in cents */ dailyBudget?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Ad campaign description */ description?: Maybe; /** Campaign end date */ endDate?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** When status and spend/performance were last read back from the platform. */ lastMetricsSyncedAt?: Maybe; /** * Non-secret error message from the latest failed sync attempt; null after a * successful sync. */ lastSyncError?: Maybe; /** When the latest push or pull to/from the ad platform succeeded. */ lastSyncedAt?: Maybe; /** Flexible key-value metadata */ metadata?: Maybe; /** Performance metrics (impressions, clicks, conversions, CTR, CPC) */ metrics?: Maybe; /** Ad campaign name */ name: Scalars['String']['output']; /** * When the next automatic retry of a transient sync failure is scheduled; * null when no retry is queued. */ nextSyncRetryAt?: Maybe; /** Ad platform */ platform: HeadshotmarketingAdPlatform; /** * Platform-native campaign id (Meta / Google Ads / LinkedIn) this campaign is * linked to for external ad-network sync. Null until linked. */ platformCampaignId?: Maybe; /** * Raw delivery status reported by the ad platform on the latest pull (e.g. * Meta effective_status, Google Ads ENABLED). */ platformStatus?: Maybe; /** Amount spent so far in cents */ spent?: Maybe; /** Campaign start date */ startDate?: Maybe; /** Campaign status */ status: HeadshotmarketingAdCampaignStatus; /** Consecutive failed sync attempts (0 after a success). */ syncAttemptCount: Scalars['Int']['output']; /** External ad-network sync state of the latest push or pull. */ syncStatus: HeadshotmarketingAdSyncStatus; /** Total budget in cents */ totalBudget?: Maybe; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated this ad campaign */ updatedBy?: Maybe; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAdCampaignFilterInput = { campaignId?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; platform?: InputMaybe; search?: InputMaybe; status?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingAdCampaignList = { __typename?: 'HeadshotmarketingAdCampaignList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingAdCampaignStatus { Active = "ACTIVE", Completed = "COMPLETED", Draft = "DRAFT", Paused = "PAUSED", PendingReview = "PENDING_REVIEW", Rejected = "REJECTED" } /** * Click identifiers an ad network appended to the landing page URL. Pass the * values you have; `landingPageUrl` is read for any that are not passed. */ export type HeadshotmarketingAdClickIdsInput = { /** When the ad was clicked, if known. Defaults to the lead's creation time. */ clickedAt?: InputMaybe; /** The Meta pixel's _fbc cookie value; supplies fbclid and the click time. */ fbc?: InputMaybe; /** Meta (Facebook / Instagram) click id. */ fbclid?: InputMaybe; /** Google Ads app-to-web click id (iOS). */ gbraid?: InputMaybe; /** Google Ads click id. */ gclid?: InputMaybe; /** * Full landing page URL. Click ids and a platform campaign id (campaignid, * campaign_id or utm_id) are read from its query string. */ landingPageUrl?: InputMaybe; /** LinkedIn first-party ad tracking id. */ liFatId?: InputMaybe; /** * Platform-native campaign id when the ad URL carries it (Google ValueTrack * {campaignid}, Meta {{campaign.id}}, LinkedIn {{CAMPAIGN_ID}}). Credits the * click to the ad campaign linked to that platform campaign. */ platformCampaignId?: InputMaybe; /** Google Ads web-to-app click id (iOS). */ wbraid?: InputMaybe; }; export declare enum HeadshotmarketingAdConnectionMode { Api = "API", Webhook = "WEBHOOK" } export declare enum HeadshotmarketingAdConnectionStatus { Connected = "CONNECTED", Disconnected = "DISCONNECTED", Error = "ERROR" } /** An ad creative asset (image, video, text) used in ad campaigns. */ export type HeadshotmarketingAdCreative = { __typename?: 'HeadshotmarketingAdCreative'; /** Associated ad campaign ID */ adCampaignId?: Maybe; /** Body/description text */ body?: Maybe; /** Call to action text */ callToAction?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this creative */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Destination URL */ destinationUrl?: Maybe; /** Headline text */ headline?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Media asset URLs */ mediaUrls: Array; /** Flexible key-value metadata */ metadata?: Maybe; /** Performance metrics (impressions, clicks, conversions) */ metrics?: Maybe; /** Creative name */ name: Scalars['String']['output']; /** Creative status */ status: HeadshotmarketingAdCreativeStatus; /** Creative type */ type: HeadshotmarketingAdCreativeType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAdCreativeFilterInput = { adCampaignId?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; status?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingAdCreativeList = { __typename?: 'HeadshotmarketingAdCreativeList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingAdCreativeStatus { Active = "ACTIVE", Approved = "APPROVED", Draft = "DRAFT", Paused = "PAUSED", PendingReview = "PENDING_REVIEW", Rejected = "REJECTED" } /** An A/B test across creatives of one ad campaign. */ export type HeadshotmarketingAdCreativeTest = { __typename?: 'HeadshotmarketingAdCreativeTest'; adCampaignId: Scalars['ID']['output']; comparison: HeadshotmarketingAdCreativeTestComparison; concludedAt?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; hypothesis?: Maybe; id: Scalars['ID']['output']; metric: HeadshotmarketingAdCreativeTestMetric; name: Scalars['String']['output']; startedAt?: Maybe; status: HeadshotmarketingAdCreativeTestStatus; updatedAt: Scalars['DateTime']['output']; variants: Array; /** Winner frozen on conclusion (null while open, or when inconclusive) */ winnerCreativeId?: Maybe; workspaceId: Scalars['ID']['output']; }; /** Comparison of an A/B creative test's variants on its metric. */ export type HeadshotmarketingAdCreativeTestComparison = { __typename?: 'HeadshotmarketingAdCreativeTestComparison'; /** Two-sided two-proportion z-test confidence (0..1); null for CPC */ confidence?: Maybe; /** When the comparison was computed (frozen for concluded tests) */ evaluatedAt: Scalars['DateTime']['output']; leaderCreativeId?: Maybe; /** Relative improvement of the leader over the runner-up, in percent */ liftPercent?: Maybe; outcome: HeadshotmarketingAdCreativeTestOutcome; runnerUpCreativeId?: Maybe; /** True when confidence is at least 0.95 */ significant: Scalars['Boolean']['output']; }; export type HeadshotmarketingAdCreativeTestFilterInput = { adCampaignId?: InputMaybe; status?: InputMaybe; }; export type HeadshotmarketingAdCreativeTestList = { __typename?: 'HeadshotmarketingAdCreativeTestList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** * The metric an A/B creative test is judged on. CPC is lower-is-better; the * others are higher-is-better. */ export declare enum HeadshotmarketingAdCreativeTestMetric { Conversions = "CONVERSIONS", ConversionRate = "CONVERSION_RATE", Cpc = "CPC", Ctr = "CTR" } export declare enum HeadshotmarketingAdCreativeTestOutcome { /** Fewer than two variants have data on the test metric yet */ InsufficientData = "INSUFFICIENT_DATA", /** One variant is strictly ahead of every other variant */ Leader = "LEADER", /** The best variants have exactly the same value */ Tie = "TIE" } export declare enum HeadshotmarketingAdCreativeTestStatus { Concluded = "CONCLUDED", Draft = "DRAFT", Running = "RUNNING" } /** One creative taking part in an A/B creative test, with its real metrics. */ export type HeadshotmarketingAdCreativeTestVariant = { __typename?: 'HeadshotmarketingAdCreativeTestVariant'; clicks: Scalars['Int']['output']; /** Conversions per click in percent (null without clicks) */ conversionRate?: Maybe; conversions: Scalars['Int']['output']; /** Cost per click (null without clicks) */ cpc?: Maybe; /** The creative, or null when it has since been deleted */ creative?: Maybe; creativeId: Scalars['ID']['output']; /** Click-through rate in percent (null without impressions) */ ctr?: Maybe; impressions: Scalars['Int']['output']; /** True for the variant currently ahead on the test metric */ isLeader: Scalars['Boolean']['output']; /** True for the winner of a concluded test */ isWinner: Scalars['Boolean']['output']; /** Variant label (A, B, C, ...) */ label: Scalars['String']['output']; /** The variant's value on the test metric (null when it has no data) */ metricValue?: Maybe; /** Zero-based position of the variant in the test */ position: Scalars['Int']['output']; spend: Scalars['Float']['output']; }; export declare enum HeadshotmarketingAdCreativeType { Carousel = "CAROUSEL", Image = "IMAGE", Responsive = "RESPONSIVE", Text = "TEXT", Video = "VIDEO" } export type HeadshotmarketingAdLeadFormSyncResult = { __typename?: 'HeadshotmarketingAdLeadFormSyncResult'; /** New leads created from form submissions. */ imported: Scalars['Int']['output']; /** Submissions attached to an existing lead with the same email. */ matchedExisting: Scalars['Int']['output']; message: Scalars['String']['output']; ok: Scalars['Boolean']['output']; retryable: Scalars['Boolean']['output']; /** Submissions already imported, or test submissions. */ skipped: Scalars['Int']['output']; }; /** Aggregated ad performance metrics for a workspace. */ export type HeadshotmarketingAdMetrics = { __typename?: 'HeadshotmarketingAdMetrics'; activeAdCampaigns: Scalars['Int']['output']; totalAdCampaigns: Scalars['Int']['output']; totalClicks: Scalars['Int']['output']; totalCreatives: Scalars['Int']['output']; totalImpressions: Scalars['Int']['output']; totalSpent: Scalars['Float']['output']; }; /** * An ad-network click id stored on a lead: a landing-page click id (gclid, * gbraid, wbraid, fbclid, li_fat_id) or the native lead id of a Meta Lead Ads / * LinkedIn Lead Gen form submission. */ export type HeadshotmarketingAdNetworkClick = { __typename?: 'HeadshotmarketingAdNetworkClick'; /** The ad campaign the click is credited to, once matched. */ adCampaignId?: Maybe; clickId: Scalars['String']['output']; contactId?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** GCLID, GBRAID, WBRAID, FBCLID, LI_FAT_ID, META_LEAD_ID or LINKEDIN_LEAD_ID. */ idType: Scalars['String']['output']; lastMatchError?: Maybe; leadId?: Maybe; matchAttempts: Scalars['Int']['output']; /** * PENDING (waiting for the network to name the campaign), MATCHED, UNMATCHED, * UNMATCHABLE (the network has no click-level lookup for this id type) or * TRACKED_LINK (a HeadshotMarketing tracked link already attributed the visit). */ matchStatus: Scalars['String']['output']; matchedAt?: Maybe; /** GOOGLE_ADS, META or LINKEDIN. */ network: Scalars['String']['output']; occurredAt: Scalars['DateTime']['output']; platformAdId?: Maybe; platformCampaignId?: Maybe; /** LANDING_PAGE or LEAD_FORM. */ source: Scalars['String']['output']; /** The AD_CLICK touchpoint this click wrote. */ touchpointId?: Maybe; }; export declare enum HeadshotmarketingAdPlatform { FacebookAds = "FACEBOOK_ADS", GoogleAds = "GOOGLE_ADS", InstagramAds = "INSTAGRAM_ADS", LinkedinAds = "LINKEDIN_ADS", TiktokAds = "TIKTOK_ADS", TwitterAds = "TWITTER_ADS" } export type HeadshotmarketingAdPlatformConnection = { __typename?: 'HeadshotmarketingAdPlatformConnection'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** * Opaque reference to the credential-owning OAuth connection in * wspace-integrations-svc (API mode only). Non-null when this connection is * bound to an ad-platform integration. The access/refresh tokens live in the * integrations owner and are NEVER exposed through GraphQL; this only lets the * frontend read binding status. */ integrationConnectionId?: Maybe; metadata?: Maybe; mode: HeadshotmarketingAdConnectionMode; platform: HeadshotmarketingAdPlatform; status: HeadshotmarketingAdConnectionStatus; updatedAt: Scalars['DateTime']['output']; webhookUrl?: Maybe; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAdPlatformConnectionList = { __typename?: 'HeadshotmarketingAdPlatformConnectionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** Estimated daily reach for an ad set (deterministic model from audience + budget). */ export type HeadshotmarketingAdReachEstimate = { __typename?: 'HeadshotmarketingAdReachEstimate'; /** Size of the targeted audience pool */ audienceSize: Scalars['Int']['output']; /** Estimated daily impressions at the given budget */ estimatedDailyImpressions: Scalars['Int']['output']; /** Upper bound of the estimated unique daily reach */ estimatedDailyReachMax: Scalars['Int']['output']; /** Lower bound of the estimated unique daily reach */ estimatedDailyReachMin: Scalars['Int']['output']; }; /** * One logged external ad-network sync attempt. Error text never contains * credentials. */ export type HeadshotmarketingAdSyncAttempt = { __typename?: 'HeadshotmarketingAdSyncAttempt'; adCampaignId: Scalars['ID']['output']; attempt: Scalars['Int']['output']; connectionId?: Maybe; createdAt: Scalars['DateTime']['output']; direction: HeadshotmarketingAdSyncDirection; durationMs?: Maybe; error?: Maybe; httpStatus?: Maybe; id: Scalars['ID']['output']; nextRetryAt?: Maybe; platform: HeadshotmarketingAdPlatform; retryable: Scalars['Boolean']['output']; status: HeadshotmarketingAdSyncAttemptStatus; trigger: HeadshotmarketingAdSyncTrigger; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAdSyncAttemptList = { __typename?: 'HeadshotmarketingAdSyncAttemptList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingAdSyncAttemptStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum HeadshotmarketingAdSyncDirection { /** Status and metrics read back from the platform. */ Pull = "PULL", /** Budget pushed to the platform. */ Push = "PUSH" } /** * Outcome of reading a campaign's status and spend/performance back from its * ad platform (BOFF-3463). */ export type HeadshotmarketingAdSyncResult = { __typename?: 'HeadshotmarketingAdSyncResult'; attempt: Scalars['Int']['output']; message: Scalars['String']['output']; nextRetryAt?: Maybe; retryable: Scalars['Boolean']['output']; syncStatus: HeadshotmarketingAdSyncStatus; }; export declare enum HeadshotmarketingAdSyncStatus { Failed = "FAILED", NotSynced = "NOT_SYNCED", Synced = "SYNCED", Syncing = "SYNCING" } export declare enum HeadshotmarketingAdSyncTrigger { Manual = "MANUAL", ScheduledPull = "SCHEDULED_PULL", ScheduledRetry = "SCHEDULED_RETRY" } export type HeadshotmarketingAddLandingPageSectionInput = { backgroundColor?: InputMaybe; backgroundImageUrl?: InputMaybe; content?: InputMaybe; isVisible?: InputMaybe; landingPageId: Scalars['ID']['input']; metadata?: InputMaybe; settings?: InputMaybe; sortOrder?: InputMaybe; subtitle?: InputMaybe; title?: InputMaybe; type: HeadshotmarketingLandingPageSectionType; }; /** * A single action the agent proposed in one assistant message. `actionType` is * a free-form String (not an enum) because it is partly LLM-controlled -- * only a fixed, code-reviewed executor registry (see the service) is ever * allowed to actually run when a human confirms, and confirming an * unrecognized type fails clearly (status FAILED) rather than silently * no-op'ing as success. */ export type HeadshotmarketingAgentAction = { __typename?: 'HeadshotmarketingAgentAction'; actionType: Scalars['String']['output']; confirmedAt?: Maybe; conversationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; executedAt?: Maybe; executionResult?: Maybe; id: Scalars['ID']['output']; messageId: Scalars['ID']['output']; payload: Scalars['JSON']['output']; status: HeadshotmarketingAgentActionStatus; }; export declare enum HeadshotmarketingAgentActionStatus { Confirmed = "CONFIRMED", Executed = "EXECUTED", Failed = "FAILED", Proposed = "PROPOSED", Rejected = "REJECTED" } export type HeadshotmarketingAgentConversation = { __typename?: 'HeadshotmarketingAgentConversation'; actions: Array; actorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; messages: Array; title?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAgentConversationList = { __typename?: 'HeadshotmarketingAgentConversationList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type HeadshotmarketingAgentMessage = { __typename?: 'HeadshotmarketingAgentMessage'; content: Scalars['String']['output']; conversationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; id: Scalars['ID']['output']; model?: Maybe; provider?: Maybe; role: HeadshotmarketingAgentMessageRole; }; export declare enum HeadshotmarketingAgentMessageRole { Assistant = "ASSISTANT", User = "USER" } export type HeadshotmarketingAgentRunConnection = { __typename?: 'HeadshotmarketingAgentRunConnection'; items: Array; pageInfo: HeadshotmarketingAgentRunPageInfo; totalCount: Scalars['Int']['output']; }; /** Filter for headshotmarketingAgentRuns. */ export type HeadshotmarketingAgentRunFilterInput = { correlationId?: InputMaybe; executedBy?: InputMaybe; /** Inclusive lower bound on createdAt. */ from?: InputMaybe; operationKey?: InputMaybe; provider?: InputMaybe; simulated?: InputMaybe; status?: InputMaybe; /** Exclusive upper bound on createdAt. */ to?: InputMaybe; /** manual | scheduled | event */ trigger?: InputMaybe; }; export type HeadshotmarketingAgentRunPageInfo = { __typename?: 'HeadshotmarketingAgentRunPageInfo'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']['output']; }; /** * Keyset page request for headshotmarketingAgentRuns. A product-owned input (not * the shared PaginationInput) so the composed gateway schema keeps the cursor. */ export type HeadshotmarketingAgentRunPageInput = { /** endCursor of the previous page. */ after?: InputMaybe; /** Page size, 1-100. Default 20. */ first?: InputMaybe; }; /** * One turn of the conversation: the persisted user message, the assistant's * reply, and any actions the assistant proposed in that reply (all still * PROPOSED -- nothing here has executed). */ export type HeadshotmarketingAgentTurn = { __typename?: 'HeadshotmarketingAgentTurn'; assistantMessage: HeadshotmarketingAgentMessage; conversation: HeadshotmarketingAgentConversation; proposedActions: Array; userMessage: HeadshotmarketingAgentMessage; }; /** How an AI decision was produced. */ export declare enum HeadshotmarketingAiDecisionSource { /** Produced by an AI model through the shared AI gateway */ Model = "MODEL", /** No model was reachable; transparent rule-based result */ RulesFallback = "RULES_FALLBACK" } /** One ranked reason behind an AI decision. */ export type HeadshotmarketingAiRationaleFactor = { __typename?: 'HeadshotmarketingAiRationaleFactor'; /** Human-readable explanation */ detail: Scalars['String']['output']; /** Signal name, e.g. recent_engagement */ factor: Scalars['String']['output']; /** Signed contribution in score points (positive raises the score) */ impact: Scalars['Float']['output']; }; /** Date-ranged analytics roll-up for the Analytics page and saved reports. */ export type HeadshotmarketingAnalyticsOverview = { __typename?: 'HeadshotmarketingAnalyticsOverview'; /** Daily campaign-analytics records inside the window. */ campaignRecordCount: Scalars['Int']['output']; /** Daily channel-performance records inside the window. */ channelRecordCount: Scalars['Int']['output']; /** Channels ordered by revenue, highest first. */ channels: Array; /** Per-channel daily series, ordered by date then channel. */ dailyByChannel: Array; endDate: Scalars['DateTime']['output']; startDate: Scalars['DateTime']['output']; /** Campaigns ordered by revenue, highest first. */ topCampaigns: Array; totals: HeadshotmarketingAnalyticsTotals; }; /** * Headline totals for a window. Sums come from the daily channel-performance * records; the ratios are derived from those sums and are 0 when their * denominator is 0. */ export type HeadshotmarketingAnalyticsTotals = { __typename?: 'HeadshotmarketingAnalyticsTotals'; clicks: Scalars['Float']['output']; /** Conversions as a percentage of clicks. */ conversionRate: Scalars['Float']['output']; conversions: Scalars['Float']['output']; cost: Scalars['Float']['output']; /** Cost per conversion. */ cpa: Scalars['Float']['output']; /** Clicks as a percentage of impressions. */ ctr: Scalars['Float']['output']; impressions: Scalars['Float']['output']; leads: Scalars['Float']['output']; revenue: Scalars['Float']['output']; /** Revenue divided by cost. */ roas: Scalars['Float']['output']; }; export declare enum HeadshotmarketingAnomalySeverity { Critical = "CRITICAL", Info = "INFO", Warning = "WARNING" } export type HeadshotmarketingApplyAudienceSuggestionInput = { /** Must be true: applying creates a real Audience */ confirm: Scalars['Boolean']['input']; /** Optional name override for the created Audience */ name?: InputMaybe; suggestionId: Scalars['ID']['input']; }; export declare enum HeadshotmarketingAssetType { Audio = "AUDIO", Document = "DOCUMENT", Font = "FONT", Icon = "ICON", Image = "IMAGE", Other = "OTHER", Template = "TEMPLATE", Video = "VIDEO" } export declare enum HeadshotmarketingAttributionConversionType { Deal = "DEAL", Lead = "LEAD" } /** One touchpoint's credit under a single attribution model. */ export type HeadshotmarketingAttributionCredit = { __typename?: 'HeadshotmarketingAttributionCredit'; /** Campaign the touchpoint was credited to, when it carries one. */ campaignId?: Maybe; channel: Scalars['String']['output']; /** Fraction of total conversion credit assigned to this touchpoint, 0..1. */ creditFraction: Scalars['Float']['output']; /** conversionValue * creditFraction, in the conversion's currency. */ creditValue: Scalars['Float']['output']; occurredAt: Scalars['DateTime']['output']; touchpointId: Scalars['ID']['output']; touchpointType: HeadshotmarketingTouchpointType; }; export declare enum HeadshotmarketingAttributionModel { /** * Learned per workspace from converting vs. non-converting journeys (Markov * removal effect). Summaries only; the per-conversion report keeps the five * rule-based models. */ DataDriven = "DATA_DRIVEN", FirstTouch = "FIRST_TOUCH", LastTouch = "LAST_TOUCH", Linear = "LINEAR", PositionBased = "POSITION_BASED", TimeDecay = "TIME_DECAY" } /** * A deterministic attribution report for one conversion event (a WON deal or a * CONVERTED lead), showing the same touchpoint history split under every * supported model side by side. */ export type HeadshotmarketingAttributionReport = { __typename?: 'HeadshotmarketingAttributionReport'; contactId?: Maybe; conversionId: Scalars['ID']['output']; conversionType: HeadshotmarketingAttributionConversionType; conversionValue: Scalars['Float']['output']; convertedAt: Scalars['DateTime']['output']; firstTouch: HeadshotmarketingAttributionSplit; /** 100% of the credit to the latest touchpoint before the conversion. */ lastTouch: HeadshotmarketingAttributionSplit; linear: HeadshotmarketingAttributionSplit; /** U-shaped split: 40% first touch, 40% last touch, 20% shared across the middle. */ positionBased: HeadshotmarketingAttributionSplit; /** Exponential recency-weighted split (weight = 0.5 ^ (daysBefore / halfLife)). */ timeDecay: HeadshotmarketingAttributionSplit; /** Half-life in days used to compute the time-decay split (default 7). */ timeDecayHalfLifeDays: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; }; /** * The full credit split for one attribution model across every touchpoint that * preceded the conversion. */ export type HeadshotmarketingAttributionSplit = { __typename?: 'HeadshotmarketingAttributionSplit'; credits: Array; model: HeadshotmarketingAttributionModel; }; /** * Workspace-wide attribution of every deal closed WON inside the window, rolled * up by channel and by campaign under one attribution model. */ export type HeadshotmarketingAttributionSummary = { __typename?: 'HeadshotmarketingAttributionSummary'; /** Closed-won deals that had at least one touchpoint before closing. */ attributedConversionCount: Scalars['Int']['output']; attributedRevenue: Scalars['Float']['output']; byCampaign: Array; byChannel: Array; /** Closed-won deals in the window. */ conversionCount: Scalars['Int']['output']; /** * Learned model details; set only when model is DATA_DRIVEN. When it reports * INSUFFICIENT_DATA, byChannel and byCampaign are empty. */ dataDriven?: Maybe; endDate: Scalars['DateTime']['output']; model: HeadshotmarketingAttributionModel; startDate: Scalars['DateTime']['output']; timeDecayHalfLifeDays: Scalars['Float']['output']; totalRevenue: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; /** * True when the window held more closed-won deals than one request * attributes (1000, most recent first); narrow the window to see the rest. */ truncated: Scalars['Boolean']['output']; /** Revenue from closed-won deals with no recorded touchpoints. */ unattributedRevenue: Scalars['Float']['output']; }; /** * A target audience definition for ad campaigns with demographic, * geographic, and interest-based targeting criteria. */ export type HeadshotmarketingAudience = { __typename?: 'HeadshotmarketingAudience'; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this audience */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Audience description */ description?: Maybe; /** Estimated audience size */ estimatedSize?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this audience is active */ isActive: Scalars['Boolean']['output']; /** Match rate (0-100) for uploaded/customer-list audiences */ matchRate?: Maybe; /** Flexible key-value metadata */ metadata?: Maybe; /** Audience name */ name: Scalars['String']['output']; /** Ad platforms this audience is available on */ platforms: Array; /** Build/refresh status (e.g. BUILDING, READY, REFRESHING) */ status: Scalars['String']['output']; /** Tags for categorization */ tags: Array; /** Targeting criteria (demographics, interests, behaviors, locations) */ targetingCriteria?: Maybe; /** Audience type (e.g. CUSTOM, LOOKALIKE, SAVED, RETARGETING) */ type: Scalars['String']['output']; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** * Number of live (non-deleted) ad campaigns in this workspace that target this * audience ("Used in N campaigns"). */ usedInCampaignCount: Scalars['Int']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAudienceFilterInput = { isActive?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingAudienceList = { __typename?: 'HeadshotmarketingAudienceList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** An AI-proposed audience segment. It never changes an Audience until applied. */ export type HeadshotmarketingAudienceSuggestion = { __typename?: 'HeadshotmarketingAudienceSuggestion'; appliedAt?: Maybe; appliedAudienceId?: Maybe; appliedBy?: Maybe; campaignId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; /** * Contact criteria (statuses, tagsAny, sourcesAny, minScore, maxScore, * activeWithinDays, engagedWithCampaign, jobTitleContainsAny) */ criteria: Scalars['JSON']['output']; description?: Maybe; expiresAt: Scalars['DateTime']['output']; goal: Scalars['String']['output']; id: Scalars['ID']['output']; maxSize?: Maybe; metadata?: Maybe; model?: Maybe; name: Scalars['String']['output']; /** Contacts the criteria select right now (capped at maxSize) */ previewCount: Scalars['Int']['output']; provider?: Maybe; rationale: Scalars['String']['output']; source: HeadshotmarketingAiDecisionSource; status: HeadshotmarketingAudienceSuggestionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAudienceSuggestionFilterInput = { campaignId?: InputMaybe; status?: InputMaybe; }; export type HeadshotmarketingAudienceSuggestionList = { __typename?: 'HeadshotmarketingAudienceSuggestionList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingAudienceSuggestionStatus { Applied = "APPLIED", Dismissed = "DISMISSED", Proposed = "PROPOSED" } export declare enum HeadshotmarketingAutomationRunStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING", Waiting = "WAITING" } export declare enum HeadshotmarketingAutomationStepLogStatus { Failed = "FAILED", Skipped = "SKIPPED", Success = "SUCCESS" } export declare enum HeadshotmarketingAutomationSubjectType { Contact = "CONTACT", Lead = "LEAD" } export declare enum HeadshotmarketingAutomationTriggerType { CampaignEvent = "CAMPAIGN_EVENT", ContactCreated = "CONTACT_CREATED", DateBased = "DATE_BASED", LeadCreated = "LEAD_CREATED", Manual = "MANUAL", ScoreThreshold = "SCORE_THRESHOLD" } /** * A visual/form-based marketing automation workflow: one trigger plus an * ordered list of steps (send email/notification, wait, condition/branch, * webhook, update-field, add-tag, goal). */ export type HeadshotmarketingAutomationWorkflow = { __typename?: 'HeadshotmarketingAutomationWorkflow'; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; status: HeadshotmarketingAutomationWorkflowStatus; /** Ordered array of step definitions — see engine/workflow-steps.ts. */ steps: Scalars['JSON']['output']; totalRuns: Scalars['Int']['output']; /** Trigger-specific config, e.g. {"scoreThreshold": 80}. */ triggerConfig?: Maybe; triggerType: HeadshotmarketingAutomationTriggerType; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAutomationWorkflowFilterInput = { status?: InputMaybe; triggerType?: InputMaybe; }; export type HeadshotmarketingAutomationWorkflowList = { __typename?: 'HeadshotmarketingAutomationWorkflowList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** One execution of a workflow against a single Lead/Contact subject. */ export type HeadshotmarketingAutomationWorkflowRun = { __typename?: 'HeadshotmarketingAutomationWorkflowRun'; completedAt?: Maybe; context?: Maybe; currentStepIndex: Scalars['Int']['output']; /** * Last error. While WAITING on an automatic retry this describes the failed * attempt and when the next one is due. */ errorMessage?: Maybe; id: Scalars['ID']['output']; lastRetriedAt?: Maybe; nextStepDueAt?: Maybe; /** Number of manual retries applied to this run. */ retryCount: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: HeadshotmarketingAutomationRunStatus; /** * Attempt number of the step at currentStepIndex (1 = first attempt). Grows * with automatic step retries (a step's retry policy) and manual retries. */ stepAttempt: Scalars['Int']['output']; subjectId: Scalars['ID']['output']; subjectType: HeadshotmarketingAutomationSubjectType; workflowId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingAutomationWorkflowRunFilterInput = { status?: InputMaybe; workflowId?: InputMaybe; }; export type HeadshotmarketingAutomationWorkflowRunList = { __typename?: 'HeadshotmarketingAutomationWorkflowRunList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** Immutable per-step execution log entry for a run. */ export type HeadshotmarketingAutomationWorkflowRunLog = { __typename?: 'HeadshotmarketingAutomationWorkflowRunLog'; /** Which attempt of this step the entry records (1 = first attempt). */ attempt: Scalars['Int']['output']; errorMessage?: Maybe; executedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; output?: Maybe; status: HeadshotmarketingAutomationStepLogStatus; stepIndex: Scalars['Int']['output']; stepType: Scalars['String']['output']; workflowRunId: Scalars['ID']['output']; }; export declare enum HeadshotmarketingAutomationWorkflowStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } export type HeadshotmarketingAutonomousLoopSchedule = { __typename?: 'HeadshotmarketingAutonomousLoopSchedule'; cadence: HeadshotmarketingOptimizationCadence; enabled: Scalars['Boolean']['output']; nextRun?: Maybe; schedule: Scalars['String']['output']; timezone: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** * Live state of the autonomous loop for one workspace: flag, opt-in, budget * usage. This is the observability surface for the daily decision budget. */ export type HeadshotmarketingAutonomousLoopStatus = { __typename?: 'HeadshotmarketingAutonomousLoopStatus'; configured: Scalars['Boolean']['output']; dailyBudget: Scalars['Int']['output']; decisionsUsedToday: Scalars['Int']['output']; enabled: Scalars['Boolean']['output']; enabledBy?: Maybe; flagEnabled: Scalars['Boolean']['output']; schedules: Array; workspaceId: Scalars['ID']['output']; }; /** * One per-AdCampaign budget proposal inside an optimization run. This is a * proposal only: AdCampaign budgets never change here. */ export type HeadshotmarketingBudgetDelta = { __typename?: 'HeadshotmarketingBudgetDelta'; adCampaignId: Scalars['ID']['output']; adCampaignName: Scalars['String']['output']; confidence: Scalars['Float']['output']; currentBudget: Scalars['Float']['output']; delta: Scalars['Float']['output']; deltaPct: Scalars['Float']['output']; platform: Scalars['String']['output']; proposedBudget: Scalars['Float']['output']; rationale: Scalars['String']['output']; }; /** * A marketing campaign that organizes and tracks marketing efforts * across channels with budgets, scheduling, and performance metrics. */ export type HeadshotmarketingCampaign = { __typename?: 'HeadshotmarketingCampaign'; /** Campaign budget in cents */ budget?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this campaign */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Campaign description */ description?: Maybe; /** Campaign end date */ endDate?: Maybe; /** Campaign goals and KPIs */ goals?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Campaign name */ name: Scalars['String']['output']; /** Amount spent so far in cents */ spent?: Maybe; /** Campaign start date */ startDate?: Maybe; /** Current campaign status */ status: HeadshotmarketingCampaignStatus; /** Campaign tags for categorization */ tags: Array; /** Campaign type/channel */ type: HeadshotmarketingCampaignType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated this campaign */ updatedBy?: Maybe; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** * Analytics data for a specific campaign over a date range. * Product-domain source data; also fed into wspace-analytics-svc's trackMetric * pipeline. */ export type HeadshotmarketingCampaignAnalytics = { __typename?: 'HeadshotmarketingCampaignAnalytics'; bounceRate?: Maybe; campaignId: Scalars['ID']['output']; clicks: Scalars['Int']['output']; conversions: Scalars['Int']['output']; cost: Scalars['Float']['output']; cpc?: Maybe; createdAt: Scalars['DateTime']['output']; ctr?: Maybe; date: Scalars['DateTime']['output']; engagementRate?: Maybe; id: Scalars['ID']['output']; impressions: Scalars['Int']['output']; leads: Scalars['Int']['output']; metadata?: Maybe; revenue: Scalars['Float']['output']; roas?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingCampaignAnalyticsList = { __typename?: 'HeadshotmarketingCampaignAnalyticsList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type HeadshotmarketingCampaignAnomaly = { __typename?: 'HeadshotmarketingCampaignAnomaly'; baselineValue: Scalars['Float']['output']; currentValue: Scalars['Float']['output']; deviationPct: Scalars['Float']['output']; message: Scalars['String']['output']; metric: Scalars['String']['output']; severity: HeadshotmarketingAnomalySeverity; subjectId: Scalars['ID']['output']; subjectName: Scalars['String']['output']; subjectType: Scalars['String']['output']; }; /** * Closed-won revenue credited to one campaign under the summary's model. * campaignId is null for touchpoints that carry no campaign. */ export type HeadshotmarketingCampaignAttribution = { __typename?: 'HeadshotmarketingCampaignAttribution'; attributedConversions: Scalars['Float']['output']; attributedRevenue: Scalars['Float']['output']; campaignId?: Maybe; campaignName?: Maybe; revenueShare: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; }; export type HeadshotmarketingCampaignFilterInput = { limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; status?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; /** * Lifetime value of the customers one campaign acquired. campaignId is null for * touchpoints that carry no campaign. */ export type HeadshotmarketingCampaignLifetimeValue = { __typename?: 'HeadshotmarketingCampaignLifetimeValue'; attributedCustomers: Scalars['Float']['output']; attributedLifetimeValue: Scalars['Float']['output']; averageLifetimeValue: Scalars['Float']['output']; campaignId?: Maybe; campaignName?: Maybe; lifetimeValueShare: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; }; export type HeadshotmarketingCampaignList = { __typename?: 'HeadshotmarketingCampaignList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingCampaignStatus { Active = "ACTIVE", Archived = "ARCHIVED", Completed = "COMPLETED", Draft = "DRAFT", Paused = "PAUSED", Scheduled = "SCHEDULED" } /** A reusable campaign template for quickly creating new campaigns. */ export type HeadshotmarketingCampaignTemplate = { __typename?: 'HeadshotmarketingCampaignTemplate'; /** Category grouping for the template gallery (e.g. Email, Social, Paid) */ category?: Maybe; /** Channels this template spans */ channels: Array; /** Template configuration and defaults */ configuration?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this template */ createdBy: Scalars['ID']['output']; /** Suggested default budget for campaigns created from this template */ defaultBudget?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Template description */ description?: Maybe; /** Human-readable estimated run duration (e.g. "4 weeks") */ estimatedDuration?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this template is active */ isActive: Scalars['Boolean']['output']; /** Whether the template is shared publicly across workspaces */ isPublic: Scalars['Boolean']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Template name */ name: Scalars['String']['output']; /** Tags for categorization */ tags: Array; /** Default campaign type */ type: HeadshotmarketingCampaignType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** How many times this template has been used to create a campaign */ usageCount: Scalars['Int']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingCampaignTemplateFilterInput = { isActive?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; type?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingCampaignTemplateList = { __typename?: 'HeadshotmarketingCampaignTemplateList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingCampaignType { Ad = "AD", Content = "CONTENT", Email = "EMAIL", Event = "EVENT", Influencer = "INFLUENCER", MultiChannel = "MULTI_CHANNEL", Social = "SOCIAL" } /** Closed-won revenue credited to one channel under the summary's model. */ export type HeadshotmarketingChannelAttribution = { __typename?: 'HeadshotmarketingChannelAttribution'; /** Sum of credit fractions -- the number of conversions this channel earned. */ attributedConversions: Scalars['Float']['output']; attributedRevenue: Scalars['Float']['output']; channel: Scalars['String']['output']; /** Share of all attributed revenue, 0..1. */ revenueShare: Scalars['Float']['output']; /** Touchpoints on this channel inside attributed journeys. */ touchpointCount: Scalars['Int']['output']; }; /** One channel's performance on one UTC day of the window. */ export type HeadshotmarketingChannelDailyPoint = { __typename?: 'HeadshotmarketingChannelDailyPoint'; channel: Scalars['String']['output']; conversions: Scalars['Float']['output']; cost: Scalars['Float']['output']; /** UTC calendar day, formatted YYYY-MM-DD. */ date: Scalars['String']['output']; revenue: Scalars['Float']['output']; }; /** * Lifetime value of the customers one channel acquired, under the summary's * model. */ export type HeadshotmarketingChannelLifetimeValue = { __typename?: 'HeadshotmarketingChannelLifetimeValue'; /** Sum of credit fractions -- the number of customers this channel acquired. */ attributedCustomers: Scalars['Float']['output']; attributedLifetimeValue: Scalars['Float']['output']; /** attributedLifetimeValue / attributedCustomers. */ averageLifetimeValue: Scalars['Float']['output']; channel: Scalars['String']['output']; /** Share of all attributed lifetime value, 0..1. */ lifetimeValueShare: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; }; /** * Performance metrics for a marketing channel over a specific period. * This is product-domain source data (raw marketing KPIs from ad/social * platforms); it is also fed into wspace-analytics-svc's trackMetric pipeline. */ export type HeadshotmarketingChannelPerformance = { __typename?: 'HeadshotmarketingChannelPerformance'; channel: Scalars['String']['output']; clicks: Scalars['Int']['output']; conversions: Scalars['Int']['output']; cost: Scalars['Float']['output']; cpc?: Maybe; cpm?: Maybe; createdAt: Scalars['DateTime']['output']; ctr?: Maybe; date: Scalars['DateTime']['output']; id: Scalars['ID']['output']; impressions: Scalars['Int']['output']; leads: Scalars['Int']['output']; metadata?: Maybe; revenue: Scalars['Float']['output']; roas?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingChannelPerformanceList = { __typename?: 'HeadshotmarketingChannelPerformanceList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** One channel's totals for the window. */ export type HeadshotmarketingChannelSummary = { __typename?: 'HeadshotmarketingChannelSummary'; channel: Scalars['String']['output']; clicks: Scalars['Float']['output']; conversionRate: Scalars['Float']['output']; conversions: Scalars['Float']['output']; cost: Scalars['Float']['output']; cpa: Scalars['Float']['output']; ctr: Scalars['Float']['output']; impressions: Scalars['Float']['output']; leads: Scalars['Float']['output']; revenue: Scalars['Float']['output']; roas: Scalars['Float']['output']; }; /** One channel's learned weight in the data-driven model. */ export type HeadshotmarketingChannelWeight = { __typename?: 'HeadshotmarketingChannelWeight'; channel: Scalars['String']['output']; /** * Share of the baseline conversion probability lost when the channel is * removed from the journey graph, 0..1. */ removalEffect: Scalars['Float']['output']; /** Normalised removal effect; weights across channels sum to 1. */ weight: Scalars['Float']['output']; }; export type HeadshotmarketingConfigureAutonomousLoopInput = { /** * Hard cap on AI decisions per UTC day for this workspace (1-500, * default 25). */ dailyBudget?: InputMaybe; /** * Opt this workspace in (or out) of the autonomous loop. Enabling provisions * the FluidGrids scheduled jobs; disabling pauses them. */ enabled: Scalars['Boolean']['input']; }; export type HeadshotmarketingConnectIntegrationInput = { config?: InputMaybe; integrationListingId: Scalars['ID']['input']; }; /** * A contact record representing a person or organization * in the marketing CRM system. */ export type HeadshotmarketingContact = { __typename?: 'HeadshotmarketingContact'; /** Contact address */ address?: Maybe; /** Contact avatar URL */ avatarUrl?: Maybe; /** Company/organization name */ company?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this contact */ createdBy: Scalars['ID']['output']; /** Custom fields */ customFields?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Contact email address */ email?: Maybe; /** Contact first name */ firstName: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Job title */ jobTitle?: Maybe; /** Contact last name */ lastName: Scalars['String']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Contact phone number */ phone?: Maybe; /** Lead score (0-100), derived from engagement and profile completeness */ score: Scalars['Int']['output']; /** Social media profiles */ socialProfiles?: Maybe; /** Acquisition source (e.g. website, ad_campaign, referral, event) */ source?: Maybe; /** Contact status */ status: HeadshotmarketingContactStatus; /** Tags for categorization */ tags: Array; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** A contact activity/interaction record. */ export type HeadshotmarketingContactActivity = { __typename?: 'HeadshotmarketingContactActivity'; contactId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; title: Scalars['String']['output']; type: Scalars['String']['output']; }; export type HeadshotmarketingContactActivityList = { __typename?: 'HeadshotmarketingContactActivityList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type HeadshotmarketingContactFilterInput = { company?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; workspaceId?: InputMaybe; }; export type HeadshotmarketingContactList = { __typename?: 'HeadshotmarketingContactList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingContactStatus { Active = "ACTIVE", Bounced = "BOUNCED", Inactive = "INACTIVE", Unsubscribed = "UNSUBSCRIBED" } /** * Provenance of AI-generated content. Recorded server-side from the AI tool * execution ledger or the marketing agent ledger, never from client metadata. */ export type HeadshotmarketingContentAiProvenance = { __typename?: 'HeadshotmarketingContentAIProvenance'; /** * IPTC Digital Source Type term: trainedAlgorithmicMedia, * compositeWithTrainedAlgorithmicMedia or algorithmicMedia. */ digitalSourceType: Scalars['String']['output']; /** Full IPTC Digital Source Type vocabulary URI for digitalSourceType. */ digitalSourceTypeUri: Scalars['String']['output']; /** Short human-readable disclosure label, e.g. AI-generated. */ disclosure: Scalars['String']['output']; /** When the content was generated. */ generatedAt: Scalars['DateTime']['output']; /** How the content was produced: llm or deterministic-fallback. */ generator: Scalars['String']['output']; /** True once a person edited the title, body or summary after generation. */ humanEdited: Scalars['Boolean']['output']; /** Last time a person edited the generated text. */ humanEditedAt?: Maybe; /** Model id used, when known. */ model?: Maybe; /** LLM provider that generated the content (e.g. gemini, openai, anthropic). */ provider?: Maybe; /** Product surface that generated it: ai-tool or marketing-agent. */ source: Scalars['String']['output']; /** AI tool execution id or marketing agent action id that produced it. */ sourceRef?: Maybe; }; /** A content item such as a blog post, social post, email copy, or ad creative. */ export type HeadshotmarketingContentItem = { __typename?: 'HeadshotmarketingContentItem'; /** * Machine-readable AI provenance (EU AI Act Article 50(2)). Null when the item * was not generated by an AI system. */ aiProvenance?: Maybe; authorId: Scalars['ID']['output']; body?: Maybe; campaignId?: Maybe; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; publishedAt?: Maybe; scheduledAt?: Maybe; slug?: Maybe; status: HeadshotmarketingContentItemStatus; summary?: Maybe; tags?: Maybe>; title: Scalars['String']['output']; type: HeadshotmarketingContentItemType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingContentItemFilterInput = { /** Only AI-generated (true) or only non-AI (false) items. */ aiGenerated?: InputMaybe; authorId?: InputMaybe; campaignId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; }; export type HeadshotmarketingContentItemList = { __typename?: 'HeadshotmarketingContentItemList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingContentItemStatus { Approved = "APPROVED", Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED" } export declare enum HeadshotmarketingContentItemType { AdCopy = "AD_COPY", BlogPost = "BLOG_POST", CaseStudy = "CASE_STUDY", Email = "EMAIL", Infographic = "INFOGRAPHIC", LandingPage = "LANDING_PAGE", Other = "OTHER", SocialPost = "SOCIAL_POST", VideoScript = "VIDEO_SCRIPT", Whitepaper = "WHITEPAPER" } /** Aggregated content performance metrics. */ export type HeadshotmarketingContentPerformance = { __typename?: 'HeadshotmarketingContentPerformance'; avgContentScore?: Maybe; draftItems: Scalars['Int']['output']; /** Content items awaiting review (status IN_REVIEW). */ inReviewItems: Scalars['Int']['output']; publishedItems: Scalars['Int']['output']; /** * Distinct tags used across the workspace's live content items, sorted * alphabetically (capped at 200). Drives the Content Library tag filter. */ tags: Array; topPerformingTypes: Array; totalAIExecutions: Scalars['Int']['output']; totalAssets: Scalars['Int']['output']; totalItems: Scalars['Int']['output']; }; export type HeadshotmarketingContentTypeCount = { __typename?: 'HeadshotmarketingContentTypeCount'; count: Scalars['Int']['output']; type: HeadshotmarketingContentItemType; }; export type HeadshotmarketingCreateAiToolInput = { category: HeadshotmarketingAiToolCategory; configuration?: InputMaybe; description?: InputMaybe; isEnabled?: InputMaybe; metadata?: InputMaybe; model?: InputMaybe; name: Scalars['String']['input']; provider: Scalars['String']['input']; }; export type HeadshotmarketingCreateAdPlatformConnectionInput = { /** * API mode only — raw OAuth tokens to register in the integrations owner. Used * only when no integrationConnectionId is supplied; tokens are handed to the * integrations owner and never persisted locally. */ accessToken?: InputMaybe; /** * API mode only — bind this connection to an already-created OAuth connection * in wspace-integrations-svc (the id the platform OAuth popup returns; tokens * live server-side, never here). When set, it is stored directly and the * register-from-tokens path is skipped. If raw tokens are also supplied, the * explicit connectionId wins. */ integrationConnectionId?: InputMaybe; metadata?: InputMaybe; mode?: InputMaybe; platform: HeadshotmarketingAdPlatform; refreshToken?: InputMaybe; tokenExpiresAt?: InputMaybe; webhookUrl?: InputMaybe; }; export type HeadshotmarketingCreateAutomationWorkflowInput = { description?: InputMaybe; name: Scalars['String']['input']; /** Ordered step list — validated server-side against the fixed step-type union. */ steps: Scalars['JSON']['input']; triggerConfig?: InputMaybe; triggerType: HeadshotmarketingAutomationTriggerType; }; export type HeadshotmarketingCreateContentItemInput = { /** * AI tool execution this content was generated by. The service derives the * item's AI provenance from that execution record. */ aiToolExecutionId?: InputMaybe; body?: InputMaybe; campaignId?: InputMaybe; metadata?: InputMaybe; scheduledAt?: InputMaybe; slug?: InputMaybe; summary?: InputMaybe; tags?: InputMaybe>; title: Scalars['String']['input']; type: HeadshotmarketingContentItemType; }; export type HeadshotmarketingCreateEventInput = { campaignId?: InputMaybe; coverImageUrl?: InputMaybe; description?: InputMaybe; endDate: Scalars['DateTime']['input']; location?: InputMaybe; maxAttendees?: InputMaybe; metadata?: InputMaybe; slug?: InputMaybe; startDate: Scalars['DateTime']['input']; tags?: InputMaybe>; timezone?: InputMaybe; title: Scalars['String']['input']; type: HeadshotmarketingEventType; virtualUrl?: InputMaybe; }; export type HeadshotmarketingCreateEventRegistrationInput = { attendeeCompany?: InputMaybe; attendeeEmail: Scalars['String']['input']; attendeeName: Scalars['String']['input']; attendeePhone?: InputMaybe; attendeeTitle?: InputMaybe; eventId: Scalars['ID']['input']; metadata?: InputMaybe; notes?: InputMaybe; }; export type HeadshotmarketingCreateEventSpeakerInput = { avatarUrl?: InputMaybe; bio?: InputMaybe; company?: InputMaybe; email?: InputMaybe; eventId: Scalars['ID']['input']; linkedinUrl?: InputMaybe; metadata?: InputMaybe; name: Scalars['String']['input']; sortOrder?: InputMaybe; title?: InputMaybe; topic?: InputMaybe; twitterUrl?: InputMaybe; }; export type HeadshotmarketingCreateLandingPageInput = { campaignId?: InputMaybe; customCss?: InputMaybe; customJs?: InputMaybe; description?: InputMaybe; faviconUrl?: InputMaybe; metadata?: InputMaybe; ogImageUrl?: InputMaybe; seoDescription?: InputMaybe; seoTitle?: InputMaybe; slug: Scalars['String']['input']; templateId?: InputMaybe; title: Scalars['String']['input']; }; export type HeadshotmarketingCreateSeoAuditInput = { metadata?: InputMaybe; url: Scalars['String']['input']; }; export type HeadshotmarketingCreateSeoKeywordInput = { cpc?: InputMaybe; difficulty?: InputMaybe; keyword: Scalars['String']['input']; metadata?: InputMaybe; searchVolume?: InputMaybe; tags?: InputMaybe>; url?: InputMaybe; }; export type HeadshotmarketingCreateSavedReportInput = { /** Required when dateRange is CUSTOM; ignored otherwise. */ customEndDate?: InputMaybe; /** Required when dateRange is CUSTOM; ignored otherwise. */ customStartDate?: InputMaybe; dateRange: HeadshotmarketingReportDateRange; /** At most 1000 characters. */ description?: InputMaybe; /** 1 to 120 characters. */ name: Scalars['String']['input']; /** At least one widget, in display order; duplicates are removed. */ widgets: Array; }; export type HeadshotmarketingCreateTrackedLinkInput = { destinationUrl: Scalars['String']['input']; sourceId: Scalars['ID']['input']; /** * SOCIAL_POST, AD_CAMPAIGN or AD_CREATIVE. AUTOMATION_EMAIL links are created * by the automation engine only. */ sourceType: HeadshotmarketingTrackedLinkSource; }; export declare enum HeadshotmarketingCulturalCategory { Calendar = "CALENDAR", Color = "COLOR", Gesture = "GESTURE", Holiday = "HOLIDAY", Imagery = "IMAGERY", Number = "NUMBER", Typography = "TYPOGRAPHY" } export type HeadshotmarketingCulturalConsideration = { __typename?: 'HeadshotmarketingCulturalConsideration'; category: HeadshotmarketingCulturalCategory; description: Scalars['String']['output']; id: Scalars['ID']['output']; recommendation: Scalars['String']['output']; regions: Array; title: Scalars['String']['output']; }; /** * A curated-checklist entry that matched a deterministic keyword scan of a * piece of copy for the given target regions. `matchedKeywords` is empty when * the considertion is relevant to the region but the copy scan found nothing * to flag -- it is surfaced anyway as an FYI checklist item, not an error. */ export type HeadshotmarketingCulturalFlag = { __typename?: 'HeadshotmarketingCulturalFlag'; consideration: HeadshotmarketingCulturalConsideration; matchedKeywords: Array; }; export declare enum HeadshotmarketingCulturalRegion { EastAsia = "EAST_ASIA", Europe = "EUROPE", Global = "GLOBAL", LatinAmerica = "LATIN_AMERICA", MiddleEast = "MIDDLE_EAST", NorthAfrica = "NORTH_AFRICA", NorthAmerica = "NORTH_AMERICA", Oceania = "OCEANIA", SoutheastAsia = "SOUTHEAST_ASIA", SouthAsia = "SOUTH_ASIA", SubSaharanAfrica = "SUB_SAHARAN_AFRICA" } /** * The data-driven model learned for a summary's window. When status is * INSUFFICIENT_DATA, channelWeights is empty and the summary's byChannel and * byCampaign lists are empty: no number is reported. */ export type HeadshotmarketingDataDrivenModel = { __typename?: 'HeadshotmarketingDataDrivenModel'; /** * Probability of a journey converting under the learned model; null when * there is not enough data. */ baselineConversionProbability?: Maybe; channelWeights: Array; /** Closed-won deals in the window with at least one touchpoint. */ convertingJourneys: Scalars['Int']['output']; minConvertingJourneys: Scalars['Int']['output']; minNonConvertingJourneys: Scalars['Int']['output']; /** * Contacts, leads or deals with touchpoints in the window and no WON deal by * the end of it. */ nonConvertingJourneys: Scalars['Int']['output']; status: HeadshotmarketingDataDrivenStatus; }; /** * Whether a workspace has enough journeys in the window to learn a data-driven * model. */ export declare enum HeadshotmarketingDataDrivenStatus { Available = "AVAILABLE", InsufficientData = "INSUFFICIENT_DATA" } export type HeadshotmarketingDateRangeInput = { end: Scalars['DateTime']['input']; start: Scalars['DateTime']['input']; }; /** A sales deal representing an opportunity in the pipeline. */ export type HeadshotmarketingDeal = { __typename?: 'HeadshotmarketingDeal'; /** Latest AI next-best-action recommendation (advisory; never applied automatically) */ aiNextAction?: Maybe; /** When the latest next-best-action recommendation was produced */ aiNextActionAt?: Maybe; /** Actual close date */ closedAt?: Maybe; /** Associated contact ID */ contactId?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this deal */ createdBy: Scalars['ID']['output']; /** Custom fields */ customFields?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Deal description */ description?: Maybe; /** Expected close date */ expectedCloseDate?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Associated lead ID (if converted from lead) */ leadId?: Maybe; /** Flexible key-value metadata */ metadata?: Maybe; /** User who owns/manages this deal */ ownerId?: Maybe; /** Associated pipeline ID */ pipelineId: Scalars['ID']['output']; /** Win probability percentage (0-100) */ probability?: Maybe; /** Current pipeline stage ID */ stageId: Scalars['ID']['output']; /** Deal status */ status: HeadshotmarketingDealStatus; /** Tags for categorization */ tags: Array; /** Deal title/name */ title: Scalars['String']['output']; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated this deal */ updatedBy?: Maybe; /** Deal value in cents */ value?: Maybe; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingDealFilterInput = { limit?: InputMaybe; offset?: InputMaybe; ownerId?: InputMaybe; pipelineId?: InputMaybe; search?: InputMaybe; stageId?: InputMaybe; status?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingDealList = { __typename?: 'HeadshotmarketingDealList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingDealStatus { Lost = "LOST", Open = "OPEN", Stale = "STALE", Won = "WON" } export type HeadshotmarketingDetectCampaignAnomalyInput = { workspaceId: Scalars['ID']['input']; }; export type HeadshotmarketingDetectCampaignAnomalyResult = { __typename?: 'HeadshotmarketingDetectCampaignAnomalyResult'; anomalies: Array; creditsCharged?: Maybe; detectedAt: Scalars['DateTime']['output']; model?: Maybe; provider?: Maybe; scannedAdCampaigns: Scalars['Int']['output']; scannedCampaigns: Scalars['Int']['output']; source: HeadshotmarketingOptimizerDecisionSource; workspaceId: Scalars['ID']['output']; }; /** A marketing event such as a webinar, conference, or workshop. */ export type HeadshotmarketingEvent = { __typename?: 'HeadshotmarketingEvent'; campaignId?: Maybe; coverImageUrl?: Maybe; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe; description?: Maybe; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; location?: Maybe; maxAttendees?: Maybe; metadata?: Maybe; registrationCount: Scalars['Int']['output']; registrations: Array; slug?: Maybe; speakers: Array; startDate: Scalars['DateTime']['output']; status: HeadshotmarketingEventStatus; tags?: Maybe>; timezone?: Maybe; title: Scalars['String']['output']; type: HeadshotmarketingEventType; updatedAt: Scalars['DateTime']['output']; virtualUrl?: Maybe; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingEventFilterInput = { campaignId?: InputMaybe; search?: InputMaybe; startDateFrom?: InputMaybe; startDateTo?: InputMaybe; status?: InputMaybe; tags?: InputMaybe>; type?: InputMaybe; }; export type HeadshotmarketingEventList = { __typename?: 'HeadshotmarketingEventList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** A registration record for an event attendee. */ export type HeadshotmarketingEventRegistration = { __typename?: 'HeadshotmarketingEventRegistration'; attendeeCompany?: Maybe; attendeeEmail: Scalars['String']['output']; attendeeName: Scalars['String']['output']; attendeePhone?: Maybe; attendeeTitle?: Maybe; cancelledAt?: Maybe; checkedInAt?: Maybe; createdAt: Scalars['DateTime']['output']; event?: Maybe; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe; notes?: Maybe; registeredBy: Scalars['ID']['output']; status: HeadshotmarketingEventRegistrationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingEventRegistrationFilterInput = { eventId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; export type HeadshotmarketingEventRegistrationList = { __typename?: 'HeadshotmarketingEventRegistrationList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingEventRegistrationStatus { Cancelled = "CANCELLED", CheckedIn = "CHECKED_IN", Confirmed = "CONFIRMED", NoShow = "NO_SHOW", Registered = "REGISTERED", Waitlisted = "WAITLISTED" } /** A speaker at a marketing event. */ export type HeadshotmarketingEventSpeaker = { __typename?: 'HeadshotmarketingEventSpeaker'; avatarUrl?: Maybe; bio?: Maybe; company?: Maybe; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe; email?: Maybe; event?: Maybe; eventId: Scalars['ID']['output']; id: Scalars['ID']['output']; linkedinUrl?: Maybe; metadata?: Maybe; name: Scalars['String']['output']; sortOrder: Scalars['Int']['output']; title?: Maybe; topic?: Maybe; twitterUrl?: Maybe; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingEventSpeakerFilterInput = { eventId?: InputMaybe; search?: InputMaybe; }; export type HeadshotmarketingEventSpeakerList = { __typename?: 'HeadshotmarketingEventSpeakerList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingEventStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT", InProgress = "IN_PROGRESS", Published = "PUBLISHED", RegistrationClosed = "REGISTRATION_CLOSED", RegistrationOpen = "REGISTRATION_OPEN" } export declare enum HeadshotmarketingEventType { Conference = "CONFERENCE", Meetup = "MEETUP", Networking = "NETWORKING", Other = "OTHER", ProductLaunch = "PRODUCT_LAUNCH", Tradeshow = "TRADESHOW", Webinar = "WEBINAR", Workshop = "WORKSHOP" } export type HeadshotmarketingExecuteAiToolInput = { input: Scalars['JSON']['input']; metadata?: InputMaybe; toolId: Scalars['ID']['input']; }; export declare enum HeadshotmarketingExportFormat { Csv = "CSV", Json = "JSON" } export type HeadshotmarketingExportJob = { __typename?: 'HeadshotmarketingExportJob'; createdAt: Scalars['DateTime']['output']; downloadUrl?: Maybe; entityTypes: Array; format: HeadshotmarketingExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * An influencer profile with social media presence, audience demographics, * and performance history. */ export type HeadshotmarketingInfluencer = { __typename?: 'HeadshotmarketingInfluencer'; /** Audience demographics data */ audienceDemographics?: Maybe; /** Avatar/profile image URL */ avatarUrl?: Maybe; /** Influencer bio */ bio?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who added this influencer */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Influencer email */ email?: Maybe; /** Average engagement rate */ engagementRate?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Location/region */ location?: Maybe; /** Flexible key-value metadata */ metadata?: Maybe; /** Influencer display name */ name: Scalars['String']['output']; /** Content categories/niches */ niches: Array; /** Influencer phone */ phone?: Maybe; /** Social media platforms and handles */ platforms?: Maybe; /** Tags for categorization */ tags: Array; /** Influencer tier based on follower count */ tier: HeadshotmarketingInfluencerTier; /** Total follower count across platforms */ totalFollowers?: Maybe; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** * An influencer-specific campaign with deliverables, compensation, * and performance tracking. */ export type HeadshotmarketingInfluencerCampaign = { __typename?: 'HeadshotmarketingInfluencerCampaign'; /** Associated marketing campaign ID (optional) */ campaignId?: Maybe; /** Compensation amount in cents */ compensation?: Maybe; /** Compensation type (flat_fee, per_post, commission, product) */ compensationType?: Maybe; /** Content submission deadline */ contentDeadline?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this campaign */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Campaign deliverables */ deliverables?: Maybe; /** Campaign description */ description?: Maybe; /** Campaign end date */ endDate?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Associated influencer ID */ influencerId: Scalars['ID']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Performance metrics */ metrics?: Maybe; /** Campaign name */ name: Scalars['String']['output']; /** Campaign start date */ startDate?: Maybe; /** Campaign status */ status: HeadshotmarketingInfluencerCampaignStatus; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated this campaign */ updatedBy?: Maybe; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingInfluencerCampaignFilterInput = { campaignId?: InputMaybe; influencerId?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; status?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingInfluencerCampaignList = { __typename?: 'HeadshotmarketingInfluencerCampaignList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingInfluencerCampaignStatus { Accepted = "ACCEPTED", Approved = "APPROVED", Cancelled = "CANCELLED", Completed = "COMPLETED", ContentSubmitted = "CONTENT_SUBMITTED", InProgress = "IN_PROGRESS", Negotiating = "NEGOTIATING", Proposed = "PROPOSED", Published = "PUBLISHED" } export type HeadshotmarketingInfluencerFilterInput = { limit?: InputMaybe; location?: InputMaybe; niches?: InputMaybe>; offset?: InputMaybe; search?: InputMaybe; tier?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingInfluencerList = { __typename?: 'HeadshotmarketingInfluencerList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** * A relationship record tracking the ongoing partnership between * the workspace and an influencer. */ export type HeadshotmarketingInfluencerRelationship = { __typename?: 'HeadshotmarketingInfluencerRelationship'; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this relationship record */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** First contact date */ firstContactDate?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Associated influencer ID */ influencerId: Scalars['ID']['output']; /** Last interaction date */ lastInteractionDate?: Maybe; /** Flexible key-value metadata */ metadata?: Maybe; /** Relationship notes */ notes?: Maybe; /** Relationship rating (1-5) */ rating?: Maybe; /** Relationship status */ status: HeadshotmarketingInfluencerRelationshipStatus; /** Tags for categorization */ tags: Array; /** Total campaigns together */ totalCampaigns?: Maybe; /** Total compensation paid in cents */ totalCompensation?: Maybe; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingInfluencerRelationshipFilterInput = { influencerId?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; status?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingInfluencerRelationshipList = { __typename?: 'HeadshotmarketingInfluencerRelationshipList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingInfluencerRelationshipStatus { Active = "ACTIVE", Ended = "ENDED", Negotiating = "NEGOTIATING", Outreach = "OUTREACH", Paused = "PAUSED", Prospect = "PROSPECT" } export declare enum HeadshotmarketingInfluencerTier { Celebrity = "CELEBRITY", Macro = "MACRO", Mega = "MEGA", Micro = "MICRO", Mid = "MID", Nano = "NANO" } export type HeadshotmarketingIngestSocialMentionInput = { authorHandle?: InputMaybe; authorName?: InputMaybe; content: Scalars['String']['input']; /** Platform-native id of the mention — used to de-duplicate re-delivery. */ externalId: Scalars['String']['input']; mentionType?: InputMaybe; metadata?: InputMaybe; platform: HeadshotmarketingSocialPlatform; socialAccountId?: InputMaybe; url?: InputMaybe; }; export declare enum HeadshotmarketingIntegrationCategory { Ads = "ADS", Analytics = "ANALYTICS", Automation = "AUTOMATION", Communication = "COMMUNICATION", Crm = "CRM", Ecommerce = "ECOMMERCE", Social = "SOCIAL" } export declare enum HeadshotmarketingIntegrationConnectionType { ApiKey = "API_KEY", Native = "NATIVE", Oauth = "OAUTH", Webhook = "WEBHOOK" } export type HeadshotmarketingIntegrationListing = { __typename?: 'HeadshotmarketingIntegrationListing'; category: HeadshotmarketingIntegrationCategory; connectionType: HeadshotmarketingIntegrationConnectionType; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; docsUrl?: Maybe; iconUrl?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; name: Scalars['String']['output']; slug: Scalars['String']['output']; status: HeadshotmarketingIntegrationListingStatus; updatedAt: Scalars['DateTime']['output']; }; export type HeadshotmarketingIntegrationListingFilterInput = { category?: InputMaybe; status?: InputMaybe; }; export type HeadshotmarketingIntegrationListingList = { __typename?: 'HeadshotmarketingIntegrationListingList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingIntegrationListingStatus { Available = "AVAILABLE", Roadmap = "ROADMAP" } /** A landing page built for marketing campaigns with composable sections. */ export type HeadshotmarketingLandingPage = { __typename?: 'HeadshotmarketingLandingPage'; campaignId?: Maybe; conversionCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; customCss?: Maybe; customJs?: Maybe; deletedAt?: Maybe; description?: Maybe; faviconUrl?: Maybe; id: Scalars['ID']['output']; metadata?: Maybe; ogImageUrl?: Maybe; publishedAt?: Maybe; publishedUrl?: Maybe; sections: Array; seoDescription?: Maybe; seoTitle?: Maybe; slug: Scalars['String']['output']; status: HeadshotmarketingLandingPageStatus; templateId?: Maybe; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; viewCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingLandingPageFilterInput = { campaignId?: InputMaybe; search?: InputMaybe; status?: InputMaybe; }; export type HeadshotmarketingLandingPageList = { __typename?: 'HeadshotmarketingLandingPageList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** A section within a landing page, with type-specific content configuration. */ export type HeadshotmarketingLandingPageSection = { __typename?: 'HeadshotmarketingLandingPageSection'; backgroundColor?: Maybe; backgroundImageUrl?: Maybe; content?: Maybe; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isVisible: Scalars['Boolean']['output']; landingPageId: Scalars['ID']['output']; metadata?: Maybe; settings?: Maybe; sortOrder: Scalars['Int']['output']; subtitle?: Maybe; title?: Maybe; type: HeadshotmarketingLandingPageSectionType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HeadshotmarketingLandingPageSectionType { Cta = "CTA", Custom = "CUSTOM", Faq = "FAQ", Features = "FEATURES", Footer = "FOOTER", Form = "FORM", Gallery = "GALLERY", Header = "HEADER", Hero = "HERO", Pricing = "PRICING", Stats = "STATS", Team = "TEAM", Testimonials = "TESTIMONIALS", Text = "TEXT", Video = "VIDEO" } export declare enum HeadshotmarketingLandingPageStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } /** A sales lead representing a potential customer or opportunity. */ export type HeadshotmarketingLead = { __typename?: 'HeadshotmarketingLead'; /** Latest AI decision-engine score (0-100). Advisory: never overwrites score. */ aiScore?: Maybe; /** Tier, ranked rationale factors and provenance of the latest AI score */ aiScoreRationale?: Maybe; /** When the lead was last scored by the AI decision engine */ aiScoredAt?: Maybe; /** Associated campaign ID */ campaignId?: Maybe; /** Associated contact ID */ contactId?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this lead */ createdBy: Scalars['ID']['output']; /** Custom fields */ customFields?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Lead description */ description?: Maybe; /** Estimated value in cents */ estimatedValue?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** User who owns/manages this lead */ ownerId?: Maybe; /** Lead score (0-100) */ score?: Maybe; /** Lead source */ source?: Maybe; /** Lead status */ status: HeadshotmarketingLeadStatus; /** Tags for categorization */ tags: Array; /** Lead title/name */ title: Scalars['String']['output']; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingLeadFilterInput = { limit?: InputMaybe; offset?: InputMaybe; ownerId?: InputMaybe; search?: InputMaybe; source?: InputMaybe; status?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingLeadList = { __typename?: 'HeadshotmarketingLeadList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; export type HeadshotmarketingLeadScoreBatchResult = { __typename?: 'HeadshotmarketingLeadScoreBatchResult'; errors: Array; failed: Scalars['Int']['output']; requested: Scalars['Int']['output']; results: Array; scored: Scalars['Int']['output']; }; export type HeadshotmarketingLeadScoreError = { __typename?: 'HeadshotmarketingLeadScoreError'; leadId: Scalars['ID']['output']; message: Scalars['String']['output']; }; export type HeadshotmarketingLeadScoreResult = { __typename?: 'HeadshotmarketingLeadScoreResult'; /** Transparent rule-based score the model started from */ baselineScore: Scalars['Int']['output']; creditsCharged?: Maybe; /** True when nothing was written to the lead */ dryRun: Scalars['Boolean']['output']; /** Rationale factors, most important first */ factors: Array; inputTokens?: Maybe; latencyMs?: Maybe; leadId: Scalars['ID']['output']; model?: Maybe; outputTokens?: Maybe; provider?: Maybe; /** Score 0-100 */ score: Scalars['Int']['output']; scoredAt: Scalars['DateTime']['output']; source: HeadshotmarketingAiDecisionSource; summary: Scalars['String']['output']; tier: HeadshotmarketingLeadScoreTier; }; export declare enum HeadshotmarketingLeadScoreTier { Cold = "COLD", Hot = "HOT", Warm = "WARM" } export declare enum HeadshotmarketingLeadSource { AdCampaign = "AD_CAMPAIGN", ColdOutreach = "COLD_OUTREACH", Email = "EMAIL", Event = "EVENT", Other = "OTHER", Referral = "REFERRAL", SocialMedia = "SOCIAL_MEDIA", Website = "WEBSITE" } export declare enum HeadshotmarketingLeadStatus { Contacted = "CONTACTED", Converted = "CONVERTED", Lost = "LOST", New = "NEW", Qualified = "QUALIFIED", Unqualified = "UNQUALIFIED" } /** The customer lifecycle funnel for a date window. */ export type HeadshotmarketingLifecycleFunnel = { __typename?: 'HeadshotmarketingLifecycleFunnel'; endDate: Scalars['DateTime']['output']; /** Customers as a percentage of visitors; null when there are no visitors. */ overallConversionRate?: Maybe; /** Stages in funnel order: VISITORS, LEADS, MQL, CUSTOMERS. */ stages: Array; startDate: Scalars['DateTime']['output']; }; /** One lifecycle funnel stage for the window. */ export type HeadshotmarketingLifecycleStage = { __typename?: 'HeadshotmarketingLifecycleStage'; /** * This stage's count as a percentage of the previous stage's count. Null for * the first stage and whenever the previous stage is 0. */ conversionRate?: Maybe; count: Scalars['Int']['output']; key: HeadshotmarketingLifecycleStageKey; }; /** A stage of the customer lifecycle funnel, in funnel order. */ export declare enum HeadshotmarketingLifecycleStageKey { Customers = "CUSTOMERS", Leads = "LEADS", Mql = "MQL", Visitors = "VISITORS" } /** * Customer-lifetime-value attribution. The cohort is every customer (a contact, * or a WON deal with no contact) whose first WON deal closed inside the window; * each customer's lifetime value is their total WON revenue to date, credited to * the touchpoints before that first close. */ export type HeadshotmarketingLifetimeValueAttribution = { __typename?: 'HeadshotmarketingLifetimeValueAttribution'; /** Customers with at least one touchpoint before their first WON deal. */ attributedCustomerCount: Scalars['Int']['output']; attributedLifetimeValue: Scalars['Float']['output']; /** totalLifetimeValue / customerCount. */ averageLifetimeValue: Scalars['Float']['output']; byCampaign: Array; byChannel: Array; customerCount: Scalars['Int']['output']; /** Learned model details; set only when model is DATA_DRIVEN. */ dataDriven?: Maybe; endDate: Scalars['DateTime']['output']; model: HeadshotmarketingAttributionModel; startDate: Scalars['DateTime']['output']; timeDecayHalfLifeDays: Scalars['Float']['output']; totalLifetimeValue: Scalars['Float']['output']; touchpointCount: Scalars['Int']['output']; /** * True when the window held more closed-won deals than one request reads * (1000, most recent first); narrow the window to see the rest. */ truncated: Scalars['Boolean']['output']; unattributedLifetimeValue: Scalars['Float']['output']; }; /** * A workspace's marketing targets for one calendar month. Every target is * optional. */ export type HeadshotmarketingMonthlyGoal = { __typename?: 'HeadshotmarketingMonthlyGoal'; createdAt: Scalars['DateTime']['output']; customersTarget?: Maybe; id: Scalars['ID']['output']; /** Calendar month, formatted YYYY-MM. */ month: Scalars['String']['output']; revenueTarget?: Maybe; /** Target ROI as a percentage: (revenue - cost) / cost x 100. */ roiTarget?: Maybe; /** Target unique tracked-link visitors. */ trafficTarget?: Maybe; updatedAt: Scalars['DateTime']['output']; }; /** * Progress of one goal metric. `actual` is always computed for the month, even * when no target is set. */ export type HeadshotmarketingMonthlyGoalMetric = { __typename?: 'HeadshotmarketingMonthlyGoalMetric'; actual: Scalars['Float']['output']; /** * actual / target x 100, rounded to two decimals. Null when no target is set * or the target is 0. */ progressPercent?: Maybe; target?: Maybe; }; /** * A month's goal (if one is set) with actuals for revenue, customers, ROI and * traffic. Revenue and ROI come from the month's daily channel-performance * records, customers from won deals and traffic from tracked-link visitors (the * same definitions as the lifecycle funnel). */ export type HeadshotmarketingMonthlyGoalProgress = { __typename?: 'HeadshotmarketingMonthlyGoalProgress'; customers: HeadshotmarketingMonthlyGoalMetric; /** The goal set for the month, or null when none is set. */ goal?: Maybe; /** Calendar month, formatted YYYY-MM. */ month: Scalars['String']['output']; revenue: HeadshotmarketingMonthlyGoalMetric; roi: HeadshotmarketingMonthlyGoalMetric; traffic: HeadshotmarketingMonthlyGoalMetric; }; export type HeadshotmarketingNextActionRecommendation = { __typename?: 'HeadshotmarketingNextActionRecommendation'; action: HeadshotmarketingNextActionType; /** 0-1 */ confidence: Scalars['Float']['output']; creditsCharged?: Maybe; dealId: Scalars['ID']['output']; factors: Array; inputTokens?: Maybe; latencyMs?: Maybe; model?: Maybe; outputTokens?: Maybe; provider?: Maybe; rationale: Scalars['String']['output']; recommendedAt: Scalars['DateTime']['output']; source: HeadshotmarketingAiDecisionSource; /** Set only for ADVANCE_STAGE: the deal's next pipeline stage */ targetStageId?: Maybe; }; export declare enum HeadshotmarketingNextActionType { AdvanceStage = "ADVANCE_STAGE", AssignContent = "ASSIGN_CONTENT", MarkCold = "MARK_COLD", ReEngage = "RE_ENGAGE" } /** * One scheduled cadence of the autonomous marketing loop. Each cadence is a * committed FluidGrids workflow definition plus a per-workspace scheduled job * created on opt-in. */ export declare enum HeadshotmarketingOptimizationCadence { DailyAnomalySweep = "DAILY_ANOMALY_SWEEP", DailyBudgetPacing = "DAILY_BUDGET_PACING", WeeklyCampaignReview = "WEEKLY_CAMPAIGN_REVIEW", WeeklyStaleDealSweep = "WEEKLY_STALE_DEAL_SWEEP" } export type HeadshotmarketingOptimizeCampaignBudgetInput = { campaignId: Scalars['ID']['input']; /** Compute and return deltas without persisting AdBudgetRecommendation rows */ dryRun?: InputMaybe; }; export type HeadshotmarketingOptimizeCampaignBudgetResult = { __typename?: 'HeadshotmarketingOptimizeCampaignBudgetResult'; campaignId: Scalars['ID']['output']; creditsCharged?: Maybe; deltas: Array; dryRun: Scalars['Boolean']['output']; inputTokens?: Maybe; latencyMs?: Maybe; model?: Maybe; outputTokens?: Maybe; provider?: Maybe; recommendedAt: Scalars['DateTime']['output']; source: HeadshotmarketingOptimizerDecisionSource; summary: Scalars['String']['output']; }; /** How an AI decision was produced. */ export declare enum HeadshotmarketingOptimizerDecisionSource { Model = "MODEL", RulesFallback = "RULES_FALLBACK" } /** A sales pipeline defining the stages a deal progresses through. */ export type HeadshotmarketingPipeline = { __typename?: 'HeadshotmarketingPipeline'; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this pipeline */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe; /** Pipeline description */ description?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this pipeline is active */ isActive: Scalars['Boolean']['output']; /** Whether this is the default pipeline */ isDefault: Scalars['Boolean']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Pipeline name */ name: Scalars['String']['output']; /** Pipeline stages */ stages: Array; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingPipelineFilterInput = { isActive?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; search?: InputMaybe; workspaceId?: InputMaybe; }; export type HeadshotmarketingPipelineList = { __typename?: 'HeadshotmarketingPipelineList'; hasMore: Scalars['Boolean']['output']; items: Array; total: Scalars['Int']['output']; }; /** Pipeline overview with deal counts and values per stage. */ export type HeadshotmarketingPipelineOverview = { __typename?: 'HeadshotmarketingPipelineOverview'; pipelineId: Scalars['ID']['output']; pipelineName: Scalars['String']['output']; stages: Array; totalDeals: Scalars['Int']['output']; totalValue: Scalars['Float']['output']; }; /** A stage within a sales pipeline. */ export type HeadshotmarketingPipelineStage = { __typename?: 'HeadshotmarketingPipelineStage'; /** Stage color for UI display */ color?: Maybe; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Default win probability for deals in this stage */ defaultProbability?: Maybe; /** Timestamp when deleted */ deletedAt?: Maybe; /** Stage description */ description?: Maybe; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this stage is active */ isActive: Scalars['Boolean']['output']; /** Flexible key-value metadata */ metadata?: Maybe; /** Stage name */ name: Scalars['String']['output']; /** Stage order/position in the pipeline */ order: Scalars['Int']['output']; /** Associated pipeline ID */ pipelineId: Scalars['ID']['output']; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; }; export type HeadshotmarketingPipelineStageOverview = { __typename?: 'HeadshotmarketingPipelineStageOverview'; dealCount: Scalars['Int']['output']; stageId: Scalars['ID']['output']; stageName: Scalars['String']['output']; totalValue: Scalars['Float']['output']; }; /** * A PUBLISHED landing page, exposed to the public unauthenticated renderer * served at `/lp/{slug}`. Carries ONLY the fields a public page needs to render * — it deliberately omits every workspace-internal field (workspaceId, * campaignId, createdBy, viewCount, conversionCount, metadata) so the public * endpoint cannot leak tenant data. */ export type HeadshotmarketingPublicLandingPage = { __typename?: 'HeadshotmarketingPublicLandingPage'; /** Author-provided custom CSS injected when rendering the page */ customCss?: Maybe; /** Author-provided custom JS injected when rendering the page */ customJs?: Maybe; /** Optional page description / meta description fallback */ description?: Maybe; /** Favicon URL */ faviconUrl?: Maybe; /** Open Graph image URL */ ogImageUrl?: Maybe; /** When the page was published */ publishedAt?: Maybe; /** Ordered, visible sections that make up the page body */ sections: Array; /** SEO meta description */ seoDescription?: Maybe; /** SEO override */ seoTitle?: Maybe<Scalars['String']['output']>; /** URL slug the page is published under */ slug: Scalars['String']['output']; /** Page title (used for the document/window title) */ title: Scalars['String']['output']; }; /** * A single visible section of a published landing page, for the public renderer. * Omits workspace-internal fields (workspaceId, landingPageId, metadata). */ export type HeadshotmarketingPublicLandingPageSection = { __typename?: 'HeadshotmarketingPublicLandingPageSection'; /** Background color */ backgroundColor?: Maybe<Scalars['String']['output']>; /** Background image URL */ backgroundImageUrl?: Maybe<Scalars['String']['output']>; /** Type-specific content configuration */ content?: Maybe<Scalars['JSON']['output']>; /** Unique identifier (stable key for the renderer) */ id: Scalars['ID']['output']; /** Presentation settings */ settings?: Maybe<Scalars['JSON']['output']>; /** Position of the section within the page (ascending) */ sortOrder: Scalars['Int']['output']; /** Section subtitle */ subtitle?: Maybe<Scalars['String']['output']>; /** Section title */ title?: Maybe<Scalars['String']['output']>; /** Section type (HERO, FEATURES, CTA, …) */ type: HeadshotmarketingLandingPageSectionType; }; export type HeadshotmarketingRecommendNextActionInput = { dealId: Scalars['ID']['input']; }; export type HeadshotmarketingRecommendSendTimeInput = { audienceId: Scalars['ID']['input']; campaignId: Scalars['ID']['input']; }; export type HeadshotmarketingRecordAdMetricsSnapshotInput = { adCampaignId: Scalars['ID']['input']; clicks?: InputMaybe<Scalars['Int']['input']>; conversions?: InputMaybe<Scalars['Int']['input']>; impressions?: InputMaybe<Scalars['Int']['input']>; spend?: InputMaybe<Scalars['Float']['input']>; }; export type HeadshotmarketingRecordCampaignAnalyticsInput = { bounceRate?: InputMaybe<Scalars['Float']['input']>; campaignId: Scalars['ID']['input']; clicks: Scalars['Int']['input']; conversions: Scalars['Int']['input']; cost: Scalars['Float']['input']; date: Scalars['DateTime']['input']; engagementRate?: InputMaybe<Scalars['Float']['input']>; impressions: Scalars['Int']['input']; leads?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; revenue: Scalars['Float']['input']; }; export type HeadshotmarketingRecordChannelPerformanceInput = { channel: Scalars['String']['input']; clicks: Scalars['Int']['input']; conversions: Scalars['Int']['input']; cost: Scalars['Float']['input']; date: Scalars['DateTime']['input']; impressions: Scalars['Int']['input']; leads?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; revenue: Scalars['Float']['input']; }; export type HeadshotmarketingRecordTouchpointInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; channel: Scalars['String']['input']; contactId?: InputMaybe<Scalars['ID']['input']>; dealId?: InputMaybe<Scalars['ID']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; occurredAt?: InputMaybe<Scalars['DateTime']['input']>; touchpointType: HeadshotmarketingTouchpointType; }; export type HeadshotmarketingRecordTouchpointsResult = { __typename?: 'HeadshotmarketingRecordTouchpointsResult'; recorded: Scalars['Int']['output']; }; export type HeadshotmarketingReorderSectionsInput = { landingPageId: Scalars['ID']['input']; /** Ordered list of section IDs in the desired order */ sectionIds: Array<Scalars['ID']['input']>; }; /** * The window a saved report covers. Relative ranges end on the day the report is * viewed; CUSTOM uses the report's customStartDate and customEndDate. */ export declare enum HeadshotmarketingReportDateRange { Custom = "CUSTOM", Last_7Days = "LAST_7_DAYS", Last_12Months = "LAST_12_MONTHS", Last_30Days = "LAST_30_DAYS", Last_90Days = "LAST_90_DAYS" } /** Outcome of one delivery attempt. */ export declare enum HeadshotmarketingReportDeliveryStatus { /** No recipient was sent the report. */ Failed = "FAILED", /** Some recipients were sent the report; others failed. */ Partial = "PARTIAL", /** The delivery is in progress. */ Running = "RUNNING", /** Every recipient was sent the report. */ Sent = "SENT", /** Nothing was sent because no recipient is still a workspace member with an email address. */ Skipped = "SKIPPED" } /** What started a delivery attempt. */ export declare enum HeadshotmarketingReportDeliveryTrigger { /** A workspace member chose Send now. */ Manual = "MANUAL", /** The schedule came due. */ Scheduled = "SCHEDULED" } /** How often a scheduled report is delivered. */ export declare enum HeadshotmarketingReportScheduleCadence { /** Once a month, on dayOfMonth. */ Monthly = "MONTHLY", /** Once a week, on dayOfWeek. */ Weekly = "WEEKLY" } /** A widget a saved report can show. */ export declare enum HeadshotmarketingReportWidget { /** First-touch against last-touch attributed revenue per channel. */ Attribution = "ATTRIBUTION", /** Revenue against cost per channel. */ ChannelComparison = "CHANNEL_COMPARISON", /** Per-channel totals table. */ ChannelTable = "CHANNEL_TABLE", /** Impressions to clicks to conversions. */ ConversionFunnel = "CONVERSION_FUNNEL", /** Headline totals: revenue, ROAS, CPA, conversion rate. */ KpiSummary = "KPI_SUMMARY", /** Daily revenue per channel as a multi-line chart. */ RevenueByChannel = "REVENUE_BY_CHANNEL", /** Return on ad spend per channel. */ RoasByChannel = "ROAS_BY_CHANNEL", /** Campaigns ranked by revenue. */ TopCampaigns = "TOP_CAMPAIGNS" } export type HeadshotmarketingResolveTrackedClickResult = { __typename?: 'HeadshotmarketingResolveTrackedClickResult'; occurredAt?: Maybe<Scalars['DateTime']['output']>; status: HeadshotmarketingTrackedClickResolution; touchpointType?: Maybe<HeadshotmarketingTouchpointType>; }; export type HeadshotmarketingRunScheduledOptimizationInput = { cadence: HeadshotmarketingOptimizationCadence; }; /** An SEO audit run against a page or the entire site, containing findings and scores. */ export type HeadshotmarketingSeoAudit = { __typename?: 'HeadshotmarketingSEOAudit'; accessibilityScore?: Maybe<Scalars['Float']['output']>; bestPracticesScore?: Maybe<Scalars['Float']['output']>; canonicalUrl?: Maybe<Scalars['String']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; criticalIssues: Scalars['Int']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; findings?: Maybe<Array<HeadshotmarketingSeoAuditFinding>>; id: Scalars['ID']['output']; metaDescription?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; overallScore?: Maybe<Scalars['Float']['output']>; pageTitle?: Maybe<Scalars['String']['output']>; /** Number of pages analysed (1 for a single-page audit, >1 for a crawl). */ pagesCrawled?: Maybe<Scalars['Int']['output']>; performanceScore?: Maybe<Scalars['Float']['output']>; runBy: Scalars['ID']['output']; seoScore?: Maybe<Scalars['Float']['output']>; status: HeadshotmarketingSeoAuditStatus; totalIssues: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; url: Scalars['String']['output']; warningIssues: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingSeoAuditFilterInput = { minScore?: InputMaybe<Scalars['Float']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingSeoAuditStatus>; url?: InputMaybe<Scalars['String']['input']>; }; /** A single finding from an SEO audit. */ export type HeadshotmarketingSeoAuditFinding = { __typename?: 'HeadshotmarketingSEOAuditFinding'; element?: Maybe<Scalars['String']['output']>; message: Scalars['String']['output']; recommendation?: Maybe<Scalars['String']['output']>; rule: Scalars['String']['output']; severity: HeadshotmarketingSeoAuditSeverity; }; export type HeadshotmarketingSeoAuditList = { __typename?: 'HeadshotmarketingSEOAuditList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSeoAudit>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingSeoAuditSeverity { Critical = "CRITICAL", Info = "INFO", Pass = "PASS", Warning = "WARNING" } export declare enum HeadshotmarketingSeoAuditStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING" } /** An SEO keyword being tracked for search engine ranking and performance. */ export type HeadshotmarketingSeoKeyword = { __typename?: 'HeadshotmarketingSEOKeyword'; bestRank?: Maybe<Scalars['Int']['output']>; cpc?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; currentRank?: Maybe<Scalars['Int']['output']>; /** Why the latest data lookup did not produce data, if it did not. */ dataError?: Maybe<Scalars['String']['output']>; dataFetchedAt?: Maybe<Scalars['DateTime']['output']>; /** Provider that supplied the metrics (for example dataforseo), or manual. */ dataSource?: Maybe<Scalars['String']['output']>; /** * Provenance of searchVolume / difficulty / cpc. When UNAVAILABLE or ERROR * those fields are null and must be shown as "no data", never as zero. */ dataStatus: HeadshotmarketingSeoKeywordDataStatus; deletedAt?: Maybe<Scalars['DateTime']['output']>; difficulty?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; keyword: Scalars['String']['output']; lastCheckedAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; previousRank?: Maybe<Scalars['Int']['output']>; /** Outcome of the latest rank check. */ rankStatus?: Maybe<HeadshotmarketingSeoRankCheckStatus>; searchVolume?: Maybe<Scalars['Int']['output']>; status: HeadshotmarketingSeoKeywordStatus; tags?: Maybe<Array<Scalars['String']['output']>>; updatedAt: Scalars['DateTime']['output']; url?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** Where a keyword's search volume, difficulty and CPC came from. */ export declare enum HeadshotmarketingSeoKeywordDataStatus { /** Fetched from the configured keyword data provider. */ Available = "AVAILABLE", /** The provider lookup failed. See dataError. */ Error = "ERROR", /** Entered by a user. */ Manual = "MANUAL", /** No provider data: none is configured, lookups are off, or the quota is used up. See dataError. */ Unavailable = "UNAVAILABLE" } export type HeadshotmarketingSeoKeywordFilterInput = { maxRank?: InputMaybe<Scalars['Int']['input']>; minRank?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingSeoKeywordStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type HeadshotmarketingSeoKeywordList = { __typename?: 'HeadshotmarketingSEOKeywordList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSeoKeyword>; total: Scalars['Int']['output']; }; /** One observed search position of a tracked keyword's site. */ export type HeadshotmarketingSeoKeywordRankCheck = { __typename?: 'HeadshotmarketingSEOKeywordRankCheck'; checkedAt: Scalars['DateTime']['output']; error?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; keywordId: Scalars['ID']['output']; /** 1-based organic position; null when the site was not found or the check failed. */ rank?: Maybe<Scalars['Int']['output']>; /** The page of the site that ranked. */ rankedUrl?: Maybe<Scalars['String']['output']>; /** Provider id (for example dataforseo) or manual. */ source: Scalars['String']['output']; status: HeadshotmarketingSeoRankCheckStatus; /** SCHEDULED or MANUAL. */ trigger: Scalars['String']['output']; }; export declare enum HeadshotmarketingSeoKeywordStatus { Archived = "ARCHIVED", Paused = "PAUSED", Tracking = "TRACKING" } /** Aggregated SEO overview metrics for the workspace. */ export type HeadshotmarketingSeoOverview = { __typename?: 'HeadshotmarketingSEOOverview'; avgPerformanceScore?: Maybe<Scalars['Float']['output']>; avgRank?: Maybe<Scalars['Float']['output']>; avgSEOScore?: Maybe<Scalars['Float']['output']>; keywordsDeclined: Scalars['Int']['output']; keywordsImproved: Scalars['Int']['output']; keywordsUnchanged: Scalars['Int']['output']; topKeywords: Array<HeadshotmarketingSeoKeyword>; totalAudits: Scalars['Int']['output']; totalKeywords: Scalars['Int']['output']; }; /** Whether keyword data and rank tracking can run for this workspace. */ export type HeadshotmarketingSeoProviderStatus = { __typename?: 'HeadshotmarketingSEOProviderStatus'; callsThisMonth: Scalars['Int']['output']; /** The headshotmarketing.seo.provider feature flag for this workspace. */ enabledForWorkspace: Scalars['Boolean']['output']; keywordDataAvailable: Scalars['Boolean']['output']; monthlyCallCap: Scalars['Int']['output']; /** Configured provider id, or null when none is configured. */ provider?: Maybe<Scalars['String']['output']>; /** How often tracked keywords with a site URL are rank-checked. */ rankCheckIntervalHours: Scalars['Int']['output']; rankTrackingAvailable: Scalars['Boolean']['output']; /** Why data is unavailable, when it is. */ unavailableReason?: Maybe<Scalars['String']['output']>; }; /** Outcome of one rank check. */ export declare enum HeadshotmarketingSeoRankCheckStatus { /** The provider lookup failed. */ Error = "ERROR", /** The site was found in the organic results; rank is its position. */ Found = "FOUND", /** The site was not in the searched organic results (rank is null). */ NotFound = "NOT_FOUND" } export type HeadshotmarketingSavedReport = { __typename?: 'HeadshotmarketingSavedReport'; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['String']['output']>; customEndDate?: Maybe<Scalars['DateTime']['output']>; customStartDate?: Maybe<Scalars['DateTime']['output']>; dateRange: HeadshotmarketingReportDateRange; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** The report's delivery schedule, or null when it is not scheduled. */ schedule?: Maybe<HeadshotmarketingSavedReportSchedule>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; /** Widgets in display order. */ widgets: Array<HeadshotmarketingReportWidget>; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingSavedReportDeliveryRun = { __typename?: 'HeadshotmarketingSavedReportDeliveryRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; deliveredCount: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; recipientCount: Scalars['Int']['output']; reportId: Scalars['ID']['output']; scheduleId?: Maybe<Scalars['ID']['output']>; /** The due time of a scheduled delivery; null for a manual send. */ scheduledFor?: Maybe<Scalars['DateTime']['output']>; startedAt: Scalars['DateTime']['output']; status: HeadshotmarketingReportDeliveryStatus; trigger: HeadshotmarketingReportDeliveryTrigger; /** End of the reporting window the delivery covered. */ windowEnd: Scalars['DateTime']['output']; /** Start of the reporting window the delivery covered. */ windowStart: Scalars['DateTime']['output']; }; export type HeadshotmarketingSavedReportDeliveryRunList = { __typename?: 'HeadshotmarketingSavedReportDeliveryRunList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSavedReportDeliveryRun>; total: Scalars['Int']['output']; }; export type HeadshotmarketingSavedReportList = { __typename?: 'HeadshotmarketingSavedReportList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSavedReport>; total: Scalars['Int']['output']; }; export type HeadshotmarketingSavedReportSchedule = { __typename?: 'HeadshotmarketingSavedReportSchedule'; cadence: HeadshotmarketingReportScheduleCadence; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['String']['output']>; /** 1 to 28. Set for MONTHLY schedules. */ dayOfMonth?: Maybe<Scalars['Int']['output']>; /** 0 = Sunday .. 6 = Saturday. Set for WEEKLY schedules. */ dayOfWeek?: Maybe<Scalars['Int']['output']>; /** False pauses deliveries without deleting the schedule. */ enabled: Scalars['Boolean']['output']; /** Local hour of delivery, 0 to 23, in timezone. */ hour: Scalars['Int']['output']; id: Scalars['ID']['output']; lastRunAt?: Maybe<Scalars['DateTime']['output']>; lastRunError?: Maybe<Scalars['String']['output']>; lastRunStatus?: Maybe<HeadshotmarketingReportDeliveryStatus>; /** When the next delivery is due (UTC); null while paused. */ nextRunAt?: Maybe<Scalars['DateTime']['output']>; /** Workspace member user ids that receive the report. */ recipientUserIds: Array<Scalars['ID']['output']>; reportId: Scalars['ID']['output']; /** IANA timezone name, e.g. Asia/Kolkata. */ timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; }; /** * Result of one scheduled cadence run. `skipped` is true when the run declined * to act (flag off, not opted in, daily budget exhausted, AI credits exhausted); * a skipped run is a clean no-op, never a workflow failure. */ export type HeadshotmarketingScheduledOptimizationRun = { __typename?: 'HeadshotmarketingScheduledOptimizationRun'; cadence: HeadshotmarketingOptimizationCadence; dailyBudget: Scalars['Int']['output']; decisionsMade: Scalars['Int']['output']; decisionsUsedToday: Scalars['Int']['output']; ranAt: Scalars['DateTime']['output']; skipReason?: Maybe<Scalars['String']['output']>; skipped: Scalars['Boolean']['output']; }; export type HeadshotmarketingScoreLeadInput = { /** Return the score without writing it to the lead */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; leadId: Scalars['ID']['input']; }; export type HeadshotmarketingScoreLeadsBatchInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** Leads to score in this batch (default 10, max 25) */ limit?: InputMaybe<Scalars['Int']['input']>; /** Only leads that have never been AI-scored */ onlyUnscored?: InputMaybe<Scalars['Boolean']['input']>; status?: InputMaybe<HeadshotmarketingLeadStatus>; }; export type HeadshotmarketingSendAgentMessageInput = { content: Scalars['String']['input']; /** Omit to start a new conversation. */ conversationId?: InputMaybe<Scalars['ID']['input']>; }; export type HeadshotmarketingSendTimeRecommendation = { __typename?: 'HeadshotmarketingSendTimeRecommendation'; audienceId: Scalars['ID']['output']; campaignId: Scalars['ID']['output']; creditsCharged?: Maybe<Scalars['Float']['output']>; engagementSampleSize: Scalars['Int']['output']; model?: Maybe<Scalars['String']['output']>; provider?: Maybe<Scalars['String']['output']>; rationale: Scalars['String']['output']; recommendedAt: Scalars['DateTime']['output']; recommendedDayOfWeek: Scalars['Int']['output']; recommendedHour: Scalars['Int']['output']; /** Next occurrence of the recommended slot, UTC. */ recommendedSendAt: Scalars['DateTime']['output']; source: HeadshotmarketingOptimizerDecisionSource; timezone: Scalars['String']['output']; topSlots: Array<HeadshotmarketingSendTimeSlot>; }; /** One hour-of-week engagement slot, ranked. */ export type HeadshotmarketingSendTimeSlot = { __typename?: 'HeadshotmarketingSendTimeSlot'; dayOfWeek: Scalars['Int']['output']; events: Scalars['Int']['output']; hour: Scalars['Int']['output']; score: Scalars['Float']['output']; }; /** * Input for attaching marketing-specific metadata to a canonical files-svc File. * The File itself (binary, name, mimeType, size, folder, tags) is owned by * wspace-files-svc; this only sets the thin marketing layer. */ export type HeadshotmarketingSetFileMarketingMetaInput = { altText?: InputMaybe<Scalars['String']['input']>; assetType?: InputMaybe<HeadshotmarketingAssetType>; /** Canonical files-svc File id to decorate. */ fileId: Scalars['ID']['input']; height?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; thumbnailUrl?: InputMaybe<Scalars['String']['input']>; width?: InputMaybe<Scalars['Int']['input']>; }; /** * Set (create or replace) a month's goal. Omitted or null targets are cleared; * at least one target is required. */ export type HeadshotmarketingSetMonthlyGoalInput = { /** Customer target, a whole number 0 or more. */ customersTarget?: InputMaybe<Scalars['Int']['input']>; /** Calendar month, formatted YYYY-MM. */ month: Scalars['String']['input']; /** Revenue target, 0 or more. */ revenueTarget?: InputMaybe<Scalars['Float']['input']>; /** ROI target percentage, between 0 and 100000. */ roiTarget?: InputMaybe<Scalars['Float']['input']>; /** Visitor target, a whole number 0 or more. */ trafficTarget?: InputMaybe<Scalars['Int']['input']>; }; export type HeadshotmarketingSetSavedReportScheduleInput = { cadence: HeadshotmarketingReportScheduleCadence; /** Required for MONTHLY: 1 to 28. */ dayOfMonth?: InputMaybe<Scalars['Int']['input']>; /** Required for WEEKLY: 0 = Sunday .. 6 = Saturday. */ dayOfWeek?: InputMaybe<Scalars['Int']['input']>; /** Defaults to true. */ enabled?: InputMaybe<Scalars['Boolean']['input']>; /** Local hour of delivery, 0 to 23. */ hour: Scalars['Int']['input']; /** 1 to 50 workspace member user ids; each must have an email address. */ recipientUserIds: Array<Scalars['ID']['input']>; /** IANA timezone name. */ timezone: Scalars['String']['input']; }; /** A connected social media account used for publishing posts and tracking engagement. */ export type HeadshotmarketingSocialAccount = { __typename?: 'HeadshotmarketingSocialAccount'; /** Account display name */ accountName: Scalars['String']['output']; /** Account avatar URL */ avatarUrl?: Maybe<Scalars['String']['output']>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who connected this account */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * How this account delivers publish actions. WEBHOOK genuinely POSTs to * webhookUrl on publish; INTERNAL is the local state machine. */ deliveryMode: HeadshotmarketingSocialAccountDeliveryMode; /** * Average engagement rate of this account's published posts that carry a * rate, rounded to two decimals. Null when the account has no such post. */ engagementRate?: Maybe<Scalars['Float']['output']>; /** Follower/subscriber count */ followerCount?: Maybe<Scalars['Int']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** * Opaque reference to the credential-owning OAuth connection in * wspace-integrations-svc. Non-null when this account is bound to a platform * connection (either minted from tokens, or produced by the platform OAuth * popup which returns only a connectionId). The access/refresh tokens live in * the integrations owner and are NEVER exposed through GraphQL; this field only * lets the frontend read connection/binding status. */ integrationConnectionId?: Maybe<Scalars['String']['output']>; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Social media platform */ platform: HeadshotmarketingSocialPlatform; /** Platform-specific account ID */ platformAccountId: Scalars['String']['output']; /** Number of non-deleted posts (any status) created for this account. */ postsCount: Scalars['Int']['output']; /** Account profile URL */ profileUrl?: Maybe<Scalars['String']['output']>; /** Connection status */ status: HeadshotmarketingSocialAccountStatus; /** * Token expiration timestamp. OAuth tokens are encrypted at rest and are never * exposed through GraphQL. */ tokenExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Outbound webhook URL used when deliveryMode is WEBHOOK. */ webhookUrl?: Maybe<Scalars['String']['output']>; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** * How a connected account delivers publish/schedule actions. * INTERNAL (BOFF-4218) is the local-state-machine default; WEBHOOK performs a * real outbound HTTP POST to `webhookUrl` on publish — a generic connector any * platform integration or Zapier/Make-style relay can sit behind; API * (BOFF-7858) dispatches to the platform's real native API (Facebook, * Instagram, X, LinkedIn) using an OAuth token owned by the integrations * service. API delivery is gated: an account with no active connection / token * fails with a clear "provider not configured" error rather than faking success. */ export declare enum HeadshotmarketingSocialAccountDeliveryMode { Api = "API", Internal = "INTERNAL", Webhook = "WEBHOOK" } export type HeadshotmarketingSocialAccountFilterInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; platform?: InputMaybe<HeadshotmarketingSocialPlatform>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingSocialAccountStatus>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type HeadshotmarketingSocialAccountList = { __typename?: 'HeadshotmarketingSocialAccountList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSocialAccount>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingSocialAccountStatus { Connected = "CONNECTED", Disconnected = "DISCONNECTED", Error = "ERROR", Expired = "EXPIRED" } /** * An inbound social mention/comment/DM captured for listening + community * management (BOFF-4218). Sentiment is scored deterministically on ingest * (bag-of-words lexicon — no external API dependency). */ export type HeadshotmarketingSocialMention = { __typename?: 'HeadshotmarketingSocialMention'; assignedTo?: Maybe<Scalars['ID']['output']>; authorHandle?: Maybe<Scalars['String']['output']>; authorName?: Maybe<Scalars['String']['output']>; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; externalId: Scalars['String']['output']; id: Scalars['ID']['output']; mentionType: HeadshotmarketingSocialMentionType; metadata?: Maybe<Scalars['JSON']['output']>; platform: HeadshotmarketingSocialPlatform; receivedAt: Scalars['DateTime']['output']; respondedAt?: Maybe<Scalars['DateTime']['output']>; sentiment: HeadshotmarketingSocialMentionSentiment; sentimentScore?: Maybe<Scalars['Float']['output']>; socialAccountId?: Maybe<Scalars['ID']['output']>; status: HeadshotmarketingSocialMentionStatus; updatedAt: Scalars['DateTime']['output']; url?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingSocialMentionFilterInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; platform?: InputMaybe<HeadshotmarketingSocialPlatform>; sentiment?: InputMaybe<HeadshotmarketingSocialMentionSentiment>; status?: InputMaybe<HeadshotmarketingSocialMentionStatus>; }; export type HeadshotmarketingSocialMentionList = { __typename?: 'HeadshotmarketingSocialMentionList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSocialMention>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingSocialMentionSentiment { Negative = "NEGATIVE", Neutral = "NEUTRAL", Positive = "POSITIVE", Unanalyzed = "UNANALYZED" } export declare enum HeadshotmarketingSocialMentionStatus { Ignored = "IGNORED", New = "NEW", Responded = "RESPONDED", Triaged = "TRIAGED" } export declare enum HeadshotmarketingSocialMentionType { Comment = "COMMENT", DirectMessage = "DIRECT_MESSAGE", Mention = "MENTION", Review = "REVIEW" } /** Aggregated social media metrics for a workspace. */ export type HeadshotmarketingSocialMetrics = { __typename?: 'HeadshotmarketingSocialMetrics'; publishedPosts: Scalars['Int']['output']; scheduledPosts: Scalars['Int']['output']; totalAccounts: Scalars['Int']['output']; totalEngagement: Scalars['Int']['output']; totalFollowers: Scalars['Int']['output']; totalPosts: Scalars['Int']['output']; }; export declare enum HeadshotmarketingSocialPlatform { Facebook = "FACEBOOK", Instagram = "INSTAGRAM", Linkedin = "LINKEDIN", Pinterest = "PINTEREST", Tiktok = "TIKTOK", Twitter = "TWITTER", Youtube = "YOUTUBE" } /** * A social media post that can be drafted, scheduled, and published * across one or more social accounts. */ export type HeadshotmarketingSocialPost = { __typename?: 'HeadshotmarketingSocialPost'; /** Associated campaign ID (optional) */ campaignId?: Maybe<Scalars['ID']['output']>; /** Post content/caption */ content: Scalars['String']['output']; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created this post */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Number of failed WEBHOOK / native API publish attempts made so far. */ deliveryAttempts: Scalars['Int']['output']; /** * Error message if publishing failed (WEBHOOK or native API delivery errors, * including scheduled publishes; null for successful or never-attempted posts). */ errorMessage?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Media attachment URLs */ mediaUrls: Array<Scalars['String']['output']>; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Engagement metrics (likes, shares, comments, impressions) */ metrics?: Maybe<Scalars['JSON']['output']>; /** * Platform-assigned post ID returned by a successful native API publish * (null for INTERNAL / WEBHOOK delivery or unpublished posts). */ platformPostId?: Maybe<Scalars['String']['output']>; /** * Public permalink of the post on the platform, derived from platformPostId * where the platform's id format allows it. */ postUrl?: Maybe<Scalars['String']['output']>; /** Actual publish time */ publishedAt?: Maybe<Scalars['DateTime']['output']>; /** Scheduled publish time */ scheduledAt?: Maybe<Scalars['DateTime']['output']>; /** Associated social account ID */ socialAccountId: Scalars['ID']['output']; /** Post status */ status: HeadshotmarketingSocialPostStatus; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated this post */ updatedBy?: Maybe<Scalars['ID']['output']>; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingSocialPostFilterInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; socialAccountId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HeadshotmarketingSocialPostStatus>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type HeadshotmarketingSocialPostList = { __typename?: 'HeadshotmarketingSocialPostList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingSocialPost>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingSocialPostStatus { Archived = "ARCHIVED", Draft = "DRAFT", Failed = "FAILED", Published = "PUBLISHED", Publishing = "PUBLISHING", Scheduled = "SCHEDULED" } export type HeadshotmarketingSuggestAudienceSegmentInput = { campaignId: Scalars['ID']['input']; /** Campaign goal in plain language (max 1000 characters) */ goal: Scalars['String']['input']; maxSize?: InputMaybe<Scalars['Int']['input']>; }; /** * A campaign ranked by revenue recorded in its daily campaign analytics for the * window. Soft-deleted campaigns are excluded. */ export type HeadshotmarketingTopCampaign = { __typename?: 'HeadshotmarketingTopCampaign'; campaignId: Scalars['ID']['output']; clicks: Scalars['Float']['output']; conversions: Scalars['Float']['output']; cost: Scalars['Float']['output']; name: Scalars['String']['output']; revenue: Scalars['Float']['output']; roas: Scalars['Float']['output']; }; export type HeadshotmarketingTouchpointEvent = { __typename?: 'HeadshotmarketingTouchpointEvent'; campaignId?: Maybe<Scalars['ID']['output']>; channel: Scalars['String']['output']; contactId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; dealId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; leadId?: Maybe<Scalars['ID']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; occurredAt: Scalars['DateTime']['output']; touchpointType: HeadshotmarketingTouchpointType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingTouchpointEventList = { __typename?: 'HeadshotmarketingTouchpointEventList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingTouchpointEvent>; total: Scalars['Int']['output']; }; export type HeadshotmarketingTouchpointFilterInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; contactId?: InputMaybe<Scalars['ID']['input']>; dealId?: InputMaybe<Scalars['ID']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum HeadshotmarketingTouchpointType { AdClick = "AD_CLICK", Click = "CLICK", EmailClick = "EMAIL_CLICK", EmailOpen = "EMAIL_OPEN", EventAttendance = "EVENT_ATTENDANCE", FormSubmit = "FORM_SUBMIT", Impression = "IMPRESSION", Other = "OTHER", Referral = "REFERRAL", SocialClick = "SOCIAL_CLICK", WebsiteVisit = "WEBSITE_VISIT" } export declare enum HeadshotmarketingTrackedClickResolution { /** The click was already attributed to a lead or contact. */ AlreadyResolved = "ALREADY_RESOLVED", /** The click is older than the 90-day resolution window. */ Expired = "EXPIRED", NotFound = "NOT_FOUND", /** The click was attributed and its touchpoint written. */ Resolved = "RESOLVED" } export type HeadshotmarketingTrackedLink = { __typename?: 'HeadshotmarketingTrackedLink'; campaignId?: Maybe<Scalars['ID']['output']>; channel: Scalars['String']['output']; /** Recorded (non-crawler) clicks, including repeats inside the dedupe window. */ clickCount: Scalars['Int']['output']; contactId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; destinationUrl?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: HeadshotmarketingTrackedLinkKind; lastClickedAt?: Maybe<Scalars['DateTime']['output']>; leadId?: Maybe<Scalars['ID']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; sourceId?: Maybe<Scalars['ID']['output']>; sourceType: HeadshotmarketingTrackedLinkSource; /** Touchpoints this recipient-bound link wrote directly (email clicks/opens). */ touchpointCount: Scalars['Int']['output']; touchpointType: HeadshotmarketingTouchpointType; /** * Public URL to share or embed. Null when tracking is not configured for this * environment. */ trackedUrl?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingTrackedLinkFilterInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; contactId?: InputMaybe<Scalars['ID']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; sourceId?: InputMaybe<Scalars['ID']['input']>; sourceType?: InputMaybe<HeadshotmarketingTrackedLinkSource>; }; export declare enum HeadshotmarketingTrackedLinkKind { Click = "CLICK", Open = "OPEN" } export type HeadshotmarketingTrackedLinkList = { __typename?: 'HeadshotmarketingTrackedLinkList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingTrackedLink>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingTrackedLinkSource { AdCampaign = "AD_CAMPAIGN", AdCreative = "AD_CREATIVE", /** Per-recipient links created by SEND_EMAIL automation steps (read-only). */ AutomationEmail = "AUTOMATION_EMAIL", SocialPost = "SOCIAL_POST" } export type HeadshotmarketingTranslateCampaignCopyInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; sourceLanguage?: InputMaybe<Scalars['String']['input']>; sourceText: Scalars['String']['input']; targetLanguage: Scalars['String']['input']; }; export type HeadshotmarketingTranslationLogList = { __typename?: 'HeadshotmarketingTranslationLogList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingTranslationResult>; total: Scalars['Int']['output']; }; /** * A translateCampaignCopy audit-log entry. `translatedText`/`provider` are * only non-null when `status` is SUCCEEDED -- a FAILED row (e.g. no LLM * provider key configured) is still a real, listable audit record, with * `errorMessage` set instead. This mirrors the honest fail-clear contract of * the mutation itself: a failure is a first-class, visible outcome, never * silently dropped or backfilled with a fabricated value. */ export type HeadshotmarketingTranslationResult = { __typename?: 'HeadshotmarketingTranslationResult'; campaignId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; model?: Maybe<Scalars['String']['output']>; provider?: Maybe<Scalars['String']['output']>; sourceLanguage?: Maybe<Scalars['String']['output']>; sourceText: Scalars['String']['output']; status: HeadshotmarketingTranslationStatus; targetLanguage: Scalars['String']['output']; translatedText?: Maybe<Scalars['String']['output']>; }; export declare enum HeadshotmarketingTranslationStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export type HeadshotmarketingUpdateAiToolInput = { category?: InputMaybe<HeadshotmarketingAiToolCategory>; configuration?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; model?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateAutomationWorkflowInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; steps?: InputMaybe<Scalars['JSON']['input']>; triggerConfig?: InputMaybe<Scalars['JSON']['input']>; triggerType?: InputMaybe<HeadshotmarketingAutomationTriggerType>; }; export type HeadshotmarketingUpdateContentItemInput = { /** * AI tool execution whose output was inserted into this item while editing * (for example the editor's AI Assist). The service validates it against the * workspace's execution ledger and marks the item as AI-assisted; an item that * already carries AI provenance keeps its original record. */ aiToolExecutionId?: InputMaybe<Scalars['ID']['input']>; body?: InputMaybe<Scalars['String']['input']>; campaignId?: InputMaybe<Scalars['ID']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingContentItemStatus>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<HeadshotmarketingContentItemType>; }; export type HeadshotmarketingUpdateEventInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; coverImageUrl?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; location?: InputMaybe<Scalars['String']['input']>; maxAttendees?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; slug?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<HeadshotmarketingEventStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; timezone?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<HeadshotmarketingEventType>; virtualUrl?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateEventRegistrationInput = { attendeeCompany?: InputMaybe<Scalars['String']['input']>; attendeeEmail?: InputMaybe<Scalars['String']['input']>; attendeeName?: InputMaybe<Scalars['String']['input']>; attendeePhone?: InputMaybe<Scalars['String']['input']>; attendeeTitle?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateEventSpeakerInput = { avatarUrl?: InputMaybe<Scalars['String']['input']>; bio?: InputMaybe<Scalars['String']['input']>; company?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; linkedinUrl?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; title?: InputMaybe<Scalars['String']['input']>; topic?: InputMaybe<Scalars['String']['input']>; twitterUrl?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateLandingPageInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; customCss?: InputMaybe<Scalars['String']['input']>; customJs?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; faviconUrl?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; ogImageUrl?: InputMaybe<Scalars['String']['input']>; seoDescription?: InputMaybe<Scalars['String']['input']>; seoTitle?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingLandingPageStatus>; templateId?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateLandingPageSectionInput = { backgroundColor?: InputMaybe<Scalars['String']['input']>; backgroundImageUrl?: InputMaybe<Scalars['String']['input']>; content?: InputMaybe<Scalars['JSON']['input']>; isVisible?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; settings?: InputMaybe<Scalars['JSON']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; subtitle?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<HeadshotmarketingLandingPageSectionType>; }; export type HeadshotmarketingUpdateSeoAuditInput = { metadata?: InputMaybe<Scalars['JSON']['input']>; url?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateSeoKeywordInput = { cpc?: InputMaybe<Scalars['Float']['input']>; currentRank?: InputMaybe<Scalars['Int']['input']>; difficulty?: InputMaybe<Scalars['Float']['input']>; keyword?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; searchVolume?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<HeadshotmarketingSeoKeywordStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; url?: InputMaybe<Scalars['String']['input']>; }; export type HeadshotmarketingUpdateSavedReportInput = { customEndDate?: InputMaybe<Scalars['DateTime']['input']>; customStartDate?: InputMaybe<Scalars['DateTime']['input']>; dateRange?: InputMaybe<HeadshotmarketingReportDateRange>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; widgets?: InputMaybe<Array<HeadshotmarketingReportWidget>>; }; export type HeadshotmarketingWorkspaceIntegrationConnection = { __typename?: 'HeadshotmarketingWorkspaceIntegrationConnection'; /** Real config for WEBHOOK-type listings, e.g. {"webhookUrl": "https://..."}. */ config?: Maybe<Scalars['JSON']['output']>; connectedAt: Scalars['DateTime']['output']; connectedBy?: Maybe<Scalars['ID']['output']>; disconnectedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; integrationListingId: Scalars['ID']['output']; listing: HeadshotmarketingIntegrationListing; status: HeadshotmarketingWorkspaceIntegrationStatus; workspaceId: Scalars['ID']['output']; }; export type HeadshotmarketingWorkspaceIntegrationConnectionList = { __typename?: 'HeadshotmarketingWorkspaceIntegrationConnectionList'; hasMore: Scalars['Boolean']['output']; items: Array<HeadshotmarketingWorkspaceIntegrationConnection>; total: Scalars['Int']['output']; }; export declare enum HeadshotmarketingWorkspaceIntegrationStatus { Active = "ACTIVE", Disabled = "DISABLED", Error = "ERROR" } export type HealthCheckResponse = { __typename?: 'HealthCheckResponse'; dependencies: Scalars['JSON']['output']; overallStatus: Scalars['String']['output']; timestamp: Scalars['String']['output']; }; export type HealthRecord = { __typename?: 'HealthRecord'; animalId: Scalars['String']['output']; animalName: Scalars['String']['output']; /** * The client-generated idempotency key this record was created with (BOFF-4407 offline * outbox); null for records created without one. */ clientMutationId?: Maybe<Scalars['String']['output']>; date: Scalars['String']['output']; diagnosis: Scalars['String']['output']; followUpDate?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; medications?: Maybe<Array<Scalars['String']['output']>>; status: Scalars['String']['output']; symptoms?: Maybe<Array<Scalars['String']['output']>>; treatment: Scalars['String']['output']; type: Scalars['String']['output']; veterinarian: Scalars['String']['output']; }; export type HealthyBowlAccountingExport = { __typename?: 'HealthyBowlAccountingExport'; byteSize: Scalars['Int']['output']; /** Base64-encoded file bytes — the client decodes and downloads. */ contentBase64: Scalars['String']['output']; filename: Scalars['String']['output']; /** CSV | PDF | XML | JSON */ format: Scalars['String']['output']; mimeType: Scalars['String']['output']; }; export type HealthyBowlAccountingIntegration = { __typename?: 'HealthyBowlAccountingIntegration'; autoSyncDaily: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; displayName?: Maybe<Scalars['String']['output']>; endpoint?: Maybe<Scalars['String']['output']>; entriesPushed: Scalars['Int']['output']; id: Scalars['ID']['output']; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; organizationRef?: Maybe<Scalars['String']['output']>; /** TALLY | ZOHO_BOOKS | QUICKBOOKS */ provider: Scalars['String']['output']; pushInvoices: Scalars['Boolean']['output']; /** CONNECTED | SYNC_READY | NOT_CONNECTED */ status: Scalars['String']['output']; syncCoaMapping: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlAccountingIntegrationsPayload = { __typename?: 'HealthyBowlAccountingIntegrationsPayload'; autoSyncDaily: Scalars['Boolean']['output']; integrations: Array<HealthyBowlAccountingIntegration>; pushInvoices: Scalars['Boolean']['output']; syncCoaMapping: Scalars['Boolean']['output']; syncLogs: Array<HealthyBowlAccountingSyncLog>; }; export type HealthyBowlAccountingSyncLog = { __typename?: 'HealthyBowlAccountingSyncLog'; batchRef?: Maybe<Scalars['String']['output']>; entriesCount: Scalars['Int']['output']; id: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; provider: Scalars['String']['output']; /** SUCCESS | NOT_SENT | FAILED */ status: Scalars['String']['output']; syncedAt: Scalars['DateTime']['output']; }; export type HealthyBowlAccountingSyncResult = { __typename?: 'HealthyBowlAccountingSyncResult'; /** Active chart-of-accounts rows pushed when syncCoaMapping is on; 0 when the toggle is off. */ accountsCount: Scalars['Int']['output']; /** The serialized batch as a downloadable file — present even when status is NOT_SENT so it can be imported manually. */ batch?: Maybe<HealthyBowlAccountingExport>; /** The chart-of-accounts sync-log row (message prefixed 'Chart of accounts:'); null when syncCoaMapping is off. */ coaLog?: Maybe<HealthyBowlAccountingSyncLog>; entriesCount: Scalars['Int']['output']; integration: HealthyBowlAccountingIntegration; log: HealthyBowlAccountingSyncLog; message: Scalars['String']['output']; provider: Scalars['String']['output']; /** SUCCESS | NOT_SENT | FAILED */ status: Scalars['String']['output']; }; export type HealthyBowlAdvisoryTask = { __typename?: 'HealthyBowlAdvisoryTask'; authorActorId: Scalars['String']['output']; authorName?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; detail?: Maybe<Scalars['String']['output']>; dueAt?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HealthyBowlAdvisoryTaskStatus { Done = "DONE", InProgress = "IN_PROGRESS", Open = "OPEN" } /** One institutional order composed from many member farms. */ export type HealthyBowlAggregationLot = { __typename?: 'HealthyBowlAggregationLot'; buyerName?: Maybe<Scalars['String']['output']>; commissionPct: Scalars['Float']['output']; committedQty: Scalars['Float']['output']; contributingFarms: Scalars['Int']['output']; createdAt?: Maybe<Scalars['DateTime']['output']>; crop: Scalars['String']['output']; estimatedValue: Scalars['Float']['output']; grade?: Maybe<Scalars['String']['output']>; grossAmount: Scalars['Float']['output']; icsGroupId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** The shared-market listing created on publish. */ marketplaceProductId?: Maybe<Scalars['ID']['output']>; netDistributable: Scalars['Float']['output']; /** The channel=AGGREGATION Order created on sale — the order-of-record. */ orderId?: Maybe<Scalars['ID']['output']>; progressPct: Scalars['Float']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; settledAt?: Maybe<Scalars['DateTime']['output']>; soldAt?: Maybe<Scalars['DateTime']['output']>; /** DRAFT | OPEN | PUBLISHED | SOLD | SETTLING | SETTLED | CANCELLED */ status: Scalars['String']['output']; targetQty: Scalars['Float']['output']; unit: Scalars['String']['output']; variety?: Maybe<Scalars['String']['output']>; weightedPrice: Scalars['Float']['output']; }; /** A member's share of a lot, and the payout that settles it. */ export type HealthyBowlAggregationLotContribution = { __typename?: 'HealthyBowlAggregationLotContribution'; committedQty: Scalars['Float']['output']; contributionValue: Scalars['Float']['output']; grade?: Maybe<Scalars['String']['output']>; grossShare?: Maybe<Scalars['Float']['output']>; harvestRecordId: Scalars['ID']['output']; icsGrowerId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; lotId: Scalars['ID']['output']; memberName?: Maybe<Scalars['String']['output']>; memberWorkspaceId: Scalars['ID']['output']; membershipId: Scalars['ID']['output']; netPayout?: Maybe<Scalars['Float']['output']>; paidAt?: Maybe<Scalars['DateTime']['output']>; /** PENDING | PAID | HELD — HELD means the member revoked consent and keeps the claim unpaid. */ payoutStatus?: Maybe<Scalars['String']['output']>; /** COMMITTED | DELIVERED | WITHDRAWN */ status: Scalars['String']['output']; unitPrice: Scalars['Float']['output']; }; export type HealthyBowlAggregationLotDetail = { __typename?: 'HealthyBowlAggregationLotDetail'; contributions: Array<HealthyBowlAggregationLotContribution>; lot: HealthyBowlAggregationLot; }; export type HealthyBowlAlertMutationPayload = { __typename?: 'HealthyBowlAlertMutationPayload'; alert?: Maybe<Alert>; success: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlAnalyticsDataPayload = { __typename?: 'HealthyBowlAnalyticsDataPayload'; cropDistribution: Array<CropDistributionPoint>; insights: Array<FarmInsight>; kpis: Array<AnalyticsKpi>; reports: Array<AnalyticsReport>; revenueChart: Array<RevenueChartPoint>; updatedAt: Scalars['DateTime']['output']; yieldTrend: Array<YieldTrendPoint>; }; /** A single animal's full deep record (detail view). */ export type HealthyBowlAnimalDepthRecord = { __typename?: 'HealthyBowlAnimalDepthRecord'; adgKgPerDay?: Maybe<Scalars['Float']['output']>; animalId: Scalars['ID']['output']; bodyConditionScore?: Maybe<Scalars['Float']['output']>; breed?: Maybe<Scalars['String']['output']>; /** * True when the dam has left the herd (soft-deleted). The link is still valid — genealogy is * deliberately a loose link so it survives the parent leaving — so show the tag greyed rather than * dropping it. False when there is no dam, which is not a claim that a dam exists. */ damArchived: Scalars['Boolean']['output']; damId?: Maybe<Scalars['ID']['output']>; /** Dam's tag number. Resolved even when the dam has since been culled or sold (BOFF-6011). */ damTag?: Maybe<Scalars['String']['output']>; eidTag?: Maybe<Scalars['String']['output']>; grazingNotes?: Maybe<Scalars['String']['output']>; /** * Legacy free-text paddock. Superseded by the grazing-event model (BOFF-5970): see * `healthyBowlGrazing` for occupancy, and `healthyBowlGrazingEvents(animalId:)` for this animal's * move history. Kept because it is still the only grazing record for animals whose legacy row had * no `rotationDate` and so could not be reconstructed as an event. */ grazingPaddock?: Maybe<Scalars['String']['output']>; groupId?: Maybe<Scalars['ID']['output']>; groupName?: Maybe<Scalars['String']['output']>; latestWeightAt?: Maybe<Scalars['String']['output']>; latestWeightKg?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; /** * Legacy single rotation date — a scalar, so writing the next rotation destroyed the previous one. * Superseded by `HealthyBowlGrazingEvent.enteredAt`/`exitedAt`, from which duration and rest are * derived. Reconstructed into events by the BOFF-5970 backfill; still written for compatibility. */ rotationDate?: Maybe<Scalars['String']['output']>; /** True when the sire has left the herd. See `damArchived`. */ sireArchived: Scalars['Boolean']['output']; sireId?: Maybe<Scalars['ID']['output']>; /** Sire's tag number. Resolved even when the sire has since been culled or sold (BOFF-6011). */ sireTag?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; tagNumber: Scalars['String']['output']; type: Scalars['String']['output']; /** Weight history, newest first. */ weightHistory: Array<HealthyBowlWeightRecord>; withdrawal: HealthyBowlAnimalWithdrawalBadge; }; /** An animal group (manual membership) or smart-group (rule-matched at read time). */ export type HealthyBowlAnimalGroup = { __typename?: 'HealthyBowlAnimalGroup'; /** Members: MANUAL = animals with this groupId; SMART = animals matching the rule. */ animalCount: Scalars['Int']['output']; color?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** MANUAL | SMART */ kind: Scalars['String']['output']; name: Scalars['String']['output']; /** Smart-group match rule, e.g. { animalType, status, productionType }. Null for MANUAL groups. */ smartRule?: Maybe<Scalars['JSON']['output']>; updatedAt: Scalars['String']['output']; }; /** * An animal's pedigree: ancestors walked up, offspring walked down. * * Both walks are breadth-first over `Animal.damId` / `Animal.sireId`, which are the only parentage * edges that exist — `BreedingRecord` records offspring COUNTS and never points at a child row. */ export type HealthyBowlAnimalPedigree = { __typename?: 'HealthyBowlAnimalPedigree'; /** Ancestor depth actually applied after clamping (1..8). */ ancestorDepth: Scalars['Int']['output']; /** * Ancestors, nearest generation first; within a generation, ordered by `tagNumber`. Grouping dam * before sire is the client's job — the server does not promise that order. */ ancestors: Array<HealthyBowlPedigreeNode>; /** * True when the walk re-entered an animal it had already visited. * Reachable today, not hypothetical: `validateParentRef` compares birth order only when BOTH * animals carry a `dateOfBirth`, and that column is nullable — so A-is-B's-dam and B-is-A's-dam * both save cleanly on undated rows. The walk stops that branch rather than looping forever. */ cycleDetected: Scalars['Boolean']['output']; /** Recorded offspring, oldest first. */ offspring: Array<HealthyBowlOffspringNode>; /** Offspring depth actually applied after clamping (1..4). */ offspringDepth: Scalars['Int']['output']; /** The animal the walk started from, at generation 0. */ root: HealthyBowlPedigreeNode; /** * True when a depth or node cap stopped the walk, so the tree shown is incomplete. Show it — a * truncated pedigree is wrong with no other sign that it is wrong. */ truncated: Scalars['Boolean']['output']; }; /** Per-animal medication-withdrawal roll-up (reused from BOFF-2885), for the compliance badge. */ export type HealthyBowlAnimalWithdrawalBadge = { __typename?: 'HealthyBowlAnimalWithdrawalBadge'; /** True while any produce is inside its withdrawal window (the red 'do not sell' flag). */ blocked: Scalars['Boolean']['output']; /** Whole days until the withdrawal end date (0 when cleared). */ daysLeft: Scalars['Int']['output']; eggsClearDate?: Maybe<Scalars['String']['output']>; /** Latest active clear date across milk/meat/eggs (ISO), or null when nothing is withdrawn. */ endDate?: Maybe<Scalars['String']['output']>; meatClearDate?: Maybe<Scalars['String']['output']>; milkClearDate?: Maybe<Scalars['String']['output']>; /** BLOCKED | UNDER_WITHDRAWAL | CLEARED */ status: Scalars['String']['output']; }; /** Ranked digest plus counts derived from the FINAL (deduped) findings, so the tiles always add up. */ export type HealthyBowlAttentionDigest = { __typename?: 'HealthyBowlAttentionDigest'; critical: Scalars['Int']['output']; cropStressCount: Scalars['Int']['output']; /** Severity desc, then soonest dueAt (undated last), then most recently detected. */ findings: Array<HealthyBowlAttentionFinding>; generatedAt: Scalars['DateTime']['output']; /** Look-ahead actually applied to dated signals, after clamping (1–90, default 7). */ horizonDays: Scalars['Int']['output']; info: Scalars['Int']['output']; schemeCount: Scalars['Int']['output']; sensorCount: Scalars['Int']['output']; total: Scalars['Int']['output']; warning: Scalars['Int']['output']; weatherCount: Scalars['Int']['output']; withdrawalCount: Scalars['Int']['output']; }; /** One thing that wants a human, projected from an existing HealthyBowl row. */ export type HealthyBowlAttentionFinding = { __typename?: 'HealthyBowlAttentionFinding'; /** In-app route to the page that owns this signal. Always non-empty. */ deepLink: Scalars['String']['output']; detail: Scalars['String']['output']; detectedAt: Scalars['DateTime']['output']; /** When it falls due; null for signals that are simply live now (sensor alerts, stressed zones). */ dueAt?: Maybe<Scalars['DateTime']['output']>; /** The underlying row id. Always non-empty. */ entityId: Scalars['String']['output']; /** The Prisma model this projects (Alert, WeatherAlertEvent, MedicationTreatment, GovernmentScheme, HbStressedZone). */ entityType: Scalars['String']['output']; /** Stable dedup identity (`<source>:<natural key>`) — NOT the database row id. */ id: Scalars['ID']['output']; /** Normalised band: CRITICAL | WARNING | INFO. Weather RED/AMBER/GREY and zone HIGH/MEDIUM/LOW map onto it. */ severity: Scalars['String']['output']; /** Which signal produced it: SENSOR | WEATHER | WITHDRAWAL | SCHEME | CROP_STRESS. */ source: Scalars['String']['output']; title: Scalars['String']['output']; }; /** Result of an auto-match pass. */ export type HealthyBowlAutoMatchResult = { __typename?: 'HealthyBowlAutoMatchResult'; /** * Lines with MORE THAN ONE candidate transaction. Deliberately left alone: picking between them * would file a real payment against the wrong record. */ ambiguous: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; matched: Scalars['Int']['output']; /** One note per ambiguous line, naming the date and amount so a human can go and decide. */ notes: Array<Scalars['String']['output']>; unmatched: Scalars['Int']['output']; }; /** * BOFF-6026 — what the farm owns, owes and is worth, as of a date. * * This is the document a lender asks for. `retainedEarnings` is the cumulative income less expense to * the as-of date: income and expense are not equity ACCOUNTS, but their net IS owner's equity, and * without the term the sheet is out by exactly the net profit. */ export type HealthyBowlBalanceSheet = { __typename?: 'HealthyBowlBalanceSheet'; asOfLabel: Scalars['String']['output']; assets: Array<HealthyBowlStatementLine>; currency: Scalars['String']['output']; difference: Scalars['Float']['output']; equity: Array<HealthyBowlStatementLine>; isBalanced: Scalars['Boolean']['output']; liabilities: Array<HealthyBowlStatementLine>; retainedEarnings: Scalars['Float']['output']; totalAssets: Scalars['Float']['output']; totalEquity: Scalars['Float']['output']; /** Equity accounts only, before retained earnings. */ totalEquityAccounts: Scalars['Float']['output']; totalLiabilities: Scalars['Float']['output']; totalLiabilitiesAndEquity: Scalars['Float']['output']; }; /** A real bank account the farm holds, and the ledger account it ties out to. */ export type HealthyBowlBankAccount = { __typename?: 'HealthyBowlBankAccount'; accountNumber?: Maybe<Scalars['String']['output']>; bankName?: Maybe<Scalars['String']['output']>; createdAt?: Maybe<Scalars['String']['output']>; currency: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; lastReconciledAt?: Maybe<Scalars['String']['output']>; /** * Balance the last CLOSED reconciliation ended on. Null — never 0 — until one is closed: zero would * read as "reconciled to nil" on an account nobody has touched. */ lastReconciledBalance?: Maybe<Scalars['Float']['output']>; /** Chart-of-accounts account this reconciles against. Null until the farm decides which. */ ledgerAccountId?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; }; /** One line off a bank statement, and what (if anything) it is paired with. */ export type HealthyBowlBankStatementLine = { __typename?: 'HealthyBowlBankStatementLine'; /** Signed: positive is money in, negative is money out. */ amount: Scalars['Float']['output']; /** Running balance as printed, when the statement carried one. */ balanceAfter?: Maybe<Scalars['Float']['output']>; bankAccountId: Scalars['ID']['output']; date: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; /** True once its period is closed: history, not re-matchable until the period is reopened. */ isLocked: Scalars['Boolean']['output']; matchedAt?: Maybe<Scalars['String']['output']>; /** AUTO | MANUAL — so a bulk auto-match can be reviewed or undone as a group. */ matchedBy?: Maybe<Scalars['String']['output']>; /** The farm Transaction this line is paired with. Null unless MATCHED. */ matchedTransactionId?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; reconciledAt?: Maybe<Scalars['String']['output']>; /** The bank's own reference (UTR, cheque number). Not unique across banks — never a key. */ reference?: Maybe<Scalars['String']['output']>; /** * UNMATCHED | MATCHED | IGNORED. IGNORED is a line the farm deliberately excludes (a transfer * between its own accounts) and is kept distinct from UNMATCHED, which is unfinished work. */ status: Scalars['String']['output']; }; export type HealthyBowlBudget = { __typename?: 'HealthyBowlBudget'; allocated: Scalars['Float']['output']; category: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** Matched expenses not yet settled. Reported separately so they are visible without inflating `spent`. */ pendingSpent: Scalars['Float']['output']; period: Scalars['String']['output']; periodEnd?: Maybe<Scalars['String']['output']>; /** The window `spent` was summed over. Null when `period` could not be parsed, in which case the category whole history is counted. */ periodStart?: Maybe<Scalars['String']['output']>; remaining: Scalars['Float']['output']; /** * BOFF-6073 - rolled up from COMPLETED expense transactions in this budget category and period. * No longer a figure the client can set: it used to be typed by the user and never moved when a * transaction was recorded, which made budget-vs-actual and `status` self-reported. */ spent: Scalars['Float']['output']; /** ON_TRACK to 80% of allocation, WARNING to 100%, OVER_BUDGET above. Derived, not stored. */ status: Scalars['String']['output']; /** How many transactions fed `spent` - 0 makes an untracked budget obvious rather than looking like zero spend. */ trackedTransactionCount: Scalars['Int']['output']; }; /** BOFF-6026 — one classified cash movement. category is OPERATING | INVESTING | FINANCING. */ export type HealthyBowlCashFlowLine = { __typename?: 'HealthyBowlCashFlowLine'; accountCode: Scalars['String']['output']; accountName: Scalars['String']['output']; amount: Scalars['Float']['output']; category: Scalars['String']['output']; }; /** * BOFF-6026 — where the cash went, by the direct method. * * Every entry touching a cash account is attributed to the type of its counterpart: income/expense is * operating, another asset is investing, a liability or equity account is financing. `isReconciled` * compares the classified total against the actual movement on the cash accounts, and `cashAccounts` * names the accounts treated as cash so the assumption is visible rather than implied. */ export type HealthyBowlCashFlowStatement = { __typename?: 'HealthyBowlCashFlowStatement'; /** Movement summed straight off the cash accounts — must equal netChangeInCash. */ cashAccountMovement: Scalars['Float']['output']; cashAccounts: Array<HealthyBowlStatementLine>; currency: Scalars['String']['output']; difference: Scalars['Float']['output']; /** The line ceiling behind isTruncated. */ entryLimit: Scalars['Int']['output']; financing: Array<HealthyBowlCashFlowLine>; investing: Array<HealthyBowlCashFlowLine>; isReconciled: Scalars['Boolean']['output']; /** * True when the period holds more journal lines than one statement can read, so this covers only * the earliest entries in it. Unlike the trial balance and balance sheet — which are aggregated in * the database and are therefore always complete — cash flow must read whole entries to see what * the cash moved for. Narrow the date range for a complete statement. */ isTruncated: Scalars['Boolean']['output']; netChangeInCash: Scalars['Float']['output']; netFinancing: Scalars['Float']['output']; netInvesting: Scalars['Float']['output']; netOperating: Scalars['Float']['output']; operating: Array<HealthyBowlCashFlowLine>; periodLabel: Scalars['String']['output']; /** Entries whose counterpart could not be classified. Reported, never silently dropped. */ unclassifiedCount: Scalars['Int']['output']; }; export type HealthyBowlComplianceDataPayload = { __typename?: 'HealthyBowlComplianceDataPayload'; audits: Array<Audit>; certifications: Array<Certification>; complianceDocuments: Array<ComplianceDocument>; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlComplianceOverviewPayload = { __typename?: 'HealthyBowlComplianceOverviewPayload'; activeCertifications: Scalars['Int']['output']; criticalFlags: Scalars['Int']['output']; expiredCertifications: Scalars['Int']['output']; expiringCertifications: Scalars['Int']['output']; /** Certificates within 90 days of expiry, or already expired. */ expiringSoon: Array<CertificationStandardProgress>; flags: Array<ComplianceFlag>; icsMemberGrowers: Scalars['Int']['output']; openAuditFindings: Scalars['Int']['output']; openFlags: Scalars['Int']['output']; standards: Array<CertificationStandardProgress>; upcomingInspections: Array<IcsInspection>; updatedAt: Scalars['String']['output']; }; export type HealthyBowlComplianceScanResult = { __typename?: 'HealthyBowlComplianceScanResult'; bannedSubstanceFlags: Scalars['Int']['output']; certificationsExpired: Scalars['Int']['output']; certificationsExpiring: Scalars['Int']['output']; /** Compliance documents cascaded to Expired by THIS run because their backing certificate has lapsed. */ documentsExpired: Scalars['Int']['output']; flags: Array<ComplianceScanFlag>; missingDocuments: Scalars['Int']['output']; mrlFlags: Scalars['Int']['output']; /** Findings created by THIS run. A repeat scan of an unchanged workspace returns 0. */ newFlags: Scalars['Int']['output']; notificationsSent: Scalars['Int']['output']; overdueInspections: Scalars['Int']['output']; scannedAt: Scalars['String']['output']; totalOpenFlags: Scalars['Int']['output']; }; export type HealthyBowlConsultantAssignment = { __typename?: 'HealthyBowlConsultantAssignment'; assignedAt: Scalars['String']['output']; consultantActorId: Scalars['String']['output']; consultantName?: Maybe<Scalars['String']['output']>; expiresAt?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; scope: Scalars['String']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HealthyBowlConsultantAssignmentScope { FarmDiagnosis = "FARM_DIAGNOSIS", FullAdvisory = "FULL_ADVISORY" } /** A single client farm in a consultant's portfolio — a lightweight read-only snapshot. */ export type HealthyBowlConsultantClient = { __typename?: 'HealthyBowlConsultantClient'; activeCrops: Scalars['Int']['output']; assignedAt: Scalars['String']['output']; /** Percentage of diagnosis domains that have real data (0–100). */ dataCompleteness: Scalars['Int']['output']; farmName: Scalars['String']['output']; openRecommendations: Scalars['Int']['output']; openTasks: Scalars['Int']['output']; /** GOOD | ATTENTION | URGENT. */ overallHealthBand: Scalars['String']['output']; /** Rule-based overall health, 0–100 across the domains that have real data (higher = healthier). */ overallHealthScore: Scalars['Int']['output']; scope: Scalars['String']['output']; /** Human-readable issues that need attention now. */ urgentFlags: Array<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HealthyBowlConsultantDiagnosis = { __typename?: 'HealthyBowlConsultantDiagnosis'; assignedAt: Scalars['String']['output']; dataCompleteness: Scalars['Int']['output']; farmName: Scalars['String']['output']; /** GOOD | ATTENTION | URGENT | INSUFFICIENT_DATA | NO_DATA. */ overallHealthBand: Scalars['String']['output']; overallHealthScore: Scalars['Int']['output']; scope: Scalars['String']['output']; sections: Array<HealthyBowlDiagnosisSection>; /** Human-readable issues across the farm that need attention now. */ urgentFlags: Array<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HealthyBowlConsultationNote = { __typename?: 'HealthyBowlConsultationNote'; authorActorId: Scalars['String']['output']; authorName?: Maybe<Scalars['String']['output']>; body: Scalars['String']['output']; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** A buyer or supplier the farm transacts with. */ export type HealthyBowlContact = { __typename?: 'HealthyBowlContact'; address?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; email?: Maybe<Scalars['String']['output']>; /** Indian GST identification number (optional). */ gstin?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Date of the most recent linked order (ISO), or null if none. */ lastOrderDate?: Maybe<Scalars['String']['output']>; /** Date of the most recent COMPLETED linked purchase transaction (ISO), or null if none. */ lastPurchaseDate?: Maybe<Scalars['String']['output']>; /** Sum of linked order totals (₹). */ lifetimeValue: Scalars['Float']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Number of orders linked to this contact (Order.buyerId = contact id). */ orderCount: Scalars['Int']['output']; /** Sum of PENDING linked purchase transactions (₹), reported separately from totalSpend. */ pendingSpend: Scalars['Float']['output']; phone?: Maybe<Scalars['String']['output']>; /** Number of linked purchase transactions (EXPENSE rows), including pending/failed attempts. */ purchaseCount: Scalars['Int']['output']; /** ACTIVE | INACTIVE */ status: Scalars['String']['output']; /** Sum of COMPLETED linked purchase transactions (₹). */ totalSpend: Scalars['Float']['output']; /** BUYER | SUPPLIER */ type: Scalars['String']['output']; updatedAt: Scalars['String']['output']; }; /** A contact plus its buyer-order and supplier-purchase histories. */ export type HealthyBowlContactDetail = { __typename?: 'HealthyBowlContactDetail'; contact: HealthyBowlContact; orders: Array<HealthyBowlContactOrder>; purchases: Array<HealthyBowlContactPurchase>; spend: HealthyBowlContactSpendSummary; summary: HealthyBowlContactOrderSummary; }; /** Result of a CSV contact import. */ export type HealthyBowlContactImportResult = { __typename?: 'HealthyBowlContactImportResult'; /** One message per row that could not be imported. */ errors: Array<Scalars['String']['output']>; imported: Scalars['Int']['output']; skipped: Scalars['Int']['output']; updated: Scalars['Int']['output']; }; /** One order in a contact's history (projected from an Order row). */ export type HealthyBowlContactOrder = { __typename?: 'HealthyBowlContactOrder'; /** Order total (₹). */ amount: Scalars['Float']['output']; date: Scalars['String']['output']; id: Scalars['ID']['output']; /** Human-readable summary of the order line items. */ itemsSummary: Scalars['String']['output']; orderNumber: Scalars['String']['output']; /** Payment status (PENDING|PAID|...). */ paymentStatus: Scalars['String']['output']; /** Total quantity across line items (0 when items carry no quantity). */ quantity: Scalars['Float']['output']; /** Order status (PENDING|CONFIRMED|SHIPPED|DELIVERED|CANCELLED). */ status: Scalars['String']['output']; }; /** Roll-up of a contact's order history. */ export type HealthyBowlContactOrderSummary = { __typename?: 'HealthyBowlContactOrderSummary'; lastOrderDate?: Maybe<Scalars['String']['output']>; lifetimeValue: Scalars['Float']['output']; totalOrders: Scalars['Int']['output']; }; /** One supplier purchase projected from a linked EXPENSE transaction. */ export type HealthyBowlContactPurchase = { __typename?: 'HealthyBowlContactPurchase'; amount: Scalars['Float']['output']; category: Scalars['String']['output']; date: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; paymentMethod?: Maybe<Scalars['String']['output']>; reference?: Maybe<Scalars['String']['output']>; /** COMPLETED | PENDING | FAILED */ status: Scalars['String']['output']; }; /** Roll-up of a supplier contact's linked EXPENSE transactions. */ export type HealthyBowlContactSpendSummary = { __typename?: 'HealthyBowlContactSpendSummary'; lastPurchaseDate?: Maybe<Scalars['String']['output']>; /** PENDING spend only; never inflates totalSpend. */ pendingSpend: Scalars['Float']['output']; purchaseCount: Scalars['Int']['output']; /** COMPLETED spend only. */ totalSpend: Scalars['Float']['output']; }; /** A cross-farm aggregation lot: one order + one shipment spanning several farm workspaces' deliveries. */ export type HealthyBowlContractAggregationLot = { __typename?: 'HealthyBowlContractAggregationLot'; /** Sum of the line quantities — equals the aggregated order's total quantity. */ committedQty: Scalars['Float']['output']; contractId: Scalars['ID']['output']; createdAt: Scalars['String']['output']; crop: Scalars['String']['output']; /** Distinct farm workspaces contributing to this lot. */ farmCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lines: Array<HealthyBowlContractAggregationLotLine>; /** The single channel=CONTRACT Order once the lot is published; null while DRAFT. */ orderId?: Maybe<Scalars['ID']['output']>; publishedAt?: Maybe<Scalars['String']['output']>; /** The movethewheels shipment once created; null while DRAFT or when movethewheels was unreachable at publish (retriable). */ shipmentId?: Maybe<Scalars['ID']['output']>; status: Scalars['String']['output']; unit: Scalars['String']['output']; /** Sum of the line values — equals the aggregated order's totalAmount. */ valuedAmount: Scalars['Float']['output']; }; /** One contributing delivery's line within an aggregation lot — the per-farm detail behind the single order. */ export type HealthyBowlContractAggregationLotLine = { __typename?: 'HealthyBowlContractAggregationLotLine'; deliveryId: Scalars['ID']['output']; farmName?: Maybe<Scalars['String']['output']>; farmWorkspaceId: Scalars['ID']['output']; id: Scalars['ID']['output']; qty: Scalars['Float']['output']; unitPrice: Scalars['Float']['output']; value: Scalars['Float']['output']; }; export type HealthyBowlContractAssignment = { __typename?: 'HealthyBowlContractAssignment'; acceptedAt?: Maybe<Scalars['String']['output']>; allocationQty?: Maybe<Scalars['Float']['output']>; contractId: Scalars['ID']['output']; crop?: Maybe<Scalars['String']['output']>; farmName?: Maybe<Scalars['String']['output']>; farmWorkspaceId: Scalars['ID']['output']; id: Scalars['ID']['output']; invitedAt: Scalars['String']['output']; status: Scalars['String']['output']; }; /** A single sponsor contract with its quota-vs-delivered rollup for the dashboard. */ export type HealthyBowlContractCard = { __typename?: 'HealthyBowlContractCard'; acceptedQty: Scalars['Float']['output']; agreedPrice: Scalars['Float']['output']; contractId: Scalars['ID']['output']; contractedFarms: Scalars['Int']['output']; crop: Scalars['String']['output']; deliveredQty: Scalars['Float']['output']; fulfilmentPct: Scalars['Float']['output']; health: Scalars['String']['output']; quotaQty: Scalars['Float']['output']; rejectRatePct: Scalars['Float']['output']; settlementDue: Scalars['Float']['output']; status: Scalars['String']['output']; unit: Scalars['String']['output']; }; /** Sponsor programme dashboard — rollups across contracts with an ACCEPTED assignment only. */ export type HealthyBowlContractDashboard = { __typename?: 'HealthyBowlContractDashboard'; activeContracts: Scalars['Int']['output']; avgFulfilmentPct: Scalars['Float']['output']; contractedFarms: Scalars['Int']['output']; contracts: Array<HealthyBowlContractCard>; settlementDue: Scalars['Float']['output']; }; export type HealthyBowlContractDelivery = { __typename?: 'HealthyBowlContractDelivery'; acceptedQty: Scalars['Float']['output']; /** BOFF-6207: the cross-farm aggregation lot this delivery is attached to, if any. */ aggregationLotId?: Maybe<Scalars['ID']['output']>; assignmentId: Scalars['ID']['output']; committedQty: Scalars['Float']['output']; contractId: Scalars['ID']['output']; createdAt: Scalars['String']['output']; deliveredQty: Scalars['Float']['output']; deliveryWindow?: Maybe<Scalars['String']['output']>; farmName?: Maybe<Scalars['String']['output']>; farmWorkspaceId: Scalars['ID']['output']; gradeResult?: Maybe<Scalars['JSON']['output']>; harvestRecordId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; orderId?: Maybe<Scalars['ID']['output']>; rejectedQty: Scalars['Float']['output']; settledAt?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; valuedAmount: Scalars['Float']['output']; windowDate?: Maybe<Scalars['String']['output']>; }; /** A contracted farmer's own obligations under one contract (read from their own workspace). */ export type HealthyBowlContractObligation = { __typename?: 'HealthyBowlContractObligation'; acceptedQty: Scalars['Float']['output']; agreedPrice: Scalars['Float']['output']; assignmentId: Scalars['ID']['output']; contractId: Scalars['ID']['output']; crop: Scalars['String']['output']; deliveredQty: Scalars['Float']['output']; /** * This farmer's own deliveries against the contract (BOFF-6041), newest first. * * Carries each delivery's `gradeResult` — the per-criterion verdict recorded against the agreed * `qualitySpec` at acceptance. Without it the farmer sees only aggregate accepted/rejected * quantities and has no way to know what a cut was judged against, or to dispute it. * * Scoped to the caller's own farm workspace, so this exposes nothing about any other grower. */ deliveries: Array<HealthyBowlContractDelivery>; paymentsReceived: Scalars['Float']['output']; qualitySpec?: Maybe<Scalars['JSON']['output']>; quotaQty?: Maybe<Scalars['Float']['output']>; sponsorWorkspaceId: Scalars['ID']['output']; status: Scalars['String']['output']; unit: Scalars['String']['output']; }; export type HealthyBowlCoopMemberDetail = { __typename?: 'HealthyBowlCoopMemberDetail'; deliveredQty: Scalars['Float']['output']; deliveries: Array<HealthyBowlAggregationLotContribution>; district?: Maybe<Scalars['String']['output']>; earnedAmount: Scalars['Float']['output']; farm: Scalars['String']['output']; hectares?: Maybe<Scalars['Float']['output']>; icsStatus?: Maybe<Scalars['String']['output']>; mainCrop?: Maybe<Scalars['String']['output']>; membership: HealthyBowlCoopMembership; mobile?: Maybe<Scalars['String']['output']>; plots?: Maybe<Scalars['JSON']['output']>; village?: Maybe<Scalars['String']['output']>; }; /** A row on the co-op's member roster, joined to the grower record where one exists. */ export type HealthyBowlCoopMemberRow = { __typename?: 'HealthyBowlCoopMemberRow'; farm: Scalars['String']['output']; hectares?: Maybe<Scalars['Float']['output']>; icsGrowerId?: Maybe<Scalars['ID']['output']>; /** The grower's ICS conversion status, or null when the farm has no grower record yet. */ icsStatus?: Maybe<Scalars['String']['output']>; mainCrop?: Maybe<Scalars['String']['output']>; memberWorkspaceId: Scalars['ID']['output']; membershipId: Scalars['ID']['output']; membershipStatus: Scalars['String']['output']; village?: Maybe<Scalars['String']['output']>; }; /** One member farm's link to a co-op. An ACCEPTED row is the authorization; revoking ends it at once. */ export type HealthyBowlCoopMembership = { __typename?: 'HealthyBowlCoopMembership'; acceptedAt?: Maybe<Scalars['DateTime']['output']>; createdAt?: Maybe<Scalars['DateTime']['output']>; icsGroupId: Scalars['ID']['output']; icsGrowerId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; memberName?: Maybe<Scalars['String']['output']>; /** The member farm's OWN workspace. */ memberWorkspaceId: Scalars['ID']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; /** v1 always FULL — narrower scopes exist as a column but are not enforced yet. */ scope: Scalars['String']['output']; /** INVITED | ACCEPTED | REVOKED */ status: Scalars['String']['output']; }; /** The co-op at a glance. Every figure is summed from real member rows — an empty co-op reports zeros. */ export type HealthyBowlCoopOverview = { __typename?: 'HealthyBowlCoopOverview'; code?: Maybe<Scalars['String']['output']>; hectaresUnderOrganic: Scalars['Float']['output']; icsGroupId: Scalars['ID']['output']; lots: Array<HealthyBowlAggregationLot>; memberFarms: Scalars['Int']['output']; memberFarmsTotal: Scalars['Int']['output']; membersCertified: Scalars['Int']['output']; name: Scalars['String']['output']; pooledForSale: Array<HealthyBowlPooledCropVolume>; pooledVolumeThisSeason: Scalars['Float']['output']; }; export type HealthyBowlCostAllocationSlice = { __typename?: 'HealthyBowlCostAllocationSlice'; amount: Scalars['Float']['output']; label: Scalars['String']['output']; percent: Scalars['Float']['output']; }; export type HealthyBowlCostByCropPoint = { __typename?: 'HealthyBowlCostByCropPoint'; costPerAcre: Scalars['Float']['output']; cropName: Scalars['String']['output']; totalCost: Scalars['Float']['output']; }; export type HealthyBowlCostByCropReport = { __typename?: 'HealthyBowlCostByCropReport'; allocation: Array<HealthyBowlCostAllocationSlice>; bestMarginLabel?: Maybe<Scalars['String']['output']>; bestMarginPct?: Maybe<Scalars['Float']['output']>; grossMarginPct: Scalars['Float']['output']; rows: Array<HealthyBowlCropProfitability>; totalCost: Scalars['Float']['output']; totalRevenue: Scalars['Float']['output']; }; export type HealthyBowlCostCenter = { __typename?: 'HealthyBowlCostCenter'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** CROP | ANIMAL | OTHER */ kind: Scalars['String']['output']; label: Scalars['String']['output']; refId?: Maybe<Scalars['ID']['output']>; refType?: Maybe<Scalars['String']['output']>; season?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; yieldQuantity: Scalars['Float']['output']; yieldUnit: Scalars['String']['output']; }; export type HealthyBowlCrew = { __typename?: 'HealthyBowlCrew'; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; leadWorkerId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; workerIds: Array<Scalars['ID']['output']>; }; export type HealthyBowlCrewTimesheet = { __typename?: 'HealthyBowlCrewTimesheet'; crewId: Scalars['ID']['output']; crewName: Scalars['String']['output']; rows: Array<HealthyBowlWeeklyTimesheetRow>; totalCost: Scalars['Float']['output']; totalHours: Scalars['Float']['output']; weekEnd: Scalars['String']['output']; weekStart: Scalars['String']['output']; }; export type HealthyBowlCropProfitability = { __typename?: 'HealthyBowlCropProfitability'; code: Scalars['String']['output']; costCenterId: Scalars['ID']['output']; costPerKg?: Maybe<Scalars['Float']['output']>; grossMarginPct?: Maybe<Scalars['Float']['output']>; kind: Scalars['String']['output']; label: Scalars['String']['output']; revenue: Scalars['Float']['output']; revenuePerKg?: Maybe<Scalars['Float']['output']>; totalCost: Scalars['Float']['output']; yieldQuantity: Scalars['Float']['output']; yieldUnit: Scalars['String']['output']; }; export type HealthyBowlCropsDataPayload = { __typename?: 'HealthyBowlCropsDataPayload'; crops: Array<Crop>; fields: Array<Field>; harvests: Array<HarvestRecord>; plantingPlans: Array<PlantingPlan>; updatedAt: Scalars['DateTime']['output']; }; /** One stable server page of active operational crops in the current workspace. */ export type HealthyBowlCropsPage = { __typename?: 'HealthyBowlCropsPage'; hasMore: Scalars['Boolean']['output']; items: Array<Crop>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type HealthyBowlDashboardDataPayload = { __typename?: 'HealthyBowlDashboardDataPayload'; alerts: Array<Alert>; dashboardStats: DashboardStats; farm: Farm; updatedAt: Scalars['DateTime']['output']; }; /** Result of `seedHealthyBowlDemoWorkspace`. */ export type HealthyBowlDemoSeedResult = { __typename?: 'HealthyBowlDemoSeedResult'; /** True when a farm already existed in the target workspace before this call. */ alreadySeeded: Scalars['Boolean']['output']; /** Per-entity-type row counts written by this run (entityType -> count). */ entityCounts: Scalars['JSONObject']['output']; /** The entity types this seed covers (core snapshot + newer feature groups). */ entityTypes: Array<Scalars['String']['output']>; /** True when this call wrote data (fresh seed or reset top-up). */ seeded: Scalars['Boolean']['output']; /** Feature groups that failed and were skipped this run (empty on a clean run). */ warnings: Array<Scalars['String']['output']>; /** The normalized workspace the demo was seeded into. */ workspaceId: Scalars['ID']['output']; }; /** Result of `teardownHealthyBowlDemoWorkspace`. */ export type HealthyBowlDemoTeardownResult = { __typename?: 'HealthyBowlDemoTeardownResult'; /** * True when this call cleared the whole plan. False means it stopped early — its time budget * ran out, or an entity refused — and the rows it did delete are still gone. Re-run until * this is true; a run over an already-clean workspace returns `removed: false, complete: true`. */ complete: Scalars['Boolean']['output']; /** Entities this call did not finish, in plan order, starting with the one it stopped on. Empty when `complete`. */ entitiesRemaining: Array<Scalars['String']['output']>; /** Rows deleted per entity (entity name -> count). Only non-zero entries are listed. */ entityCounts: Scalars['JSONObject']['output']; /** Every entity the teardown covers, in the order it deleted them — including the ones that had nothing to delete. */ entityTypes: Array<Scalars['String']['output']>; /** True when at least one row was deleted; false is the safe no-op on a workspace that held no HealthyBowl data. */ removed: Scalars['Boolean']['output']; /** Sum of `entityCounts`. */ totalDeleted: Scalars['Int']['output']; /** One line per entity that failed, in the order they failed. Empty on a clean run. */ warnings: Array<Scalars['String']['output']>; /** The normalized workspace the rows were removed from. */ workspaceId: Scalars['ID']['output']; }; export type HealthyBowlDiagnosisMetric = { __typename?: 'HealthyBowlDiagnosisMetric'; label: Scalars['String']['output']; value: Scalars['String']['output']; }; export type HealthyBowlDiagnosisSection = { __typename?: 'HealthyBowlDiagnosisSection'; /** CROPS | SOIL | PEST | FINANCIAL | COMPLIANCE | LIVESTOCK. */ domain: Scalars['String']['output']; hasData: Scalars['Boolean']['output']; label: Scalars['String']['output']; metrics: Array<HealthyBowlDiagnosisMetric>; /** OK | ATTENTION | URGENT | NO_DATA. */ status: Scalars['String']['output']; /** Honest human-readable summary; says so plainly when there is not enough data. */ summary: Scalars['String']['output']; }; export type HealthyBowlDueSoon = { __typename?: 'HealthyBowlDueSoon'; animalId: Scalars['ID']['output']; /** Days until the birth is expected. NEGATIVE when the date has already passed (BOFF-6280). */ daysUntilDue: Scalars['Int']['output']; expectedDeliveryDate: Scalars['String']['output']; /** The animal's name, shown after `tagNumber`. Null when she has none. */ name?: Maybe<Scalars['String']['output']>; /** * What is physically written on the animal, and how she is found in the shed (BOFF-6283). * * Nullable on purpose: a dam culled since her service still appears here only if she is in the herd, * but an unnamed or untagged animal must degrade to the id rather than blank the row. This is the one * actionable section of the card — before these existed it answered "who do I check on this week" * with a raw UUID. */ tagNumber?: Maybe<Scalars['String']['output']>; }; export type HealthyBowlExpertAvailabilityInput = { consultantId: Scalars['String']['input']; /** How many days forward. Defaults to 14, capped at 60 — a farmer picking a time does not scroll a year. */ days?: InputMaybe<Scalars['Int']['input']>; /** First day to offer, ISO. Defaults to today. */ from?: InputMaybe<Scalars['String']['input']>; }; export type HealthyBowlFarmRecommendation = { __typename?: 'HealthyBowlFarmRecommendation'; authorActorId: Scalars['String']['output']; /** * BOFF-3676 — HUMAN or MODEL. A farmer deciding whether to act on advice is entitled to know * whether a person or a model wrote it. */ authorKind: Scalars['String']['output']; authorName?: Maybe<Scalars['String']['output']>; /** * Model confidence in [0,1]. **Null means the model reported none** — it is never defaulted to a * number, because a fabricated confidence is what a decision card exists to prevent. */ confidence?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['String']['output']; decidedAt?: Maybe<Scalars['String']['output']>; decidedBy?: Maybe<Scalars['String']['output']>; /** ACCEPTED | REJECTED | ESCALATED — the human's verdict. Null until someone decides. */ decision?: Maybe<Scalars['String']['output']>; detail: Scalars['String']['output']; domain: Scalars['String']['output']; id: Scalars['ID']['output']; /** The model that produced it, when authorKind is MODEL. */ modelName?: Maybe<Scalars['String']['output']>; priority: Scalars['String']['output']; /** Why the model suggested this. A recommendation with no rationale is one a farmer cannot evaluate. */ rationale?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['String']['output']; /** * Caveats the card should show, computed on read — e.g. a model suggestion with no reasoning, or * with no reported confidence. Empty for human-authored advice. */ warnings: Array<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum HealthyBowlFarmRecommendationPriority { High = "HIGH", Low = "LOW", Medium = "MEDIUM", Urgent = "URGENT" } export declare enum HealthyBowlFarmRecommendationStatus { Acknowledged = "ACKNOWLEDGED", Open = "OPEN", Resolved = "RESOLVED" } export type HealthyBowlFarmingContract = { __typename?: 'HealthyBowlFarmingContract'; /** Count of farms with an ACCEPTED assignment on this contract. */ acceptedFarmCount: Scalars['Int']['output']; agreedPrice: Scalars['Float']['output']; createdAt: Scalars['String']['output']; crop: Scalars['String']['output']; deliverySchedule?: Maybe<Scalars['JSON']['output']>; documentFileId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; inputSupportTerms?: Maybe<Scalars['JSON']['output']>; pricingModel: Scalars['String']['output']; qualitySpec?: Maybe<Scalars['JSON']['output']>; quotaQty: Scalars['Float']['output']; status: Scalars['String']['output']; unit: Scalars['String']['output']; variety?: Maybe<Scalars['String']['output']>; }; /** * Feed intake and spend for one time bucket. * * `totalKg` is null whenever the bucket contains a unit that is not a mass (bags, litres, sacks): * a partial kilogram total would look complete and under-report intake. `byUnit` always carries the * raw per-unit quantities so a mixed-unit bucket is visible rather than silently flattened. */ export type HealthyBowlFeedBucket = { __typename?: 'HealthyBowlFeedBucket'; /** Bucket start, YYYY-MM-DD. */ at: Scalars['String']['output']; byUnit: Array<HealthyBowlFeedUnitTotal>; records: Scalars['Int']['output']; /** Spend in the bucket — summable whatever the feed was measured in. */ totalCost: Scalars['Float']['output']; /** Kilograms, or null when any contributing record used a non-mass unit. */ totalKg?: Maybe<Scalars['Float']['output']>; }; /** Roll-up for the feed view, including how efficiently feed became liveweight. */ export type HealthyBowlFeedSummary = { __typename?: 'HealthyBowlFeedSummary'; /** Animals with two or more weights in the window that actually gained. */ animalsCounted: Scalars['Int']['output']; /** Spend per kilogram gained — available even when intake cannot be measured in kilograms. */ costPerKgGain?: Maybe<Scalars['Float']['output']>; /** Kilograms of feed per kilogram gained; null without both a kilogram total and a positive gain. */ feedConversionRatio?: Maybe<Scalars['Float']['output']>; granularity: HealthyBowlGrowthGranularity; totalCost: Scalars['Float']['output']; /** Herd liveweight gained across the window; only animals that gained are counted. */ totalGainKg?: Maybe<Scalars['Float']['output']>; /** Null when intake could not be totalled on one basis — see HealthyBowlFeedBucket.totalKg. */ totalKg?: Maybe<Scalars['Float']['output']>; /** Every unit label seen in the window, so mixed units are explicit. */ unitsSeen: Array<Scalars['String']['output']>; windowFrom?: Maybe<Scalars['String']['output']>; windowTo?: Maybe<Scalars['String']['output']>; }; /** Feed quantity recorded under one unit label. */ export type HealthyBowlFeedUnitTotal = { __typename?: 'HealthyBowlFeedUnitTotal'; quantity: Scalars['Float']['output']; unit: Scalars['String']['output']; }; export type HealthyBowlFertilityBucket = { __typename?: 'HealthyBowlFertilityBucket'; /** Bucket start, YYYY-MM-DD, keyed on the MATING date. */ bucket: Scalars['String']['output']; conceived: Scalars['Int']['output']; conceptionRatePct?: Maybe<Scalars['Float']['output']>; deliveries: Scalars['Int']['output']; services: Scalars['Int']['output']; }; export type HealthyBowlFinancialDataPayload = { __typename?: 'HealthyBowlFinancialDataPayload'; budgets: Array<HealthyBowlBudget>; invoices: Array<HealthyBowlInvoice>; transactions: Array<HealthyBowlTransaction>; updatedAt: Scalars['DateTime']['output']; }; /** A read-only risk view of one farm a financier has been granted access to. */ export type HealthyBowlFinancierFarmView = { __typename?: 'HealthyBowlFinancierFarmView'; activeCrops: Scalars['Int']['output']; complianceAuditsPassed: Scalars['Int']['output']; farmName: Scalars['String']['output']; financialSummary: HealthyBowlFinancierFinancialSummary; grantedAt: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; /** LOW | MEDIUM | HIGH. */ riskBand: Scalars['String']['output']; /** Human-readable factors that drove the score. */ riskFactors: Array<Scalars['String']['output']>; /** Transparent rule-based creditworthiness score, 0–100 (higher = lower risk). */ riskScore: Scalars['Int']['output']; scope: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type HealthyBowlFinancierFinancialSummary = { __typename?: 'HealthyBowlFinancierFinancialSummary'; expenses: Scalars['Float']['output']; netProfit: Scalars['Float']['output']; outstanding: Scalars['Float']['output']; revenue: Scalars['Float']['output']; }; /** A farmer's grant of scoped read access to a financier (the financier never becomes a member). */ export type HealthyBowlFinancierGrant = { __typename?: 'HealthyBowlFinancierGrant'; expiresAt?: Maybe<Scalars['String']['output']>; financierActorId: Scalars['String']['output']; financierName?: Maybe<Scalars['String']['output']>; grantedAt: Scalars['String']['output']; id: Scalars['ID']['output']; scope: Scalars['String']['output']; status: Scalars['String']['output']; }; export declare enum HealthyBowlFinancierGrantScope { FinancialSummary = "FINANCIAL_SUMMARY" } export type HealthyBowlGeneralLedger = { __typename?: 'HealthyBowlGeneralLedger'; hasMore: Scalars['Boolean']['output']; rowCount: Scalars['Int']['output']; rows: Array<HealthyBowlGeneralLedgerRow>; totalCredit: Scalars['Float']['output']; totalDebit: Scalars['Float']['output']; }; export type HealthyBowlGeneralLedgerRow = { __typename?: 'HealthyBowlGeneralLedgerRow'; accountCode: Scalars['String']['output']; accountName: Scalars['String']['output']; accountType: Scalars['String']['output']; costCenterLabel?: Maybe<Scalars['String']['output']>; credit: Scalars['Float']['output']; date: Scalars['DateTime']['output']; debit: Scalars['Float']['output']; description?: Maybe<Scalars['String']['output']>; entryId: Scalars['ID']['output']; entryNumber: Scalars['String']['output']; id: Scalars['ID']['output']; reference?: Maybe<Scalars['String']['output']>; runningBalance: Scalars['Float']['output']; }; /** * The report types the generator can build today (BOFF-6022). * * Deliberately NOT every member of the Prisma `AnalyticsReportType` enum. LIVESTOCK, WEATHER and * MARKETPLACE exist on the model and have no builder, so listing them here would let a client send a * schema-valid value that is refused at runtime — the "not available yet" toast this ticket removes, * one layer down. Adding a member later is an additive schema change and safe. */ export declare enum HealthyBowlGeneratableReportType { /** Harvest yield by crop, over recorded harvests. */ Crop = "CROP", /** Cost by crop, over posted ledger lines. */ Financial = "FINANCIAL" } export type HealthyBowlGovernmentDataPayload = { __typename?: 'HealthyBowlGovernmentDataPayload'; activity: Array<GovernmentActivityItem>; announcements: Array<GovernmentAnnouncement>; applications: Array<SchemeApplication>; benefitsChart: Array<GovernmentBenefitPoint>; messages: Array<GovernmentMessage>; notifications: Array<GovernmentNotification>; schemes: Array<GovernmentScheme>; trainingPrograms: Array<TrainingProgram>; updatedAt: Scalars['DateTime']['output']; }; /** Result of marking government notifications read. */ export type HealthyBowlGovernmentNotificationReadPayload = { __typename?: 'HealthyBowlGovernmentNotificationReadPayload'; /** The updated notifications, re-read after the write. */ notifications: Array<GovernmentNotification>; success: Scalars['Boolean']['output']; updatedAt: Scalars['String']['output']; /** * Rows actually changed. Zero is a legitimate, successful outcome — ids belonging to another * workspace simply do not match, rather than throwing an error the gateway would mask. */ updatedCount: Scalars['Int']['output']; }; /** * One grazing move: a mob entering a paddock and — later — leaving it. * * `durationDays` is DERIVED from `enteredAt`/`exitedAt` on every read and is never stored. For an * open event it measures to now and keeps counting; for a closed event it measures to the exit and * never moves again. */ export type HealthyBowlGrazingEvent = { __typename?: 'HealthyBowlGrazingEvent'; /** True while the mob is still in the paddock. */ active: Scalars['Boolean']['output']; /** * Roster snapshot taken at entry — the animals that were ACTUALLY in the paddock. Recorded even * when `groupId` is set, because SMART group membership is rule-matched at read time and would * otherwise rewrite the history of every past move. */ animalIds: Array<Scalars['ID']['output']>; createdAt: Scalars['String']['output']; /** Days in the paddock, derived. Null only when the timestamps are unusable. */ durationDays?: Maybe<Scalars['Float']['output']>; enteredAt: Scalars['String']['output']; /** Null while the mob is still in the paddock. */ exitedAt?: Maybe<Scalars['String']['output']>; /** The animal group that moved, when the mob was a group. Null for an ad-hoc mob. */ groupId?: Maybe<Scalars['ID']['output']>; groupName?: Maybe<Scalars['String']['output']>; headCount: Scalars['Int']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; paddockId: Scalars['ID']['output']; paddockName: Scalars['String']['output']; /** * MANUAL | MIGRATED_LEGACY. MIGRATED_LEGACY rows were reconstructed from the legacy * `grazingPaddock` + `rotationDate` pair on the animal record and have no recorded exit, because * none was ever recorded — label them as imported rather than observed. */ source: Scalars['String']['output']; }; /** Roll-up for the grazing view. */ export type HealthyBowlGrazingSummary = { __typename?: 'HealthyBowlGrazingSummary'; /** The rest target applied to paddocks that do not set their own. */ defaultRestDays: Scalars['Int']['output']; /** Kilograms of liveweight in one animal unit (500 kg = one metric livestock unit). */ kgPerAnimalUnit: Scalars['Int']['output']; neverGrazed: Scalars['Int']['output']; occupied: Scalars['Int']['output']; paddocks: Scalars['Int']['output']; ready: Scalars['Int']['output']; resting: Scalars['Int']['output']; /** Herd-wide animal units per hectare. Null without both totals. */ stockingRateAuPerHa?: Maybe<Scalars['Float']['output']>; /** Herd-wide animal units across the OCCUPIED paddocks. Null when nothing grazing has been weighed. */ totalAnimalUnits?: Maybe<Scalars['Float']['output']>; /** * Hectares under grazing right now. Null when ANY occupied paddock has an unusable area — a short * denominator would overstate the rate below, and overstating a stocking rate is the direction that * talks someone out of moving a herd off overgrazed ground. */ totalHectares?: Maybe<Scalars['Float']['output']>; windowFrom?: Maybe<Scalars['String']['output']>; windowTo?: Maybe<Scalars['String']['output']>; }; /** Grazing view payload: paddock occupancy, rest, stocking rate and the recent moves. */ export type HealthyBowlGrazingView = { __typename?: 'HealthyBowlGrazingView'; paddocks: Array<HealthyBowlPaddockGrazing>; /** Recent moves across every paddock, newest first. */ recentMoves: Array<HealthyBowlGrazingEvent>; summary: HealthyBowlGrazingSummary; /** * True when the read hit a row cap and results are incomplete. Show it — a partial paddock list * under-reports occupancy with no other sign that it is wrong. */ truncated: Scalars['Boolean']['output']; /** * Animals still carrying a legacy `grazingPaddock` with NO `rotationDate`. Those rows could not be * reconstructed as events — an event with no entry time has no duration and no rest clock — so they * remain on the legacy columns and are counted here rather than being silently dropped. */ unmigratedLegacyAnimals: Scalars['Int']['output']; }; /** * Herd-average weight for one time bucket. * * Each animal is collapsed to its own mean inside the bucket before the herd average is taken, so an * animal weighed daily cannot outvote one weighed once. `animalCount` and `sampleSize` are both * exposed so a thin bucket is visible rather than plotted as if it were solid. */ export type HealthyBowlGrowthAveragePoint = { __typename?: 'HealthyBowlGrowthAveragePoint'; /** Distinct animals contributing to this bucket. */ animalCount: Scalars['Int']['output']; /** Bucket start, YYYY-MM-DD. */ at: Scalars['String']['output']; avgWeightKg: Scalars['Float']['output']; /** Raw measurements behind the average. */ sampleSize: Scalars['Int']['output']; }; /** * Bucket size for the herd-average line. Per-animal points are always raw measurements — this only * controls how the herd average is aggregated. */ export declare enum HealthyBowlGrowthGranularity { Day = "DAY", Month = "MONTH", Week = "WEEK" } /** An animal at one end of the ADG ranking. */ export type HealthyBowlGrowthLeader = { __typename?: 'HealthyBowlGrowthLeader'; adgKgPerDay: Scalars['Float']['output']; animalId: Scalars['ID']['output']; name: Scalars['String']['output']; tagNumber: Scalars['String']['output']; }; /** A single point on an animal's growth curve. */ export type HealthyBowlGrowthPoint = { __typename?: 'HealthyBowlGrowthPoint'; /** Measurement timestamp, ISO-8601. */ at: Scalars['String']['output']; weightKg: Scalars['Float']['output']; }; /** One animal's weight curve over the requested window, oldest point first (chart order). */ export type HealthyBowlGrowthSeries = { __typename?: 'HealthyBowlGrowthSeries'; /** Average daily gain (kg/day) across the window; null with < 2 measurements in it. */ adgKgPerDay?: Maybe<Scalars['Float']['output']>; animalId: Scalars['ID']['output']; groupId?: Maybe<Scalars['ID']['output']>; groupName?: Maybe<Scalars['String']['output']>; latestWeightAt?: Maybe<Scalars['String']['output']>; latestWeightKg?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; points: Array<HealthyBowlGrowthPoint>; tagNumber: Scalars['String']['output']; /** Species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY). */ type: Scalars['String']['output']; }; /** Roll-up for the growth view. */ export type HealthyBowlGrowthSummary = { __typename?: 'HealthyBowlGrowthSummary'; animalsWithWeights: Scalars['Int']['output']; /** Animals matching the filter that have no weight in the window — the coverage gap to chase. */ animalsWithoutWeights: Scalars['Int']['output']; fastestGrowing?: Maybe<HealthyBowlGrowthLeader>; granularity: HealthyBowlGrowthGranularity; medianAdgKgPerDay?: Maybe<Scalars['Float']['output']>; /** Null when fewer than two animals have a computable ADG. */ slowestGrowing?: Maybe<HealthyBowlGrowthLeader>; windowFrom?: Maybe<Scalars['String']['output']>; windowTo?: Maybe<Scalars['String']['output']>; }; /** Herd-level compliance summary for the deep herd view. */ export type HealthyBowlHerdComplianceSummary = { __typename?: 'HealthyBowlHerdComplianceSummary'; animalsClear: Scalars['Int']['output']; animalsInWithdrawal: Scalars['Int']['output']; /** e.g. '2 animals in medication withdrawal — do not sell milk'. Empty when none are withdrawn. */ complianceMessage: Scalars['String']['output']; /** Animals MATCHING the current `groupId`/`search` filters — not the herd total. The herd totals are on `groups[].animalCount`. */ totalAnimals: Scalars['Int']['output']; }; /** * What the herd is made of, as of the window end. * * Only observed categories are emitted for species/sex/status: an unlisted species is not "0 animals" * — the workspace simply does not farm it. The age bands are the exception, because they are a scale * rather than a ranking; all five are returned in age order so an empty band is visible. */ export type HealthyBowlHerdComposition = { __typename?: 'HealthyBowlHerdComposition'; /** * Animals whose date of birth is missing (the column is nullable) or impossible (in the future). * They are counted here rather than silently excluded, so the age chart's coverage is visible. */ animalsWithoutAge: Scalars['Int']['output']; /** * UNDER_6_MONTHS | MONTHS_6_TO_12 | YEARS_1_TO_2 | YEARS_2_TO_5 | OVER_5_YEARS, youngest first. * Empty when no animal has a usable date of birth — there is no denominator, so every share would * be an invention. */ byAgeBand: Array<HealthyBowlHerdCompositionSlice>; /** By sex (MALE|FEMALE), from the animal's gender. */ bySex: Array<HealthyBowlHerdCompositionSlice>; /** By species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY). */ bySpecies: Array<HealthyBowlHerdCompositionSlice>; /** By health status (HEALTHY|SICK|UNDER_TREATMENT|QUARANTINE|PREGNANT). */ byStatus: Array<HealthyBowlHerdCompositionSlice>; /** Median age in completed months across animals with a usable date of birth. */ medianAgeMonths?: Maybe<Scalars['Float']['output']>; }; /** One category of a herd composition breakdown. */ export type HealthyBowlHerdCompositionSlice = { __typename?: 'HealthyBowlHerdCompositionSlice'; count: Scalars['Int']['output']; /** Upper-cased category key, e.g. CATTLE, FEMALE, PREGNANT, YEARS_1_TO_2. */ key: Scalars['String']['output']; /** * Share of this breakdown's own denominator, in percent. For the age bands that denominator is the * animals with a usable date of birth — NOT the whole herd, which is why `animalsWithoutAge` is * reported alongside. */ sharePct: Scalars['Float']['output']; }; /** A compact deep-herd table row. */ export type HealthyBowlHerdDepthRow = { __typename?: 'HealthyBowlHerdDepthRow'; /** Average daily gain (kg/day) from weight history; null with < 2 weight records. */ adgKgPerDay?: Maybe<Scalars['Float']['output']>; animalId: Scalars['ID']['output']; /** * True when this animal has left the herd (soft-deleted). Only ever true for a caller that passed * `includeArchived: true` — see `healthyBowlHerdDepth`. Show the row muted rather than dropping it: * a culled or sold animal is still a valid dam or sire (BOFF-6011), which is the whole reason these * rows can be asked for. */ archived: Scalars['Boolean']['output']; bodyConditionScore?: Maybe<Scalars['Float']['output']>; eidTag?: Maybe<Scalars['String']['output']>; groupId?: Maybe<Scalars['ID']['output']>; groupName?: Maybe<Scalars['String']['output']>; latestWeightAt?: Maybe<Scalars['String']['output']>; latestWeightKg?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; tagNumber: Scalars['String']['output']; /** Species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY). */ type: Scalars['String']['output']; withdrawal: HealthyBowlAnimalWithdrawalBadge; }; /** The deep herd view payload. */ export type HealthyBowlHerdDepthView = { __typename?: 'HealthyBowlHerdDepthView'; groups: Array<HealthyBowlAnimalGroup>; rows: Array<HealthyBowlHerdDepthRow>; summary: HealthyBowlHerdComplianceSummary; /** * True when the read hit a row cap and this payload is incomplete — either the row list was cut at * the page size, or the herd is larger than the group counts could read. Show it: a herd list that * quietly stops being the herd is wrong with no other sign that it is wrong. */ truncated: Scalars['Boolean']['output']; }; /** * Output per head for one production type measured in one unit. * * Never summed across types or units. `ProductionRecord.unit` is free text and the types are not * commensurable — litres of milk, dozens of eggs and kilograms of wool have no common total, and * unlike feed there is no mass basis to convert onto. */ export type HealthyBowlHerdProductionPerHead = { __typename?: 'HealthyBowlHerdProductionPerHead'; /** Distinct animals that produced under this type and unit. */ animalsProducing: Scalars['Int']['output']; /** Output per head of average herd — judges the herd. Null when there was no herd. */ perHerdHead?: Maybe<Scalars['Float']['output']>; /** Output per animal that actually produced — judges the animals. Null with no producing animal. */ perProducingAnimal?: Maybe<Scalars['Float']['output']>; records: Scalars['Int']['output']; totalQuantity: Scalars['Float']['output']; /** MILK | EGGS | WOOL | MEAT | MANURE. */ type: Scalars['String']['output']; /** Unit label as recorded, normalised for case and trailing punctuation. */ unit: Scalars['String']['output']; }; /** Roll-up for the herd-statistics view. */ export type HealthyBowlHerdStatsSummary = { __typename?: 'HealthyBowlHerdStatsSummary'; /** The instant the composition is a snapshot of (the window end), YYYY-MM-DD. */ asOf: Scalars['String']['output']; granularity: HealthyBowlGrowthGranularity; /** Herd size at the window end — the herd the composition describes. */ herdCount: Scalars['Int']['output']; windowFrom?: Maybe<Scalars['String']['output']>; windowTo?: Maybe<Scalars['String']['output']>; }; /** * How much of the herd moved during the window. * * Entries and exits come from the animal record's creation and soft-delete timestamps, which are the * only movement signals stored. Two consequences worth showing the user: a workspace that bulk-imports * its herd registers one large entry event on the import date rather than the real arrivals, and an * exit says an animal left without saying why. */ export type HealthyBowlHerdTurnover = { __typename?: 'HealthyBowlHerdTurnover'; /** Mean of the opening and closing counts — the denominator behind the rates below. */ averageHerdCount: Scalars['Float']['output']; /** Movements per bucket. Only buckets with movement are emitted — a flat stretch is a flat line. */ buckets: Array<HealthyBowlHerdTurnoverBucket>; /** Herd size at the end of the window. */ closingCount: Scalars['Int']['output']; entered: Scalars['Int']['output']; /** Entries as a share of the average herd. Null when there was no herd to measure against. */ entryRatePct?: Maybe<Scalars['Float']['output']>; exited: Scalars['Int']['output']; /** * Deaths as a share of the average herd. * * Always null today, and deliberately so: `AnimalHealthStatus` has no DECEASED value and nothing * records a cause of exit, so a death cannot be told apart from a sale, a cull or a transfer. * Reporting `exited` as mortality would label every sold animal dead. Show * `mortalityUnavailableReason` in place of a number. */ mortalityRatePct?: Maybe<Scalars['Float']['output']>; /** Why `mortalityRatePct` is null. Null exactly when a rate was computable. */ mortalityUnavailableReason?: Maybe<Scalars['String']['output']>; netChange: Scalars['Int']['output']; /** Herd size at the start of the window. */ openingCount: Scalars['Int']['output']; /** Exits as a share of the average herd. Null when there was no herd to measure against. */ turnoverRatePct?: Maybe<Scalars['Float']['output']>; }; /** Herd entries and exits in one time bucket. */ export type HealthyBowlHerdTurnoverBucket = { __typename?: 'HealthyBowlHerdTurnoverBucket'; /** Bucket start, YYYY-MM-DD. */ at: Scalars['String']['output']; entered: Scalars['Int']['output']; exited: Scalars['Int']['output']; /** Herd size after this bucket's movements — a running line from `openingCount`. */ herdCount: Scalars['Int']['output']; netChange: Scalars['Int']['output']; }; export type HealthyBowlIcsDataPayload = { __typename?: 'HealthyBowlIcsDataPayload'; groups: Array<IcsGroupSummary>; growers: Array<IcsGrower>; inspections: Array<IcsInspection>; rollup: IcsRollup; }; export type HealthyBowlInputBudgetAnalytics = { __typename?: 'HealthyBowlInputBudgetAnalytics'; /** Allocated-but-not-yet-used cost. */ committed: Scalars['Float']['output']; costByCrop: Array<HealthyBowlCostByCropPoint>; inputMix: Array<HealthyBowlInputMixSlice>; plannedVsSpent: Array<HealthyBowlPlannedVsSpentPoint>; remaining: Scalars['Float']['output']; season: Scalars['String']['output']; spent: Scalars['Float']['output']; /** spent / totalBudget as a 0–100 percentage. */ spentPct: Scalars['Float']['output']; totalBudget: Scalars['Float']['output']; }; export type HealthyBowlInputMixSlice = { __typename?: 'HealthyBowlInputMixSlice'; amount: Scalars['Float']['output']; /** FERTILIZER | SEED | BIO_PESTICIDE | LABOUR | OTHER */ category: Scalars['String']['output']; label: Scalars['String']['output']; pct: Scalars['Float']['output']; }; export type HealthyBowlInputPlan = { __typename?: 'HealthyBowlInputPlan'; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items: Array<HealthyBowlInputPlanItem>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; season: Scalars['String']['output']; /** ACTIVE | ARCHIVED */ status: Scalars['String']['output']; totalAllocatedCost: Scalars['Float']['output']; totalPlannedBudget: Scalars['Float']['output']; totalSpent: Scalars['Float']['output']; updatedAt: Scalars['String']['output']; }; export type HealthyBowlInputPlanItem = { __typename?: 'HealthyBowlInputPlanItem'; /** allocatedQty * unitCost — committed (allocated) cost. */ allocatedCost: Scalars['Float']['output']; allocatedQty: Scalars['Float']['output']; /** FERTILIZER | SEED | BIO_PESTICIDE | LABOUR | OTHER */ category: Scalars['String']['output']; createdAt: Scalars['String']['output']; cropId?: Maybe<Scalars['String']['output']>; cropName?: Maybe<Scalars['String']['output']>; fieldId?: Maybe<Scalars['String']['output']>; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; inputType: Scalars['String']['output']; planId: Scalars['ID']['output']; /** Farmer-set budget for this input row. */ plannedBudget: Scalars['Float']['output']; plannedQty: Scalars['Float']['output']; /** planned - used (never below 0). */ remainingQty: Scalars['Float']['output']; /** usedQty * unitCost — the amount actually spent so far. */ spent: Scalars['Float']['output']; /** Derived: ON_TRACK | LOW_STOCK | FULLY_USED | UNDER_ALLOCATED | OVER_BUDGET */ status: Scalars['String']['output']; unit: Scalars['String']['output']; unitCost: Scalars['Float']['output']; updatedAt: Scalars['String']['output']; usedQty: Scalars['Float']['output']; }; export type HealthyBowlInputPlanItemInput = { allocatedQty?: InputMaybe<Scalars['Float']['input']>; /** FERTILIZER | SEED | BIO_PESTICIDE | LABOUR | OTHER */ category?: InputMaybe<Scalars['String']['input']>; cropId?: InputMaybe<Scalars['String']['input']>; cropName?: InputMaybe<Scalars['String']['input']>; fieldId?: InputMaybe<Scalars['String']['input']>; fieldName: Scalars['String']['input']; inputType: Scalars['String']['input']; plannedBudget?: InputMaybe<Scalars['Float']['input']>; plannedQty?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<Scalars['String']['input']>; unitCost?: InputMaybe<Scalars['Float']['input']>; usedQty?: InputMaybe<Scalars['Float']['input']>; }; export type HealthyBowlInsuranceClaim = { __typename?: 'HealthyBowlInsuranceClaim'; approvedAmount?: Maybe<Scalars['Float']['output']>; claimNumber: Scalars['String']['output']; claimedAmount: Scalars['Float']['output']; createdAt: Scalars['String']['output']; cropName?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; documentIds: Array<Scalars['String']['output']>; estimatedLossPct: Scalars['Float']['output']; events: Array<HealthyBowlInsuranceClaimEvent>; fieldId?: Maybe<Scalars['String']['output']>; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; incidentDate: Scalars['String']['output']; /** PEST | DISEASE | FLOOD | DROUGHT | HAILSTORM | CYCLONE | FIRE | OTHER */ incidentType: Scalars['String']['output']; notifiedArea?: Maybe<Scalars['String']['output']>; photoIds: Array<Scalars['String']['output']>; policyId: Scalars['ID']['output']; policySeason?: Maybe<Scalars['String']['output']>; /** FILED | DOCUMENTS_VERIFIED | INSPECTION_SCHEDULED | UNDER_INSPECTION | ASSESSMENT_REPORTED | PAYOUT_APPROVED | SETTLED | REJECTED */ status: Scalars['String']['output']; sumInsured: Scalars['Float']['output']; surveyorName?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['String']['output']; }; export type HealthyBowlInsuranceClaimEvent = { __typename?: 'HealthyBowlInsuranceClaimEvent'; actorId?: Maybe<Scalars['String']['output']>; /** true once this timeline step is reached; the resolver marks pending steps too. */ createdAt: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; eventDate: Scalars['String']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; status: Scalars['String']['output']; }; /** Attach a file to (or clear) one document slot. */ export type HealthyBowlInsuranceDocumentInput = { /** Slot code from the catalog, e.g. `pmfby_land_record`. */ code: Scalars['String']['input']; /** wspace-files fileId. Omit to clear the slot. */ fileId?: InputMaybe<Scalars['String']['input']>; fileName?: InputMaybe<Scalars['String']['input']>; /** Mark the slot not applicable, so it stops blocking submit. Wins over an attached file. */ notApplicable?: InputMaybe<Scalars['Boolean']['input']>; }; /** * One required-document slot on an insurance application (BOFF-6079). * * ⚠️ `status` reaching `UPLOADED` means **a file is attached**, not that anyone checked what is in * it. Spec 08 §2.6 exists as a guard-rail against claiming a document-verification feature, and * confirming that a file id resolves is not confirming its contents are a valid land record. Do not * surface this as "verified" anywhere. * * The labels are a readiness aid drawn from what the product already named, not the official PMFBY * requirement set — see `government/insurance-document-catalog.ts`. */ export type HealthyBowlInsuranceDocumentSlot = { __typename?: 'HealthyBowlInsuranceDocumentSlot'; code: Scalars['String']['output']; description: Scalars['String']['output']; fileId?: Maybe<Scalars['String']['output']>; fileName?: Maybe<Scalars['String']['output']>; label: Scalars['String']['output']; /** A required slot blocks submit unless the farmer marks it not applicable. */ required: Scalars['Boolean']['output']; /** MISSING | UPLOADED | NOT_APPLICABLE */ status: Scalars['String']['output']; uploadedAt?: Maybe<Scalars['String']['output']>; }; export type HealthyBowlInsuranceEnrollmentSummary = { __typename?: 'HealthyBowlInsuranceEnrollmentSummary'; activeClaims: Scalars['Int']['output']; activePolicies: Scalars['Int']['output']; /** Distinct fields with an active (non-rejected) policy. */ fieldsCovered: Scalars['Int']['output']; /** Sum of farmer-share premium still DUE. */ premiumDueTotal: Scalars['Float']['output']; season: Scalars['String']['output']; sumInsuredTotal: Scalars['Float']['output']; totalFields: Scalars['Int']['output']; }; export type HealthyBowlInsurancePolicy = { __typename?: 'HealthyBowlInsurancePolicy'; activeClaimCount: Scalars['Int']['output']; areaAcres: Scalars['Float']['output']; /** Opaque global-billing BillingOrder id for the premium charge. */ billingOrderId?: Maybe<Scalars['String']['output']>; billingSyncError?: Maybe<Scalars['String']['output']>; /** NONE | PENDING | SYNCED | FAILED */ billingSyncStatus: Scalars['String']['output']; /** PMFBY | RWBCIS | OTHER */ coverageType: Scalars['String']['output']; createdAt: Scalars['String']['output']; cropName?: Maybe<Scalars['String']['output']>; /** * The required-document slots for this policy's coverage type, joined to whatever is attached * (BOFF-6079). * * A policy created before BOFF-6079 keeps every file id it had — they surface in `documentIds` * — but reads all-MISSING here, because nothing recorded which document each file was. */ documentChecklist: Array<HealthyBowlInsuranceDocumentSlot>; /** wspace-files fileIds attached at enrolment. */ documentIds: Array<Scalars['String']['output']>; /** Labels of the required slots still outstanding. Empty when `documentsReady`. */ documentsMissing: Array<Scalars['String']['output']>; /** True when no REQUIRED slot is still missing. Readiness, NOT verification — see the slot type. */ documentsReady: Scalars['Boolean']['output']; farmerSharePct: Scalars['Float']['output']; farmerSharePremium: Scalars['Float']['output']; fieldId?: Maybe<Scalars['String']['output']>; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; insurer?: Maybe<Scalars['String']['output']>; notifiedArea?: Maybe<Scalars['String']['output']>; /** What global-billing says was actually collected. Null until settled. */ paidAmount?: Maybe<Scalars['Float']['output']>; /** When global-billing settled the premium. Null (never "") until settled. */ paidAt?: Maybe<Scalars['String']['output']>; /** RAZORPAY | STRIPE, as global-billing resolved it. Null until the premium is settled. */ paymentProvider?: Maybe<Scalars['String']['output']>; /** * The payment gateway's OWN reference (Razorpay pay_xxx) for the settled premium. This is the * evidence that money actually moved: a PAID premium with no paymentReference was stamped by the * pre-BOFF-6045 code, which marked policies paid without ever charging anybody. */ paymentReference?: Maybe<Scalars['String']['output']>; policyNumber?: Maybe<Scalars['String']['output']>; /** DUE | PROCESSING | PAID | FAILED */ premiumStatus: Scalars['String']['output']; premiumTotal: Scalars['Float']['output']; /** Canonical SchemeApplication id this enrolment was submitted as. */ schemeApplicationId?: Maybe<Scalars['String']['output']>; schemeId?: Maybe<Scalars['String']['output']>; season: Scalars['String']['output']; sowingDate?: Maybe<Scalars['String']['output']>; /** SUBMITTED | UNDER_REVIEW | ENROLLED | REJECTED | EXPIRED */ status: Scalars['String']['output']; subsidyPct: Scalars['Float']['output']; sumInsured: Scalars['Float']['output']; updatedAt: Scalars['String']['output']; }; export type HealthyBowlInvoice = { __typename?: 'HealthyBowlInvoice'; customer: Scalars['String']['output']; date: Scalars['String']['output']; dueDate: Scalars['String']['output']; id: Scalars['ID']['output']; invoiceNumber: Scalars['String']['output']; items: Array<HealthyBowlInvoiceItem>; status: Scalars['String']['output']; subtotal: Scalars['Float']['output']; tax: Scalars['Float']['output']; total: Scalars['Float']['output']; }; export type HealthyBowlInvoiceItem = { __typename?: 'HealthyBowlInvoiceItem'; amount: Scalars['Float']['output']; description: Scalars['String']['output']; quantity: Scalars['Float']['output']; rate: Scalars['Float']['output']; }; /** BOFF-6049 - a real invoice PDF, base64-encoded. Replaces the plain-text .txt the download used to produce. */ export type HealthyBowlInvoicePdf = { __typename?: 'HealthyBowlInvoicePdf'; contentType: Scalars['String']['output']; fileName: Scalars['String']['output']; id: Scalars['ID']['output']; invoiceNumber: Scalars['String']['output']; pdfBase64: Scalars['String']['output']; }; export type HealthyBowlJournalEntry = { __typename?: 'HealthyBowlJournalEntry'; balanced: Scalars['Boolean']['output']; /** Opaque global-billing BillingOrder id when this entry was projected to billing. */ billingOrderId?: Maybe<Scalars['String']['output']>; billingSyncError?: Maybe<Scalars['String']['output']>; /** null | PENDING | SYNCED | FAILED */ billingSyncStatus?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; entryNumber: Scalars['String']['output']; id: Scalars['ID']['output']; lines: Array<HealthyBowlJournalLine>; memo: Scalars['String']['output']; postedAt?: Maybe<Scalars['DateTime']['output']>; reference?: Maybe<Scalars['String']['output']>; /** MANUAL | TRANSACTION | INVOICE | SYSTEM */ source: Scalars['String']['output']; sourceRefId?: Maybe<Scalars['String']['output']>; /** DRAFT | POSTED | VOID */ status: Scalars['String']['output']; totalCredit: Scalars['Float']['output']; totalDebit: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlJournalLine = { __typename?: 'HealthyBowlJournalLine'; accountCode: Scalars['String']['output']; accountId: Scalars['ID']['output']; accountName: Scalars['String']['output']; accountType: Scalars['String']['output']; costCenterCode?: Maybe<Scalars['String']['output']>; costCenterId?: Maybe<Scalars['ID']['output']>; costCenterLabel?: Maybe<Scalars['String']['output']>; credit: Scalars['Float']['output']; debit: Scalars['Float']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lineOrder: Scalars['Int']['output']; }; export type HealthyBowlJournalLineInput = { accountCode?: InputMaybe<Scalars['String']['input']>; /** Either accountId or accountCode identifies the account; accountId wins when both are set. */ accountId?: InputMaybe<Scalars['ID']['input']>; costCenterId?: InputMaybe<Scalars['ID']['input']>; credit?: InputMaybe<Scalars['Float']['input']>; debit?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; }; export type HealthyBowlLabourEntry = { __typename?: 'HealthyBowlLabourEntry'; computedCost: Scalars['Float']['output']; /** Mandatory: cost-by-crop ignores journal lines without it. */ costCenterId: Scalars['ID']['output']; crewId?: Maybe<Scalars['ID']['output']>; cropId?: Maybe<Scalars['ID']['output']>; date: Scalars['String']['output']; fieldId?: Maybe<Scalars['ID']['output']>; hours: Scalars['Float']['output']; id: Scalars['ID']['output']; journalEntryId?: Maybe<Scalars['ID']['output']>; note?: Maybe<Scalars['String']['output']>; quantity?: Maybe<Scalars['Float']['output']>; rateAmount: Scalars['Float']['output']; /** DAY | HOUR | PIECE */ rateType: Scalars['String']['output']; /** DRAFT | APPROVED. Only APPROVED has reached the ledger. */ status: Scalars['String']['output']; /** Opaque PlanMagnet task id; not a HealthyBowl UUID. */ taskId?: Maybe<Scalars['String']['output']>; workerId: Scalars['ID']['output']; workerName: Scalars['String']['output']; }; export type HealthyBowlLabourSummary = { __typename?: 'HealthyBowlLabourSummary'; approvedEntries: Scalars['Int']['output']; draftEntries: Scalars['Int']['output']; /** Cost from APPROVED entries only; this agrees with the ledger. */ totalCost: Scalars['Float']['output']; totalEntries: Scalars['Int']['output']; /** Hours from APPROVED entries only; draft work is not yet financial history. */ totalHours: Scalars['Float']['output']; }; export type HealthyBowlLedgerAccount = { __typename?: 'HealthyBowlLedgerAccount'; /** ASSET | LIABILITY | EQUITY | INCOME | EXPENSE */ accountType: Scalars['String']['output']; /** Current net balance from POSTED journal lines (debit-positive). */ balance: Scalars['Float']['output']; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; isSystem: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** DEBIT | CREDIT — the side that increases this account. */ normalBalance: Scalars['String']['output']; sortOrder: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlLivestockDataPayload = { __typename?: 'HealthyBowlLivestockDataPayload'; animals: Array<Animal>; breedingRecords: Array<BreedingRecord>; feedRecords: Array<FeedRecord>; healthRecords: Array<HealthRecord>; productionRecords: Array<ProductionRecord>; /** * Records held back because the animal they belong to has left the herd (BOFF-6009). * * Every stream above is scoped to animals still in `animals`, so a record count and a herd count * always describe the same population — previously a record outlived its animal's removal and any * per-head rate divided by a herd that excluded it. Surfaced rather than dropped silently: a farmer * who removes an animal sees their totals fall, and a number they can point at is the difference * between "the app lost my data" and "those belonged to the animal I deleted". 0 means no record is * attached to a removed animal. */ recordsForRemovedAnimals: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; vaccinations: Array<Vaccination>; }; /** Feed analytics payload: intake and spend over time, plus conversion efficiency. */ export type HealthyBowlLivestockFeed = { __typename?: 'HealthyBowlLivestockFeed'; buckets: Array<HealthyBowlFeedBucket>; summary: HealthyBowlFeedSummary; /** True when the read hit its row cap and results are incomplete. */ truncated: Scalars['Boolean']['output']; }; /** * Fertility across the herd: is it actually breeding? * * ★ `meanCalvingIntervalDays` is null WITH a reason when any delivered record predates birth-date * capture. An interval computed across an undated birth merges two gaps into one and OVERSTATES it — * which hides a fertility problem behind a number that reads as merely mediocre. A farmer culls * animals on these figures, so it is withheld rather than guessed. */ export type HealthyBowlLivestockFertility = { __typename?: 'HealthyBowlLivestockFertility'; /** Non-null means the interval could NOT be computed honestly; it explains why and how to fix it. */ calvingIntervalUnavailableReason?: Maybe<Scalars['String']['output']>; conceived: Scalars['Int']['output']; conceptionRatePct?: Maybe<Scalars['Float']['output']>; damsWithFirstCalving: Scalars['Int']['output']; damsWithInterval: Scalars['Int']['output']; deliveries: Scalars['Int']['output']; /** Deliveries that recorded how many were born — the denominator for `meanOffspringBorn`. */ deliveriesWithCounts: Scalars['Int']['output']; /** * Deliveries that recorded how many were born ALIVE — the denominator for `meanOffspringLive`. * * Never greater than `deliveriesWithCounts`, and often smaller: the two counts are captured * independently. When they differ, `meanOffspringBorn` and `meanOffspringLive` are averages over * DIFFERENT sets of deliveries and MUST NOT be presented as a comparable pair — doing so is what * once printed "mean born 2.0" beside "mean born alive 3.0". Pair the live average with * `meanOffspringBornWhereLiveKnown` instead. */ deliveriesWithLiveCounts: Scalars['Int']['output']; /** * Open pregnancies due within 30 days, OR already up to 30 days overdue. Excludes finished records. * * An overdue row carries a NEGATIVE `daysUntilDue` and is the most urgent entry on a calving * worklist — do not filter those out client-side. The look-back is bounded because past about a * month the explanation is no longer lateness but an unrecorded birth or a pregnancy that never was. */ dueSoon: Array<HealthyBowlDueSoon>; granularity: HealthyBowlGrowthGranularity; meanAgeAtFirstCalvingDays?: Maybe<Scalars['Int']['output']>; meanCalvingIntervalDays?: Maybe<Scalars['Int']['output']>; meanOffspringBorn?: Maybe<Scalars['Float']['output']>; /** * Mean born over the same narrower subset `meanOffspringLive` is computed on, so the live figure has * a base it can honestly be read against. * * `meanOffspringLive <= meanOffspringBornWhereLiveKnown` always holds. That guarantee does NOT * extend to `meanOffspringBorn`. */ meanOffspringBornWhereLiveKnown?: Maybe<Scalars['Float']['output']>; /** Null where live counts were never recorded — an unrecorded count is not a total loss. */ meanOffspringLive?: Maybe<Scalars['Float']['output']>; medianAgeAtFirstCalvingDays?: Maybe<Scalars['Float']['output']>; medianCalvingIntervalDays?: Maybe<Scalars['Float']['output']>; /** Null where live counts were never recorded — an unrecorded count is not a total loss. */ perinatalMortalityPct?: Maybe<Scalars['Float']['output']>; periodLabel: Scalars['String']['output']; /** Confirmed pregnancies that later failed, as a share of confirmed pregnancies — not of all services. */ pregnancyLossPct?: Maybe<Scalars['Float']['output']>; /** * Non-null means loss could NOT be computed honestly; it explains why and what would fix it. * * Always set today: `pregnancyConfirmed` is readable but accepted by neither the create nor the * update mutation, so every record carries its column default of `false` and a real loss cannot be * told apart from a service that never conceived. Reporting the raw ratio would print a confident * 0% on every herd in the product, including one losing every calf it confirmed. */ pregnancyLossUnavailableReason?: Maybe<Scalars['String']['output']>; /** Services in the window. A conception counts CONFIRMED **or** DELIVERED — counting only CONFIRMED would score every pregnancy that ran to term as a failure. */ services: Scalars['Int']['output']; servicesPerConception?: Maybe<Scalars['Float']['output']>; trend: Array<HealthyBowlFertilityBucket>; /** True when the read hit its row cap, so every figure below is computed over a partial herd. */ truncated: Scalars['Boolean']['output']; }; /** Growth analytics payload: per-animal curves, a herd-average line, and ADG leaders. */ export type HealthyBowlLivestockGrowth = { __typename?: 'HealthyBowlLivestockGrowth'; herdAverage: Array<HealthyBowlGrowthAveragePoint>; series: Array<HealthyBowlGrowthSeries>; summary: HealthyBowlGrowthSummary; /** * True when the read hit its row cap and results are incomplete. Show it — a truncated herd * average is wrong with no other sign that it is wrong. */ truncated: Scalars['Boolean']['output']; }; /** * Herd statistics: composition, turnover, and production per head. * * Carries no growth figures on purpose — `healthyBowlLivestockGrowth` owns ADG and holds the single * definition of it, and a second copy here would eventually disagree with the first. */ export type HealthyBowlLivestockHerdStats = { __typename?: 'HealthyBowlLivestockHerdStats'; composition: HealthyBowlHerdComposition; /** Per-head output, one row per production type and unit. */ production: Array<HealthyBowlHerdProductionPerHead>; summary: HealthyBowlHerdStatsSummary; /** * True when the read hit its row cap and results are incomplete. Show it — an undercounted herd is * wrong with no other sign that it is wrong. */ truncated: Scalars['Boolean']['output']; turnover: HealthyBowlHerdTurnover; }; /** What an import did — or, when `dryRun` was set, precisely what it would do. */ export type HealthyBowlLivestockImportResult = { __typename?: 'HealthyBowlLivestockImportResult'; /** True when nothing was written. */ dryRun: Scalars['Boolean']['output']; /** * Rows already present with the same animal, date and vaccine/diagnosis. Skipped rather than * written twice, so re-running a migration cannot double a herd's history. */ duplicates: Scalars['Int']['output']; /** One message per problem, each carrying its CSV line number so it can actually be fixed. */ errors: Array<Scalars['String']['output']>; /** Rows created, or that would be created. */ imported: Scalars['Int']['output']; /** Rows refused — unreadable, or naming an animal that is not in this herd. Each has an error. */ skipped: Scalars['Int']['output']; /** * Tags named by the CSV that do not exist in this workspace, de-duplicated. The animal is never * created from a tag: a typo would otherwise put a ghost in the herd carrying real medical history. */ unknownTags: Array<Scalars['String']['output']>; }; /** An immutable record of a lender transfer completed outside HealthyBowl. Amounts are exact decimal strings. */ export type HealthyBowlLoanDisbursement = { __typename?: 'HealthyBowlLoanDisbursement'; amount: Scalars['String']['output']; annualInterestRatePct: Scalars['String']['output']; createdAt: Scalars['String']['output']; currency: Scalars['String']['output']; disbursedAt: Scalars['String']['output']; /** INITIAL today; future milestone drawdowns use server-derived MILESTONE:<id> keys. */ drawdownKey: Scalars['String']['output']; /** Opaque metadata only; HealthyBowl does not read or act on this billing reference. */ externalBillingReference?: Maybe<Scalars['String']['output']>; externalCompletedConfirmedAt: Scalars['String']['output']; externalCompletedConfirmedBy: Scalars['String']['output']; externalTransferReference?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; journalEntryId: Scalars['ID']['output']; loanId: Scalars['ID']['output']; /** POSTED */ status: Scalars['String']['output']; tenureMonths: Scalars['Int']['output']; }; export type HealthyBowlLoanFacilitation = { __typename?: 'HealthyBowlLoanFacilitation'; amount: Scalars['Float']['output']; communityFunded: Scalars['Boolean']['output']; createdAt: Scalars['String']['output']; currency: Scalars['String']['output']; /** * BOFF-6077 — what the lender has AUTHORISED for milestone release, and what has been released. * * Authorisation figures, not a balance. Nothing holds this money; see `HealthyBowlLoanMilestone`. */ escrowCommitted: Scalars['Float']['output']; escrowReleased: Scalars['Float']['output']; expiresAt?: Maybe<Scalars['String']['output']>; financierActorId?: Maybe<Scalars['String']['output']>; /** FinancierAccessGrant that backs this loan's consent (time-bounded, revocable). */ grantId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; interestRatePct?: Maybe<Scalars['Float']['output']>; lenderName: Scalars['String']['output']; pledgedFieldIds: Array<Scalars['String']['output']>; purpose?: Maybe<Scalars['String']['output']>; sharedRecords: HealthyBowlLoanSharedRecords; /** REQUESTED | SHARED | REVIEWING | APPROVED | DECLINED | DISBURSED | REPAID | REVOKED */ status: Scalars['String']['output']; tenureMonths: Scalars['Int']['output']; updatedAt: Scalars['String']['output']; }; /** Workspace-scoped derived balances plus immutable loan money-event history. */ export type HealthyBowlLoanFinancialDetail = { __typename?: 'HealthyBowlLoanFinancialDetail'; currency: Scalars['String']['output']; disbursedPrincipal: Scalars['String']['output']; disbursements: Array<HealthyBowlLoanDisbursement>; installments: Array<HealthyBowlLoanInstallment>; loanId: Scalars['ID']['output']; loanStatus: Scalars['String']['output']; outstandingInterest: Scalars['String']['output']; outstandingPrincipal: Scalars['String']['output']; outstandingTotal: Scalars['String']['output']; repaidInterest: Scalars['String']['output']; repaidPrincipal: Scalars['String']['output']; repayments: Array<HealthyBowlLoanRepayment>; scheduledInterest: Scalars['String']['output']; totalRepaid: Scalars['String']['output']; }; /** One immutable row in the UTC reducing-balance schedule. Amounts are exact decimal strings. */ export type HealthyBowlLoanInstallment = { __typename?: 'HealthyBowlLoanInstallment'; closingPrincipal: Scalars['String']['output']; createdAt: Scalars['String']['output']; disbursementId: Scalars['ID']['output']; dueDate: Scalars['String']['output']; id: Scalars['ID']['output']; installmentNumber: Scalars['Int']['output']; interestDue: Scalars['String']['output']; loanId: Scalars['ID']['output']; openingPrincipal: Scalars['String']['output']; paidAmount: Scalars['String']['output']; /** UPCOMING | DUE | PARTIALLY_PAID | PAID; derived from posted events, never stored on the schedule. */ paymentStatus: Scalars['String']['output']; principalDue: Scalars['String']['output']; remainingDue: Scalars['String']['output']; totalDue: Scalars['String']['output']; }; /** * BOFF-6077 — one tranche of a facilitated loan's release schedule. * * ### Read this before writing UI copy * * This is an **authorisation** record, not custody. HealthyBowl holds no money and `global-billing-svc` * has no hold/capture primitive, so a RELEASED milestone means "the farm proved the condition and the * lender's release is on record" — **not** that funds moved. Labelling it "escrow held" or showing it * as a balance would put a claim on screen the system cannot honour. * * The money leg is BOFF-6076's disbursement rail. */ export type HealthyBowlLoanMilestone = { __typename?: 'HealthyBowlLoanMilestone'; createdAt: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; evidenceId?: Maybe<Scalars['ID']['output']>; /** HARVEST | PLANTING_ACTIVITY — the kind of farm record that proves this milestone. */ evidenceType?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; label: Scalars['String']['output']; loanId: Scalars['ID']['output']; releaseAmount: Scalars['Float']['output']; releasedAt?: Maybe<Scalars['String']['output']>; releasedBy?: Maybe<Scalars['String']['output']>; /** 1-based position in the release sequence. */ sequence: Scalars['Int']['output']; /** PENDING | RELEASED | CANCELLED */ status: Scalars['String']['output']; updatedAt: Scalars['String']['output']; }; /** An immutable allocation for a repayment completed outside HealthyBowl; POSTED may only become VOID. */ export type HealthyBowlLoanRepayment = { __typename?: 'HealthyBowlLoanRepayment'; amount: Scalars['String']['output']; createdAt: Scalars['String']['output']; currency: Scalars['String']['output']; /** Opaque metadata only; HealthyBowl does not read or act on this billing reference. */ externalBillingReference?: Maybe<Scalars['String']['output']>; externalCompletedConfirmedAt: Scalars['String']['output']; externalCompletedConfirmedBy: Scalars['String']['output']; externalTransferReference?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; idempotencyKey: Scalars['String']['output']; interestAmount: Scalars['String']['output']; journalEntryId: Scalars['ID']['output']; loanId: Scalars['ID']['output']; principalAmount: Scalars['String']['output']; repaidAt: Scalars['String']['output']; /** POSTED | VOID */ status: Scalars['String']['output']; updatedAt: Scalars['String']['output']; voidReason?: Maybe<Scalars['String']['output']>; voidedAt?: Maybe<Scalars['String']['output']>; voidedBy?: Maybe<Scalars['String']['output']>; }; export type HealthyBowlLoanSharedRecords = { __typename?: 'HealthyBowlLoanSharedRecords'; costBudget: Scalars['Boolean']['output']; cropYield: Scalars['Boolean']['output']; fieldRecords: Scalars['Boolean']['output']; inputPlan: Scalars['Boolean']['output']; }; export type HealthyBowlLoanSharedRecordsInput = { costBudget?: InputMaybe<Scalars['Boolean']['input']>; cropYield?: InputMaybe<Scalars['Boolean']['input']>; fieldRecords?: InputMaybe<Scalars['Boolean']['input']>; inputPlan?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Outcome of an import. Partial success is intentional: one bad row does not cost the farmer the * other nine, and every skip is explained in `warnings` rather than disappearing. */ export type HealthyBowlMachinerySpendImportResult = { __typename?: 'HealthyBowlMachinerySpendImportResult'; imported: Scalars['Int']['output']; skipped: Scalars['Int']['output']; transactionIds: Array<Scalars['ID']['output']>; warnings: Array<Scalars['String']['output']>; }; /** One record to import, with the cost centre its cost should be attributed to. */ export type HealthyBowlMachinerySpendItemInput = { /** * Farm cost centre (crop / animal / other) to attribute the expense to. Omit to book the expense * without attribution — it still reaches the P&L, but leaves every cost-by-crop row unchanged. */ costCenterId?: InputMaybe<Scalars['ID']['input']>; maintenanceRecordId: Scalars['ID']['input']; }; /** * One piece of machinery spend from AssetHandler, and whether HealthyBowl has already booked it * (BOFF-6121). * * AssetHandler owns the maintenance record; HealthyBowl owns only the decision to attribute its cost * to a crop. Only COMPLETED records with a recorded, positive `actualCost` ever appear here — an * estimate imported as though it were spend would put a number the farmer never paid into their P&L. */ export type HealthyBowlMachinerySpendRow = { __typename?: 'HealthyBowlMachinerySpendRow'; actualCost: Scalars['Float']['output']; assetId: Scalars['ID']['output']; /** "Tractor (TR-01)" when AssetHandler answered; null when only the asset id is known. */ assetLabel?: Maybe<Scalars['String']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** True once a HealthyBowl Transaction exists for this record. */ imported: Scalars['Boolean']['output']; /** AssetHandler's MaintenanceRecord id. Loose reference across a service boundary, never an FK. */ maintenanceRecordId: Scalars['ID']['output']; title: Scalars['String']['output']; /** The transaction it became, when already imported. */ transactionId?: Maybe<Scalars['ID']['output']>; }; export type HealthyBowlMandiPriceFilterInput = { commodity?: InputMaybe<Scalars['String']['input']>; district?: InputMaybe<Scalars['String']['input']>; /** Only prices on/after this date. */ fromDate?: InputMaybe<Scalars['DateTime']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; marketName?: InputMaybe<Scalars['String']['input']>; state?: InputMaybe<Scalars['String']['input']>; /** Only prices on/before this date. */ toDate?: InputMaybe<Scalars['DateTime']['input']>; variety?: InputMaybe<Scalars['String']['input']>; }; /** One price row for the ingest payload (M2M / cron writer). */ export type HealthyBowlMandiPriceInput = { arrivalQty?: InputMaybe<Scalars['Float']['input']>; commodity: Scalars['String']['input']; district?: InputMaybe<Scalars['String']['input']>; marketName: Scalars['String']['input']; maxPrice?: InputMaybe<Scalars['Float']['input']>; minPrice?: InputMaybe<Scalars['Float']['input']>; modalPrice: Scalars['Float']['input']; priceDate?: InputMaybe<Scalars['DateTime']['input']>; source?: InputMaybe<Scalars['String']['input']>; state?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; variety?: InputMaybe<Scalars['String']['input']>; }; export type HealthyBowlMarketplaceDataPayload = { __typename?: 'HealthyBowlMarketplaceDataPayload'; marketplaceProducts: Array<MarketplaceProduct>; orders: Array<Order>; updatedAt: Scalars['DateTime']['output']; }; /** An uncommitted harvest record in a member farm, offered to the lot builder. */ export type HealthyBowlMemberAvailability = { __typename?: 'HealthyBowlMemberAvailability'; cropName?: Maybe<Scalars['String']['output']>; harvestDate?: Maybe<Scalars['DateTime']['output']>; harvestRecordId: Scalars['ID']['output']; memberName?: Maybe<Scalars['String']['output']>; memberWorkspaceId: Scalars['ID']['output']; membershipId?: Maybe<Scalars['ID']['output']>; quality?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; unit?: Maybe<Scalars['String']['output']>; variety?: Maybe<Scalars['String']['output']>; }; export type HealthyBowlNetworkDataPayload = { __typename?: 'HealthyBowlNetworkDataPayload'; agenda: Array<EventAgendaItem>; communityPosts: Array<CommunityPost>; events: Array<FarmEvent>; experts: Array<Expert>; mentors: Array<Mentor>; updatedAt: Scalars['DateTime']['output']; }; /** * Notify @-mentioned members of a Farm Tasks comment. The comment itself lives in * the shared conversations service (which can't carry the workspace member ids); * this triggers an IN_APP notification per mentioned user via the shared * notification service, using this service's identity. */ export type HealthyBowlNotifyMentionInput = { context?: InputMaybe<ContextInput>; mentionedUserIds: Array<Scalars['ID']['input']>; taskId: Scalars['ID']['input']; taskTitle?: InputMaybe<Scalars['String']['input']>; }; /** One recorded offspring of the root animal. */ export type HealthyBowlOffspringNode = { __typename?: 'HealthyBowlOffspringNode'; animalId: Scalars['ID']['output']; /** Offspring are read live-only, so this is always false. Present for symmetry with the ancestors. */ archived: Scalars['Boolean']['output']; dateOfBirth?: Maybe<Scalars['String']['output']>; gender: Scalars['String']['output']; generation: Scalars['Int']['output']; name: Scalars['String']['output']; /** The immediately preceding descendant in the walk. Null at generation 1, where the root is implicit. */ parentAnimalId?: Maybe<Scalars['ID']['output']>; /** All immediately preceding descendants that match this node's dam/sire links. Empty at generation 1. */ parentAnimalIds: Array<Scalars['ID']['output']>; tagNumber: Scalars['String']['output']; type: Scalars['String']['output']; /** DAM | SIRE — the parent link followed to reach this node: root for direct offspring, or its preceding descendant later in the walk. BOTH when both links match. */ viaParent: Scalars['String']['output']; }; /** * Everything the client needs to open the payment provider's checkout for an order. * Returned by checkoutHealthyBowlOrder; the amounts are billing's (tax is computed there, not here). */ export type HealthyBowlOrderCheckout = { __typename?: 'HealthyBowlOrderCheckout'; /** The global-billing BillingOrder this order is charged through. */ billingOrderId: Scalars['ID']['output']; /** Stripe client secret, when billing routes to Stripe instead. */ clientSecret?: Maybe<Scalars['String']['output']>; currency: Scalars['String']['output']; /** The HealthyBowl order being paid for. */ orderId: Scalars['ID']['output']; /** Payment provider billing selected (e.g. RAZORPAY). */ provider: Scalars['String']['output']; /** The provider's own order id, which the checkout widget is opened with (Razorpay order_xxx). */ providerOrderId?: Maybe<Scalars['String']['output']>; /** Razorpay publishable key for the checkout widget. */ razorpayKeyId?: Maybe<Scalars['String']['output']>; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; }; /** Result of global-billing's payment-completed callback (billing selects { success message }). */ export type HealthyBowlOrderPaymentCallbackResult = { __typename?: 'HealthyBowlOrderPaymentCallbackResult'; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; /** Buyer-facing shipment tracking + cold-chain view for one order (roadmap #17, D-4). */ export type HealthyBowlOrderShipment = { __typename?: 'HealthyBowlOrderShipment'; /** ISO-8601 actual delivery timestamp, once delivered. */ actualDelivery?: Maybe<Scalars['String']['output']>; /** Cold-chain surface for perishable produce; null for a non-temperature-controlled shipment. */ coldChain?: Maybe<HealthyBowlShipmentColdChain>; /** ISO-8601 estimated delivery timestamp, when set. */ estimatedDelivery?: Maybe<Scalars['String']['output']>; /** False when no shipment has been created for the order yet (buyer sees an empty state). */ hasShipment: Scalars['Boolean']['output']; /** The HealthyBowl order this shipment fulfils. */ orderId: Scalars['ID']['output']; /** The movethewheels Shipment id, when one exists. */ shipmentId?: Maybe<Scalars['ID']['output']>; /** Human-readable movethewheels shipment number. */ shipmentNumber?: Maybe<Scalars['String']['output']>; /** Movethewheels ShipmentStatus (PLANNED | PICKED_UP | IN_TRANSIT | DELIVERED | FAILED | RETURNED). */ status?: Maybe<Scalars['String']['output']>; /** Ordered tracking timeline (oldest → newest) from the real movethewheels TrackingEvents. */ timeline: Array<HealthyBowlShipmentTrackingEvent>; /** Carrier tracking number, when assigned. */ trackingNumber?: Maybe<Scalars['String']['output']>; }; /** One paddock on the grazing view: who is on it, how long, how rested, and how heavily stocked. */ export type HealthyBowlPaddockGrazing = { __typename?: 'HealthyBowlPaddockGrazing'; /** * Animal units standing on the paddock: total liveweight from `weight_records` ÷ the animal-unit * size. Null — not zero — when none of the mob has been weighed; zero would claim an empty paddock. */ animalUnits?: Maybe<Scalars['Float']['output']>; /** Mob members with no weight record — the coverage gap behind `animalUnits`. */ animalsWithoutWeight: Scalars['Int']['output']; /** Area as recorded on the field. */ area: Scalars['Float']['output']; /** * Area in hectares, or null when the unit has no single defined size (a bigha ranges from about a * third of an acre to a full acre by state) or the area is not positive. */ areaHectares?: Maybe<Scalars['Float']['output']>; areaUnit: Scalars['String']['output']; /** The open event, when one exists. */ current?: Maybe<HealthyBowlGrazingEvent>; /** Days the current mob has been in — derived. Null when the paddock is empty. */ daysIn?: Maybe<Scalars['Float']['output']>; /** Days since that exit. Null while occupied, never grazed, or when no exit was ever recorded. */ daysRested?: Maybe<Scalars['Float']['output']>; farmId: Scalars['ID']['output']; /** Latest recorded exit across every event on this paddock. */ lastExitedAt?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; paddockId: Scalars['ID']['output']; /** `lastExitedAt` + `restDays`. Null without an exit to rest from. */ readyAt?: Maybe<Scalars['String']['output']>; /** This paddock's most recent moves, newest first. */ recentMoves: Array<HealthyBowlGrazingEvent>; /** Rest target actually applied to this paddock. */ restDays: Scalars['Int']['output']; /** True when `restDays` came from the query default rather than from the paddock itself. */ restDaysIsDefault: Scalars['Boolean']['output']; state: HealthyBowlPaddockState; /** Animal units per hectare. Null without both a mob weight and a usable area. */ stockingRateAuPerHa?: Maybe<Scalars['Float']['output']>; /** GrowLocationType. PASTURE for a paddock proper; another type appears only if it was grazed anyway. */ type: Scalars['String']['output']; }; /** What a paddock is doing right now. */ export declare enum HealthyBowlPaddockState { /** * No grazing has ever been recorded here. Deliberately distinct from READY: an ungrazed paddock is * unmeasured, not recovered, and collapsing the two would let it pass for observed recovery. */ NeverGrazed = "NEVER_GRAZED", /** A mob is in it — at least one grazing event is still open. */ Occupied = "OCCUPIED", /** Empty and rested at least as long as its rest target. */ Ready = "READY", /** Empty, but not yet rested to its target. */ Resting = "RESTING" } export type HealthyBowlPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; page?: InputMaybe<Scalars['Int']['input']>; sortBy?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['String']['input']>; }; /** * One animal in a pedigree, seen from the root animal. * * `generation` counts hops from the root: 1 = a parent, 2 = a grandparent. The root itself is * generation 0. */ export type HealthyBowlPedigreeNode = { __typename?: 'HealthyBowlPedigreeNode'; animalId: Scalars['ID']['output']; /** * True when this animal has left the herd (soft-deleted). The branch is still returned: a culled * parent is still the parent (BOFF-6011). Render it greyed and NOT as a link — * `healthyBowlAnimalDepth` filters `deletedAt`, so navigating to an archived animal's page * dead-ends on NOT_FOUND. */ archived: Scalars['Boolean']['output']; breed?: Maybe<Scalars['String']['output']>; /** * ONE of the animals a generation closer to the root that this node is a parent of. Null at * generation 1 and on the root. Deliberately not "the" child: a line-bred herd reuses the same bull * on both sides, and this walk emits each ancestor once. Read `childAnimalIds` for every edge — * this field keeps only the first, for backward compatibility. */ childAnimalId?: Maybe<Scalars['ID']['output']>; /** * Every descendant edge this ancestor was reached by, not just the first. * * Line breeding makes one animal the parent of several others in the same tree — a bull * that sired both the dam and the sire of the root is ONE node with TWO child edges. * `childAnimalId` keeps only the first for backward compatibility; read this to render the * full genealogy. Empty at generation 1, where the child is the root and so implicit — * the same boundary `parentAnimalIds` keeps for direct offspring. */ childAnimalIds: Array<Scalars['ID']['output']>; /** ISO date, or null — `Animal.dateOfBirth` is nullable and a missing date is not a claim. */ dateOfBirth?: Maybe<Scalars['String']['output']>; /** MALE | FEMALE. */ gender: Scalars['String']['output']; /** Hops from the root animal. 0 on the root, >= 1 on every ancestor. */ generation: Scalars['Int']['output']; name: Scalars['String']['output']; /** DAM | SIRE — which side of THIS node's own child it sits on. SELF on the root. */ relation: Scalars['String']['output']; tagNumber: Scalars['String']['output']; /** Species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY). */ type: Scalars['String']['output']; }; export type HealthyBowlPestDataPayload = { __typename?: 'HealthyBowlPestDataPayload'; pestIssues: Array<PestIssue>; treatments: Array<Treatment>; updatedAt: Scalars['DateTime']['output']; }; /** One member's box on a collection manifest. */ export type HealthyBowlPickupCollector = { __typename?: 'HealthyBowlPickupCollector'; /** When the box reached the stand. Null until the driver dropped it off. */ arrivedAt?: Maybe<Scalars['String']['output']>; /** SMALL | MEDIUM | LARGE — what to hand over. */ boxSize: Scalars['String']['output']; /** When THIS member was handed their box. Null until they were — never the drop-off time. */ collectedAt?: Maybe<Scalars['String']['output']>; csaDeliveryId: Scalars['ID']['output']; csaMembershipId: Scalars['ID']['output']; csaPlanId: Scalars['ID']['output']; csaPlanName: Scalars['String']['output']; cycleNumber: Scalars['Int']['output']; memberEmail?: Maybe<Scalars['String']['output']>; memberName: Scalars['String']['output']; memberPhone?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; /** * SCHEDULED | PACKED | DISPATCHED | AWAITING_COLLECTION | DELIVERED | SKIPPED. * * AWAITING_COLLECTION means the box is AT the stand and nobody has come for it. DELIVERED means this * member has been handed it. SKIPPED means there is no box — it was never packed, so do not go * looking for one. */ status: Scalars['String']['output']; }; /** * A place members collect their boxes from. The address lives here ONCE — memberships point at it by * id, so correcting it is a single edit rather than one per member. */ export type HealthyBowlPickupLocation = { __typename?: 'HealthyBowlPickupLocation'; /** Memberships with status ACTIVE currently assigned here — who is collecting this week. */ activeMemberCount: Scalars['Int']['output']; /** Same JSON shape as CsaMembership.deliveryAddress. */ address?: Maybe<Scalars['JSON']['output']>; /** One-line rendering of `address`. Null — not an empty string — when there is nothing to show. */ addressLabel?: Maybe<Scalars['String']['output']>; /** * ACTIVE + PAUSED — the figure capacity is measured against, and the one `capacityRemaining` below * is derived from. Kept separate from `activeMemberCount` rather than replacing it: "how many * collect here this week" and "how many places are taken" are different questions and one number * cannot answer both honestly. */ assignedMemberCount: Scalars['Int']['output']; /** True only when a cap exists AND is met or exceeded. */ atCapacity: Scalars['Boolean']['output']; /** Maximum memberships that may be assigned. Null = uncapped. */ capacity?: Maybe<Scalars['Int']['output']>; /** NO_CAPACITY_SET | CAPACITY_ZERO — why the two figures above are null. Null when they are not. */ capacityReason?: Maybe<Scalars['String']['output']>; /** * Places left, against `assignedMemberCount`. Null when no capacity is set — an uncapped location * has unknown headroom, and zero would read as full. Negative when a cap was lowered under the * members already assigned; that over-subscription is real and clamping it to zero would hide it. */ capacityRemaining?: Maybe<Scalars['Int']['output']>; /** 0–100+, 1dp. Null without a positive cap to divide by. */ capacityUtilisationPct?: Maybe<Scalars['Float']['output']>; /** Whoever holds the key — the stallholder, the co-op manager. Not a platform user. */ contactName?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; /** Free text for what a weekly grid cannot express. Never a substitute for `openingWindows`. */ hoursNote?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lat?: Maybe<Scalars['Float']['output']>; lng?: Maybe<Scalars['Float']['output']>; /** * True when the location has both coordinates. A location without them cannot become a route stop, * and the boxes going there would silently drop off the route, so it is stated rather than implied. */ mapped: Scalars['Boolean']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Machine-checkable collection windows, sorted by day then opening time. */ openingWindows: Array<HealthyBowlPickupWindow>; /** * Memberships with status PAUSED still assigned here. Pausing does not release the place: nothing * clears the pointer, and the member resumes against this same location. */ pausedMemberCount: Scalars['Int']['output']; /** ACTIVE | ARCHIVED */ status: Scalars['String']['output']; }; /** * Who is collecting what, where, on one date — the read the old model could not express at all. * * Scoped to the boxes whose `pickupLocationId` snapshot points at this location, so a member who has * since switched to home delivery still appears on the manifest for the day they collected. */ export type HealthyBowlPickupManifest = { __typename?: 'HealthyBowlPickupManifest'; addressLabel?: Maybe<Scalars['String']['output']>; /** Boxes physically here that nobody has come for yet. */ awaitingCollectionCount: Scalars['Int']['output']; /** * Boxes that actually exist for this stand on this date — how many to pack. EXCLUDES skipped ones: * a member who skipped has no box, and counting it told the stallholder to pack one more than there * is. */ boxCount: Scalars['Int']['output']; /** * NO_HOURS_RECORDED (nothing was ever entered — go and enter it) or CLOSED_THAT_DAY (configured, * simply shut — move the delivery day). Null when open. The two are NOT collapsed: they lead a * farmer to opposite actions. */ closedReason?: Maybe<Scalars['String']['output']>; /** Latest closing on the day. Null when closed. */ closesAt?: Maybe<Scalars['String']['output']>; /** Boxes handed over to their member. */ collectedCount: Scalars['Int']['output']; collectors: Array<HealthyBowlPickupCollector>; contactName?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; /** The date asked for, ISO-8601. */ date: Scalars['String']['output']; /** Weekday of `date`, read in UTC to agree with CsaPlan.deliveryDayOfWeek by construction. */ dayOfWeek: Scalars['Int']['output']; /** Free text as recorded on the location, repeated here so a printed manifest is self-contained. */ hoursNote?: Maybe<Scalars['String']['output']>; lat?: Maybe<Scalars['Float']['output']>; lng?: Maybe<Scalars['Float']['output']>; /** True when an opening window covers that weekday. */ open: Scalars['Boolean']['output']; /** * Total minutes open that day — the SUM of the day's windows, not the span between first open and * last close, which would count a midday closure as open time. Null when closed. */ openMinutes?: Maybe<Scalars['Int']['output']>; /** Earliest opening on the day. Null when closed. */ opensAt?: Maybe<Scalars['String']['output']>; /** * `boxCount` minus `collectedCount` — everything not yet in a member's hands, whether it is sitting * on the table or still on the van. Skipped boxes are not in it, because nobody is coming for them. */ outstandingCount: Scalars['Int']['output']; pickupLocationId: Scalars['ID']['output']; /** The location's CURRENT name — this is a live view of a location, not a historical record. */ pickupLocationName: Scalars['String']['output']; /** * Members on this date who skipped their box. Not in `boxCount`, still in `collectors` — the * stallholder needs to know why a name on the list has nothing against it, or they will spend * closing time hunting for a box that was never made. */ skippedCount: Scalars['Int']['output']; /** * True when the READ hit its row cap — a property of the whole response, repeated on every manifest * in it. Every count above is then a FLOOR rather than an answer, and a location with boxes that day * may be missing from the list entirely. Show it: a manifest that quietly stops at 500 boxes tells a * farm of 540 members to pack 500 and says nothing. * * There is no offset to page with. A manifest is printed and carried to a stand, and half of one * with no way to tell which half is worse than a whole one flagged as incomplete. Narrow with * `pickupLocationId` instead — one stand on one day is both what a manifest is for and the query * that stays under the cap. */ truncated: Scalars['Boolean']['output']; }; /** One collection window: a weekday and the clock times the gate is open between. */ export type HealthyBowlPickupWindow = { __typename?: 'HealthyBowlPickupWindow'; /** 24-hour HH:MM, always later in the day than opensAt. */ closesAt: Scalars['String']['output']; /** 0 = Sunday … 6 = Saturday, matching CsaPlan.deliveryDayOfWeek. */ dayOfWeek: Scalars['Int']['output']; /** 24-hour HH:MM. */ opensAt: Scalars['String']['output']; }; export type HealthyBowlPickupWindowInput = { /** 24-hour HH:MM. Must be later in the day than opensAt — a reversed pair is refused, not inverted. */ closesAt: Scalars['String']['input']; /** 0 = Sunday … 6 = Saturday. */ dayOfWeek: Scalars['Int']['input']; /** 24-hour HH:MM. */ opensAt: Scalars['String']['input']; }; /** * I-8 — planned-vs-actual rollup for a single PlantingPlan: the plan's expected * yield vs the summed quantity of harvests linked back to it, plus the execution * trail (transplant milestone, activity log, and each linked harvest). */ export type HealthyBowlPlanExecution = { __typename?: 'HealthyBowlPlanExecution'; activities: Array<PlantingActivity>; actualYield: Scalars['Float']['output']; cropName: Scalars['String']['output']; fieldName: Scalars['String']['output']; harvestCount: Scalars['Int']['output']; harvests: Array<HarvestRecord>; plannedYield: Scalars['Float']['output']; plantingPlanId: Scalars['ID']['output']; sowDate?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; transplantDate?: Maybe<Scalars['String']['output']>; yieldVariancePct?: Maybe<Scalars['Float']['output']>; }; export type HealthyBowlPlannedVsSpentPoint = { __typename?: 'HealthyBowlPlannedVsSpentPoint'; fieldId?: Maybe<Scalars['String']['output']>; fieldName: Scalars['String']['output']; planned: Scalars['Float']['output']; spent: Scalars['Float']['output']; }; /** One stable server page of the current workspace's editable Master Plant List. */ export type HealthyBowlPlantCatalogPage = { __typename?: 'HealthyBowlPlantCatalogPage'; hasMore: Scalars['Boolean']['output']; items: Array<PlantCatalogEntry>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Bed-geometry capacity for a field (BOFF-6100). */ export type HealthyBowlPlantingCapacity = { __typename?: 'HealthyBowlPlantingCapacity'; areaSqm: Scalars['Float']['output']; bedCount: Scalars['Int']['output']; bedLengthM: Scalars['Float']['output']; bedWidthM: Scalars['Float']['output']; cultivableAreaSqm: Scalars['Float']['output']; densityPlantsPerSqm: Scalars['Float']['output']; pathWidthM: Scalars['Float']['output']; plantSpacingCm: Scalars['Float']['output']; plantsPerBed: Scalars['Int']['output']; plantsPerRow: Scalars['Int']['output']; rowSpacingCm: Scalars['Float']['output']; rowsPerBed: Scalars['Int']['output']; seedlingTarget: Scalars['Int']['output']; totalPlants: Scalars['Int']['output']; }; /** * The estimate, or a reasoned refusal (BOFF-6100). * * A greenhouse, orchard or pasture is not planted in beds, so `appliesToBedGeometry` is false and both * payloads are null — **not zeroed**. A farmer reading "0 seeds required" orders nothing. */ export type HealthyBowlPlantingEstimate = { __typename?: 'HealthyBowlPlantingEstimate'; appliesToBedGeometry: Scalars['Boolean']['output']; capacity?: Maybe<HealthyBowlPlantingCapacity>; /** Why there are no numbers. Null when the estimate is real. */ notApplicableReason?: Maybe<Scalars['String']['output']>; seedRate?: Maybe<HealthyBowlSeedRate>; /** The spacing preset actually used, so the caller can show what was assumed. */ spacingPresetLabel: Scalars['String']['output']; }; /** * BOFF-6100 — inputs for a server-derived planting estimate. * * Only `fieldId` is required: area, unit and grow-location type come off the field, and spacing comes * from the catalog entry or a crop-name preset. Everything else overrides, in that order, so a farmer * who knows their own bed layout is not overruled by a lookup table. */ export type HealthyBowlPlantingEstimateInput = { /** Optional unsaved drawn-boundary area in the Field's stored unit. Used only when positive; never persisted by this estimate read. */ areaOverride?: InputMaybe<Scalars['Float']['input']>; bedWidthM?: InputMaybe<Scalars['Float']['input']>; /** Crop whose name/category/variety selects a spacing preset when no catalog entry is given. */ cropId?: InputMaybe<Scalars['ID']['input']>; fieldId: Scalars['ID']['input']; pathWidthM?: InputMaybe<Scalars['Float']['input']>; /** Master Plant List entry, for seeds/gram, germination rate and its recorded spacing. */ plantCatalogId?: InputMaybe<Scalars['ID']['input']>; plantSpacingCm?: InputMaybe<Scalars['Float']['input']>; rowSpacingCm?: InputMaybe<Scalars['Float']['input']>; }; export type HealthyBowlPooledCropVolume = { __typename?: 'HealthyBowlPooledCropVolume'; crop: Scalars['String']['output']; quantity: Scalars['Float']['output']; }; /** * Everything the client needs to open the payment provider's checkout for a farmer-share premium. * Returned by checkoutHealthyBowlInsurancePremium; the amounts are billing's (tax is computed there, * not here). Mirrors HealthyBowlOrderCheckout — the premium runs the same rail as a marketplace order. */ export type HealthyBowlPremiumCheckout = { __typename?: 'HealthyBowlPremiumCheckout'; /** The global-billing BillingOrder this premium is charged through. */ billingOrderId: Scalars['ID']['output']; /** Stripe client secret, when billing routes to Stripe instead. */ clientSecret?: Maybe<Scalars['String']['output']>; currency: Scalars['String']['output']; /** The policy whose premium is being paid. */ policyId: Scalars['ID']['output']; /** Payment provider billing selected (e.g. RAZORPAY). */ provider: Scalars['String']['output']; /** The provider's own order id, which the checkout widget is opened with (Razorpay order_xxx). */ providerOrderId?: Maybe<Scalars['String']['output']>; /** Razorpay publishable key for the checkout widget. */ razorpayKeyId?: Maybe<Scalars['String']['output']>; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; }; export type HealthyBowlProduct = { __typename?: 'HealthyBowlProduct'; batchNumber?: Maybe<Scalars['String']['output']>; category: Scalars['String']['output']; /** * GS1 AI (01) Global Trade Item Number in canonical 14-digit form (BOFF-5729), or null. * * Identifies the trade item, so every trace batch of this product shares it. Registering GS1 * codes on a batch inherits this value rather than having it retyped. */ gs1Gtin?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastUpdated: Scalars['String']['output']; minStock: Scalars['Int']['output']; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; price: Scalars['Float']['output']; shelfLife: Scalars['Int']['output']; sku: Scalars['String']['output']; status: Scalars['String']['output']; stock: Scalars['Int']['output']; unit: Scalars['String']['output']; }; export type HealthyBowlProductionDataPayload = { __typename?: 'HealthyBowlProductionDataPayload'; productionBatches: Array<ProductionBatch>; recipes: Array<Recipe>; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlProductsDataPayload = { __typename?: 'HealthyBowlProductsDataPayload'; products: Array<HealthyBowlProduct>; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlProfitAndLoss = { __typename?: 'HealthyBowlProfitAndLoss'; currency: Scalars['String']['output']; expenses: Array<HealthyBowlProfitAndLossLine>; generatedAt: Scalars['DateTime']['output']; grossMarginPct: Scalars['Float']['output']; income: Array<HealthyBowlProfitAndLossLine>; netProfit: Scalars['Float']['output']; periodLabel: Scalars['String']['output']; totalExpenses: Scalars['Float']['output']; totalRevenue: Scalars['Float']['output']; }; export type HealthyBowlProfitAndLossLine = { __typename?: 'HealthyBowlProfitAndLossLine'; amount: Scalars['Float']['output']; code: Scalars['String']['output']; name: Scalars['String']['output']; }; export type HealthyBowlQuotaStatus = { __typename?: 'HealthyBowlQuotaStatus'; /** * Usage has reached the limit. Always false when `provisioned` is false — unknown is * not exhausted, and claiming otherwise would trade one wrong answer for another. */ exhausted: Scalars['Boolean']['output']; label: Scalars['String']['output']; limit?: Maybe<Scalars['Int']['output']>; /** * The plan explicitly grants this quota with no ceiling. * ★ Only meaningful when `provisioned` is true. It used to be returned as `true` * whenever the limit lookup failed for ANY reason — including "this workspace has no * assignment at all" — so a workspace whose every write was being refused * QUOTA_NOT_PROVISIONED reported itself as unlimited (BOFF-6302). */ noLimit: Scalars['Boolean']['output']; /** * Whether a limit could actually be established for this workspace. * * False means we do not know the ceiling — no organisation, no billing account, no * quota assignment, or the billing gateway failed. It is NOT a statement that the * quota is zero, and it is NOT a statement that it is unlimited. The enforcement * path makes no such assumption either: it refuses the write. */ provisioned: Scalars['Boolean']['output']; quotaName: Scalars['String']['output']; remaining?: Maybe<Scalars['Int']['output']>; used: Scalars['Int']['output']; }; /** A closed period: the summary as it stood, plus what the close did. */ export type HealthyBowlReconciliationCloseResult = { __typename?: 'HealthyBowlReconciliationCloseResult'; bankAccountId: Scalars['ID']['output']; bankAccountName: Scalars['String']['output']; closedAt?: Maybe<Scalars['String']['output']>; closingBalance?: Maybe<Scalars['Float']['output']>; currency: Scalars['String']['output']; difference: Scalars['Float']['output']; /** True when closed over a known discrepancy — a human decided, the system did not agree. */ forced: Scalars['Boolean']['output']; from: Scalars['String']['output']; ignoredCount: Scalars['Int']['output']; isBalanced: Scalars['Boolean']['output']; isTruncated: Scalars['Boolean']['output']; lastReconciledAt?: Maybe<Scalars['String']['output']>; lastReconciledBalance?: Maybe<Scalars['Float']['output']>; ledgerMovement: Scalars['Float']['output']; lineCount: Scalars['Int']['output']; linesClosed: Scalars['Int']['output']; matchedCount: Scalars['Int']['output']; statementMovement: Scalars['Float']['output']; to: Scalars['String']['output']; unmatchedCount: Scalars['Int']['output']; unmatchedTransactionCount: Scalars['Int']['output']; }; export type HealthyBowlReconciliationPeriodInput = { bankAccountId: Scalars['ID']['input']; context: ContextInput; /** * Close over a non-zero difference or unmatched lines. For a known, accepted discrepancy only — the * result records that it was forced. */ force?: InputMaybe<Scalars['Boolean']['input']>; from: Scalars['String']['input']; to: Scalars['String']['input']; }; export type HealthyBowlReconciliationReopenResult = { __typename?: 'HealthyBowlReconciliationReopenResult'; bankAccountId: Scalars['ID']['output']; from: Scalars['String']['output']; linesReopened: Scalars['Int']['output']; to: Scalars['String']['output']; }; /** * Does the bank agree with the books for this window? * * `difference` is the point of the whole feature — it is the omission or the duplicate, expressed as * a number. Every other field exists to help find it. */ export type HealthyBowlReconciliationSummary = { __typename?: 'HealthyBowlReconciliationSummary'; bankAccountId: Scalars['ID']['output']; bankAccountName: Scalars['String']['output']; /** Closing balance the statement printed on its last line, when it carried one. */ closingBalance?: Maybe<Scalars['Float']['output']>; currency: Scalars['String']['output']; /** statement − ledger. Non-zero is the finding, not a fault in the report. */ difference: Scalars['Float']['output']; from: Scalars['String']['output']; ignoredCount: Scalars['Int']['output']; isBalanced: Scalars['Boolean']['output']; /** True when the read hit its row cap, so every count above is a floor rather than an answer. */ isTruncated: Scalars['Boolean']['output']; lastReconciledAt?: Maybe<Scalars['String']['output']>; lastReconciledBalance?: Maybe<Scalars['Float']['output']>; /** Net movement the FARM's own transactions report for the same window. */ ledgerMovement: Scalars['Float']['output']; lineCount: Scalars['Int']['output']; matchedCount: Scalars['Int']['output']; /** Net movement the BANK reports for the window. Excludes IGNORED lines. */ statementMovement: Scalars['Float']['output']; to: Scalars['String']['output']; unmatchedCount: Scalars['Int']['output']; /** Transactions in the window that no statement line accounts for. */ unmatchedTransactionCount: Scalars['Int']['output']; }; /** An archived label, stored as an opaque wspace-files-svc blob. */ export type HealthyBowlSavedTraceLabel = { __typename?: 'HealthyBowlSavedTraceLabel'; batchCode: Scalars['String']['output']; /** Opaque reference into wspace-files-svc. Resolve it with the root getFile query. */ fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; }; /** Seed and nursery quantities for a plant target (BOFF-6100). */ export type HealthyBowlSeedRate = { __typename?: 'HealthyBowlSeedRate'; /** Null when the variety has no seeds-per-gram recorded. A guessed weight is worse than none. */ seedGrams?: Maybe<Scalars['Float']['output']>; seedlingsToRaise: Scalars['Int']['output']; seedsNeeded: Scalars['Int']['output']; trays?: Maybe<Scalars['Int']['output']>; }; export type HealthyBowlSettlementDeductionInput = { amount: Scalars['Float']['input']; label: Scalars['String']['input']; }; /** The outcome of a settlement run. Safe to call again — see settleHealthyBowlAggregationLot. */ export type HealthyBowlSettlementResult = { __typename?: 'HealthyBowlSettlementResult'; commission: Scalars['Float']['output']; deductionTotal: Scalars['Float']['output']; grossAmount: Scalars['Float']['output']; heldCount: Scalars['Int']['output']; lot: HealthyBowlAggregationLot; netDistributable: Scalars['Float']['output']; /** Non-zero means the run is incomplete; call again to resume. */ outstandingCount: Scalars['Int']['output']; paidCount: Scalars['Int']['output']; payouts: Array<HealthyBowlAggregationLotContribution>; }; /** Cold-chain surface for a temperature-controlled (perishable) shipment. */ export type HealthyBowlShipmentColdChain = { __typename?: 'HealthyBowlShipmentColdChain'; /** True when the latest reading is outside the target range — drives the alert style in the UI. */ breach: Scalars['Boolean']['output']; /** Latest recorded temperature, when movethewheels holds telemetry for the shipment; null otherwise. */ currentTemperature?: Maybe<Scalars['Float']['output']>; /** ISO-8601 timestamp of the latest reading, when present. */ readingAt?: Maybe<Scalars['String']['output']>; /** Target maximum temperature for the cold-chain, when set. */ targetMax?: Maybe<Scalars['Float']['output']>; /** Target minimum temperature for the cold-chain, when set. */ targetMin?: Maybe<Scalars['Float']['output']>; /** Always true when this object is present (a non-controlled shipment resolves coldChain to null). */ temperatureControlled: Scalars['Boolean']['output']; /** Temperature unit (defaults to C). */ unit?: Maybe<Scalars['String']['output']>; }; /** One ordered step in a shipment's tracking timeline, from a real movethewheels TrackingEvent. */ export type HealthyBowlShipmentTrackingEvent = { __typename?: 'HealthyBowlShipmentTrackingEvent'; /** Free-text detail from the carrier, when present. */ details?: Maybe<Scalars['String']['output']>; /** TrackingEventType (PICKED_UP | IN_TRANSIT | OUT_FOR_DELIVERY | DELIVERED | ARRIVED | DEPARTED | ...). */ eventType: Scalars['String']['output']; id: Scalars['ID']['output']; /** Human-readable location label derived from the event's location, when it carries one. */ location?: Maybe<Scalars['String']['output']>; /** ISO-8601 timestamp of the event. */ timestamp: Scalars['String']['output']; }; export type HealthyBowlSoilDataPayload = { __typename?: 'HealthyBowlSoilDataPayload'; sensorReadings: Array<SoilSensorReading>; soilTests: Array<SoilTest>; updatedAt: Scalars['DateTime']['output']; }; /** What a statement import did, or — on a dry run — precisely what it would do. */ export type HealthyBowlStatementImportResult = { __typename?: 'HealthyBowlStatementImportResult'; dryRun: Scalars['Boolean']['output']; /** * Lines already present with the same date, amount, description and reference. Bank exports overlap * by design, so re-importing is expected and must not double anything. */ duplicates: Scalars['Int']['output']; errors: Array<Scalars['String']['output']>; imported: Scalars['Int']['output']; periodEnd?: Maybe<Scalars['String']['output']>; /** Window the imported lines cover, so a bookkeeper can see they picked the statement they meant. */ periodStart?: Maybe<Scalars['String']['output']>; /** Lines refused as unreadable, each with a message naming its CSV line number. */ skipped: Scalars['Int']['output']; }; /** BOFF-6026 — one line on a balance sheet or cash-flow statement. */ export type HealthyBowlStatementLine = { __typename?: 'HealthyBowlStatementLine'; accountCode: Scalars['String']['output']; accountName: Scalars['String']['output']; amount: Scalars['Float']['output']; }; export type HealthyBowlStatementLineInput = { context: ContextInput; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** A single IN/OUT stock movement. */ export type HealthyBowlStockMovement = { __typename?: 'HealthyBowlStockMovement'; createdAt: Scalars['String']['output']; /** IN | OUT */ direction: Scalars['String']['output']; id: Scalars['ID']['output']; locationId?: Maybe<Scalars['ID']['output']>; locationName?: Maybe<Scalars['String']['output']>; lotCode?: Maybe<Scalars['String']['output']>; lotId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; occurredAt: Scalars['String']['output']; orderId?: Maybe<Scalars['ID']['output']>; produce?: Maybe<Scalars['String']['output']>; /** Set instead of lotId when this movement is a finished-goods stock adjustment. */ productId?: Maybe<Scalars['ID']['output']>; /** Name of the adjusted product, when productId is set. */ productName?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; /** HARVEST | RECEIPT | SALE | TRANSFER | ADJUSTMENT | SPOILAGE | OTHER */ reason?: Maybe<Scalars['String']['output']>; /** Free-text reference, e.g. an order number. */ reference?: Maybe<Scalars['String']['output']>; unit: Scalars['String']['output']; }; /** A warehouse/cold-store, or a bin/shelf within one. */ export type HealthyBowlStorageLocation = { __typename?: 'HealthyBowlStorageLocation'; /** Max capacity of a warehouse; null = untracked. */ capacity?: Maybe<Scalars['Float']['output']>; capacityUnit?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; /** WAREHOUSE | BIN */ kind: Scalars['String']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Parent warehouse id (set on a BIN). */ parentId?: Maybe<Scalars['ID']['output']>; /** For a WAREHOUSE: COLD_STORE | DRY | AMBIENT | FREEZER | MILK_TANK | OTHER. */ storageType?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['String']['output']; }; /** A stored quantity (lot) of produce/milk in a bin. */ export type HealthyBowlStorageLot = { __typename?: 'HealthyBowlStorageLot'; createdAt: Scalars['String']['output']; expiryDate?: Maybe<Scalars['String']['output']>; harvestRecordId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; locationId: Scalars['ID']['output']; /** The bin's name. */ locationName: Scalars['String']['output']; lotCode: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; produce: Scalars['String']['output']; productId?: Maybe<Scalars['ID']['output']>; productionBatchId?: Maybe<Scalars['ID']['output']>; quantity: Scalars['Float']['output']; receivedAt?: Maybe<Scalars['String']['output']>; /** STORED | DEPLETED | EXPIRED */ status: Scalars['String']['output']; traceBatchId?: Maybe<Scalars['ID']['output']>; unit: Scalars['String']['output']; updatedAt: Scalars['String']['output']; /** The parent warehouse's name (or the bin's own if it has no parent). */ warehouseName: Scalars['String']['output']; }; /** A lot with its full movement history (detail view). */ export type HealthyBowlStorageLotDetail = { __typename?: 'HealthyBowlStorageLotDetail'; lot: HealthyBowlStorageLot; movements: Array<HealthyBowlStockMovement>; }; /** The Storage page: warehouses with capacity + bins/lots, and a recent-movement timeline. */ export type HealthyBowlStorageOverview = { __typename?: 'HealthyBowlStorageOverview'; recentMovements: Array<HealthyBowlStockMovement>; warehouses: Array<HealthyBowlWarehouseSummary>; }; /** Filter for browsing the shared seed/nursery supplier directory. Every field is optional and combines with AND semantics. */ export type HealthyBowlSupplierDirectoryFilter = { crop?: InputMaybe<Scalars['String']['input']>; district?: InputMaybe<Scalars['String']['input']>; organicInputCertified?: InputMaybe<Scalars['Boolean']['input']>; state?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; /** * A structured, entity-owned tag. HealthyBowl stores these on its own records * (canonical `tagsV2` shape) and reuses wspace-tags-svc + fe-libs TagsWidget for * the vocabulary, search and create flow. See PLATFORM_REUSE_AUDIT §1 (tags). */ export type HealthyBowlTag = { __typename?: 'HealthyBowlTag'; color?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; vocabularyKey?: Maybe<Scalars['String']['output']>; }; export type HealthyBowlTagInput = { color?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; key: Scalars['String']['input']; label: Scalars['String']['input']; vocabularyKey?: InputMaybe<Scalars['String']['input']>; }; /** HealthyBowl entities that support structured tags. */ export declare enum HealthyBowlTaggableType { CommunityPost = "COMMUNITY_POST", Crop = "CROP", MarketplaceProduct = "MARKETPLACE_PRODUCT", Supplier = "SUPPLIER" } /** A printable label PDF with the batch's QR code. */ export type HealthyBowlTraceLabelPdf = { __typename?: 'HealthyBowlTraceLabelPdf'; batchCode: Scalars['String']['output']; contentType: Scalars['String']['output']; fileName: Scalars['String']['output']; /** Base64 PDF bytes. Rendered on demand; nothing is stored. */ pdfBase64: Scalars['String']['output']; publicUrl: Scalars['String']['output']; }; /** A batch's full trace ledger: the batch, its ordered hash-chained events, and the integrity check. */ export type HealthyBowlTraceLedger = { __typename?: 'HealthyBowlTraceLedger'; batch: TraceBatch; events: Array<TraceEvent>; integrity: TraceChainIntegrity; }; /** Per-workspace control over what the public portal discloses. */ export type HealthyBowlTracePortalSettings = { __typename?: 'HealthyBowlTracePortalSettings'; /** When false (default) a new batch starts as a draft and must be published explicitly. */ autoPublishOnCreate: Scalars['Boolean']['output']; showBestBeforeDate: Scalars['Boolean']['output']; showCertifications: Scalars['Boolean']['output']; showFarmOrigin: Scalars['Boolean']['output']; showHarvestDate: Scalars['Boolean']['output']; showProcessingDates: Scalars['Boolean']['output']; /** Covers the whole certification block: standard, expiry, and the organic claim itself. */ showSeedCertification: Scalars['Boolean']['output']; showSeedPurchaseDate: Scalars['Boolean']['output']; /** * Whether a published seed lot names its supplier. Defaults FALSE — the only visibility flag * here that is opt-in, because a sourcing relationship is not a product attribute. */ showSeedSupplier: Scalars['Boolean']['output']; showSupplyChainSteps: Scalars['Boolean']['output']; showVerifiedOrganicBanner: Scalars['Boolean']['output']; tagline?: Maybe<Scalars['String']['output']>; }; /** A scannable QR image encoding the batch's public trace URL. */ export type HealthyBowlTraceQrImage = { __typename?: 'HealthyBowlTraceQrImage'; batchCode: Scalars['String']['output']; contentType: Scalars['String']['output']; fileName: Scalars['String']['output']; /** Base64 PNG bytes. Rendered on demand; nothing is stored. */ pngBase64: Scalars['String']['output']; publicUrl: Scalars['String']['output']; }; export type HealthyBowlTraceScanActivity = { __typename?: 'HealthyBowlTraceScanActivity'; events: Array<HealthyBowlTraceScanEvent>; total: Scalars['Int']['output']; }; export type HealthyBowlTraceScanEvent = { __typename?: 'HealthyBowlTraceScanEvent'; deviceType: Scalars['String']['output']; timestamp: Scalars['String']['output']; }; export type HealthyBowlTraceabilityDataPayload = { __typename?: 'HealthyBowlTraceabilityDataPayload'; traceBatches: Array<TraceBatch>; updatedAt: Scalars['DateTime']['output']; }; export type HealthyBowlTransaction = { __typename?: 'HealthyBowlTransaction'; amount: Scalars['Float']['output']; category: Scalars['String']['output']; /** BOFF-6116 — optional CRM contact linked to this transaction. */ contactId?: Maybe<Scalars['ID']['output']>; /** Denormalized contact name for display; null when the transaction is not linked. */ contactName?: Maybe<Scalars['String']['output']>; /** * BOFF-6072 — optional cost-center attribution (a crop / animal / other center). When set, the * double-entry journal entry auto-posted for a COMPLETED transaction carries this cost center, so the * transaction reaches the P&L, General Ledger and cost-by-crop — not just the single-entry dashboard. */ costCenterId?: Maybe<Scalars['ID']['output']>; /** Denormalized cost-center label for display; null when the transaction is not attributed. */ costCenterLabel?: Maybe<Scalars['String']['output']>; /** * BOFF-6136 — optional attribution to the crop/field that generated this transaction. When set, * the transaction auto-attaches (or reuses) that crop's cost center, so a COMPLETED transaction * reaches Cost by Crop through the existing BOFF-6072 ledger projection. */ cropId?: Maybe<Scalars['ID']['output']>; /** Denormalized crop name for display; null when cropId is unset. */ cropName?: Maybe<Scalars['String']['output']>; date: Scalars['String']['output']; description: Scalars['String']['output']; fieldId?: Maybe<Scalars['ID']['output']>; /** Denormalized field name for display; null when fieldId is unset. */ fieldName?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; paymentMethod?: Maybe<Scalars['String']['output']>; /** Stable opaque file id owned by the canonical Files platform. */ receiptFileId?: Maybe<Scalars['ID']['output']>; reference?: Maybe<Scalars['String']['output']>; /** Exact allocation legs. An empty list preserves legacy unsplit transaction behavior. */ splits: Array<HealthyBowlTransactionSplit>; status: Scalars['String']['output']; type: Scalars['String']['output']; }; export type HealthyBowlTransactionSplit = { __typename?: 'HealthyBowlTransactionSplit'; /** Exact fixed-decimal allocation, normalized to the transaction currency precision. */ amount: Scalars['String']['output']; category: Scalars['String']['output']; context?: Maybe<Scalars['JSON']['output']>; costCenterId?: Maybe<Scalars['ID']['output']>; costCenterLabel?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; }; export type HealthyBowlTransactionSplitInput = { /** Positive decimal string with at most two decimal places. */ amount: Scalars['String']['input']; category: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; /** Optional active cost center in the current workspace. */ costCenterId?: InputMaybe<Scalars['ID']['input']>; }; /** * BOFF-6026 — every posted line summed per account. * * The cheapest of the three statements and the correctness check for the other two: if debits and * credits disagree here, nothing derived from these lines can be trusted. */ export type HealthyBowlTrialBalance = { __typename?: 'HealthyBowlTrialBalance'; currency: Scalars['String']['output']; difference: Scalars['Float']['output']; /** False means the ledger itself is damaged — reported rather than hidden. */ isBalanced: Scalars['Boolean']['output']; periodLabel: Scalars['String']['output']; rows: Array<HealthyBowlTrialBalanceRow>; totalCredit: Scalars['Float']['output']; totalDebit: Scalars['Float']['output']; }; /** BOFF-6026 — one account's totals on a trial balance. */ export type HealthyBowlTrialBalanceRow = { __typename?: 'HealthyBowlTrialBalanceRow'; accountCode: Scalars['String']['output']; accountName: Scalars['String']['output']; accountType: Scalars['String']['output']; /** Net on the account's natural side: debit-positive for ASSET/EXPENSE, credit-positive otherwise. */ balance: Scalars['Float']['output']; totalCredit: Scalars['Float']['output']; totalDebit: Scalars['Float']['output']; }; /** A bin plus the lots currently stored in it. */ export type HealthyBowlWarehouseBin = { __typename?: 'HealthyBowlWarehouseBin'; location: HealthyBowlStorageLocation; lots: Array<HealthyBowlStorageLot>; }; /** A warehouse with computed capacity usage and its bins/lots. */ export type HealthyBowlWarehouseSummary = { __typename?: 'HealthyBowlWarehouseSummary'; binCount: Scalars['Int']['output']; bins: Array<HealthyBowlWarehouseBin>; capacity?: Maybe<Scalars['Float']['output']>; /** used / capacity as a 0–100 percentage; null when capacity is untracked. */ capacityPct?: Maybe<Scalars['Float']['output']>; capacityUnit: Scalars['String']['output']; lotCount: Scalars['Int']['output']; /** Sum of quantities of lots in this warehouse's bins (and any lots directly in it). */ usedCapacity: Scalars['Float']['output']; warehouse: HealthyBowlStorageLocation; }; export type HealthyBowlWeatherDataPayload = { __typename?: 'HealthyBowlWeatherDataPayload'; dailyHistory: Array<WeatherHistoryRecord>; monthlySummaries: Array<WeatherMonthlySummary>; updatedAt: Scalars['DateTime']['output']; weather: WeatherData; }; export type HealthyBowlWeeklyTimesheetRow = { __typename?: 'HealthyBowlWeeklyTimesheetRow'; /** Seven buckets, Monday first. */ hoursByDay: Array<Scalars['Float']['output']>; /** Approved labour only, so this agrees with the ledger. */ totalCost: Scalars['Float']['output']; totalHours: Scalars['Float']['output']; workerId: Scalars['ID']['output']; workerName: Scalars['String']['output']; }; /** A single weight measurement in an animal's history. */ export type HealthyBowlWeightRecord = { __typename?: 'HealthyBowlWeightRecord'; animalId: Scalars['ID']['output']; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; measuredAt: Scalars['String']['output']; /** SCALE | TAPE | ESTIMATE */ method?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; weightKg: Scalars['Float']['output']; }; /** * Labour, crews and costed timesheets (BOFF-6024). * * Workers need no email or login: a seasonal farm hand must be recordable even * when they never sign into the platform. Approval posts through the existing * accounting provider; this module NEVER writes a journal row directly. */ export type HealthyBowlWorker = { __typename?: 'HealthyBowlWorker'; createdAt: Scalars['String']['output']; dailyWage?: Maybe<Scalars['Float']['output']>; /** PERMANENT | SEASONAL | CONTRACT | FAMILY | GIG */ employmentType: Scalars['String']['output']; hourlyRate?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; linkedActorId?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; phone?: Maybe<Scalars['String']['output']>; piecePrice?: Maybe<Scalars['Float']['output']>; skills: Array<Scalars['String']['output']>; }; /** Which side of the marketplace an activation step measures. */ export declare enum HokActivationAudience { Creator = "CREATOR", Talent = "TALENT", Viewer = "VIEWER" } export type HokActivationFunnel = { __typename?: 'HokActivationFunnel'; /** Steps that have happened at least once. */ completedSteps: Scalars['Int']['output']; /** Calendar-month bucket ("YYYY-MM") the numbers are scoped to, or null for all-time. */ period?: Maybe<Scalars['String']['output']>; /** Steps in the canonical funnel order: viewer first, then creator, then talent. */ steps: Array<HokActivationStep>; totalSteps: Scalars['Int']['output']; }; /** One activation event, aggregated over the workspace. */ export type HokActivationStep = { __typename?: 'HokActivationStep'; audience: HokActivationAudience; /** How many times the event happened. */ count: Scalars['Int']['output']; /** Analytics dictionary event name, e.g. hookmovies.title.created. */ event: Scalars['String']['output']; firstOccurredAt?: Maybe<Scalars['DateTime']['output']>; lastOccurredAt?: Maybe<Scalars['DateTime']['output']>; /** How many distinct users performed (or, for entitlement.granted, received) the event. */ uniqueActors: Scalars['Int']['output']; }; export declare enum HokAdBeaconEvent { /** The programmatic billing notice (OpenRTB burl). */ billing = "billing", complete = "complete", FirstQuartile = "firstQuartile", impression = "impression", midpoint = "midpoint", start = "start", ThirdQuartile = "thirdQuartile" } /** Outcome of one tracking event of a server-side beacon delivery. */ export type HokAdBeaconEventResult = { __typename?: 'HokAdBeaconEventResult'; attempted: Scalars['Int']['output']; delivered: Scalars['Int']['output']; event: HokAdBeaconEvent; /** Hosts whose beacon failed (full URLs are never kept: they carry privacy macros). */ failedHosts: Array<Scalars['String']['output']>; }; /** * An ad break decided for the calling viewer. `decisionId` is null when nothing * was eligible (no fill); every ad that plays must be confirmed with * `hokRecordAdImpression(decisionId, campaignId)`. */ export type HokAdBreak = { __typename?: 'HokAdBreak'; ads: Array<HokAdSlot>; decisionId?: Maybe<Scalars['ID']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; mode: HokMonetizationMode; placement: HokAdPlacement; totalDurationSeconds: Scalars['Int']['output']; /** The same break as a VAST 4.2 document (an empty VAST element on no fill). */ vastXml: Scalars['String']['output']; }; export type HokAdCampaign = { __typename?: 'HokAdCampaign'; advertiserName: Scalars['String']['output']; budgetMinorUnits?: Maybe<Scalars['String']['output']>; clickThroughUrl?: Maybe<Scalars['String']['output']>; cpmMinorUnits: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; creativeType: HokAdCreativeType; currency: Scalars['String']['output']; durationSeconds: Scalars['Int']['output']; endsAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; impressionCount: Scalars['Int']['output']; kidSafe: Scalars['Boolean']['output']; mediaFileId?: Maybe<Scalars['ID']['output']>; mediaHeight: Scalars['Int']['output']; mediaMimeType: Scalars['String']['output']; mediaUrl?: Maybe<Scalars['String']['output']>; mediaWidth: Scalars['Int']['output']; name: Scalars['String']['output']; placements: Array<HokAdPlacement>; priority: Scalars['Int']['output']; /** Real spend so far in whole minor units (rounded down). */ spentMinorUnits: Scalars['String']['output']; startsAt?: Maybe<Scalars['DateTime']['output']>; status: HokAdCampaignStatus; targetDevices: Array<Scalars['String']['output']>; targetGenres: Array<Scalars['String']['output']>; targetLanguages: Array<Scalars['String']['output']>; targetTerritories: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; vastTagUrl?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokAdCampaignConnection = { __typename?: 'HokAdCampaignConnection'; items: Array<HokAdCampaign>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokAdCampaignInput = { advertiserName: Scalars['String']['input']; /** Lifetime budget in whole minor units, string-encoded; omit for uncapped. */ budgetMinorUnits?: InputMaybe<Scalars['String']['input']>; clickThroughUrl?: InputMaybe<Scalars['String']['input']>; cpmMinorUnits: Scalars['Int']['input']; creativeType?: InputMaybe<HokAdCreativeType>; currency?: InputMaybe<Scalars['String']['input']>; durationSeconds: Scalars['Int']['input']; endsAt?: InputMaybe<Scalars['DateTime']['input']>; kidSafe?: InputMaybe<Scalars['Boolean']['input']>; mediaFileId?: InputMaybe<Scalars['ID']['input']>; mediaHeight?: InputMaybe<Scalars['Int']['input']>; mediaMimeType?: InputMaybe<Scalars['String']['input']>; mediaUrl?: InputMaybe<Scalars['String']['input']>; mediaWidth?: InputMaybe<Scalars['Int']['input']>; name: Scalars['String']['input']; placements: Array<HokAdPlacement>; priority?: InputMaybe<Scalars['Int']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; targetDevices?: InputMaybe<Array<Scalars['String']['input']>>; targetGenres?: InputMaybe<Array<Scalars['String']['input']>>; targetLanguages?: InputMaybe<Array<Scalars['String']['input']>>; targetTerritories?: InputMaybe<Array<Scalars['String']['input']>>; vastTagUrl?: InputMaybe<Scalars['String']['input']>; }; export type HokAdCampaignRevenue = { __typename?: 'HokAdCampaignRevenue'; advertiserName: Scalars['String']['output']; campaignId: Scalars['ID']['output']; currency: Scalars['String']['output']; grossRevenueMinorUnits: Scalars['String']['output']; impressions: Scalars['Int']['output']; name: Scalars['String']['output']; }; export declare enum HokAdCampaignStatus { Active = "ACTIVE", Draft = "DRAFT", Ended = "ENDED", Paused = "PAUSED" } /** * The viewer's consent state, read by the player from the platform consent * store. Third-party demand (VAST wrapper tags and programmatic bids) is only * requested when thirdPartyAds is true; omitting the input means no consent. */ export type HokAdConsentInput = { /** Whether GDPR applies to this viewer (regs.gdpr / [GDPR]). */ gdprApplies?: InputMaybe<Scalars['Boolean']['input']>; /** IAB GPP string and section ids (regs.gpp / regs.gpp_sid). */ gpp?: InputMaybe<Scalars['String']['input']>; gppSid?: InputMaybe<Scalars['String']['input']>; /** IAB TCF consent string (user.consent / [GDPRCONSENT]). */ tcString?: InputMaybe<Scalars['String']['input']>; thirdPartyAds: Scalars['Boolean']['input']; /** IAB US Privacy string (regs.us_privacy / [US_PRIVACY]). */ usPrivacy?: InputMaybe<Scalars['String']['input']>; }; export declare enum HokAdCreativeType { /** A hosted video file, served as a VAST InLine ad. */ HostedVideo = "HOSTED_VIDEO", /** A third-party VAST tag (external ad server / SSP), served as a VAST Wrapper. */ VastWrapper = "VAST_WRAPPER" } export declare enum HokAdDemandSource { /** A direct-sold campaign (hosted creative or third-party VAST tag). */ Direct = "DIRECT", /** A programmatic (OpenRTB) bid that filled a break no direct campaign filled. */ Programmatic = "PROGRAMMATIC" } export type HokAdImpression = { __typename?: 'HokAdImpression'; /** The confirmed slot id: the campaign id (DIRECT) or the programmatic fill id (PROGRAMMATIC). */ campaignId: Scalars['ID']['output']; channelId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; decisionId: Scalars['ID']['output']; id: Scalars['ID']['output']; mode: HokMonetizationMode; placement: HokAdPlacement; revenueMilliMinorUnits: Scalars['String']['output']; source: HokAdDemandSource; titleId?: Maybe<Scalars['ID']['output']>; }; export declare enum HokAdPlacement { FastBreak = "FAST_BREAK", MidRoll = "MID_ROLL", PostRoll = "POST_ROLL", PreRoll = "PRE_ROLL" } export type HokAdRevenueReport = { __typename?: 'HokAdRevenueReport'; /** Direct-sold campaigns only; programmatic revenue is in bySeat. */ byCampaign: Array<HokAdCampaignRevenue>; bySeat: Array<HokAdSeatRevenue>; bySource: Array<HokAdSourceRevenue>; byTitle: Array<HokAdTitleRevenue>; creatorRevenueSharePercent: Scalars['Int']['output']; impressions: Scalars['Int']['output']; /** Calendar-month bucket ("YYYY-MM"). */ period: Scalars['String']['output']; totals: Array<HokAdRevenueTotal>; }; export type HokAdRevenueTotal = { __typename?: 'HokAdRevenueTotal'; /** The share attributed to rights participants (creator revenue share applied). */ creatorShareMinorUnits: Scalars['String']['output']; currency: Scalars['String']['output']; grossRevenueMinorUnits: Scalars['String']['output']; impressions: Scalars['Int']['output']; }; export type HokAdSchedule = { __typename?: 'HokAdSchedule'; /** * True when the viewer watches this title on the free, ad-supported tier (no * paid ad-free entitlement and an active FREE_AVOD rights window). */ adSupported: Scalars['Boolean']['output']; breaks: Array<HokAdScheduleBreak>; titleId: Scalars['ID']['output']; /** VMAP 1.0 document carrying every break with its VAST inline. */ vmapXml: Scalars['String']['output']; }; /** One break in a VOD title's ad schedule. */ export type HokAdScheduleBreak = { __typename?: 'HokAdScheduleBreak'; adBreak: HokAdBreak; placement: HokAdPlacement; /** VMAP timeOffset: "start", "end" or "HH:MM:SS.mmm". */ timeOffset: Scalars['String']['output']; /** Seconds into the title the break plays at (the runtime for a post-roll). */ timeOffsetSeconds: Scalars['Int']['output']; }; export type HokAdScheduleInput = { consent?: InputMaybe<HokAdConsentInput>; device?: InputMaybe<Scalars['String']['input']>; pageUrl?: InputMaybe<Scalars['String']['input']>; /** * Return the break plan (offsets and placements) without deciding any ads. * Players that decide each break just in time with hokRequestAdBreak (needed * for third-party demand, whose bids and resolved creatives expire) use this. */ planOnly?: InputMaybe<Scalars['Boolean']['input']>; profileId?: InputMaybe<Scalars['ID']['input']>; territory?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; /** Programmatic revenue by winning seat (bidder). */ export type HokAdSeatRevenue = { __typename?: 'HokAdSeatRevenue'; currency: Scalars['String']['output']; grossRevenueMinorUnits: Scalars['String']['output']; impressions: Scalars['Int']['output']; seat: Scalars['String']['output']; }; export type HokAdSettings = { __typename?: 'HokAdSettings'; creatorRevenueSharePercent: Scalars['Int']['output']; enabled: Scalars['Boolean']['output']; fastBreakDurationSeconds: Scalars['Int']['output']; fastBreakIntervalMinutes: Scalars['Int']['output']; frequencyCapPerCampaignPerDay: Scalars['Int']['output']; maxAdsPerBreak: Scalars['Int']['output']; maxBreakDurationSeconds: Scalars['Int']['output']; /** False while the workspace is still on the built-in defaults (no settings saved yet). */ persisted: Scalars['Boolean']['output']; /** Publisher account id at the demand partner (sent as site.publisher.id). */ programmaticAccountId?: Maybe<Scalars['String']['output']>; programmaticCurrency: Scalars['String']['output']; /** Programmatic fallback demand through an OpenRTB 2.6 endpoint (BOFF-10531). */ programmaticEnabled: Scalars['Boolean']['output']; /** https URL of the OpenRTB 2.6 auction endpoint, e.g. a Prebid Server /openrtb2/auction. */ programmaticEndpointUrl?: Maybe<Scalars['String']['output']>; /** Workspace price floor: minimum CPM in whole minor units of programmaticCurrency. */ programmaticFloorCpmMinorUnits: Scalars['Int']['output']; /** Sends OpenRTB test: 1 so bids are not billable (integration checks only). */ programmaticTestMode: Scalars['Boolean']['output']; /** Auction timeout (OpenRTB tmax) in milliseconds. */ programmaticTimeoutMs: Scalars['Int']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; vodMidRollIntervalMinutes: Scalars['Int']['output']; vodPostRollEnabled: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; /** One ad in an ad break (pod), in play order. */ export type HokAdSlot = { __typename?: 'HokAdSlot'; /** Ad system that served the creative (from the VAST document), when third-party. */ adSystem?: Maybe<Scalars['String']['output']>; advertiserName: Scalars['String']['output']; /** * The id to confirm with hokRecordAdImpression: the campaign id for a * direct-sold ad, the programmatic fill id for a PROGRAMMATIC ad. */ campaignId: Scalars['ID']['output']; clickThroughUrl?: Maybe<Scalars['String']['output']>; creativeType: HokAdCreativeType; durationSeconds: Scalars['Int']['output']; mediaMimeType: Scalars['String']['output']; mediaUrl?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; /** Programmatic seat (bidder) that won the slot, for PROGRAMMATIC ads. */ seat?: Maybe<Scalars['String']['output']>; sequence: Scalars['Int']['output']; source: HokAdDemandSource; /** Third-party tracking beacons to fire as the ad plays. */ tracking: HokAdTracking; vastTagUrl?: Maybe<Scalars['String']['output']>; }; /** Revenue by demand source (direct-sold vs programmatic). */ export type HokAdSourceRevenue = { __typename?: 'HokAdSourceRevenue'; creatorShareMinorUnits: Scalars['String']['output']; currency: Scalars['String']['output']; grossRevenueMinorUnits: Scalars['String']['output']; impressions: Scalars['Int']['output']; source: HokAdDemandSource; }; export type HokAdTitleRevenue = { __typename?: 'HokAdTitleRevenue'; currency: Scalars['String']['output']; grossRevenueMinorUnits: Scalars['String']['output']; impressions: Scalars['Int']['output']; mode: HokMonetizationMode; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; }; /** * Server-side delivery of one third-party ad's tracking beacons, fired by the * FAST linear stream originator once the ad aired (BOFF-10594). At most one per * decision and slot. */ export type HokAdTrackerDelivery = { __typename?: 'HokAdTrackerDelivery'; attemptedCount: Scalars['Int']['output']; billingDelivered: Scalars['Boolean']['output']; billingDue: Scalars['Boolean']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; decisionId: Scalars['ID']['output']; deliveredCount: Scalars['Int']['output']; events: Array<HokAdBeaconEventResult>; id: Scalars['ID']['output']; sessionId?: Maybe<Scalars['ID']['output']>; /** The confirmed slot: campaign id (DIRECT) or programmatic fill id (PROGRAMMATIC). */ slotId: Scalars['ID']['output']; source: HokAdDemandSource; status: HokAdTrackerDeliveryStatus; }; export declare enum HokAdTrackerDeliveryStatus { /** Every tracker (and the billing notice, when due) was answered without an error. */ Delivered = "DELIVERED", Failed = "FAILED", Partial = "PARTIAL", /** Claimed; beacons still in flight. */ Pending = "PENDING" } /** * Tracking beacons the player fires from the viewer's browser for a third-party * ad (the union of every VAST wrapper hop and the InLine ad). Empty for hosted * first-party creatives, which are tracked by hokRecordAdImpression alone. */ export type HokAdTracking = { __typename?: 'HokAdTracking'; /** Fired when the viewer clicks through. */ clickTracking: Array<Scalars['String']['output']>; complete: Array<Scalars['String']['output']>; /** Fired when the creative fails to play; the player fills the [ERRORCODE] macro. */ error: Array<Scalars['String']['output']>; firstQuartile: Array<Scalars['String']['output']>; /** Fired when the ad's first frame renders (VAST Impression). */ impression: Array<Scalars['String']['output']>; midpoint: Array<Scalars['String']['output']>; start: Array<Scalars['String']['output']>; thirdQuartile: Array<Scalars['String']['output']>; }; export type HokAddHlsPackageInput = { /** RFC 6381 codecs advertised in the master playlist (taken from the slate). */ codecs?: InputMaybe<Scalars['String']['input']>; /** Set to package one episode of the title; omit for the title's feature. */ episodeId?: InputMaybe<Scalars['ID']['input']>; /** wspace-files File holding the single media file the playlist describes. */ fileId: Scalars['ID']['input']; kind: HokHlsPackageKind; label?: InputMaybe<Scalars['String']['input']>; /** * The encoder's VOD media playlist (text) for that file: every segment an * EXT-X-BYTERANGE of the one file, constant segment duration (2-10 s), * EXT-X-ENDLIST present, no encryption. */ playlist: Scalars['String']['input']; /** * Rendition key (1-40 lowercase letters, digits, hyphens or underscores, such * as 1080p); defaults to main. A video has one active package per rendition, * and a feed variant airs the packages of its slate's rendition. */ rendition?: InputMaybe<Scalars['String']['input']>; /** WIDTHxHEIGHT advertised in the master playlist (taken from the slate). */ resolution?: InputMaybe<Scalars['String']['input']>; /** Required for PROGRAMME; omit for SLATE. */ titleId?: InputMaybe<Scalars['ID']['input']>; }; export type HokAddMediaRenditionInput = { bitrateKbps?: InputMaybe<Scalars['Int']['input']>; /** Set to attach the rendition to one episode; omit for the title's feature video. */ episodeId?: InputMaybe<Scalars['ID']['input']>; /** wspace-files-svc File holding the encoded video. */ fileId: Scalars['ID']['input']; /** Vertical resolution in pixels (144-4320). */ height: Scalars['Int']['input']; /** Viewer-facing label; defaults to "{height}p". */ label?: InputMaybe<Scalars['String']['input']>; mimeType?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; export type HokAddProductionMemberInput = { actorId?: InputMaybe<Scalars['ID']['input']>; characterName?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; dailyRateMinorUnits?: InputMaybe<Scalars['String']['input']>; defaultCallTime?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; email?: InputMaybe<Scalars['String']['input']>; kind: HokProductionMemberKind; phone?: InputMaybe<Scalars['String']['input']>; productionId: Scalars['ID']['input']; roleTitle?: InputMaybe<Scalars['String']['input']>; }; export type HokAddStoryboardFrameInput = { /** Optional caption (up to 500 characters). */ caption?: InputMaybe<Scalars['String']['input']>; /** An ACTIVE image File of this workspace (uploaded through wspace-files-svc). */ fileId: Scalars['ID']['input']; shotId: Scalars['ID']['input']; }; export type HokAddTalentReelItemInput = { caption?: InputMaybe<Scalars['String']['input']>; /** Add an existing clip; its video, poster, caption and duration are copied. */ clipId?: InputMaybe<Scalars['ID']['input']>; durationSeconds?: InputMaybe<Scalars['Int']['input']>; order?: InputMaybe<Scalars['Int']['input']>; posterFileId?: InputMaybe<Scalars['ID']['input']>; /** Or add a standalone video File (required when clipId is not given). */ videoFileId?: InputMaybe<Scalars['ID']['input']>; }; /** A single (bucket-key -> aggregate) row for a device/territory/language breakdown. */ export type HokAnalyticsBucket = { __typename?: 'HokAnalyticsBucket'; count: Scalars['Int']['output']; key: Scalars['String']['output']; watchedSeconds: Scalars['Int']['output']; }; export type HokApplication = { __typename?: 'HokApplication'; applicantId: Scalars['ID']['output']; /** Two-sided reputation of the applicant (ratings left by productions). */ applicantReputation: HokReputation; /** * Verified-talent badge (BOFF-4245): whether the applicant has a VERIFIED * identity-verification record on file. */ applicantVerified: Scalars['Boolean']['output']; auditionId: Scalars['ID']['output']; callbacks: Array<HokCallback>; coverNote?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** auth-svc user id of the consenting guardian (present when the audition is a minor role). */ guardianActorId?: Maybe<Scalars['ID']['output']>; /** When guardian consent was captured. */ guardianConsentedAt?: Maybe<Scalars['DateTime']['output']>; /** Relationship of the guardian to the minor (e.g. parent, legal_guardian). */ guardianRelationship?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; offers: Array<HokOffer>; score?: Maybe<Scalars['Int']['output']>; /** Reference to a wspace-files-svc File holding the self-tape. */ selfTape?: Maybe<File>; status: HokApplicationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokApplicationConnection = { __typename?: 'HokApplicationConnection'; items: Array<HokApplication>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokApplicationStatus { Callback = "CALLBACK", Offered = "OFFERED", Rejected = "REJECTED", Shortlisted = "SHORTLISTED", Submitted = "SUBMITTED", Withdrawn = "WITHDRAWN" } export type HokApplyPlanBudgetLineInput = { budgetedMinorUnits: Scalars['String']['input']; category: Scalars['String']['input']; description: Scalars['String']['input']; }; /** * The plan the user confirmed (and may have edited). Creates the production and * its budget lines in one transaction. */ export type HokApplyProductionPlanInput = { budgetLines?: InputMaybe<Array<HokApplyPlanBudgetLineInput>>; budgetMinorUnits?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; logline?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; studioId?: InputMaybe<Scalars['ID']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type HokApplyShootDayInput = { generalCallTime?: InputMaybe<Scalars['String']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; sceneIds: Array<Scalars['ID']['input']>; shootDate: Scalars['String']['input']; }; export type HokApplyShootingScheduleResult = { __typename?: 'HokApplyShootingScheduleResult'; createdDays: Scalars['Int']['output']; productionId: Scalars['ID']['output']; replacedDays: Scalars['Int']['output']; scheduledScenes: Scalars['Int']['output']; }; export type HokApplyToAuditionInput = { auditionId: Scalars['ID']['input']; coverNote?: InputMaybe<Scalars['String']['input']>; /** * Required when the audition is a minor role, unless guardianLinkId is given. * auth-svc user id of the consenting guardian — MUST be a different actor from the applicant AND must * already hold a VERIFIED identity verification (hokSubmitIdentityVerification) * attesting they are 18+ (BOFF-4245: guardianship can no longer be self-declared). */ guardianActorId?: InputMaybe<Scalars['ID']['input']>; /** Optional additional consent evidence/reference (e.g. method, jurisdiction, reference id). */ guardianConsentContext?: InputMaybe<Scalars['JSON']['input']>; /** * Minor roles (BOFF-9648): an ACCEPTED guardian link of the applicant * (hokMyGuardianLinks). Supplies the guardian and the relationship in place of * guardianActorId / guardianRelationship; the guardian must still be a verified adult. */ guardianLinkId?: InputMaybe<Scalars['ID']['input']>; /** * Required when the audition is a minor role, unless guardianLinkId is given. * Relationship of the guardian to the minor. */ guardianRelationship?: InputMaybe<Scalars['String']['input']>; selfTapeFileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Where the numbers of a proposal come from. * WORKSPACE_HISTORY: this workspace's own past productions. * BLENDED: a small workspace sample averaged with industry benchmarks. * EXTERNAL_BENCHMARK: industry rule-of-thumb benchmarks only (no comparable history yet). */ export declare enum HokAssistantBasis { Blended = "BLENDED", ExternalBenchmark = "EXTERNAL_BENCHMARK", WorkspaceHistory = "WORKSPACE_HISTORY" } export type HokAudition = { __typename?: 'HokAudition'; applications: Array<HokApplication>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; /** Notice shown to applicants explaining the guardian-consent requirement for a minor role. */ guardianConsentNotice?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isMinorRole: Scalars['Boolean']['output']; language?: Maybe<Scalars['String']['output']>; location?: Maybe<Scalars['String']['output']>; payMinorUnits: Scalars['String']['output']; production?: Maybe<HokProduction>; productionId: Scalars['ID']['output']; roleName: Scalars['String']['output']; status: HokAuditionStatus; /** * Two-sided reputation of the studio behind this casting call (ratings left * by talent). Zero ratings when the production has no studio. */ studioReputation: HokReputation; /** * Verified-posting badge/fraud signal (BOFF-4245): whether the studio behind * this casting call is trust & safety verified. */ studioVerified: Scalars['Boolean']['output']; submissionDeadline?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokAuditionApplicationsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokAuditionConnection = { __typename?: 'HokAuditionConnection'; items: Array<HokAudition>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokAuditionStatus { Callbacks = "CALLBACKS", Cancelled = "CANCELLED", Closed = "CLOSED", Open = "OPEN", Reviewing = "REVIEWING" } export declare enum HokBreakdownCategory { Animals = "ANIMALS", Equipment = "EQUIPMENT", Extras = "EXTRAS", Makeup = "MAKEUP", Other = "OTHER", Props = "PROPS", SetDressing = "SET_DRESSING", Sound = "SOUND", SpecialEffects = "SPECIAL_EFFECTS", Stunts = "STUNTS", Vehicles = "VEHICLES", VisualEffects = "VISUAL_EFFECTS", Wardrobe = "WARDROBE" } export type HokBreakdownElement = { __typename?: 'HokBreakdownElement'; category: HokBreakdownCategory; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; }; export type HokBreakdownElementInput = { category: HokBreakdownCategory; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; export type HokBudgetForecast = { __typename?: 'HokBudgetForecast'; approvedBudgetMinorUnits: Scalars['String']['output']; assumptions: Array<Scalars['String']['output']>; basis: HokAssistantBasis; currency: Scalars['String']['output']; drivers: Array<Scalars['String']['output']>; expectedMinorUnits: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; highMinorUnits: Scalars['String']['output']; lines: Array<HokBudgetForecastLine>; lowMinorUnits: Scalars['String']['output']; productionId: Scalars['ID']['output']; status: HokBudgetForecastStatus; /** Expected minus approved (negative when under budget). */ varianceMinorUnits: Scalars['String']['output']; variancePercent?: Maybe<Scalars['Float']['output']>; }; export type HokBudgetForecastLine = { __typename?: 'HokBudgetForecastLine'; actualMinorUnits: Scalars['String']['output']; budgetedMinorUnits: Scalars['String']['output']; /** A cost-item category, or LABOR for cast and crew day rates. */ category: Scalars['String']['output']; expectedMinorUnits: Scalars['String']['output']; explanation: Scalars['String']['output']; highMinorUnits: Scalars['String']['output']; label: Scalars['String']['output']; lowMinorUnits: Scalars['String']['output']; }; export declare enum HokBudgetForecastStatus { AtRisk = "AT_RISK", NoBudget = "NO_BUDGET", OnTrack = "ON_TRACK", OverBudget = "OVER_BUDGET" } /** * A call sheet for one shoot day. hokCallSheet returns a live draft generated * from the schedule and roster (id and version are null); hokPublishCallSheet * stores an immutable, versioned snapshot. */ export type HokCallSheet = { __typename?: 'HokCallSheet'; cast: Array<HokCallSheetEntry>; crew: Array<HokCallSheetEntry>; dayNumber: Scalars['Int']['output']; generalCallTime: Scalars['String']['output']; /** * True when a printable PDF of this published version is stored in the * workspace's file library (always false for a live draft). */ hasPdf: Scalars['Boolean']['output']; id?: Maybe<Scalars['ID']['output']>; locations: Array<HokCallSheetLocation>; notes?: Maybe<Scalars['String']['output']>; /** * A short-lived (5 minute) download URL for the printable PDF of this * published version, minted by wspace-files-svc for the requesting member. * Null for a live draft, a version without a stored PDF, or when the file * service refuses. */ pdfUrl?: Maybe<Scalars['String']['output']>; productionId: Scalars['ID']['output']; productionTitle: Scalars['String']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; scenes: Array<HokCallSheetScene>; shootDate: Scalars['String']['output']; shootDayId: Scalars['ID']['output']; totalDays: Scalars['Int']['output']; totalPageEighths: Scalars['Int']['output']; version?: Maybe<Scalars['Int']['output']>; wrapTime?: Maybe<Scalars['String']['output']>; }; export type HokCallSheetEntry = { __typename?: 'HokCallSheetEntry'; callTime: Scalars['String']['output']; characterName?: Maybe<Scalars['String']['output']>; department?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; memberId: Scalars['ID']['output']; phone?: Maybe<Scalars['String']['output']>; roleTitle?: Maybe<Scalars['String']['output']>; /** Scene numbers this person works in today (cast only). */ sceneNumbers: Array<Scalars['String']['output']>; }; export type HokCallSheetLocation = { __typename?: 'HokCallSheetLocation'; address?: Maybe<Scalars['String']['output']>; city?: Maybe<Scalars['String']['output']>; contactName?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; export type HokCallSheetScene = { __typename?: 'HokCallSheetScene'; castNames: Array<Scalars['String']['output']>; heading: Scalars['String']['output']; locationName?: Maybe<Scalars['String']['output']>; pageEighths: Scalars['Int']['output']; sceneId: Scalars['ID']['output']; sceneNumber: Scalars['String']['output']; setting: HokSceneSetting; synopsis?: Maybe<Scalars['String']['output']>; timeOfDay: HokSceneTimeOfDay; }; export type HokCallback = { __typename?: 'HokCallback'; applicantId: Scalars['ID']['output']; applicationId: Scalars['ID']['output']; auditionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; declineReason?: Maybe<Scalars['String']['output']>; format: HokCallbackFormat; guardianActorId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** Minor-role callbacks can only be confirmed by the verified guardian. */ isMinorRole: Scalars['Boolean']['output']; location?: Maybe<Scalars['String']['output']>; meetingUrl?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; respondedAt?: Maybe<Scalars['DateTime']['output']>; scheduledEnd: Scalars['DateTime']['output']; scheduledStart: Scalars['DateTime']['output']; status: HokCallbackStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokCallbackConnection = { __typename?: 'HokCallbackConnection'; items: Array<HokCallback>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum HokCallbackFormat { InPerson = "IN_PERSON", Virtual = "VIRTUAL" } export declare enum HokCallbackStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", Declined = "DECLINED", Proposed = "PROPOSED" } export type HokCastCriteria = { characterName?: InputMaybe<Scalars['String']['input']>; genres?: InputMaybe<Array<Scalars['String']['input']>>; includeRostered?: InputMaybe<Scalars['Boolean']['input']>; keywords?: InputMaybe<Array<Scalars['String']['input']>>; language?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; }; export type HokCastFromOfferInput = { characterName?: InputMaybe<Scalars['String']['input']>; dailyRateMinorUnits?: InputMaybe<Scalars['String']['input']>; defaultCallTime?: InputMaybe<Scalars['String']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; offerId: Scalars['ID']['input']; }; export type HokCastSuggestions = { __typename?: 'HokCastSuggestions'; candidates: Array<HokTalentSuggestion>; characterName?: Maybe<Scalars['String']['output']>; consideredCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; guardrails: Array<Scalars['String']['output']>; productionId: Scalars['ID']['output']; target: HokTalentTarget; }; export declare enum HokCastingSide { Production = "PRODUCTION", Talent = "TALENT" } export type HokChannel = { __typename?: 'HokChannel'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; genres: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; language: Scalars['String']['output']; /** Federation ref for the channel logo File (resolved by wspace-files-svc). */ logo?: Maybe<File>; logoFileId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; slug?: Maybe<Scalars['String']['output']>; status: HokChannelStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** A planned ad break on a FAST channel timeline. */ export type HokChannelAdBreakSlot = { __typename?: 'HokChannelAdBreakSlot'; channelId: Scalars['ID']['output']; durationSeconds: Scalars['Int']['output']; endAt: Scalars['DateTime']['output']; scheduleBlockId: Scalars['ID']['output']; startAt: Scalars['DateTime']['output']; titleId?: Maybe<Scalars['ID']['output']>; }; export type HokChannelConnection = { __typename?: 'HokChannelConnection'; items: Array<HokChannel>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; /** A channel's HLS distribution feed for third-party FAST platforms. */ export type HokChannelHlsFeed = { __typename?: 'HokChannelHlsFeed'; channelId: Scalars['ID']['output']; /** Container of the feed (from the slate); packages must match it. */ container: HokHlsContainer; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Last time a player or platform fetched the live playlist (updated about once a minute). */ lastPolledAt?: Maybe<Scalars['DateTime']['output']>; /** The URL to give a FAST platform: the master playlist with one entry per variant. */ masterPlaylistUrl: Scalars['String']['output']; /** The primary variant's live media playlist. */ mediaPlaylistUrl: Scalars['String']['output']; /** Schedule blocks in the next 24 hours and whether each airs its programme or the slate. */ readiness: Array<HokHlsFeedBlockReadiness>; /** Whether breaks are also signalled with SCTE-35 EXT-X-DATERANGE tags. */ scte35Enabled: Scalars['Boolean']['output']; /** Segment duration of the feed's slot grid (from the slate); packages must match it. */ segmentDurationSeconds: Scalars['Int']['output']; /** The primary variant's slate. */ slate?: Maybe<HokHlsPackage>; status: HokHlsFeedStatus; updatedAt: Scalars['DateTime']['output']; /** Every variant in ladder order, the primary first. */ variants: Array<HokHlsFeedVariant>; }; export declare enum HokChannelStatus { Draft = "DRAFT", Live = "LIVE", Offline = "OFFLINE" } /** The calling viewer's linear stream of one channel over [windowStart, windowEnd). */ export type HokChannelStream = { __typename?: 'HokChannelStream'; channelId: Scalars['ID']['output']; channelName: Scalars['String']['output']; channelStatus: HokChannelStatus; /** Ads the server confirmed as impressions while handling this call. */ confirmedImpressions: Scalars['Int']['output']; heartbeatIntervalSeconds: Scalars['Int']['output']; items: Array<HokLinearItem>; nextRefreshAt: Scalars['DateTime']['output']; /** True when something is scheduled to air right now. */ onAir: Scalars['Boolean']['output']; /** Server clock at response time; players align their position to it. */ serverTime: Scalars['DateTime']['output']; sessionId: Scalars['ID']['output']; /** Start of the viewer's current uninterrupted stretch of heartbeats. */ tunedInSince: Scalars['DateTime']['output']; windowEnd: Scalars['DateTime']['output']; windowStart: Scalars['DateTime']['output']; }; export type HokClip = { __typename?: 'HokClip'; caption?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; durationSeconds?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; language?: Maybe<Scalars['String']['output']>; order: Scalars['Int']['output']; /** Federation ref for the clip poster File (resolved by wspace-files-svc). */ poster?: Maybe<File>; posterFileId?: Maybe<Scalars['ID']['output']>; status: HokClipStatus; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** Federation ref for the clip video File (resolved by wspace-files-svc). */ video?: Maybe<File>; videoFileId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HokClipConnection = { __typename?: 'HokClipConnection'; items: Array<HokClip>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokClipStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type HokComparableProduction = { __typename?: 'HokComparableProduction'; id: Scalars['ID']['output']; title: Scalars['String']['output']; }; export declare enum HokConflictSeverity { Error = "ERROR", Warning = "WARNING" } export declare enum HokCostCategory { AboveTheLine = "ABOVE_THE_LINE", Marketing = "MARKETING", Other = "OTHER", PostProduction = "POST_PRODUCTION", Production = "PRODUCTION" } export type HokCostCategorySummary = { __typename?: 'HokCostCategorySummary'; actualMinorUnits: Scalars['String']['output']; budgetedMinorUnits: Scalars['String']['output']; category: HokCostCategory; }; export type HokCostItem = { __typename?: 'HokCostItem'; actualMinorUnits: Scalars['String']['output']; budgetedMinorUnits: Scalars['String']['output']; category: HokCostCategory; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; productionId: Scalars['ID']['output']; shootDayId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; vendor?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokCreateAuditionInput = { currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; guardianConsentNotice?: InputMaybe<Scalars['String']['input']>; /** * Minor-role postings require the production's studio to already hold a * VERIFIED identity verification (BOFF-4245) — casting for minors is blocked * from unverified studios, not merely flagged after the fact. */ isMinorRole?: InputMaybe<Scalars['Boolean']['input']>; language?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; payMinorUnits?: InputMaybe<Scalars['String']['input']>; productionId: Scalars['ID']['input']; roleName: Scalars['String']['input']; submissionDeadline?: InputMaybe<Scalars['DateTime']['input']>; }; export type HokCreateChannelInput = { description?: InputMaybe<Scalars['String']['input']>; genres?: InputMaybe<Array<Scalars['String']['input']>>; language?: InputMaybe<Scalars['String']['input']>; logoFileId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; slug?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type HokCreateClipInput = { caption?: InputMaybe<Scalars['String']['input']>; durationSeconds?: InputMaybe<Scalars['Int']['input']>; language?: InputMaybe<Scalars['String']['input']>; order?: InputMaybe<Scalars['Int']['input']>; posterFileId?: InputMaybe<Scalars['ID']['input']>; titleId: Scalars['ID']['input']; videoFileId: Scalars['ID']['input']; }; export type HokCreateCostItemInput = { actualMinorUnits?: InputMaybe<Scalars['String']['input']>; budgetedMinorUnits?: InputMaybe<Scalars['String']['input']>; category: HokCostCategory; description: Scalars['String']['input']; productionId: Scalars['ID']['input']; shootDayId?: InputMaybe<Scalars['ID']['input']>; vendor?: InputMaybe<Scalars['String']['input']>; }; export type HokCreateCreditInput = { billingOrder?: InputMaybe<Scalars['Int']['input']>; characterName?: InputMaybe<Scalars['String']['input']>; personId: Scalars['ID']['input']; role?: InputMaybe<HokCreditRole>; titleId: Scalars['ID']['input']; }; export type HokCreateEmbedInput = { /** Required when kind is CLIP; must be a published clip of the same title. */ clipId?: InputMaybe<Scalars['ID']['input']>; kind: HokEmbedKind; label?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; export type HokCreateEpisodeInput = { airDate?: InputMaybe<Scalars['DateTime']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; number: Scalars['Int']['input']; runtimeMinutes?: InputMaybe<Scalars['Int']['input']>; seasonId?: InputMaybe<Scalars['ID']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; export type HokCreateListInput = { description?: InputMaybe<Scalars['String']['input']>; items?: InputMaybe<Scalars['JSON']['input']>; kind?: InputMaybe<HokListKind>; name: Scalars['String']['input']; visibility?: InputMaybe<HokListVisibility>; }; export type HokCreateLocalizationInput = { episodeId?: InputMaybe<Scalars['ID']['input']>; fileId: Scalars['ID']['input']; isDefault?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<HokLocalizationKind>; language: Scalars['String']['input']; localizedSynopsis?: InputMaybe<Scalars['String']['input']>; localizedTitle?: InputMaybe<Scalars['String']['input']>; titleId?: InputMaybe<Scalars['ID']['input']>; }; export type HokCreatePersonInput = { biography?: InputMaybe<Scalars['String']['input']>; knownFor?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; portfolioRef?: InputMaybe<Scalars['String']['input']>; primaryLanguage?: InputMaybe<Scalars['String']['input']>; /** * Optional profile handle (lowercase letters, digits and single hyphens, at * most 160 characters). Generated from the name when omitted. */ slug?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type HokCreateProductionInput = { artistrybaseProjectRef?: InputMaybe<Scalars['String']['input']>; budgetMinorUnits?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; logline?: InputMaybe<Scalars['String']['input']>; producerId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; studioId?: InputMaybe<Scalars['ID']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type HokCreateProfileInput = { avatarFileId?: InputMaybe<Scalars['ID']['input']>; isKids?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; maturityLimit?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; /** Optional numeric PIN to gate the profile; stored only as a salted hash. */ pin?: InputMaybe<Scalars['String']['input']>; }; export type HokCreateReviewInput = { aspectScores?: InputMaybe<Scalars['JSON']['input']>; body?: InputMaybe<Scalars['String']['input']>; hasSpoilers?: InputMaybe<Scalars['Boolean']['input']>; score: Scalars['Int']['input']; titleId: Scalars['ID']['input']; }; export type HokCreateRightsWindowInput = { contractFileId?: InputMaybe<Scalars['ID']['input']>; currency?: InputMaybe<Scalars['String']['input']>; /** Allow offline downloads under this window (default false). */ downloadable?: InputMaybe<Scalars['Boolean']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; exclusive?: InputMaybe<Scalars['Boolean']['input']>; licenseeId?: InputMaybe<Scalars['ID']['input']>; /** Per-viewer download cap for the title (1-1000); omit or null for no cap. */ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>; modes: Array<HokMonetizationMode>; /** Hours a downloaded copy stays playable (1-720, default 48). */ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>; priceMinorUnits?: InputMaybe<Scalars['JSON']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; territories?: InputMaybe<Array<Scalars['String']['input']>>; titleId: Scalars['ID']['input']; }; export type HokCreateSceneInput = { castMemberIds?: InputMaybe<Array<Scalars['ID']['input']>>; elements?: InputMaybe<Array<HokBreakdownElementInput>>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; heading: Scalars['String']['input']; locationId?: InputMaybe<Scalars['ID']['input']>; pageEighths?: InputMaybe<Scalars['Int']['input']>; productionId: Scalars['ID']['input']; sceneNumber: Scalars['String']['input']; setting?: InputMaybe<HokSceneSetting>; synopsis?: InputMaybe<Scalars['String']['input']>; timeOfDay?: InputMaybe<HokSceneTimeOfDay>; }; export type HokCreateSeasonInput = { airDate?: InputMaybe<Scalars['DateTime']['input']>; name?: InputMaybe<Scalars['String']['input']>; number: Scalars['Int']['input']; synopsis?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; export type HokCreateShootDayInput = { generalCallTime?: InputMaybe<Scalars['String']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; productionId: Scalars['ID']['input']; sceneIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Calendar date (YYYY-MM-DD). */ shootDate: Scalars['String']['input']; wrapTime?: InputMaybe<Scalars['String']['input']>; }; export type HokCreateShotInput = { description?: InputMaybe<Scalars['String']['input']>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; lens?: InputMaybe<Scalars['String']['input']>; movement?: InputMaybe<HokShotMovement>; sceneId: Scalars['ID']['input']; shotNumber: Scalars['String']['input']; shotType?: InputMaybe<HokShotType>; }; export type HokCreateStudioInput = { country?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; slug?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; websiteUrl?: InputMaybe<Scalars['String']['input']>; }; export type HokCreateTitleInput = { aiDisclosure?: InputMaybe<Scalars['Boolean']['input']>; backdropFileId?: InputMaybe<Scalars['ID']['input']>; certification?: InputMaybe<Scalars['String']['input']>; genres?: InputMaybe<Array<Scalars['String']['input']>>; originCountry?: InputMaybe<Scalars['String']['input']>; originalLanguage?: InputMaybe<Scalars['String']['input']>; posterFileId?: InputMaybe<Scalars['ID']['input']>; releaseDate?: InputMaybe<Scalars['DateTime']['input']>; releaseYear?: InputMaybe<Scalars['Int']['input']>; runtimeMinutes?: InputMaybe<Scalars['Int']['input']>; slug?: InputMaybe<Scalars['String']['input']>; studioId?: InputMaybe<Scalars['ID']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; trailerFileId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<HokTitleType>; videoFileId?: InputMaybe<Scalars['ID']['input']>; }; export type HokCreateWatchPartyInput = { episodeId?: InputMaybe<Scalars['ID']['input']>; isPlaying?: InputMaybe<Scalars['Boolean']['input']>; positionSeconds?: InputMaybe<Scalars['Int']['input']>; titleId: Scalars['ID']['input']; }; export type HokCredit = { __typename?: 'HokCredit'; billingOrder: Scalars['Int']['output']; characterName?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; person?: Maybe<HokPerson>; personId: Scalars['ID']['output']; role: HokCreditRole; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokCreditRole { Actor = "ACTOR", Cinematographer = "CINEMATOGRAPHER", Composer = "COMPOSER", Crew = "CREW", Director = "DIRECTOR", Editor = "EDITOR", Producer = "PRODUCER", VoiceActor = "VOICE_ACTOR", Writer = "WRITER" } export type HokCrewCriteria = { genres?: InputMaybe<Array<Scalars['String']['input']>>; includeRostered?: InputMaybe<Scalars['Boolean']['input']>; language?: InputMaybe<Scalars['String']['input']>; limitPerRole?: InputMaybe<Scalars['Int']['input']>; roles?: InputMaybe<Array<HokCrewRole>>; }; export declare enum HokCrewRole { Cinematographer = "CINEMATOGRAPHER", Composer = "COMPOSER", Crew = "CREW", Director = "DIRECTOR", Editor = "EDITOR", Producer = "PRODUCER", Writer = "WRITER" } export type HokCrewRoleSuggestions = { __typename?: 'HokCrewRoleSuggestions'; candidates: Array<HokTalentSuggestion>; role: HokCrewRole; /** Names already on this production's roster in the role. */ rosteredNames: Array<Scalars['String']['output']>; }; export type HokCrewSuggestions = { __typename?: 'HokCrewSuggestions'; consideredCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; guardrails: Array<Scalars['String']['output']>; productionId: Scalars['ID']['output']; roles: Array<HokCrewRoleSuggestions>; target: HokTalentTarget; }; /** The daily production report (DPR) of one shoot day. */ export type HokDailyReport = { __typename?: 'HokDailyReport'; actualCallTime: Scalars['String']['output']; actualWrapTime?: Maybe<Scalars['String']['output']>; additionalCostMinorUnits: Scalars['String']['output']; completedSceneIds: Array<Scalars['ID']['output']>; completedShotIds: Array<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; laborActualMinorUnits: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Minutes beyond the 12-hour standard day, rounded up to the quarter hour. */ overtimeMinutes: Scalars['Int']['output']; productionId: Scalars['ID']['output']; /** Calendar date of the shoot day (YYYY-MM-DD). */ shootDate?: Maybe<Scalars['String']['output']>; shootDayId: Scalars['ID']['output']; status: HokDailyReportStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; totalActualMinorUnits: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** Cast and crew whose labour the report booked. */ workedMemberIds: Array<Scalars['ID']['output']>; /** Minutes from actual call to actual wrap (a wrap before the call is after midnight). */ workedMinutes: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokDailyReportStatus { Draft = "DRAFT", Submitted = "SUBMITTED" } /** * A machine-readable export of all HookMovies data linked to the calling user. * Returned as a single JSON payload for GDPR access & portability requests. */ export type HokDataExport = { __typename?: 'HokDataExport'; /** The calling user's actor id (always derived from ctx.actorId server-side). */ actorId: Scalars['ID']['output']; /** ISO-8601 timestamp when the export was generated. */ exportedAt: Scalars['DateTime']['output']; /** All user-linked HookMovies data as a structured JSON object. */ payload: Scalars['JSON']['output']; }; /** The onboarding sample data loaded into a workspace. */ export type HokDemoData = { __typename?: 'HokDemoData'; auditionId?: Maybe<Scalars['ID']['output']>; /** False when the sample data was already loaded and is returned unchanged. */ created: Scalars['Boolean']['output']; productionId?: Maybe<Scalars['ID']['output']>; studioId: Scalars['ID']['output']; /** The sample feature film first, then the sample series. */ titleIds: Array<Scalars['ID']['output']>; }; export type HokDemoDataRemoval = { __typename?: 'HokDemoDataRemoval'; /** Rows soft-deleted across the sample studio, people, titles, production and audition. */ removed: Scalars['Int']['output']; }; export type HokDispute = { __typename?: 'HokDispute'; applicantId: Scalars['ID']['output']; category: HokDisputeCategory; createdAt: Scalars['DateTime']['output']; evidenceFileIds: Array<Scalars['ID']['output']>; /** Federation refs to the evidence files (wspace-files-svc), in upload order. */ evidenceFiles: Array<File>; id: Scalars['ID']['output']; offerId: Scalars['ID']['output']; outcome?: Maybe<HokDisputeOutcome>; productionStatement?: Maybe<Scalars['String']['output']>; raisedByActorId: Scalars['ID']['output']; raisedBySide: HokCastingSide; resolution?: Maybe<Scalars['String']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; status: HokDisputeStatus; talentStatement?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokDisputeCategory { Conduct = "CONDUCT", LatePayment = "LATE_PAYMENT", NonPayment = "NON_PAYMENT", Other = "OTHER", Safety = "SAFETY", TermsChanged = "TERMS_CHANGED" } export type HokDisputeConnection = { __typename?: 'HokDisputeConnection'; items: Array<HokDispute>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum HokDisputeOutcome { InFavorOfProduction = "IN_FAVOR_OF_PRODUCTION", InFavorOfTalent = "IN_FAVOR_OF_TALENT", MutualResolution = "MUTUAL_RESOLUTION", NoAction = "NO_ACTION" } export declare enum HokDisputeStatus { Dismissed = "DISMISSED", Open = "OPEN", Resolved = "RESOLVED", UnderReview = "UNDER_REVIEW" } /** * A studio's opt-in to play one piece of media anonymously through the public * `/embed/:publicId` player. */ export type HokEmbed = { __typename?: 'HokEmbed'; clipId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: HokEmbedKind; label?: Maybe<Scalars['String']['output']>; lastViewedAt?: Maybe<Scalars['DateTime']['output']>; /** The unguessable token in the public player URL. */ publicId: Scalars['String']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; status: HokEmbedStatus; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** Times the public player has resolved this embed. */ viewCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type HokEmbedConnection = { __typename?: 'HokEmbedConnection'; items: Array<HokEmbed>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokEmbedKind { /** One short-form clip of the title (`HokClip`). */ Clip = "CLIP", /** The full feature (`HokTitle.videoFileId`) — free to watch for anyone with the link. */ Feature = "FEATURE", /** The title's trailer (`HokTitle.trailerFileId`). */ Trailer = "TRAILER" } export declare enum HokEmbedStatus { Active = "ACTIVE", Revoked = "REVOKED" } export type HokEntitlement = { __typename?: 'HokEntitlement'; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; mode: HokMonetizationMode; source: HokEntitlementSource; status: HokEntitlementStatus; territory?: Maybe<Scalars['String']['output']>; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HokEntitlementCheck = { __typename?: 'HokEntitlementCheck'; /** * True when the viewer can watch only on the free, ad-supported tier (an active * FREE_AVOD rights window or a FREE_AVOD/FAST grant, and no paid entitlement): * the player must run the ad schedule from `hokRequestAdSchedule` (BOFF-4249). */ adSupported: Scalars['Boolean']['output']; entitled: Scalars['Boolean']['output']; modes: Array<HokMonetizationMode>; }; export type HokEntitlementConnection = { __typename?: 'HokEntitlementConnection'; items: Array<HokEntitlement>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokEntitlementSource { Free = "FREE", Promo = "PROMO", Purchase = "PURCHASE", Rental = "RENTAL", Subscription = "SUBSCRIPTION" } export declare enum HokEntitlementStatus { Active = "ACTIVE", Expired = "EXPIRED", Revoked = "REVOKED" } export type HokEpisode = { __typename?: 'HokEpisode'; airDate?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File holding the master/mezzanine. */ file?: Maybe<File>; id: Scalars['ID']['output']; name: Scalars['String']['output']; number: Scalars['Int']['output']; runtimeMinutes?: Maybe<Scalars['Int']['output']>; seasonId?: Maybe<Scalars['ID']['output']>; synopsis?: Maybe<Scalars['String']['output']>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokEpisodeConnection = { __typename?: 'HokEpisodeConnection'; items: Array<HokEpisode>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokFilmographyConnection = { __typename?: 'HokFilmographyConnection'; items: Array<HokFilmographyEntry>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; /** One filmography row: a credit together with the title it belongs to. */ export type HokFilmographyEntry = { __typename?: 'HokFilmographyEntry'; billingOrder: Scalars['Int']['output']; characterName?: Maybe<Scalars['String']['output']>; creditId: Scalars['ID']['output']; id: Scalars['ID']['output']; role: HokCreditRole; title: HokTitle; }; export type HokFilmographyFilters = { /** Only credits with this role. */ role?: InputMaybe<HokCreditRole>; /** Only credits on titles of this type. */ titleType?: InputMaybe<HokTitleType>; }; export type HokFitReason = { __typename?: 'HokFitReason'; /** The titles or productions that earned the points. */ evidence: Array<Scalars['String']['output']>; label: Scalars['String']['output']; maxPoints: Scalars['Float']['output']; points: Scalars['Float']['output']; signal: HokFitSignal; }; /** A named signal that contributed points to a cast or crew fit score. */ export declare enum HokFitSignal { ActingExperience = "ACTING_EXPERIENCE", GenreFit = "GENRE_FIT", KeywordMatch = "KEYWORD_MATCH", LanguageFit = "LANGUAGE_FIT", LeadExperience = "LEAD_EXPERIENCE", RecentWork = "RECENT_WORK", RoleExperience = "ROLE_EXPERIENCE", WorkedWithStudio = "WORKED_WITH_STUDIO" } export type HokGrantEntitlementInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; mode: HokMonetizationMode; source?: InputMaybe<HokEntitlementSource>; territory?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; userId: Scalars['ID']['input']; }; export type HokGrantPartnerAccessInput = { /** The global-auth app id (Developer portal) whose API keys the partner uses. */ appId: Scalars['ID']['input']; partnerName: Scalars['String']['input']; /** Defaults to SANDBOX. */ tier?: InputMaybe<HokPartnerTier>; }; /** What the person opening an invite link sees before accepting it. */ export type HokGuardianInvitePreview = { __typename?: 'HokGuardianInvitePreview'; /** True when the caller sent this invite (they cannot accept it themselves). */ callerIsMinor: Scalars['Boolean']['output']; /** * Whether the caller already holds a VERIFIED adult identity verification. * When false, accepting still records the link, but the guardian must * complete verification before their consent is honoured. */ callerVerifiedAdult: Scalars['Boolean']['output']; expiresAt: Scalars['DateTime']['output']; guardianRelationship: Scalars['String']['output']; linkId: Scalars['ID']['output']; minorActorId: Scalars['ID']['output']; status: HokGuardianLinkStatus; }; export type HokGuardianInviteResult = { __typename?: 'HokGuardianInviteResult'; emailSent: Scalars['Boolean']['output']; /** The raw invite token. Returned once, at creation; only its hash is stored. */ inviteToken: Scalars['String']['output']; /** The link the guardian opens (also emailed when emailSent is true). */ inviteUrl: Scalars['String']['output']; link: HokGuardianLink; }; export type HokGuardianLink = { __typename?: 'HokGuardianLink'; acceptedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; declinedAt?: Maybe<Scalars['DateTime']['output']>; /** * When the invite email was handed to the notification service; null when it * could not be sent and the link has to be shared by hand. */ emailSentAt?: Maybe<Scalars['DateTime']['output']>; expiresAt: Scalars['DateTime']['output']; /** auth-svc user id of the guardian, set once the invite is accepted. */ guardianActorId?: Maybe<Scalars['ID']['output']>; /** Address the invite was sent to. */ guardianEmail: Scalars['String']['output']; guardianRelationship: Scalars['String']['output']; /** * Whether the guardian currently holds a VERIFIED adult identity verification. * Only a verified guardian's consent is honoured. */ guardianVerified: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** auth-svc user id of the minor who sent the invite. */ minorActorId: Scalars['ID']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; /** A pending invite past its expiry reads as EXPIRED. */ status: HokGuardianLinkStatus; /** Canonical context for the admitted guardian; populated by acceptance only. */ targetContext?: Maybe<HokGuardianTargetContext>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokGuardianLinkStatus { Accepted = "ACCEPTED", Declined = "DECLINED", Expired = "EXPIRED", Pending = "PENDING", Revoked = "REVOKED" } export type HokGuardianTargetContext = { __typename?: 'HokGuardianTargetContext'; membershipCreated: Scalars['Boolean']['output']; membershipId: Scalars['ID']['output']; organizationId: Scalars['ID']['output']; tenantId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokHlsContainer { Fmp4 = "FMP4", Ts = "TS" } /** Whether an upcoming schedule block will air its programme on the feed. */ export type HokHlsFeedBlockReadiness = { __typename?: 'HokHlsFeedBlockReadiness'; endAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; /** Feed renditions the programme has no package on the feed's profile for. */ missingRenditions: Array<Scalars['String']['output']>; ready: Scalars['Boolean']['output']; /** Why the block airs the slate: NO_PROGRAMME, NOT_PUBLISHED, NO_PACKAGE, PROFILE_MISMATCH or INCOMPLETE_LADDER. */ reason?: Maybe<Scalars['String']['output']>; scheduleBlockId: Scalars['ID']['output']; startAt: Scalars['DateTime']['output']; titleId?: Maybe<Scalars['ID']['output']>; }; export declare enum HokHlsFeedStatus { Active = "ACTIVE", Disabled = "DISABLED" } /** One variant (rendition) of a channel HLS feed. */ export type HokHlsFeedVariant = { __typename?: 'HokHlsFeedVariant'; /** The variant's live media playlist. */ mediaPlaylistUrl: Scalars['String']['output']; rendition: Scalars['String']['output']; slate: HokHlsPackage; }; /** A single-file, byte-range HLS VOD encode registered for HLS distribution. */ export type HokHlsPackage = { __typename?: 'HokHlsPackage'; /** Peak segment bit rate in bits per second. */ bandwidth: Scalars['Int']['output']; codecs?: Maybe<Scalars['String']['output']>; container: HokHlsContainer; createdAt: Scalars['DateTime']['output']; durationSeconds: Scalars['Float']['output']; episodeId?: Maybe<Scalars['ID']['output']>; /** wspace-files File holding the media; every segment is a byte range of it. */ fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: HokHlsPackageKind; label?: Maybe<Scalars['String']['output']>; /** Rendition key of the encode, such as 1080p; main when none was given. */ rendition: Scalars['String']['output']; resolution?: Maybe<Scalars['String']['output']>; segmentCount: Scalars['Int']['output']; /** Nominal segment duration in whole seconds. */ segmentDurationSeconds: Scalars['Int']['output']; titleId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokHlsPackageKind { /** Encode of a title's feature or one episode. */ Programme = "PROGRAMME", /** Filler that loops during ad breaks, after a programme ends and off air. */ Slate = "SLATE" } /** * A casting trust & safety identity-verification record (BOFF-4245). Backs the * "verified" badge on talent applications and studio/production postings, and * gates guardian consent on minor-role auditions (a guardian must have a * VERIFIED PERSON record here before their consent is accepted). No date of * birth is ever exposed — only the derived `isAdultVerified` signal. */ export type HokIdentityVerification = { __typename?: 'HokIdentityVerification'; createdAt: Scalars['DateTime']['output']; /** Federation ref to the submitted ID/business document (wspace-files-svc). */ document?: Maybe<File>; documentType?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** * True only when this record is VERIFIED and carries a date of birth showing * the subject is 18+. Drives guardian-consent eligibility; never derived from * caller-supplied claims at consent time. */ isAdultVerified: Scalars['Boolean']['output']; legalName: Scalars['String']['output']; rejectionReason?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; status: HokVerificationStatus; /** The studio being verified — set only when subjectType is STUDIO. */ studioId?: Maybe<Scalars['ID']['output']>; /** auth-svc user id: the person being verified (PERSON), or the submitter (STUDIO). */ subjectActorId: Scalars['ID']['output']; subjectType: HokVerificationSubjectType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokIdentityVerificationConnection = { __typename?: 'HokIdentityVerificationConnection'; items: Array<HokIdentityVerification>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokImportScriptInput = { /** Store the suggested breakdown elements on the created scenes (default true). */ applySuggestedElements?: InputMaybe<Scalars['Boolean']['input']>; /** * The script text (FDX: the XML document). At most 1,500,000 characters. * Required for FOUNTAIN, FDX and PLAIN_TEXT; must be omitted for PDF. */ content?: InputMaybe<Scalars['String']['input']>; /** Preview only: parse and match, write nothing. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** * The wspace-files file id of an uploaded screenplay PDF. Required for PDF and * only allowed with it; the calling actor must be able to read the file. */ fileId?: InputMaybe<Scalars['ID']['input']>; format: HokScriptFormat; productionId: Scalars['ID']['input']; }; export type HokIngestWatchOffersInput = { offers: Array<HokWatchOfferInput>; providerId: Scalars['ID']['input']; /** * Territories this delivery fully describes: offers the provider holds in * these territories that are absent from `offers` are removed. Omit for an * incremental (upsert-only) delivery. */ replaceTerritories?: InputMaybe<Array<Scalars['String']['input']>>; }; export type HokInviteGuardianInput = { guardianEmail: Scalars['String']['input']; /** Relationship of the guardian to the minor (e.g. parent, legal_guardian). */ guardianRelationship: Scalars['String']['input']; }; export type HokInviteTalentInput = { /** Optional note to the talent (up to 2000 characters). */ message?: InputMaybe<Scalars['String']['input']>; personId: Scalars['ID']['input']; productionId: Scalars['ID']['input']; /** The role the person is invited to (1-255 characters). */ role: Scalars['String']['input']; }; export type HokLegalAcceptance = { __typename?: 'HokLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: HokLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokLegalAcceptanceConnection = { __typename?: 'HokLegalAcceptanceConnection'; items: Array<HokLegalAcceptance>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum HokLegalCheckpointType { /** Acceptance of the AI-feature usage terms before first AI-assisted action. */ AiFirstUse = "AI_FIRST_USE", /** Sign-up acceptance of the HookMovies Terms of Service and Privacy Policy. */ Signup = "SIGNUP", /** Acceptance of the workspace tenant Data Processing Addendum. */ TenantDpaAccept = "TENANT_DPA_ACCEPT", /** Acceptance of the identity/verification service terms before first use. */ VerificationFirstUse = "VERIFICATION_FIRST_USE" } /** * One item of a channel's linear timeline. `startAt`/`endAt` is the item's full * air span; a player tuning in mid-item seeks to * `mediaOffsetSeconds + (serverTime - startAt)`. */ export type HokLinearItem = { __typename?: 'HokLinearItem'; adName?: Maybe<Scalars['String']['output']>; adPodSize?: Maybe<Scalars['Int']['output']>; /** AD: 1-based position in the pod. */ adSequence?: Maybe<Scalars['Int']['output']>; /** AD: DIRECT (direct-sold campaign) or PROGRAMMATIC (OpenRTB fill). */ adSource?: Maybe<HokAdDemandSource>; /** AD: ad system that served a third-party creative (null for first-party creatives). */ adSystem?: Maybe<Scalars['String']['output']>; advertiserName?: Maybe<Scalars['String']['output']>; campaignId?: Maybe<Scalars['ID']['output']>; clickThroughUrl?: Maybe<Scalars['String']['output']>; /** * AD: third-party click-tracking URLs the player fires when the viewer clicks * through. Every other tracker of a linear ad is fired by the server. */ clickTracking: Array<Scalars['String']['output']>; /** AD: the server-side ad decision this ad belongs to. */ decisionId?: Maybe<Scalars['ID']['output']>; durationSeconds: Scalars['Int']['output']; endAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; episodeName?: Maybe<Scalars['String']['output']>; /** AD: true once the server has booked this ad as an impression for the viewer. */ impressionConfirmed: Scalars['Boolean']['output']; kind: HokLinearItemKind; /** PROGRAMME: the wspace-files File to play (null when no media is attached). */ mediaFileId?: Maybe<Scalars['ID']['output']>; mediaMimeType?: Maybe<Scalars['String']['output']>; /** PROGRAMME: seconds into the media file this item starts at (0 for other kinds). */ mediaOffsetSeconds: Scalars['Float']['output']; /** AD: https URL of the creative. */ mediaUrl?: Maybe<Scalars['String']['output']>; posterFileId?: Maybe<Scalars['ID']['output']>; scheduleBlockId?: Maybe<Scalars['ID']['output']>; slateReason?: Maybe<HokLinearSlateReason>; startAt: Scalars['DateTime']['output']; titleId?: Maybe<Scalars['ID']['output']>; titleName?: Maybe<Scalars['String']['output']>; }; export declare enum HokLinearItemKind { /** One stitched ad of the viewer's pod for a planned break. */ Ad = "AD", /** The scheduled title or episode. */ Programme = "PROGRAMME", /** Nothing to play: unfilled break time, a programme that ran out, or off air. */ Slate = "SLATE" } export declare enum HokLinearSlateReason { AdBreak = "AD_BREAK", OffAir = "OFF_AIR", ProgrammeEnded = "PROGRAMME_ENDED" } export type HokList = { __typename?: 'HokList'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items?: Maybe<Scalars['JSON']['output']>; kind: HokListKind; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; visibility: HokListVisibility; workspaceId: Scalars['ID']['output']; }; export type HokListConnection = { __typename?: 'HokListConnection'; items: Array<HokList>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokListKind { Playlist = "PLAYLIST", Watchlist = "WATCHLIST" } export declare enum HokListVisibility { Private = "PRIVATE", Public = "PUBLIC", Unlisted = "UNLISTED" } export type HokLocalization = { __typename?: 'HokLocalization'; createdAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; /** Federation ref for the track File (resolved by wspace-files-svc). */ file?: Maybe<File>; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; kind: HokLocalizationKind; language: Scalars['String']['output']; localizedSynopsis?: Maybe<Scalars['String']['output']>; localizedTitle?: Maybe<Scalars['String']['output']>; status: HokLocalizationStatus; titleId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokLocalizationConnection = { __typename?: 'HokLocalizationConnection'; items: Array<HokLocalization>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokLocalizationKind { Caption = "CAPTION", Dub = "DUB", Subtitle = "SUBTITLE" } export declare enum HokLocalizationStatus { Archived = "ARCHIVED", Draft = "DRAFT", Ready = "READY" } export type HokLocation = { __typename?: 'HokLocation'; address?: Maybe<Scalars['String']['output']>; city?: Maybe<Scalars['String']['output']>; contactName?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokLocationInput = { address?: InputMaybe<Scalars['String']['input']>; city?: InputMaybe<Scalars['String']['input']>; contactName?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; export type HokMediaRendition = { __typename?: 'HokMediaRendition'; bitrateKbps?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; fileId: Scalars['ID']['output']; height: Scalars['Int']['output']; id: Scalars['ID']['output']; label?: Maybe<Scalars['String']['output']>; mimeType?: Maybe<Scalars['String']['output']>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokModerationFlag = { __typename?: 'HokModerationFlag'; createdAt: Scalars['DateTime']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; reason: Scalars['String']['output']; reportedByUserId: Scalars['ID']['output']; resolution?: Maybe<Scalars['String']['output']>; severity: HokModerationSeverity; status: HokModerationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokModerationFlagConnection = { __typename?: 'HokModerationFlagConnection'; items: Array<HokModerationFlag>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokModerationSeverity { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum HokModerationStatus { Dismissed = "DISMISSED", Open = "OPEN", Resolved = "RESOLVED", Reviewing = "REVIEWING" } export declare enum HokMonetizationMode { Fast = "FAST", FreeAvod = "FREE_AVOD", Ppv = "PPV", Svod = "SVOD", TvodBuy = "TVOD_BUY", TvodRent = "TVOD_RENT" } export type HokMoveStripInput = { /** The day the strip is on now; omit to schedule an unscheduled scene. */ fromShootDayId?: InputMaybe<Scalars['ID']['input']>; /** Zero-based position on the target day; omitted or past the end appends. */ position?: InputMaybe<Scalars['Int']['input']>; sceneId: Scalars['ID']['input']; /** The day to move the strip to; omit to unschedule it. */ toShootDayId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum HokNameMatchType { Exact = "EXACT", Fuzzy = "FUZZY", Phonetic = "PHONETIC", Prefix = "PREFIX", Transliteration = "TRANSLITERATION" } export type HokOffer = { __typename?: 'HokOffer'; applicantId: Scalars['ID']['output']; applicationId: Scalars['ID']['output']; auditionId: Scalars['ID']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; declineReason?: Maybe<Scalars['String']['output']>; declinedAt?: Maybe<Scalars['DateTime']['output']>; disputes: Array<HokDispute>; engagementEnd?: Maybe<Scalars['DateTime']['output']>; engagementStart?: Maybe<Scalars['DateTime']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; guardianActorId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** Minor-role offers can only be signed by the verified guardian. */ isMinorRole: Scalars['Boolean']['output']; payMinorUnits: Scalars['String']['output']; paymentConfirmedAt?: Maybe<Scalars['DateTime']['output']>; paymentMarkedAt?: Maybe<Scalars['DateTime']['output']>; paymentReference?: Maybe<Scalars['String']['output']>; paymentStatus: HokOfferPaymentStatus; productionId: Scalars['ID']['output']; ratings: Array<HokRating>; roleName: Scalars['String']['output']; signedAt?: Maybe<Scalars['DateTime']['output']>; signerActorId?: Maybe<Scalars['ID']['output']>; signerName?: Maybe<Scalars['String']['output']>; signerRole?: Maybe<HokOfferSignerRole>; status: HokOfferStatus; studioId?: Maybe<Scalars['ID']['output']>; terms: Scalars['String']['output']; /** * SHA-256 (hex) of the offer's canonical terms. The signer must echo it back * when accepting, so the signature binds to the exact text they were shown. */ termsHash: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; withdrawnAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokOfferConnection = { __typename?: 'HokOfferConnection'; items: Array<HokOffer>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum HokOfferPaymentStatus { MarkedPaid = "MARKED_PAID", ReceiptConfirmed = "RECEIPT_CONFIRMED", Unpaid = "UNPAID" } export declare enum HokOfferSignerRole { Guardian = "GUARDIAN", Talent = "TALENT" } export declare enum HokOfferStatus { Accepted = "ACCEPTED", Completed = "COMPLETED", Declined = "DECLINED", Expired = "EXPIRED", Sent = "SENT", Withdrawn = "WITHDRAWN" } export type HokOfflineDownload = { __typename?: 'HokOfflineDownload'; /** Short-lived URL the device downloads the video from. */ downloadUrl: Scalars['String']['output']; downloadUrlExpiresAt: Scalars['DateTime']['output']; downloadsUsed: Scalars['Int']['output']; license: HokOfflineLicense; maxDownloads?: Maybe<Scalars['Int']['output']>; mimeType?: Maybe<Scalars['String']['output']>; /** True when this device already held the license and only got a fresh URL. */ renewed: Scalars['Boolean']['output']; }; export type HokOfflineDownloadInput = { /** Opaque identifier the device generates once and keeps (8-128 letters, digits, '-' or '_'). */ deviceId: Scalars['String']['input']; /** Set to download one episode of a series. */ episodeId?: InputMaybe<Scalars['ID']['input']>; titleId: Scalars['ID']['input']; /** ISO 3166-1 alpha-2 territory of the viewer, when known. */ viewerTerritory?: InputMaybe<Scalars['String']['input']>; }; export type HokOfflineEligibility = { __typename?: 'HokOfflineEligibility'; /** The ACTIVE license this device already holds for the title (episode), if any. */ activeLicense?: Maybe<HokOfflineLicense>; downloadable: Scalars['Boolean']['output']; /** Downloads already issued to the viewer for this title (episode) under the window. */ downloadsUsed: Scalars['Int']['output']; /** The applicable window's per-viewer cap; null means no cap (or no window). */ maxDownloads?: Maybe<Scalars['Int']['output']>; offlineExpiryHours?: Maybe<Scalars['Int']['output']>; /** Set when downloadable is false. */ reason?: Maybe<HokOfflineIneligibleReason>; }; /** Why a title cannot be downloaded right now. */ export declare enum HokOfflineIneligibleReason { /** The viewer has used every download the window allows for this title. */ LimitReached = "LIMIT_REACHED", /** No active paid (subscription, rental, purchase, PPV) entitlement. The free, ad-supported tier cannot be downloaded. */ NotEntitled = "NOT_ENTITLED", /** No active rights window covering the viewer allows downloads. */ NoDownloadableWindow = "NO_DOWNLOADABLE_WINDOW", /** The title (or episode) has no video attached. */ NoSource = "NO_SOURCE" } export type HokOfflineLicense = { __typename?: 'HokOfflineLicense'; createdAt: Scalars['DateTime']['output']; deviceId: Scalars['String']['output']; episodeId?: Maybe<Scalars['ID']['output']>; /** The copy stops playing at this time. */ expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; mimeType?: Maybe<Scalars['String']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; rightsWindowId: Scalars['ID']['output']; status: HokOfflineLicenseStatus; statusReason?: Maybe<Scalars['String']['output']>; territory?: Maybe<Scalars['String']['output']>; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HokOfflineLicenseCheck = { __typename?: 'HokOfflineLicenseCheck'; expiresAt?: Maybe<Scalars['DateTime']['output']>; licenseId: Scalars['ID']['output']; reason: HokOfflineLicenseCheckReason; status?: Maybe<HokOfflineLicenseStatus>; valid: Scalars['Boolean']['output']; }; /** Outcome of re-validating one offline license. */ export declare enum HokOfflineLicenseCheckReason { /** The viewer no longer holds a paid entitlement for the title. */ EntitlementEnded = "ENTITLEMENT_ENDED", Expired = "EXPIRED", /** No such license for the caller. */ NotFound = "NOT_FOUND", Released = "RELEASED", Revoked = "REVOKED", Valid = "VALID", /** The rights window closed, was revoked or stopped allowing downloads. */ WindowEnded = "WINDOW_ENDED" } export type HokOfflineLicenseConnection = { __typename?: 'HokOfflineLicenseConnection'; items: Array<HokOfflineLicense>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokOfflineLicenseStatus { Active = "ACTIVE", Expired = "EXPIRED", Released = "RELEASED", Revoked = "REVOKED" } export type HokOnboardingStatus = { __typename?: 'HokOnboardingStatus'; completedSteps: Scalars['Int']['output']; /** Whether the onboarding sample data is currently loaded in this workspace. */ demoDataLoaded: Scalars['Boolean']['output']; steps: Array<HokOnboardingStep>; totalSteps: Scalars['Int']['output']; }; export type HokOnboardingStep = { __typename?: 'HokOnboardingStep'; completed: Scalars['Boolean']['output']; key: HokOnboardingStepKey; }; /** A getting-started checklist step, in the order the checklist shows them. */ export declare enum HokOnboardingStepKey { /** The workspace created its first title. */ CreateTitle = "CREATE_TITLE", /** The workspace opened a casting audition. */ OpenAudition = "OPEN_AUDITION", /** The workspace published a title. */ PublishTitle = "PUBLISH_TITLE", /** The caller saved their language and content preferences. */ SetPreferences = "SET_PREFERENCES", /** The workspace started a production. */ StartProduction = "START_PRODUCTION" } export type HokOptimizedSceneSummary = { __typename?: 'HokOptimizedSceneSummary'; castCount: Scalars['Int']['output']; heading: Scalars['String']['output']; id: Scalars['ID']['output']; locationName?: Maybe<Scalars['String']['output']>; pageEighths: Scalars['Int']['output']; sceneNumber: Scalars['String']['output']; setting: Scalars['String']['output']; timeOfDay: Scalars['String']['output']; }; export type HokOptimizedShootDay = { __typename?: 'HokOptimizedShootDay'; castMemberIds: Array<Scalars['ID']['output']>; companyMoves: Scalars['Int']['output']; dayNumber: Scalars['Int']['output']; isNight: Scalars['Boolean']['output']; locationId?: Maybe<Scalars['ID']['output']>; locationNames: Array<Scalars['String']['output']>; notes: Array<Scalars['String']['output']>; pageEighths: Scalars['Int']['output']; sceneIds: Array<Scalars['ID']['output']>; scenes: Array<HokOptimizedSceneSummary>; shootDate: Scalars['String']['output']; }; export type HokPageInfo = { __typename?: 'HokPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; /** A platform app (partner API key) the studio admitted to its partner catalog API. */ export type HokPartnerAccess = { __typename?: 'HokPartnerAccess'; /** The global-auth app the partner authenticates as. */ appId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; limits: HokPartnerTierLimits; partnerName: Scalars['String']['output']; /** * Requests charged against the partner's tier in the current UTC day, * including attempts refused with RATE_LIMITED (every attempt counts toward * the limit). */ requestsToday: Scalars['Int']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; status: HokPartnerAccessStatus; tier: HokPartnerTier; updatedAt: Scalars['DateTime']['output']; }; export type HokPartnerAccessConnection = { __typename?: 'HokPartnerAccessConnection'; items: Array<HokPartnerAccess>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokPartnerAccessStatus { Active = "ACTIVE", Revoked = "REVOKED" } export type HokPartnerAvailability = { __typename?: 'HokPartnerAvailability'; ref: Scalars['ID']['output']; territory?: Maybe<Scalars['String']['output']>; windows: Array<HokPartnerRightsWindow>; }; /** A published clip, as a partner sees it. */ export type HokPartnerClip = { __typename?: 'HokPartnerClip'; caption?: Maybe<Scalars['String']['output']>; durationSeconds?: Maybe<Scalars['Int']['output']>; language?: Maybe<Scalars['String']['output']>; }; /** Whether a title may be offered in a territory (under a mode) at a moment. */ export type HokPartnerRightsCheck = { __typename?: 'HokPartnerRightsCheck'; at: Scalars['DateTime']['output']; available: Scalars['Boolean']['output']; /** Earliest start / latest end of the matching windows; null when open-ended or unavailable. */ availableFrom?: Maybe<Scalars['DateTime']['output']>; availableUntil?: Maybe<Scalars['DateTime']['output']>; mode?: Maybe<HokMonetizationMode>; /** Every mode an ACTIVE window grants in the territory at `at`. */ modes: Array<HokMonetizationMode>; ref: Scalars['ID']['output']; territory: Scalars['String']['output']; }; /** An ACTIVE rights window, without licensee, contract or price. */ export type HokPartnerRightsWindow = { __typename?: 'HokPartnerRightsWindow'; endsAt?: Maybe<Scalars['DateTime']['output']>; exclusive: Scalars['Boolean']['output']; modes: Array<HokMonetizationMode>; startsAt?: Maybe<Scalars['DateTime']['output']>; /** ISO 3166-1 alpha-2 codes; empty when the window is worldwide. */ territories: Array<Scalars['String']['output']>; worldwide: Scalars['Boolean']['output']; }; export declare enum HokPartnerTier { /** 300 requests per minute, 200,000 per UTC day. */ Premium = "PREMIUM", /** 10 requests per minute, 1,000 per UTC day. */ Sandbox = "SANDBOX", /** 60 requests per minute, 20,000 per UTC day. */ Standard = "STANDARD" } export type HokPartnerTierLimits = { __typename?: 'HokPartnerTierLimits'; requestsPerDay: Scalars['Int']['output']; requestsPerMinute: Scalars['Int']['output']; tier: HokPartnerTier; }; /** A published title, as a partner sees it. `ref` is the only identifier. */ export type HokPartnerTitle = { __typename?: 'HokPartnerTitle'; aiDisclosure: Scalars['Boolean']['output']; certification?: Maybe<Scalars['String']['output']>; clips: Array<HokPartnerClip>; genres: Array<Scalars['String']['output']>; originCountry?: Maybe<Scalars['String']['output']>; originalLanguage?: Maybe<Scalars['String']['output']>; ref: Scalars['ID']['output']; releaseDate?: Maybe<Scalars['DateTime']['output']>; releaseYear?: Maybe<Scalars['Int']['output']>; runtimeMinutes?: Maybe<Scalars['Int']['output']>; studioName?: Maybe<Scalars['String']['output']>; synopsis?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; type: HokTitleType; updatedAt: Scalars['DateTime']['output']; }; export type HokPartnerTitleConnection = { __typename?: 'HokPartnerTitleConnection'; items: Array<HokPartnerTitle>; /** `cursor` is the `ref` of the last title on the page. */ pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export type HokPerson = { __typename?: 'HokPerson'; biography?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; credits: Array<HokCredit>; id: Scalars['ID']['output']; knownFor?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; /** Stable Artistrybase portfolio id this person maps to (reference only). */ portfolioRef?: Maybe<Scalars['String']['output']>; primaryLanguage?: Maybe<Scalars['String']['output']>; /** URL-safe handle for the talent profile route, unique per workspace. */ slug?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokPersonCreditsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokPersonConnection = { __typename?: 'HokPersonConnection'; items: Array<HokPerson>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokPersonNameMatch = { __typename?: 'HokPersonNameMatch'; matchType: HokNameMatchType; person: HokPerson; score: Scalars['Float']['output']; }; export type HokPlanBudgetLine = { __typename?: 'HokPlanBudgetLine'; /** A HokCostItem category (ABOVE_THE_LINE, PRODUCTION, POST_PRODUCTION, MARKETING, OTHER). */ category: Scalars['String']['output']; description: Scalars['String']['output']; expectedMinorUnits: Scalars['String']['output']; /** Share of the expected total (0-1). */ share: Scalars['Float']['output']; }; export type HokPlanMilestone = { __typename?: 'HokPlanMilestone'; date: Scalars['DateTime']['output']; name: Scalars['String']['output']; phase: HokPlanPhaseKey; }; export type HokPlanPhase = { __typename?: 'HokPlanPhase'; endDate: Scalars['DateTime']['output']; key: HokPlanPhaseKey; name: Scalars['String']['output']; rationale: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; weeks: Scalars['Int']['output']; }; export declare enum HokPlanPhaseKey { Development = "DEVELOPMENT", PostProduction = "POST_PRODUCTION", PreProduction = "PRE_PRODUCTION", PrincipalPhotography = "PRINCIPAL_PHOTOGRAPHY", Release = "RELEASE" } export type HokPlaybackEvent = { __typename?: 'HokPlaybackEvent'; createdAt: Scalars['DateTime']['output']; device?: Maybe<Scalars['String']['output']>; episodeId?: Maybe<Scalars['ID']['output']>; eventType: HokPlaybackEventType; id: Scalars['ID']['output']; language?: Maybe<Scalars['String']['output']>; positionSeconds: Scalars['Int']['output']; sessionId?: Maybe<Scalars['String']['output']>; studioId?: Maybe<Scalars['ID']['output']>; territory?: Maybe<Scalars['String']['output']>; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; userId: Scalars['ID']['output']; watchedSeconds: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokPlaybackEventType { /** Quality-of-experience signal: playback stalled to rebuffer. Carries no watch-time. */ Buffer = "BUFFER", Complete = "COMPLETE", Heartbeat = "HEARTBEAT", Impression = "IMPRESSION", /** Quality-of-experience signal: the viewer paused. Carries no watch-time. */ Pause = "PAUSE", Play = "PLAY", /** Quality-of-experience signal: the player switched rendition (detail = the new quality). Carries no watch-time. */ QualityChange = "QUALITY_CHANGE" } export declare enum HokPlaybackFormat { Dash = "DASH", Hls = "HLS", Progressive = "PROGRESSIVE" } /** One playable encode of the video, with a short-lived presigned URL. */ export type HokPlaybackRendition = { __typename?: 'HokPlaybackRendition'; bitrateKbps?: Maybe<Scalars['Int']['output']>; /** Vertical resolution in pixels; null when unknown (the master). */ height?: Maybe<Scalars['Int']['output']>; /** The rendition row id; null for the uploaded master. */ id?: Maybe<Scalars['ID']['output']>; /** True for the encode the player should start with. */ isPrimary: Scalars['Boolean']['output']; label: Scalars['String']['output']; mimeType?: Maybe<Scalars['String']['output']>; url: Scalars['String']['output']; }; export type HokPlaybackSource = { __typename?: 'HokPlaybackSource'; /** True when the viewer watches on the free, ad-supported tier (see hokRequestAdSchedule). */ adSupported: Scalars['Boolean']['output']; entitled: Scalars['Boolean']['output']; episodeId?: Maybe<Scalars['ID']['output']>; /** When the minted URLs stop working; the player re-resolves before or after it. */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Delivery format of the primary source; null unless PLAYABLE. */ format?: Maybe<HokPlaybackFormat>; mimeType?: Maybe<Scalars['String']['output']>; modes: Array<HokMonetizationMode>; /** Every playable encode, primary first. Empty unless PLAYABLE. */ renditions: Array<HokPlaybackRendition>; status: HokPlaybackStatus; /** ISO 3166-1 alpha-2 country the edge resolved for this request, or null when unknown. */ territory?: Maybe<Scalars['String']['output']>; titleId: Scalars['ID']['output']; /** URL of the primary source; null unless PLAYABLE. */ url?: Maybe<Scalars['String']['output']>; }; export declare enum HokPlaybackStatus { /** Entitled and media is attached, but no file could be resolved right now. */ MediaUnavailable = "MEDIA_UNAVAILABLE", /** The caller holds no active entitlement for the title. */ NotEntitled = "NOT_ENTITLED", /** The title is not published (draft, in review, unpublished or archived): no viewer URLs. */ NotPublished = "NOT_PUBLISHED", /** Entitled, but no video (master or rendition) is attached yet. */ NoMedia = "NO_MEDIA", /** Entitled and at least one media URL was minted. */ Playable = "PLAYABLE", /** The caller is entitled, but not in the territory the edge resolved for this request. */ RegionBlocked = "REGION_BLOCKED" } export type HokPreferences = { __typename?: 'HokPreferences'; contentTypes: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; languages: Array<Scalars['String']['output']>; maturityLimit?: Maybe<Scalars['String']['output']>; onboardedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HokProduction = { __typename?: 'HokProduction'; /** Stable Artistrybase project id this production was promoted from. */ artistrybaseProjectRef?: Maybe<Scalars['String']['output']>; auditions: Array<HokAudition>; budgetMinorUnits: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; endDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; logline?: Maybe<Scalars['String']['output']>; producerId?: Maybe<Scalars['ID']['output']>; resultingTitleId?: Maybe<Scalars['ID']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: HokProductionStatus; studioId?: Maybe<Scalars['ID']['output']>; /** * Whether the owning studio has a VERIFIED identity-verification record on * file (BOFF-4245). False when the production has no studio, or the studio * has not completed trust & safety review. */ studioVerified: Scalars['Boolean']['output']; synopsis?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokProductionAuditionsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokProductionBudget = { __typename?: 'HokProductionBudget'; /** Sum of actual spend across cost items. */ actualMinorUnits: Scalars['String']['output']; /** The production's approved total budget (HokProduction.budgetMinorUnits). */ approvedBudgetMinorUnits: Scalars['String']['output']; /** Sum of budgeted amounts across cost items. */ budgetedMinorUnits: Scalars['String']['output']; byCategory: Array<HokCostCategorySummary>; currency: Scalars['String']['output']; overBudget: Scalars['Boolean']['output']; productionId: Scalars['ID']['output']; /** * Projected cast & crew day-rate cost: each member's daily rate times the * shoot days they are on (cast: days their scenes are scheduled; crew: every * non-cancelled shoot day). */ projectedLaborMinorUnits: Scalars['String']['output']; /** approvedBudget - total actual spend (negative when over budget). */ remainingMinorUnits: Scalars['String']['output']; /** * Actual spend booked by submitted daily production reports (labour at day * rates plus overtime, and the additional costs the unit reported). */ reportedActualMinorUnits: Scalars['String']['output']; /** Cost-item actuals plus daily-report actuals. */ totalActualMinorUnits: Scalars['String']['output']; }; export type HokProductionConnection = { __typename?: 'HokProductionConnection'; items: Array<HokProduction>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokProductionFormat { Commercial = "COMMERCIAL", Documentary = "DOCUMENTARY", Feature = "FEATURE", MusicVideo = "MUSIC_VIDEO", Series = "SERIES", Short = "SHORT" } export type HokProductionMember = { __typename?: 'HokProductionMember'; /** auth-svc user id, when the person has an account. */ actorId?: Maybe<Scalars['ID']['output']>; characterName?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dailyRateMinorUnits: Scalars['String']['output']; defaultCallTime?: Maybe<Scalars['String']['output']>; department?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: HokProductionMemberKind; /** Casting offer this cast member was engaged through (hokCastFromOffer). */ offerId?: Maybe<Scalars['ID']['output']>; phone?: Maybe<Scalars['String']['output']>; productionId: Scalars['ID']['output']; roleTitle?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokProductionMemberKind { Cast = "CAST", Crew = "CREW" } export type HokProductionPlanConstraints = { currency?: InputMaybe<Scalars['String']['input']>; episodeCount?: InputMaybe<Scalars['Int']['input']>; format?: InputMaybe<HokProductionFormat>; genres?: InputMaybe<Array<Scalars['String']['input']>>; language?: InputMaybe<Scalars['String']['input']>; /** Budget ceiling in minor currency units. */ maxBudgetMinorUnits?: InputMaybe<Scalars['String']['input']>; maxShootDays?: InputMaybe<Scalars['Int']['input']>; /** Running time in minutes (per episode for a series). */ runtimeMinutes?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; targetReleaseDate?: InputMaybe<Scalars['DateTime']['input']>; workingTitle?: InputMaybe<Scalars['String']['input']>; }; export type HokProductionPlanProposal = { __typename?: 'HokProductionPlanProposal'; assumptions: Array<Scalars['String']['output']>; basis: HokAssistantBasis; budgetExpectedMinorUnits: Scalars['String']['output']; budgetHighMinorUnits: Scalars['String']['output']; budgetLines: Array<HokPlanBudgetLine>; budgetLowMinorUnits: Scalars['String']['output']; comparableProductions: Array<HokComparableProduction>; currency: Scalars['String']['output']; endDate: Scalars['DateTime']['output']; episodeCount: Scalars['Int']['output']; estimatedPageEighths: Scalars['Int']['output']; /** Whether the expected budget fits maxBudgetMinorUnits (null when no ceiling was given). */ fitsBudget?: Maybe<Scalars['Boolean']['output']>; format: HokProductionFormat; generatedAt: Scalars['DateTime']['output']; genres: Array<Scalars['String']['output']>; languages: Array<Scalars['String']['output']>; logline: Scalars['String']['output']; milestones: Array<HokPlanMilestone>; pageEighthsPerDay: Scalars['Int']['output']; phases: Array<HokPlanPhase>; runtimeMinutes: Scalars['Int']['output']; shootDays: Scalars['Int']['output']; startDate: Scalars['DateTime']['output']; suggestedTags: Array<Scalars['String']['output']>; totalMinutes: Scalars['Int']['output']; warnings: Array<Scalars['String']['output']>; workingTitle: Scalars['String']['output']; }; export declare enum HokProductionStatus { Development = "DEVELOPMENT", Greenlit = "GREENLIT", InProduction = "IN_PRODUCTION", PostProduction = "POST_PRODUCTION", Released = "RELEASED", Shelved = "SHELVED" } export type HokProfile = { __typename?: 'HokProfile'; accountUserId: Scalars['ID']['output']; /** Federation ref for the avatar File (resolved by wspace-files-svc). */ avatar?: Maybe<File>; avatarFileId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; /** Whether a PIN gate is set on this profile (the PIN itself is never exposed). */ hasPin: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isKids: Scalars['Boolean']['output']; languages: Array<Scalars['String']['output']>; maturityLimit?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokProfileConnection = { __typename?: 'HokProfileConnection'; items: Array<HokProfile>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; /** Result of a connectivity check against the programmatic endpoint. */ export type HokProgrammaticTestResult = { __typename?: 'HokProgrammaticTestResult'; bidCount: Scalars['Int']['output']; httpStatus?: Maybe<Scalars['Int']['output']>; latencyMs: Scalars['Int']['output']; message: Scalars['String']['output']; ok: Scalars['Boolean']['output']; }; /** * The anonymous, read-only view of an embed that the public player renders. * Deliberately narrow: no workspace, title, clip or file identifiers, no studio * or credit data, and media only as short-lived presigned URLs. */ export type HokPublicEmbed = { __typename?: 'HokPublicEmbed'; aiDisclosure: Scalars['Boolean']['output']; /** Clip caption, for kind CLIP. */ caption?: Maybe<Scalars['String']['output']>; certification?: Maybe<Scalars['String']['output']>; durationSeconds?: Maybe<Scalars['Int']['output']>; expiresAt: Scalars['DateTime']['output']; genres: Array<Scalars['String']['output']>; kind: HokEmbedKind; mediaMimeType?: Maybe<Scalars['String']['output']>; /** Presigned media URL; valid until `expiresAt`. */ mediaUrl: Scalars['String']['output']; /** Presigned poster URL, when the title or clip has artwork. */ posterUrl?: Maybe<Scalars['String']['output']>; publicId: Scalars['String']['output']; releaseYear?: Maybe<Scalars['Int']['output']>; runtimeMinutes?: Maybe<Scalars['Int']['output']>; synopsis?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; }; export type HokRaiseDisputeInput = { category: HokDisputeCategory; evidenceFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; offerId: Scalars['ID']['input']; statement: Scalars['String']['input']; }; export type HokRateInput = { comment?: InputMaybe<Scalars['String']['input']>; offerId: Scalars['ID']['input']; score: Scalars['Int']['input']; }; export type HokRating = { __typename?: 'HokRating'; comment?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; offerId: Scalars['ID']['output']; raterSide: HokCastingSide; score: Scalars['Int']['output']; subjectId: Scalars['ID']['output']; subjectType: HokRatingSubjectType; workspaceId: Scalars['ID']['output']; }; export declare enum HokRatingSubjectType { Person = "PERSON", Studio = "STUDIO" } export type HokRecalculateRoyaltyLedgerInput = { mode?: InputMaybe<HokMonetizationMode>; period: Scalars['String']['input']; titleId?: InputMaybe<Scalars['ID']['input']>; }; export type HokRecommendation = { __typename?: 'HokRecommendation'; /** * Whether the caller can watch this title in the requested territory, from * their entitlements and the title's rights windows (the same rules as * hokCheckEntitlement). Null when no territory was supplied. */ availability?: Maybe<HokTitleAvailability>; /** Contributing signals, strongest first. */ reasons: Array<HokRecommendationReason>; /** Blended ranking score; higher is a stronger recommendation. */ score: Scalars['Float']['output']; /** The recommended title (published, in the caller's workspace). */ title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; }; export declare enum HokRecommendationAction { Click = "CLICK", Impression = "IMPRESSION" } export type HokRecommendationArmStats = { __typename?: 'HokRecommendationArmStats'; /** clicks / impressions, 0 when there are no impressions. */ clickThroughRate: Scalars['Float']['output']; clicks: Scalars['Int']['output']; impressions: Scalars['Int']['output']; variant: HokRecommendationVariant; /** Distinct viewers who saw at least one recommendation from this arm. */ viewers: Scalars['Int']['output']; }; export type HokRecommendationEventInput = { action: HokRecommendationAction; position?: InputMaybe<Scalars['Int']['input']>; seedTitleId?: InputMaybe<Scalars['ID']['input']>; surface: HokRecommendationSurface; titleId: Scalars['ID']['input']; variant: HokRecommendationVariant; }; export type HokRecommendationExperimentSummary = { __typename?: 'HokRecommendationExperimentSummary'; /** Totals per arm over every surface. */ arms: Array<HokRecommendationArmStats>; /** Share of viewers held out on the BASELINE arm (0–100). */ baselinePercent: Scalars['Int']['output']; readout: HokRecommendationReadout; sinceDays: Scalars['Int']['output']; /** Per-surface split; surfaces without events are left out. */ surfaces: Array<HokRecommendationSurfaceStats>; }; export type HokRecommendationFeed = { __typename?: 'HokRecommendationFeed'; /** * True when the caller has no engagement history yet and the list is driven by * preferences and popularity only. */ coldStart: Scalars['Boolean']['output']; generatedAt: Scalars['DateTime']['output']; items: Array<HokRecommendation>; /** Number of the caller's own titles (watched, rated, listed) the ranking used. */ seedCount: Scalars['Int']['output']; /** The experiment arm that produced this list. */ variant: HokRecommendationVariant; }; export type HokRecommendationRail = { __typename?: 'HokRecommendationRail'; /** Ranked titles; empty when the rail has nothing to show (clients hide it). */ items: Array<HokRecommendation>; kind: HokRecommendationRailKind; /** Bandit score the rail was ordered by; null when the order is fixed or the rail is unexplored. */ orderScore?: Maybe<Scalars['Float']['output']>; /** Surface to tag this rail's impressions and clicks with. */ surface: HokRecommendationSurface; }; /** A home rail (BOFF-10523). */ export declare enum HokRecommendationRailKind { /** Titles crediting people you follow. */ FollowedCreators = "FOLLOWED_CREATORS", /** Recommended for you (the personalised / baseline experiment feed). */ ForYou = "FOR_YOU", /** Titles whose rights in your territory end within 30 days. */ LeavingSoon = "LEAVING_SOON", /** Top 10 in your country this week. */ Top_10 = "TOP_10", /** Trending in your region and language this week. */ Trending = "TRENDING" } /** How the home rails were ordered for the viewer (BOFF-10625). */ export declare enum HokRecommendationRailOrdering { /** Every rail ordered by the viewer's own click-through, explored with UCB1-Tuned. */ Bandit = "BANDIT", /** A viewer without enough history: Recommended for you first, the rest by what works for everyone. */ ColdStart = "COLD_START", /** The default rail order (the BASELINE arm, or the rail bandit is switched off). */ Fixed = "FIXED" } export type HokRecommendationRails = { __typename?: 'HokRecommendationRails'; coldStart: Scalars['Boolean']['output']; generatedAt: Scalars['DateTime']['output']; /** Language (primary subtag) the trending rail was tuned for, if any. */ language?: Maybe<Scalars['String']['output']>; /** How the rails were ordered; `rails` is already in display order. */ ordering: HokRecommendationRailOrdering; rails: Array<HokRecommendationRail>; /** Normalised territory the rails were built for, if any. */ territory?: Maybe<Scalars['String']['output']>; /** Experiment arm of the FOR_YOU rail. */ variant: HokRecommendationVariant; }; /** * A/B read-out of the recommendation experiment over the whole home page (every * home rail together; "more like this" is left out). The PERSONALIZED arm is the * personalised ranker plus the bandit rail order, BASELINE is the popular/newest * ranker in the fixed order, so the read-out judges the treatment as a whole; the * per-surface split shows which rails the difference comes from. Uses a * two-proportion z-test over impressions; impressions cluster by viewer, so * treat the p-value as optimistic. */ export type HokRecommendationReadout = { __typename?: 'HokRecommendationReadout'; decision: HokRecommendationReadoutDecision; /** Personalised CTR / baseline CTR - 1; null when the baseline has no clicks. */ lift?: Maybe<Scalars['Float']['output']>; /** Plain-language summary of the decision. */ message: Scalars['String']['output']; minImpressionsPerArm: Scalars['Int']['output']; minViewers: Scalars['Int']['output']; pValue?: Maybe<Scalars['Float']['output']>; /** Both arms have at least `minImpressionsPerArm` impressions from at least `minViewers` viewers. */ ready: Scalars['Boolean']['output']; /** Ready and p < 0.05. */ significant: Scalars['Boolean']['output']; /** Distinct viewers with a home-rail impression in the window. */ viewers: Scalars['Int']['output']; zScore?: Maybe<Scalars['Float']['output']>; }; /** What the A/B read-out recommends. */ export declare enum HokRecommendationReadoutDecision { /** The baseline wins significantly; check the per-surface split before retuning the blend weights. */ BaselineWins = "BASELINE_WINS", /** Not enough traffic yet; keep the current weights and baseline share. */ CollectMoreData = "COLLECT_MORE_DATA", /** The personalised home (ranker and rail order) wins significantly; the baseline share can be reduced. */ KeepPersonalized = "KEEP_PERSONALIZED", /** Enough traffic, but no significant difference yet. */ NoSignificantDifference = "NO_SIGNIFICANT_DIFFERENCE" } export type HokRecommendationReason = { __typename?: 'HokRecommendationReason'; kind: HokRecommendationReasonKind; /** Human-readable explanation, e.g. "Because you watched Kaathal". */ label: Scalars['String']['output']; /** The title this reason refers to (the seed title), when there is one. */ relatedTitleId?: Maybe<Scalars['ID']['output']>; relatedTitleName?: Maybe<Scalars['String']['output']>; /** Contribution of this signal to the item's score. */ weight: Scalars['Float']['output']; }; /** Why a title was recommended. Each kind maps to one signal of the ranker. */ export declare enum HokRecommendationReasonKind { BecauseYouWatched = "BECAUSE_YOU_WATCHED", FansAlsoLiked = "FANS_ALSO_LIKED", /** Credits a person you follow. */ FollowedCreator = "FOLLOWED_CREATOR", /** Its rights in your territory end within 30 days. */ LeavingSoon = "LEAVING_SOON", NewRelease = "NEW_RELEASE", Popular = "POPULAR", PreferredLanguage = "PREFERRED_LANGUAGE", PreferredType = "PREFERRED_TYPE", SameLanguage = "SAME_LANGUAGE", SameStudio = "SAME_STUDIO", SameType = "SAME_TYPE", SharedCast = "SHARED_CAST", SharedCrew = "SHARED_CREW", SharedGenre = "SHARED_GENRE", SharedTag = "SHARED_TAG", SimilarEra = "SIMILAR_ERA", /** Ranked in the Top 10 for your country this week. */ TopInRegion = "TOP_IN_REGION", /** Watched by many viewers in your region/language this week (BOFF-10523). */ Trending = "TRENDING" } /** Where a recommendation rail was rendered. */ export declare enum HokRecommendationSurface { FollowedCreators = "FOLLOWED_CREATORS", Home = "HOME", LeavingSoon = "LEAVING_SOON", Title = "TITLE", Top_10 = "TOP_10", Trending = "TRENDING" } /** Click-through of one experiment arm on one surface (BOFF-10625). */ export type HokRecommendationSurfaceStats = { __typename?: 'HokRecommendationSurfaceStats'; clickThroughRate: Scalars['Float']['output']; clicks: Scalars['Int']['output']; impressions: Scalars['Int']['output']; surface: HokRecommendationSurface; variant: HokRecommendationVariant; viewers: Scalars['Int']['output']; }; /** * Experiment arm a recommendation list was produced by. * PERSONALIZED is the full ranker; BASELINE is the popular-then-newest control. */ export declare enum HokRecommendationVariant { Baseline = "BASELINE", Personalized = "PERSONALIZED" } export type HokRecordPlaybackEventInput = { /** Optional short detail for a QoE event, e.g. the rendition a QUALITY_CHANGE switched to (max 120 chars). */ detail?: InputMaybe<Scalars['String']['input']>; device?: InputMaybe<Scalars['String']['input']>; episodeId?: InputMaybe<Scalars['ID']['input']>; eventType: HokPlaybackEventType; language?: InputMaybe<Scalars['String']['input']>; positionSeconds?: InputMaybe<Scalars['Int']['input']>; sessionId?: InputMaybe<Scalars['String']['input']>; territory?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; watchedSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type HokRecordProgressInput = { completed?: InputMaybe<Scalars['Boolean']['input']>; episodeId?: InputMaybe<Scalars['ID']['input']>; lastDevice?: InputMaybe<Scalars['String']['input']>; positionSeconds: Scalars['Int']['input']; titleId: Scalars['ID']['input']; }; export type HokReportWatchFeedFailureInput = { error: Scalars['String']['input']; providerId: Scalars['ID']['input']; }; /** Aggregate two-sided reputation for a talent (PERSON) or a studio (STUDIO). */ export type HokReputation = { __typename?: 'HokReputation'; /** Mean score on a 1-5 scale; null until the first rating. */ averageScore?: Maybe<Scalars['Float']['output']>; ratingCount: Scalars['Int']['output']; subjectId: Scalars['ID']['output']; subjectType: HokRatingSubjectType; }; export type HokRequestAdBreakInput = { /** Required for FAST_BREAK. */ channelId?: InputMaybe<Scalars['ID']['input']>; consent?: InputMaybe<HokAdConsentInput>; /** Device class (web, ios, android, tv, ...). */ device?: InputMaybe<Scalars['String']['input']>; /** https URL of the page the player runs on (site.page / [PAGEURL]). */ pageUrl?: InputMaybe<Scalars['String']['input']>; placement: HokAdPlacement; /** The active viewing profile (must belong to the caller); a kids profile only receives kid-safe ads. */ profileId?: InputMaybe<Scalars['ID']['input']>; /** ISO 3166-1 alpha-2 territory of the viewer. */ territory?: InputMaybe<Scalars['String']['input']>; /** Required for PRE_ROLL / MID_ROLL / POST_ROLL. */ titleId?: InputMaybe<Scalars['ID']['input']>; }; export type HokResolveDisputeInput = { disputeId: Scalars['ID']['input']; outcome: HokDisputeOutcome; resolution: Scalars['String']['input']; }; export type HokRespondToCallbackInput = { accept: Scalars['Boolean']['input']; callbackId: Scalars['ID']['input']; declineReason?: InputMaybe<Scalars['String']['input']>; }; export type HokRespondToOfferInput = { accept: Scalars['Boolean']['input']; declineReason?: InputMaybe<Scalars['String']['input']>; offerId: Scalars['ID']['input']; /** Required to accept: the signer's full legal name, typed as their signature. */ signatureName?: InputMaybe<Scalars['String']['input']>; /** Required to accept: the termsHash of the offer exactly as displayed. */ termsHash?: InputMaybe<Scalars['String']['input']>; }; /** Real viewers who reached at least `thresholdPercent` of a title's runtime, from actual playback position data. */ export type HokRetentionPoint = { __typename?: 'HokRetentionPoint'; thresholdPercent: Scalars['Int']['output']; viewerCount: Scalars['Int']['output']; }; export type HokReview = { __typename?: 'HokReview'; aspectScores?: Maybe<Scalars['JSON']['output']>; authorId: Scalars['ID']['output']; body?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; hasSpoilers: Scalars['Boolean']['output']; helpfulCount: Scalars['Int']['output']; id: Scalars['ID']['output']; score: Scalars['Int']['output']; status: HokReviewStatus; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; verifiedWatch: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type HokReviewConnection = { __typename?: 'HokReviewConnection'; items: Array<HokReview>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokReviewStatus { Hidden = "HIDDEN", Pending = "PENDING", Published = "PUBLISHED", Removed = "REMOVED" } export type HokRightsWindow = { __typename?: 'HokRightsWindow'; contractFileId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** * Whether viewers entitled under this window may download the title for * offline viewing (BOFF-10605). Off unless the studio opts in. */ downloadable: Scalars['Boolean']['output']; endsAt?: Maybe<Scalars['DateTime']['output']>; exclusive: Scalars['Boolean']['output']; id: Scalars['ID']['output']; licenseeId?: Maybe<Scalars['ID']['output']>; /** * How many offline downloads one viewer may be issued for the title (per * episode for a series) under this window; null means no cap. */ maxDownloadsPerUser?: Maybe<Scalars['Int']['output']>; modes: Array<HokMonetizationMode>; /** * Hours a downloaded copy stays playable once issued. A download never outlives * the window itself or the viewer's entitlement. */ offlineExpiryHours: Scalars['Int']['output']; priceMinorUnits?: Maybe<Scalars['JSON']['output']>; startsAt?: Maybe<Scalars['DateTime']['output']>; status: HokRightsWindowStatus; territories: Array<Scalars['String']['output']>; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokRightsWindowConnection = { __typename?: 'HokRightsWindowConnection'; items: Array<HokRightsWindow>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokRightsWindowOfflinePolicyInput = { downloadable: Scalars['Boolean']['input']; /** 1-1000; null for no cap; omit to keep the current cap. */ maxDownloadsPerUser?: InputMaybe<Scalars['Int']['input']>; /** 1-720; omit to keep the current expiry. */ offlineExpiryHours?: InputMaybe<Scalars['Int']['input']>; }; export declare enum HokRightsWindowStatus { Active = "ACTIVE", Draft = "DRAFT", Expired = "EXPIRED", Pending = "PENDING", Revoked = "REVOKED" } export declare enum HokRoyaltyComputationMethod { /** FREE_AVOD / FAST revenue attributed directly from confirmed ad impressions on the title (BOFF-4249). */ AdImpression = "AD_IMPRESSION", DiscreteGrant = "DISCRETE_GRANT", PooledWatchTime = "POOLED_WATCH_TIME" } export type HokRoyaltyCurrencyTotal = { __typename?: 'HokRoyaltyCurrencyTotal'; currency: Scalars['String']['output']; royaltyOwedMinorUnits: Scalars['String']['output']; }; export type HokRoyaltyLedgerEntry = { __typename?: 'HokRoyaltyLedgerEntry'; calculatedAt: Scalars['DateTime']['output']; computationMethod: HokRoyaltyComputationMethod; currency: Scalars['String']['output']; id: Scalars['ID']['output']; mode: HokMonetizationMode; payeeId: Scalars['ID']['output']; payeeType: HokRoyaltyPayeeType; period: Scalars['String']['output']; /** The title's full attributable revenue before this row's split; null while AWAITING_REVENUE_POOL. */ revenueBasisMinorUnits?: Maybe<Scalars['String']['output']>; /** revenueBasisMinorUnits * sharePercent / 100; null while AWAITING_REVENUE_POOL. */ royaltyOwedMinorUnits?: Maybe<Scalars['String']['output']>; /** The split percent applied to THIS row, snapshotted at calculation time. */ sharePercent: Scalars['Int']['output']; /** The exact entitlement grant this row was calculated from (DISCRETE_GRANT only). */ sourceEntitlementId?: Maybe<Scalars['ID']['output']>; status: HokRoyaltyLedgerStatus; territory: Scalars['String']['output']; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; /** Qualifying entitlement-grant count (DISCRETE_GRANT, always 1) or watched-seconds (POOLED_WATCH_TIME) this row was calculated from. */ unitsBasis: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type HokRoyaltyLedgerEntryConnection = { __typename?: 'HokRoyaltyLedgerEntryConnection'; items: Array<HokRoyaltyLedgerEntry>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokRoyaltyLedgerStatus { AwaitingRevenuePool = "AWAITING_REVENUE_POOL", Calculated = "CALCULATED" } export declare enum HokRoyaltyPayeeType { Person = "PERSON", Studio = "STUDIO" } export type HokRoyaltyRecalculationResult = { __typename?: 'HokRoyaltyRecalculationResult'; awaitingRevenuePoolCount: Scalars['Int']['output']; entriesCreated: Scalars['Int']['output']; entriesUpdated: Scalars['Int']['output']; period: Scalars['String']['output']; titlesProcessed: Scalars['Int']['output']; }; export type HokRoyaltyRevenuePool = { __typename?: 'HokRoyaltyRevenuePool'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; mode: HokMonetizationMode; notes?: Maybe<Scalars['String']['output']>; period: Scalars['String']['output']; /** Minor-unit integer amount, string-encoded (matches HokProduction.budgetMinorUnits convention). */ revenueMinorUnits: Scalars['String']['output']; source: Scalars['String']['output']; territory: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokRoyaltyRevenuePoolConnection = { __typename?: 'HokRoyaltyRevenuePoolConnection'; items: Array<HokRoyaltyRevenuePool>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokRoyaltySplit = { __typename?: 'HokRoyaltySplit'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; payeeId: Scalars['ID']['output']; payeeType: HokRoyaltyPayeeType; role?: Maybe<Scalars['String']['output']>; sharePercent: Scalars['Int']['output']; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokRoyaltySplitInput = { payeeId: Scalars['ID']['input']; payeeType?: InputMaybe<HokRoyaltyPayeeType>; role?: InputMaybe<Scalars['String']['input']>; sharePercent: Scalars['Int']['input']; }; export type HokRoyaltySummary = { __typename?: 'HokRoyaltySummary'; /** Ledger rows still waiting on a finance-entered revenue pool for their bucket. */ awaitingRevenuePoolCount: Scalars['Int']['output']; entryCount: Scalars['Int']['output']; payeeId: Scalars['ID']['output']; payeeType: HokRoyaltyPayeeType; period?: Maybe<Scalars['String']['output']>; /** One total per currency (a payee's titles may be priced in more than one currency). */ totals: Array<HokRoyaltyCurrencyTotal>; }; export type HokSaveDailyReportInput = { actualCallTime?: InputMaybe<Scalars['String']['input']>; actualWrapTime?: InputMaybe<Scalars['String']['input']>; additionalCostMinorUnits?: InputMaybe<Scalars['String']['input']>; completedSceneIds?: InputMaybe<Array<Scalars['ID']['input']>>; completedShotIds?: InputMaybe<Array<Scalars['ID']['input']>>; notes?: InputMaybe<Scalars['String']['input']>; shootDayId: Scalars['ID']['input']; /** Submit the report: wraps the day, marks the completed shots SHOT and books the actuals in the budget. */ submit?: InputMaybe<Scalars['Boolean']['input']>; }; export type HokSavedSearch = { __typename?: 'HokSavedSearch'; alertsEnabled: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; currency?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; includeMinorRoles: Scalars['Boolean']['output']; keywords?: Maybe<Scalars['String']['output']>; language?: Maybe<Scalars['String']['output']>; lastAlertedAt?: Maybe<Scalars['DateTime']['output']>; location?: Maybe<Scalars['String']['output']>; minPayMinorUnits?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verifiedStudiosOnly: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type HokSavedSearchAlert = { __typename?: 'HokSavedSearchAlert'; audition?: Maybe<HokAudition>; auditionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; readAt?: Maybe<Scalars['DateTime']['output']>; savedSearchId: Scalars['ID']['output']; }; export type HokSavedSearchAlertConnection = { __typename?: 'HokSavedSearchAlertConnection'; items: Array<HokSavedSearchAlert>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export type HokSavedSearchInput = { alertsEnabled?: InputMaybe<Scalars['Boolean']['input']>; currency?: InputMaybe<Scalars['String']['input']>; includeMinorRoles?: InputMaybe<Scalars['Boolean']['input']>; keywords?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; minPayMinorUnits?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; verifiedStudiosOnly?: InputMaybe<Scalars['Boolean']['input']>; }; export type HokScene = { __typename?: 'HokScene'; /** Cast requirements: the cast members this scene needs. */ cast: Array<HokProductionMember>; createdAt: Scalars['DateTime']['output']; elements: Array<HokBreakdownElement>; estimatedMinutes?: Maybe<Scalars['Int']['output']>; heading: Scalars['String']['output']; id: Scalars['ID']['output']; location?: Maybe<HokLocation>; locationId?: Maybe<Scalars['ID']['output']>; /** Script length in eighths of a page (8 = one page). */ pageEighths: Scalars['Int']['output']; productionId: Scalars['ID']['output']; sceneNumber: Scalars['String']['output']; /** Shoot days this scene is scheduled on (ids). */ scheduledShootDayIds: Array<Scalars['ID']['output']>; setting: HokSceneSetting; shots: Array<HokShot>; sortOrder: Scalars['Int']['output']; synopsis?: Maybe<Scalars['String']['output']>; timeOfDay: HokSceneTimeOfDay; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokSceneSetting { Ext = "EXT", Int = "INT", IntExt = "INT_EXT" } export declare enum HokSceneTimeOfDay { Continuous = "CONTINUOUS", Dawn = "DAWN", Day = "DAY", Dusk = "DUSK", Night = "NIGHT" } export type HokScheduleBlock = { __typename?: 'HokScheduleBlock'; channel?: Maybe<HokChannel>; channelId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; startAt: Scalars['DateTime']['output']; title?: Maybe<HokTitle>; titleId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokScheduleBlockConnection = { __typename?: 'HokScheduleBlockConnection'; items: Array<HokScheduleBlock>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokScheduleBlockInput = { channelId: Scalars['ID']['input']; endAt: Scalars['DateTime']['input']; episodeId?: InputMaybe<Scalars['ID']['input']>; startAt: Scalars['DateTime']['input']; titleId?: InputMaybe<Scalars['ID']['input']>; }; export type HokScheduleCallbackInput = { applicationId: Scalars['ID']['input']; format?: InputMaybe<HokCallbackFormat>; /** Required for IN_PERSON callbacks. */ location?: InputMaybe<Scalars['String']['input']>; /** Required for VIRTUAL callbacks (https only). */ meetingUrl?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; scheduledEnd: Scalars['DateTime']['input']; scheduledStart: Scalars['DateTime']['input']; timezone?: InputMaybe<Scalars['String']['input']>; }; export type HokScheduleConflict = { __typename?: 'HokScheduleConflict'; locationId?: Maybe<Scalars['ID']['output']>; memberId?: Maybe<Scalars['ID']['output']>; message: Scalars['String']['output']; /** The other production involved in a cross-production clash. */ otherProductionId?: Maybe<Scalars['ID']['output']>; sceneId?: Maybe<Scalars['ID']['output']>; severity: HokConflictSeverity; shootDate?: Maybe<Scalars['String']['output']>; shootDayId?: Maybe<Scalars['ID']['output']>; type: HokScheduleConflictType; }; export declare enum HokScheduleConflictType { /** A cast member is scheduled on another production on the same date. */ CastDoubleBooked = "CAST_DOUBLE_BOOKED", /** A shoot day carries more script pages than a realistic day allows. */ DayOverloaded = "DAY_OVERLOADED", /** A location is in use by another production on the same date. */ LocationDoubleBooked = "LOCATION_DOUBLE_BOOKED", /** A cast member is scheduled outside the engagement window of their casting offer. */ OutsideEngagement = "OUTSIDE_ENGAGEMENT", /** A shoot day falls outside the production's start/end dates. */ OutsideProductionWindow = "OUTSIDE_PRODUCTION_WINDOW", /** A scene is scheduled on more than one shoot day. */ SceneScheduledTwice = "SCENE_SCHEDULED_TWICE" } export type HokScheduleConstraints = { /** Dates (YYYY-MM-DD) the unit must not shoot. */ avoidDates?: InputMaybe<Array<Scalars['String']['input']>>; /** Daily page ceiling in eighths of a page (default 40 = 5 pages). */ maxPageEighthsPerDay?: InputMaybe<Scalars['Int']['input']>; maxScenesPerDay?: InputMaybe<Scalars['Int']['input']>; /** * First shoot date (YYYY-MM-DD). Defaults to the production start date when in * the future, else next Monday. */ startDate?: InputMaybe<Scalars['String']['input']>; /** Weekdays the unit works, 0 = Sunday (default Monday to Saturday). */ workingWeekdays?: InputMaybe<Array<Scalars['Int']['input']>>; }; export type HokScheduleMetrics = { __typename?: 'HokScheduleMetrics'; castHoldDays: Scalars['Int']['output']; castWorkDays: Scalars['Int']['output']; companyMoves: Scalars['Int']['output']; locationChanges: Scalars['Int']['output']; scheduledScenes: Scalars['Int']['output']; shootDays: Scalars['Int']['output']; unscheduledScenes: Scalars['Int']['output']; }; export type HokScheduleOptimization = { __typename?: 'HokScheduleOptimization'; /** The current stripboard's metrics, when the production has shoot days. */ current?: Maybe<HokScheduleMetrics>; days: Array<HokOptimizedShootDay>; generatedAt: Scalars['DateTime']['output']; improvements: Array<Scalars['String']['output']>; /** Scenes on CONFIRMED or WRAPPED days, left untouched. */ lockedSceneIds: Array<Scalars['ID']['output']>; productionId: Scalars['ID']['output']; proposed: HokScheduleMetrics; startDate: Scalars['String']['output']; warnings: Array<Scalars['String']['output']>; }; export declare enum HokScriptFormat { /** Final Draft XML (.fdx). */ Fdx = "FDX", /** Fountain plain-text screenplay markup (https://fountain.io). */ Fountain = "FOUNTAIN", /** * A screenplay PDF uploaded to wspace-files (pass its fileId). Its text is * extracted on the server and read like PLAIN_TEXT. At most 10 MB and 400 pages; * a scanned PDF without a text layer cannot be read. */ Pdf = "PDF", /** Screenplay text without Fountain markup, e.g. copied out of a PDF. */ PlainText = "PLAIN_TEXT" } export type HokScriptImportResult = { __typename?: 'HokScriptImportResult'; characters: Array<Scalars['String']['output']>; /** Scenes created (or, on a dry run, that would be created). */ createdCount: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; format: HokScriptFormat; sceneCount: Scalars['Int']['output']; scenes: Array<HokScriptImportScene>; skippedCount: Scalars['Int']['output']; totalPageEighths: Scalars['Int']['output']; /** Speaking characters with no matching cast member; add them to the cast and re-run the import. */ unmatchedCharacters: Array<Scalars['String']['output']>; }; export type HokScriptImportScene = { __typename?: 'HokScriptImportScene'; /** Cast members matched to the characters (character name, then display name). */ castMemberIds: Array<Scalars['ID']['output']>; /** Speaking characters of the scene, upper-cased, cue extensions removed. */ characters: Array<Scalars['String']['output']>; heading: Scalars['String']['output']; /** Workspace location whose name matches the heading. */ locationId?: Maybe<Scalars['ID']['output']>; pageEighths: Scalars['Int']['output']; sceneId?: Maybe<Scalars['ID']['output']>; sceneNumber: Scalars['String']['output']; setting: HokSceneSetting; status: HokScriptImportSceneStatus; /** Breakdown elements suggested from the scene's action lines. */ suggestedElements: Array<HokBreakdownElement>; synopsis?: Maybe<Scalars['String']['output']>; timeOfDay: HokSceneTimeOfDay; }; export declare enum HokScriptImportSceneStatus { /** The scene was created. */ Created = "CREATED", /** A scene with this number already exists on the production; it is left untouched. */ Exists = "EXISTS", /** Dry run: the scene would be created. */ New = "NEW", /** The production already holds the maximum number of scenes. */ Skipped = "SKIPPED" } /** * How the search understood the query: every hard constraint and soft signal it * applied, so clients can show (and users can correct) the interpretation. */ export type HokSearchInterpretation = { __typename?: 'HokSearchInterpretation'; /** Mood/genre/style concepts recognised (e.g. "uplifting", "noir", "indie"). */ concepts: Array<Scalars['String']['output']>; excludeLanguages: Array<Scalars['String']['output']>; familyFriendly: Scalars['Boolean']['output']; /** Words left after constraint phrases were consumed; ranked semantically. */ keywords: Array<Scalars['String']['output']>; languages: Array<Scalars['String']['output']>; /** People named in the query, resolved through cast/crew credits. */ matchedPeople: Array<HokPerson>; maxRuntimeMinutes?: Maybe<Scalars['Int']['output']>; minRuntimeMinutes?: Maybe<Scalars['Int']['output']>; originCountries: Array<Scalars['String']['output']>; query: Scalars['String']['output']; releaseYearFrom?: Maybe<Scalars['Int']['output']>; releaseYearTo?: Maybe<Scalars['Int']['output']>; subtitleLanguages: Array<Scalars['String']['output']>; /** Romanised form of the query when it was typed in a non-Latin script. */ transliteratedQuery?: Maybe<Scalars['String']['output']>; types: Array<HokTitleType>; }; export type HokSeason = { __typename?: 'HokSeason'; airDate?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; episodes: Array<HokEpisode>; id: Scalars['ID']['output']; name?: Maybe<Scalars['String']['output']>; number: Scalars['Int']['output']; synopsis?: Maybe<Scalars['String']['output']>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokSeasonEpisodesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Explicit constraints for hokSemanticSearch. They are merged with whatever the * query text implies; an explicit value wins over a parsed one. */ export type HokSemanticSearchFilters = { /** ISO 639-1 codes or language names the title must not originally be in. */ excludeLanguages?: InputMaybe<Array<Scalars['String']['input']>>; /** Genre or tag values (case-insensitive); a title matches when it has any of them. */ genres?: InputMaybe<Array<Scalars['String']['input']>>; /** ISO 639-1 codes or language names; the title's original language or a dub must match. */ languages?: InputMaybe<Array<Scalars['String']['input']>>; maxRuntimeMinutes?: InputMaybe<Scalars['Int']['input']>; minRuntimeMinutes?: InputMaybe<Scalars['Int']['input']>; /** Only titles that credit this person (cast or crew). */ personId?: InputMaybe<Scalars['ID']['input']>; releaseYearFrom?: InputMaybe<Scalars['Int']['input']>; releaseYearTo?: InputMaybe<Scalars['Int']['input']>; /** Defaults to every status except ARCHIVED. */ statuses?: InputMaybe<Array<HokTitleStatus>>; studioId?: InputMaybe<Scalars['ID']['input']>; types?: InputMaybe<Array<HokTitleType>>; }; export type HokSemanticSearchHit = { __typename?: 'HokSemanticSearchHit'; /** Share of the query's concepts this title carries. */ conceptScore: Scalars['Float']['output']; /** Strength of the credit/studio link to a person or studio named in the query. */ graphScore: Scalars['Float']['output']; /** Best cross-script / phonetic match of the query against the title's names. */ keywordScore: Scalars['Float']['output']; matchedConcepts: Array<Scalars['String']['output']>; matchedKeywords: Array<Scalars['String']['output']>; /** Language of the localisation (or original language) that satisfied the match. */ matchedLanguage?: Maybe<Scalars['String']['output']>; matchedPeople: Array<HokPerson>; /** Combined relevance in [0, 1]. */ score: Scalars['Float']['output']; /** Cosine similarity between the query and the title's semantic vector. */ semanticScore: Scalars['Float']['output']; title: HokTitle; }; export type HokSemanticSearchResult = { __typename?: 'HokSemanticSearchResult'; /** Titles that passed the database-level filters and were scored. */ candidateCount: Scalars['Int']['output']; hits: Array<HokSemanticSearchHit>; interpretation: HokSearchInterpretation; /** Hits across all pages (before limit/offset). */ totalMatches: Scalars['Int']['output']; /** * True when more titles matched the database filters than the search scores * per query; narrow the query or filters to reach older titles. */ truncated: Scalars['Boolean']['output']; }; export type HokSendOfferInput = { applicationId: Scalars['ID']['input']; currency?: InputMaybe<Scalars['String']['input']>; engagementEnd?: InputMaybe<Scalars['DateTime']['input']>; engagementStart?: InputMaybe<Scalars['DateTime']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; payMinorUnits?: InputMaybe<Scalars['String']['input']>; terms: Scalars['String']['input']; }; export type HokSetPreferencesInput = { contentTypes?: InputMaybe<Array<Scalars['String']['input']>>; languages?: InputMaybe<Array<Scalars['String']['input']>>; maturityLimit?: InputMaybe<Scalars['String']['input']>; /** When true, stamps onboardedAt (only the first time) to mark onboarding done. */ onboarded?: InputMaybe<Scalars['Boolean']['input']>; }; export type HokSetRoyaltyRevenuePoolInput = { currency?: InputMaybe<Scalars['String']['input']>; mode: HokMonetizationMode; notes?: InputMaybe<Scalars['String']['input']>; period: Scalars['String']['input']; /** Minor-unit integer amount, string-encoded. */ revenueMinorUnits: Scalars['String']['input']; territory?: InputMaybe<Scalars['String']['input']>; }; export type HokShootDay = { __typename?: 'HokShootDay'; createdAt: Scalars['DateTime']['output']; generalCallTime: Scalars['String']['output']; id: Scalars['ID']['output']; location?: Maybe<HokLocation>; locationId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; productionId: Scalars['ID']['output']; /** The day's strips in shooting order. */ scenes: Array<HokScene>; /** Calendar date of the shoot (YYYY-MM-DD). */ shootDate: Scalars['String']['output']; status: HokShootDayStatus; totalPageEighths: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; wrapTime?: Maybe<Scalars['String']['output']>; }; export declare enum HokShootDayStatus { Cancelled = "CANCELLED", Confirmed = "CONFIRMED", Planned = "PLANNED", Wrapped = "WRAPPED" } export type HokShot = { __typename?: 'HokShot'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; estimatedMinutes?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; lens?: Maybe<Scalars['String']['output']>; movement: HokShotMovement; sceneId: Scalars['ID']['output']; shotNumber: Scalars['String']['output']; shotType: HokShotType; sortOrder: Scalars['Int']['output']; status: HokShotStatus; /** Storyboard frames of the shot, in display order. */ storyboardFrames: Array<HokStoryboardFrame>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokShotMovement { Crane = "CRANE", Dolly = "DOLLY", Gimbal = "GIMBAL", Handheld = "HANDHELD", Other = "OTHER", Pan = "PAN", Static = "STATIC", Tilt = "TILT", Tracking = "TRACKING", Zoom = "ZOOM" } export declare enum HokShotStatus { Cut = "CUT", Planned = "PLANNED", Shot = "SHOT" } export declare enum HokShotType { Aerial = "AERIAL", CloseUp = "CLOSE_UP", ExtremeCloseUp = "EXTREME_CLOSE_UP", Full = "FULL", Insert = "INSERT", Medium = "MEDIUM", Other = "OTHER", OverTheShoulder = "OVER_THE_SHOULDER", Pov = "POV", Wide = "WIDE" } export type HokStoryboardFrame = { __typename?: 'HokStoryboardFrame'; caption?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** wspace-files-svc File id of the frame image. */ fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** Federation ref for the frame image File (resolved by wspace-files-svc). */ image?: Maybe<File>; shotId: Scalars['ID']['output']; sortOrder: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokStripboard = { __typename?: 'HokStripboard'; days: Array<HokShootDay>; productionId: Scalars['ID']['output']; scheduledPageEighths: Scalars['Int']['output']; totalPageEighths: Scalars['Int']['output']; /** Scenes of the breakdown not yet scheduled on any shoot day. */ unscheduledScenes: Array<HokScene>; }; export type HokStudio = { __typename?: 'HokStudio'; country?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isVerified: Scalars['Boolean']['output']; name: Scalars['String']['output']; slug?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; titles: Array<HokTitle>; updatedAt: Scalars['DateTime']['output']; websiteUrl?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokStudioTitlesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokStudioAnalytics = { __typename?: 'HokStudioAnalytics'; byTitle: Array<HokTitleAnalyticsSummary>; completionRate: Scalars['Float']['output']; completions: Scalars['Int']['output']; impressions: Scalars['Int']['output']; period?: Maybe<Scalars['String']['output']>; plays: Scalars['Int']['output']; studioId: Scalars['ID']['output']; titleCount: Scalars['Int']['output']; totalWatchedSeconds: Scalars['Int']['output']; uniqueViewers: Scalars['Int']['output']; }; export type HokStudioConnection = { __typename?: 'HokStudioConnection'; items: Array<HokStudio>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokStudioNameMatch = { __typename?: 'HokStudioNameMatch'; matchType: HokNameMatchType; score: Scalars['Float']['output']; studio: HokStudio; }; export type HokSubmitIdentityVerificationInput = { /** * PERSON only — used solely to derive adult eligibility server-side; never * returned by the API. */ dateOfBirth?: InputMaybe<Scalars['DateTime']['input']>; documentFileId?: InputMaybe<Scalars['ID']['input']>; documentType?: InputMaybe<Scalars['String']['input']>; legalName: Scalars['String']['input']; /** Required when subjectType is STUDIO; ignored for PERSON. */ studioId?: InputMaybe<Scalars['ID']['input']>; subjectType: HokVerificationSubjectType; }; /** Follow state returned by follow / unfollow. */ export type HokTalentFollowState = { __typename?: 'HokTalentFollowState'; followerCount: Scalars['Int']['output']; isFollowing: Scalars['Boolean']['output']; personId: Scalars['ID']['output']; }; export type HokTalentInvitation = { __typename?: 'HokTalentInvitation'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; person?: Maybe<HokPerson>; personId: Scalars['ID']['output']; production?: Maybe<HokProduction>; productionId: Scalars['ID']['output']; respondedAt?: Maybe<Scalars['DateTime']['output']>; role: Scalars['String']['output']; status: HokTalentInvitationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokTalentInvitationConnection = { __typename?: 'HokTalentInvitationConnection'; items: Array<HokTalentInvitation>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export declare enum HokTalentInvitationStatus { Accepted = "ACCEPTED", Declined = "DECLINED", Pending = "PENDING", Withdrawn = "WITHDRAWN" } /** Aggregated, workspace-visible talent profile for one HokPerson. */ export type HokTalentProfile = { __typename?: 'HokTalentProfile'; /** Number of viewers following this person. */ followerCount: Scalars['Int']['output']; /** Whether the calling viewer follows this person. */ isFollowing: Scalars['Boolean']['output']; /** * Up to four titles the person is best known for: published titles with * their highest billing first, most recent release breaking ties. */ knownForTitles: Array<HokTitle>; person: HokPerson; /** Distinct productions that resulted in a title this person is credited on. */ productionCount: Scalars['Int']['output']; /** Number of (non-deleted) items on the person's reel. */ reelCount: Scalars['Int']['output']; /** Credit counts per role, ordered by count (largest first). */ roleCounts: Array<HokTalentRoleCount>; /** Distinct titles this person is credited on. */ titleCount: Scalars['Int']['output']; }; export type HokTalentReelConnection = { __typename?: 'HokTalentReelConnection'; items: Array<HokTalentReelItem>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokTalentReelItem = { __typename?: 'HokTalentReelItem'; caption?: Maybe<Scalars['String']['output']>; /** The clip this item was added from, when it still exists. */ clip?: Maybe<HokClip>; clipId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; durationSeconds?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; order: Scalars['Int']['output']; personId: Scalars['ID']['output']; /** Federation ref for the poster File (resolved by wspace-files-svc). */ poster?: Maybe<File>; posterFileId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; /** Federation ref for the reel video File (resolved by wspace-files-svc). */ video?: Maybe<File>; videoFileId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** How many of a person's credits carry one role. */ export type HokTalentRoleCount = { __typename?: 'HokTalentRoleCount'; count: Scalars['Int']['output']; role: HokCreditRole; }; export type HokTalentSuggestion = { __typename?: 'HokTalentSuggestion'; alreadyOnRoster: Scalars['Boolean']['output']; creditCount: Scalars['Int']['output']; currency?: Maybe<Scalars['String']['output']>; /** 0-100: points earned over the points available for the signals that apply. */ fitScore: Scalars['Int']['output']; knownFor?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; /** HokPerson id when the candidate is in the catalog; null when only known from production rosters. */ personId?: Maybe<Scalars['ID']['output']>; reasons: Array<HokFitReason>; /** Median day rate from this workspace's past rosters, in minor units. */ typicalDailyRateMinorUnits?: Maybe<Scalars['String']['output']>; }; export type HokTalentTarget = { __typename?: 'HokTalentTarget'; genres: Array<Scalars['String']['output']>; keywords: Array<Scalars['String']['output']>; language?: Maybe<Scalars['String']['output']>; }; export type HokTasteFeedback = { __typename?: 'HokTasteFeedback'; createdAt: Scalars['DateTime']['output']; kind: HokTasteFeedbackKind; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; }; /** An explicit edit to the viewer's recommendation taste profile. */ export declare enum HokTasteFeedbackKind { /** Never recommend this title, and hide titles closely similar to it. */ HideSimilar = "HIDE_SIMILAR", /** Stop using this watched, rated or listed title to personalise the feed. */ IgnoreSeed = "IGNORE_SEED", /** Never recommend this title. */ NotInterested = "NOT_INTERESTED" } export type HokTasteProfile = { __typename?: 'HokTasteProfile'; /** Every explicit edit, newest first. */ feedback: Array<HokTasteFeedback>; preferredLanguages: Array<Scalars['String']['output']>; preferredTypes: Array<Scalars['String']['output']>; /** Titles the feed is built from, strongest first. */ seeds: Array<HokTasteSeed>; }; export type HokTasteSeed = { __typename?: 'HokTasteSeed'; /** True when the viewer chose to stop using this title as a seed. */ ignored: Scalars['Boolean']['output']; /** The viewer's own review score (1-10), when they rated it. */ rating?: Maybe<Scalars['Int']['output']>; sources: Array<HokTasteSeedSource>; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; /** Affinity used by the ranker: positive for liked, negative for disliked. */ weight: Scalars['Float']['output']; }; /** Where a taste seed came from. */ export declare enum HokTasteSeedSource { Completed = "COMPLETED", Listed = "LISTED", Rated = "RATED", Watched = "WATCHED" } export type HokTitle = { __typename?: 'HokTitle'; aiDisclosure: Scalars['Boolean']['output']; /** Federation convenience ref for the backdrop File (resolved by wspace-files-svc). */ backdrop?: Maybe<File>; /** Reference to a wspace-files-svc File holding the backdrop/hero art. */ backdropFileId?: Maybe<Scalars['ID']['output']>; certification?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; credits: Array<HokCredit>; episodes: Array<HokEpisode>; externalIds?: Maybe<Scalars['JSON']['output']>; genres: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; originCountry?: Maybe<Scalars['String']['output']>; originalLanguage?: Maybe<Scalars['String']['output']>; /** Federation convenience ref for the poster File (resolved by wspace-files-svc). */ poster?: Maybe<File>; /** Reference to a wspace-files-svc File holding the poster/key art. */ posterFileId?: Maybe<Scalars['ID']['output']>; releaseDate?: Maybe<Scalars['DateTime']['output']>; releaseYear?: Maybe<Scalars['Int']['output']>; runtimeMinutes?: Maybe<Scalars['Int']['output']>; seasons: Array<HokSeason>; slug?: Maybe<Scalars['String']['output']>; status: HokTitleStatus; studio?: Maybe<HokStudio>; studioId?: Maybe<Scalars['ID']['output']>; synopsis?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; /** Federation convenience ref for the trailer File (resolved by wspace-files-svc). */ trailer?: Maybe<File>; /** Reference to a wspace-files-svc File holding the trailer video. */ trailerFileId?: Maybe<Scalars['ID']['output']>; type: HokTitleType; updatedAt: Scalars['DateTime']['output']; /** Federation convenience ref for the feature video File (resolved by wspace-files-svc). */ video?: Maybe<File>; /** Reference to a wspace-files-svc File holding the primary feature video. */ videoFileId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type HokTitleCreditsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokTitleEpisodesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokTitleSeasonsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokTitleAnalytics = { __typename?: 'HokTitleAnalytics'; avgWatchedSecondsPerViewer: Scalars['Float']['output']; /** Quality of experience: rebuffering stalls (BUFFER events) recorded in the window. */ bufferEvents: Scalars['Int']['output']; byDevice: Array<HokAnalyticsBucket>; byLanguage: Array<HokAnalyticsBucket>; byTerritory: Array<HokAnalyticsBucket>; completionRate: Scalars['Float']['output']; completions: Scalars['Int']['output']; impressions: Scalars['Int']['output']; /** Quality of experience: PAUSE events recorded in the window. */ pauses: Scalars['Int']['output']; /** Calendar-month bucket ("YYYY-MM") the numbers are scoped to, or null for all-time. */ period?: Maybe<Scalars['String']['output']>; plays: Scalars['Int']['output']; /** Quality of experience: rendition switches (QUALITY_CHANGE events) recorded in the window. */ qualityChanges: Scalars['Int']['output']; retentionCurve: Array<HokRetentionPoint>; titleId: Scalars['ID']['output']; totalWatchedSeconds: Scalars['Int']['output']; uniqueViewers: Scalars['Int']['output']; }; export type HokTitleAnalyticsSummary = { __typename?: 'HokTitleAnalyticsSummary'; completionRate: Scalars['Float']['output']; plays: Scalars['Int']['output']; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; totalWatchedSeconds: Scalars['Int']['output']; uniqueViewers: Scalars['Int']['output']; }; export type HokTitleAvailability = { __typename?: 'HokTitleAvailability'; adSupported: Scalars['Boolean']['output']; /** When the title's current rights here end; null when open-ended or not licensed here. */ availableUntil?: Maybe<Scalars['DateTime']['output']>; entitled: Scalars['Boolean']['output']; /** Modes the viewer's valid entitlements grant. */ modes: Array<HokMonetizationMode>; /** Modes the title is licensed for in this territory right now. */ offeredModes: Array<HokMonetizationMode>; status: HokTitleAvailabilityStatus; /** ISO 3166-1 alpha-2 territory this was computed for. */ territory?: Maybe<Scalars['String']['output']>; titleId: Scalars['ID']['output']; }; /** Availability of a title for the calling viewer in one territory (BOFF-10523). */ export declare enum HokTitleAvailabilityStatus { /** Licensed here; the viewer needs to subscribe, rent or buy. */ AvailableToGet = "AVAILABLE_TO_GET", /** Free to watch with ads here. */ FreeWithAds = "FREE_WITH_ADS", /** No current rights window anywhere. */ NotAvailable = "NOT_AVAILABLE", /** Currently licensed only in other territories. */ UnavailableInRegion = "UNAVAILABLE_IN_REGION", /** The viewer holds a paid entitlement valid here. */ WatchNow = "WATCH_NOW" } export type HokTitleConnection = { __typename?: 'HokTitleConnection'; items: Array<HokTitle>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokTitleFacets = { __typename?: 'HokTitleFacets'; countries: Array<Scalars['String']['output']>; genres: Array<Scalars['String']['output']>; languages: Array<Scalars['String']['output']>; releaseYears: Array<Scalars['Int']['output']>; }; export declare enum HokTitleStatus { Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED", Scheduled = "SCHEDULED", Unpublished = "UNPUBLISHED" } export declare enum HokTitleType { Anime = "ANIME", Collection = "COLLECTION", Documentary = "DOCUMENTARY", FastChannel = "FAST_CHANNEL", LiveEvent = "LIVE_EVENT", LongForm = "LONG_FORM", Movie = "MOVIE", Series = "SERIES", ShortFilm = "SHORT_FILM", ShortForm = "SHORT_FORM", Trailer = "TRAILER" } export type HokUpdateAdCampaignInput = { advertiserName?: InputMaybe<Scalars['String']['input']>; budgetMinorUnits?: InputMaybe<Scalars['String']['input']>; clickThroughUrl?: InputMaybe<Scalars['String']['input']>; cpmMinorUnits?: InputMaybe<Scalars['Int']['input']>; creativeType?: InputMaybe<HokAdCreativeType>; currency?: InputMaybe<Scalars['String']['input']>; durationSeconds?: InputMaybe<Scalars['Int']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; kidSafe?: InputMaybe<Scalars['Boolean']['input']>; mediaFileId?: InputMaybe<Scalars['ID']['input']>; mediaHeight?: InputMaybe<Scalars['Int']['input']>; mediaMimeType?: InputMaybe<Scalars['String']['input']>; mediaUrl?: InputMaybe<Scalars['String']['input']>; mediaWidth?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; placements?: InputMaybe<Array<HokAdPlacement>>; priority?: InputMaybe<Scalars['Int']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; targetDevices?: InputMaybe<Array<Scalars['String']['input']>>; targetGenres?: InputMaybe<Array<Scalars['String']['input']>>; targetLanguages?: InputMaybe<Array<Scalars['String']['input']>>; targetTerritories?: InputMaybe<Array<Scalars['String']['input']>>; vastTagUrl?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateAdSettingsInput = { creatorRevenueSharePercent?: InputMaybe<Scalars['Int']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; fastBreakDurationSeconds?: InputMaybe<Scalars['Int']['input']>; fastBreakIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; frequencyCapPerCampaignPerDay?: InputMaybe<Scalars['Int']['input']>; maxAdsPerBreak?: InputMaybe<Scalars['Int']['input']>; maxBreakDurationSeconds?: InputMaybe<Scalars['Int']['input']>; /** Pass an empty string to clear. */ programmaticAccountId?: InputMaybe<Scalars['String']['input']>; programmaticCurrency?: InputMaybe<Scalars['String']['input']>; programmaticEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Pass an empty string to clear. */ programmaticEndpointUrl?: InputMaybe<Scalars['String']['input']>; programmaticFloorCpmMinorUnits?: InputMaybe<Scalars['Int']['input']>; programmaticTestMode?: InputMaybe<Scalars['Boolean']['input']>; programmaticTimeoutMs?: InputMaybe<Scalars['Int']['input']>; vodMidRollIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; vodPostRollEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Metadata-only channel update. Every field is optional; omitted fields keep * their current value, explicit null clears a nullable field. Status moves go * through hokTransitionChannelStatus. */ export type HokUpdateChannelInput = { description?: InputMaybe<Scalars['String']['input']>; genres?: InputMaybe<Array<Scalars['String']['input']>>; language?: InputMaybe<Scalars['String']['input']>; logoFileId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateCostItemInput = { actualMinorUnits?: InputMaybe<Scalars['String']['input']>; budgetedMinorUnits?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<HokCostCategory>; clearShootDay?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; shootDayId?: InputMaybe<Scalars['ID']['input']>; vendor?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateListInput = { description?: InputMaybe<Scalars['String']['input']>; items?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<HokListVisibility>; }; export type HokUpdateLocationInput = { address?: InputMaybe<Scalars['String']['input']>; city?: InputMaybe<Scalars['String']['input']>; contactName?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Metadata-only person update. Omitted fields keep their current value; * explicit null clears a nullable field. slug must satisfy the same format and * workspace-uniqueness rules as hokCreatePerson. */ export type HokUpdatePersonInput = { biography?: InputMaybe<Scalars['String']['input']>; knownFor?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; portfolioRef?: InputMaybe<Scalars['String']['input']>; primaryLanguage?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type HokUpdateProductionMemberInput = { characterName?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; dailyRateMinorUnits?: InputMaybe<Scalars['String']['input']>; defaultCallTime?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; roleTitle?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateProfileInput = { avatarFileId?: InputMaybe<Scalars['ID']['input']>; isKids?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; maturityLimit?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; pin?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateSceneInput = { clearLocation?: InputMaybe<Scalars['Boolean']['input']>; elements?: InputMaybe<Array<HokBreakdownElementInput>>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; heading?: InputMaybe<Scalars['String']['input']>; /** Pass clearLocation: true to remove the location. */ locationId?: InputMaybe<Scalars['ID']['input']>; pageEighths?: InputMaybe<Scalars['Int']['input']>; sceneNumber?: InputMaybe<Scalars['String']['input']>; setting?: InputMaybe<HokSceneSetting>; sortOrder?: InputMaybe<Scalars['Int']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; timeOfDay?: InputMaybe<HokSceneTimeOfDay>; }; export type HokUpdateShootDayInput = { clearLocation?: InputMaybe<Scalars['Boolean']['input']>; generalCallTime?: InputMaybe<Scalars['String']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; shootDate?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HokShootDayStatus>; wrapTime?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateShotInput = { description?: InputMaybe<Scalars['String']['input']>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; lens?: InputMaybe<Scalars['String']['input']>; movement?: InputMaybe<HokShotMovement>; shotNumber?: InputMaybe<Scalars['String']['input']>; shotType?: InputMaybe<HokShotType>; sortOrder?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<HokShotStatus>; }; export type HokUpdateStoryboardFrameInput = { /** New caption (up to 500 characters); blank clears it. */ caption?: InputMaybe<Scalars['String']['input']>; }; /** * Metadata-only studio update. Omitted fields keep their current value; * explicit null clears a nullable field. */ export type HokUpdateStudioInput = { country?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; websiteUrl?: InputMaybe<Scalars['String']['input']>; }; export type HokUpdateTitleInput = { aiDisclosure?: InputMaybe<Scalars['Boolean']['input']>; backdropFileId?: InputMaybe<Scalars['ID']['input']>; certification?: InputMaybe<Scalars['String']['input']>; genres?: InputMaybe<Array<Scalars['String']['input']>>; originCountry?: InputMaybe<Scalars['String']['input']>; originalLanguage?: InputMaybe<Scalars['String']['input']>; posterFileId?: InputMaybe<Scalars['ID']['input']>; releaseDate?: InputMaybe<Scalars['DateTime']['input']>; releaseYear?: InputMaybe<Scalars['Int']['input']>; runtimeMinutes?: InputMaybe<Scalars['Int']['input']>; slug?: InputMaybe<Scalars['String']['input']>; studioId?: InputMaybe<Scalars['ID']['input']>; synopsis?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; trailerFileId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<HokTitleType>; videoFileId?: InputMaybe<Scalars['ID']['input']>; }; export type HokUpsertWatchProviderInput = { homepageUrl?: InputMaybe<Scalars['String']['input']>; logoUrl?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; refreshTtlSeconds?: InputMaybe<Scalars['Int']['input']>; /** Lowercase letters, digits and dashes; the provider is matched on it. */ slug: Scalars['String']['input']; status?: InputMaybe<HokWatchProviderStatus>; territoryTtlSeconds?: InputMaybe<Scalars['JSON']['input']>; }; export declare enum HokVerificationStatus { Pending = "PENDING", Rejected = "REJECTED", Verified = "VERIFIED" } export declare enum HokVerificationSubjectType { /** * An individual — talent applying to auditions, or a guardian consenting for * a minor applicant. */ Person = "PERSON", /** A casting/production company (a HokStudio). */ Studio = "STUDIO" } export declare enum HokWatchFeedHealth { /** The most recent delivery attempt failed. */ Failed = "FAILED", /** The last feed delivery succeeded and is within the provider's TTL. */ Healthy = "HEALTHY", /** The provider has never delivered a feed. */ NeverIngested = "NEVER_INGESTED", /** No delivery within the provider's TTL; its offers are shown as stale. */ Stale = "STALE" } /** Outcome of one partner feed delivery. */ export type HokWatchIngestResult = { __typename?: 'HokWatchIngestResult'; created: Scalars['Int']['output']; /** Titles that became newly available in a territory (watchlist owners are alerted). */ newlyAvailable: Scalars['Int']['output']; /** Existing offers whose price fell (watchlist owners are alerted). */ priceDrops: Scalars['Int']['output']; providerId: Scalars['ID']['output']; received: Scalars['Int']['output']; rejected: Array<HokWatchOfferRejection>; /** Offers removed because the feed replaced their territory and no longer lists them. */ removed: Scalars['Int']['output']; unchanged: Scalars['Int']['output']; updated: Scalars['Int']['output']; }; export type HokWatchOffer = { __typename?: 'HokWatchOffer'; availableFrom?: Maybe<Scalars['DateTime']['output']>; availableUntil?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; deepLinkUrl?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastSeenAt: Scalars['DateTime']['output']; mode: HokMonetizationMode; priceMinorUnits?: Maybe<Scalars['Int']['output']>; providerId: Scalars['ID']['output']; quality?: Maybe<HokWatchOfferQuality>; territory: Scalars['String']['output']; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokWatchOfferConnection = { __typename?: 'HokWatchOfferConnection'; items: Array<HokWatchOffer>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export type HokWatchOfferInput = { availableFrom?: InputMaybe<Scalars['DateTime']['input']>; availableUntil?: InputMaybe<Scalars['DateTime']['input']>; currency?: InputMaybe<Scalars['String']['input']>; deepLinkUrl?: InputMaybe<Scalars['String']['input']>; mode: HokMonetizationMode; priceMinorUnits?: InputMaybe<Scalars['Int']['input']>; quality?: InputMaybe<HokWatchOfferQuality>; territory: Scalars['String']['input']; titleId: Scalars['ID']['input']; }; export declare enum HokWatchOfferQuality { Hd = "HD", Sd = "SD", Uhd = "UHD" } export type HokWatchOfferRejection = { __typename?: 'HokWatchOfferRejection'; /** Zero-based position of the rejected offer in the submitted batch. */ index: Scalars['Int']['output']; reason: Scalars['String']['output']; }; /** One way to watch a title in the requested territory. */ export type HokWatchOption = { __typename?: 'HokWatchOption'; availableFrom?: Maybe<Scalars['DateTime']['output']>; availableUntil?: Maybe<Scalars['DateTime']['output']>; currency?: Maybe<Scalars['String']['output']>; /** Where to start watching: an app path for HookMovies, the provider's URL otherwise. */ deepLinkUrl?: Maybe<Scalars['String']['output']>; lastSeenAt?: Maybe<Scalars['DateTime']['output']>; mode: HokMonetizationMode; /** Price in minor units of `currency`; null when included (SVOD, FREE_AVOD, FAST). */ priceMinorUnits?: Maybe<Scalars['Int']['output']>; /** The external provider (null for HookMovies' own rights windows). */ providerId?: Maybe<Scalars['ID']['output']>; providerLogoUrl?: Maybe<Scalars['String']['output']>; providerName: Scalars['String']['output']; providerSlug: Scalars['String']['output']; quality?: Maybe<HokWatchOfferQuality>; source: HokWatchOptionSource; /** True when the provider has not re-reported this offer within its TTL. */ stale: Scalars['Boolean']['output']; territory: Scalars['String']['output']; }; export declare enum HokWatchOptionSource { /** Reported by an external watch provider's feed. */ External = "EXTERNAL", /** Derived from one of HookMovies' own active rights windows. */ Hookmovies = "HOOKMOVIES" } export type HokWatchParty = { __typename?: 'HokWatchParty'; createdAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; hostUserId: Scalars['ID']['output']; id: Scalars['ID']['output']; isPlaying: Scalars['Boolean']['output']; members: Array<HokWatchPartyMember>; positionSeconds: Scalars['Int']['output']; status: HokWatchPartyStatus; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokWatchPartyMembersArgs = { pagination?: InputMaybe<PaginationInput>; }; export type HokWatchPartyMember = { __typename?: 'HokWatchPartyMember'; id: Scalars['ID']['output']; joinedAt: Scalars['DateTime']['output']; partyId: Scalars['ID']['output']; role: Scalars['String']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum HokWatchPartyStatus { Ended = "ENDED", Live = "LIVE", Paused = "PAUSED" } export type HokWatchProgress = { __typename?: 'HokWatchProgress'; completed: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; episodeId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; lastDevice?: Maybe<Scalars['String']['output']>; positionSeconds: Scalars['Int']['output']; title?: Maybe<HokTitle>; titleId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type HokWatchProgressConnection = { __typename?: 'HokWatchProgressConnection'; items: Array<HokWatchProgress>; pageInfo: HokPageInfo; /** Total number of rows matching the current filters, across all pages. */ totalCount: Scalars['Int']['output']; }; export type HokWatchProvider = { __typename?: 'HokWatchProvider'; createdAt: Scalars['DateTime']['output']; /** Feed health computed from the last delivery and the provider's TTL. */ feedHealth: HokWatchFeedHealth; homepageUrl?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastFailureAt?: Maybe<Scalars['DateTime']['output']>; lastIngestError?: Maybe<Scalars['String']['output']>; lastIngestStatus?: Maybe<Scalars['String']['output']>; lastIngestedAt?: Maybe<Scalars['DateTime']['output']>; logoUrl?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; refreshTtlSeconds: Scalars['Int']['output']; slug: Scalars['String']['output']; status: HokWatchProviderStatus; /** Per-territory TTL overrides in seconds, keyed by ISO 3166-1 alpha-2 code. */ territoryTtlSeconds?: Maybe<Scalars['JSON']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HokWatchProviderConnection = { __typename?: 'HokWatchProviderConnection'; items: Array<HokWatchProvider>; pageInfo: HokPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum HokWatchProviderStatus { Active = "ACTIVE", Paused = "PAUSED" } /** The where-to-watch guide for one title in one territory. */ export type HokWhereToWatch = { __typename?: 'HokWhereToWatch'; /** The cheapest fresh option per monetization mode and currency. */ cheapest: Array<HokWatchOption>; /** * True when at least one provider's feed is stale or failed, so the guide * may be incomplete or out of date. */ degraded: Scalars['Boolean']['output']; /** Slugs of the providers whose feed is stale or failed. */ degradedProviders: Array<Scalars['String']['output']>; generatedAt: Scalars['DateTime']['output']; /** Every option, cheapest first within each mode; stale options last. */ options: Array<HokWatchOption>; territory: Scalars['String']['output']; titleId: Scalars['ID']['output']; }; export type HoldMtwContainerInput = { containerId: Scalars['ID']['input']; evidence: Array<MtwContainerEvidenceInput>; heldAt: Scalars['DateTime']['input']; idempotencyKey: Scalars['String']['input']; reason: Scalars['String']['input']; }; export type HousingVistaAmcContract = { __typename?: 'HousingVistaAmcContract'; createdAt: Scalars['DateTime']['output']; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; marketplaceServiceId?: Maybe<Scalars['ID']['output']>; monthlyCost: Scalars['Float']['output']; nextServiceDate?: Maybe<Scalars['DateTime']['output']>; packageName: Scalars['String']['output']; propertyId?: Maybe<Scalars['ID']['output']>; propertyTitle: Scalars['String']['output']; providerName: Scalars['String']['output']; servicesIncluded?: Maybe<Scalars['JSON']['output']>; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaAmcContractFilterInput = { propertyId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaAmenity = { __typename?: 'HousingVistaAmenity'; available: Scalars['Boolean']['output']; category: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; export type HousingVistaAmenityInput = { available?: Scalars['Boolean']['input']; category: Scalars['String']['input']; id?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; }; export type HousingVistaAnalytics = { __typename?: 'HousingVistaAnalytics'; kpis: Array<HousingVistaAnalyticsKpi>; occupancyRate: Array<HousingVistaOccupancyPoint>; period: HousingVistaAnalyticsPeriod; propertyTypeDistribution: Array<HousingVistaPropertyTypeDistribution>; revenueByMonth: Array<HousingVistaRevenueByMonth>; }; export type HousingVistaAnalyticsKpi = { __typename?: 'HousingVistaAnalyticsKpi'; changePercent: Scalars['Float']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; previousValue: Scalars['Float']['output']; trend: Scalars['String']['output']; unit: Scalars['String']['output']; value: Scalars['Float']['output']; }; export declare enum HousingVistaAnalyticsPeriod { month = "month", quarter = "quarter", week = "week", year = "year" } export type HousingVistaAreaFutureProject = { __typename?: 'HousingVistaAreaFutureProject'; description?: Maybe<Scalars['String']['output']>; expectedCompletion?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; type?: Maybe<Scalars['String']['output']>; }; export type HousingVistaAreaFutureProjectInput = { description?: InputMaybe<Scalars['String']['input']>; expectedCompletion?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaAreaInsight = { __typename?: 'HousingVistaAreaInsight'; amenitiesRating?: Maybe<Scalars['Float']['output']>; amenitiesScore: Scalars['Int']['output']; appreciationRate: Scalars['Float']['output']; areaName: Scalars['String']['output']; avg2BhkPrice?: Maybe<Scalars['Float']['output']>; avg3BhkPrice?: Maybe<Scalars['Float']['output']>; avgPropertyPrice: Scalars['Float']['output']; avgRentalYield: Scalars['Float']['output']; city: Scalars['String']['output']; connectivityScore: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; futureProjects: Array<HousingVistaAreaFutureProject>; greenCoverPercent: Scalars['Float']['output']; hospitals: Array<Scalars['String']['output']>; hospitalsNearby: Scalars['Int']['output']; id: Scalars['ID']['output']; malls: Array<Scalars['String']['output']>; nearbyHubs: Array<Scalars['String']['output']>; population: Scalars['Int']['output']; priceTrend: Array<HousingVistaAreaPricePoint>; safetyScore: Scalars['Int']['output']; schools: Array<Scalars['String']['output']>; schoolsNearby: Scalars['Int']['output']; transportLinks: Array<Scalars['String']['output']>; upcomingProjects: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaAreaPricePoint = { __typename?: 'HousingVistaAreaPricePoint'; avgPrice: Scalars['Float']['output']; period: Scalars['String']['output']; }; export type HousingVistaAreaPricePointInput = { avgPrice: Scalars['Float']['input']; period: Scalars['String']['input']; }; export type HousingVistaAsset = { __typename?: 'HousingVistaAsset'; appreciationPercent?: Maybe<Scalars['Float']['output']>; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currentValue: Scalars['Float']['output']; id: Scalars['ID']['output']; imageUrl?: Maybe<Scalars['String']['output']>; lastValuationDate?: Maybe<Scalars['DateTime']['output']>; location: Scalars['String']['output']; purchaseDate?: Maybe<Scalars['DateTime']['output']>; purchasePrice: Scalars['Float']['output']; rentalYield?: Maybe<Scalars['Float']['output']>; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaAssetFilterInput = { category?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; /** * Book either a published slot (slotId) or a free datetime (scheduledAt). With a slotId the viewing takes the slot's * start time; if scheduledAt is also sent it must equal that start. */ export type HousingVistaBookViewingInput = { attendeeEmail?: InputMaybe<Scalars['String']['input']>; attendeeName?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; propertyId: Scalars['ID']['input']; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; slotId?: InputMaybe<Scalars['ID']['input']>; type?: HousingVistaViewingType; }; export type HousingVistaCreateAmcContractInput = { context?: InputMaybe<Scalars['JSON']['input']>; endDate: Scalars['DateTime']['input']; marketplaceServiceId?: InputMaybe<Scalars['ID']['input']>; monthlyCost: Scalars['Float']['input']; nextServiceDate?: InputMaybe<Scalars['DateTime']['input']>; packageName: Scalars['String']['input']; propertyId?: InputMaybe<Scalars['ID']['input']>; propertyTitle: Scalars['String']['input']; providerName: Scalars['String']['input']; servicesIncluded?: InputMaybe<Scalars['JSON']['input']>; startDate: Scalars['DateTime']['input']; status: Scalars['String']['input']; }; export type HousingVistaCreateAreaInsightInput = { amenitiesRating?: InputMaybe<Scalars['Float']['input']>; amenitiesScore: Scalars['Int']['input']; appreciationRate: Scalars['Float']['input']; areaName: Scalars['String']['input']; avg2BhkPrice?: InputMaybe<Scalars['Float']['input']>; avg3BhkPrice?: InputMaybe<Scalars['Float']['input']>; avgPropertyPrice: Scalars['Float']['input']; avgRentalYield: Scalars['Float']['input']; city: Scalars['String']['input']; connectivityScore: Scalars['Int']['input']; context?: InputMaybe<Scalars['JSON']['input']>; futureProjects?: InputMaybe<Array<HousingVistaAreaFutureProjectInput>>; greenCoverPercent: Scalars['Float']['input']; hospitals?: InputMaybe<Array<Scalars['String']['input']>>; hospitalsNearby: Scalars['Int']['input']; malls?: InputMaybe<Array<Scalars['String']['input']>>; nearbyHubs?: InputMaybe<Array<Scalars['String']['input']>>; population: Scalars['Int']['input']; priceTrend?: InputMaybe<Array<HousingVistaAreaPricePointInput>>; safetyScore: Scalars['Int']['input']; schools?: InputMaybe<Array<Scalars['String']['input']>>; schoolsNearby: Scalars['Int']['input']; transportLinks?: InputMaybe<Array<Scalars['String']['input']>>; upcomingProjects: Scalars['Int']['input']; }; export type HousingVistaCreateAssetInput = { appreciationPercent?: InputMaybe<Scalars['Float']['input']>; category: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; currentValue: Scalars['Float']['input']; imageUrl?: InputMaybe<Scalars['String']['input']>; lastValuationDate?: InputMaybe<Scalars['DateTime']['input']>; location: Scalars['String']['input']; purchaseDate?: InputMaybe<Scalars['DateTime']['input']>; purchasePrice: Scalars['Float']['input']; rentalYield?: InputMaybe<Scalars['Float']['input']>; status: Scalars['String']['input']; title: Scalars['String']['input']; type: Scalars['String']['input']; }; export type HousingVistaCreateExpenseInput = { amount: Scalars['Float']['input']; category: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; incurredOn: Scalars['DateTime']['input']; propertyId?: InputMaybe<Scalars['ID']['input']>; }; export type HousingVistaCreateHomeLoanOfferInput = { bankLogo?: InputMaybe<Scalars['String']['input']>; bankName: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; emiPerLakh?: InputMaybe<Scalars['Float']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; interestRate: Scalars['Float']['input']; maxAmount: Scalars['Float']['input']; maxTenure: Scalars['Int']['input']; prepaymentCharges?: InputMaybe<Scalars['String']['input']>; processingFee?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; specialOffer?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaCreateInvestmentInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; investmentType: Scalars['String']['input']; investors?: InputMaybe<Scalars['JSON']['input']>; maturityDate?: InputMaybe<Scalars['DateTime']['input']>; propertyId: Scalars['ID']['input']; returns?: InputMaybe<Scalars['JSON']['input']>; riskLevel: Scalars['String']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; status: Scalars['String']['input']; title: Scalars['String']['input']; totalValue: Scalars['Float']['input']; }; export type HousingVistaCreateLeaseInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; leaseEnd: Scalars['DateTime']['input']; leaseStart: Scalars['DateTime']['input']; monthlyRent: Scalars['Float']['input']; rentalApplicationId?: InputMaybe<Scalars['ID']['input']>; rentalUnitId: Scalars['ID']['input']; securityDeposit?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; tenantEmail: Scalars['String']['input']; tenantName: Scalars['String']['input']; tenantPhone?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaCreateLegalServiceInput = { category: Scalars['String']['input']; consultationFee?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; documentsRequired?: InputMaybe<Scalars['JSON']['input']>; estimatedDuration?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; priceRange?: InputMaybe<Scalars['String']['input']>; providerName: Scalars['String']['input']; providerRating?: InputMaybe<Scalars['Float']['input']>; status: Scalars['String']['input']; title: Scalars['String']['input']; }; export type HousingVistaCreateMaintenanceRequestInput = { category: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<HousingVistaMaintenancePriority>; propertyId?: InputMaybe<Scalars['ID']['input']>; rentalUnitId?: InputMaybe<Scalars['ID']['input']>; title: Scalars['String']['input']; }; export type HousingVistaCreateMarketTrendInput = { avgPrice: Scalars['Float']['input']; avgRent: Scalars['Float']['input']; context?: InputMaybe<Scalars['JSON']['input']>; demandIndex: Scalars['Int']['input']; monthLabel: Scalars['String']['input']; priceChangePercent: Scalars['Float']['input']; supplyIndex: Scalars['Int']['input']; }; export type HousingVistaCreateMarketplaceServiceInput = { availableAreas?: InputMaybe<Scalars['JSON']['input']>; category: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; featured?: InputMaybe<Scalars['Boolean']['input']>; imageUrl?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; priceRange?: InputMaybe<Scalars['String']['input']>; providerName: Scalars['String']['input']; rating?: InputMaybe<Scalars['Float']['input']>; responseTime?: InputMaybe<Scalars['String']['input']>; reviewCount?: InputMaybe<Scalars['Int']['input']>; verified?: InputMaybe<Scalars['Boolean']['input']>; }; export type HousingVistaCreatePropertyInput = { address?: InputMaybe<Scalars['String']['input']>; ageOfProperty?: InputMaybe<Scalars['Int']['input']>; amenities?: InputMaybe<Array<HousingVistaAmenityInput>>; balconies?: InputMaybe<Scalars['Int']['input']>; bathrooms: Scalars['Int']['input']; bedrooms: Scalars['Int']['input']; builtUpArea?: InputMaybe<Scalars['Float']['input']>; carpetArea?: InputMaybe<Scalars['Float']['input']>; category: Scalars['String']['input']; city: Scalars['String']['input']; context?: InputMaybe<Scalars['JSON']['input']>; coordinates?: InputMaybe<HousingVistaGeoCoordinatesInput>; country?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; facing?: InputMaybe<Scalars['String']['input']>; floors?: InputMaybe<Scalars['Int']['input']>; furnishingStatus?: InputMaybe<Scalars['String']['input']>; imageFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; imageUrl?: InputMaybe<Scalars['String']['input']>; images?: InputMaybe<Array<HousingVistaPropertyImageInput>>; landmarks?: InputMaybe<Array<Scalars['String']['input']>>; negotiable?: InputMaybe<Scalars['Boolean']['input']>; neighborhood?: InputMaybe<Scalars['String']['input']>; parking?: InputMaybe<Scalars['Int']['input']>; pincode?: InputMaybe<Scalars['String']['input']>; price: Scalars['Float']['input']; pricePerSqft?: InputMaybe<Scalars['Float']['input']>; pricePeriod?: InputMaybe<Scalars['String']['input']>; priceType?: InputMaybe<Scalars['String']['input']>; reraApprovalDate?: InputMaybe<Scalars['DateTime']['input']>; reraAuthority?: InputMaybe<Scalars['String']['input']>; reraRegistrationNo?: InputMaybe<Scalars['String']['input']>; reraUrl?: InputMaybe<Scalars['String']['input']>; state: Scalars['String']['input']; status: HousingVistaPropertyStatus; title: Scalars['String']['input']; totalArea: Scalars['Float']['input']; totalFloors?: InputMaybe<Scalars['Int']['input']>; type: HousingVistaPropertyType; }; export type HousingVistaCreateRentalUnitInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; lastPaymentAt?: InputMaybe<Scalars['DateTime']['input']>; leaseEnd: Scalars['DateTime']['input']; leaseStart: Scalars['DateTime']['input']; monthlyRent: Scalars['Float']['input']; paymentStatus: Scalars['String']['input']; propertyId?: InputMaybe<Scalars['ID']['input']>; propertyTitle: Scalars['String']['input']; securityDeposit?: InputMaybe<Scalars['Float']['input']>; status: Scalars['String']['input']; tenantEmail: Scalars['String']['input']; tenantName: Scalars['String']['input']; tenantPhone?: InputMaybe<Scalars['String']['input']>; unitNumber: Scalars['String']['input']; }; export type HousingVistaCreateTransactionInput = { amount: Scalars['Float']['input']; context?: InputMaybe<Scalars['JSON']['input']>; currency?: InputMaybe<Scalars['String']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; documents?: InputMaybe<Scalars['JSON']['input']>; escrow?: InputMaybe<Scalars['JSON']['input']>; milestones?: InputMaybe<Scalars['JSON']['input']>; offerId?: InputMaybe<Scalars['ID']['input']>; parties?: InputMaybe<Scalars['JSON']['input']>; propertyId: Scalars['ID']['input']; status: Scalars['String']['input']; title: Scalars['String']['input']; type: Scalars['String']['input']; }; export type HousingVistaCreateVerificationItemInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; entityId?: InputMaybe<Scalars['ID']['input']>; entityLabel: Scalars['String']['input']; entityType: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; priority: Scalars['String']['input']; }; export type HousingVistaDashboardStats = { __typename?: 'HousingVistaDashboardStats'; activeTransactions: Scalars['Int']['output']; investmentReturns: Scalars['Float']['output']; maintenanceRequests: Scalars['Int']['output']; monthlyRevenue: Scalars['Float']['output']; occupancyRate: Scalars['Float']['output']; pendingVerifications: Scalars['Int']['output']; totalInvestments: Scalars['Int']['output']; totalPortfolioValue: Scalars['Float']['output']; totalProperties: Scalars['Int']['output']; totalTenants: Scalars['Int']['output']; totalValue: Scalars['Float']['output']; trends: HousingVistaDashboardTrends; unreadMessages: Scalars['Int']['output']; upcomingViewings: Scalars['Int']['output']; }; export type HousingVistaDashboardTrends = { __typename?: 'HousingVistaDashboardTrends'; activeTransactions: Array<HousingVistaTrendPoint>; monthlyRevenue: Array<HousingVistaTrendPoint>; occupancyRate: Array<HousingVistaTrendPoint>; totalProperties: Array<HousingVistaTrendPoint>; }; export type HousingVistaExpense = { __typename?: 'HousingVistaExpense'; amount: Scalars['Float']['output']; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; incurredOn: Scalars['DateTime']['output']; propertyId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaExpenseFilterInput = { category?: InputMaybe<Scalars['String']['input']>; from?: InputMaybe<Scalars['DateTime']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; export type HousingVistaGeoBoundsInput = { neLat: Scalars['Float']['input']; neLng: Scalars['Float']['input']; swLat: Scalars['Float']['input']; swLng: Scalars['Float']['input']; }; export type HousingVistaGeoCenterInput = { latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; radiusKm: Scalars['Float']['input']; }; export type HousingVistaGeoCoordinates = { __typename?: 'HousingVistaGeoCoordinates'; latitude: Scalars['Float']['output']; longitude: Scalars['Float']['output']; }; export type HousingVistaGeoCoordinatesInput = { latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; }; export type HousingVistaHomeLoanOffer = { __typename?: 'HousingVistaHomeLoanOffer'; bankLogo?: Maybe<Scalars['String']['output']>; bankName: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; emiPerLakh?: Maybe<Scalars['Float']['output']>; features?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; interestRate: Scalars['Float']['output']; maxAmount: Scalars['Float']['output']; maxTenure: Scalars['Int']['output']; prepaymentCharges?: Maybe<Scalars['String']['output']>; processingFee?: Maybe<Scalars['String']['output']>; rating?: Maybe<Scalars['Float']['output']>; specialOffer?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaInvestment = { __typename?: 'HousingVistaInvestment'; createdAt: Scalars['DateTime']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; id: Scalars['ID']['output']; investmentType: Scalars['String']['output']; investors?: Maybe<Scalars['JSON']['output']>; maturityDate?: Maybe<Scalars['DateTime']['output']>; property: HousingVistaProperty; propertyId: Scalars['ID']['output']; returns?: Maybe<Scalars['JSON']['output']>; riskLevel: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; totalValue: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaInvestmentComplianceSetting = { __typename?: 'HousingVistaInvestmentComplianceSetting'; eligibilityVerified: Scalars['Boolean']['output']; notes?: Maybe<Scalars['String']['output']>; updatedAt?: Maybe<Scalars['DateTime']['output']>; verifiedAt?: Maybe<Scalars['DateTime']['output']>; verifiedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type HousingVistaInvestmentFilterInput = { investmentType?: InputMaybe<Scalars['String']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; riskLevel?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaLease = { __typename?: 'HousingVistaLease'; createdAt: Scalars['DateTime']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; id: Scalars['ID']['output']; leaseEnd: Scalars['DateTime']['output']; leaseStart: Scalars['DateTime']['output']; monthlyRent: Scalars['Float']['output']; rentalApplicationId?: Maybe<Scalars['ID']['output']>; rentalUnit: HousingVistaRentalUnit; rentalUnitId: Scalars['ID']['output']; securityDeposit?: Maybe<Scalars['Float']['output']>; status: Scalars['String']['output']; tenantEmail: Scalars['String']['output']; tenantName: Scalars['String']['output']; tenantPhone?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaLeaseFilterInput = { rentalUnitId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaLegalService = { __typename?: 'HousingVistaLegalService'; category: Scalars['String']['output']; consultationFee?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; documentsRequired?: Maybe<Scalars['JSON']['output']>; estimatedDuration?: Maybe<Scalars['String']['output']>; features?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; priceRange?: Maybe<Scalars['String']['output']>; providerName: Scalars['String']['output']; providerRating?: Maybe<Scalars['Float']['output']>; status: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaLegalServiceFilterInput = { category?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaListingVerificationEvidence = { __typename?: 'HousingVistaListingVerificationEvidence'; documentFiles: Array<File>; entityLabel: Scalars['String']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; submittedAt: Scalars['DateTime']['output']; }; export declare enum HousingVistaMaintenancePriority { high = "high", low = "low", medium = "medium" } export type HousingVistaMaintenanceRequest = { __typename?: 'HousingVistaMaintenanceRequest'; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; priority: HousingVistaMaintenancePriority; propertyId?: Maybe<Scalars['ID']['output']>; rentalUnitId?: Maybe<Scalars['ID']['output']>; resolutionNotes?: Maybe<Scalars['String']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; status: HousingVistaMaintenanceStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaMaintenanceRequestFilterInput = { category?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<HousingVistaMaintenancePriority>; propertyId?: InputMaybe<Scalars['ID']['input']>; rentalUnitId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaMaintenanceStatus>; }; export declare enum HousingVistaMaintenanceStatus { in_progress = "in_progress", open = "open", resolved = "resolved" } export type HousingVistaMarketTrend = { __typename?: 'HousingVistaMarketTrend'; avgPrice: Scalars['Float']['output']; avgRent: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; demandIndex: Scalars['Int']['output']; id: Scalars['ID']['output']; month: Scalars['String']['output']; monthLabel: Scalars['String']['output']; priceChangePercent: Scalars['Float']['output']; supplyIndex: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaMarketplaceService = { __typename?: 'HousingVistaMarketplaceService'; availableAreas?: Maybe<Scalars['JSON']['output']>; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; featured: Scalars['Boolean']['output']; id: Scalars['ID']['output']; imageUrl?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; priceRange?: Maybe<Scalars['String']['output']>; providerName: Scalars['String']['output']; rating?: Maybe<Scalars['Float']['output']>; responseTime?: Maybe<Scalars['String']['output']>; reviewCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; verified: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaMarketplaceServiceFilterInput = { category?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; verified?: InputMaybe<Scalars['Boolean']['input']>; }; export type HousingVistaNlSearchFilter = { __typename?: 'HousingVistaNlSearchFilter'; amenities?: Maybe<Array<Scalars['String']['output']>>; bedroomsMin?: Maybe<Scalars['Int']['output']>; category?: Maybe<Scalars['String']['output']>; city?: Maybe<Scalars['String']['output']>; priceMax?: Maybe<Scalars['Float']['output']>; priceMin?: Maybe<Scalars['Float']['output']>; reraVerificationStatus?: Maybe<HousingVistaReraVerificationStatus>; status?: Maybe<HousingVistaPropertyStatus>; type?: Maybe<HousingVistaPropertyType>; }; export declare enum HousingVistaNlSearchMethod { ai = "ai", keyword = "keyword" } export type HousingVistaNlSearchResult = { __typename?: 'HousingVistaNlSearchResult'; fallbackReason?: Maybe<Scalars['String']['output']>; filter: HousingVistaNlSearchFilter; method: HousingVistaNlSearchMethod; properties: Array<HousingVistaProperty>; query: Scalars['String']['output']; }; export type HousingVistaOccupancyPoint = { __typename?: 'HousingVistaOccupancyPoint'; month: Scalars['String']['output']; rate: Scalars['Float']['output']; }; export type HousingVistaOffer = { __typename?: 'HousingVistaOffer'; amount: Scalars['Float']['output']; counterAmount?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; property: HousingVistaProperty; propertyId: Scalars['ID']['output']; respondedAt?: Maybe<Scalars['DateTime']['output']>; status: HousingVistaOfferStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaOfferFilterInput = { propertyId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HousingVistaOfferStatus>; }; export declare enum HousingVistaOfferResponseAction { accept = "accept", counter = "counter", reject = "reject" } export declare enum HousingVistaOfferStatus { accepted = "accepted", countered = "countered", expired = "expired", rejected = "rejected", submitted = "submitted", withdrawn = "withdrawn" } export type HousingVistaPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export type HousingVistaProperty = { __typename?: 'HousingVistaProperty'; amenities: Array<HousingVistaAmenity>; category: Scalars['String']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; imageFileIds: Array<Scalars['ID']['output']>; imageUrl?: Maybe<Scalars['String']['output']>; images: Array<HousingVistaPropertyImage>; location: HousingVistaPropertyLocation; price: HousingVistaPropertyPrice; reraApprovalDate?: Maybe<Scalars['DateTime']['output']>; reraAuthority?: Maybe<Scalars['String']['output']>; reraRegistrationNo?: Maybe<Scalars['String']['output']>; reraUrl?: Maybe<Scalars['String']['output']>; reraVerificationStatus: HousingVistaReraVerificationStatus; specifications: HousingVistaPropertySpecifications; status: HousingVistaPropertyStatus; title: Scalars['String']['output']; type: HousingVistaPropertyType; updatedAt: Scalars['DateTime']['output']; verificationItems: Array<HousingVistaListingVerificationEvidence>; verificationStatus: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaPropertyFilterInput = { amenities?: InputMaybe<Array<Scalars['String']['input']>>; bedroomsMin?: InputMaybe<Scalars['Int']['input']>; bounds?: InputMaybe<HousingVistaGeoBoundsInput>; category?: InputMaybe<Scalars['String']['input']>; center?: InputMaybe<HousingVistaGeoCenterInput>; city?: InputMaybe<Scalars['String']['input']>; priceMax?: InputMaybe<Scalars['Float']['input']>; priceMin?: InputMaybe<Scalars['Float']['input']>; reraVerificationStatus?: InputMaybe<HousingVistaReraVerificationStatus>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaPropertyStatus>; type?: InputMaybe<HousingVistaPropertyType>; verificationStatus?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaPropertyImage = { __typename?: 'HousingVistaPropertyImage'; file?: Maybe<File>; fileId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; isPrimary: Scalars['Boolean']['output']; order: Scalars['Int']['output']; title?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; url: Scalars['String']['output']; }; export type HousingVistaPropertyImageInput = { id?: InputMaybe<Scalars['ID']['input']>; isPrimary?: Scalars['Boolean']['input']; order?: Scalars['Int']['input']; title?: InputMaybe<Scalars['String']['input']>; type?: Scalars['String']['input']; url: Scalars['String']['input']; }; export type HousingVistaPropertyLocation = { __typename?: 'HousingVistaPropertyLocation'; address?: Maybe<Scalars['String']['output']>; city: Scalars['String']['output']; coordinates?: Maybe<HousingVistaGeoCoordinates>; country: Scalars['String']['output']; landmarks: Array<Scalars['String']['output']>; neighborhood?: Maybe<Scalars['String']['output']>; pincode?: Maybe<Scalars['String']['output']>; state: Scalars['String']['output']; }; export type HousingVistaPropertyPrice = { __typename?: 'HousingVistaPropertyPrice'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; negotiable: Scalars['Boolean']['output']; period?: Maybe<Scalars['String']['output']>; pricePerSqft?: Maybe<Scalars['Float']['output']>; type: Scalars['String']['output']; }; export type HousingVistaPropertySpecifications = { __typename?: 'HousingVistaPropertySpecifications'; ageOfProperty?: Maybe<Scalars['Int']['output']>; balconies?: Maybe<Scalars['Int']['output']>; bathrooms?: Maybe<Scalars['Int']['output']>; bedrooms?: Maybe<Scalars['Int']['output']>; builtUpArea?: Maybe<Scalars['Float']['output']>; carpetArea?: Maybe<Scalars['Float']['output']>; facing?: Maybe<Scalars['String']['output']>; floors?: Maybe<Scalars['Int']['output']>; furnishingStatus: Scalars['String']['output']; parking?: Maybe<Scalars['Int']['output']>; totalArea: Scalars['Float']['output']; totalFloors?: Maybe<Scalars['Int']['output']>; }; export declare enum HousingVistaPropertyStatus { for_rent = "for_rent", for_sale = "for_sale", off_market = "off_market", rented = "rented", sold = "sold", under_contract = "under_contract" } export declare enum HousingVistaPropertyType { agricultural = "agricultural", commercial = "commercial", industrial = "industrial", mixed_use = "mixed_use", residential = "residential" } export type HousingVistaPropertyTypeDistribution = { __typename?: 'HousingVistaPropertyTypeDistribution'; count: Scalars['Int']['output']; type: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type HousingVistaPublishViewingSlotsInput = { propertyId: Scalars['ID']['input']; slots: Array<HousingVistaViewingSlotInput>; }; /** * Ground-truth quota usage for one (workspace, quota) pair. Consumed only by * wspace-activity-svc's count reconciler, which overwrites * WorkspaceQuotaAssignment.used with `currentValue`. */ export type HousingVistaQuotaCountMetric = { __typename?: 'HousingVistaQuotaCountMetric'; currentValue: Scalars['Float']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaRenewAmcContractInput = { endDate: Scalars['DateTime']['input']; }; export type HousingVistaRenewLeaseInput = { leaseEnd: Scalars['DateTime']['input']; }; export type HousingVistaRentalApplication = { __typename?: 'HousingVistaRentalApplication'; applicantEmail: Scalars['String']['output']; applicantName: Scalars['String']['output']; applicantPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; id: Scalars['ID']['output']; monthlyIncome?: Maybe<Scalars['Float']['output']>; moveInDate?: Maybe<Scalars['DateTime']['output']>; rentalUnit: HousingVistaRentalUnit; rentalUnitId: Scalars['ID']['output']; reviewNotes?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; status: HousingVistaRentalApplicationStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaRentalApplicationFilterInput = { rentalUnitId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaRentalApplicationStatus>; }; export declare enum HousingVistaRentalApplicationStatus { approved = "approved", rejected = "rejected", screening = "screening", submitted = "submitted" } export type HousingVistaRentalUnit = { __typename?: 'HousingVistaRentalUnit'; createdAt: Scalars['DateTime']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; id: Scalars['ID']['output']; lastPaymentAt?: Maybe<Scalars['DateTime']['output']>; lastPaymentDate?: Maybe<Scalars['DateTime']['output']>; leaseEnd: Scalars['DateTime']['output']; leaseStart: Scalars['DateTime']['output']; monthlyRent: Scalars['Float']['output']; paymentStatus: Scalars['String']['output']; propertyId?: Maybe<Scalars['ID']['output']>; propertyTitle: Scalars['String']['output']; securityDeposit?: Maybe<Scalars['Float']['output']>; status: Scalars['String']['output']; tenantEmail: Scalars['String']['output']; tenantName: Scalars['String']['output']; tenantPhone?: Maybe<Scalars['String']['output']>; unitNumber: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaRentalUnitFilterInput = { paymentStatus?: InputMaybe<Scalars['String']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export declare enum HousingVistaReraVerificationStatus { not_applicable = "not_applicable", pending = "pending", rejected = "rejected", verified = "verified" } export type HousingVistaRespondOfferInput = { action: HousingVistaOfferResponseAction; counterAmount?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaRevenueByMonth = { __typename?: 'HousingVistaRevenueByMonth'; expenses: Scalars['Float']['output']; month: Scalars['String']['output']; revenue: Scalars['Float']['output']; }; export type HousingVistaReviewRentalApplicationInput = { decision: HousingVistaRentalApplicationStatus; reviewNotes?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaSaveShortlistInput = { notes?: InputMaybe<Scalars['String']['input']>; propertyId: Scalars['ID']['input']; }; export type HousingVistaShortlist = { __typename?: 'HousingVistaShortlist'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; property: HousingVistaProperty; propertyId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaSubmitOfferInput = { amount: Scalars['Float']['input']; currency?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; propertyId: Scalars['ID']['input']; }; export type HousingVistaSubmitRentalApplicationInput = { applicantEmail: Scalars['String']['input']; applicantName: Scalars['String']['input']; applicantPhone?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; monthlyIncome?: InputMaybe<Scalars['Float']['input']>; moveInDate?: InputMaybe<Scalars['DateTime']['input']>; rentalUnitId: Scalars['ID']['input']; }; export type HousingVistaTerminateLeaseInput = { notes?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaTransaction = { __typename?: 'HousingVistaTransaction'; amount: Scalars['Float']['output']; buyer?: Maybe<HousingVistaTransactionParty>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; documents?: Maybe<Scalars['JSON']['output']>; escrow?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; landlord?: Maybe<HousingVistaTransactionParty>; milestones?: Maybe<Scalars['JSON']['output']>; offerId?: Maybe<Scalars['ID']['output']>; parties?: Maybe<Scalars['JSON']['output']>; property: HousingVistaProperty; propertyId: Scalars['ID']['output']; seller?: Maybe<HousingVistaTransactionParty>; status: Scalars['String']['output']; tenant?: Maybe<HousingVistaTransactionParty>; title: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaTransactionFilterInput = { propertyId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaTransactionParty = { __typename?: 'HousingVistaTransactionParty'; avatar?: Maybe<Scalars['String']['output']>; firstName?: Maybe<Scalars['String']['output']>; id?: Maybe<Scalars['ID']['output']>; lastName?: Maybe<Scalars['String']['output']>; }; export type HousingVistaTrendPoint = { __typename?: 'HousingVistaTrendPoint'; label: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type HousingVistaUpdateAmcContractInput = { context?: InputMaybe<Scalars['JSON']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; marketplaceServiceId?: InputMaybe<Scalars['ID']['input']>; monthlyCost?: InputMaybe<Scalars['Float']['input']>; nextServiceDate?: InputMaybe<Scalars['DateTime']['input']>; packageName?: InputMaybe<Scalars['String']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; propertyTitle?: InputMaybe<Scalars['String']['input']>; providerName?: InputMaybe<Scalars['String']['input']>; servicesIncluded?: InputMaybe<Scalars['JSON']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateAreaInsightInput = { amenitiesRating?: InputMaybe<Scalars['Float']['input']>; amenitiesScore?: InputMaybe<Scalars['Int']['input']>; appreciationRate?: InputMaybe<Scalars['Float']['input']>; areaName?: InputMaybe<Scalars['String']['input']>; avg2BhkPrice?: InputMaybe<Scalars['Float']['input']>; avg3BhkPrice?: InputMaybe<Scalars['Float']['input']>; avgPropertyPrice?: InputMaybe<Scalars['Float']['input']>; avgRentalYield?: InputMaybe<Scalars['Float']['input']>; city?: InputMaybe<Scalars['String']['input']>; connectivityScore?: InputMaybe<Scalars['Int']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; futureProjects?: InputMaybe<Array<HousingVistaAreaFutureProjectInput>>; greenCoverPercent?: InputMaybe<Scalars['Float']['input']>; hospitals?: InputMaybe<Array<Scalars['String']['input']>>; hospitalsNearby?: InputMaybe<Scalars['Int']['input']>; malls?: InputMaybe<Array<Scalars['String']['input']>>; nearbyHubs?: InputMaybe<Array<Scalars['String']['input']>>; population?: InputMaybe<Scalars['Int']['input']>; priceTrend?: InputMaybe<Array<HousingVistaAreaPricePointInput>>; safetyScore?: InputMaybe<Scalars['Int']['input']>; schools?: InputMaybe<Array<Scalars['String']['input']>>; schoolsNearby?: InputMaybe<Scalars['Int']['input']>; transportLinks?: InputMaybe<Array<Scalars['String']['input']>>; upcomingProjects?: InputMaybe<Scalars['Int']['input']>; }; export type HousingVistaUpdateAssetInput = { appreciationPercent?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; currentValue?: InputMaybe<Scalars['Float']['input']>; imageUrl?: InputMaybe<Scalars['String']['input']>; lastValuationDate?: InputMaybe<Scalars['DateTime']['input']>; location?: InputMaybe<Scalars['String']['input']>; purchaseDate?: InputMaybe<Scalars['DateTime']['input']>; purchasePrice?: InputMaybe<Scalars['Float']['input']>; rentalYield?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateExpenseInput = { amount?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; incurredOn?: InputMaybe<Scalars['DateTime']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; }; export type HousingVistaUpdateHomeLoanOfferInput = { bankLogo?: InputMaybe<Scalars['String']['input']>; bankName?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; emiPerLakh?: InputMaybe<Scalars['Float']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; interestRate?: InputMaybe<Scalars['Float']['input']>; maxAmount?: InputMaybe<Scalars['Float']['input']>; maxTenure?: InputMaybe<Scalars['Int']['input']>; prepaymentCharges?: InputMaybe<Scalars['String']['input']>; processingFee?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; specialOffer?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateInvestmentInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; investmentType?: InputMaybe<Scalars['String']['input']>; investors?: InputMaybe<Scalars['JSON']['input']>; maturityDate?: InputMaybe<Scalars['DateTime']['input']>; returns?: InputMaybe<Scalars['JSON']['input']>; riskLevel?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; totalValue?: InputMaybe<Scalars['Float']['input']>; }; export type HousingVistaUpdateLegalServiceInput = { category?: InputMaybe<Scalars['String']['input']>; consultationFee?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; documentsRequired?: InputMaybe<Scalars['JSON']['input']>; estimatedDuration?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; priceRange?: InputMaybe<Scalars['String']['input']>; providerName?: InputMaybe<Scalars['String']['input']>; providerRating?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateMaintenanceRequestInput = { category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<HousingVistaMaintenancePriority>; resolutionNotes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaMaintenanceStatus>; title?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateMarketTrendInput = { avgPrice?: InputMaybe<Scalars['Float']['input']>; avgRent?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; demandIndex?: InputMaybe<Scalars['Int']['input']>; monthLabel?: InputMaybe<Scalars['String']['input']>; priceChangePercent?: InputMaybe<Scalars['Float']['input']>; supplyIndex?: InputMaybe<Scalars['Int']['input']>; }; export type HousingVistaUpdateMarketplaceServiceInput = { availableAreas?: InputMaybe<Scalars['JSON']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; featured?: InputMaybe<Scalars['Boolean']['input']>; imageUrl?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; priceRange?: InputMaybe<Scalars['String']['input']>; providerName?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; responseTime?: InputMaybe<Scalars['String']['input']>; reviewCount?: InputMaybe<Scalars['Int']['input']>; verified?: InputMaybe<Scalars['Boolean']['input']>; }; export type HousingVistaUpdatePropertyInput = { address?: InputMaybe<Scalars['String']['input']>; ageOfProperty?: InputMaybe<Scalars['Int']['input']>; amenities?: InputMaybe<Array<HousingVistaAmenityInput>>; balconies?: InputMaybe<Scalars['Int']['input']>; bathrooms?: InputMaybe<Scalars['Int']['input']>; bedrooms?: InputMaybe<Scalars['Int']['input']>; builtUpArea?: InputMaybe<Scalars['Float']['input']>; carpetArea?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; city?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; coordinates?: InputMaybe<HousingVistaGeoCoordinatesInput>; country?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; facing?: InputMaybe<Scalars['String']['input']>; floors?: InputMaybe<Scalars['Int']['input']>; furnishingStatus?: InputMaybe<Scalars['String']['input']>; imageFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; imageUrl?: InputMaybe<Scalars['String']['input']>; images?: InputMaybe<Array<HousingVistaPropertyImageInput>>; landmarks?: InputMaybe<Array<Scalars['String']['input']>>; negotiable?: InputMaybe<Scalars['Boolean']['input']>; neighborhood?: InputMaybe<Scalars['String']['input']>; parking?: InputMaybe<Scalars['Int']['input']>; pincode?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; pricePerSqft?: InputMaybe<Scalars['Float']['input']>; pricePeriod?: InputMaybe<Scalars['String']['input']>; priceType?: InputMaybe<Scalars['String']['input']>; reraApprovalDate?: InputMaybe<Scalars['DateTime']['input']>; reraAuthority?: InputMaybe<Scalars['String']['input']>; reraRegistrationNo?: InputMaybe<Scalars['String']['input']>; reraUrl?: InputMaybe<Scalars['String']['input']>; state?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaPropertyStatus>; title?: InputMaybe<Scalars['String']['input']>; totalArea?: InputMaybe<Scalars['Float']['input']>; totalFloors?: InputMaybe<Scalars['Int']['input']>; type?: InputMaybe<HousingVistaPropertyType>; }; export type HousingVistaUpdateRentalUnitInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; lastPaymentAt?: InputMaybe<Scalars['DateTime']['input']>; leaseEnd?: InputMaybe<Scalars['DateTime']['input']>; leaseStart?: InputMaybe<Scalars['DateTime']['input']>; monthlyRent?: InputMaybe<Scalars['Float']['input']>; paymentStatus?: InputMaybe<Scalars['String']['input']>; propertyId?: InputMaybe<Scalars['ID']['input']>; propertyTitle?: InputMaybe<Scalars['String']['input']>; securityDeposit?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; tenantEmail?: InputMaybe<Scalars['String']['input']>; tenantName?: InputMaybe<Scalars['String']['input']>; tenantPhone?: InputMaybe<Scalars['String']['input']>; unitNumber?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateTransactionInput = { amount?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; currency?: InputMaybe<Scalars['String']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; documents?: InputMaybe<Scalars['JSON']['input']>; escrow?: InputMaybe<Scalars['JSON']['input']>; milestones?: InputMaybe<Scalars['JSON']['input']>; parties?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaUpdateVerificationItemInput = { context?: InputMaybe<Scalars['JSON']['input']>; documentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; entityId?: InputMaybe<Scalars['ID']['input']>; entityLabel?: InputMaybe<Scalars['String']['input']>; entityType?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['String']['input']>; }; /** * slotId moves the viewing to another published slot. To release its slot, reschedule to a different time (scheduledAt). * A null slotId is the same as leaving it out. */ export type HousingVistaUpdateViewingInput = { attendeeEmail?: InputMaybe<Scalars['String']['input']>; attendeeName?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; slotId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HousingVistaViewingStatus>; type?: InputMaybe<HousingVistaViewingType>; }; export type HousingVistaVerificationItem = { __typename?: 'HousingVistaVerificationItem'; createdAt: Scalars['DateTime']['output']; documentFileIds: Array<Scalars['ID']['output']>; documentFiles: Array<File>; entityId?: Maybe<Scalars['ID']['output']>; entityLabel: Scalars['String']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; priority: Scalars['String']['output']; reviewerName?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; submittedAt: Scalars['DateTime']['output']; submittedDate: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaVerificationItemFilterInput = { entityType?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type HousingVistaViewing = { __typename?: 'HousingVistaViewing'; attendeeEmail?: Maybe<Scalars['String']['output']>; attendeeName?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; property: HousingVistaProperty; propertyId: Scalars['ID']['output']; scheduledAt: Scalars['DateTime']['output']; /** The published slot this viewing took, or null for a free-datetime booking. */ slotId?: Maybe<Scalars['ID']['output']>; status: HousingVistaViewingStatus; type: HousingVistaViewingType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaViewingFilterInput = { propertyId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HousingVistaViewingStatus>; type?: InputMaybe<HousingVistaViewingType>; }; /** A dated window an agent/owner published for buyers to book a viewing in. */ export type HousingVistaViewingSlot = { __typename?: 'HousingVistaViewingSlot'; createdAt: Scalars['DateTime']['output']; endsAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; propertyId: Scalars['ID']['output']; startsAt: Scalars['DateTime']['output']; status: HousingVistaViewingSlotStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type HousingVistaViewingSlotInput = { endsAt: Scalars['DateTime']['input']; startsAt: Scalars['DateTime']['input']; }; /** A published slot is open until a live viewing holds it (booked); cancelling the viewing frees it again. */ export declare enum HousingVistaViewingSlotStatus { booked = "booked", cancelled = "cancelled", open = "open" } export declare enum HousingVistaViewingStatus { cancelled = "cancelled", completed = "completed", confirmed = "confirmed", requested = "requested" } export declare enum HousingVistaViewingType { in_person = "in_person", virtual = "virtual" } export type HrisDirectorySyncSchedule = { __typename?: 'HrisDirectorySyncSchedule'; connectionId: Scalars['ID']['output']; intervalHours: Scalars['Int']['output']; nextRunAt?: Maybe<Scalars['DateTime']['output']>; scheduleEnabled: Scalars['Boolean']['output']; }; export type HrisDirectorySyncStatus = { __typename?: 'HrisDirectorySyncStatus'; /** * True once a preview succeeded with the current credentials; a sync (and the * schedule) can run only then. */ canApply: Scalars['Boolean']['output']; connectionId: Scalars['ID']['output']; connectionStatus: ConnectionStatus; credentialsUpdatedAt?: Maybe<Scalars['DateTime']['output']>; intervalHours: Scalars['Int']['output']; lastApply?: Maybe<HrisSyncRun>; lastPreview?: Maybe<HrisSyncRun>; nextRunAt?: Maybe<Scalars['DateTime']['output']>; /** workday or sap-successfactors */ providerKey: Scalars['String']['output']; running?: Maybe<HrisSyncRun>; scheduleEnabled: Scalars['Boolean']['output']; }; /** What a sync did (or, in a preview, would do) for one worker. */ export type HrisSyncItem = { __typename?: 'HrisSyncItem'; action: HrisSyncItemAction; detail?: Maybe<Scalars['String']['output']>; email?: Maybe<Scalars['String']['output']>; externalId: Scalars['String']['output']; userId?: Maybe<Scalars['ID']['output']>; }; export declare enum HrisSyncItemAction { Conflict = "CONFLICT", Create = "CREATE", Deactivate = "DEACTIVATE", Error = "ERROR", Reactivate = "REACTIVATE", Skip = "SKIP", Unchanged = "UNCHANGED", Update = "UPDATE" } /** * HR-system directory sync (BOFF-10564): a Workday or SAP SuccessFactors * connection pulls the workspace's workers and provisions them with the same * outcomes as SCIM provisioning (create, update name and email, deactivate). */ export declare enum HrisSyncMode { /** Pull and apply. */ Apply = "APPLY", /** Pull and plan only; nothing in the workspace changes. */ Preview = "PREVIEW" } export type HrisSyncRun = { __typename?: 'HrisSyncRun'; conflicts: Scalars['Int']['output']; connectionId: Scalars['ID']['output']; created: Scalars['Int']['output']; deactivated: Scalars['Int']['output']; errorCode?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; errors: Scalars['Int']['output']; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** Workers whose outcome is not UNCHANGED (at most 500). */ items: Array<HrisSyncItem>; mode: HrisSyncMode; reactivated: Scalars['Int']['output']; skipped: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; startedBy: Scalars['String']['output']; status: HrisSyncStatus; trigger: HrisSyncTrigger; unchanged: Scalars['Int']['output']; updated: Scalars['Int']['output']; workersFetched: Scalars['Int']['output']; }; export declare enum HrisSyncStatus { Failed = "FAILED", /** Finished, but some workers ended in CONFLICT or ERROR. */ Partial = "PARTIAL", Running = "RUNNING", Succeeded = "SUCCEEDED" } export declare enum HrisSyncTrigger { Manual = "MANUAL", Scheduled = "SCHEDULED" } export type IcsGroup = { __typename?: 'IcsGroup'; /** The group organic certificate all members roll up under. */ certificationId?: Maybe<Scalars['ID']['output']>; code: Scalars['String']['output']; contactPerson?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; registrationNumber?: Maybe<Scalars['String']['output']>; /** ACTIVE | INACTIVE | ARCHIVED */ status: Scalars['String']['output']; }; export type IcsGroupDetail = { __typename?: 'IcsGroupDetail'; certification?: Maybe<Certification>; group: IcsGroup; growers: Array<IcsGrower>; inspections: Array<IcsInspection>; rollup: IcsRollup; }; /** An ICS group with the counts an FPO manager scans first. */ export type IcsGroupSummary = { __typename?: 'IcsGroupSummary'; certificationId?: Maybe<Scalars['ID']['output']>; code: Scalars['String']['output']; contactPerson?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; growerCount: Scalars['Int']['output']; highRiskCount: Scalars['Int']['output']; id: Scalars['ID']['output']; inspectionsOverdue: Scalars['Int']['output']; name: Scalars['String']['output']; registrationNumber?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; totalPlotAreaHectares: Scalars['Float']['output']; }; /** A member grower, with the derived inspection state the group table renders. */ export type IcsGrower = { __typename?: 'IcsGrower'; active: Scalars['Boolean']['output']; /** CONVENTIONAL | IN_CONVERSION_Y1 | IN_CONVERSION_Y2 | IN_CONVERSION_Y3 | ORGANIC */ conversionStatus: Scalars['String']['output']; district?: Maybe<Scalars['String']['output']>; fullName: Scalars['String']['output']; icsGroupId: Scalars['ID']['output']; id: Scalars['ID']['output']; inspectionCount: Scalars['Int']['output']; inspectionOverdue: Scalars['Boolean']['output']; /** Date of the most recent completed inspection. */ lastInspectionDate?: Maybe<Scalars['String']['output']>; /** PASSED | CONDITIONAL | FAILED | DRAFT | SCHEDULED */ lastInspectionStatus?: Maybe<Scalars['String']['output']>; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; memberCode: Scalars['String']['output']; mobile?: Maybe<Scalars['String']['output']>; /** Date of the next scheduled inspection, if one is pending. */ nextInspectionDate?: Maybe<Scalars['String']['output']>; plotAreaHectares?: Maybe<Scalars['Float']['output']>; /** [{ name, areaHectares, latitude, longitude }] */ plots?: Maybe<Scalars['JSON']['output']>; primaryCrop?: Maybe<Scalars['String']['output']>; /** LOW | MEDIUM | HIGH */ riskLevel: Scalars['String']['output']; village: Scalars['String']['output']; }; export type IcsGrowerDetail = { __typename?: 'IcsGrowerDetail'; group: IcsGroup; grower: IcsGrower; inspections: Array<IcsInspection>; }; /** Result of importing an ICS (iCalendar / RFC 5545) document into a calendar. */ export type IcsImportResult = { __typename?: 'IcsImportResult'; /** Per-event error messages collected during import. */ errors: Array<Scalars['String']['output']>; /** Number of VEVENTs successfully created as calendar events. */ eventsCreated: Scalars['Int']['output']; /** Number of VEVENTs that were skipped (duplicates / parse failures). */ eventsSkipped: Scalars['Int']['output']; }; export type IcsInspection = { __typename?: 'IcsInspection'; /** [{ key, label, result: PASS | FAIL | NA, note }] */ checklist?: Maybe<Scalars['JSON']['output']>; findingsCount: Scalars['Int']['output']; growerId: Scalars['ID']['output']; icsGroupId: Scalars['ID']['output']; id: Scalars['ID']['output']; inspectionDate: Scalars['String']['output']; inspectorName: Scalars['String']['output']; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; notes?: Maybe<Scalars['String']['output']>; /** Opaque wspace-files-svc file ids for photo evidence. */ photoFileIds: Array<Scalars['String']['output']>; /** SCHEDULED | DRAFT | PASSED | CONDITIONAL | FAILED */ status: Scalars['String']['output']; }; export type IcsInspectionChecklistItemInput = { key: Scalars['String']['input']; label: Scalars['String']['input']; note?: InputMaybe<Scalars['String']['input']>; /** PASS | FAIL | NA (case-insensitive). */ result: Scalars['String']['input']; }; export type IcsPlotInput = { areaHectares: Scalars['Float']['input']; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name: Scalars['String']['input']; }; /** The group roll-up an FPO manager produces for the certifier. */ export type IcsRollup = { __typename?: 'IcsRollup'; growersNeverInspected: Scalars['Int']['output']; highRisk: Scalars['Int']['output']; inspectionsConditional: Scalars['Int']['output']; inspectionsFailed: Scalars['Int']['output']; inspectionsOverdue: Scalars['Int']['output']; inspectionsPassed: Scalars['Int']['output']; inspectionsScheduled: Scalars['Int']['output']; lowRisk: Scalars['Int']['output']; mediumRisk: Scalars['Int']['output']; totalGroups: Scalars['Int']['output']; totalGrowers: Scalars['Int']['output']; totalPlotAreaHectares: Scalars['Float']['output']; }; /** Dashboard import input */ export type ImportBigConsoleDashboardInput = { /** * What to do when a live dashboard with the same name already exists (default: RENAME). * RENAME imports under a free "name (imported)" name. FAIL refuses with E_DASHBOARD_NAME_EXISTS. * OVERWRITE archives the existing dashboard (restorable with restoreDashboard) and imports under the * exact name. The other enum values are not supported for import. */ conflictResolution?: InputMaybe<BigConsoleConflictResolution>; /** JSON content of the export file */ content: Scalars['String']['input']; /** Override dashboard name (optional) */ name?: InputMaybe<Scalars['String']['input']>; /** Skip validation warnings (default: false) */ skipWarnings?: InputMaybe<Scalars['Boolean']['input']>; /** Target visibility (optional, defaults to PRIVATE) */ visibility?: InputMaybe<BigConsoleDashboardVisibility>; }; /** * One source file, at most 1 MiB of sources in total. Give the file inline in `content`; `url` * (a previously uploaded file) is reserved for project bundles and refused until they ship. */ export type ImportFileInput = { content?: InputMaybe<Scalars['String']['input']>; /** Relative project path, for example `workflows/lead-enrichment.ts`. */ path: Scalars['String']['input']; url?: InputMaybe<Scalars['String']['input']>; }; export type ImportHealthyBowlBankStatementInput = { bankAccountId: Scalars['ID']['input']; context: ContextInput; /** * Raw CSV. Needs a date column, a description column, and either `amount` or `withdrawal`/`deposit`; * column order is free and common bank spellings are accepted. */ csv: Scalars['String']['input']; /** Validate and report without writing. Run this first on any statement. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; }; export type ImportHealthyBowlContactsInput = { context: ContextInput; /** Raw CSV text. Header row: name,type,phone,email,address,gstin,notes,status (name required). */ csv: Scalars['String']['input']; }; /** * CSV bulk import for livestock health records and vaccinations (BOFF-6028). Shared by both, because * the contract is identical and two near-identical inputs would drift. */ export type ImportHealthyBowlLivestockInput = { context: ContextInput; /** Raw CSV text, including its header row. */ csv: Scalars['String']['input']; /** * Validate and report without writing anything. Always run this first: the result tells the farmer * exactly which rows would land, which are duplicates and which name an animal that is not in the * herd, BEFORE any of it is committed. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; }; export type ImportHealthyBowlMachinerySpendInput = { context: ContextInput; items: Array<HealthyBowlMachinerySpendItemInput>; }; /** A single supplier row for bulk CSV import (no context; supplied once on the parent op). */ export type ImportHealthyBowlSupplierRow = { address?: InputMaybe<Scalars['String']['input']>; certification?: InputMaybe<Scalars['String']['input']>; comProfileId?: InputMaybe<Scalars['String']['input']>; contactPerson?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; /** Input for importing a resource configuration */ export type ImportResourceConfigInput = { /** Resource configuration (provider-specific) */ config?: InputMaybe<Scalars['JSON']['input']>; /** Resource metadata (tags, labels, annotations) */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Name for the imported resource */ name: Scalars['String']['input']; /** Resource type */ type: Scalars['String']['input']; }; export type ImportSecretsInput = { /** Base64-encoded payload returned by `exportSecrets`. */ data: Scalars['String']['input']; overwriteExisting?: InputMaybe<Scalars['Boolean']['input']>; /** Passphrase used to encrypt the export. Must be at least 8 characters. */ passphrase: Scalars['String']['input']; vaultId: Scalars['ID']['input']; }; /** Source files for importWorkflow. */ export type ImportSourceInput = { /** * For TYPESCRIPT: connection name to `{ "connectionId": "…", "adapter": "…" }` for every * `connection: 'name'` in the sources. A name that is missing fails the import with the list * of names to create. Code exported with connection ids needs no map. */ connections?: InputMaybe<Scalars['JSON']['input']>; files: Array<ImportFileInput>; /** JSON or TYPESCRIPT. PYTHON is lowered by the CLI; BUNDLE and YAML are not importable yet. */ format: WorkflowExportFormat; }; /** Input for importing a portable workflow export. */ export type ImportWorkflowInput = { alias?: InputMaybe<Scalars['String']['input']>; /** Allow an import to be created while reporting missing installed nodes. */ allowMissingNodes?: InputMaybe<Scalars['Boolean']['input']>; category?: InputMaybe<Scalars['String']['input']>; /** * The uploaded code bundle of an imported code workflow (needs `workflowKey`); see * CreateWorkflowVersionInput.codeBundle. Not with TypeScript `source`, whose bundle the service * builds itself. */ codeBundle?: InputMaybe<CodeBundleInput>; context?: InputMaybe<Scalars['JSON']['input']>; /** * Raw definition JSON, or a whole WorkflowExport document (its `definitionJson` is imported). * Give either this or `source`. */ definitionJson?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; /** Map source node type/version keys to installed node type/version values. */ nodeMappings?: InputMaybe<Scalars['JSON']['input']>; /** * Source files to import instead of `definitionJson` (code-first workflows): one JSON document, or * tier-1 TypeScript modules lowered by the service. For TypeScript the workflow's own key is used * when `workflowKey` is omitted. Needs the `fluidgrids.code-first` feature. With the * `fluidgrids.durable-functions` feature, TypeScript may also hold workflow functions: the service * builds and stores their bundle. */ source?: InputMaybe<ImportSourceInput>; tags?: InputMaybe<Array<Scalars['String']['input']>>; tagsV2?: InputMaybe<Scalars['JSON']['input']>; version?: InputMaybe<Scalars['String']['input']>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** Result of importing a portable workflow document. */ export type ImportWorkflowResponse = { __typename?: 'ImportWorkflowResponse'; message?: Maybe<Scalars['String']['output']>; /** What the import did with an n8n workflow export; null when a FluidGrids definition was imported. */ n8nReport?: Maybe<WorkflowN8nImportReport>; success: Scalars['Boolean']['output']; validation: WorkflowImportValidation; workflow?: Maybe<WorkflowDefinition>; }; /** Input for importing a workflow from a store template */ export type ImportWorkflowTemplateInput = { /** Category */ category?: InputMaybe<Scalars['String']['input']>; /** Additional context metadata */ context?: InputMaybe<Scalars['JSON']['input']>; /** * The definitionJson from the store template content. Give either this or `source` * (VALIDATION_ERROR otherwise). */ definitionJson?: InputMaybe<Scalars['JSON']['input']>; /** Description */ description?: InputMaybe<Scalars['String']['input']>; /** Icon */ icon?: InputMaybe<Scalars['String']['input']>; /** Workflow name */ name: Scalars['String']['input']; /** Project ID for context scoping */ projectId?: InputMaybe<Scalars['String']['input']>; /** * The template's code (templates as code): its `content.sources` as files, with * `content.sourceFormat` as the format. Resolved like importWorkflow(source); a tier-2 template's * bundle is built and stored by the service. Needs the `fluidgrids.code-first` and * `fluidgrids.code-templates` features, and `fluidgrids.durable-functions` for a tier-2 template. * `requiredInputs` substitution never applies to sources. */ source?: InputMaybe<ImportSourceInput>; /** Source store product ID (for lineage tracking) */ sourceTemplateId: Scalars['String']['input']; /** Source template name (for display in context) */ sourceTemplateName?: InputMaybe<Scalars['String']['input']>; /** Tags */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Workflow key (auto-generated from name if not provided) */ workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** Response from importing a workflow template */ export type ImportWorkflowTemplateResponse = { __typename?: 'ImportWorkflowTemplateResponse'; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; /** The newly created workflow definition */ workflow?: Maybe<WorkflowDefinition>; }; export type Incident = { __typename?: 'Incident'; assignedTo?: Maybe<Scalars['String']['output']>; category: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; priority: Priority; reportedAt: Scalars['DateTime']['output']; reportedBy: Scalars['String']['output']; resolution?: Maybe<Scalars['String']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; slaBreached: Scalars['Boolean']['output']; status: IncidentStatus; title: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum IncidentStatus { Closed = "CLOSED", InProgress = "IN_PROGRESS", Open = "OPEN", Resolved = "RESOLVED" } export declare enum IndexStatus { Empty = "EMPTY", Failed = "FAILED", Indexing = "INDEXING", Ready = "READY", Rebuilding = "REBUILDING" } /** * Ingest daily mandi prices. When `prices` is provided (M2M / cron carrying a pre-fetched payload) * those rows are upserted into the shared cache; otherwise the connector fetches live prices from * Agmarknet using the optional `commodity` / `state` / `limit` filters (a no-op empty fallback when * no api-key is configured). After upsert, the workspace's enabled alert rules are evaluated and an * in-app alert is raised on a breach. */ export type IngestHealthyBowlMandiPricesInput = { /** Optional Agmarknet fetch filter (used only when `prices` is omitted). */ commodity?: InputMaybe<Scalars['String']['input']>; context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; prices?: InputMaybe<Array<HealthyBowlMandiPriceInput>>; state?: InputMaybe<Scalars['String']['input']>; }; /** Result of a mandi-price ingest run. */ export type IngestMandiPricesResult = { __typename?: 'IngestMandiPricesResult'; /** Alerts raised or refreshed by this ingest. */ alerts: Array<PriceAlert>; /** Number of new cache rows created. */ created: Scalars['Int']['output']; notificationsSent: Scalars['Int']['output']; /** Number of enabled alert rules evaluated against the fresh prices. */ rulesEvaluated: Scalars['Int']['output']; /** Where the prices came from: 'input' (payload) or 'agmarknet' (live fetch). */ source: Scalars['String']['output']; /** Number of existing cache rows refreshed. */ updated: Scalars['Int']['output']; }; export type IngestSensorReadingInput = { batteryPercent?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; /** MOISTURE | TEMPERATURE. Optional when moisture/temperature convenience fields are used. */ metric?: InputMaybe<Scalars['String']['input']>; /** Convenience: a soil-moisture percentage; writes a MOISTURE reading. */ moisture?: InputMaybe<Scalars['Float']['input']>; /** The registered probe's external code (e.g. SP-014). Must map to a probe. */ probeCode: Scalars['String']['input']; /** ISO timestamp of the reading. Defaults to server-now when omitted. */ recordedAt?: InputMaybe<Scalars['DateTime']['input']>; /** Convenience: a temperature in °C; writes a TEMPERATURE reading. */ temperature?: InputMaybe<Scalars['Float']['input']>; value?: InputMaybe<Scalars['Float']['input']>; }; export type IngestSensorReadingResult = { __typename?: 'IngestSensorReadingResult'; alerts: Array<SensorAlert>; breachedRuleKeys: Array<Scalars['String']['output']>; notificationsSent: Scalars['Int']['output']; probe: SensorProbe; reading: SensorReading; }; /** * Service-only initialization of up to three existing users in an ACTIVE platform-created * disposable workspace. The argument must match the gateway workspace context and stored owner. * Normal locked member caps, default roles and retained audit apply. Existing member roles are * unchanged. A multi-user failure can leave a partial result: reconcile memberships; never assume * batch rollback. This path does not provision or modify customer billing quotas/plans. */ export type InitializeDisposableWorkspaceMembersInput = { expectedOwnerId: Scalars['ID']['input']; userIds: Array<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** Input for initializing a new workspace from global tenant service */ export type InitializeNewWorkspaceInput = { /** Display name of the workspace */ name: Scalars['String']['input']; /** Organization ID within the tenant */ organizationId: Scalars['ID']['input']; /** Owner user ID */ ownerId: Scalars['ID']['input']; /** URL-friendly slug for the workspace */ slug: Scalars['String']['input']; /** Initial status of the workspace */ status: Scalars['String']['input']; /** Tenant ID the workspace belongs to */ tenantId: Scalars['ID']['input']; /** Type of workspace (TEAM, PERSONAL, etc.) */ type: Scalars['String']['input']; /** Workspace ID (must match ID created in global-tenant-svc) */ workspaceId: Scalars['ID']['input']; }; /** Result of workspace initialization */ export type InitializeNewWorkspaceResult = { __typename?: 'InitializeNewWorkspaceResult'; /** Message describing the result */ message?: Maybe<Scalars['String']['output']>; /** List of resources created during initialization */ resourcesCreated: Array<Scalars['String']['output']>; /** Whether initialization was successful */ success: Scalars['Boolean']['output']; /** ID of the initialized workspace */ workspaceId: Scalars['ID']['output']; }; /** Result of workspace role initialization */ export type InitializeWorkspaceRolesResult = { __typename?: 'InitializeWorkspaceRolesResult'; /** Message describing the result */ message: Scalars['String']['output']; /** Whether owner was assigned the Workspace Owner role */ ownerAssigned: Scalars['Boolean']['output']; /** Names of roles created */ roleNames: Array<Scalars['String']['output']>; /** Number of roles created */ rolesCreated: Scalars['Int']['output']; /** Whether the operation was successful */ success: Scalars['Boolean']['output']; }; export type InitiateOAuthInput = { connectionId: Scalars['ID']['input']; redirectUri: Scalars['String']['input']; scopes?: InputMaybe<Array<Scalars['String']['input']>>; }; export type InitiateUploadInput = { /** File extension (e.g., "pdf", "jpg") */ extension: Scalars['String']['input']; /** Name of the file */ fileName: Scalars['String']['input']; /** Total size of the file in bytes */ fileSize: Scalars['BigInt']['input']; /** Optional folder ID where file will be stored */ folderId?: InputMaybe<Scalars['ID']['input']>; /** MIME type of the file */ mimeType: Scalars['String']['input']; /** SHA256 hash of the file for deduplication (optional) */ sha256Hash?: InputMaybe<Scalars['String']['input']>; /** File visibility */ visibility?: InputMaybe<FileVisibility>; }; /** * How a run executes, as the Insights "Code workflows" panel groups runs (gap G21, spec code-first * 09 §5). */ export declare enum InsightsRunKind { /** A durable code workflow (TypeScript or Python) replayed from its event history. */ CodeWorkflow = "CODE_WORKFLOW", /** A canvas run that walks the graph node by node. */ Graph = "GRAPH", /** A standalone activity started with startActivity. */ StandaloneActivity = "STANDALONE_ACTIVITY" } /** Runs of one kind started in the window, by outcome. */ export type InsightsRunKindStat = { __typename?: 'InsightsRunKindStat'; /** Cancelled or terminated runs. */ cancelled: Scalars['Int']['output']; completed: Scalars['Int']['output']; failed: Scalars['Int']['output']; kind: InsightsRunKind; /** Runs not finished yet: pending, running or waiting. */ open: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type InstallJob = { __typename?: 'InstallJob'; connectionId: Scalars['String']['output']; jobId: Scalars['String']['output']; status: Scalars['String']['output']; }; export type InstallJobStatus = { __typename?: 'InstallJobStatus'; currentStep?: Maybe<Scalars['Int']['output']>; error?: Maybe<Scalars['String']['output']>; jobId: Scalars['String']['output']; result?: Maybe<Scalars['JSON']['output']>; status: Scalars['String']['output']; steps?: Maybe<Scalars['JSON']['output']>; }; export declare enum InstallMode { Forked = "FORKED", Linked = "LINKED" } /** Input for installing node in workspace */ export type InstallNodeInput = { config?: InputMaybe<Scalars['JSON']['input']>; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; publishType: PublishType; }; export type InstallPackageInput = { bindings?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; mode?: InputMaybe<InstallMode>; packageId: Scalars['ID']['input']; pinnedByEnv?: InputMaybe<Scalars['JSON']['input']>; version?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type InstallParserTypeInput = { parserTypeKey: Scalars['String']['input']; parserVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type InstallProviderPluginInput = { apiVersion?: InputMaybe<Scalars['String']['input']>; authType: AuthType; availableScopes?: InputMaybe<Scalars['JSON']['input']>; baseUrl?: InputMaybe<Scalars['String']['input']>; category: ProviderCategory; color?: InputMaybe<Scalars['String']['input']>; configSchema?: InputMaybe<Scalars['JSON']['input']>; defaultScopes?: InputMaybe<Array<Scalars['String']['input']>>; description?: InputMaybe<Scalars['String']['input']>; displayOrder?: InputMaybe<Scalars['Int']['input']>; docsUrl?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; key: Scalars['String']['input']; name: Scalars['String']['input']; oauthConfig?: InputMaybe<Scalars['JSON']['input']>; pluginAuthor?: InputMaybe<Scalars['String']['input']>; pluginRepository?: InputMaybe<Scalars['String']['input']>; pluginVersion?: InputMaybe<Scalars['String']['input']>; rateLimitConfig?: InputMaybe<Scalars['JSON']['input']>; supportedFeatures?: InputMaybe<Array<Scalars['String']['input']>>; website?: InputMaybe<Scalars['String']['input']>; }; /** Input for installing an app in workspace */ export type InstallWorkspaceAppInput = { /** App name (identifier) */ appName: Scalars['String']['input']; /** Display name for the app */ displayName: Scalars['String']['input']; /** Full app manifest JSON */ manifest: Scalars['JSON']['input']; /** App type (widget, integration, tool, etc.) */ type: Scalars['String']['input']; /** App version */ version: Scalars['String']['input']; }; /** Result of installing app in workspaces */ export type InstallWorkspaceAppsResult = { __typename?: 'InstallWorkspaceAppsResult'; /** Number of failed installations */ failedCount: Scalars['Int']['output']; /** Details of each installation attempt */ results: Array<WorkspaceAppInstallResult>; /** Number of successful installations */ successCount: Scalars['Int']['output']; }; export type InstalledPackage = { __typename?: 'InstalledPackage'; bindings?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; installedAt: Scalars['DateTime']['output']; installedBy: Scalars['ID']['output']; installedVersion: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; mode: InstallMode; package?: Maybe<StorePackage>; packageId: Scalars['ID']['output']; pinnedByEnv?: Maybe<Scalars['JSON']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type InstalledPackageFilterInput = { mode?: InputMaybe<InstallMode>; packageId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * A parser type installed in the request workspace: its active version is * enabled and AVAILABLE or DEPRECATED. */ export type InstalledParserType = { __typename?: 'InstalledParserType'; author?: Maybe<Scalars['String']['output']>; category?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; /** Transform engine (jq or jsonata). */ engine: ParserType; /** The transform expression parsers created from this type start with. */ expression: Scalars['String']['output']; icon?: Maybe<Scalars['String']['output']>; /** When the active version was (re-)enabled in this workspace. */ installedAt: Scalars['DateTime']['output']; keywords: Array<Scalars['String']['output']>; name: Scalars['String']['output']; parserTypeKey: Scalars['String']['output']; parserVersion: Scalars['String']['output']; /** STORE | CUSTOM */ publishType: Scalars['String']['output']; /** AVAILABLE | DEPRECATED */ status: Scalars['String']['output']; }; export declare enum InstructionFilename { AgentsMd = "AGENTS_MD", ClaudeMd = "CLAUDE_MD", Custom = "CUSTOM", GeminiMd = "GEMINI_MD" } export declare enum InstructionScope { Agent = "AGENT", Vibe = "VIBE" } export type IntAddCaseEntryInput = { body: Scalars['String']['input']; caseId: Scalars['ID']['input']; fileId?: InputMaybe<Scalars['ID']['input']>; kind: Scalars['String']['input']; }; export type IntAlert = { __typename?: 'IntAlert'; assignedToId?: Maybe<Scalars['ID']['output']>; /** * True when this alert was auto-raised by the detection engine (an active * indicator or enabled rule matched a recorded observation) rather than * manually raised by an analyst via intRaiseAlert. */ autoRaised: Scalars['Boolean']['output']; caseId?: Maybe<Scalars['ID']['output']>; classification: IntClassification; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; detectedAt: Scalars['DateTime']['output']; entity?: Maybe<IntEntity>; entityId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; indicator?: Maybe<IntIndicator>; indicatorId?: Maybe<Scalars['ID']['output']>; missionId?: Maybe<Scalars['ID']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; rule?: Maybe<IntDetectionRule>; /** Detection rule that auto-raised this alert, when applicable. */ ruleId?: Maybe<Scalars['ID']['output']>; severity: IntAlertSeverity; status: IntAlertStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; triageNotes?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntAlertConnection = { __typename?: 'IntAlertConnection'; items: Array<IntAlert>; pageInfo: IntPageInfo; }; export declare enum IntAlertSeverity { Critical = "CRITICAL", High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } export declare enum IntAlertStatus { Escalated = "ESCALATED", FalsePositive = "FALSE_POSITIVE", Open = "OPEN", Resolved = "RESOLVED", Suppressed = "SUPPRESSED", Triaged = "TRIAGED" } export type IntAvailableTag = { __typename?: 'IntAvailableTag'; color?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type IntCase = { __typename?: 'IntCase'; alerts: IntAlertConnection; classification: IntClassification; closedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; entries: IntCaseEntryConnection; id: Scalars['ID']['output']; leadAnalystId?: Maybe<Scalars['ID']['output']>; mission?: Maybe<IntMission>; missionId?: Maybe<Scalars['ID']['output']>; openedAt: Scalars['DateTime']['output']; priority: IntPriority; reference?: Maybe<Scalars['String']['output']>; status: IntCaseStatus; summary?: Maybe<Scalars['String']['output']>; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntCaseAlertsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntCaseEntriesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntCaseConnection = { __typename?: 'IntCaseConnection'; items: Array<IntCase>; pageInfo: IntPageInfo; }; export type IntCaseEntry = { __typename?: 'IntCaseEntry'; /** * Analyst who authored this entry (auth-svc user id), stamped from the caller * at creation time. */ authorId?: Maybe<Scalars['ID']['output']>; body: Scalars['String']['output']; caseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (evidence attachment); blobs live there. */ file?: Maybe<File>; id: Scalars['ID']['output']; kind: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntCaseEntryConnection = { __typename?: 'IntCaseEntryConnection'; items: Array<IntCaseEntry>; pageInfo: IntPageInfo; }; export declare enum IntCaseStatus { Active = "ACTIVE", Archived = "ARCHIVED", Closed = "CLOSED", Open = "OPEN", PendingReview = "PENDING_REVIEW" } export declare enum IntClassification { Confidential = "CONFIDENTIAL", Secret = "SECRET", TopSecret = "TOP_SECRET", Unclassified = "UNCLASSIFIED" } export type IntCollectionRequirement = { __typename?: 'IntCollectionRequirement'; classification: IntClassification; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; missionId?: Maybe<Scalars['ID']['output']>; priority: IntPriority; requestedById?: Maybe<Scalars['ID']['output']>; satisfiedAt?: Maybe<Scalars['DateTime']['output']>; status: IntRequirementStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; tasks: IntCollectionTaskConnection; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntCollectionRequirementTasksArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntCollectionRequirementConnection = { __typename?: 'IntCollectionRequirementConnection'; items: Array<IntCollectionRequirement>; pageInfo: IntPageInfo; }; export type IntCollectionTask = { __typename?: 'IntCollectionTask'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; dispatchedAt?: Maybe<Scalars['DateTime']['output']>; endAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; instructions?: Maybe<Scalars['String']['output']>; requirement?: Maybe<IntCollectionRequirement>; requirementId?: Maybe<Scalars['ID']['output']>; resultSummary?: Maybe<Scalars['String']['output']>; source?: Maybe<IntSource>; sourceId: Scalars['ID']['output']; startAt?: Maybe<Scalars['DateTime']['output']>; status: IntTaskStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntCollectionTaskConnection = { __typename?: 'IntCollectionTaskConnection'; items: Array<IntCollectionTask>; pageInfo: IntPageInfo; }; export declare enum IntConfidence { Confirmed = "CONFIRMED", High = "HIGH", Low = "LOW", Moderate = "MODERATE" } export type IntContentSearchConnection = { __typename?: 'IntContentSearchConnection'; items: Array<IntContentSearchHit>; pageInfo: IntPageInfo; }; /** * One ranked content-search hit. `title` is null for observations (they have * no title — read `snippet`); case entries inherit the parent case title and * classification. */ export type IntContentSearchHit = { __typename?: 'IntContentSearchHit'; caseId?: Maybe<Scalars['ID']['output']>; classification: IntClassification; entityId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; missionId?: Maybe<Scalars['ID']['output']>; observedAt?: Maybe<Scalars['DateTime']['output']>; /** Full-text rank, higher is more relevant. */ rank: Scalars['Float']['output']; /** ts_headline excerpt with search terms highlighted. */ snippet: Scalars['String']['output']; target: IntContentSearchTarget; title?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; }; /** Corpus section searched by `intSemanticSearch`. */ export declare enum IntContentSearchTarget { CaseEntry = "CASE_ENTRY", Observation = "OBSERVATION", Report = "REPORT" } export type IntCreateCaseInput = { classification?: InputMaybe<IntClassification>; leadAnalystId?: InputMaybe<Scalars['ID']['input']>; missionId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<IntPriority>; reference?: InputMaybe<Scalars['String']['input']>; summary?: InputMaybe<Scalars['String']['input']>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type IntCreateDetectionRuleInput = { classification?: InputMaybe<IntClassification>; description?: InputMaybe<Scalars['String']['input']>; matchExpression: Scalars['String']['input']; mitreTechniqueIds?: InputMaybe<Array<Scalars['String']['input']>>; name: Scalars['String']['input']; notifyUserId?: InputMaybe<Scalars['ID']['input']>; severity?: InputMaybe<IntAlertSeverity>; }; export type IntCreateEntityInput = { aliases?: InputMaybe<Array<Scalars['String']['input']>>; attributes?: InputMaybe<Scalars['JSON']['input']>; classification?: InputMaybe<IntClassification>; confidence?: InputMaybe<IntConfidence>; description?: InputMaybe<Scalars['String']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name: Scalars['String']['input']; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; threatScore?: InputMaybe<Scalars['Int']['input']>; type: IntEntityType; }; export type IntCreateEntityRelationshipInput = { classification?: InputMaybe<IntClassification>; confidence?: InputMaybe<IntConfidence>; description?: InputMaybe<Scalars['String']['input']>; directed?: InputMaybe<Scalars['Boolean']['input']>; observedAt?: InputMaybe<Scalars['DateTime']['input']>; sourceEntityId: Scalars['ID']['input']; targetEntityId: Scalars['ID']['input']; type: IntRelationshipType; }; export type IntCreateEntityTagInput = { color?: InputMaybe<Scalars['String']['input']>; label: Scalars['String']['input']; vocabularyId?: InputMaybe<Scalars['ID']['input']>; }; export type IntCreateFeedInput = { endpoint?: InputMaybe<Scalars['String']['input']>; format?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; sourceId: Scalars['ID']['input']; status?: InputMaybe<IntFeedStatus>; }; export type IntCreateIndicatorInput = { classification?: InputMaybe<IntClassification>; confidence?: InputMaybe<IntConfidence>; description?: InputMaybe<Scalars['String']['input']>; entityId?: InputMaybe<Scalars['ID']['input']>; mitreTechniqueIds?: InputMaybe<Array<Scalars['String']['input']>>; type: IntIndicatorType; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validUntil?: InputMaybe<Scalars['DateTime']['input']>; value: Scalars['String']['input']; }; export type IntCreateMissionInput = { classification?: InputMaybe<IntClassification>; codename?: InputMaybe<Scalars['String']['input']>; commanderId?: InputMaybe<Scalars['ID']['input']>; endAt?: InputMaybe<Scalars['DateTime']['input']>; name: Scalars['String']['input']; objective?: InputMaybe<Scalars['String']['input']>; startAt?: InputMaybe<Scalars['DateTime']['input']>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type IntCreateReportInput = { authorId?: InputMaybe<Scalars['ID']['input']>; body?: InputMaybe<Scalars['String']['input']>; caseId?: InputMaybe<Scalars['ID']['input']>; classification?: InputMaybe<IntClassification>; fileId?: InputMaybe<Scalars['ID']['input']>; missionId?: InputMaybe<Scalars['ID']['input']>; summary?: InputMaybe<Scalars['String']['input']>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; type?: InputMaybe<IntReportType>; }; export type IntCreateRequirementInput = { classification?: InputMaybe<IntClassification>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; missionId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<IntPriority>; requestedById?: InputMaybe<Scalars['ID']['input']>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type IntCreateSourceInput = { classification?: InputMaybe<IntClassification>; codename?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; discipline: IntSourceDiscipline; name: Scalars['String']['input']; operatorId?: InputMaybe<Scalars['ID']['input']>; region?: InputMaybe<Scalars['String']['input']>; reliability?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<IntSourceStatus>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type IntCreateTaskInput = { endAt?: InputMaybe<Scalars['DateTime']['input']>; instructions?: InputMaybe<Scalars['String']['input']>; requirementId?: InputMaybe<Scalars['ID']['input']>; sourceId: Scalars['ID']['input']; startAt?: InputMaybe<Scalars['DateTime']['input']>; }; export type IntDetectionRule = { __typename?: 'IntDetectionRule'; classification: IntClassification; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastMatchedAt?: Maybe<Scalars['DateTime']['output']>; /** Provenance: how many times this rule has auto-raised an alert. */ matchCount: Scalars['Int']['output']; matchExpression: Scalars['String']['output']; mitreTechniqueIds: Array<Scalars['String']['output']>; name: Scalars['String']['output']; notifyUserId?: Maybe<Scalars['ID']['output']>; severity: IntAlertSeverity; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntDetectionRuleConnection = { __typename?: 'IntDetectionRuleConnection'; items: Array<IntDetectionRule>; pageInfo: IntPageInfo; }; export type IntEntity = { __typename?: 'IntEntity'; alerts: IntAlertConnection; aliases: Array<Scalars['String']['output']>; attributes?: Maybe<Scalars['JSON']['output']>; classification: IntClassification; confidence: IntConfidence; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; indicators: IntIndicatorConnection; lastSeenAt?: Maybe<Scalars['DateTime']['output']>; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; threatScore: Scalars['Int']['output']; type: IntEntityType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntEntityAlertsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntEntityIndicatorsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntEntityConnection = { __typename?: 'IntEntityConnection'; items: Array<IntEntity>; pageInfo: IntPageInfo; }; /** * An entity reachable from a starting entity by multi-hop link analysis, with * the full relationship path that connects them. */ export type IntEntityLink = { __typename?: 'IntEntityLink'; entity: IntEntity; /** Number of hops in `path` (1 = direct relationship). */ hops: Scalars['Int']['output']; /** * Ordered relationship steps from the starting entity to `entity`. BFS * shortest path. */ path: Array<IntEntityPathStep>; }; /** * A ranked candidate for entity resolution: an entity judged similar to a * known one, with a deterministic score and the signals that produced it. */ export type IntEntityMatch = { __typename?: 'IntEntityMatch'; entity: IntEntity; /** Similarity score, higher is more similar (see signals for composition). */ score: Scalars['Float']['output']; /** * Human-readable reasons this candidate matched (NAME_OR_ALIAS_MATCH, * NAME_TOKENS_OVERLAP, SAME_TYPE, SHARED_NEIGHBORS, GEO_PROXIMITY, * ATTRIBUTE_OVERLAP). */ signals: Array<Scalars['String']['output']>; }; /** * One hop of a link-analysis neighbor traversal: the entity reached, the edge * that reached it, and which end of the edge the starting entity was on. */ export type IntEntityNeighbor = { __typename?: 'IntEntityNeighbor'; /** How many hops from the starting entity (1 = direct neighbor). */ depth: Scalars['Int']['output']; entity: IntEntity; relationship: IntEntityRelationship; }; /** * One step of a link-analysis path: a single relationship edge walked from one * entity to another. */ export type IntEntityPathStep = { __typename?: 'IntEntityPathStep'; fromEntityId: Scalars['ID']['output']; relationshipId: Scalars['ID']['output']; relationshipType: IntRelationshipType; toEntityId: Scalars['ID']['output']; }; export type IntEntityRelationship = { __typename?: 'IntEntityRelationship'; classification: IntClassification; confidence: IntConfidence; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; directed: Scalars['Boolean']['output']; id: Scalars['ID']['output']; observedAt?: Maybe<Scalars['DateTime']['output']>; sourceEntity?: Maybe<IntEntity>; sourceEntityId: Scalars['ID']['output']; targetEntity?: Maybe<IntEntity>; targetEntityId: Scalars['ID']['output']; type: IntRelationshipType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntEntityRelationshipConnection = { __typename?: 'IntEntityRelationshipConnection'; items: Array<IntEntityRelationship>; pageInfo: IntPageInfo; }; export type IntEntityTagAssignment = { __typename?: 'IntEntityTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; tagInfo?: Maybe<IntEntityTagInfo>; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; export type IntEntityTagInfo = { __typename?: 'IntEntityTagInfo'; color?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key?: Maybe<Scalars['String']['output']>; label?: Maybe<Scalars['String']['output']>; }; export declare enum IntEntityType { Aircraft = "AIRCRAFT", Event = "EVENT", Facility = "FACILITY", Location = "LOCATION", NetworkNode = "NETWORK_NODE", Organization = "ORGANIZATION", Person = "PERSON", Vehicle = "VEHICLE", Vessel = "VESSEL" } export type IntFeed = { __typename?: 'IntFeed'; createdAt: Scalars['DateTime']['output']; endpoint?: Maybe<Scalars['String']['output']>; format?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; ingestCount: Scalars['Int']['output']; /** * Hourly ingest counts for the last 24 hours, oldest first. Always 24 * buckets, zero-filled for hours with no ingest ticks. */ ingestHistory: Array<IntFeedIngestBucket>; lastIngestAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; pausedAt?: Maybe<Scalars['DateTime']['output']>; source?: Maybe<IntSource>; sourceId: Scalars['ID']['output']; status: IntFeedStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntFeedConnection = { __typename?: 'IntFeedConnection'; items: Array<IntFeed>; pageInfo: IntPageInfo; }; /** One hourly bucket of a feed's ingest activity, for the health-dashboard sparkline. */ export type IntFeedIngestBucket = { __typename?: 'IntFeedIngestBucket'; bucketStart: Scalars['DateTime']['output']; count: Scalars['Int']['output']; }; export declare enum IntFeedStatus { Connected = "CONNECTED", Disconnected = "DISCONNECTED", Error = "ERROR", Stale = "STALE" } export type IntGetEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; export type IntIndicator = { __typename?: 'IntIndicator'; classification: IntClassification; confidence: IntConfidence; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; entity?: Maybe<IntEntity>; entityId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** MITRE ATT&CK technique IDs this IOC maps to (e.g. "T1071.001"), if any. */ mitreTechniqueIds: Array<Scalars['String']['output']>; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; type: IntIndicatorType; updatedAt: Scalars['DateTime']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; value: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type IntIndicatorConnection = { __typename?: 'IntIndicatorConnection'; items: Array<IntIndicator>; pageInfo: IntPageInfo; }; export declare enum IntIndicatorType { Behavior = "BEHAVIOR", Domain = "DOMAIN", Email = "EMAIL", FileHash = "FILE_HASH", GeoCoordinate = "GEO_COORDINATE", IpAddress = "IP_ADDRESS", Signature = "SIGNATURE", Url = "URL" } export type IntMission = { __typename?: 'IntMission'; cases: IntCaseConnection; classification: IntClassification; codename?: Maybe<Scalars['String']['output']>; commanderId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; endAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; objective?: Maybe<Scalars['String']['output']>; reports: IntReportConnection; startAt?: Maybe<Scalars['DateTime']['output']>; status: IntMissionStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntMissionCasesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntMissionReportsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntMissionConnection = { __typename?: 'IntMissionConnection'; items: Array<IntMission>; pageInfo: IntPageInfo; }; export declare enum IntMissionStatus { Aborted = "ABORTED", Active = "ACTIVE", Completed = "COMPLETED", Paused = "PAUSED", Planning = "PLANNING", Ready = "READY" } export type IntObservation = { __typename?: 'IntObservation'; classification: IntClassification; createdAt: Scalars['DateTime']['output']; entityId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; observedAt: Scalars['DateTime']['output']; payload?: Maybe<Scalars['JSON']['output']>; source?: Maybe<IntSource>; sourceId: Scalars['ID']['output']; summary: Scalars['String']['output']; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; taskId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntObservationConnection = { __typename?: 'IntObservationConnection'; items: Array<IntObservation>; pageInfo: IntPageInfo; }; export type IntPageInfo = { __typename?: 'IntPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export declare enum IntPriority { Flash = "FLASH", Immediate = "IMMEDIATE", Priority = "PRIORITY", Routine = "ROUTINE" } export type IntRaiseAlertInput = { assignedToId?: InputMaybe<Scalars['ID']['input']>; classification?: InputMaybe<IntClassification>; description?: InputMaybe<Scalars['String']['input']>; entityId?: InputMaybe<Scalars['ID']['input']>; indicatorId?: InputMaybe<Scalars['ID']['input']>; missionId?: InputMaybe<Scalars['ID']['input']>; severity?: InputMaybe<IntAlertSeverity>; title: Scalars['String']['input']; }; export type IntRecordObservationInput = { classification?: InputMaybe<IntClassification>; entityId?: InputMaybe<Scalars['ID']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; observedAt: Scalars['DateTime']['input']; payload?: InputMaybe<Scalars['JSON']['input']>; sourceId: Scalars['ID']['input']; summary: Scalars['String']['input']; taskId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum IntRelationshipType { AliasOf = "ALIAS_OF", AssociateOf = "ASSOCIATE_OF", CommunicatedWith = "COMMUNICATED_WITH", FinancedBy = "FINANCED_BY", LocatedAt = "LOCATED_AT", MemberOf = "MEMBER_OF", Owns = "OWNS", RelatedTo = "RELATED_TO", TraveledWith = "TRAVELED_WITH" } export type IntReplaceEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type IntReport = { __typename?: 'IntReport'; authorId?: Maybe<Scalars['ID']['output']>; body?: Maybe<Scalars['String']['output']>; caseId?: Maybe<Scalars['ID']['output']>; classification: IntClassification; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (the rendered product); blobs live there. */ file?: Maybe<File>; id: Scalars['ID']['output']; mission?: Maybe<IntMission>; missionId?: Maybe<Scalars['ID']['output']>; releasedAt?: Maybe<Scalars['DateTime']['output']>; status: IntReportStatus; summary?: Maybe<Scalars['String']['output']>; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; type: IntReportType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntReportConnection = { __typename?: 'IntReportConnection'; items: Array<IntReport>; pageInfo: IntPageInfo; }; export declare enum IntReportStatus { Archived = "ARCHIVED", Draft = "DRAFT", InReview = "IN_REVIEW", Recalled = "RECALLED", Released = "RELEASED" } export declare enum IntReportType { Assessment = "ASSESSMENT", Intsum = "INTSUM", Sitrep = "SITREP", SpotReport = "SPOT_REPORT", Warning = "WARNING" } export declare enum IntRequirementStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Draft = "DRAFT", Satisfied = "SATISFIED", Submitted = "SUBMITTED", Tasked = "TASKED" } /** Ids of the demo records created by intSeedWorkspaceDemoData. */ export type IntSeedWorkspaceDemoDataResult = { __typename?: 'IntSeedWorkspaceDemoDataResult'; alertId: Scalars['ID']['output']; entityId: Scalars['ID']['output']; indicatorId: Scalars['ID']['output']; observationId: Scalars['ID']['output']; requirementId: Scalars['ID']['output']; sourceId: Scalars['ID']['output']; taskId: Scalars['ID']['output']; }; export type IntSource = { __typename?: 'IntSource'; classification: IntClassification; codename?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; discipline: IntSourceDiscipline; feeds: IntFeedConnection; id: Scalars['ID']['output']; lastSeenAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; operatorId?: Maybe<Scalars['ID']['output']>; region?: Maybe<Scalars['String']['output']>; reliability: Scalars['Int']['output']; status: IntSourceStatus; tagAssignments: Array<IntEntityTagAssignment>; tags: Array<Scalars['String']['output']>; tasks: IntCollectionTaskConnection; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IntSourceFeedsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntSourceTasksArgs = { pagination?: InputMaybe<PaginationInput>; }; export type IntSourceConnection = { __typename?: 'IntSourceConnection'; items: Array<IntSource>; pageInfo: IntPageInfo; }; export declare enum IntSourceDiscipline { Cyber = "CYBER", Geoint = "GEOINT", Humint = "HUMINT", Imint = "IMINT", Masint = "MASINT", Osint = "OSINT", Sigint = "SIGINT" } export declare enum IntSourceStatus { Active = "ACTIVE", Degraded = "DEGRADED", Offline = "OFFLINE", Provisioning = "PROVISIONING", Retired = "RETIRED" } export type IntTagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export declare enum IntTaskStatus { Cancelled = "CANCELLED", Collecting = "COLLECTING", Completed = "COMPLETED", Dispatched = "DISPATCHED", Failed = "FAILED", Pending = "PENDING" } export type IntUntagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type IntUpdateDetectionRuleInput = { classification?: InputMaybe<IntClassification>; description?: InputMaybe<Scalars['String']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; matchExpression?: InputMaybe<Scalars['String']['input']>; mitreTechniqueIds?: InputMaybe<Array<Scalars['String']['input']>>; name?: InputMaybe<Scalars['String']['input']>; notifyUserId?: InputMaybe<Scalars['ID']['input']>; severity?: InputMaybe<IntAlertSeverity>; }; export type IntUpdateEntityInput = { aliases?: InputMaybe<Array<Scalars['String']['input']>>; attributes?: InputMaybe<Scalars['JSON']['input']>; classification?: InputMaybe<IntClassification>; confidence?: InputMaybe<IntConfidence>; description?: InputMaybe<Scalars['String']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; threatScore?: InputMaybe<Scalars['Int']['input']>; }; export type IntUpdateFeedInput = { endpoint?: InputMaybe<Scalars['String']['input']>; format?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<IntFeedStatus>; }; export type IntUpdateSourceInput = { classification?: InputMaybe<IntClassification>; codename?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; discipline?: InputMaybe<IntSourceDiscipline>; name?: InputMaybe<Scalars['String']['input']>; operatorId?: InputMaybe<Scalars['ID']['input']>; region?: InputMaybe<Scalars['String']['input']>; reliability?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<IntSourceStatus>; /** * Legacy compatibility field. Values are no longer applied; use the IntelWatchtower entity-tag mutations after creation. * @deprecated Use the IntelWatchtower entity-tag mutations after creation */ tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type IntegrationConnection = { __typename?: 'IntegrationConnection'; /** * Whether self-hosted FluidGrids workers may receive this connection's long-lived credential * (an API key or a platform token). OAuth access tokens that expire within a day are released * to an allow-listed worker without it. Only workspace administrators change it, through * setConnectionSelfHostedRelease. */ allowSelfHosted: Scalars['Boolean']['output']; /** * The resolved auth method for this connection — the explicit `authMethodKey` * when set, otherwise the provider's default. */ authMethod?: Maybe<IntegrationProviderAuthMethod>; /** * Which of the provider's auth methods this connection uses. Null means the * provider's default method (every connection created before multi-auth). */ authMethodKey?: Maybe<Scalars['String']['output']>; /** * Whether the caller could run this connection in a workflow they own. False for a private * connection an administrator only sees by administering it. Null for services and apps. */ canUse?: Maybe<Scalars['Boolean']['output']>; /** * Opaque cross-service reference to the bot channel in global-channel-svc * that this personal connection is linked to. Null until the user links * after completing OAuth. */ channelId?: Maybe<Scalars['String']['output']>; config?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; credentialSecretId?: Maybe<Scalars['String']['output']>; credentialSecretName?: Maybe<Scalars['String']['output']>; credentialSource: ConnectionCredentialSource; description?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; externalAccountEmail?: Maybe<Scalars['String']['output']>; externalAccountId?: Maybe<Scalars['String']['output']>; externalAccountName?: Maybe<Scalars['String']['output']>; grantedScopes: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; lastHealthCheck?: Maybe<Scalars['DateTime']['output']>; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; /** How the caller reaches this connection. Null for service callers. */ myAccess?: Maybe<ConnectionAccess>; name: Scalars['String']['output']; /** Opaque reference to the organization that owns the linked channel. */ organizationId?: Maybe<Scalars['String']['output']>; /** * The person the connection belongs to. Starts as createdBy; a workspace administrator can hand it * to someone else. */ ownerId: Scalars['String']['output']; provider: IntegrationProvider; providerId: Scalars['ID']['output']; /** The people, groups and projects the connection is shared with */ shares: Array<ConnectionShare>; status: ConnectionStatus; /** Structured tag assignments via wspace-tags-svc */ tagAssignments: Array<IntegrationConnectionTagAssignment>; updatedAt: Scalars['DateTime']['output']; vaultId?: Maybe<Scalars['String']['output']>; visibility: ConnectionVisibility; /** * Workspace ID that owns this connection. Set at connection-creation time * from context.workspace.id. Used by global-channel-svc to forward the * correct x-workspace-id header when routing DMs through wspace-int-gateway. */ workspaceId?: Maybe<Scalars['String']['output']>; }; export type IntegrationConnectionTagAssignment = { __typename?: 'IntegrationConnectionTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; export declare enum IntegrationEventStatus { Accepted = "ACCEPTED", Conflict = "CONFLICT", Duplicate = "DUPLICATE", Partial = "PARTIAL", Received = "RECEIVED", Rejected = "REJECTED" } export type IntegrationFilterInput = { provider?: InputMaybe<MtwIntegrationProvider>; status?: InputMaybe<IntegrationStatus>; }; export type IntegrationLog = { __typename?: 'IntegrationLog'; action: LogAction; actorId?: Maybe<Scalars['String']['output']>; connection?: Maybe<IntegrationConnection>; connectionId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; errorDetails?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; level: LogLevel; message: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; requestMethod?: Maybe<Scalars['String']['output']>; requestUrl?: Maybe<Scalars['String']['output']>; responseStatus?: Maybe<Scalars['Int']['output']>; tenantId?: Maybe<Scalars['String']['output']>; workspaceId?: Maybe<Scalars['String']['output']>; }; export type IntegrationProvider = { __typename?: 'IntegrationProvider'; apiVersion?: Maybe<Scalars['String']['output']>; /** * Every authentication method this provider offers, ordered for display. * Always contains at least one entry. */ authMethods: Array<IntegrationProviderAuthMethod>; /** * The default auth method's type. Retained so existing consumers keep working; * prefer `authMethods` when more than one method may be offered. */ authType: AuthType; availableScopes?: Maybe<Scalars['JSON']['output']>; baseUrl?: Maybe<Scalars['String']['output']>; category: ProviderCategory; color?: Maybe<Scalars['String']['output']>; configSchema?: Maybe<Scalars['JSON']['output']>; connectionCount: Scalars['Int']['output']; connections?: Maybe<ConnectionList>; createdAt: Scalars['DateTime']['output']; defaultScopes: Array<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; displayOrder: Scalars['Int']['output']; docsUrl?: Maybe<Scalars['String']['output']>; /** Configured app identity for gateway-transport minted credentials; never exposes a secret. */ gatewayAppId?: Maybe<Scalars['ID']['output']>; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isBuiltIn: Scalars['Boolean']['output']; isEnabled: Scalars['Boolean']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; oauthConfig?: Maybe<Scalars['JSON']['output']>; pluginAuthor?: Maybe<Scalars['String']['output']>; pluginRepository?: Maybe<Scalars['String']['output']>; pluginStatus: PluginStatus; pluginVersion?: Maybe<Scalars['String']['output']>; rateLimitConfig?: Maybe<Scalars['JSON']['output']>; supportedFeatures: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; website?: Maybe<Scalars['String']['output']>; }; export type IntegrationProviderConnectionsArgs = { pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * One way of authenticating against a provider. * * A provider may offer several (Gmail via user OAuth *or* via a Google service * account). The `configSchema` describes the fields to render; the client never * needs per-provider code. */ export type IntegrationProviderAuthMethod = { __typename?: 'IntegrationProviderAuthMethod'; authType: AuthType; availableScopes?: Maybe<Scalars['JSON']['output']>; /** * JSON Schema for the fields the user fills in. Null for methods that collect * nothing (plain OAuth2, minted tokens). */ configSchema?: Maybe<Scalars['JSON']['output']>; defaultScopes: Array<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; displayOrder: Scalars['Int']['output']; flow: AuthMethodFlow; id: Scalars['ID']['output']; /** * False when the method cannot currently be used — e.g. an OAuth2 method whose * platform client credentials have not been configured for this environment. * The picker shows it as unavailable rather than failing at connect time. */ isConfigured: Scalars['Boolean']['output']; isDefault: Scalars['Boolean']['output']; isEnabled: Scalars['Boolean']['output']; key: Scalars['String']['output']; /** Non-secret OAuth settings (clientSecret is never exposed). */ oauthConfig?: Maybe<Scalars['JSON']['output']>; providerId: Scalars['ID']['output']; }; export declare enum IntegrationStatus { Active = "ACTIVE", Disabled = "DISABLED", Paused = "PAUSED" } export type IntegrationsPaginationInput = { cursor?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export type IntegrityVerificationResult = { __typename?: 'IntegrityVerificationResult'; errors: Array<Scalars['String']['output']>; totalVerified: Scalars['Int']['output']; valid: Scalars['Boolean']['output']; }; /** Result of cache invalidation operation (v2.0) */ export type InvalidateDataSinkCacheResult = { __typename?: 'InvalidateDataSinkCacheResult'; /** Number of caches invalidated */ count: Scalars['Int']['output']; /** IDs of invalidated DataSinks */ invalidatedIds: Array<Scalars['ID']['output']>; /** Optional message */ message?: Maybe<Scalars['String']['output']>; /** Success status */ success: Scalars['Boolean']['output']; }; export type InventoryCoverPlanInput = { /** Scenario demand change applied to every forecast, -100 to 500 percent. Default 0. */ demandChangePct?: InputMaybe<Scalars['Float']['input']>; /** Weeks between ordering and receiving stock, 0-26. Default 2. */ leadTimeWeeks?: InputMaybe<Scalars['Float']['input']>; /** Maximum rows returned, 1-1000. Default 200. */ limit?: InputMaybe<Scalars['Int']['input']>; /** Only return rows in these statuses. The summary always counts every row. */ statuses?: InputMaybe<Array<MtwInventoryCoverStatus>>; /** Weeks of demand a replenishment should cover once it lands, 1-52. Default 6. */ targetCoverWeeks?: InputMaybe<Scalars['Float']['input']>; /** Only plan this warehouse. Omit for every warehouse. */ warehouseId?: InputMaybe<Scalars['ID']['input']>; }; export type InventoryFilterInput = { cargoItemId?: InputMaybe<Scalars['ID']['input']>; inventoryItemId?: InputMaybe<Scalars['ID']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; lowStock?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; warehouseId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum InventoryTransactionType { Adjustment = "ADJUSTMENT", Issue = "ISSUE", Receipt = "RECEIPT", Return = "RETURN", Transfer = "TRANSFER" } /** * Invitation entity for inviting users to workspaces or projects. * Supports email-based invitations with optional role assignments. */ export type Invitation = { __typename?: 'Invitation'; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when invitation was created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when invitation was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Email address of the invitee */ email: Scalars['String']['output']; /** Machine code explaining a FAILED or SKIPPED email outcome (e.g. RECIPIENT_UNSUBSCRIBED, RATE_LIMITED, HTTP_503) */ emailErrorCode?: Maybe<Scalars['String']['output']>; /** Timestamp of the most recent invitation email attempt */ emailLastAttemptAt?: Maybe<Scalars['DateTime']['output']>; /** Outcome of the most recent invitation email attempt (null before any attempt was recorded) */ emailStatus?: Maybe<InvitationEmailStatus>; /** Timestamp when the invitation expires */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier for the invitation */ id: Scalars['ID']['output']; /** User ID of the person who sent the invitation (opaque reference) */ invitedById?: Maybe<Scalars['ID']['output']>; /** User ID if the invitee is an existing user (opaque reference) */ invitedUserId?: Maybe<Scalars['ID']['output']>; /** Project ID for project invitations (opaque reference) */ projectId?: Maybe<Scalars['ID']['output']>; /** Workspace projects to add the invitee to upon acceptance */ projectIds: Array<Scalars['ID']['output']>; /** Array of role IDs to assign upon acceptance (opaque references) */ roleIds: Array<Scalars['ID']['output']>; /** Current status of the invitation */ status: InviteStatus; /** Universal entity-owned tags attached to this invitation */ tags: Scalars['JSON']['output']; /** Timestamp when invitation was last updated */ updatedAt: Scalars['DateTime']['output']; /** Workspace ID for workspace invitations (opaque reference) */ workspaceId?: Maybe<Scalars['ID']['output']>; }; /** Outcome of the most recent attempt to send the invitation email */ export declare enum InvitationEmailStatus { /** The email was not sent (delivery failed or was suppressed); see emailErrorCode */ Failed = "FAILED", /** The notification service accepted and triggered the email */ Sent = "SENT", /** Sending invitation emails is not configured for this environment */ Skipped = "SKIPPED" } /** Filter input for querying invitations */ export type InvitationFilterInput = { /** Filter by operation context */ context?: InputMaybe<WorkspaceContextFilterInput>; /** Filter by invitee email */ email?: InputMaybe<Scalars['String']['input']>; /** Filter by inviter user ID */ invitedById?: InputMaybe<Scalars['ID']['input']>; /** Filter by invitee user ID */ invitedUserId?: InputMaybe<Scalars['ID']['input']>; /** Filter by project ID */ projectId?: InputMaybe<Scalars['ID']['input']>; /** Filter by invitation status */ status?: InputMaybe<InviteStatus>; /** Filter by workspace ID */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Paginated list of invitations */ export type InvitationList = { __typename?: 'InvitationList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of invitation items */ items: Array<Invitation>; /** Total count of invitations matching the filter */ total: Scalars['Int']['output']; }; export declare enum InvitationStatus { Accepted = "ACCEPTED", Cancelled = "CANCELLED", Declined = "DECLINED", Expired = "EXPIRED", Pending = "PENDING", Rejected = "REJECTED" } export type InvitationStatusEvent = { __typename?: 'InvitationStatusEvent'; /** The invitation ID */ invitationId: Scalars['ID']['output']; /** The new status of the invitation */ status: InvitationStatus; /** When the status was updated */ updatedAt: Scalars['DateTime']['output']; /** The workspace the invitation belongs to */ workspaceId: Scalars['String']['output']; }; export type InviteError = { __typename?: 'InviteError'; entityId: Scalars['ID']['output']; error: Scalars['String']['output']; }; export type InviteHealthyBowlContractFarmInput = { allocationQty?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; contractId: Scalars['ID']['input']; farmName?: InputMaybe<Scalars['String']['input']>; farmWorkspaceId: Scalars['ID']['input']; }; export type InviteHealthyBowlCoopMemberInput = { context: ContextInput; icsGroupId: Scalars['ID']['input']; /** Optional: link the invite to an existing grower row in this group. */ icsGrowerId?: InputMaybe<Scalars['ID']['input']>; memberName?: InputMaybe<Scalars['String']['input']>; /** The member farm's own workspace id. */ memberWorkspaceId: Scalars['ID']['input']; scope?: InputMaybe<Scalars['String']['input']>; }; export type InviteInput = { entityId: Scalars['ID']['input']; message?: InputMaybe<Scalars['String']['input']>; role?: InputMaybe<MembershipRole>; }; export type InviteLink = { __typename?: 'InviteLink'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; currentUses: Scalars['Int']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; maxUses?: Maybe<Scalars['Int']['output']>; url: Scalars['String']['output']; }; export type InviteLinkInfo = { __typename?: 'InviteLinkInfo'; conversation?: Maybe<Conversation>; expiresAt?: Maybe<Scalars['DateTime']['output']>; usesRemaining?: Maybe<Scalars['Int']['output']>; valid: Scalars['Boolean']['output']; }; export type InviteResult = { __typename?: 'InviteResult'; failed: Array<InviteError>; failedCount: Scalars['Int']['output']; invited: Array<GroupMembership>; successCount: Scalars['Int']['output']; }; export declare enum InviteStatus { /** Invitation has been accepted by the invitee */ Accepted = "ACCEPTED", /** Invitation has been cancelled by the inviter */ Cancelled = "CANCELLED", /** Invitation has expired and is no longer valid */ Expired = "EXPIRED", /** Invitation has been sent but not yet accepted */ Pending = "PENDING", /** Invitation has been rejected by the invitee */ Rejected = "REJECTED" } export type Invoice = { __typename?: 'Invoice'; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dueDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issueDate: Scalars['DateTime']['output']; items: Array<Scalars['JSONObject']['output']>; number: Scalars['String']['output']; paidAt?: Maybe<Scalars['DateTime']['output']>; relatedPO?: Maybe<Scalars['String']['output']>; status: InvoiceStatus; updatedAt: Scalars['DateTime']['output']; vendor: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum InvoiceStatus { Cancelled = "CANCELLED", Draft = "DRAFT", Overdue = "OVERDUE", Paid = "PAID", Sent = "SENT" } export type IoTDevice = { __typename?: 'IoTDevice'; assetId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; deviceId: Scalars['String']['output']; id: Scalars['ID']['output']; metadata: Scalars['JSONObject']['output']; name: Scalars['String']['output']; protocol: Scalars['String']['output']; status: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IotAlert = { __typename?: 'IotAlert'; acknowledgedAt?: Maybe<Scalars['DateTime']['output']>; acknowledgedBy?: Maybe<Scalars['String']['output']>; device?: Maybe<IotDevice>; deviceId: Scalars['ID']['output']; externalRef?: Maybe<Scalars['String']['output']>; firedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** threshold | geofence | offline */ kind: Scalars['String']['output']; message?: Maybe<Scalars['String']['output']>; metricKey: Scalars['String']['output']; readingId?: Maybe<Scalars['ID']['output']>; ruleId?: Maybe<Scalars['ID']['output']>; severity: Scalars['String']['output']; subjectId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; value?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type IotAlertConnection = { __typename?: 'IotAlertConnection'; items: Array<IotAlert>; pageInfo: IotPageInfo; }; export type IotDevice = { __typename?: 'IotDevice'; batteryPercent?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; deviceCode: Scalars['String']['output']; deviceType?: Maybe<IotDeviceType>; deviceTypeId?: Maybe<Scalars['ID']['output']>; hardwareId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; installedAt?: Maybe<Scalars['DateTime']['output']>; lastReadingAt?: Maybe<Scalars['DateTime']['output']>; manufacturer?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; model?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; protocol: Scalars['String']['output']; reportingIntervalSeconds?: Maybe<Scalars['Int']['output']>; status: Scalars['String']['output']; subjectId?: Maybe<Scalars['String']['output']>; /** * Loose binding to the owning product entity: vehicle | asset | field | site | * workCenter | shipment. Deliberately not a federated reference — the owning * product resolves its own side. */ subjectType?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; vendorGateway?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type IotDeviceConnection = { __typename?: 'IotDeviceConnection'; items: Array<IotDevice>; pageInfo: IotPageInfo; }; export type IotDeviceInput = { deviceCode: Scalars['String']['input']; deviceTypeId?: InputMaybe<Scalars['ID']['input']>; hardwareId?: InputMaybe<Scalars['String']['input']>; installedAt?: InputMaybe<Scalars['DateTime']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; model?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; protocol?: InputMaybe<Scalars['String']['input']>; reportingIntervalSeconds?: InputMaybe<Scalars['Int']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; vendorGateway?: InputMaybe<Scalars['String']['input']>; }; export type IotDeviceType = { __typename?: 'IotDeviceType'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; metricDefs: Array<IotMetricDef>; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IotDeviceTypeInput = { description?: InputMaybe<Scalars['String']['input']>; key: Scalars['String']['input']; metricDefs?: InputMaybe<Array<IotMetricDefInput>>; name: Scalars['String']['input']; }; export type IotDeviceUpdateInput = { deviceTypeId?: InputMaybe<Scalars['ID']['input']>; hardwareId?: InputMaybe<Scalars['String']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; model?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; protocol?: InputMaybe<Scalars['String']['input']>; reportingIntervalSeconds?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; vendorGateway?: InputMaybe<Scalars['String']['input']>; }; export type IotGeofence = { __typename?: 'IotGeofence'; createdAt: Scalars['DateTime']['output']; deviceId?: Maybe<Scalars['ID']['output']>; /** ENTER | EXIT | DWELL */ direction: Scalars['String']['output']; dwellSeconds?: Maybe<Scalars['Int']['output']>; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** GeoJSON-style ring: { "coordinates": [[lng, lat], ...] } */ polygon: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IotGeofenceInput = { deviceId?: InputMaybe<Scalars['ID']['input']>; direction?: InputMaybe<Scalars['String']['input']>; dwellSeconds?: InputMaybe<Scalars['Int']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; polygon: Scalars['JSON']['input']; }; export type IotIngestEvent = { __typename?: 'IotIngestEvent'; channel: Scalars['String']['output']; deviceId?: Maybe<Scalars['ID']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; externalEventId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; processedAt?: Maybe<Scalars['DateTime']['output']>; readingCount: Scalars['Int']['output']; receivedAt: Scalars['DateTime']['output']; /** RECEIVED | ACCEPTED | REJECTED | DUPLICATE */ status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type IotIngestEventConnection = { __typename?: 'IotIngestEventConnection'; items: Array<IotIngestEvent>; pageInfo: IotPageInfo; }; /** * A minted ingest credential. `secret` is populated EXACTLY ONCE, in the * response to iotMintIngestKey, and is never readable again. */ export type IotIngestKey = { __typename?: 'IotIngestKey'; createdAt: Scalars['DateTime']['output']; deviceId: Scalars['ID']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; keyId: Scalars['String']['output']; label?: Maybe<Scalars['String']['output']>; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; mqttUsername?: Maybe<Scalars['String']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type IotIngestReadingInput = { deviceCode?: InputMaybe<Scalars['String']['input']>; deviceId?: InputMaybe<Scalars['ID']['input']>; /** Idempotency key; a repeat is reported as DUPLICATE, never double-written. */ externalEventId?: InputMaybe<Scalars['String']['input']>; readings: Array<IotReadingInput>; }; /** Outcome of an ingest call, shared by the REST and GraphQL entry points. */ export type IotIngestResult = { __typename?: 'IotIngestResult'; accepted: Scalars['Int']['output']; alerts: Array<IotAlert>; duplicates: Scalars['Int']['output']; message?: Maybe<Scalars['String']['output']>; rejected: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type IotMetricDef = { __typename?: 'IotMetricDef'; baselineMax?: Maybe<Scalars['Float']['output']>; baselineMin?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; deviceTypeId: Scalars['ID']['output']; id: Scalars['ID']['output']; metricKey: Scalars['String']['output']; name?: Maybe<Scalars['String']['output']>; unit?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; /** NUMERIC | GEO | BOOL | STRING */ valueType: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type IotMetricDefInput = { baselineMax?: InputMaybe<Scalars['Float']['input']>; baselineMin?: InputMaybe<Scalars['Float']['input']>; metricKey: Scalars['String']['input']; name?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; valueType?: InputMaybe<Scalars['String']['input']>; }; export type IotMintIngestKeyInput = { deviceId: Scalars['ID']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; label?: InputMaybe<Scalars['String']['input']>; }; export type IotMintedIngestKey = { __typename?: 'IotMintedIngestKey'; /** Fully-qualified URL the device should POST signed payloads to. */ ingestUrl: Scalars['String']['output']; key: IotIngestKey; /** The shared secret. Shown once; store it on the device now. */ secret: Scalars['String']['output']; }; export type IotPageInfo = { __typename?: 'IotPageInfo'; endCursor?: Maybe<Scalars['String']['output']>; hasNextPage: Scalars['Boolean']['output']; totalCount?: Maybe<Scalars['Int']['output']>; }; export type IotReading = { __typename?: 'IotReading'; breached: Scalars['Boolean']['output']; deviceCode: Scalars['String']['output']; deviceId: Scalars['ID']['output']; /** { lat, lng, altitude, speed, heading, accuracy } for location readings. */ geo?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; ingestedAt: Scalars['DateTime']['output']; metricKey: Scalars['String']['output']; quality: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; source: Scalars['String']['output']; subjectId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; topic?: Maybe<Scalars['String']['output']>; unit?: Maybe<Scalars['String']['output']>; value?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type IotReadingConnection = { __typename?: 'IotReadingConnection'; items: Array<IotReading>; pageInfo: IotPageInfo; }; export type IotReadingInput = { geo?: InputMaybe<Scalars['JSON']['input']>; metricKey: Scalars['String']['input']; quality?: InputMaybe<Scalars['String']['input']>; raw?: InputMaybe<Scalars['JSON']['input']>; recordedAt?: InputMaybe<Scalars['DateTime']['input']>; unit?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['Float']['input']>; }; export type IotThresholdRule = { __typename?: 'IotThresholdRule'; /** gt | gte | lt | lte | outside_band */ comparator: Scalars['String']['output']; cooldownSeconds: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; deviceId?: Maybe<Scalars['ID']['output']>; deviceTypeId?: Maybe<Scalars['ID']['output']>; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; metricKey: Scalars['String']['output']; name?: Maybe<Scalars['String']['output']>; severity: Scalars['String']['output']; threshold: Scalars['Float']['output']; thresholdMax?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type IotThresholdRuleInput = { comparator: Scalars['String']['input']; cooldownSeconds?: InputMaybe<Scalars['Int']['input']>; deviceId?: InputMaybe<Scalars['ID']['input']>; deviceTypeId?: InputMaybe<Scalars['ID']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; metricKey: Scalars['String']['input']; name?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<Scalars['String']['input']>; threshold: Scalars['Float']['input']; thresholdMax?: InputMaybe<Scalars['Float']['input']>; }; /** * A soil/weather-conditional automation rule for an irrigation schedule (Phase B — * "EXTEND FluidGrids"). HB owns the thresholds; wspace-workflow-svc (FluidGrids) is * provisioned per-rule to fire the cron and call back into HB. */ export type IrrigationAutomation = { __typename?: 'IrrigationAutomation'; /** * BOFF-6123 — raise a Farm Tasks card when a run actually waters this field. * * Off by default. A skipped run raises nothing: that is the automation deciding there is no work, * and a card for it would train farmers to ignore the board. */ autoTaskEnabled: Scalars['Boolean']['output']; fieldId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** Timestamp of the last evaluation as an ISO-8601 string. */ lastEvaluatedAt?: Maybe<Scalars['String']['output']>; /** Outcome of the last evaluation: ran / skipped / error. */ lastOutcome?: Maybe<Scalars['String']['output']>; /** The most recent FluidGrids WorkflowRun id that evaluated this rule. */ lastRunId?: Maybe<Scalars['String']['output']>; /** Send the farmer an in-app notification on each automated run/skip. */ notifyInApp: Scalars['Boolean']['output']; /** Precipitation-probability percentage at/above which rain is considered forecast. */ rainProbThreshold: Scalars['Int']['output']; scheduleId: Scalars['ID']['output']; /** Skip the run when rain is forecast (precip probability >= rainProbThreshold). */ skipIfRain: Scalars['Boolean']['output']; /** Run only when soil moisture is below this percentage (0-100). */ soilThresholdPct: Scalars['Int']['output']; /** Lifecycle status: active / paused. */ status: Scalars['String']['output']; /** The FluidGrids workflow key provisioned for this rule, once created. */ workflowKey?: Maybe<Scalars['String']['output']>; }; /** An irrigation schedule for a field (optionally a specific crop). */ export type IrrigationSchedule = { __typename?: 'IrrigationSchedule'; /** Loose link to a Crop (no FK). */ cropId?: Maybe<Scalars['ID']['output']>; durationMin: Scalars['Int']['output']; fieldId: Scalars['ID']['output']; frequencyDays: Scalars['Int']['output']; id: Scalars['ID']['output']; /** Irrigation method: DRIP / SPRINKLER / FLOOD. */ method: Scalars['String']['output']; /** Daily start time as a "HH:MM" 24-hour string. */ startTime: Scalars['String']['output']; /** Lifecycle status: active / paused. */ status: Scalars['String']['output']; }; export type IssueAgentRunTokenInput = { /** The agent tool call id. */ callId?: InputMaybe<Scalars['String']['input']>; /** The AI Agent node. */ nodeId: Scalars['String']['input']; runId: Scalars['ID']['input']; /** The tool sub-node the agent is about to call. */ toolNodeId: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Error details for token issuance */ export type IssueTokenError = { __typename?: 'IssueTokenError'; /** Error code for programmatic handling */ code: IssueTokenErrorCode; /** Human-readable error message */ message: Scalars['String']['output']; }; /** Error codes for token issuance */ export declare enum IssueTokenErrorCode { /** App lacks an active AppWorkspaceAuthorization for the workspace */ AppNotAuthorizedForWorkspace = "APP_NOT_AUTHORIZED_FOR_WORKSPACE", /** Auth token has expired */ AuthTokenExpired = "AUTH_TOKEN_EXPIRED", /** Internal server error */ InternalError = "INTERNAL_ERROR", /** Requested scopes are invalid for workspace tokens */ InvalidScopes = "INVALID_SCOPES", /** User is not a member of the organization */ NotOrgMember = "NOT_ORG_MEMBER", /** User is not a member of the project */ NotProjectMember = "NOT_PROJECT_MEMBER", /** User is not a member of the workspace */ NotWorkspaceMember = "NOT_WORKSPACE_MEMBER", /** No accessible workspace found in organization */ NoWorkspaceFound = "NO_WORKSPACE_FOUND", /** Organization not found */ OrganizationNotFound = "ORGANIZATION_NOT_FOUND", /** Project not found */ ProjectNotFound = "PROJECT_NOT_FOUND", /** Too many token requests */ RateLimited = "RATE_LIMITED", /** Workspace secret not configured */ SecretNotFound = "SECRET_NOT_FOUND", /** Invalid or missing authtoken in Authorization header */ Unauthorized = "UNAUTHORIZED", /** Workspace not found */ WorkspaceNotFound = "WORKSPACE_NOT_FOUND" } /** Input for issuing a workspace token */ export type IssueWorkspaceTokenInput = { /** * Organization ID. Required ONLY when issuing by organization alone (no * workspaceId, user actor) — there it selects which org's first accessible * workspace to use. When a workspaceId is provided (and always for app actors), * the organization is derived from the workspace itself, so this may be omitted. */ organizationId?: InputMaybe<Scalars['String']['input']>; /** Project ID (optional) - if not provided, auto-resolves to first accessible project in workspace */ projectId?: InputMaybe<Scalars['String']['input']>; /** Requested scopes (optional) - defaults to full access */ scopes?: InputMaybe<Array<Scalars['String']['input']>>; /** Workspace ID (optional) - if not provided, auto-resolves to first accessible workspace in org */ workspaceId?: InputMaybe<Scalars['String']['input']>; }; /** Result of issuing a workspace token */ export type IssueWorkspaceTokenResult = { __typename?: 'IssueWorkspaceTokenResult'; /** Error details if success is false */ error?: Maybe<IssueTokenError>; /** Token expiration timestamp */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Organization ID */ organizationId?: Maybe<Scalars['String']['output']>; /** Resolved project ID (may be null if no projects exist) */ projectId?: Maybe<Scalars['String']['output']>; /** Granted scopes */ scopes?: Maybe<Array<Scalars['String']['output']>>; /** Whether the token was issued successfully */ success: Scalars['Boolean']['output']; /** The issued workspace token (JWT) */ token?: Maybe<Scalars['String']['output']>; /** Resolved workspace ID */ workspaceId?: Maybe<Scalars['String']['output']>; }; export type ItemOrderInput = { itemId: Scalars['ID']['input']; order: Scalars['Int']['input']; }; export type JobExecution = { __typename?: 'JobExecution'; completedAt?: Maybe<Scalars['DateTime']['output']>; configSnapshot?: Maybe<Scalars['JSON']['output']>; context?: Maybe<Scalars['JSON']['output']>; correlationId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; duration?: Maybe<Scalars['Int']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; errorStack?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; nextRetryAt?: Maybe<Scalars['DateTime']['output']>; output?: Maybe<Scalars['JSON']['output']>; retryAttempt: Scalars['Int']['output']; scheduleVersion?: Maybe<ScheduleVersion>; scheduledJobId: Scalars['String']['output']; scheduledTime?: Maybe<Scalars['DateTime']['output']>; spanId?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; status: JobStatus; statusCode?: Maybe<Scalars['Int']['output']>; success: Scalars['Boolean']['output']; traceId?: Maybe<Scalars['String']['output']>; triggeredAt: Scalars['DateTime']['output']; versionId?: Maybe<Scalars['String']['output']>; willRetry: Scalars['Boolean']['output']; workerId?: Maybe<Scalars['String']['output']>; workerPod?: Maybe<Scalars['String']['output']>; }; export type JobExecutionConnection = { __typename?: 'JobExecutionConnection'; executions: Array<JobExecution>; nextCursor?: Maybe<Scalars['String']['output']>; total: Scalars['Int']['output']; }; export type JobFilterInput = { createdAfter?: InputMaybe<Scalars['DateTime']['input']>; createdBefore?: InputMaybe<Scalars['DateTime']['input']>; createdBy?: InputMaybe<Scalars['String']['input']>; executorType?: InputMaybe<ExecutorType>; nextExecutionAfter?: InputMaybe<Scalars['DateTime']['input']>; nextExecutionBefore?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<SchedulePriority>; scheduleType?: InputMaybe<ScheduleType>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<JobStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Filter to schedules linked to a specific Vibe. */ vibeId?: InputMaybe<Scalars['ID']['input']>; /** * Filter by visibility. When omitted, the resolver returns all rows the * caller is allowed to see (owner's PRIVATE + workspace SHARED_WITH_VIBE). */ visibility?: InputMaybe<VibeVisibility>; }; export type JobRetryPolicyInput = { backoffStrategy: BackoffStrategy; maxRetries: Scalars['Int']['input']; maxRetryDelay?: InputMaybe<Scalars['Int']['input']>; retryDelay: Scalars['Int']['input']; retryOn?: InputMaybe<Scalars['JSON']['input']>; timeoutPerAttempt?: InputMaybe<Scalars['Int']['input']>; }; export declare enum JobStatus { Archived = "ARCHIVED", Cancelled = "CANCELLED", Completed = "COMPLETED", Disabled = "DISABLED", Draft = "DRAFT", Failed = "FAILED", Paused = "PAUSED", Pending = "PENDING", Running = "RUNNING" } export type JobStatusUpdate = { __typename?: 'JobStatusUpdate'; lastExecutionAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; nextExecutionAt?: Maybe<Scalars['DateTime']['output']>; previousStatus?: Maybe<JobStatus>; scheduleId: Scalars['ID']['output']; scheduleName?: Maybe<Scalars['String']['output']>; status: JobStatus; timestamp: Scalars['DateTime']['output']; }; export type JoinCallPayload = { __typename?: 'JoinCallPayload'; callSession: CallSession; joinUrl: Scalars['String']['output']; success: Scalars['Boolean']['output']; token: Scalars['String']['output']; }; export type JoinGroupResult = { __typename?: 'JoinGroupResult'; group: Group; membership: GroupMembership; status: JoinGroupStatus; }; export declare enum JoinGroupStatus { Joined = "JOINED", PendingApproval = "PENDING_APPROVAL" } /** Input for joining a shared session */ export type JoinSessionInput = { /** Password if the link is password-protected */ password?: InputMaybe<Scalars['String']['input']>; /** * Session ID — join a session the caller already has generic ShareGrant access * to (no legacy share record needed). Authorized via ShareService.canAccess. */ sessionId?: InputMaybe<Scalars['ID']['input']>; /** Share ID (for direct share access) */ shareId?: InputMaybe<Scalars['ID']['input']>; /** Share link token (for link-based access) */ shareToken?: InputMaybe<Scalars['String']['input']>; }; export type KadaikodiAddAddressInput = { addressLine1: Scalars['String']['input']; addressLine2?: InputMaybe<Scalars['String']['input']>; city: Scalars['String']['input']; isDefault?: InputMaybe<Scalars['Boolean']['input']>; nickname?: InputMaybe<Scalars['String']['input']>; state: Scalars['String']['input']; type?: InputMaybe<KadaikodiAddressType>; zipCode: Scalars['String']['input']; }; export type KadaikodiAddPaymentMethodInput = { detail: Scalars['String']['input']; isDefault?: InputMaybe<Scalars['Boolean']['input']>; label: Scalars['String']['input']; type: KadaikodiPaymentMethodType; }; export declare enum KadaikodiAddressType { Home = "HOME", Office = "OFFICE", Other = "OTHER" } export type KadaikodiAdminAnalytics = { __typename?: 'KadaikodiAdminAnalytics'; categoryDistribution: Scalars['JSON']['output']; customerGrowth: Scalars['JSON']['output']; orderTrends: Scalars['JSON']['output']; revenueByCategory: Scalars['JSON']['output']; topProviders: Scalars['JSON']['output']; }; export type KadaikodiAwardLoyaltyPointsInput = { customerId: Scalars['String']['input']; points: Scalars['Int']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; export declare enum KadaikodiClockAction { ClockIn = "CLOCK_IN", ClockOut = "CLOCK_OUT" } export type KadaikodiClockResult = { __typename?: 'KadaikodiClockResult'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type KadaikodiCreateInvestmentOpportunityInput = { businessMetrics?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; expectedReturnsPct: Scalars['Float']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; lockInMonths: Scalars['Int']['input']; minimumInvestment: Scalars['Float']['input']; providerId: Scalars['String']['input']; riskLevel?: InputMaybe<KadaikodiRiskLevel>; targetAmount: Scalars['Float']['input']; terms?: InputMaybe<Scalars['JSON']['input']>; title: Scalars['String']['input']; }; export type KadaikodiCreateMembershipPlanInput = { description?: InputMaybe<Scalars['String']['input']>; freeDeliveryEnabled?: InputMaybe<Scalars['Boolean']['input']>; freeDeliveryMinOrderValue?: InputMaybe<Scalars['Float']['input']>; name: Scalars['String']['input']; perks?: InputMaybe<Scalars['JSON']['input']>; priceAmount: Scalars['Float']['input']; priceInterval?: InputMaybe<KadaikodiMembershipInterval>; slug: Scalars['String']['input']; }; export type KadaikodiCreateOfferingInput = { category: KadaikodiServiceCategory; /** Omit for INR. Anything other than INR is rejected. */ currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; kind: KadaikodiOfferingKind; media?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; originalPrice?: InputMaybe<Scalars['Float']['input']>; price: Scalars['Float']['input']; providerId: Scalars['String']['input']; serviceType?: InputMaybe<Scalars['String']['input']>; slug: Scalars['String']['input']; stock?: InputMaybe<Scalars['Int']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** Provider-agnostic checkout request. Provider credentials never cross this API. */ export type KadaikodiCreatePaymentIntentInput = { /** Optional. Defaults to the merchant workspace's billing account. */ billingAccountId?: InputMaybe<Scalars['ID']['input']>; /** Omit for INR. Anything other than INR is rejected — Kadaikodi is INR-only. */ currency?: InputMaybe<Scalars['String']['input']>; idempotencyKey: Scalars['String']['input']; orderId: Scalars['ID']['input']; paymentMethod: Scalars['String']['input']; postalCode: Scalars['String']['input']; provider: Scalars['String']['input']; }; export type KadaikodiCreateProviderWorkerInput = { metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; providerId: Scalars['String']['input']; role?: InputMaybe<Scalars['String']['input']>; workerId: Scalars['String']['input']; }; export type KadaikodiCreateReviewInput = { customerId: Scalars['String']['input']; orderId?: InputMaybe<Scalars['String']['input']>; providerId: Scalars['String']['input']; rating: Scalars['Int']['input']; review?: InputMaybe<Scalars['String']['input']>; }; export type KadaikodiCreateServiceProviderInput = { businessHours?: InputMaybe<Scalars['JSON']['input']>; category: KadaikodiServiceCategory; description?: InputMaybe<Scalars['String']['input']>; location: Scalars['JSON']['input']; name: Scalars['String']['input']; offeringType?: InputMaybe<Scalars['String']['input']>; ownerId: Scalars['String']['input']; serviceTypes?: InputMaybe<Array<Scalars['String']['input']>>; slug: Scalars['String']['input']; }; export type KadaikodiCreateWorkerTaskInput = { description?: InputMaybe<Scalars['String']['input']>; dueAt?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; orderId?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['String']['input']>; providerId: Scalars['String']['input']; title: Scalars['String']['input']; type: KadaikodiWorkerTaskType; workerId: Scalars['String']['input']; }; /** * Self-owned saved delivery/service address. `actorId` is always the calling * customer's own id — there is no cross-user read path over this type. */ export type KadaikodiCustomerAddress = { __typename?: 'KadaikodiCustomerAddress'; actorId: Scalars['String']['output']; addressLine1: Scalars['String']['output']; addressLine2?: Maybe<Scalars['String']['output']>; city: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; nickname?: Maybe<Scalars['String']['output']>; state: Scalars['String']['output']; type: KadaikodiAddressType; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; zipCode: Scalars['String']['output']; }; /** * Self-owned saved payment method. `detail` is always a pre-masked display * value (e.g. "**** 1234", a UPI id, or a wallet provider + masked mobile) — * this type never carries a raw card number or CVV. */ export type KadaikodiCustomerPaymentMethod = { __typename?: 'KadaikodiCustomerPaymentMethod'; actorId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; detail: Scalars['String']['output']; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; label: Scalars['String']['output']; type: KadaikodiPaymentMethodType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * A customer's current/most-recent membership. Perk eligibility requires * `status == ACTIVE && currentPeriodEnd` in the future — see * KadaikodiService.placeOrder for the enforcement point. */ export type KadaikodiCustomerSubscription = { __typename?: 'KadaikodiCustomerSubscription'; autoRenew: Scalars['Boolean']['output']; canceledAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currentPeriodEnd: Scalars['DateTime']['output']; customerId: Scalars['String']['output']; id: Scalars['ID']['output']; plan: KadaikodiMembershipPlan; planId: Scalars['String']['output']; startedAt: Scalars['DateTime']['output']; status: KadaikodiSubscriptionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiDashboardStats = { __typename?: 'KadaikodiDashboardStats'; activeCustomers: Scalars['Int']['output']; activeProviders: Scalars['Int']['output']; avgRating: Scalars['Float']['output']; pendingOrders: Scalars['Int']['output']; totalOrders: Scalars['Int']['output']; totalRevenue: Scalars['Float']['output']; }; export type KadaikodiInvestInput = { amount: Scalars['Float']['input']; investorId: Scalars['String']['input']; opportunityId: Scalars['String']['input']; }; export type KadaikodiInvestment = { __typename?: 'KadaikodiInvestment'; amount: Scalars['Float']['output']; currentValue: Scalars['Float']['output']; expectedReturnsPct: Scalars['Float']['output']; id: Scalars['ID']['output']; investedAt: Scalars['DateTime']['output']; investorId: Scalars['String']['output']; maturedAt?: Maybe<Scalars['DateTime']['output']>; opportunity: KadaikodiInvestmentOpportunity; opportunityId: Scalars['String']['output']; realizedReturns: Scalars['Float']['output']; status: Scalars['String']['output']; transactions: Array<KadaikodiInvestmentTransaction>; workspaceId: Scalars['String']['output']; }; export type KadaikodiInvestmentTransactionsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; export type KadaikodiInvestmentOpportunity = { __typename?: 'KadaikodiInvestmentOpportunity'; businessMetrics?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; expectedReturnsPct: Scalars['Float']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; investments: Array<KadaikodiInvestment>; lockInMonths: Scalars['Int']['output']; minimumInvestment: Scalars['Float']['output']; provider: KadaikodiServiceProvider; providerId: Scalars['String']['output']; raisedAmount: Scalars['Float']['output']; riskLevel: KadaikodiRiskLevel; status: KadaikodiInvestmentStatus; targetAmount: Scalars['Float']['output']; terms?: Maybe<Scalars['JSON']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiInvestmentOpportunityInvestmentsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; export declare enum KadaikodiInvestmentStatus { Active = "ACTIVE", Closed = "CLOSED", Draft = "DRAFT", Funded = "FUNDED" } export type KadaikodiInvestmentTransaction = { __typename?: 'KadaikodiInvestmentTransaction'; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; investmentId: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiLocation = { __typename?: 'KadaikodiLocation'; address?: Maybe<Scalars['String']['output']>; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; }; /** * A customer's loyalty points balance in this workspace. Lazily created (at a * zero balance) the first time it is read or touched — there is no separate * "enroll" step. */ export type KadaikodiLoyaltyAccount = { __typename?: 'KadaikodiLoyaltyAccount'; createdAt: Scalars['DateTime']['output']; customerId: Scalars['String']['output']; id: Scalars['ID']['output']; lifetimePointsEarned: Scalars['Int']['output']; lifetimePointsRedeemed: Scalars['Int']['output']; pointsBalance: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * Result of redeeming loyalty points: a discount amount the client applies via * the existing `discount` field on KadaikodiPlaceOrderInput for a future order. * Discount calculation only — no live payment capture. */ export type KadaikodiLoyaltyRedemptionResult = { __typename?: 'KadaikodiLoyaltyRedemptionResult'; discountAmount: Scalars['Float']['output']; newBalance: Scalars['Int']['output']; pointsRedeemed: Scalars['Int']['output']; transactionId: Scalars['String']['output']; }; /** * An immutable ledger row against a KadaikodiLoyaltyAccount. `points` is signed * (positive for EARN/ADJUSTMENT credits, negative for REDEEM debits); * `balanceAfter` is the account balance once this row was applied. */ export type KadaikodiLoyaltyTransaction = { __typename?: 'KadaikodiLoyaltyTransaction'; accountId: Scalars['String']['output']; balanceAfter: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; customerId: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; orderId?: Maybe<Scalars['String']['output']>; points: Scalars['Int']['output']; type: KadaikodiLoyaltyTxnType; workspaceId: Scalars['String']['output']; }; export declare enum KadaikodiLoyaltyTxnType { Adjustment = "ADJUSTMENT", Earn = "EARN", Expire = "EXPIRE", Redeem = "REDEEM" } export declare enum KadaikodiMembershipInterval { Annual = "ANNUAL", Monthly = "MONTHLY" } /** * A marketplace-wide membership plan (e.g. "Kadaikodi Plus"). freeDeliveryEnabled * + freeDeliveryMinOrderValue are mechanically enforced at order placement; * `perks` is a JSON blob of additional documented-but-not-yet-enforced benefits * (e.g. early access to sales) — see the follow-up note on the Linear ticket. */ export type KadaikodiMembershipPlan = { __typename?: 'KadaikodiMembershipPlan'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; freeDeliveryEnabled: Scalars['Boolean']['output']; freeDeliveryMinOrderValue?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; perks?: Maybe<Scalars['JSON']['output']>; priceAmount: Scalars['Float']['output']; priceInterval: KadaikodiMembershipInterval; slug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** Merchant earnings from paid orders after platform commission (INR). */ export type KadaikodiMerchantEarnings = { __typename?: 'KadaikodiMerchantEarnings'; availableAmount: Scalars['Float']['output']; billingAccountId: Scalars['ID']['output']; paidAmount: Scalars['Float']['output']; pendingAmount: Scalars['Float']['output']; reservedAmount: Scalars['Float']['output']; reversedAmount: Scalars['Float']['output']; totalLifetimeAmount: Scalars['Float']['output']; }; export type KadaikodiOffering = { __typename?: 'KadaikodiOffering'; category: KadaikodiServiceCategory; createdAt: Scalars['DateTime']['output']; /** * ISO 4217 currency code. Kadaikodi is India-first and single-currency: * create/update reject anything other than INR (default "INR"). */ currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; durationMinutes?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; isAvailable: Scalars['Boolean']['output']; kind: KadaikodiOfferingKind; media?: Maybe<Scalars['JSON']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; originalPrice?: Maybe<Scalars['Float']['output']>; price: Scalars['Float']['output']; providerId: Scalars['String']['output']; serviceType?: Maybe<Scalars['String']['output']>; slug: Scalars['String']['output']; stock?: Maybe<Scalars['Int']['output']>; storeProduct?: Maybe<StoreProduct>; storeProductId?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export declare enum KadaikodiOfferingKind { Product = "PRODUCT", Service = "SERVICE" } export type KadaikodiOrder = { __typename?: 'KadaikodiOrder'; assignedWorkerId?: Maybe<Scalars['String']['output']>; billingTransactionId?: Maybe<Scalars['String']['output']>; commissionAmount?: Maybe<Scalars['Float']['output']>; commissionRateBps?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; customerId: Scalars['String']['output']; deliveryAddress?: Maybe<Scalars['JSON']['output']>; deliveryFee: Scalars['Float']['output']; discount: Scalars['Float']['output']; earningsStatus?: Maybe<Scalars['String']['output']>; fulfillmentType: Scalars['String']['output']; id: Scalars['ID']['output']; items: Array<KadaikodiOrderItem>; merchantNetAmount?: Maybe<Scalars['Float']['output']>; notes?: Maybe<Scalars['String']['output']>; orderNumber: Scalars['String']['output']; paymentMethod?: Maybe<Scalars['String']['output']>; paymentStatus: KadaikodiPaymentStatus; provider: KadaikodiServiceProvider; providerId: Scalars['String']['output']; status: KadaikodiOrderStatus; storeOrder?: Maybe<StoreOrder>; storeOrderId?: Maybe<Scalars['String']['output']>; subtotal: Scalars['Float']['output']; tax: Scalars['Float']['output']; timeline?: Maybe<Scalars['JSON']['output']>; total: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiOrderItem = { __typename?: 'KadaikodiOrderItem'; customizations?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; offeringId?: Maybe<Scalars['String']['output']>; orderId: Scalars['String']['output']; quantity: Scalars['Int']['output']; totalPrice: Scalars['Float']['output']; unitPrice: Scalars['Float']['output']; workspaceId: Scalars['String']['output']; }; export declare enum KadaikodiOrderStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", Delivered = "DELIVERED", OutForDelivery = "OUT_FOR_DELIVERY", Pending = "PENDING", Placed = "PLACED", Preparing = "PREPARING", Ready = "READY" } /** * Pagination input for Kadaikodi list queries. * `limit` is clamped to a server-enforced maximum; `offset` is normalized to >= 0. */ export type KadaikodiPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export type KadaikodiPaymentIntent = { __typename?: 'KadaikodiPaymentIntent'; alreadyCreated: Scalars['Boolean']['output']; clientSecret?: Maybe<Scalars['String']['output']>; gatewayOrderId?: Maybe<Scalars['String']['output']>; orderId: Scalars['ID']['output']; paymentId?: Maybe<Scalars['String']['output']>; paymentMethod: Scalars['String']['output']; provider: Scalars['String']['output']; providerKeyId?: Maybe<Scalars['String']['output']>; status: KadaikodiPaymentStatus; }; export declare enum KadaikodiPaymentMethodType { Card = "CARD", Upi = "UPI", Wallet = "WALLET" } export declare enum KadaikodiPaymentStatus { Failed = "FAILED", Paid = "PAID", Pending = "PENDING", Processing = "PROCESSING", Refunded = "REFUNDED" } export type KadaikodiPayoutRequest = { __typename?: 'KadaikodiPayoutRequest'; currency: Scalars['String']['output']; id: Scalars['ID']['output']; requestedAmount: Scalars['Float']['output']; status: Scalars['String']['output']; }; export type KadaikodiPlaceOrderInput = { billingTransactionId?: InputMaybe<Scalars['String']['input']>; customerId: Scalars['String']['input']; deliveryAddress?: InputMaybe<Scalars['JSON']['input']>; deliveryFee?: InputMaybe<Scalars['Float']['input']>; discount?: InputMaybe<Scalars['Float']['input']>; fulfillmentType: Scalars['String']['input']; items: Array<KadaikodiPlaceOrderItemInput>; notes?: InputMaybe<Scalars['String']['input']>; paymentMethod?: InputMaybe<Scalars['String']['input']>; providerId: Scalars['String']['input']; storeOrderId?: InputMaybe<Scalars['String']['input']>; tax?: InputMaybe<Scalars['Float']['input']>; }; export type KadaikodiPlaceOrderItemInput = { customizations?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; offeringId?: InputMaybe<Scalars['String']['input']>; quantity: Scalars['Int']['input']; unitPrice: Scalars['Float']['input']; }; export type KadaikodiProviderFilterInput = { category?: InputMaybe<KadaikodiServiceCategory>; openOnly?: InputMaybe<Scalars['Boolean']['input']>; query?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<KadaikodiProviderStatus>; }; export declare enum KadaikodiProviderStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED", Suspended = "SUSPENDED", Verified = "VERIFIED" } export type KadaikodiProviderWorker = { __typename?: 'KadaikodiProviderWorker'; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; providerId: Scalars['String']['output']; role: Scalars['String']['output']; status: Scalars['String']['output']; tasks: Array<KadaikodiWorkerTask>; workerId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiProviderWorkerTasksArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * A discovery result: the offering plus the ranking metadata the UI needs for * the "why this was suggested" affordance. `personalized` is true only when * real order history influenced the score. */ export type KadaikodiRankedOffering = { __typename?: 'KadaikodiRankedOffering'; distanceKm?: Maybe<Scalars['Float']['output']>; offering: KadaikodiOffering; personalized: Scalars['Boolean']['output']; provider: KadaikodiServiceProvider; score: Scalars['Float']['output']; suggestedReason: KadaikodiSuggestionReason; suggestedReasonText: Scalars['String']['output']; }; /** * Customer-supplied context for ranked discovery. Coordinates drive the * proximity signal; when absent the proximity term is neutral and no `NEARBY` * reason is emitted — distance is never fabricated. */ export type KadaikodiRankingContextInput = { category?: InputMaybe<KadaikodiServiceCategory>; kind?: InputMaybe<KadaikodiOfferingKind>; lat?: InputMaybe<Scalars['Float']['input']>; lng?: InputMaybe<Scalars['Float']['input']>; maxPrice?: InputMaybe<Scalars['Float']['input']>; openOnly?: InputMaybe<Scalars['Boolean']['input']>; /** Provider-region UTC offset in minutes, used to evaluate business hours. */ utcOffsetMinutes?: InputMaybe<Scalars['Int']['input']>; }; export type KadaikodiRedeemLoyaltyPointsInput = { points: Scalars['Int']['input']; }; export type KadaikodiRequestPayoutInput = { amount: Scalars['Float']['input']; /** Omit for INR. Anything other than INR is rejected. */ currency?: InputMaybe<Scalars['String']['input']>; /** Client-generated key; retrying with the same key never creates a second request. */ idempotencyKey: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; export type KadaikodiReview = { __typename?: 'KadaikodiReview'; createdAt: Scalars['DateTime']['output']; customerId: Scalars['String']['output']; id: Scalars['ID']['output']; orderId?: Maybe<Scalars['String']['output']>; providerId: Scalars['String']['output']; rating: Scalars['Int']['output']; response?: Maybe<Scalars['String']['output']>; review?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export declare enum KadaikodiRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum KadaikodiServiceCategory { ClothingFashion = "CLOTHING_FASHION", EducationSkills = "EDUCATION_SKILLS", FoodBeverage = "FOOD_BEVERAGE", GroceryEssentials = "GROCERY_ESSENTIALS", HealthWellness = "HEALTH_WELLNESS", HomeServices = "HOME_SERVICES", PersonalCareBeauty = "PERSONAL_CARE_BEAUTY", RepairMaintenance = "REPAIR_MAINTENANCE", RetailMerchandise = "RETAIL_MERCHANDISE" } export type KadaikodiServiceProvider = { __typename?: 'KadaikodiServiceProvider'; analyticsSnapshot?: Maybe<Scalars['JSON']['output']>; averageOrderValue: Scalars['Float']['output']; businessHours?: Maybe<Scalars['JSON']['output']>; category: KadaikodiServiceCategory; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; investmentOpportunities: Array<KadaikodiInvestmentOpportunity>; location: Scalars['JSON']['output']; name: Scalars['String']['output']; offeringType: Scalars['String']['output']; offerings: Array<KadaikodiOffering>; ownerId: Scalars['String']['output']; rating: Scalars['Float']['output']; serviceTypes: Array<Scalars['String']['output']>; slug: Scalars['String']['output']; status: KadaikodiProviderStatus; totalRatings: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workers: Array<KadaikodiProviderWorker>; workspaceId: Scalars['String']['output']; }; export type KadaikodiServiceProviderInvestmentOpportunitiesArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; export type KadaikodiServiceProviderOfferingsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; export type KadaikodiServiceProviderWorkersArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; export type KadaikodiSubscribeToMembershipInput = { planId: Scalars['String']['input']; }; export declare enum KadaikodiSubscriptionStatus { Active = "ACTIVE", Canceled = "CANCELED", Expired = "EXPIRED" } /** * Why a discovery result was suggested (BOFF-3803 explainability contract). * `NEARBY`, `TOP_RATED` and `COMMUNITY_FAVORITE` are cold-start reasons and can * be shown to any customer; the `ORDERED_*` reasons are emitted only when real * order history influenced the ranking. */ export declare enum KadaikodiSuggestionReason { CommunityFavorite = "COMMUNITY_FAVORITE", Nearby = "NEARBY", OrderedCategoryBefore = "ORDERED_CATEGORY_BEFORE", OrderedFromProviderBefore = "ORDERED_FROM_PROVIDER_BEFORE", TopRated = "TOP_RATED" } export type KadaikodiUpdateAddressInput = { addressLine1?: InputMaybe<Scalars['String']['input']>; addressLine2?: InputMaybe<Scalars['String']['input']>; city?: InputMaybe<Scalars['String']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; nickname?: InputMaybe<Scalars['String']['input']>; state?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<KadaikodiAddressType>; zipCode?: InputMaybe<Scalars['String']['input']>; }; export type KadaikodiUpdateMembershipPlanInput = { description?: InputMaybe<Scalars['String']['input']>; freeDeliveryEnabled?: InputMaybe<Scalars['Boolean']['input']>; freeDeliveryMinOrderValue?: InputMaybe<Scalars['Float']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; perks?: InputMaybe<Scalars['JSON']['input']>; priceAmount?: InputMaybe<Scalars['Float']['input']>; priceInterval?: InputMaybe<KadaikodiMembershipInterval>; }; export type KadaikodiUpdateOfferingInput = { /** Omit to keep the current currency. Anything other than INR is rejected. */ currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; isAvailable?: InputMaybe<Scalars['Boolean']['input']>; media?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; originalPrice?: InputMaybe<Scalars['Float']['input']>; price?: InputMaybe<Scalars['Float']['input']>; serviceType?: InputMaybe<Scalars['String']['input']>; stock?: InputMaybe<Scalars['Int']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type KadaikodiUpdateServiceProviderInput = { analyticsSnapshot?: InputMaybe<Scalars['JSON']['input']>; businessHours?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; serviceTypes?: InputMaybe<Array<Scalars['String']['input']>>; status?: InputMaybe<KadaikodiProviderStatus>; }; export type KadaikodiWorkerSchedule = { __typename?: 'KadaikodiWorkerSchedule'; date: Scalars['DateTime']['output']; endTime?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; provider?: Maybe<KadaikodiServiceProvider>; providerId: Scalars['String']['output']; startTime: Scalars['String']['output']; status: Scalars['String']['output']; tasksCompleted: Scalars['Int']['output']; totalEarnings: Scalars['Float']['output']; workerRefId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type KadaikodiWorkerStats = { __typename?: 'KadaikodiWorkerStats'; averageRating: Scalars['Float']['output']; completionRate: Scalars['Float']['output']; todayEarnings: Scalars['Float']['output']; todayTasks: Scalars['Int']['output']; totalDeliveries: Scalars['Int']['output']; totalEarnings: Scalars['Float']['output']; }; export type KadaikodiWorkerTask = { __typename?: 'KadaikodiWorkerTask'; assignedAt?: Maybe<Scalars['DateTime']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; customerName?: Maybe<Scalars['String']['output']>; customerPhone?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; distance?: Maybe<Scalars['Float']['output']>; dueAt?: Maybe<Scalars['DateTime']['output']>; earnings?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; location?: Maybe<Scalars['JSON']['output']>; notes?: Maybe<Scalars['String']['output']>; order?: Maybe<KadaikodiOrder>; orderId?: Maybe<Scalars['String']['output']>; priority: Scalars['String']['output']; provider?: Maybe<KadaikodiServiceProvider>; providerId?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; workerRefId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export declare enum KadaikodiWorkerTaskStatus { Assigned = "ASSIGNED", Blocked = "BLOCKED", Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS" } export declare enum KadaikodiWorkerTaskType { Cleanup = "CLEANUP", Delivery = "DELIVERY", Inventory = "INVENTORY", Pickup = "PICKUP", Service = "SERVICE" } export declare enum KeyResultMetricType { Boolean = "BOOLEAN", Numeric = "NUMERIC", Percentage = "PERCENTAGE" } /** Where a key result's current value comes from (GAP-04). */ export declare enum KeyResultProgressSource { /** currentValue is computed by the server from the linked work items' completion; a client-set value is refused */ LinkedWorkItems = "LINKED_WORK_ITEMS", /** People enter currentValue */ Manual = "MANUAL" } export declare enum KeyResultStatus { AtRisk = "AT_RISK", Completed = "COMPLETED", InProgress = "IN_PROGRESS", NotStarted = "NOT_STARTED" } export declare enum KeyStatus { Active = "ACTIVE", Destroyed = "DESTROYED", Revoked = "REVOKED", Rotated = "ROTATED", Rotating = "ROTATING" } export declare enum KeyType { AsymmetricPrivate = "ASYMMETRIC_PRIVATE", AsymmetricPublic = "ASYMMETRIC_PUBLIC", DataEncryptionKey = "DATA_ENCRYPTION_KEY", RootKey = "ROOT_KEY", Symmetric = "SYMMETRIC", TenantMasterKey = "TENANT_MASTER_KEY", VaultKey = "VAULT_KEY", WorkspaceKey = "WORKSPACE_KEY" } /** A runbook / captured fix. `slug` is unique per workspace. */ export type KnowledgeArticle = { __typename?: 'KnowledgeArticle'; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; relatedAssetId?: Maybe<Scalars['ID']['output']>; relatedIncidentId?: Maybe<Scalars['ID']['output']>; slug: Scalars['String']['output']; status: KnowledgeArticleStatus; summary?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['String']['output']; views: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum KnowledgeArticleStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type KnowledgeBackendMigration = { __typename?: 'KnowledgeBackendMigration'; copiedDocuments: Scalars['Int']['output']; copiedVectors: Scalars['Int']['output']; errorCode?: Maybe<Scalars['String']['output']>; expectedDocuments: Scalars['Int']['output']; expectedVectors: Scalars['Int']['output']; failureCount: Scalars['Int']['output']; id: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; sourceDriver: Scalars['String']['output']; status: Scalars['String']['output']; targetDriver: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type KnowledgeBase = { __typename?: 'KnowledgeBase'; chunkOverlap: Scalars['Int']['output']; chunkSize: Scalars['Int']['output']; chunkingStrategy: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; embeddingDimensions: Scalars['Int']['output']; embeddingModel: Scalars['String']['output']; id: Scalars['ID']['output']; indexStatus: IndexStatus; lastIndexedAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; totalChunks: Scalars['Int']['output']; totalDocuments: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; vectorCount: Scalars['Int']['output']; /** Pinned storage backend. A backend migration is required to change this. */ vectorStoreDriver?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type KnowledgeBaseFilterInput = { indexStatus?: InputMaybe<IndexStatus>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type KnowledgeChunk = { __typename?: 'KnowledgeChunk'; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; documentId: Scalars['ID']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; sequence: Scalars['Int']['output']; tokenCount: Scalars['Int']['output']; vectorId: Scalars['String']['output']; }; export type KnowledgeCleanupJob = { __typename?: 'KnowledgeCleanupJob'; failureCount: Scalars['Int']['output']; id: Scalars['ID']['output']; kind: KnowledgeCleanupKind; knowledgeBaseId: Scalars['ID']['output']; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum KnowledgeCleanupKind { Artifact = "ARTIFACT", Vector = "VECTOR" } export type KnowledgeDocument = { __typename?: 'KnowledgeDocument'; addedAt: Scalars['DateTime']['output']; addedById: Scalars['ID']['output']; chunkCount: Scalars['Int']['output']; content: Scalars['String']['output']; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; metadata: Scalars['JSON']['output']; processedAt?: Maybe<Scalars['DateTime']['output']>; processingError?: Maybe<Scalars['String']['output']>; status: DocumentStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type KnowledgeSourceImport = { __typename?: 'KnowledgeSourceImport'; documentId?: Maybe<Scalars['ID']['output']>; errorCode?: Maybe<Scalars['String']['output']>; failureCount: Scalars['Int']['output']; id: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; }; export type KnowledgeVectorCleanupReceipt = { __typename?: 'KnowledgeVectorCleanupReceipt'; blocked: Scalars['Int']['output']; completed: Scalars['Int']['output']; scanned: Scalars['Int']['output']; }; export type LlmModelFilterInput = { isActive?: InputMaybe<Scalars['Boolean']['input']>; providerId?: InputMaybe<Scalars['ID']['input']>; supportsFunctionCalling?: InputMaybe<Scalars['Boolean']['input']>; supportsVision?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Superseded by `BotmanorLLMProviderFilterInput`, which types `type` with the BotManor enums. This input * goes with `listLLMProviders` no earlier than 2027-02-05 (BOFF-9561). */ export type LlmProviderFilterInput = { isActive?: InputMaybe<Scalars['Boolean']['input']>; /** @deprecated use BotmanorLLMProviderFilterInput.type */ type?: InputMaybe<BotlitLlmProviderType>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type LabAddDatasetVersionInput = { changeNote?: InputMaybe<Scalars['String']['input']>; checksum?: InputMaybe<Scalars['String']['input']>; datasetId: Scalars['ID']['input']; fileId?: InputMaybe<Scalars['ID']['input']>; /** * Row count, a whole number of 0 or more. A fraction or a negative value is * BAD_USER_INPUT naming `rowCount`. */ rowCount?: InputMaybe<Scalars['Int']['input']>; /** * Size in bytes as a decimal STRING — the value is an int64 and JSON numbers * cannot carry it exactly. Must be a whole number of 0 or more; anything else * (`"1.5"`, `"abc"`, a negative) is BAD_USER_INPUT naming `sizeBytes`. */ sizeBytes?: InputMaybe<Scalars['String']['input']>; }; export type LabAddProtocolStepInput = { /** * Whole minutes, 0 or more. A fraction or a negative value is BAD_USER_INPUT * naming `durationMinutes`. */ durationMinutes?: InputMaybe<Scalars['Int']['input']>; instruction: Scalars['String']['input']; isCritical?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<LabStepKind>; /** * 1-based position of the step. Omit it to append after the highest ordinal the * protocol already uses. A value below 1, a fraction, or anything that is not a * whole number is BAD_USER_INPUT naming `ordinal`; a duplicate is CONFLICT. */ ordinal?: InputMaybe<Scalars['Int']['input']>; protocolId: Scalars['ID']['input']; }; export type LabAdjustInventoryInput = { /** * Signed delta applied to the current quantity (positive = restock). Must be a * finite number; anything else is BAD_USER_INPUT naming `delta`. */ delta: Scalars['Float']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * One row per AI decision (append-only — no update/delete mutation exists; * corrections are new rows). `promptSummary` and `inputRefs` are non-PII by * convention — ids and short summaries only, never raw user content. */ export type LabAgentRun = { __typename?: 'LabAgentRun'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; costUsd?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; decision?: Maybe<Scalars['JSON']['output']>; error?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; inputRefs?: Maybe<Scalars['JSON']['output']>; latencyMs?: Maybe<Scalars['Int']['output']>; model: Scalars['String']['output']; promptSummary: Scalars['String']['output']; provider: Scalars['String']['output']; status: LabAgentRunStatus; tokensIn?: Maybe<Scalars['Int']['output']>; tokensOut?: Maybe<Scalars['Int']['output']>; trigger: LabAgentRunTrigger; workspaceId: Scalars['ID']['output']; }; export type LabAgentRunConnection = { __typename?: 'LabAgentRunConnection'; items: Array<LabAgentRun>; pageInfo: LabPageInfo; }; export type LabAgentRunOverride = { __typename?: 'LabAgentRunOverride'; createdAt: Scalars['DateTime']['output']; experimentId: Scalars['ID']['output']; id: Scalars['ID']['output']; note: Scalars['String']['output']; recommendation: LabRunRecommendation; supersedesRunId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum LabAgentRunStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum LabAgentRunTrigger { Event = "EVENT", Manual = "MANUAL", Scheduled = "SCHEDULED" } /** One selectable (provider, model) pair from the static AI model catalog. */ export type LabAiModelInfo = { __typename?: 'LabAiModelInfo'; capabilities: Array<Scalars['String']['output']>; isDefault: Scalars['Boolean']['output']; label: Scalars['String']['output']; model: Scalars['String']['output']; provider: Scalars['String']['output']; }; export type LabAnalysisPipeline = { __typename?: 'LabAnalysisPipeline'; createdAt: Scalars['DateTime']['output']; definition?: Maybe<Scalars['JSON']['output']>; description?: Maybe<Scalars['String']['output']>; engine: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; projectId?: Maybe<Scalars['ID']['output']>; runs: Array<LabPipelineRun>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type LabAnalysisPipelineConnection = { __typename?: 'LabAnalysisPipelineConnection'; items: Array<LabAnalysisPipeline>; pageInfo: LabPipelinePageInfo; }; /** An attestation-state → count bucket for the ELN attestation chart. */ export type LabAttestationCount = { __typename?: 'LabAttestationCount'; /** Number of entries in this attestation state. */ count: Scalars['Int']['output']; /** The attestation status (e.g. `SIGNED`, `WITNESSED`, `VOID`). */ status: Scalars['String']['output']; }; export type LabBookInstrumentInput = { endTime: Scalars['DateTime']['input']; experimentId?: InputMaybe<Scalars['ID']['input']>; instrumentId: Scalars['ID']['input']; purpose?: InputMaybe<Scalars['String']['input']>; startTime: Scalars['DateTime']['input']; }; export declare enum LabBookingStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", Requested = "REQUESTED" } export type LabCreateDatasetInput = { description?: InputMaybe<Scalars['String']['input']>; experimentId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<LabDatasetKind>; name: Scalars['String']['input']; projectId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type LabCreateExperimentInput = { description?: InputMaybe<Scalars['String']['input']>; hypothesis?: InputMaybe<Scalars['String']['input']>; leadResearcherId?: InputMaybe<Scalars['ID']['input']>; projectId: Scalars['ID']['input']; protocolId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; variables?: InputMaybe<Scalars['JSON']['input']>; }; export type LabCreateInstrumentInput = { custodianId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; requiresApproval?: InputMaybe<Scalars['Boolean']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type LabCreateInventoryItemInput = { catalogNumber?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<LabInventoryCategory>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; location?: InputMaybe<Scalars['String']['input']>; lotNumber?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; /** * Opening quantity in `unit`. Must be 0 or more — negative stock is * BAD_USER_INPUT naming `quantity`. */ quantity?: InputMaybe<Scalars['Float']['input']>; /** * Reorder threshold. Must be 0 or more; a negative value is BAD_USER_INPUT * naming `reorderLevel`. */ reorderLevel?: InputMaybe<Scalars['Float']['input']>; sdsFileId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; unit?: InputMaybe<Scalars['String']['input']>; vendor?: InputMaybe<Scalars['String']['input']>; }; export type LabCreateNotebookEntryInput = { body?: InputMaybe<Scalars['String']['input']>; experimentId?: InputMaybe<Scalars['ID']['input']>; fileIds?: InputMaybe<Array<Scalars['ID']['input']>>; projectId: Scalars['ID']['input']; runId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type LabCreatePipelineInput = { definition?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; engine?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; projectId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type LabCreateProjectInput = { code?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; field?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; principalInvestigatorId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<LabProjectStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; visibility?: InputMaybe<LabProjectVisibility>; }; export type LabCreateProtocolInput = { authorId?: InputMaybe<Scalars['ID']['input']>; /** * Whole minutes, 0 or more. A fraction or a negative value is BAD_USER_INPUT * naming `estimatedMinutes`. */ estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; materials?: InputMaybe<Array<Scalars['String']['input']>>; name: Scalars['String']['input']; safetyNotes?: InputMaybe<Scalars['String']['input']>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type LabCreateRunInput = { experimentId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; parameters?: InputMaybe<Scalars['JSON']['input']>; }; export type LabDataset = { __typename?: 'LabDataset'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; experimentId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; kind: LabDatasetKind; latestVersion: Scalars['Int']['output']; name: Scalars['String']['output']; projectId?: Maybe<Scalars['ID']['output']>; status: LabDatasetStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; /** * Snapshots of this dataset, NEWEST VERSION FIRST, capped at 100. * * The relation takes no pagination arguments, so a dataset with more than 100 * versions is truncated with no indicator. It is ordered descending so the cap * keeps the versions `latestVersion` points at — ascending, it dropped exactly * those. */ versions: Array<LabDatasetVersion>; workspaceId: Scalars['ID']['output']; }; export type LabDatasetConnection = { __typename?: 'LabDatasetConnection'; items: Array<LabDataset>; pageInfo: LabDatasetPageInfo; }; export declare enum LabDatasetKind { Processed = "PROCESSED", Raw = "RAW", Reference = "REFERENCE", Result = "RESULT" } export type LabDatasetPageInfo = { __typename?: 'LabDatasetPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export declare enum LabDatasetStatus { /** Open for new versions. The only status `labAddDatasetVersion` accepts. */ Active = "ACTIVE", /** * Archived. Set ONLY by `labArchiveDataset`, which soft-deletes the dataset at * the same time. Archived datasets are excluded from every listing except * `labListDatasets(status: ARCHIVED)`, and `labDataset(id:)` resolves them to * null. */ Archived = "ARCHIVED", /** * Frozen against new versions, set by `labSetDatasetStatus(status: LOCKED)` — * what a lab does when a dataset backs a published result. The dataset stays * fully readable and its versions stay resolvable; `labAddDatasetVersion` is * rejected. `labSetDatasetStatus(status: ACTIVE)` unfreezes it. */ Locked = "LOCKED" } export type LabDatasetVersion = { __typename?: 'LabDatasetVersion'; changeNote?: Maybe<Scalars['String']['output']>; checksum?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; datasetId: Scalars['ID']['output']; /** wspace-files-svc File holding the snapshot bytes (blobs live in Files). */ file?: Maybe<File>; id: Scalars['ID']['output']; rowCount?: Maybe<Scalars['Int']['output']>; sizeBytes: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type LabExperiment = { __typename?: 'LabExperiment'; /** * Free-form provenance/annotation bag. Holds `lastAiRecommendation` — the * current AI read on this experiment written by `labRecommendNextRun` (status * PROPOSED) and resolved by `labOverrideAgentRun` (status OVERRIDDEN), each * carrying the `agentRunId` of the ledger row that produced it. Written today by * the decision engine and, until now, impossible to read back. */ context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; hypothesis?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; leadResearcherId?: Maybe<Scalars['ID']['output']>; project?: Maybe<LabProject>; projectId: Scalars['ID']['output']; protocolId?: Maybe<Scalars['ID']['output']>; runs: Array<LabExperimentRun>; status: LabExperimentStatus; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; variables?: Maybe<Scalars['JSON']['output']>; workspaceId: Scalars['ID']['output']; }; export type LabExperimentConnection = { __typename?: 'LabExperimentConnection'; items: Array<LabExperiment>; pageInfo: LabPageInfo; }; export type LabExperimentRun = { __typename?: 'LabExperimentRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; experiment?: Maybe<LabExperiment>; experimentId: Scalars['ID']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; observations?: Maybe<Scalars['JSON']['output']>; parameters?: Maybe<Scalars['JSON']['output']>; performedById?: Maybe<Scalars['ID']['output']>; runNumber: Scalars['Int']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: LabRunStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabExperimentRunConnection = { __typename?: 'LabExperimentRunConnection'; items: Array<LabExperimentRun>; pageInfo: LabPageInfo; }; export declare enum LabExperimentStatus { Abandoned = "ABANDONED", Analysis = "ANALYSIS", Complete = "COMPLETE", Design = "DESIGN", Running = "RUNNING" } export type LabInstrument = { __typename?: 'LabInstrument'; /** * Bookings on this instrument, NEWEST START TIME FIRST, capped at 100. * * The relation takes no pagination arguments, so a heavily-booked instrument is * truncated with no indicator. It is ordered descending so the cap keeps the * upcoming and most recent bookings — page the full history through a top-level * list rather than through this field. Includes CANCELLED and COMPLETED bookings; * a calendar consumer must filter by `status`. */ bookings: Array<LabInstrumentBooking>; createdAt: Scalars['DateTime']['output']; /** * Steward responsible for the instrument. The custodian may cancel any booking * on it, not only their own. */ custodianId?: Maybe<Scalars['ID']['output']>; /** Free-text operating notes (hazards, calibration, access rules). */ description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; location?: Maybe<Scalars['String']['output']>; model?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; requiresApproval: Scalars['Boolean']['output']; status: LabInstrumentStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabInstrumentBooking = { __typename?: 'LabInstrumentBooking'; bookedById: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endTime: Scalars['DateTime']['output']; experimentId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; instrument?: Maybe<LabInstrument>; instrumentId: Scalars['ID']['output']; purpose?: Maybe<Scalars['String']['output']>; startTime: Scalars['DateTime']['output']; status: LabBookingStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabInstrumentConnection = { __typename?: 'LabInstrumentConnection'; items: Array<LabInstrument>; pageInfo: LabInstrumentPageInfo; }; export type LabInstrumentPageInfo = { __typename?: 'LabInstrumentPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; /** * Operational state of an instrument, set by `labUpdateInstrument`. * * Only AVAILABLE instruments can be booked; `labBookInstrument` rejects every * other state with FAILED_PRECONDITION. `labArchiveInstrument` drives a retired * instrument to OFFLINE as it soft-deletes it. */ export declare enum LabInstrumentStatus { Available = "AVAILABLE", InUse = "IN_USE", Maintenance = "MAINTENANCE", Offline = "OFFLINE" } export declare enum LabInventoryCategory { Biological = "BIOLOGICAL", Chemical = "CHEMICAL", Consumable = "CONSUMABLE", EquipmentPart = "EQUIPMENT_PART", Reagent = "REAGENT", Sample = "SAMPLE" } export type LabInventoryItem = { __typename?: 'LabInventoryItem'; catalogNumber?: Maybe<Scalars['String']['output']>; category: LabInventoryCategory; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; location?: Maybe<Scalars['String']['output']>; lotNumber?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; quantity: Scalars['Float']['output']; reorderLevel: Scalars['Float']['output']; /** wspace-files-svc File for a safety data sheet (SDS), if any. */ sds?: Maybe<File>; status: LabInventoryStatus; tags: Array<Scalars['String']['output']>; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; vendor?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type LabInventoryItemConnection = { __typename?: 'LabInventoryItemConnection'; items: Array<LabInventoryItem>; pageInfo: LabInventoryPageInfo; }; /** * One entry in an inventory item's append-only stock-movement ledger. * * Exactly one row is written per `labAdjustInventory`, in the same database * transaction as the quantity change, so the ledger can never disagree with the * stock level. `labSetInventoryStatus` writes one too, with `delta: 0`, so a * quarantine or a release is auditable from the same place. Ledger rows are never * edited or deleted — a correction is a new movement — and they survive * `labArchiveInventoryItem`, because an audit trail that disappears with the item * it audits is not an audit trail. */ export type LabInventoryMovement = { __typename?: 'LabInventoryMovement'; actorId: Scalars['ID']['output']; /** Actor type as supplied by the gateway (`user` / `app` / `service` / `super_admin`). */ actorType: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** * Signed quantity change that was applied (negative = consumption). Zero for a * `labSetInventoryStatus` quarantine or release, where only the status moved. */ delta: Scalars['Float']['output']; id: Scalars['ID']['output']; itemId: Scalars['ID']['output']; /** The item's quantity immediately after this movement. */ quantityAfter: Scalars['Float']['output']; /** Caller-supplied justification from `LabAdjustInventoryInput.reason`. */ reason?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type LabInventoryMovementConnection = { __typename?: 'LabInventoryMovementConnection'; items: Array<LabInventoryMovement>; pageInfo: LabInventoryPageInfo; }; export type LabInventoryPageInfo = { __typename?: 'LabInventoryPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; /** * Stock state of an inventory item. Derived from what is on the shelf, not set by * the caller, except for QUARANTINED. * * Precedence, highest first: QUARANTINED, then EXPIRED (`expiresAt` in the past), * then quantity vs `reorderLevel`. */ export declare enum LabInventoryStatus { /** * `expiresAt` is in the past. Derived, so it becomes true the moment the date * passes — no write is needed — and it outranks any quantity-derived status. */ Expired = "EXPIRED", InStock = "IN_STOCK", /** Quantity is at or below `reorderLevel` (the boundary is inclusive). */ Low = "LOW", OutOfStock = "OUT_OF_STOCK", /** * Held back by a human decision (suspected contamination, failed QC). Set and * cleared only by `labSetInventoryStatus`, and STICKY: `labAdjustInventory` * carries it forward, so restocking a quarantined lot cannot relabel it IN_STOCK. */ Quarantined = "QUARANTINED" } export type LabNotebookEntry = { __typename?: 'LabNotebookEntry'; authorId: Scalars['ID']['output']; body?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; experimentId?: Maybe<Scalars['ID']['output']>; /** wspace-files-svc File ids attached to this entry (blobs live in Files). */ files: Array<File>; id: Scalars['ID']['output']; projectId: Scalars['ID']['output']; runId?: Maybe<Scalars['ID']['output']>; signedAt?: Maybe<Scalars['DateTime']['output']>; signedById?: Maybe<Scalars['ID']['output']>; status: LabNotebookEntryStatus; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; voidReason?: Maybe<Scalars['String']['output']>; voidedAt?: Maybe<Scalars['DateTime']['output']>; /** * Who retracted this entry with `labVoidNotebookEntry`, when, and why. Null on * every entry that has not been voided; always populated together. */ voidedById?: Maybe<Scalars['ID']['output']>; witnessedAt?: Maybe<Scalars['DateTime']['output']>; witnessedById?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type LabNotebookEntryConnection = { __typename?: 'LabNotebookEntryConnection'; items: Array<LabNotebookEntry>; pageInfo: LabPageInfo; }; /** * ELN entry state. DRAFT and SUBMITTED are working states; SIGNED, WITNESSED and * VOID are ATTESTED — permanent records that are never archived or deleted, by * `labArchiveNotebookEntry` or by a cascade from the experiment or project they * belong to. */ export declare enum LabNotebookEntryStatus { /** Being written. The only state `labSubmitNotebookEntry` accepts. */ Draft = "DRAFT", /** Signed by its author (`labSignNotebookEntry`). Permanent. */ Signed = "SIGNED", /** * Finished by its author and awaiting signature. Set by * `labSubmitNotebookEntry`; `labSignNotebookEntry` accepts a DRAFT or a * SUBMITTED entry, so the review step is available without being mandatory. */ Submitted = "SUBMITTED", /** * Retracted with a documented reason (`labVoidNotebookEntry`), carrying * `voidedById`, `voidedAt` and `voidReason`. A voided entry stays fully listable * and readable: GxP / 21-CFR-11 requires a correction to be documented, not * erased. This is the retraction path for an entry that has already been signed, * since an attested record is never archived. */ Void = "VOID", /** Counter-signed by a second actor (`labWitnessNotebookEntry`). Permanent. */ Witnessed = "WITNESSED" } export type LabPageInfo = { __typename?: 'LabPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type LabPipelinePageInfo = { __typename?: 'LabPipelinePageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type LabPipelineRun = { __typename?: 'LabPipelineRun'; createdAt: Scalars['DateTime']['output']; datasetId?: Maybe<Scalars['ID']['output']>; datasetVersionId?: Maybe<Scalars['ID']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; log?: Maybe<Scalars['String']['output']>; outputDatasetId?: Maybe<Scalars['ID']['output']>; parameters?: Maybe<Scalars['JSON']['output']>; pipeline?: Maybe<LabAnalysisPipeline>; pipelineId: Scalars['ID']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: LabPipelineRunStatus; triggeredById?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabPipelineRunConnection = { __typename?: 'LabPipelineRunConnection'; items: Array<LabPipelineRun>; pageInfo: LabDatasetPageInfo; }; export declare enum LabPipelineRunStatus { Cancelled = "CANCELLED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED" } export type LabProject = { __typename?: 'LabProject'; code?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; experiments: Array<LabExperiment>; field?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; principalInvestigatorId?: Maybe<Scalars['ID']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: LabProjectStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; visibility: LabProjectVisibility; workspaceId: Scalars['ID']['output']; }; export type LabProjectConnection = { __typename?: 'LabProjectConnection'; items: Array<LabProject>; pageInfo: LabPageInfo; }; export declare enum LabProjectStatus { Active = "ACTIVE", /** * Archived. Set ONLY by `labArchiveProject`, which soft-deletes the project at * the same time — `labUpdateProject` rejects this value so status and the * soft-delete marker can never disagree. Archived projects are excluded from * every listing except `labListProjects(status: ARCHIVED)`, and * `labProject(id:)` resolves them to null. */ Archived = "ARCHIVED", Completed = "COMPLETED", OnHold = "ON_HOLD", Planning = "PLANNING" } export declare enum LabProjectVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } export type LabProtocol = { __typename?: 'LabProtocol'; authorId?: Maybe<Scalars['ID']['output']>; /** * Free-form provenance bag. An AI-suggested protocol carries * `generatedBy: "ai"`, the `agentRunId` of the LabAgentRun that designed it, and * the objective it was designed for; a revision carries * `revisedFromProtocolId` / `revisedFromVersion`. */ context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; estimatedMinutes: Scalars['Int']['output']; id: Scalars['ID']['output']; materials: Array<Scalars['String']['output']>; name: Scalars['String']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; safetyNotes?: Maybe<Scalars['String']['output']>; status: LabProtocolStatus; steps: Array<LabProtocolStep>; summary?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type LabProtocolConnection = { __typename?: 'LabProtocolConnection'; items: Array<LabProtocol>; pageInfo: LabProtocolPageInfo; }; export type LabProtocolPageInfo = { __typename?: 'LabProtocolPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; /** * Lifecycle of a protocol (SOP). * * DRAFT is the only editable state. `labPublishProtocol` freezes the protocol: * its content and its steps can no longer change, so an experiment that recorded * `protocolId` always resolves the exact method it was run against. Changing a * published method means `labReviseProtocol`, which opens a NEW draft at * `version + 1` and leaves the published row untouched. */ export declare enum LabProtocolStatus { /** * Retired. Set by `labDeprecateProtocol` on a PUBLISHED protocol so a superseded * SOP stops being offered. Still frozen, still resolvable, NOT soft-deleted — * runs that referenced it keep working. */ Deprecated = "DEPRECATED", /** Editable. The only state `labUpdateProtocol` and `labAddProtocolStep` accept. */ Draft = "DRAFT", /** * Frozen and executable. Set by `labPublishProtocol`, which requires at least * one step. Content edits and step additions are rejected with * FAILED_PRECONDITION (`extensions.detail: "protocol-frozen"`). */ Published = "PUBLISHED" } export type LabProtocolStep = { __typename?: 'LabProtocolStep'; createdAt: Scalars['DateTime']['output']; durationMinutes: Scalars['Int']['output']; id: Scalars['ID']['output']; instruction: Scalars['String']['output']; isCritical: Scalars['Boolean']['output']; kind: LabStepKind; ordinal: Scalars['Int']['output']; protocolId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabProvenanceEdge = { __typename?: 'LabProvenanceEdge'; fromNodeId: Scalars['ID']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; toNodeId: Scalars['ID']['output']; }; export declare enum LabProvenanceEntityType { LabAnalysisPipeline = "LAB_ANALYSIS_PIPELINE", LabDataset = "LAB_DATASET", LabDatasetVersion = "LAB_DATASET_VERSION", LabExperiment = "LAB_EXPERIMENT", LabExperimentRun = "LAB_EXPERIMENT_RUN", LabNotebookEntry = "LAB_NOTEBOOK_ENTRY", LabPipelineRun = "LAB_PIPELINE_RUN", LabProject = "LAB_PROJECT", LabProtocol = "LAB_PROTOCOL" } export type LabProvenanceGraph = { __typename?: 'LabProvenanceGraph'; edges: Array<LabProvenanceEdge>; nodes: Array<LabProvenanceNode>; rootNodeId: Scalars['ID']['output']; }; export type LabProvenanceNode = { __typename?: 'LabProvenanceNode'; checksum?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; entityType: LabProvenanceEntityType; id: Scalars['ID']['output']; label: Scalars['String']['output']; }; export type LabRecordRunResultsInput = { notes?: InputMaybe<Scalars['String']['input']>; observations?: InputMaybe<Scalars['JSON']['input']>; }; /** Top-level research analytics payload for a workspace. */ export type LabResearchAnalytics = { __typename?: 'LabResearchAnalytics'; /** Live experiment counts grouped by lifecycle status. */ experimentStatusDistribution: Array<LabStatusCount>; /** Experiments and runs created per ISO week (e.g. `2026-W33`). */ experimentThroughputByWeek: Array<LabWeeklyThroughput>; /** ELN entries grouped by attestation state. */ notebookEntriesByAttestation: Array<LabAttestationCount>; /** Analysis pipeline runs grouped by execution status. */ pipelineRunsByStatus: Array<LabStatusCount>; /** High-level KPIs for the workspace. */ summary: LabResearchAnalyticsSummary; }; /** High-level KPIs shown at the top of the Research Analytics page. */ export type LabResearchAnalyticsSummary = { __typename?: 'LabResearchAnalyticsSummary'; /** Average minutes from notebook entry creation to signature, or 0 if none. */ averageTimeToSignMinutes: Scalars['Float']['output']; /** Total number of immutable dataset versions registered. */ datasetVersions: Scalars['Int']['output']; /** Number of experiments that have reached COMPLETE status. */ experimentsCompleted: Scalars['Int']['output']; /** Percentage of terminal runs that succeeded (0–100). */ runSuccessRate: Scalars['Float']['output']; }; export type LabRunPipelineInput = { datasetId?: InputMaybe<Scalars['ID']['input']>; datasetVersionId?: InputMaybe<Scalars['ID']['input']>; parameters?: InputMaybe<Scalars['JSON']['input']>; pipelineId: Scalars['ID']['input']; }; /** What the AI thinks should happen next for an experiment. */ export declare enum LabRunRecommendation { /** Run again with different parameter values (see `suggestedParameters`). */ AdjustParameters = "ADJUST_PARAMETERS", /** The evidence is sufficient; stop running and write it up. */ Conclude = "CONCLUDE", /** A human should look at this before any further run is started. */ EscalateReview = "ESCALATE_REVIEW", /** Repeat the experiment unchanged — the result needs corroboration. */ Replicate = "REPLICATE" } export type LabRunRecommendationResult = { __typename?: 'LabRunRecommendationResult'; agentRunId: Scalars['ID']['output']; /** * Whether the proposal was written onto the experiment's context (false only if * the experiment vanished between read and write). It is recorded there with * status PROPOSED — nothing is applied to the experiment until a researcher * resolves it via labOverrideAgentRun. */ appliedToExperiment: Scalars['Boolean']['output']; confidence: Scalars['Float']['output']; /** The referenced LabAgentRun's own createdAt — the response and the ledger row it points at always agree. */ createdAt: Scalars['DateTime']['output']; experimentId: Scalars['ID']['output']; flags: Array<Scalars['String']['output']>; rationale: Scalars['String']['output']; recommendation: LabRunRecommendation; /** Proposed parameter values for the next run — only populated for ADJUST_PARAMETERS. */ suggestedParameters?: Maybe<Scalars['JSON']['output']>; }; export declare enum LabRunStatus { Cancelled = "CANCELLED", Failed = "FAILED", /** * Executing. Set by `labStartRun` (immediately) or `labBeginRun` (from PLANNED). * A run in this state cannot be archived. */ InProgress = "IN_PROGRESS", /** * Scheduled but not begun. Set by `labPlanRun`; `labBeginRun` moves it to * IN_PROGRESS and stamps `startedAt`. A planned run can also be closed directly * with `labCompleteRun(status: CANCELLED)` if it never happens. */ Planned = "PLANNED", Succeeded = "SUCCEEDED" } export type LabSetInventoryStatusInput = { /** Why the stock was held or released. Recorded on the ledger. */ reason?: InputMaybe<Scalars['String']['input']>; /** * QUARANTINED to hold the stock, or IN_STOCK to release it (the status is then * RE-DERIVED from quantity and expiry, so a released empty lot comes back * OUT_OF_STOCK and an expired one comes back EXPIRED). LOW, OUT_OF_STOCK and * EXPIRED are derived and rejected with BAD_USER_INPUT. */ status: LabInventoryStatus; }; /** A generic status → count bucket used by pie/donut/bar charts. */ export type LabStatusCount = { __typename?: 'LabStatusCount'; /** Number of records in this status. */ count: Scalars['Int']['output']; /** The status value (e.g. `COMPLETE`, `SUCCEEDED`). */ status: Scalars['String']['output']; }; export declare enum LabStepKind { Analysis = "ANALYSIS", Cleanup = "CLEANUP", Incubation = "INCUBATION", Measurement = "MEASUREMENT", Preparation = "PREPARATION", Safety = "SAFETY" } export type LabSuggestProtocolInput = { constraints?: InputMaybe<Scalars['String']['input']>; experimentId?: InputMaybe<Scalars['ID']['input']>; objective: Scalars['String']['input']; /** Exactly one of projectId / experimentId must be supplied. */ projectId?: InputMaybe<Scalars['ID']['input']>; requestedProvider?: InputMaybe<Scalars['String']['input']>; }; export type LabSuggestedProtocolResult = { __typename?: 'LabSuggestedProtocolResult'; /** The append-only LabAgentRun row this generation was recorded as. */ agentRunId: Scalars['ID']['output']; /** The DRAFT protocol that was written, with its ordered steps. */ protocol: LabProtocol; stepCount: Scalars['Int']['output']; }; export type LabUpdateExperimentInput = { description?: InputMaybe<Scalars['String']['input']>; hypothesis?: InputMaybe<Scalars['String']['input']>; leadResearcherId?: InputMaybe<Scalars['ID']['input']>; protocolId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; variables?: InputMaybe<Scalars['JSON']['input']>; }; export type LabUpdateInstrumentInput = { description?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabInstrumentStatus>; }; export type LabUpdateProjectInput = { code?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; field?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; principalInvestigatorId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<LabProjectStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; visibility?: InputMaybe<LabProjectVisibility>; }; export type LabUpdateProtocolInput = { /** * Whole minutes, 0 or more. A fraction or a negative value is BAD_USER_INPUT * naming `estimatedMinutes`. */ estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; materials?: InputMaybe<Array<Scalars['String']['input']>>; name?: InputMaybe<Scalars['String']['input']>; safetyNotes?: InputMaybe<Scalars['String']['input']>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** One ISO week of experiment/run throughput. */ export type LabWeeklyThroughput = { __typename?: 'LabWeeklyThroughput'; /** Number of experiments created in this week. */ experiments: Scalars['Int']['output']; /** Number of experiment runs created in this week. */ runs: Scalars['Int']['output']; /** ISO week label in `YYYY-WNN` form. */ week: Scalars['String']['output']; }; /** * The workspace's saved default AI provider/model, or null when the workspace * has not overridden the platform default chain. */ export type LabWorkspaceAiConfig = { __typename?: 'LabWorkspaceAiConfig'; /** * Whether this workspace opted in to the autonomous agent loop (BOFF-3585), * which periodically runs `labRecommendNextRun` for experiments with recent * completed runs that nobody has assessed lately. * * False for every workspace that has not explicitly opted in. The loop is also * gated per deployment by the LABSOFSCIENCE_AGENT_LOOP_ENABLED kill switch, so * a true here does not on its own mean the loop is running. */ autoPilotEnabled: Scalars['Boolean']['output']; /** * When a scheduled tick last considered this workspace, or null if it never * has. A recent timestamp with no new LabAgentRun rows means the tick ran but * found nothing due — or skipped the workspace for want of a provider key or * of plan headroom. */ autoPilotLastRunAt?: Maybe<Scalars['DateTime']['output']>; model: Scalars['String']['output']; provider: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type LabWorkspaceTotals = { __typename?: 'LabWorkspaceTotals'; datasets: Scalars['Int']['output']; experiments: Scalars['Int']['output']; instruments: Scalars['Int']['output']; inventoryItems: Scalars['Int']['output']; notebookEntries: Scalars['Int']['output']; pipelineRuns: Scalars['Int']['output']; pipelines: Scalars['Int']['output']; projects: Scalars['Int']['output']; protocols: Scalars['Int']['output']; runs: Scalars['Int']['output']; }; export type LeaveCallPayload = { __typename?: 'LeaveCallPayload'; callSessionId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type LeaveConversationPayload = { __typename?: 'LeaveConversationPayload'; conversationId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; /** * A litigation/legal-hold record. While ACTIVE, it suspends retention-driven * partition drops for any ActivityLog partition whose date range it overlaps. */ export type LegalHold = { __typename?: 'LegalHold'; actorId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; dateFrom?: Maybe<Scalars['DateTime']['output']>; dateTo?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; reason: Scalars['String']['output']; releasedAt?: Maybe<Scalars['DateTime']['output']>; releasedBy?: Maybe<Scalars['ID']['output']>; resourceId?: Maybe<Scalars['ID']['output']>; resourceType?: Maybe<Scalars['String']['output']>; status: LegalHoldStatus; workspaceId: Scalars['ID']['output']; }; export declare enum LegalHoldStatus { Active = "ACTIVE", Released = "RELEASED" } /** * A single purchased license entitlement backing a SoftwareAsset -- one title * can carry several of these (different SKUs, purchase orders, metrics, * expiries), which is what a real Effective License Position needs instead of * a single seatsPurchased/seatsUsed ratio. */ export type LicenseEntitlement = { __typename?: 'LicenseEntitlement'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency?: Maybe<Scalars['String']['output']>; effectiveDate?: Maybe<Scalars['DateTime']['output']>; expiryDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; metricType: LicenseMetricType; notes?: Maybe<Scalars['String']['output']>; purchaseOrderRef?: Maybe<Scalars['String']['output']>; quantityEntitled: Scalars['Int']['output']; sku: Scalars['String']['output']; softwareAssetId: Scalars['ID']['output']; unitCost?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['String']['output']; vendorContractRef?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** * Per-user / per-device / per-core / per-instance / site / concurrent-session * licensing metrics -- the dimension a purchased entitlement is measured in. */ export declare enum LicenseMetricType { Concurrent = "CONCURRENT", PerCore = "PER_CORE", PerDevice = "PER_DEVICE", PerInstance = "PER_INSTANCE", PerUser = "PER_USER", Site = "SITE" } /** * Effective License Position outcome for a software title: COMPLIANT when * entitled quantity matches usage, OVER_LICENSED when more was purchased than * used (wasted renewal spend), UNDER_LICENSED when more is used than entitled * (vendor-audit exposure). */ export declare enum LicensePositionType { Compliant = "COMPLIANT", OverLicensed = "OVER_LICENSED", UnderLicensed = "UNDER_LICENSED" } /** Input for linking a DataSink to a Workflow */ export type LinkDataSinkInput = { dataMapping?: InputMaybe<Scalars['JSON']['input']>; dataSinkKey: Scalars['String']['input']; priority?: InputMaybe<Scalars['Int']['input']>; }; export type LinkEntityToVibeInput = { entityId: Scalars['ID']['input']; entityType: VibeEntityType; vibeId: Scalars['ID']['input']; visibility?: InputMaybe<VibeVisibility>; }; /** * BOFF-6095 — link an already-recorded harvest into inventory after the fact. * * `addToInventory` can only be decided at creation time, so produce recorded without it was * stranded outside inventory forever. This is the way back in. */ export type LinkHarvestToInventoryInput = { context: ContextInput; id: Scalars['ID']['input']; /** Optional inventory Product category (default: the crop's category, else 'Produce'). */ productCategory?: InputMaybe<Scalars['String']['input']>; }; export type LinkWorkflowGitRepositoryInput = { /** * GitLab only: the https URL of a self-managed instance (for example https://gitlab.example.com). * Its host must be on the service's allow-list; omit it for gitlab.com. */ baseUrl?: InputMaybe<Scalars['String']['input']>; branch: Scalars['String']['input']; /** An ACTIVE wspace-integrations-svc connection for the provider (github, gitlab or azure-devops). */ connectionId: Scalars['ID']['input']; /** Folder inside the repository; empty or omitted for the root. */ pathPrefix?: InputMaybe<Scalars['String']['input']>; provider: WorkflowGitProvider; /** Default true on first link; omitted keeps the current value. */ pushOnActivation?: InputMaybe<Scalars['Boolean']['input']>; /** Default true on first link; omitted keeps the current value. */ pushOnPromotion?: InputMaybe<Scalars['Boolean']['input']>; /** * GitHub: owner/name or a github.com URL. GitLab: group[/subgroup]/project or a project URL. * Azure DevOps: organization/project/repository or a dev.azure.com/visualstudio.com repository URL. */ repository: Scalars['String']['input']; }; /** * Input for listing workflows * Dynamic context filtering - workspaceId comes from context * Other fields (projectId, teamId, etc.) can be filtered via customFilters JSON */ export type ListWorkflowDefinitionsInput = { /** Narrow by how the caller reaches each workflow (BOFF-9726). Omitted or ALL: everything they can see. */ access?: InputMaybe<WorkflowAccessFilter>; /** Filter by category */ category?: InputMaybe<Scalars['String']['input']>; /** Dynamic filters for context JSON fields (e.g., { projectId: 'xxx', teamId: 'yyy' }) */ customFilters?: InputMaybe<Scalars['JSON']['input']>; /** * Only workflows run in this mode (BOFF-9955). With latestOnly, the latest version of each workflow * must be in it; otherwise every version is matched on its own. */ executionMode?: InputMaybe<WorkflowExecutionMode>; /** Return only the latest version per workflowKey (default: false) */ latestOnly?: InputMaybe<Scalars['Boolean']['input']>; /** Limit results (default: 10) */ limit?: InputMaybe<Scalars['Int']['input']>; /** Offset for pagination (default: 0) */ offset?: InputMaybe<Scalars['Int']['input']>; /** Filter by workflow status */ status?: InputMaybe<WorkflowStatus>; /** Filter by tags */ tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** Input for listing runs */ export type ListWorkflowRunsInput = { /** Only runs with this workflow id (parity: needs fluidgrids.durable-parity). */ businessId?: InputMaybe<Scalars['String']['input']>; /** Filter runs whose duration (seconds) is at most this value (BOFF-7519). Runs still in progress never match. */ durationMaxSeconds?: InputMaybe<Scalars['Float']['input']>; /** Filter runs whose duration (seconds) is at least this value (BOFF-7519). Runs still in progress never match. */ durationMinSeconds?: InputMaybe<Scalars['Float']['input']>; /** Filter runs created at-or-before this instant (inclusive). Bound to `createdAt` on WorkflowRun. */ endDate?: InputMaybe<Scalars['DateTime']['input']>; /** Filter by the run's terminal error classification (BOFF-7519). */ errorType?: InputMaybe<ErrorType>; /** Only canvas runs (GRAPH) or only durable-function runs (DURABLE_FN) (BOFF-9905). */ executionKind?: InputMaybe<ExecutionKind>; /** * Only runs in which a node of this type failed (BOFF-9974), e.g. `internal:http`: the runs behind a * node of errorAnalytics.topFailingNodes. */ failedNodeType?: InputMaybe<Scalars['String']['input']>; /** Only the runs of the continue-as-new chain that started with this run (parity). */ firstRunId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; /** Only runs whose memo contains this object (JSON containment, not indexed; parity). */ memo?: InputMaybe<Scalars['JSON']['input']>; /** Filter to runs that executed — in any status — a node with this id (BOFF-7519). */ nodeId?: InputMaybe<Scalars['String']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; /** Only the runs under this root run of a call tree (parity). */ rootRunId?: InputMaybe<Scalars['ID']['input']>; /** * Free-text filter for the Runs screen's search box. Case-insensitive; matches * a run whose id starts with the term, or whose workflow key or workflow name * contains it. Blank or whitespace-only is treated as no filter. */ search?: InputMaybe<Scalars['String']['input']>; /** * Phase C (needs fluidgrids.search-attributes): only runs whose search attributes match. Combines * with every other filter but search, nodeId, triggerType, rootRunId and memo. */ searchAttributes?: InputMaybe<WorkflowSearchAttributeFilterInput>; /** Filter runs created at-or-after this instant (inclusive). Bound to `createdAt` on WorkflowRun. */ startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<RunStatus>; /** * Only runs carrying these wspace-tags-svc tags (FLUIDGRIDS_RUN assignments). * Any of them by default; every one of them with `tagMatchAll: true`. Empty or * omitted is no tag filter. */ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** With `tagIds`: true = a run must carry every tag; false (default) = any of them. */ tagMatchAll?: InputMaybe<Scalars['Boolean']['input']>; /** Filter by coarse trigger type (BOFF-7519). */ triggerType?: InputMaybe<RunTriggerType>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; export type ListenForFormTestSubmissionInput = { /** The Form Trigger node. */ triggerNodeId: Scalars['String']['input']; /** The saved version to test (draft or active). */ version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; export type ListenForWebhookTestEventInput = { triggerNodeId: Scalars['String']['input']; /** The saved version to test (draft or active). */ version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * An individual's own raw GPS check-in — self-scoped: every field is * authenticated-actor-only, and the resolvers additionally owner-filter every * query/mutation by the calling actor's id (see LocationService.getOwnLocationEntryById * and friends). Managers get workspace visibility only via the aggregate * `locationStats` (no raw coordinates), never via this type. */ export type LocationEntry = { __typename?: 'LocationEntry'; accuracy?: Maybe<Scalars['Float']['output']>; address?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; duration?: Maybe<Scalars['Int']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; geofence?: Maybe<Geofence>; geofenceId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; latitude: Scalars['Float']['output']; longitude: Scalars['Float']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; projectId?: Maybe<Scalars['ID']['output']>; startTime: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type LocationEntryFilterInput = { endDate?: InputMaybe<Scalars['DateTime']['input']>; geofenceId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; export type LocationEntryListResponse = { __typename?: 'LocationEntryListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<LocationEntry>; total: Scalars['Int']['output']; }; export type LocationStats = { __typename?: 'LocationStats'; mostFrequentLocation?: Maybe<Scalars['String']['output']>; totalDuration: Scalars['Int']['output']; totalLocations: Scalars['Int']['output']; uniqueAddresses: Scalars['Int']['output']; }; export declare enum LocationType { Hybrid = "HYBRID", Online = "ONLINE", Physical = "PHYSICAL", Tbd = "TBD" } export type LockCheckResult = { __typename?: 'LockCheckResult'; canAcquireLock: Scalars['Boolean']['output']; conflictingLocks?: Maybe<Array<FileLock>>; isLocked: Scalars['Boolean']['output']; lock?: Maybe<FileLock>; message?: Maybe<Scalars['String']['output']>; }; export declare enum LockType { /** * Optimistic locking - last-write-wins with version check * Allows multiple users to work, validates on save */ Optimistic = "OPTIMISTIC", /** * Pessimistic locking - exclusive lock * Only one user can edit at a time */ Pessimistic = "PESSIMISTIC", /** * Shared read lock - multiple readers allowed * Prevents writes while reads are ongoing */ Shared = "SHARED" } export declare enum LogAction { ApiCall = "API_CALL", AuthCompleted = "AUTH_COMPLETED", AuthFailed = "AUTH_FAILED", AuthInitiated = "AUTH_INITIATED", ConnectionCreated = "CONNECTION_CREATED", ConnectionDeleted = "CONNECTION_DELETED", ConnectionUpdated = "CONNECTION_UPDATED", CredentialUpdated = "CREDENTIAL_UPDATED", PermissionChanged = "PERMISSION_CHANGED", TokenExpired = "TOKEN_EXPIRED", TokenRefreshed = "TOKEN_REFRESHED", TokenRevoked = "TOKEN_REVOKED" } export type LogFilterInput = { action?: InputMaybe<LogAction>; connectionId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; level?: InputMaybe<LogLevel>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type LogHealthyBowlLabourEntryInput = { context: ContextInput; costCenterId: Scalars['ID']['input']; crewId?: InputMaybe<Scalars['ID']['input']>; cropId?: InputMaybe<Scalars['ID']['input']>; date?: InputMaybe<Scalars['String']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; hours?: InputMaybe<Scalars['Float']['input']>; note?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; rateAmount?: InputMaybe<Scalars['Float']['input']>; rateType?: InputMaybe<Scalars['String']['input']>; taskId?: InputMaybe<Scalars['String']['input']>; workerId: Scalars['ID']['input']; }; export declare enum LogLevel { Debug = "DEBUG", Error = "ERROR", Info = "INFO", Warning = "WARNING" } export type LogList = { __typename?: 'LogList'; hasMore: Scalars['Boolean']['output']; items: Array<IntegrationLog>; total: Scalars['Int']['output']; }; export type LogMedicationTreatmentInput = { administeredBy?: InputMaybe<Scalars['String']['input']>; animalId: Scalars['ID']['input']; /** Antibiotic | Dewormer | Antiparasitic | NSAID | Hormone | Vaccine | Other */ className?: InputMaybe<Scalars['String']['input']>; context: ContextInput; dose?: InputMaybe<Scalars['String']['input']>; eggsWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; meatWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; /** Optional library item chosen; null for a free-text medication. */ medicationLibraryItemId?: InputMaybe<Scalars['ID']['input']>; medicationName: Scalars['String']['input']; /** Per-produce withdrawal days; null = produce not applicable. Overrides the library defaults. */ milkWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** IM | IV | IM/IV | SC | Oral | Intramammary | Topical | Other */ route?: InputMaybe<Scalars['String']['input']>; /** Treatment date (ISO). Withdrawal clear dates are computed from this + the withdrawal days. */ treatmentDate: Scalars['String']['input']; }; /** * Promote a diagnosed scan into a tracked PestIssue. Unset fields default to the * scan's top diagnosis so the pest issue is pre-filled in one tap. */ export type LogPlantScanToPestIssueInput = { /** Link the scan photo to the pest issue (stored in the issue's context). Default true. */ attachPhoto?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; cropAffected?: InputMaybe<Scalars['String']['input']>; /** The field the pest issue belongs to (PestIssue requires a real field). */ fieldId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; pestName?: InputMaybe<Scalars['String']['input']>; scanId: Scalars['ID']['input']; /** One of: LOW | MEDIUM | HIGH | CRITICAL (case-insensitive). */ severity?: InputMaybe<Scalars['String']['input']>; /** One of: ACTIVE | TREATING | RESOLVED | MONITORING (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; treatment?: InputMaybe<Scalars['String']['input']>; /** One of: INSECT | DISEASE | WEED | FUNGUS (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type LogStreamDestination = { __typename?: 'LogStreamDestination'; /** * Provider-specific extras (syslog facility/appName, webhook extra headers, * Sentry environment/release tag). */ config?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** WEBHOOK: the URL to POST to. SYSLOG: "host:port" (UDP). SENTRY: the DSN. */ endpoint: Scalars['String']['output']; eventFilters: Array<LogStreamEventType>; /** * True when a WEBHOOK signing secret is configured. The secret itself is * never returned by any query. */ hasSecret: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; lastDispatchError?: Maybe<Scalars['String']['output']>; lastDispatchStatus?: Maybe<Scalars['String']['output']>; lastDispatchedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; provider: LogStreamProvider; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type LogStreamDestinationResponse = MutationResponse & { __typename?: 'LogStreamDestinationResponse'; destination?: Maybe<LogStreamDestination>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; /** * Run/node lifecycle events a destination can subscribe to. LOG_ERROR/LOG_WARN * forward individual run-log lines at or above that severity; the rest forward * a single summary event for the run/node transition. */ export declare enum LogStreamEventType { /** A durable activity failed and will not be retried (BOFF-9905). */ ActivityFailed = "ACTIVITY_FAILED", /** A durable activity was paused by an operator or a pause rule (BOFF-9906, Phase C). */ ActivityPaused = "ACTIVITY_PAUSED", /** A durable activity attempt failed and will be retried after a backoff (BOFF-9905). */ ActivityRetried = "ACTIVITY_RETRIED", /** A durable-function run's workflow task hit a determinism violation; fired once per run (BOFF-9905). */ DeterminismViolation = "DETERMINISM_VIOLATION", LogError = "LOG_ERROR", LogWarn = "LOG_WARN", NodeFailed = "NODE_FAILED", NodeRetried = "NODE_RETRIED", RunCancelled = "RUN_CANCELLED", RunCompleted = "RUN_COMPLETED", RunFailed = "RUN_FAILED", RunStarted = "RUN_STARTED", /** A schedule paused itself after a run it started failed (BOFF-9906, Phase C). */ SchedulePausedOnFailure = "SCHEDULE_PAUSED_ON_FAILURE", /** A worker session stopped polling its task queue (BOFF-9906, Phase C). */ WorkerStale = "WORKER_STALE", /** Work waits on a self-hosted task queue that no worker polls (BOFF-9906, Phase C). */ WorkerUnavailable = "WORKER_UNAVAILABLE", /** Finished runs could not be archived before their purge; raised at most daily per workspace (BOFF-9906, Phase C). */ WorkflowArchiveFailed = "WORKFLOW_ARCHIVE_FAILED" } export declare enum LogStreamProvider { Sentry = "SENTRY", Syslog = "SYSLOG", Webhook = "WEBHOOK" } export type McpConnection = { __typename?: 'MCPConnection'; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; credentialsHash?: Maybe<Scalars['String']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastConnectedAt?: Maybe<Scalars['DateTime']['output']>; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; status: McpConnectionStatus; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type McpConnectionFilterInput = { status?: InputMaybe<McpConnectionStatus>; type?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum McpConnectionStatus { Connected = "CONNECTED", Connecting = "CONNECTING", Disconnected = "DISCONNECTED", Error = "ERROR" } export type McpResource = { __typename?: 'MCPResource'; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; mimeType?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; type: McpResourceType; updatedAt: Scalars['DateTime']['output']; uri: Scalars['String']['output']; }; export declare enum McpResourceType { Api = "API", Custom = "CUSTOM", Database = "DATABASE", File = "FILE", Url = "URL" } export type McpTool = { __typename?: 'MCPTool'; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; inputSchema: Scalars['JSON']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; riskLevel: McpToolRiskLevel; status: McpToolStatus; updatedAt: Scalars['DateTime']['output']; }; export type McpToolCallResult = { __typename?: 'MCPToolCallResult'; connectionId: Scalars['ID']['output']; content: Scalars['String']['output']; durationMs: Scalars['Int']['output']; isError: Scalars['Boolean']['output']; raw?: Maybe<Scalars['JSON']['output']>; toolName: Scalars['String']['output']; }; export declare enum McpToolRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum McpToolStatus { Available = "AVAILABLE", Deprecated = "DEPRECATED", Unavailable = "UNAVAILABLE" } export type MailboxAccount = { __typename?: 'MailboxAccount'; connectionId: Scalars['ID']['output']; emailAddress?: Maybe<Scalars['String']['output']>; kind: MailboxKind; name: Scalars['String']['output']; providerKey: Scalars['String']['output']; status: ConnectionStatus; }; export type MailboxAddress = { __typename?: 'MailboxAddress'; email: Scalars['String']['output']; name?: Maybe<Scalars['String']['output']>; }; export type MailboxAttachment = { __typename?: 'MailboxAttachment'; /** Content-ID for cid: references in bodyHtml, when known. */ contentId?: Maybe<Scalars['String']['output']>; filename: Scalars['String']['output']; /** Stable within the message; pass to mailboxAttachment. */ id: Scalars['ID']['output']; /** Embedded in the body (for example an inline image) rather than attached as a file. */ isInline: Scalars['Boolean']['output']; mimeType: Scalars['String']['output']; /** Bytes, as the provider reports them. */ size: Scalars['Int']['output']; }; export type MailboxAttachmentContent = { __typename?: 'MailboxAttachmentContent'; /** The file's bytes, base64 encoded. Files over 15 MB are refused. */ contentBase64: Scalars['String']['output']; filename: Scalars['String']['output']; mimeType: Scalars['String']['output']; size: Scalars['Int']['output']; }; export declare enum MailboxFolder { All = "ALL", Inbox = "INBOX", Sent = "SENT" } export declare enum MailboxKind { Gmail = "GMAIL", Outlook = "OUTLOOK" } export type MailboxLabel = { __typename?: 'MailboxLabel'; /** Pass as MailboxMessagesInput.folderId to list its messages. */ id: Scalars['ID']['output']; kind: MailboxLabelKind; name: Scalars['String']['output']; /** All messages, when the provider reports it (Outlook). */ totalCount?: Maybe<Scalars['Int']['output']>; /** Unread messages, when the provider reports it (Outlook). */ unreadCount?: Maybe<Scalars['Int']['output']>; }; export declare enum MailboxLabelKind { /** An Outlook mail folder. */ Folder = "FOLDER", /** A Gmail system label such as Inbox, Starred or Trash. */ System = "SYSTEM", /** A label the person created in Gmail. */ User = "USER" } export type MailboxMessage = { __typename?: 'MailboxMessage'; attachments: Array<MailboxAttachment>; /** * The HTML body exactly as the provider stores it, or null for text-only mail. * It is untrusted: sanitise it and render it in a sandboxed frame with scripts * disabled and remote content blocked, falling back to bodyText. */ bodyHtml?: Maybe<Scalars['String']['output']>; /** Plain-text body. HTML-only mail is converted to text. */ bodyText: Scalars['String']['output']; cc: Array<MailboxAddress>; from?: Maybe<MailboxAddress>; hasAttachments: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isUnread: Scalars['Boolean']['output']; receivedAt?: Maybe<Scalars['DateTime']['output']>; snippet: Scalars['String']['output']; subject: Scalars['String']['output']; threadId: Scalars['ID']['output']; to: Array<MailboxAddress>; }; export type MailboxMessagePage = { __typename?: 'MailboxMessagePage'; messages: Array<MailboxMessageSummary>; /** Opaque token for the next page; null on the last page. */ nextPageToken?: Maybe<Scalars['String']['output']>; }; export type MailboxMessageSummary = { __typename?: 'MailboxMessageSummary'; from?: Maybe<MailboxAddress>; hasAttachments: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isUnread: Scalars['Boolean']['output']; receivedAt?: Maybe<Scalars['DateTime']['output']>; snippet: Scalars['String']['output']; subject: Scalars['String']['output']; threadId: Scalars['ID']['output']; to: Array<MailboxAddress>; }; export type MailboxMessagesInput = { connectionId: Scalars['ID']['input']; folder?: InputMaybe<MailboxFolder>; /** A label or folder id from mailboxLabels. When set it replaces folder. */ folderId?: InputMaybe<Scalars['ID']['input']>; /** 1-50, default 25. */ limit?: InputMaybe<Scalars['Int']['input']>; pageToken?: InputMaybe<Scalars['String']['input']>; /** Provider search syntax (Gmail search operators, Outlook KQL). At most 500 characters. */ query?: InputMaybe<Scalars['String']['input']>; }; export type MailboxSendResult = { __typename?: 'MailboxSendResult'; /** Provider message id, when the provider returns one (Gmail does, Outlook does not). */ messageId?: Maybe<Scalars['ID']['output']>; threadId?: Maybe<Scalars['ID']['output']>; }; export type MailboxThread = { __typename?: 'MailboxThread'; id: Scalars['ID']['output']; /** Oldest first. */ messages: Array<MailboxMessage>; subject: Scalars['String']['output']; }; /** * An annual maintenance contract (AMC) covering one or more assets (BOFF-6033). * `status` and `daysToExpiry` are **derived on every read** from the dates below — they are not * columns. A stored status is correct only until the clock passes it and nobody has run a sweep, * which is precisely the "a contract can lapse unnoticed" failure this exists to fix. */ export type MaintenanceContract = { __typename?: 'MaintenanceContract'; /** The assets this contract covers. */ assets: Array<Asset>; autoRenew: Scalars['Boolean']['output']; /** ANNUAL | QUARTERLY | MONTHLY | ONE_OFF */ billingCycle: Scalars['String']['output']; cancelledAt?: Maybe<Scalars['DateTime']['output']>; /** The vendor's own reference, for matching an invoice to a contract. */ contractRef?: Maybe<Scalars['String']['output']>; contractValue?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** Negative once lapsed, so a UI can say "expired 12 days ago". */ daysToExpiry: Scalars['Int']['output']; description?: Maybe<Scalars['String']['output']>; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** True only while the farm can still act — EXPIRING. The actionable state. */ needsAttention: Scalars['Boolean']['output']; /** Warn this many days before endDate. Null is treated as 30. */ renewalNoticeDays?: Maybe<Scalars['Int']['output']>; startDate: Scalars['DateTime']['output']; /** ACTIVE | EXPIRING | EXPIRED | CANCELLED — derived, never stored. */ status: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; vendorName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * BOFF-6033 — maintenance spend split by who actually paid. * * Without this, AMC-covered work sits in the farm's own machinery spend and every cost figure is * overstated. A record with no contract is the farm's cost; the null is the signal. */ export type MaintenanceCostSplit = { __typename?: 'MaintenanceCostSplit'; assetId?: Maybe<Scalars['ID']['output']>; coveredCost: Scalars['Float']['output']; farmCost: Scalars['Float']['output']; }; export type MaintenanceModeStatus = { __typename?: 'MaintenanceModeStatus'; enabled: Scalars['Boolean']['output']; estimatedEnd?: Maybe<Scalars['DateTime']['output']>; reason?: Maybe<Scalars['String']['output']>; }; /** * A recurring preventive-maintenance schedule on an asset (BOFF-6031). * * Before this, a farm could log a service but never schedule one — every service * was recorded after the fact against a single date, so nothing was ever *due*. * * A plan counts in DAYS, in USAGE UNITS, or in both, and comes due at whichever * arrives first. `nextDueAt` / `nextDueMeter` are computed on every read from the * anchor plus the interval — they are deliberately NOT stored, so they cannot * contradict their own inputs after an interval is edited or a service back-dated. */ export type MaintenancePlan = { __typename?: 'MaintenancePlan'; assetId: Scalars['ID']['output']; /** Copied onto each generated record, so a plan carries its own procedure. */ checklistTemplate: Array<Scalars['JSONObject']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; estimatedCost?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; /** Recur every N days. Null means this plan does not count in time. */ intervalDays?: Maybe<Scalars['Int']['output']>; /** * Recur every N usage units, measured against the asset's existing * `unitsProduced` meter. Null means this plan does not count in usage. */ intervalMeter?: Maybe<Scalars['Int']['output']>; /** Inactive plans are kept as history and never come due. */ isActive: Scalars['Boolean']['output']; /** When the plan was last serviced. Null until the first completion. */ lastServiceAt?: Maybe<Scalars['DateTime']['output']>; lastServiceMeter?: Maybe<Scalars['Int']['output']>; /** Raise the record this many days before it falls due. Null is treated as 0. */ leadTimeDays?: Maybe<Scalars['Int']['output']>; priority: Priority; /** Where counting begins before any service exists. */ startAt?: Maybe<Scalars['DateTime']['output']>; startMeter?: Maybe<Scalars['Int']['output']>; title: Scalars['String']['output']; /** PREVENTIVE | CORRECTIVE | PREDICTIVE | INSPECTION. */ type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MaintenanceRecord = { __typename?: 'MaintenanceRecord'; actualCost?: Maybe<Scalars['Float']['output']>; assetId: Scalars['ID']['output']; checklist: Array<Scalars['JSONObject']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** Meter reading the plan was due at. Null for date-only plans and hand-raised records. */ dueMeter?: Maybe<Scalars['Int']['output']>; estimatedCost?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; /** The maintenance contract that covered this work, or null when the farm paid directly. */ maintenanceContractId?: Maybe<Scalars['ID']['output']>; /** * The recurring plan that generated this record (BOFF-6031). Null on every * hand-raised record — including every record raised before plans existed. */ maintenancePlanId?: Maybe<Scalars['ID']['output']>; priority: Priority; scheduledAt?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManAddBomLineInput = { bomId: Scalars['ID']['input']; componentItemId: Scalars['ID']['input']; quantityPer: Scalars['Float']['input']; scrapFactorPct?: InputMaybe<Scalars['Float']['input']>; sequence?: InputMaybe<Scalars['Int']['input']>; }; /** Audit ledger row for one watch-loop invocation (the local AgentRun seam). */ export type ManAgentRun = { __typename?: 'ManAgentRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Normalised invocation cost in USD; deterministic sweeps report 0. */ cost: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; reason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; status: ManWatchRunStatus; summaryJson?: Maybe<Scalars['JSON']['output']>; trigger: ManWatchRunTrigger; workspaceId: Scalars['ID']['output']; }; export type ManAsset = { __typename?: 'ManAsset'; assetTag: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Meter (running hours) at the last completed preventive service — the PM baseline. */ hoursAtLastService?: Maybe<Scalars['Float']['output']>; /** Running hours since the last completed preventive service (lifetime hours if never serviced). */ hoursSinceService: Scalars['Float']['output']; id: Scalars['ID']['output']; installedAt?: Maybe<Scalars['DateTime']['output']>; lastServicedAt?: Maybe<Scalars['DateTime']['output']>; manufacturer?: Maybe<Scalars['String']['output']>; model?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; /** Hours until the next preventive service is due; negative once overdue. Null without a PM interval. */ pmDueInHours?: Maybe<Scalars['Float']['output']>; pmIntervalHours: Scalars['Float']['output']; pmState: ManPmState; runningHours: Scalars['Float']['output']; serialNumber?: Maybe<Scalars['String']['output']>; /** Immutable preventive-service history, newest first. */ serviceHistory: Array<ManAssetServiceRecord>; status: ManAssetStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workCenterId?: Maybe<Scalars['ID']['output']>; workOrders: ManMaintenanceWorkOrderConnection; workspaceId: Scalars['ID']['output']; }; export type ManAssetWorkOrdersArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManAssetConnection = { __typename?: 'ManAssetConnection'; items: Array<ManAsset>; pageInfo: ManPageInfo; }; export type ManAssetServiceRecord = { __typename?: 'ManAssetServiceRecord'; actorId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** Meter at service. Null only for services from before meter readings were captured. */ meterReading?: Maybe<Scalars['Float']['output']>; servicedAt: Scalars['DateTime']['output']; workOrderId: Scalars['ID']['output']; }; export declare enum ManAssetStatus { Degraded = "DEGRADED", Down = "DOWN", Maintenance = "MAINTENANCE", Operational = "OPERATIONAL", Retired = "RETIRED" } export type ManAssignMaterialSerialInput = { /** Record the unit as consumed (default: allocated). */ consume?: InputMaybe<Scalars['Boolean']['input']>; operationId?: InputMaybe<Scalars['ID']['input']>; productionOrderId: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; export type ManBillOfMaterial = { __typename?: 'ManBillOfMaterial'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; lines: ManBomLineConnection; name: Scalars['String']['output']; parentItem?: Maybe<ManInventoryItem>; parentItemId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManBillOfMaterialLinesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManBillOfMaterialConnection = { __typename?: 'ManBillOfMaterialConnection'; items: Array<ManBillOfMaterial>; pageInfo: ManPageInfo; }; export type ManBomExplosion = { __typename?: 'ManBomExplosion'; rows: Array<ManBomExplosionRow>; /** True when the tree had more than 2000 rows and was cut. */ truncated: Scalars['Boolean']['output']; }; /** One row of an indented BOM explosion (BOFF-11326): the item first, then each BOM line depth-first. */ export type ManBomExplosionRow = { __typename?: 'ManBomExplosionRow'; bomLineId?: Maybe<Scalars['ID']['output']>; depth: Scalars['Int']['output']; /** True when the item has an active BOM, so its components follow. */ hasBom: Scalars['Boolean']['output']; itemId: Scalars['ID']['output']; itemType: ManItemType; name: Scalars['String']['output']; /** AVAILABLE material-lot quantity of the item. */ onHandQty: Scalars['Float']['output']; parentItemId?: Maybe<Scalars['ID']['output']>; /** Quantity per unit of the parent, scrap included; 1 for the root. */ quantityPer: Scalars['Float']['output']; /** Quantity needed for the requested root quantity. */ requiredQty: Scalars['Float']['output']; scrapFactorPct: Scalars['Float']['output']; sku: Scalars['String']['output']; uom: Scalars['String']['output']; }; export type ManBomLine = { __typename?: 'ManBomLine'; bomId: Scalars['ID']['output']; componentItem?: Maybe<ManInventoryItem>; componentItemId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; quantityPer: Scalars['Float']['output']; scrapFactorPct: Scalars['Float']['output']; sequence: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManBomLineConnection = { __typename?: 'ManBomLineConnection'; items: Array<ManBomLine>; pageInfo: ManPageInfo; }; /** * Effectiveness check of an NCR's corrective action. Only EFFECTIVE allows the * NCR to close. */ export declare enum ManCapaVerificationResult { Effective = "EFFECTIVE", NotEffective = "NOT_EFFECTIVE" } export declare enum ManChecklistItemResult { Fail = "FAIL", Na = "NA", Pass = "PASS" } export type ManChecklistResult = { __typename?: 'ManChecklistResult'; item: Scalars['String']['output']; reading?: Maybe<Scalars['String']['output']>; result: ManChecklistItemResult; }; export type ManChecklistResultInput = { item: Scalars['String']['input']; reading?: InputMaybe<Scalars['String']['input']>; result: ManChecklistItemResult; }; export type ManCompleteMaintenanceWorkOrderInput = { checklistResults?: InputMaybe<Array<ManChecklistResultInput>>; /** What was done and found. Required. */ completionNotes: Scalars['String']['input']; /** Actual labor time. Must be greater than zero. */ laborMinutes: Scalars['Int']['input']; /** Asset meter (running hours) at completion; cannot go below the last service reading. */ meterReading?: InputMaybe<Scalars['Float']['input']>; partsUsed?: InputMaybe<Array<ManPartUsedInput>>; /** Accountable technician. Defaults to the assigned technician; one is required. */ technicianId?: InputMaybe<Scalars['ID']['input']>; }; export type ManControlChartInput = { /** Required for XBAR_R / INDIVIDUAL_MR (the characteristic name as recorded in `measurements`). Ignored for P_CHART/C_CHART. */ characteristic?: InputMaybe<Scalars['String']['input']>; chartType: ManControlChartType; inspectionPlanId: Scalars['ID']['input']; /** Most recent N inspections to include, oldest-first. Default 100, max 500. */ limit?: InputMaybe<Scalars['Int']['input']>; }; export type ManControlChartPoint = { __typename?: 'ManControlChartPoint'; inspectionId: Scalars['ID']['output']; lowerControlLimitAtPoint: Scalars['Float']['output']; /** True when `value` falls outside [lowerControlLimitAtPoint, upperControlLimitAtPoint]. */ outOfControl: Scalars['Boolean']['output']; /** True when `secondaryValue` falls outside the secondary chart's own limits. Always false when there is no secondary chart. */ secondaryOutOfControl: Scalars['Boolean']['output']; /** The paired secondary-chart value: subgroup range (XBAR_R) or moving range (INDIVIDUAL_MR). Null for P_CHART/C_CHART. */ secondaryValue?: Maybe<Scalars['Float']['output']>; sequence: Scalars['Int']['output']; timestamp?: Maybe<Scalars['DateTime']['output']>; /** * This point's own primary control limits. For P_CHART these vary per point * (sample size differs point to point); for every other chart type they are * simply the chart's constant `upperControlLimit`/`lowerControlLimit`. */ upperControlLimitAtPoint: Scalars['Float']['output']; /** Plotted value: subgroup mean (XBAR_R), the reading itself (INDIVIDUAL_MR), proportion (P_CHART), or count (C_CHART). */ value: Scalars['Float']['output']; }; export type ManControlChartResult = { __typename?: 'ManControlChartResult'; centerLine: Scalars['Float']['output']; /** The named characteristic charted. Null for P_CHART/C_CHART, which chart the whole inspection's sampleSize/defectCount. */ characteristic?: Maybe<Scalars['String']['output']>; chartType: ManControlChartType; /** Process capability against the plan's characteristic min/max, using sigmaHat. Null when spec limits or sigmaHat are unavailable. */ cp?: Maybe<Scalars['Float']['output']>; cpk?: Maybe<Scalars['Float']['output']>; hasOutOfControlPoints: Scalars['Boolean']['output']; inspectionPlanId: Scalars['ID']['output']; lowerControlLimit: Scalars['Float']['output']; lsl?: Maybe<Scalars['Float']['output']>; outOfControlInspectionIds: Array<Scalars['ID']['output']>; pointCount: Scalars['Int']['output']; points: Array<ManControlChartPoint>; /** Process performance against the plan's characteristic min/max, using the overall sample standard deviation. Null when spec limits are unavailable. */ pp?: Maybe<Scalars['Float']['output']>; ppk?: Maybe<Scalars['Float']['output']>; /** Center line of the secondary (R / moving-range) chart. Null for P_CHART/C_CHART. */ secondaryCenterLine?: Maybe<Scalars['Float']['output']>; secondaryLowerControlLimit?: Maybe<Scalars['Float']['output']>; secondaryUpperControlLimit?: Maybe<Scalars['Float']['output']>; /** Within-subgroup sigma estimate (R̄/d2 or MR̄/d2) feeding Cp/Cpk. Null for P_CHART/C_CHART. */ sigmaHat?: Maybe<Scalars['Float']['output']>; /** * Chart-level control limits. For XBAR_R/INDIVIDUAL_MR/C_CHART these are * exact and constant across all points. For P_CHART (sample size may vary * per point) these are computed at the average sample size as a single * reference band; use each point's `upperControlLimitAtPoint`/ * `lowerControlLimitAtPoint` for the exact per-point limits and * out-of-control determination. */ upperControlLimit: Scalars['Float']['output']; usl?: Maybe<Scalars['Float']['output']>; }; export declare enum ManControlChartType { /** Attribute data — defect count per inspection (constant sample size assumed). */ CChart = "C_CHART", /** Variable data, one reading per point (the common manually-entered case). */ IndividualMr = "INDIVIDUAL_MR", /** Attribute data — fraction nonconforming per inspection (sample size may vary). */ PChart = "P_CHART", /** Variable data, constant subgroup size (2-10 readings per point). */ XbarR = "XBAR_R" } export type ManCreateAssetInput = { assetTag: Scalars['String']['input']; installedAt?: InputMaybe<Scalars['DateTime']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; pmIntervalHours?: InputMaybe<Scalars['Float']['input']>; runningHours?: InputMaybe<Scalars['Float']['input']>; serialNumber?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManCreateBomInput = { code: Scalars['String']['input']; name: Scalars['String']['input']; parentItemId: Scalars['ID']['input']; }; export type ManCreateDemandInput = { customerName?: InputMaybe<Scalars['String']['input']>; dueDate: Scalars['DateTime']['input']; itemId: Scalars['ID']['input']; kind?: InputMaybe<ManDemandKind>; notes?: InputMaybe<Scalars['String']['input']>; quantity: Scalars['Float']['input']; reference: Scalars['String']['input']; }; /** * Create a connection. Preferred: pass integrationConnectionId (a QuickBooks connection made through * the integrations service); the realmId comes from that grant and the base URL from environment. * The legacy fields (baseUrl, realmId, accessToken, refreshToken) are only for a pasted-token * connection, which stops syncing when its token expires. */ export type ManCreateErpConnectionInput = { accessToken?: InputMaybe<Scalars['String']['input']>; baseUrl?: InputMaybe<Scalars['String']['input']>; environment?: InputMaybe<ManErpEnvironment>; integrationConnectionId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; provider?: InputMaybe<ManErpProvider>; realmId?: InputMaybe<Scalars['String']['input']>; refreshToken?: InputMaybe<Scalars['String']['input']>; }; export type ManCreateInspectionPlanInput = { characteristics?: InputMaybe<Scalars['JSON']['input']>; code: Scalars['String']['input']; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; productSku?: InputMaybe<Scalars['String']['input']>; stage?: InputMaybe<ManInspectionStage>; }; export type ManCreateInventoryItemInput = { itemType?: InputMaybe<ManItemType>; /** Whole days, 0 to 365. Default 0. */ leadTimeDays?: InputMaybe<Scalars['Int']['input']>; name: Scalars['String']['input']; reorderPoint?: InputMaybe<Scalars['Float']['input']>; sku: Scalars['String']['input']; standardCost?: InputMaybe<Scalars['Float']['input']>; trackingMode?: InputMaybe<ManTrackingMode>; uom?: InputMaybe<Scalars['String']['input']>; }; export type ManCreateMachineTagMappingInput = { assetId: Scalars['ID']['input']; /** RUN_STATE only. Default BREAKDOWN. */ downtimeReason?: InputMaybe<ManDowntimeReason>; isActive?: InputMaybe<Scalars['Boolean']['input']>; kind: ManMachineTagMappingKind; machineCode: Scalars['String']['input']; /** RUN_STATE only. Default 1. */ runningThreshold?: InputMaybe<Scalars['Float']['input']>; tagName: Scalars['String']['input']; }; export type ManCreateMaintenanceWorkOrderInput = { assetId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; scheduledFor?: InputMaybe<Scalars['DateTime']['input']>; technicianId?: InputMaybe<Scalars['ID']['input']>; title: Scalars['String']['input']; type?: InputMaybe<ManMaintenanceType>; woNumber: Scalars['String']['input']; }; export type ManCreateMaterialLotInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; lotNumber: Scalars['String']['input']; materialName: Scalars['String']['input']; materialSku: Scalars['String']['input']; parentLotId?: InputMaybe<Scalars['ID']['input']>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; receivedAt?: InputMaybe<Scalars['DateTime']['input']>; /** * Units received, for a serial-controlled SKU (required then; refused for any * other SKU). The lot quantity becomes the number of serials registered. */ serials?: InputMaybe<ManSerialEntryInput>; supplier?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; uom?: InputMaybe<Scalars['String']['input']>; }; export type ManCreateOperationInput = { /** * Client-generated key (e.g. one UUID per form submission). A retried request * with the same key returns the operation already created instead of adding a * duplicate. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; productionOrderId: Scalars['ID']['input']; /** Defaults to the next free step (highest sequence in use + 10). */ sequence?: InputMaybe<Scalars['Int']['input']>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManCreateProductionOrderInput = { dueDate?: InputMaybe<Scalars['DateTime']['input']>; erpReference?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; orderNumber: Scalars['String']['input']; plannedEnd?: InputMaybe<Scalars['DateTime']['input']>; plannedStart?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<ManProductionPriority>; productName: Scalars['String']['input']; productSku: Scalars['String']['input']; quantity?: InputMaybe<Scalars['Float']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; uom?: InputMaybe<Scalars['String']['input']>; }; export type ManCreatePurchaseRequestInput = { itemId: Scalars['ID']['input']; needBy?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; quantity: Scalars['Float']['input']; releaseBy?: InputMaybe<Scalars['DateTime']['input']>; source?: InputMaybe<ManPurchaseRequestSource>; }; export type ManCreateWorkCenterInput = { capacityHours?: InputMaybe<Scalars['Float']['input']>; code: Scalars['String']['input']; description?: InputMaybe<Scalars['String']['input']>; idealRunRate?: InputMaybe<Scalars['Float']['input']>; name: Scalars['String']['input']; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<ManWorkCenterType>; }; /** * Independent demand the MRP plan nets next to open production orders: a * customer sales-order line or a forecast for one item, due on a date. */ export type ManDemand = { __typename?: 'ManDemand'; createdAt: Scalars['DateTime']['output']; customerName?: Maybe<Scalars['String']['output']>; dueDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; item?: Maybe<ManInventoryItem>; itemId: Scalars['ID']['output']; kind: ManDemandKind; notes?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; /** Sales order number or forecast name. */ reference: Scalars['String']['output']; status: ManDemandStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManDemandConnection = { __typename?: 'ManDemandConnection'; items: Array<ManDemand>; pageInfo: ManPageInfo; }; /** Where an independent demand comes from (BOFF-11326). */ export declare enum ManDemandKind { Forecast = "FORECAST", SalesOrder = "SALES_ORDER" } /** * Lifecycle of a demand. Only OPEN demand is planned; a planner closes it as * FULFILLED or CANCELLED, and can reopen a CANCELLED one. */ export declare enum ManDemandStatus { Cancelled = "CANCELLED", Fulfilled = "FULFILLED", Open = "OPEN" } export type ManDowntimeEvent = { __typename?: 'ManDowntimeEvent'; assetId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; durationMinutes: Scalars['Int']['output']; endedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** Maintenance work order that caused or resolved this downtime. */ maintenanceWorkOrderId?: Maybe<Scalars['ID']['output']>; productionOrderId?: Maybe<Scalars['ID']['output']>; reason: ManDowntimeReason; startedAt: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workCenterId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManDowntimeEventConnection = { __typename?: 'ManDowntimeEventConnection'; items: Array<ManDowntimeEvent>; pageInfo: ManPageInfo; }; export declare enum ManDowntimeReason { Breakdown = "BREAKDOWN", Changeover = "CHANGEOVER", MaterialShortage = "MATERIAL_SHORTAGE", Other = "OTHER", Planned = "PLANNED", Quality = "QUALITY" } /** A downtime reason with its total minutes and event count (Pareto source). */ export type ManDowntimeReasonCount = { __typename?: 'ManDowntimeReasonCount'; count: Scalars['Int']['output']; minutes: Scalars['Int']['output']; reason: ManDowntimeReason; }; /** * A configured ERP/accounting connection. `accessToken`/`refreshToken` are * write-only on the input side (accepted on create/update, encrypted at rest) * — neither is ever exposed by any query, matching the platform's credential- * handling convention (see HMACCredential.secretKey). */ export type ManErpConnection = { __typename?: 'ManErpConnection'; baseUrl: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** * The wspace-integrations-svc connection that owns this connection's OAuth grant. Null for a * legacy connection that holds a pasted token. */ integrationConnectionId?: Maybe<Scalars['ID']['output']>; isActive: Scalars['Boolean']['output']; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; /** * True for a legacy pasted-token connection: QuickBooks access tokens expire after about an hour * and are not refreshed, so it should be relinked to an integrations connection. */ needsRelink: Scalars['Boolean']['output']; provider: ManErpProvider; realmId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManErpConnectionConnection = { __typename?: 'ManErpConnectionConnection'; items: Array<ManErpConnection>; pageInfo: ManPageInfo; }; export declare enum ManErpEntityType { /** An accepted QuickBooks estimate line pulled as an order, or the completion note pushed back to it. */ Estimate = "ESTIMATE", InventoryItem = "INVENTORY_ITEM" } /** QuickBooks Online environment a linked connection talks to. */ export declare enum ManErpEnvironment { Production = "PRODUCTION", Sandbox = "SANDBOX" } /** Result of one accepted-estimate order pull. */ export type ManErpOrderPullResult = { __typename?: 'ManErpOrderPullResult'; /** Estimate lines whose order already exists from an earlier pull. */ alreadyImportedCount: Scalars['Int']['output']; estimatesRead: Scalars['Int']['output']; failedCount: Scalars['Int']['output']; importedCount: Scalars['Int']['output']; /** Sync records for orders this pull created and for lines it could not import. */ records: Array<ManErpSyncRecord>; }; export declare enum ManErpProvider { QuickbooksOnline = "QUICKBOOKS_ONLINE" } export declare enum ManErpSyncDirection { Pull = "PULL", Push = "PUSH" } /** * One push or pull attempt against a connection — the auditable two-way sync * ledger. Every push/pull writes exactly one row here, success or failure. */ export type ManErpSyncRecord = { __typename?: 'ManErpSyncRecord'; connection?: Maybe<ManErpConnection>; connectionId: Scalars['ID']['output']; direction: ManErpSyncDirection; entityType: ManErpEntityType; externalId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; inventoryItem?: Maybe<ManInventoryItem>; inventoryItemId?: Maybe<Scalars['ID']['output']>; message?: Maybe<Scalars['String']['output']>; productionOrder?: Maybe<ManProductionOrder>; /** The production order an ESTIMATE sync created or reported on. */ productionOrderId?: Maybe<Scalars['ID']['output']>; status: ManErpSyncStatus; syncedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManErpSyncRecordConnection = { __typename?: 'ManErpSyncRecordConnection'; items: Array<ManErpSyncRecord>; pageInfo: ManPageInfo; }; export declare enum ManErpSyncStatus { Failed = "FAILED", Pending = "PENDING", Success = "SUCCESS" } export type ManIngestTagReadingInput = { machineCode: Scalars['String']['input']; quality?: InputMaybe<Scalars['String']['input']>; raw?: InputMaybe<Scalars['JSON']['input']>; readAt?: InputMaybe<Scalars['DateTime']['input']>; tagName: Scalars['String']['input']; unit?: InputMaybe<Scalars['String']['input']>; value: Scalars['Float']['input']; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManInspectionPlan = { __typename?: 'ManInspectionPlan'; characteristics?: Maybe<Scalars['JSON']['output']>; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; productSku?: Maybe<Scalars['String']['output']>; stage: ManInspectionStage; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManInspectionPlanConnection = { __typename?: 'ManInspectionPlanConnection'; items: Array<ManInspectionPlan>; pageInfo: ManPageInfo; }; export declare enum ManInspectionResult { Conditional = "CONDITIONAL", Fail = "FAIL", Pass = "PASS", Pending = "PENDING" } export declare enum ManInspectionStage { Audit = "AUDIT", Final = "FINAL", Incoming = "INCOMING", InProcess = "IN_PROCESS" } export type ManInvalidSerial = { __typename?: 'ManInvalidSerial'; reason: Scalars['String']['output']; value: Scalars['String']['output']; }; export type ManInventoryItem = { __typename?: 'ManInventoryItem'; createdAt: Scalars['DateTime']['output']; erpExternalId?: Maybe<Scalars['String']['output']>; erpSyncStatus?: Maybe<ManErpSyncStatus>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; itemType: ManItemType; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; /** Days between releasing an order for the item and receiving it; the MRP plan dates releases by it. */ leadTimeDays: Scalars['Int']['output']; name: Scalars['String']['output']; reorderPoint: Scalars['Float']['output']; sku: Scalars['String']['output']; standardCost: Scalars['Float']['output']; /** * How received units are identified. SERIAL makes every receipt register one unique serial per unit; * a change applies to future receipts (each lot keeps the mode it was received under). */ trackingMode: ManTrackingMode; uom: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManInventoryItemConnection = { __typename?: 'ManInventoryItemConnection'; items: Array<ManInventoryItem>; pageInfo: ManPageInfo; }; export declare enum ManItemType { Component = "COMPONENT", FinishedGood = "FINISHED_GOOD", RawMaterial = "RAW_MATERIAL", SubAssembly = "SUB_ASSEMBLY" } export type ManLegalAcceptance = { __typename?: 'ManLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: ManLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManLegalAcceptanceConnection = { __typename?: 'ManLegalAcceptanceConnection'; items: Array<ManLegalAcceptance>; pageInfo: ManPageInfo; }; export declare enum ManLegalCheckpointType { /** Acceptance of the AI-feature usage terms before first AI-assisted action. */ AiFirstUse = "AI_FIRST_USE", /** Sign-up acceptance of the ManufacturedOps Terms of Service and Privacy Policy. */ Signup = "SIGNUP", /** Acceptance of the workspace tenant Data Processing Addendum. */ TenantDpaAccept = "TENANT_DPA_ACCEPT" } export type ManLinkLotToOrderInput = { /** Operation on the order that consumed / produced the material. */ operationId?: InputMaybe<Scalars['ID']['input']>; productionOrderId: Scalars['ID']['input']; quantity: Scalars['Float']['input']; reason?: InputMaybe<Scalars['String']['input']>; role: ManMaterialLinkRole; }; export declare enum ManMachineRunState { Running = "RUNNING", Stopped = "STOPPED" } /** * One machine tag the workspace has sent readings for, with its latest value and the * mapping (if any) that drives it. */ export type ManMachineTag = { __typename?: 'ManMachineTag'; latestReadAt: Scalars['DateTime']['output']; latestUnit?: Maybe<Scalars['String']['output']>; latestValue: Scalars['Float']['output']; machineCode: Scalars['String']['output']; mapping?: Maybe<ManMachineTagMapping>; tagName: Scalars['String']['output']; workCenterId?: Maybe<Scalars['ID']['output']>; }; export type ManMachineTagMapping = { __typename?: 'ManMachineTagMapping'; asset?: Maybe<ManAsset>; assetId: Scalars['ID']['output']; /** * PART_COUNT / SCRAP_COUNT: parts counted into a running operation since the * mapping started counting (or since its asset or kind last changed). */ attributedCount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; /** RUN_STATE only: the reason machine-opened downtime starts with. */ downtimeReason: ManDowntimeReason; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; kind: ManMachineTagMappingKind; lastOperation?: Maybe<ManProductionOperation>; /** PART_COUNT / SCRAP_COUNT: the operation the last attributed count went to. */ lastOperationId?: Maybe<Scalars['ID']['output']>; lastReadAt?: Maybe<Scalars['DateTime']['output']>; /** RUN_STATE: the state after the last applied reading; null before the first. */ lastState?: Maybe<ManMachineRunState>; lastValue?: Maybe<Scalars['Float']['output']>; machineCode: Scalars['String']['output']; openDowntimeEvent?: Maybe<ManDowntimeEvent>; /** The downtime this mapping opened and has not yet closed. */ openDowntimeEventId?: Maybe<Scalars['ID']['output']>; /** RUN_STATE only: a value at or above this means the machine is running. */ runningThreshold: Scalars['Float']['output']; tagName: Scalars['String']['output']; /** * PART_COUNT / SCRAP_COUNT: parts counted while no single operation was running * on the asset's work center, so they were not added to any operation. */ unattributedCount: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * How a mapped tag drives its asset. RUN_STATE: a value at or above runningThreshold * means running; running -> stopped opens downtime, stopped -> running closes it. * RUNNING_HOURS: an absolute hours counter that raises the asset's running hours. * PART_COUNT / SCRAP_COUNT: a cumulative part counter; each rise is added to the * good / scrap count of the operation running on the asset's work center, which * OEE reads. */ export declare enum ManMachineTagMappingKind { /** * A cumulative good-part counter. Each rise since the last reading is added to * the good count of the one operation RUNNING on the asset's work center. The * first reading is a baseline and a counter reset adds nothing. */ PartCount = "PART_COUNT", RunningHours = "RUNNING_HOURS", RunState = "RUN_STATE", /** Like PART_COUNT, but each rise is added to the operation's scrap count. */ ScrapCount = "SCRAP_COUNT" } export type ManMachineTagReading = { __typename?: 'ManMachineTagReading'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; machineCode: Scalars['String']['output']; quality: Scalars['String']['output']; raw?: Maybe<Scalars['JSON']['output']>; readAt: Scalars['DateTime']['output']; source: ManTagSource; tagName: Scalars['String']['output']; topic?: Maybe<Scalars['String']['output']>; unit?: Maybe<Scalars['String']['output']>; value: Scalars['Float']['output']; workCenter?: Maybe<ManWorkCenter>; workCenterId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManMachineTagReadingConnection = { __typename?: 'ManMachineTagReadingConnection'; items: Array<ManMachineTagReading>; pageInfo: ManPageInfo; }; export declare enum ManMaintenanceStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", OnHold = "ON_HOLD", Scheduled = "SCHEDULED" } export declare enum ManMaintenanceType { Corrective = "CORRECTIVE", Inspection = "INSPECTION", Predictive = "PREDICTIVE", Preventive = "PREVENTIVE" } export type ManMaintenanceWorkOrder = { __typename?: 'ManMaintenanceWorkOrder'; asset?: Maybe<ManAsset>; assetId: Scalars['ID']['output']; checklistResults: Array<ManChecklistResult>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Actor who recorded the completion. */ completedBy?: Maybe<Scalars['ID']['output']>; completionNotes?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** Downtime events recorded against this work order. */ downtimeEvents: Array<ManDowntimeEvent>; /** Sum of the downtime events linked to this work order (the single source of downtime). */ downtimeMinutes: Scalars['Int']['output']; /** Immutable history: creation, every status change, completion evidence. */ history: Array<ManMaintenanceWorkOrderEvent>; id: Scalars['ID']['output']; laborMinutes: Scalars['Int']['output']; meterReadingAtCompletion?: Maybe<Scalars['Float']['output']>; partsUsed: Array<ManPartUsed>; scheduledFor?: Maybe<Scalars['DateTime']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: ManMaintenanceStatus; technicianId?: Maybe<Scalars['ID']['output']>; title: Scalars['String']['output']; type: ManMaintenanceType; updatedAt: Scalars['DateTime']['output']; woNumber: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ManMaintenanceWorkOrderConnection = { __typename?: 'ManMaintenanceWorkOrderConnection'; items: Array<ManMaintenanceWorkOrder>; pageInfo: ManPageInfo; }; export type ManMaintenanceWorkOrderEvent = { __typename?: 'ManMaintenanceWorkOrderEvent'; actorId: Scalars['ID']['output']; /** Completion evidence snapshot for COMPLETED. */ changes?: Maybe<Scalars['JSON']['output']>; eventType: ManMaintenanceWorkOrderEventType; fromStatus?: Maybe<ManMaintenanceStatus>; id: Scalars['ID']['output']; occurredAt: Scalars['DateTime']['output']; toStatus?: Maybe<ManMaintenanceStatus>; }; export declare enum ManMaintenanceWorkOrderEventType { Completed = "COMPLETED", Created = "CREATED", StatusChanged = "STATUS_CHANGED" } /** How a lot relates to a production order. */ export declare enum ManMaterialLinkRole { ByProduct = "BY_PRODUCT", /** Consumed by the order. */ Input = "INPUT", /** Produced by the order. */ Output = "OUTPUT", /** Returned to stock from the order. */ Returned = "RETURNED" } export type ManMaterialLot = { __typename?: 'ManMaterialLot'; childLots: ManMaterialLotConnection; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Immutable status and disposition history, oldest first. */ history: Array<ManMaterialLotEvent>; /** Inspection that put the lot on hold, when the quarantine came from one. */ holdInspectionId?: Maybe<Scalars['ID']['output']>; /** NCR that put the lot on hold, when the quarantine came from one. */ holdNonConformanceId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** True once expiresAt has passed — expired lots cannot be allocated or consumed. */ isExpired: Scalars['Boolean']['output']; lotNumber: Scalars['String']['output']; materialName: Scalars['String']['output']; materialSku: Scalars['String']['output']; /** NCRs linked to this material lot. */ nonConformances: Array<ManNonConformance>; /** Every order link — active and reversed — with role, quantity and operation. */ orderLinks: Array<ManMaterialLotOrderLink>; parentLot?: Maybe<ManMaterialLot>; parentLotId?: Maybe<Scalars['ID']['output']>; /** The lot's primary consuming order (legacy single link), resolved for display. */ productionOrder?: Maybe<ManProductionOrder>; productionOrderId?: Maybe<Scalars['ID']['output']>; quantity: Scalars['Float']['output']; receivedAt?: Maybe<Scalars['DateTime']['output']>; /** Unit count per status for a serial-controlled lot. */ serialCounts: Array<ManSerialStatusCount>; /** Units in a serial-controlled lot (empty for other lots). */ serials: ManMaterialSerialConnection; status: ManMaterialLotStatus; /** * Every other status, each marked allowed or blocked with the reason. A * quarantined lot offers none here: it leaves quarantine only through * manReleaseMaterialLot. */ statusOptions: Array<ManMaterialLotStatusOption>; /** Reason recorded with the most recent status change (quarantine, release, scrap). */ statusReason?: Maybe<Scalars['String']['output']>; supplier?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; /** Tracking mode of the SKU when the lot was received. SERIAL lots hold uniquely identified units. */ trackingMode: ManTrackingMode; uom: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManMaterialLotChildLotsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManMaterialLotSerialsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ManMaterialLotStatus>; }; export type ManMaterialLotConnection = { __typename?: 'ManMaterialLotConnection'; items: Array<ManMaterialLot>; pageInfo: ManPageInfo; }; export type ManMaterialLotEvent = { __typename?: 'ManMaterialLotEvent'; actorId: Scalars['ID']['output']; /** Field diff for UPDATED ({ field: { from, to } }). */ changes?: Maybe<Scalars['JSON']['output']>; eventType: ManMaterialLotEventType; fromStatus?: Maybe<ManMaterialLotStatus>; id: Scalars['ID']['output']; inspectionId?: Maybe<Scalars['ID']['output']>; nonConformanceId?: Maybe<Scalars['ID']['output']>; occurredAt: Scalars['DateTime']['output']; productionOrderId?: Maybe<Scalars['ID']['output']>; reason?: Maybe<Scalars['String']['output']>; toStatus?: Maybe<ManMaterialLotStatus>; }; /** Kind of immutable material-lot history event. */ export declare enum ManMaterialLotEventType { Created = "CREATED", Dispositioned = "DISPOSITIONED", Linked = "LINKED", LinkReversed = "LINK_REVERSED", Quarantined = "QUARANTINED", Released = "RELEASED", StatusChanged = "STATUS_CHANGED", Updated = "UPDATED" } export type ManMaterialLotOrderLink = { __typename?: 'ManMaterialLotOrderLink'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; materialLot?: Maybe<ManMaterialLot>; materialLotId: Scalars['ID']['output']; operation?: Maybe<ManProductionOperation>; operationId?: Maybe<Scalars['ID']['output']>; productionOrder?: Maybe<ManProductionOrder>; productionOrderId: Scalars['ID']['output']; quantity: Scalars['Float']['output']; reason?: Maybe<Scalars['String']['output']>; reversalReason?: Maybe<Scalars['String']['output']>; /** Set when the link was reversed (corrections reverse + re-link; nothing is edited). */ reversedAt?: Maybe<Scalars['DateTime']['output']>; reversedBy?: Maybe<Scalars['ID']['output']>; role: ManMaterialLinkRole; }; /** Outcome of a quarantine review. */ export declare enum ManMaterialLotReleaseDecision { /** Return the lot to AVAILABLE. */ Release = "RELEASE", /** Disposition the lot as SCRAPPED. */ Scrap = "SCRAP" } export declare enum ManMaterialLotStatus { Allocated = "ALLOCATED", Available = "AVAILABLE", Consumed = "CONSUMED", Quarantined = "QUARANTINED", Scrapped = "SCRAPPED" } export type ManMaterialLotStatusOption = { __typename?: 'ManMaterialLotStatusOption'; allowed: Scalars['Boolean']['output']; /** Why the move is blocked. Null when allowed. */ reason?: Maybe<Scalars['String']['output']>; /** The move must carry a reason (quarantine, scrap). */ requiresReason: Scalars['Boolean']['output']; status: ManMaterialLotStatus; }; /** * One line of a persisted material-requirements-planning run for a production * order: real quantity required (BOM-exploded), real quantity on hand (netted * from ManMaterialLot AVAILABLE quantity), and the resulting shortage. */ export type ManMaterialRequirement = { __typename?: 'ManMaterialRequirement'; availableQty: Scalars['Float']['output']; bomId?: Maybe<Scalars['ID']['output']>; componentItem?: Maybe<ManInventoryItem>; componentItemId: Scalars['ID']['output']; computedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; productionOrderId: Scalars['ID']['output']; requiredQty: Scalars['Float']['output']; shortageQty: Scalars['Float']['output']; uom: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ManMaterialSerial = { __typename?: 'ManMaterialSerial'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; /** The unit is held because its whole lot is quarantined (released with the lot). */ heldByLot: Scalars['Boolean']['output']; /** Immutable per-unit history, oldest first. */ history: Array<ManMaterialSerialEvent>; /** NCR behind the unit's quarantine, when it came from one. */ holdNonConformanceId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** True once the unit's lot has expired — expired units cannot be allocated or consumed. */ isExpired: Scalars['Boolean']['output']; materialLot?: Maybe<ManMaterialLot>; materialLotId: Scalars['ID']['output']; materialSku: Scalars['String']['output']; operation?: Maybe<ManProductionOperation>; operationId?: Maybe<Scalars['ID']['output']>; productionOrder?: Maybe<ManProductionOrder>; /** Order the unit is allocated to or was consumed by. */ productionOrderId?: Maybe<Scalars['ID']['output']>; serialNumber: Scalars['String']['output']; status: ManMaterialLotStatus; /** * Every other status, each marked allowed or blocked with the reason. QUARANTINED * and SCRAPPED go through manSetMaterialSerialStatus, ALLOCATED and CONSUMED through * manAssignMaterialSerial, AVAILABLE (from ALLOCATED) through manUnassignMaterialSerial. */ statusOptions: Array<ManMaterialLotStatusOption>; /** Reason recorded with the most recent change. */ statusReason?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManMaterialSerialConnection = { __typename?: 'ManMaterialSerialConnection'; items: Array<ManMaterialSerial>; pageInfo: ManPageInfo; }; export type ManMaterialSerialEvent = { __typename?: 'ManMaterialSerialEvent'; actorId: Scalars['ID']['output']; eventType: ManMaterialSerialEventType; fromStatus?: Maybe<ManMaterialLotStatus>; id: Scalars['ID']['output']; nonConformanceId?: Maybe<Scalars['ID']['output']>; occurredAt: Scalars['DateTime']['output']; operationId?: Maybe<Scalars['ID']['output']>; productionOrderId?: Maybe<Scalars['ID']['output']>; reason?: Maybe<Scalars['String']['output']>; toStatus?: Maybe<ManMaterialLotStatus>; }; /** Kind of immutable per-unit history event. */ export declare enum ManMaterialSerialEventType { /** Allocated to / consumed by a production order. */ Assigned = "ASSIGNED", Dispositioned = "DISPOSITIONED", Quarantined = "QUARANTINED", Received = "RECEIVED", Released = "RELEASED", StatusChanged = "STATUS_CHANGED", /** Order allocation removed (unassigned, or cleared by a hold). */ Unassigned = "UNASSIGNED" } export type ManMaterialSerialFilterInput = { materialLotId?: InputMaybe<Scalars['ID']['input']>; materialSku?: InputMaybe<Scalars['String']['input']>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; /** Case-insensitive part of the serial number. */ search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ManMaterialLotStatus>; }; /** * Result of one workspace-wide MRP run (manPlanMaterialRequirements). Read-only: * nothing is persisted, and a planner creates the real order with * manCreateProductionOrder. */ export type ManMrpPlan = { __typename?: 'ManMrpPlan'; /** OPEN independent demands (sales orders, forecasts) netted by this run. */ consideredDemandCount: Scalars['Int']['output']; /** Open (PLANNED, RELEASED, IN_PROGRESS) production orders netted by this run. */ consideredOrderCount: Scalars['Int']['output']; /** OPEN and ORDERED purchase requests netted as open supply. */ consideredPurchaseRequestCount: Scalars['Int']['output']; /** True when the workspace has more OPEN demands than one run nets; the earliest-due ones were used. */ demandsTruncated: Scalars['Boolean']['output']; generatedAt: Scalars['DateTime']['output']; /** Open orders whose productSku has no item-master row, so their demand could not be exploded. */ ordersWithoutItemIds: Array<Scalars['ID']['output']>; productionSuggestions: Array<ManMrpSuggestion>; purchaseSuggestions: Array<ManMrpSuggestion>; /** True when the workspace has more open orders than one run nets; the earliest-due ones were used. */ truncated: Scalars['Boolean']['output']; /** Start (Monday 00:00 UTC) of the first weekly bucket of the time-phased plan. */ weekStart: Scalars['DateTime']['output']; }; /** * One suggestion of a workspace MRP plan. A line with a bomId is a suggested * production order (the item is built); a line without one is a suggested * purchase (the item has no active BOM, so it is bought). */ export type ManMrpSuggestion = { __typename?: 'ManMrpSuggestion'; /** The active BOM the suggested order would build from; null for a purchase. */ bomId?: Maybe<Scalars['ID']['output']>; /** * The suggestion phased by week (Monday 00:00 UTC), oldest first. Only weeks * with a requirement, a scheduled receipt or a planned receipt are listed, * plus the plan's first week. plannedReceipt sums to suggestedQty. */ buckets: Array<ManMrpWeekBucket>; /** * OPEN sales orders and forecasts (ManDemand) whose demand reaches this item, * directly or through its parents' BOMs. */ drivenByDemandIds: Array<Scalars['ID']['output']>; /** Open production orders whose BOM explosion creates this demand. */ drivenByOrderIds: Array<Scalars['ID']['output']>; /** Dependent demand from open production orders and from other suggestions higher in the BOM tree. */ grossRequirement: Scalars['Float']['output']; itemId: Scalars['ID']['output']; itemType: ManItemType; /** * True when some week is still short with this suggestion, because open supply * for the item arrives later than it is needed (expedite it). */ lateSupply: Scalars['Boolean']['output']; /** The item's lead time in days. */ leadTimeDays: Scalars['Int']['output']; name: Scalars['String']['output']; /** Earliest due date among the open orders driving this demand; null for pure reorder-point replenishment. */ needBy?: Maybe<Scalars['DateTime']['output']>; /** AVAILABLE material-lot quantity for the item's SKU. */ onHandQty: Scalars['Float']['output']; /** Not-yet-completed quantity of open production orders that build this item. */ openSupplyQty: Scalars['Float']['output']; /** needBy minus the lead time: when the order must be released. Null when needBy is null. */ releaseBy?: Maybe<Scalars['DateTime']['output']>; reorderPoint: Scalars['Float']['output']; sku: Scalars['String']['output']; /** Net quantity to build or buy: grossRequirement + reorderPoint − onHandQty − openSupplyQty, rounded up. */ suggestedQty: Scalars['Float']['output']; uom: Scalars['String']['output']; }; /** One week of a suggestion's time-phased plan (BOFF-11326). */ export type ManMrpWeekBucket = { __typename?: 'ManMrpWeekBucket'; grossRequirement: Scalars['Float']['output']; /** Earliest dated requirement in the week; null when none of it is dated. */ needBy?: Maybe<Scalars['DateTime']['output']>; /** The part of the suggestion to receive in the week. */ plannedReceipt: Scalars['Float']['output']; /** * On hand above the reorder point at the end of the week, after receipts, * requirements and planned receipts. Negative means the week is still short. */ projectedOnHand: Scalars['Float']['output']; /** Open production orders and open purchase requests for the item due in the week. */ scheduledReceipts: Scalars['Float']['output']; /** Monday 00:00 UTC. Requirements due earlier than the plan's first week, or undated, fall in the first week. */ weekStart: Scalars['DateTime']['output']; }; export type ManNonConformance = { __typename?: 'ManNonConformance'; /** Immediate containment performed (quarantine, sort, hold). */ containmentAction?: Maybe<Scalars['String']['output']>; correctiveAction?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; disposition: ManNonConformanceDisposition; /** Why the chosen disposition is acceptable. */ dispositionJustification?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; /** Immutable audit trail, oldest first. */ history: Array<ManNonConformanceEvent>; id: Scalars['ID']['output']; inspection?: Maybe<ManQualityInspection>; inspectionId?: Maybe<Scalars['ID']['output']>; /** Active affected-entity links. */ links: Array<ManNonConformanceLink>; ncrNumber: Scalars['String']['output']; /** * Legal next statuses, each with the evidence still missing before the move is * accepted. Empty for a CLOSED NCR (use manReopenNonConformance). */ nextTransitions: Array<ManNonConformanceTransitionOption>; ownerId?: Maybe<Scalars['ID']['output']>; quantityAffected: Scalars['Float']['output']; resolvedAt?: Maybe<Scalars['DateTime']['output']>; rootCause?: Maybe<Scalars['String']['output']>; severity: ManSeverity; /** Why the NCR is not tied to an order, operation, lot or inspection. */ standaloneReason?: Maybe<Scalars['String']['output']>; status: ManNonConformanceStatus; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; verificationNotes?: Maybe<Scalars['String']['output']>; verificationResult?: Maybe<ManCapaVerificationResult>; verifiedAt?: Maybe<Scalars['DateTime']['output']>; /** Actor who recorded the verification. */ verifiedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManNonConformanceConnection = { __typename?: 'ManNonConformanceConnection'; items: Array<ManNonConformance>; pageInfo: ManPageInfo; }; export declare enum ManNonConformanceDisposition { Open = "OPEN", ReturnToSupplier = "RETURN_TO_SUPPLIER", Rework = "REWORK", Scrap = "SCRAP", UseAsIs = "USE_AS_IS" } export type ManNonConformanceEvent = { __typename?: 'ManNonConformanceEvent'; actorId: Scalars['ID']['output']; /** Field diff for UPDATED ({ field: { from, to } }); the link for LINK_ADDED / LINK_REMOVED. */ changes?: Maybe<Scalars['JSON']['output']>; comment?: Maybe<Scalars['String']['output']>; eventType: ManNonConformanceEventType; fromStatus?: Maybe<ManNonConformanceStatus>; id: Scalars['ID']['output']; occurredAt: Scalars['DateTime']['output']; toStatus?: Maybe<ManNonConformanceStatus>; }; /** Kind of immutable NCR audit event. */ export declare enum ManNonConformanceEventType { Created = "CREATED", LinkAdded = "LINK_ADDED", LinkRemoved = "LINK_REMOVED", Reopened = "REOPENED", StatusChanged = "STATUS_CHANGED", Updated = "UPDATED", Verified = "VERIFIED" } export type ManNonConformanceLink = { __typename?: 'ManNonConformanceLink'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; entityId: Scalars['ID']['output']; entityType: ManNonConformanceLinkType; id: Scalars['ID']['output']; materialLot?: Maybe<ManMaterialLot>; operation?: Maybe<ManProductionOperation>; productionOrder?: Maybe<ManProductionOrder>; }; export type ManNonConformanceLinkInput = { entityId: Scalars['ID']['input']; entityType: ManNonConformanceLinkType; }; /** * Entity an NCR can be linked to. Inspections link through * ManNonConformance.inspectionId. */ export declare enum ManNonConformanceLinkType { MaterialLot = "MATERIAL_LOT", Operation = "OPERATION", ProductionOrder = "PRODUCTION_ORDER" } export declare enum ManNonConformanceStatus { Closed = "CLOSED", Contained = "CONTAINED", CorrectiveAction = "CORRECTIVE_ACTION", Investigating = "INVESTIGATING", Open = "OPEN" } export type ManNonConformanceTransitionOption = { __typename?: 'ManNonConformanceTransitionOption'; /** Field names that must be recorded first. Empty means the move is allowed. */ missingFields: Array<Scalars['String']['output']>; status: ManNonConformanceStatus; }; export declare enum ManOperationStatus { Done = "DONE", Pending = "PENDING", Running = "RUNNING", Setup = "SETUP", Skipped = "SKIPPED" } /** Aggregate operations KPIs for the ManufacturedOps dashboard. */ export type ManOperationsSummary = { __typename?: 'ManOperationsSummary'; activeProductionOrders: Scalars['Int']['output']; availabilityPct: Scalars['Float']['output']; availableLots: Scalars['Int']['output']; completedQuantity: Scalars['Float']['output']; criticalOpenNonConformances: Scalars['Int']['output']; /** Downtime minutes grouped by reason, descending (Pareto). */ downtimeByReason: Array<ManDowntimeReasonCount>; downtimeEventMinutes: Scalars['Int']['output']; /** * OEE = Availability × Performance × Quality (0–100), computed live from real * operation good/scrap/run/setup counts and recorded downtime events. */ oeePct: Scalars['Float']['output']; openNonConformances: Scalars['Int']['output']; openWorkOrders: Scalars['Int']['output']; ordersByStatus: Array<ManStatusCount>; performancePct: Scalars['Float']['output']; plannedQuantity: Scalars['Float']['output']; qualityPct: Scalars['Float']['output']; quarantinedLots: Scalars['Int']['output']; totalDowntimeMinutes: Scalars['Int']['output']; totalGoodCount: Scalars['Float']['output']; totalProductionOrders: Scalars['Int']['output']; totalRunMinutes: Scalars['Int']['output']; totalScrapCount: Scalars['Float']['output']; totalSetupMinutes: Scalars['Int']['output']; }; export type ManPageInfo = { __typename?: 'ManPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type ManPartUsed = { __typename?: 'ManPartUsed'; description?: Maybe<Scalars['String']['output']>; lotNumber?: Maybe<Scalars['String']['output']>; partNumber: Scalars['String']['output']; quantity: Scalars['Float']['output']; serialNumber?: Maybe<Scalars['String']['output']>; }; export type ManPartUsedInput = { description?: InputMaybe<Scalars['String']['input']>; lotNumber?: InputMaybe<Scalars['String']['input']>; partNumber: Scalars['String']['input']; quantity: Scalars['Float']['input']; serialNumber?: InputMaybe<Scalars['String']['input']>; }; export declare enum ManPmState { DueSoon = "DUE_SOON", NotScheduled = "NOT_SCHEDULED", Ok = "OK", Overdue = "OVERDUE" } export type ManProductionOperation = { __typename?: 'ManProductionOperation'; /** True while the step is PENDING and unstarted — only then can it be edited or removed. */ canEditRouting: Scalars['Boolean']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; goodCount: Scalars['Float']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** NCRs linked to this operation. */ nonConformances: Array<ManNonConformance>; operatorId?: Maybe<Scalars['ID']['output']>; plannedEnd?: Maybe<Scalars['DateTime']['output']>; /** * Finite-capacity schedule output (BOFF-4287) — set by * manScheduleProductionOrders. Null until a schedule run has placed this * operation. */ plannedStart?: Maybe<Scalars['DateTime']['output']>; productionOrderId: Scalars['ID']['output']; runMinutes: Scalars['Int']['output']; scrapCount: Scalars['Float']['output']; sequence: Scalars['Int']['output']; setupMinutes: Scalars['Int']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: ManOperationStatus; updatedAt: Scalars['DateTime']['output']; workCenter?: Maybe<ManWorkCenter>; workCenterId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManProductionOperationConnection = { __typename?: 'ManProductionOperationConnection'; items: Array<ManProductionOperation>; pageInfo: ManPageInfo; }; export type ManProductionOrder = { __typename?: 'ManProductionOrder'; actualEnd?: Maybe<Scalars['DateTime']['output']>; actualStart?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; dueDate?: Maybe<Scalars['DateTime']['output']>; erpReference?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Material linked to this order (consumed, produced, by-product, returned), active and reversed. */ materialLinks: Array<ManMaterialLotOrderLink>; materialLots: ManMaterialLotConnection; /** NCRs linked to this production order. */ nonConformances: Array<ManNonConformance>; notes?: Maybe<Scalars['String']['output']>; operations: ManProductionOperationConnection; orderNumber: Scalars['String']['output']; plannedEnd?: Maybe<Scalars['DateTime']['output']>; plannedStart?: Maybe<Scalars['DateTime']['output']>; priority: ManProductionPriority; productName: Scalars['String']['output']; productSku: Scalars['String']['output']; quantity: Scalars['Float']['output']; quantityDone: Scalars['Float']['output']; /** Immutable routing-change history (operations added, edited, removed), oldest first. */ routingHistory: Array<ManRoutingEvent>; /** Serial-controlled units allocated to or consumed by this order. */ serials: ManMaterialSerialConnection; status: ManProductionOrderStatus; tags: Array<Scalars['String']['output']>; uom: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManProductionOrderMaterialLotsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManProductionOrderOperationsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManProductionOrderSerialsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManProductionOrderConnection = { __typename?: 'ManProductionOrderConnection'; items: Array<ManProductionOrder>; pageInfo: ManPageInfo; }; export declare enum ManProductionOrderStatus { Cancelled = "CANCELLED", Closed = "CLOSED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Paused = "PAUSED", Planned = "PLANNED", Released = "RELEASED" } export declare enum ManProductionPriority { High = "HIGH", Low = "LOW", Normal = "NORMAL", Urgent = "URGENT" } /** * A buy suggestion saved for purchasing (BOFF-11326). While OPEN or ORDERED it * counts as open supply of its item at its need-by week, so the plan does not * suggest it again. */ export type ManPurchaseRequest = { __typename?: 'ManPurchaseRequest'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; item?: Maybe<ManInventoryItem>; itemId: Scalars['ID']['output']; needBy?: Maybe<Scalars['DateTime']['output']>; notes?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; releaseBy?: Maybe<Scalars['DateTime']['output']>; source: ManPurchaseRequestSource; status: ManPurchaseRequestStatus; /** The supplier's PO or quote number, recorded when the request is ordered. */ supplierReference?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManPurchaseRequestConnection = { __typename?: 'ManPurchaseRequestConnection'; items: Array<ManPurchaseRequest>; pageInfo: ManPageInfo; }; /** Where a purchase request came from. */ export declare enum ManPurchaseRequestSource { Manual = "MANUAL", MrpPlan = "MRP_PLAN" } /** * Lifecycle of a purchase request saved from the plan (BOFF-11326). OPEN and * ORDERED requests are open supply the plan nets; RECEIVED and CANCELLED are final. */ export declare enum ManPurchaseRequestStatus { Cancelled = "CANCELLED", Open = "OPEN", Ordered = "ORDERED", Received = "RECEIVED" } export type ManQualityInspection = { __typename?: 'ManQualityInspection'; createdAt: Scalars['DateTime']['output']; defectCount: Scalars['Int']['output']; id: Scalars['ID']['output']; inspectedAt?: Maybe<Scalars['DateTime']['output']>; inspectionPlan?: Maybe<ManInspectionPlan>; inspectionPlanId?: Maybe<Scalars['ID']['output']>; inspectorId?: Maybe<Scalars['ID']['output']>; materialLotId?: Maybe<Scalars['ID']['output']>; measurements?: Maybe<Scalars['JSON']['output']>; nonConformances: ManNonConformanceConnection; notes?: Maybe<Scalars['String']['output']>; productionOrderId?: Maybe<Scalars['ID']['output']>; result: ManInspectionResult; sampleSize: Scalars['Int']['output']; stage: ManInspectionStage; updatedAt: Scalars['DateTime']['output']; workCenterId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type ManQualityInspectionNonConformancesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManQualityInspectionConnection = { __typename?: 'ManQualityInspectionConnection'; items: Array<ManQualityInspection>; pageInfo: ManPageInfo; }; export type ManRaiseNonConformanceInput = { /** * Production orders, operations and material lots the defect affects. At least * one affected entity, an inspectionId, or a standaloneReason is required. */ affected?: InputMaybe<Array<ManNonConformanceLinkInput>>; description?: InputMaybe<Scalars['String']['input']>; disposition?: InputMaybe<ManNonConformanceDisposition>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; inspectionId?: InputMaybe<Scalars['ID']['input']>; ncrNumber: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['ID']['input']>; quantityAffected?: InputMaybe<Scalars['Float']['input']>; severity?: InputMaybe<ManSeverity>; standaloneReason?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type ManRecordDowntimeInput = { /** Optional when maintenanceWorkOrderId is given (the work order's asset is used); must match it otherwise. */ assetId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; endedAt?: InputMaybe<Scalars['DateTime']['input']>; maintenanceWorkOrderId?: InputMaybe<Scalars['ID']['input']>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; reason?: InputMaybe<ManDowntimeReason>; startedAt: Scalars['DateTime']['input']; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManRecordInspectionInput = { defectCount?: InputMaybe<Scalars['Int']['input']>; inspectedAt?: InputMaybe<Scalars['DateTime']['input']>; inspectionPlanId?: InputMaybe<Scalars['ID']['input']>; materialLotId?: InputMaybe<Scalars['ID']['input']>; measurements?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; result?: InputMaybe<ManInspectionResult>; sampleSize?: InputMaybe<Scalars['Int']['input']>; stage?: InputMaybe<ManInspectionStage>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManRecordMeasurementInput = { /** The characteristic name as defined on the inspection plan's `characteristics`. */ characteristic: Scalars['String']['input']; inspectedAt?: InputMaybe<Scalars['DateTime']['input']>; inspectionPlanId: Scalars['ID']['input']; materialLotId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; /** A subgroup of readings (2-10 values), for an X-bar/R data point. Provide exactly one of value/subgroupValues. */ subgroupValues?: InputMaybe<Array<Scalars['Float']['input']>>; /** A single reading, for an Individual/Moving-Range or attribute data point. */ value?: InputMaybe<Scalars['Float']['input']>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManRecordOperationInput = { goodCount?: InputMaybe<Scalars['Float']['input']>; runMinutes?: InputMaybe<Scalars['Int']['input']>; scrapCount?: InputMaybe<Scalars['Float']['input']>; setupMinutes?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<ManOperationStatus>; }; export type ManReleaseMaterialLotInput = { decision: ManMaterialLotReleaseDecision; /** Why the material is fit for use (or why it is scrapped). Required. */ reason: Scalars['String']['input']; }; export type ManRoutingEvent = { __typename?: 'ManRoutingEvent'; actorId: Scalars['ID']['output']; /** Operation snapshot for ADDED/REMOVED; { field: { from, to } } for CHANGED. */ changes?: Maybe<Scalars['JSON']['output']>; eventType: ManRoutingEventType; id: Scalars['ID']['output']; occurredAt: Scalars['DateTime']['output']; operationId: Scalars['ID']['output']; /** Removal reason (REMOVED). */ reason?: Maybe<Scalars['String']['output']>; }; /** Kind of immutable routing-change event. */ export declare enum ManRoutingEventType { Added = "ADDED", Changed = "CHANGED", Removed = "REMOVED" } export type ManRunShiftWatchInput = { trigger?: ManWatchRunTrigger; workspaceId: Scalars['ID']['input']; }; export type ManScheduleProductionOrdersInput = { /** Scheduling horizon in days from today. Default 30, max 90. */ horizonDays?: InputMaybe<Scalars['Int']['input']>; /** * Explicit order ids to schedule. When omitted, every PLANNED/RELEASED/ * IN_PROGRESS order in the workspace is considered (capped — see * PlanningService.MAX_SCHEDULE_ORDERS). */ productionOrderIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** * Output of one deterministic priority + due-date greedy finite-capacity * scheduling run (PlanningService.scheduleProductionOrders). NOT a constraint- * solver/optimizer — see the mutation's doc comment for the explicit follow-up. */ export type ManScheduleResult = { __typename?: 'ManScheduleResult'; generatedAt: Scalars['DateTime']['output']; horizonDays: Scalars['Int']['output']; scheduled: Array<ManScheduledOperation>; unscheduled: Array<ManUnscheduledOperation>; }; export type ManScheduledOperation = { __typename?: 'ManScheduledOperation'; operationId: Scalars['ID']['output']; plannedEnd: Scalars['DateTime']['output']; plannedStart: Scalars['DateTime']['output']; productionOrderId: Scalars['ID']['output']; workCenterId: Scalars['ID']['output']; }; /** * Units for one receipt — any mix of single values, a range, and pasted/imported * text (split on lines, commas, semicolons, tabs and spaces). Up to 5000 per request. */ export type ManSerialEntryInput = { bulkText?: InputMaybe<Scalars['String']['input']>; range?: InputMaybe<ManSerialRangeInput>; serialNumbers?: InputMaybe<Array<Scalars['String']['input']>>; }; /** What a receipt would register, and every problem with it — nothing is written. */ export type ManSerialEntryReport = { __typename?: 'ManSerialEntryReport'; /** Serials that would be registered (well-formed, unique, not yet registered). */ accepted: Array<Scalars['String']['output']>; alreadyRegistered: Array<Scalars['String']['output']>; duplicatesInInput: Array<Scalars['String']['output']>; /** Problems with the entry itself (bad range, over the limit, SKU not serial-controlled). */ errors: Array<Scalars['String']['output']>; invalid: Array<ManInvalidSerial>; materialSku: Scalars['String']['output']; /** The whole entry can be registered as entered. */ ok: Scalars['Boolean']['output']; /** Distinct, well-formed serials in the entry. */ total: Scalars['Int']['output']; trackingMode: ManTrackingMode; }; /** A counter range: prefix + zero-padded number + suffix, start..end inclusive. */ export type ManSerialRangeInput = { end: Scalars['Int']['input']; /** Minimum digits for the counter (zero-padded). */ padding?: InputMaybe<Scalars['Int']['input']>; prefix?: InputMaybe<Scalars['String']['input']>; start: Scalars['Int']['input']; suffix?: InputMaybe<Scalars['String']['input']>; }; /** Recall scope for one unit: its lot and everything received with it. */ export type ManSerialRecall = { __typename?: 'ManSerialRecall'; /** Orders that consumed or hold units from the same lot. */ affectedOrders: Array<ManProductionOrder>; lot?: Maybe<ManMaterialLot>; /** Every unit received in the same lot (up to 2000), with status and order. */ lotUnits: Array<ManMaterialSerial>; serial: ManMaterialSerial; statusCounts: Array<ManSerialStatusCount>; /** More units exist in the lot than lotUnits lists. */ truncated: Scalars['Boolean']['output']; }; export type ManSerialStatusCount = { __typename?: 'ManSerialStatusCount'; count: Scalars['Int']['output']; status: ManMaterialLotStatus; }; export declare enum ManSeverity { Critical = "CRITICAL", Major = "MAJOR", Minor = "MINOR" } /** A single status→count bucket used by ManOperationsSummary. */ export type ManStatusCount = { __typename?: 'ManStatusCount'; count: Scalars['Int']['output']; status: Scalars['String']['output']; }; export declare enum ManTagSource { Manual = "MANUAL", Mqtt = "MQTT", OpcUa = "OPC_UA" } /** One time bucket of a machine tag's readings. */ export type ManTelemetryBucket = { __typename?: 'ManTelemetryBucket'; avg: Scalars['Float']['output']; /** Start of the bucket. */ bucketStart: Scalars['DateTime']['output']; /** Readings in the bucket. */ count: Scalars['Int']['output']; /** * Sum of the rises between consecutive readings. For a cumulative part * counter this is the parts made in the bucket; a counter reset is not * counted as a rise. */ increase: Scalars['Float']['output']; /** The bucket's most recent reading. */ last: Scalars['Float']['output']; max: Scalars['Float']['output']; min: Scalars['Float']['output']; }; /** Bucket size of an aggregated telemetry series. */ export declare enum ManTelemetryGranularity { Day = "DAY", FifteenMinutes = "FIFTEEN_MINUTES", FiveMinutes = "FIVE_MINUTES", Hour = "HOUR", Minute = "MINUTE" } /** A machine tag's readings aggregated into time buckets (BOFF-11328). */ export type ManTelemetrySeries = { __typename?: 'ManTelemetrySeries'; /** Buckets that have readings, oldest first. */ buckets: Array<ManTelemetryBucket>; /** Window start, aligned down to a bucket boundary. */ from: Scalars['DateTime']['output']; granularity: ManTelemetryGranularity; machineCode: Scalars['String']['output']; /** Readings in the window. */ readingCount: Scalars['Int']['output']; tagName: Scalars['String']['output']; to: Scalars['DateTime']['output']; /** Unit of the most recent readings, when the source sends one. */ unit?: Maybe<Scalars['String']['output']>; }; /** How received units of a material are identified. */ export declare enum ManTrackingMode { /** Traced by lot number with an aggregate quantity. */ Lot = "LOT", /** Not individually traced. */ None = "NONE", /** Every unit carries its own unique serial number. */ Serial = "SERIAL" } export type ManUnscheduledOperation = { __typename?: 'ManUnscheduledOperation'; operationId: Scalars['ID']['output']; productionOrderId: Scalars['ID']['output']; reason: Scalars['String']['output']; }; export type ManUpdateAssetInput = { manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; pmIntervalHours?: InputMaybe<Scalars['Float']['input']>; runningHours?: InputMaybe<Scalars['Float']['input']>; serialNumber?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ManAssetStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManUpdateDemandInput = { customerName?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; reference?: InputMaybe<Scalars['String']['input']>; }; export type ManUpdateErpConnectionInput = { accessToken?: InputMaybe<Scalars['String']['input']>; baseUrl?: InputMaybe<Scalars['String']['input']>; environment?: InputMaybe<ManErpEnvironment>; /** Relink to an integrations connection; replaces the realmId, base URL and any pasted tokens. */ integrationConnectionId?: InputMaybe<Scalars['ID']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; refreshToken?: InputMaybe<Scalars['String']['input']>; }; export type ManUpdateInventoryItemInput = { isActive?: InputMaybe<Scalars['Boolean']['input']>; itemType?: InputMaybe<ManItemType>; /** Whole days, 0 to 365. */ leadTimeDays?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; reorderPoint?: InputMaybe<Scalars['Float']['input']>; standardCost?: InputMaybe<Scalars['Float']['input']>; trackingMode?: InputMaybe<ManTrackingMode>; uom?: InputMaybe<Scalars['String']['input']>; }; /** * Changing assetId or kind resets the mapping's stored baseline; downtime it already * opened stays as recorded. */ export type ManUpdateMachineTagMappingInput = { assetId?: InputMaybe<Scalars['ID']['input']>; downtimeReason?: InputMaybe<ManDowntimeReason>; isActive?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<ManMachineTagMappingKind>; runningThreshold?: InputMaybe<Scalars['Float']['input']>; }; /** * Partial update of a material lot's descriptive fields. Every field is optional — * only the keys actually present in the input are written, so a caller editing just * `tags` cannot accidentally blank out `supplier`. Lifecycle status is deliberately * excluded: it moves only through `manSetMaterialLotStatus`, which enforces the * status enum and keeps the genealogy audit trail on a single code path. */ export type ManUpdateMaterialLotInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; materialName?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; receivedAt?: InputMaybe<Scalars['DateTime']['input']>; supplier?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; uom?: InputMaybe<Scalars['String']['input']>; }; export type ManUpdateNonConformanceInput = { containmentAction?: InputMaybe<Scalars['String']['input']>; correctiveAction?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; disposition?: InputMaybe<ManNonConformanceDisposition>; dispositionJustification?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; quantityAffected?: InputMaybe<Scalars['Float']['input']>; rootCause?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<ManSeverity>; standaloneReason?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type ManUpdateOperationInput = { name?: InputMaybe<Scalars['String']['input']>; sequence?: InputMaybe<Scalars['Int']['input']>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; export type ManUpdateProductionOrderInput = { dueDate?: InputMaybe<Scalars['DateTime']['input']>; erpReference?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; plannedEnd?: InputMaybe<Scalars['DateTime']['input']>; plannedStart?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<ManProductionPriority>; productName?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; uom?: InputMaybe<Scalars['String']['input']>; }; export type ManUpdateWatchFindingInput = { status: ManWatchFindingStatus; }; export type ManUpdateWatchLoopConfigInput = { atRiskOrdersEnabled?: InputMaybe<Scalars['Boolean']['input']>; cadenceMinutes?: InputMaybe<Scalars['Int']['input']>; downtimeClusterEnabled?: InputMaybe<Scalars['Boolean']['input']>; downtimeClusterMinEvents?: InputMaybe<Scalars['Int']['input']>; downtimeClusterWindowMinutes?: InputMaybe<Scalars['Int']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; maxCandidatesPerSweep?: InputMaybe<Scalars['Int']['input']>; oeeBaselineWindowHours?: InputMaybe<Scalars['Int']['input']>; oeeDriftEnabled?: InputMaybe<Scalars['Boolean']['input']>; oeeDropThresholdPct?: InputMaybe<Scalars['Int']['input']>; orderAtRiskMinGapPct?: InputMaybe<Scalars['Int']['input']>; }; export type ManUpdateWorkCenterInput = { capacityHours?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; idealRunRate?: InputMaybe<Scalars['Float']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<ManWorkCenterType>; }; export type ManVerifyNonConformanceInput = { /** Required when result is NOT_EFFECTIVE. */ notes?: InputMaybe<Scalars['String']['input']>; result: ManCapaVerificationResult; }; /** A finding surfaced by a sweep; supervisor-facing and deduped by fingerprint. */ export type ManWatchFinding = { __typename?: 'ManWatchFinding'; assetId?: Maybe<Scalars['ID']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; fingerprint: Scalars['String']['output']; firstSeenAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: ManWatchFindingKind; lastRunId?: Maybe<Scalars['ID']['output']>; lastSeenAt: Scalars['DateTime']['output']; notifiedAt?: Maybe<Scalars['DateTime']['output']>; productionOrderId?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; resolvedAt?: Maybe<Scalars['DateTime']['output']>; severity: Scalars['String']['output']; status: ManWatchFindingStatus; updatedAt: Scalars['DateTime']['output']; workCenterId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum ManWatchFindingKind { DowntimeCluster = "DOWNTIME_CLUSTER", OeeDrift = "OEE_DRIFT", OrderAtRisk = "ORDER_AT_RISK" } export declare enum ManWatchFindingStatus { Acknowledged = "ACKNOWLEDGED", Dismissed = "DISMISSED", Open = "OPEN", Resolved = "RESOLVED" } /** Per-workspace watch-loop configuration and sweep tuning. */ export type ManWatchLoopConfig = { __typename?: 'ManWatchLoopConfig'; atRiskOrdersEnabled: Scalars['Boolean']['output']; cadenceMinutes: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; downtimeClusterEnabled: Scalars['Boolean']['output']; downtimeClusterMinEvents: Scalars['Int']['output']; downtimeClusterWindowMinutes: Scalars['Int']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; maxCandidatesPerSweep: Scalars['Int']['output']; oeeBaselineWindowHours: Scalars['Int']['output']; oeeDriftEnabled: Scalars['Boolean']['output']; oeeDropThresholdPct: Scalars['Int']['output']; orderAtRiskMinGapPct: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workflowInstalledAt?: Maybe<Scalars['DateTime']['output']>; /** Set once the platform shift-watch schedule has been installed for this workspace. */ workflowKey?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum ManWatchRunStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Skipped = "SKIPPED" } export declare enum ManWatchRunTrigger { Manual = "MANUAL", Scheduled = "SCHEDULED" } export type ManWorkCenter = { __typename?: 'ManWorkCenter'; capacityHours: Scalars['Float']['output']; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; idealRunRate: Scalars['Float']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; operations: ManProductionOperationConnection; tags: Array<Scalars['String']['output']>; type: ManWorkCenterType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ManWorkCenterOperationsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type ManWorkCenterConnection = { __typename?: 'ManWorkCenterConnection'; items: Array<ManWorkCenter>; pageInfo: ManPageInfo; }; export declare enum ManWorkCenterType { Assembly = "ASSEMBLY", Cell = "CELL", Line = "LINE", Machine = "MACHINE", Manual = "MANUAL" } /** A single daily APMC mandi price quote (shared reference-cache row). */ export type MandiPrice = { __typename?: 'MandiPrice'; arrivalQty?: Maybe<Scalars['Float']['output']>; commodity: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; district?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; marketName: Scalars['String']['output']; maxPrice: Scalars['Float']['output']; minPrice: Scalars['Float']['output']; modalPrice: Scalars['Float']['output']; priceDate: Scalars['DateTime']['output']; /** Data provenance, e.g. 'agmarknet'. */ source: Scalars['String']['output']; state?: Maybe<Scalars['String']['output']>; /** Reference unit — Agmarknet quotes per quintal (₹/quintal). */ unit: Scalars['String']['output']; variety?: Maybe<Scalars['String']['output']>; }; /** One point on a commodity's daily min/modal/max price trend. */ export type MandiPriceTrendPoint = { __typename?: 'MandiPriceTrendPoint'; date: Scalars['DateTime']['output']; label: Scalars['String']['output']; maxPrice: Scalars['Float']['output']; minPrice: Scalars['Float']['output']; modalPrice: Scalars['Float']['output']; }; /** A generic non-field map element (buffer zone, irrigation line, water source, etc.). */ export type MapFeature = { __typename?: 'MapFeature'; color?: Maybe<Scalars['String']['output']>; /** GeoJSON point/line/polygon geometry. Returned as-is. */ geometry: Scalars['JSON']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** One of: BUFFER_ZONE, IRRIGATION_LINE, WATER_SOURCE, BUILDING, GREENHOUSE, ENCLOSURE, HAZARD, CUSTOM. */ type: Scalars['String']['output']; }; export type MarkHealthyBowlAggregationLotSoldInput = { buyerName?: InputMaybe<Scalars['String']['input']>; context: ContextInput; deliveryDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; export type MarkHealthyBowlAlertReadInput = { alertId: Scalars['ID']['input']; context: ContextInput; read: Scalars['Boolean']['input']; }; /** * Mark government notifications read or unread (BOFF-6112). * * Takes a LIST rather than a single id because "mark all read" is the common action, and one call * per notification would leave a half-applied state visible if the network dropped mid-way. * * ⚠️ `GovernmentNotification.read` is WORKSPACE-scoped — the model carries no userId — so one member * marking a notification read hides it for every member of that workspace. That is the shipped data * model, not a choice made here; per-user read state would need its own table. */ export type MarkHealthyBowlGovernmentNotificationReadInput = { context: ContextInput; /** Notifications to update. Ids from another workspace are ignored, not rejected. */ notificationIds: Array<Scalars['ID']['input']>; read: Scalars['Boolean']['input']; }; export type MarketplaceProduct = { __typename?: 'MarketplaceProduct'; category: Scalars['String']['output']; description: Scalars['String']['output']; entityTags: Array<HealthyBowlTag>; id: Scalars['ID']['output']; image?: Maybe<Scalars['String']['output']>; location?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; price: Scalars['Float']['output']; rating: Scalars['Float']['output']; reviews: Scalars['Int']['output']; seller: Scalars['String']['output']; sellerRating?: Maybe<Scalars['Float']['output']>; /** Livestock withdrawal gate (BOFF-2885/BOFF-6186): source animal, null for non-livestock listings. */ sourceAnimalId?: Maybe<Scalars['ID']['output']>; /** MILK | MEAT | EGGS — null for non-livestock listings. */ sourceProduceType?: Maybe<Scalars['String']['output']>; stock: Scalars['Int']['output']; unit: Scalars['String']['output']; }; export type MatchHealthyBowlStatementLineInput = { context: ContextInput; id: Scalars['ID']['input']; /** The farm Transaction to pair with. One transaction can back only one statement line. */ transactionId: Scalars['ID']['input']; }; /** Where MCP clients reach this workspace's tools. */ export type McpEndpointInfo = { __typename?: 'McpEndpointInfo'; /** The newest published version, null before the first publish. */ latestVersion?: Maybe<Scalars['Int']['output']>; /** Path on the workspace gateway, e.g. /mcp/fluidgrids/<workspaceId>. */ path: Scalars['String']['output']; productKey: Scalars['String']['output']; /** Scopes an API key can carry. */ scopeHelp: Array<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** A workflow or connector operation opted in as an MCP tool (served once published). */ export type McpExposedTool = { __typename?: 'McpExposedTool'; adapter?: Maybe<Scalars['String']['output']>; /** An admin's explicit allow for an operation that changes data. */ allowWrite: Scalars['Boolean']['output']; connectionId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** WORKFLOW or CONNECTOR_OPERATION. */ kind: Scalars['String']['output']; nodeType?: Maybe<Scalars['String']['output']>; nodeVersion?: Maybe<Scalars['String']['output']>; operation?: Maybe<Scalars['String']['output']>; /** True when the operation only reads data. */ readOnly: Scalars['Boolean']['output']; /** The MCP tool name: lowercase letters, digits, _ and -. */ toolName: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workflowKey?: Maybe<Scalars['String']['output']>; }; export type McpPublishResult = { __typename?: 'McpPublishResult'; /** False when nothing changed since the latest version, which is returned instead. */ created: Scalars['Boolean']['output']; /** Exposed tools that could not be published, with the reason. */ skipped: Array<McpPublishSkip>; toolSet: McpToolSet; }; export type McpPublishSkip = { __typename?: 'McpPublishSkip'; reason: Scalars['String']['output']; toolName: Scalars['String']['output']; }; /** A tool as frozen into a published tool set. */ export type McpPublishedTool = { __typename?: 'McpPublishedTool'; description: Scalars['String']['output']; /** JSON Schema of the tool's arguments. */ inputSchema: Scalars['JSON']['output']; inputSchemaHash: Scalars['String']['output']; kind: Scalars['String']['output']; name: Scalars['String']['output']; nodeType?: Maybe<Scalars['String']['output']>; operation?: Maybe<Scalars['String']['output']>; readOnly: Scalars['Boolean']['output']; workflowKey?: Maybe<Scalars['String']['output']>; }; /** One MCP tools/call and what happened to it. */ export type McpToolCall = { __typename?: 'McpToolCall'; /** The calling app (the MCP client's app id). */ actorId: Scalars['String']['output']; actorType: Scalars['String']['output']; approvalExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** PENDING, APPROVED, DECLINED or EXPIRED for a call held for approval. */ approvalStatus?: Maybe<Scalars['String']['output']>; /** The held call whose approval this call used. */ approvedCallId?: Maybe<Scalars['ID']['output']>; /** sha256 of the canonical tool call payload; an approval covers exactly this payload. */ argsSha256: Scalars['String']['output']; /** When an approved call was let through (an approval is used once). */ consumedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; decidedById?: Maybe<Scalars['String']['output']>; /** ALLOW, LOG, DENY, REQUIRE_APPROVAL, APPROVED, SCOPE_DENIED or INVALID_ARGUMENTS. */ decision: Scalars['String']['output']; decisionReason?: Maybe<Scalars['String']['output']>; errorCode?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; latencyMs?: Maybe<Scalars['Int']['output']>; policyId?: Maybe<Scalars['ID']['output']>; policyName?: Maybe<Scalars['String']['output']>; runId?: Maybe<Scalars['ID']['output']>; /** SUCCEEDED, FAILED, DENIED, PENDING_APPROVAL or RUNNING. */ status: Scalars['String']['output']; toolKind: Scalars['String']['output']; toolName: Scalars['String']['output']; toolSetVersion: Scalars['Int']['output']; }; export type McpToolCallFilter = { approvalStatus?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; toolName?: InputMaybe<Scalars['String']['input']>; }; export type McpToolCallPage = { __typename?: 'McpToolCallPage'; hasMore: Scalars['Boolean']['output']; items: Array<McpToolCall>; /** Pass as `after` for the next (older) page. Null at the end. */ nextCursor?: Maybe<Scalars['String']['output']>; }; /** An immutable, numbered snapshot of the workspace's MCP tools. */ export type McpToolSet = { __typename?: 'McpToolSet'; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; publishedAt: Scalars['DateTime']['output']; publishedById: Scalars['String']['output']; /** PUBLISHED (served) or DEPRECATED (no longer served). */ status: Scalars['String']['output']; tools: Array<McpPublishedTool>; toolsHash: Scalars['String']['output']; version: Scalars['Int']['output']; }; /** A medication in the library — a built-in standard (possibly overridden) or a farmer-added custom entry. */ export type MedicationLibraryItem = { __typename?: 'MedicationLibraryItem'; /** True when this medicine comes from the built-in catalog. */ builtin: Scalars['Boolean']['output']; /** Antibiotic | Dewormer | Antiparasitic | NSAID | Hormone | Vaccine | Other */ className: Scalars['String']['output']; eggsWithdrawalDays?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; meatWithdrawalDays?: Maybe<Scalars['Int']['output']>; /** Standard withdrawal days per produce; null = not applicable to that produce. */ milkWithdrawalDays?: Maybe<Scalars['Int']['output']>; name: Scalars['String']['output']; /** IM | IV | IM/IV | SC | Oral | Intramammary | Topical | Other */ route: Scalars['String']['output']; /** STANDARD (a built-in, possibly with overridden days) | CUSTOM (farmer-added). */ source: Scalars['String']['output']; /** Applicable species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY); empty = all species. */ species: Array<Scalars['String']['output']>; }; /** A logged medication administration on an animal, with computed per-produce clear dates. */ export type MedicationTreatment = { __typename?: 'MedicationTreatment'; administeredBy?: Maybe<Scalars['String']['output']>; animalId: Scalars['ID']['output']; animalName: Scalars['String']['output']; animalTag: Scalars['String']['output']; /** Species (CATTLE|BUFFALO|GOAT|SHEEP|PIG|POULTRY). */ animalType: Scalars['String']['output']; className?: Maybe<Scalars['String']['output']>; createdAt: Scalars['String']['output']; /** Min days-left across this treatment's still-blocked produce (0 if none). */ daysLeft: Scalars['Int']['output']; dose?: Maybe<Scalars['String']['output']>; eggsClearDate?: Maybe<Scalars['String']['output']>; eggsWithdrawalDays?: Maybe<Scalars['Int']['output']>; healthRecordId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; meatClearDate?: Maybe<Scalars['String']['output']>; meatWithdrawalDays?: Maybe<Scalars['Int']['output']>; medicationLibraryItemId?: Maybe<Scalars['ID']['output']>; medicationName: Scalars['String']['output']; milkClearDate?: Maybe<Scalars['String']['output']>; milkWithdrawalDays?: Maybe<Scalars['Int']['output']>; notes?: Maybe<Scalars['String']['output']>; /** BLOCKED | UNDER_WITHDRAWAL | CLEARED — roll-up across this treatment's produce. */ overallStatus: Scalars['String']['output']; /** Computed per-produce status at read time. */ produceStatuses: Array<ProduceWithdrawalStatus>; route?: Maybe<Scalars['String']['output']>; treatmentDate: Scalars['String']['output']; }; export type MeetingActionItem = { __typename?: 'MeetingActionItem'; assigneeId?: Maybe<Scalars['ID']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; meeting: MeetingMeta; meetingMetaId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; status: MeetingActionItemStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MeetingActionItemStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Pending = "PENDING" } export type MeetingFilterInput = { hasActionItems?: InputMaybe<Scalars['Boolean']['input']>; meetingType?: InputMaybe<MeetingType>; minRating?: InputMaybe<Scalars['Int']['input']>; participantUserId?: InputMaybe<Scalars['ID']['input']>; startDateFrom?: InputMaybe<Scalars['DateTime']['input']>; startDateTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type MeetingMeta = { __typename?: 'MeetingMeta'; actionItems: Array<MeetingActionItem>; calendarEventId?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; cost?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; duration?: Maybe<Scalars['Int']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; meetingType: MeetingType; notes?: Maybe<Scalars['String']['output']>; participants: Array<MeetingParticipant>; rating?: Maybe<Scalars['Int']['output']>; recordingUrl?: Maybe<Scalars['String']['output']>; startTime: Scalars['DateTime']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MeetingMetaActionItemsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MeetingMetaParticipantsArgs = { pagination?: InputMaybe<PaginationInput>; }; export declare enum MeetingOrderByField { cost = "cost", CreatedAt = "createdAt", duration = "duration", EndTime = "endTime", rating = "rating", StartTime = "startTime", UpdatedAt = "updatedAt" } export type MeetingOrderByInput = { direction: TimeCampusSortDirection; field: MeetingOrderByField; }; export type MeetingParticipant = { __typename?: 'MeetingParticipant'; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; meeting: MeetingMeta; meetingMetaId: Scalars['ID']['output']; role: MeetingParticipantRole; status: MeetingParticipantStatus; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MeetingParticipantRole { Optional = "OPTIONAL", Organizer = "ORGANIZER", Required = "REQUIRED" } export declare enum MeetingParticipantStatus { Accepted = "ACCEPTED", Declined = "DECLINED", Pending = "PENDING", Tentative = "TENTATIVE" } export declare enum MeetingProvider { Custom = "CUSTOM", GoogleMeet = "GOOGLE_MEET", MicrosoftTeams = "MICROSOFT_TEAMS", Webex = "WEBEX", Zoom = "ZOOM" } export type MeetingStats = { __typename?: 'MeetingStats'; actionItemsCompleted: Scalars['Int']['output']; actionItemsTotal: Scalars['Int']['output']; averageDuration: Scalars['Float']['output']; averageRating: Scalars['Float']['output']; totalCost: Scalars['Float']['output']; totalDuration: Scalars['Int']['output']; totalMeetings: Scalars['Int']['output']; }; export declare enum MeetingType { External = "EXTERNAL", OneOnOne = "ONE_ON_ONE", Planning = "PLANNING", Retrospective = "RETROSPECTIVE", Review = "REVIEW", Standup = "STANDUP", Team = "TEAM" } export type MemberAddedPayload = { __typename?: 'MemberAddedPayload'; member: VaultMember; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type MemberPresenceEvent = { __typename?: 'MemberPresenceEvent'; /** When the presence was last updated */ lastSeenAt?: Maybe<Scalars['DateTime']['output']>; /** The member whose presence changed */ memberId: Scalars['String']['output']; /** The new presence status */ status: MemberPresenceStatus; /** The user associated with the member */ userId: Scalars['String']['output']; }; export declare enum MemberPresenceStatus { Away = "AWAY", Offline = "OFFLINE", Online = "ONLINE" } export type MemberRemovedPayload = { __typename?: 'MemberRemovedPayload'; memberId: Scalars['ID']['output']; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type MemberRoleChangedPayload = { __typename?: 'MemberRoleChangedPayload'; member: VaultMember; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type MembershipConnection = { __typename?: 'MembershipConnection'; edges: Array<MembershipEdge>; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type MembershipEdge = { __typename?: 'MembershipEdge'; cursor: Scalars['String']['output']; node: GroupMembership; }; export type MembershipError = { __typename?: 'MembershipError'; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; error: Scalars['String']['output']; }; export declare enum MembershipRole { Admin = "ADMIN", Bot = "BOT", Guest = "GUEST", Member = "MEMBER", Moderator = "MODERATOR", Observer = "OBSERVER", Owner = "OWNER" } export declare enum MembershipSource { Inherited = "INHERITED", Invited = "INVITED", Manual = "MANUAL", Migrated = "MIGRATED", RuleBased = "RULE_BASED", SelfJoin = "SELF_JOIN" } export declare enum MembershipStatus { Active = "ACTIVE", Banned = "BANNED", Invited = "INVITED", Left = "LEFT", Removed = "REMOVED" } export declare enum MembershipType { Dynamic = "DYNAMIC", Hybrid = "HYBRID", Static = "STATIC" } export type Mention = { __typename?: 'Mention'; id: Scalars['ID']['output']; length: Scalars['Int']['output']; mentionType: MentionType; mentionedUser?: Maybe<Scalars['ID']['output']>; message: Message; messageId: Scalars['ID']['output']; offset: Scalars['Int']['output']; }; export declare enum MentionType { All = "ALL", Here = "HERE", Role = "ROLE", User = "USER" } export type Mentor = { __typename?: 'Mentor'; availability: Scalars['String']['output']; experience: Scalars['Int']['output']; focusAreas: Array<Scalars['String']['output']>; hourlyRate: Scalars['Float']['output']; id: Scalars['ID']['output']; languages: Array<Scalars['String']['output']>; location: Scalars['String']['output']; mentees: Scalars['Int']['output']; mentoringSince?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; rating: Scalars['Float']['output']; reviews: Scalars['Int']['output']; specialization: Scalars['String']['output']; }; /** * Descriptor returned by startMeshAgentSession. The browser uses agentTunnelUrl + * capabilityToken to open the stream DIRECTLY to the destination agent; `hops` * shows the resolved control-plane path for display. */ export type MeshSessionDescriptor = { __typename?: 'MeshSessionDescriptor'; agentTunnelUrl: Scalars['String']['output']; capabilityToken: Scalars['String']['output']; connectionId: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; hops: Array<Scalars['ID']['output']>; sessionId?: Maybe<Scalars['String']['output']>; }; export type MeshSessionInput = { cols?: InputMaybe<Scalars['Int']['input']>; cwd?: InputMaybe<Scalars['String']['input']>; kind: MeshSessionKind; rows?: InputMaybe<Scalars['Int']['input']>; vibeId?: InputMaybe<Scalars['String']['input']>; }; export declare enum MeshSessionKind { Logs = "LOGS", Shell = "SHELL", Terminal = "TERMINAL" } export type Message = { __typename?: 'Message'; attachments: Array<Attachment>; authorId: Scalars['ID']['output']; authorName: Scalars['String']['output']; authorType: Scalars['String']['output']; content: Scalars['JSON']['output']; conversation: Conversation; conversationId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; deliveredAt?: Maybe<Scalars['DateTime']['output']>; editHistory: Array<MessageEdit>; editedAt?: Maybe<Scalars['DateTime']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; isAnonymous: Scalars['Boolean']['output']; isEdited: Scalars['Boolean']['output']; isHidden: Scalars['Boolean']['output']; isPinned: Scalars['Boolean']['output']; mentions: Array<Mention>; metadata?: Maybe<Scalars['JSON']['output']>; parentMessageId?: Maybe<Scalars['ID']['output']>; permissions: MessagePermissions; pinnedAt?: Maybe<Scalars['DateTime']['output']>; pinnedBy?: Maybe<Scalars['ID']['output']>; reactions: Array<Reaction>; readCount: Scalars['Int']['output']; readReceipts: Array<MessageReadReceipt>; replyCount: Scalars['Int']['output']; status: MessageStatus; threadLevel: Scalars['Int']['output']; threadRootId?: Maybe<Scalars['ID']['output']>; type: MessageType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MessageConnection = { __typename?: 'MessageConnection'; edges: Array<MessageEdge>; pageInfo: PageInfo; totalCount?: Maybe<Scalars['Int']['output']>; }; export type MessageContentInput = { payload?: InputMaybe<Scalars['JSON']['input']>; richText?: InputMaybe<RichTextDocumentInput>; text?: InputMaybe<Scalars['String']['input']>; }; /** Content type for channel messages */ export declare enum MessageContentType { Html = "HTML", Markdown = "MARKDOWN", RichText = "RICH_TEXT", Text = "TEXT" } export type MessageDeletedPayload = { __typename?: 'MessageDeletedPayload'; conversationId: Scalars['ID']['output']; deletedBy: Scalars['ID']['output']; hard: Scalars['Boolean']['output']; messageId: Scalars['ID']['output']; }; export type MessageEdge = { __typename?: 'MessageEdge'; cursor: Scalars['String']['output']; node: Message; }; export type MessageEdit = { __typename?: 'MessageEdit'; editedAt: Scalars['DateTime']['output']; editedBy: Scalars['ID']['output']; id: Scalars['ID']['output']; message: Message; messageId: Scalars['ID']['output']; previousContent: Scalars['JSON']['output']; reason?: Maybe<Scalars['String']['output']>; }; export type MessageFilter = { authorIds?: InputMaybe<Array<Scalars['ID']['input']>>; fromDate?: InputMaybe<Scalars['DateTime']['input']>; hasAttachments?: InputMaybe<Scalars['Boolean']['input']>; hasMentions?: InputMaybe<Scalars['Boolean']['input']>; isPinned?: InputMaybe<Scalars['Boolean']['input']>; isUnread?: InputMaybe<Scalars['Boolean']['input']>; toDate?: InputMaybe<Scalars['DateTime']['input']>; types?: InputMaybe<Array<MessageType>>; }; /** * Message permissions for the current user * Calculated based on conversation membership, role, and settings */ export type MessagePermissions = { __typename?: 'MessagePermissions'; canDelete: Scalars['Boolean']['output']; canEdit: Scalars['Boolean']['output']; canHide: Scalars['Boolean']['output']; canPin: Scalars['Boolean']['output']; canReact: Scalars['Boolean']['output']; canReply: Scalars['Boolean']['output']; canReport: Scalars['Boolean']['output']; }; export type MessageReactionChangedPayload = { __typename?: 'MessageReactionChangedPayload'; changeType: ReactionChangeType; message: Message; reaction?: Maybe<Reaction>; }; export type MessageReadReceipt = { __typename?: 'MessageReadReceipt'; id: Scalars['ID']['output']; message: Message; messageId: Scalars['ID']['output']; readAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; }; export type MessageReport = { __typename?: 'MessageReport'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; message: Message; messageId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; reason: Scalars['String']['output']; reportedBy: Scalars['ID']['output']; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['ID']['output']>; status: MessageReportStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MessageReportConnection = { __typename?: 'MessageReportConnection'; edges: Array<MessageReportEdge>; pageInfo: PageInfo; totalCount?: Maybe<Scalars['Int']['output']>; }; export type MessageReportEdge = { __typename?: 'MessageReportEdge'; cursor: Scalars['String']['output']; node: MessageReport; }; export type MessageReportFilter = { conversationId?: InputMaybe<Scalars['ID']['input']>; reportedBy?: InputMaybe<Scalars['ID']['input']>; statuses?: InputMaybe<Array<MessageReportStatus>>; }; export declare enum MessageReportResolutionAction { Dismiss = "DISMISS", HideMessage = "HIDE_MESSAGE", Resolve = "RESOLVE", UnhideMessage = "UNHIDE_MESSAGE" } export declare enum MessageReportStatus { Dismissed = "DISMISSED", Pending = "PENDING", Resolved = "RESOLVED", Reviewing = "REVIEWING" } export declare enum MessageStatus { Deleted = "DELETED", Delivered = "DELIVERED", Failed = "FAILED", Read = "READ", Sending = "SENDING", Sent = "SENT" } export declare enum MessageType { Audio = "AUDIO", File = "FILE", Image = "IMAGE", Poll = "POLL", System = "SYSTEM", Text = "TEXT", Video = "VIDEO" } export type MetadataEntry = { __typename?: 'MetadataEntry'; isPublic: Scalars['Boolean']['output']; key: Scalars['String']['output']; value: Scalars['String']['output']; valueType: MetadataValueType; }; export type MetadataEntryInput = { isPublic?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; value: Scalars['String']['input']; valueType?: InputMaybe<MetadataValueType>; }; export type MetadataSetEvent = { __typename?: 'MetadataSetEvent'; expiresAt?: Maybe<Scalars['DateTime']['output']>; fileId: Scalars['ID']['output']; key: Scalars['String']['output']; metadata?: Maybe<Scalars['String']['output']>; metadataId: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; value: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type MetadataSortInput = { field: FileMetadataSortField; order: SortOrder; }; export declare enum MetadataValueType { Boolean = "BOOLEAN", Date = "DATE", Json = "JSON", Number = "NUMBER", Text = "TEXT", Url = "URL" } export type Metric = { __typename?: 'Metric'; aggregationField?: Maybe<Scalars['String']['output']>; aggregationFieldType?: Maybe<MetricAggregationField>; createdAt: Scalars['DateTime']['output']; createdBy: User; customSql?: Maybe<Scalars['String']['output']>; defaultTimeGrain: TimeGrain; description?: Maybe<Scalars['String']['output']>; eventName?: Maybe<Scalars['String']['output']>; filters?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; type: MetricType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MetricAggregationField { Custom = "CUSTOM", EventCount = "EVENT_COUNT", PropertyValue = "PROPERTY_VALUE", SessionId = "SESSION_ID", UserId = "USER_ID" } export type MetricBreakdown = { __typename?: 'MetricBreakdown'; dimension: Scalars['String']['output']; metric: Scalars['Float']['output']; value: Scalars['String']['output']; }; export type MetricComparison = { __typename?: 'MetricComparison'; change?: Maybe<Scalars['Float']['output']>; changePercent?: Maybe<Scalars['Float']['output']>; current: Scalars['Float']['output']; previous?: Maybe<Scalars['Float']['output']>; }; export type MetricDataPoint = { __typename?: 'MetricDataPoint'; label?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; value: Scalars['Float']['output']; }; export type MetricResult = { __typename?: 'MetricResult'; breakdowns: Array<MetricBreakdown>; comparison?: Maybe<MetricComparison>; metadata?: Maybe<Scalars['JSON']['output']>; metricKey: Scalars['String']['output']; metricName: Scalars['String']['output']; timeSeries: Array<MetricDataPoint>; total: Scalars['Float']['output']; }; export declare enum MetricType { Average = "AVERAGE", Count = "COUNT", CountDistinct = "COUNT_DISTINCT", Custom = "CUSTOM", Ratio = "RATIO", Sum = "SUM" } /** Metrics query output type (echoes query parameters) */ export type MetricsQuery = { __typename?: 'MetricsQuery'; breakdowns?: Maybe<Array<Scalars['String']['output']>>; compareWithPreviousPeriod?: Maybe<Scalars['Boolean']['output']>; compareWithPreviousYear?: Maybe<Scalars['Boolean']['output']>; endDate: Scalars['DateTime']['output']; metricKeys: Array<Scalars['String']['output']>; startDate: Scalars['DateTime']['output']; timeGrain?: Maybe<TimeGrain>; }; export type MetricsQueryInput = { breakdowns?: InputMaybe<Array<Scalars['String']['input']>>; compareWithPreviousPeriod?: InputMaybe<Scalars['Boolean']['input']>; compareWithPreviousYear?: InputMaybe<Scalars['Boolean']['input']>; endDate: Scalars['DateTime']['input']; filters?: InputMaybe<Array<PropertyFilterInput>>; metricKeys: Array<Scalars['String']['input']>; startDate: Scalars['DateTime']['input']; timeGrain?: InputMaybe<TimeGrain>; }; export type MetricsQueryResult = { __typename?: 'MetricsQueryResult'; cached: Scalars['Boolean']['output']; executedAt: Scalars['DateTime']['output']; executionTimeMs: Scalars['Int']['output']; query: MetricsQuery; results: Array<MetricResult>; }; /** A significant checkpoint or deliverable target within a project timeline. */ export type Milestone = { __typename?: 'Milestone'; /** Actual completion date */ completedAt?: Maybe<Scalars['DateTime']['output']>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this milestone */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Milestone description */ description?: Maybe<Scalars['String']['output']>; /** Target due date */ dueDate?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** * True when the milestone is still open (PENDING or IN_PROGRESS) and its due date is before today (UTC) — the same * day-based rule as WorkItem.isOverdue, computed by the server when read. A past due date is allowed and never * silently changed; it is flagged here instead. */ isOverdue: Scalars['Boolean']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Milestone name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId?: Maybe<Scalars['String']['output']>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** Sort order */ sortOrder: Scalars['Int']['output']; /** Current status */ status: MilestoneStatus; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this milestone */ updatedBy?: Maybe<Scalars['String']['output']>; /** The work items grouped under this milestone (PDM-22), counted by the server: live items only. */ workItemProgress: PlanmagnetMilestoneProgress; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum MilestoneStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Missed = "MISSED", Pending = "PENDING" } export declare enum MisfirePolicy { Coalesce = "COALESCE", FireAll = "FIRE_ALL", FireImmediately = "FIRE_IMMEDIATELY", FireNextValid = "FIRE_NEXT_VALID", Skip = "SKIP" } export type ModifyRecurringInstanceInput = { description?: InputMaybe<Scalars['String']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; instanceDate: Scalars['DateTime']['input']; location?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; seriesId: Scalars['ID']['input']; startTime?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export declare enum Mood { Negative = "NEGATIVE", Neutral = "NEUTRAL", Positive = "POSITIVE", VeryNegative = "VERY_NEGATIVE", VeryPositive = "VERY_POSITIVE" } export type MoveFileInput = { fileId: Scalars['ID']['input']; targetFolderId?: InputMaybe<Scalars['ID']['input']>; }; export type MoveFolderInput = { folderId: Scalars['ID']['input']; targetParentFolderId?: InputMaybe<Scalars['ID']['input']>; }; export type MoveVibeDeckButtonInput = { colSpan?: InputMaybe<Scalars['Int']['input']>; column: Scalars['Int']['input']; row: Scalars['Int']['input']; rowSpan?: InputMaybe<Scalars['Int']['input']>; }; export type MtwAnalyticsPoint = { __typename?: 'MtwAnalyticsPoint'; label: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type MtwAnalyticsSeries = { __typename?: 'MtwAnalyticsSeries'; deliveryTrend: Array<MtwAnalyticsPoint>; orderTrend: Array<MtwAnalyticsPoint>; revenueTrend: Array<MtwAnalyticsPoint>; }; /** Ranked candidates from recorded status, expiry and known live routes; not legal, maintenance or duty-hours clearance. */ export type MtwAssignmentSuggestions = { __typename?: 'MtwAssignmentSuggestions'; drivers: Array<MtwDriverSuggestion>; routeId: Scalars['ID']['output']; vehicles: Array<MtwVehicleSuggestion>; }; export type MtwCapacityBasis = { __typename?: 'MtwCapacityBasis'; /** Vehicles with status ACTIVE or IN_TRANSIT. */ activeVehicles: Scalars['Int']['output']; /** Null when the capacity is unknown. */ jobsPerVehiclePerWeek?: Maybe<Scalars['Float']['output']>; laneShareBasis: MtwLaneShareBasis; /** Vehicles whose job history the observed throughput rests on. */ observedVehicles: Scalars['Int']['output']; source: MtwCapacitySource; /** activeVehicles x jobsPerVehiclePerWeek, before any scenario capacity change. Null when unknown. */ weeklyFleetCapacity?: Maybe<Scalars['Float']['output']>; }; /** Where the jobs-per-vehicle-per-week figure behind the fleet capacity comes from. */ export declare enum MtwCapacitySource { /** Observed: the median across vehicles of each vehicle's busiest closed week in the last 12 weeks. */ Observed = "OBSERVED", /** Supplied by the caller in jobsPerVehiclePerWeek. */ Override = "OVERRIDE", /** No vehicle-assigned jobs in the history and no override: capacity is unknown. */ Unknown = "UNKNOWN" } /** * MoveTheWheels-owned cargo/item master used for warehouse inventory and shipment payloads. * This is not a sellable storefront product; commerce SKUs must live in global-store-svc * (StoreProduct) and be referenced by storeProductId when needed. */ export type MtwCargoItem = { __typename?: 'MtwCargoItem'; brand?: Maybe<Scalars['String']['output']>; category?: Maybe<Scalars['String']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; dimensions?: Maybe<Scalars['JSON']['output']>; fragile: Scalars['Boolean']['output']; hazardous: Scalars['Boolean']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; onBehalfOf: Scalars['String']['output']; sku: Scalars['String']['output']; temperatureControlled: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; value?: Maybe<Scalars['Float']['output']>; weight?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type MtwCargoItemStats = { __typename?: 'MtwCargoItemStats'; specialHandling: Scalars['Int']['output']; temperatureControlled: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** How one carrier fared for a quote request. */ export type MtwCarrierOutcome = { __typename?: 'MtwCarrierOutcome'; errorMessage?: Maybe<Scalars['String']['output']>; ok: Scalars['Boolean']['output']; provider: MtwCarrierProvider; quoteCount: Scalars['Int']['output']; }; export declare enum MtwCarrierProvider { Shiprocket = "SHIPROCKET" } export declare enum MtwCarrierServiceMode { Air = "AIR", Surface = "SURFACE" } export type MtwConsolidationCapture = { __typename?: 'MtwConsolidationCapture'; bookingReference?: Maybe<Scalars['String']['output']>; containerId: Scalars['ID']['output']; cycleVersion: Scalars['Int']['output']; shipmentNumber: Scalars['String']['output']; shipmentUpdatedAt: Scalars['DateTime']['output']; }; export type MtwConsolidationEvidenceDeclaration = { __typename?: 'MtwConsolidationEvidenceDeclaration'; fileId: Scalars['ID']['output']; verification: Scalars['String']['output']; versionId: Scalars['ID']['output']; }; export type MtwConsolidationFacts = { __typename?: 'MtwConsolidationFacts'; bookingReference?: Maybe<Scalars['String']['output']>; carrierReference?: Maybe<Scalars['String']['output']>; contextSource: MtwConsolidationSource; cutoffAt?: Maybe<Scalars['DateTime']['output']>; effectiveAt: Scalars['DateTime']['output']; hubName: Scalars['String']['output']; hubReference: Scalars['String']['output']; hubSource: MtwConsolidationSource; jurisdictionReference?: Maybe<Scalars['String']['output']>; lots: Array<MtwConsolidationLot>; mode?: Maybe<Scalars['String']['output']>; timezone?: Maybe<Scalars['String']['output']>; }; export type MtwConsolidationFactsInput = { bookingReference?: InputMaybe<Scalars['String']['input']>; carrierReference?: InputMaybe<Scalars['String']['input']>; contextSource: MtwConsolidationSourceInput; cutoffAt?: InputMaybe<Scalars['DateTime']['input']>; effectiveAt: Scalars['DateTime']['input']; hubName: Scalars['String']['input']; hubReference: Scalars['String']['input']; hubSource: MtwConsolidationSourceInput; jurisdictionReference?: InputMaybe<Scalars['String']['input']>; lots: Array<MtwConsolidationLotInput>; mode?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type MtwConsolidationLot = { __typename?: 'MtwConsolidationLot'; balanceRevision?: Maybe<Scalars['String']['output']>; consignmentReference: Scalars['String']['output']; cubeM3?: Maybe<Scalars['String']['output']>; destinationReference?: Maybe<Scalars['String']['output']>; documentReference?: Maybe<Scalars['String']['output']>; grossKg?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; importerReference?: Maybe<Scalars['String']['output']>; lotReference: Scalars['String']['output']; originReference?: Maybe<Scalars['String']['output']>; plannedQuantity?: Maybe<Scalars['String']['output']>; quantityBasis: MtwConsolidationQuantityBasis; reportedAvailableQuantity?: Maybe<Scalars['String']['output']>; source: MtwConsolidationSource; sourceRevision: Scalars['String']['output']; supplierReference: Scalars['String']['output']; transportReference?: Maybe<Scalars['String']['output']>; unitReference?: Maybe<Scalars['String']['output']>; unitRevision?: Maybe<Scalars['String']['output']>; }; export type MtwConsolidationLotInput = { balanceRevision?: InputMaybe<Scalars['String']['input']>; consignmentReference: Scalars['String']['input']; cubeM3?: InputMaybe<Scalars['String']['input']>; destinationReference?: InputMaybe<Scalars['String']['input']>; documentReference?: InputMaybe<Scalars['String']['input']>; grossKg?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; importerReference?: InputMaybe<Scalars['String']['input']>; lotReference: Scalars['String']['input']; originReference?: InputMaybe<Scalars['String']['input']>; plannedQuantity?: InputMaybe<Scalars['String']['input']>; quantityBasis: MtwConsolidationQuantityBasis; reportedAvailableQuantity?: InputMaybe<Scalars['String']['input']>; source: MtwConsolidationSourceInput; sourceRevision: Scalars['String']['input']; supplierReference: Scalars['String']['input']; transportReference?: InputMaybe<Scalars['String']['input']>; unitReference?: InputMaybe<Scalars['String']['input']>; unitRevision?: InputMaybe<Scalars['String']['input']>; }; export type MtwConsolidationManifest = { __typename?: 'MtwConsolidationManifest'; actorProvenance: Scalars['String']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; observationSequence: Scalars['Int']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; planId: Scalars['ID']['output']; previousVersionId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; snapshot: MtwConsolidationSnapshot; version: Scalars['Int']['output']; }; export type MtwConsolidationManifestPage = { __typename?: 'MtwConsolidationManifestPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwConsolidationManifest>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwConsolidationObservation = { __typename?: 'MtwConsolidationObservation'; actorProvenance: Scalars['String']['output']; createdBy: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; evidenceDeclarations: Array<MtwConsolidationEvidenceDeclaration>; id: Scalars['ID']['output']; issueReference?: Maybe<Scalars['String']['output']>; kind: MtwConsolidationReportKind; lotId: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; planId: Scalars['ID']['output']; previousVersionId?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; receiptSequence: Scalars['Int']['output']; recordedAt: Scalars['DateTime']['output']; reportedObservedAt?: Maybe<Scalars['DateTime']['output']>; reportedQuantity?: Maybe<Scalars['String']['output']>; source: MtwConsolidationSource; status: Scalars['String']['output']; unitReference?: Maybe<Scalars['String']['output']>; unitRevision?: Maybe<Scalars['String']['output']>; version: Scalars['Int']['output']; }; export type MtwConsolidationObservationPage = { __typename?: 'MtwConsolidationObservationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwConsolidationObservation>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwConsolidationPlan = { __typename?: 'MtwConsolidationPlan'; actorProvenance: Scalars['String']['output']; createdBy: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; facts: MtwConsolidationFacts; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; planReference: Scalars['String']['output']; previousVersionId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; shipmentId: Scalars['ID']['output']; sourceCapture: MtwConsolidationCapture; status: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type MtwConsolidationPlanPage = { __typename?: 'MtwConsolidationPlanPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwConsolidationPlan>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwConsolidationQuantityBasis { HubReport = "HUB_REPORT", SourceDeclaration = "SOURCE_DECLARATION", Unknown = "UNKNOWN" } export type MtwConsolidationReconciliationRow = { __typename?: 'MtwConsolidationReconciliationRow'; availabilityDeficit?: Maybe<Scalars['String']['output']>; lotId: Scalars['ID']['output']; plannedQuantity?: Maybe<Scalars['String']['output']>; receiptDeficit?: Maybe<Scalars['String']['output']>; receiptExcess?: Maybe<Scalars['String']['output']>; receiptObservationId?: Maybe<Scalars['ID']['output']>; receivedMinusStuffed?: Maybe<Scalars['String']['output']>; receivedQuantity?: Maybe<Scalars['String']['output']>; reportedAvailableQuantity?: Maybe<Scalars['String']['output']>; stuffedQuantity?: Maybe<Scalars['String']['output']>; stuffingExcess?: Maybe<Scalars['String']['output']>; stuffingObservationId?: Maybe<Scalars['ID']['output']>; unknownReasons: Array<Scalars['String']['output']>; }; export declare enum MtwConsolidationReportKind { Issue = "ISSUE", ReceiptReport = "RECEIPT_REPORT", StuffingReport = "STUFFING_REPORT" } export type MtwConsolidationSnapshot = { __typename?: 'MtwConsolidationSnapshot'; observationSequence: Scalars['Int']['output']; planId: Scalars['ID']['output']; planVersion: Scalars['Int']['output']; recentIssueIds: Array<Scalars['ID']['output']>; reviewReasons: Array<Scalars['String']['output']>; rows: Array<MtwConsolidationReconciliationRow>; status: Scalars['String']['output']; unresolvedIssueCount: Scalars['Int']['output']; }; export type MtwConsolidationSource = { __typename?: 'MtwConsolidationSource'; reference?: Maybe<Scalars['String']['output']>; revision?: Maybe<Scalars['String']['output']>; }; export type MtwConsolidationSourceInput = { reference?: InputMaybe<Scalars['String']['input']>; revision?: InputMaybe<Scalars['String']['input']>; }; export declare enum MtwConsumedFuelBasis { EstimatedConsumption = "ESTIMATED_CONSUMPTION", MeasuredConsumption = "MEASURED_CONSUMPTION", PurchasedOrRefuelled = "PURCHASED_OR_REFUELLED", Unknown = "UNKNOWN" } export type MtwConsumedFuelPreview = { __typename?: 'MtwConsumedFuelPreview'; distance?: Maybe<MtwFuelDistanceObservation>; fuel?: Maybe<MtwFuelVolumeObservation>; litresPer100Km?: Maybe<Scalars['Float']['output']>; qualification: MtwConsumedFuelQualification; reasons: Array<MtwConsumedFuelReason>; status: MtwUtilizationMetricStatus; }; export type MtwConsumedFuelPreviewInput = { distance?: InputMaybe<MtwFuelDistanceObservationInput>; fuel?: InputMaybe<MtwFuelVolumeObservationInput>; }; export declare enum MtwConsumedFuelQualification { OperatorReportedUnverified = "OPERATOR_REPORTED_UNVERIFIED" } export declare enum MtwConsumedFuelReason { DistanceUnknown = "DISTANCE_UNKNOWN", FuelUnknown = "FUEL_UNKNOWN", IntervalMismatch = "INTERVAL_MISMATCH", NonMeasuredDistance = "NON_MEASURED_DISTANCE", PartialCoverage = "PARTIAL_COVERAGE", SourceUnknown = "SOURCE_UNKNOWN", UnsupportedFuelBasis = "UNSUPPORTED_FUEL_BASIS", ZeroDistance = "ZERO_DISTANCE" } export type MtwContainer = { __typename?: 'MtwContainer'; containerNumber: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; equipmentType: MtwEquipmentType; id: Scalars['ID']['output']; ownerName?: Maybe<Scalars['String']['output']>; source: Scalars['String']['output']; suppliedContainerNumber: Scalars['String']['output']; }; export declare enum MtwContainerCargoCategory { Dangerous = "DANGEROUS", Dry = "DRY", FoodGrade = "FOOD_GRADE", Pest = "PEST", Reefer = "REEFER" } export type MtwContainerCycle = { __typename?: 'MtwContainerCycle'; bookingReference?: Maybe<Scalars['String']['output']>; closedAt?: Maybe<Scalars['DateTime']['output']>; containerId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; openedAt: Scalars['DateTime']['output']; shipmentId?: Maybe<Scalars['ID']['output']>; status: MtwContainerCycleStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; }; export type MtwContainerCyclePage = { __typename?: 'MtwContainerCyclePage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerCycle>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwContainerCycleStatus { Closed = "CLOSED", Open = "OPEN" } export type MtwContainerDefect = { __typename?: 'MtwContainerDefect'; code: Scalars['String']['output']; containerId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; details: Scalars['String']['output']; id: Scalars['ID']['output']; inspectionId: Scalars['ID']['output']; severity: MtwContainerDefectSeverity; }; export type MtwContainerDefectPage = { __typename?: 'MtwContainerDefectPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerDefect>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwContainerDefectSeverity { Major = "MAJOR", Minor = "MINOR", Severe = "SEVERE" } /** Append-only sourced observation. Planned/estimated observations never establish custody. */ export type MtwContainerEvent = { __typename?: 'MtwContainerEvent'; actorId: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; eventType: MtwContainerEventType; evidenceNote?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; idempotencyKey: Scalars['String']['output']; kind: MtwContainerEventKind; location?: Maybe<Scalars['String']['output']>; occurredAt: Scalars['DateTime']['output']; receivedAt: Scalars['DateTime']['output']; source: Scalars['String']['output']; sourceReference?: Maybe<Scalars['String']['output']>; }; export declare enum MtwContainerEventKind { Actual = "ACTUAL", Estimated = "ESTIMATED", Planned = "PLANNED" } export type MtwContainerEventPage = { __typename?: 'MtwContainerEventPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerEvent>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwContainerEventType { AvailableForPickup = "AVAILABLE_FOR_PICKUP", Delivered = "DELIVERED", Discharged = "DISCHARGED", EmptyReady = "EMPTY_READY", EmptyReturned = "EMPTY_RETURNED", GateIn = "GATE_IN", GateOut = "GATE_OUT", Loaded = "LOADED", PositionUpdate = "POSITION_UPDATE", ReturnAccepted = "RETURN_ACCEPTED", ReturnRequested = "RETURN_REQUESTED" } /** Bounded audit snapshot of at most 10 exact evidence versions. */ export type MtwContainerEvidence = { __typename?: 'MtwContainerEvidence'; checkedAt: Scalars['DateTime']['output']; fileId: Scalars['ID']['output']; sha256Hash: Scalars['String']['output']; versionId: Scalars['ID']['output']; }; /** Exact shared Files version. The fingerprint establishes integrity, not issuer authenticity. */ export type MtwContainerEvidenceInput = { fileId: Scalars['ID']['input']; versionId: Scalars['ID']['input']; }; /** Recorded operational examination scheme; this service does not issue CSC approval. */ export declare enum MtwContainerExaminationScheme { Acep = "ACEP", Pes = "PES" } export type MtwContainerHold = { __typename?: 'MtwContainerHold'; containerId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; defectIds: Array<Scalars['ID']['output']>; evidence: Array<MtwContainerEvidence>; heldAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; inspectionId?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; releasedAt?: Maybe<Scalars['DateTime']['output']>; status: MtwContainerHoldStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; }; export type MtwContainerHoldPage = { __typename?: 'MtwContainerHoldPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerHold>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwContainerHoldStatus { Open = "OPEN", Released = "RELEASED" } export type MtwContainerInspection = { __typename?: 'MtwContainerInspection'; acepReference?: Maybe<Scalars['String']['output']>; cargoCategory: MtwContainerCargoCategory; containerId: Scalars['ID']['output']; cscPlateVersionId?: Maybe<Scalars['ID']['output']>; defectCount: Scalars['Int']['output']; evidence: Array<MtwContainerEvidence>; examinationScheme: MtwContainerExaminationScheme; examinationVersionId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; inspectedAt: Scalars['DateTime']['output']; inspectorActorId: Scalars['ID']['output']; nextExaminationAt?: Maybe<Scalars['DateTime']['output']>; receivedAt: Scalars['DateTime']['output']; resolvedDefectIds: Array<Scalars['ID']['output']>; severeDefectCount: Scalars['Int']['output']; suitability: MtwContainerSuitability; templateVersion: Scalars['String']['output']; }; export type MtwContainerInspectionPage = { __typename?: 'MtwContainerInspectionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerInspection>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwContainerPage = { __typename?: 'MtwContainerPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainer>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwContainerPagination = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export declare enum MtwContainerQualificationScope { AcepExamination = "ACEP_EXAMINATION", DangerousCargo = "DANGEROUS_CARGO", DryCargo = "DRY_CARGO", FoodGradeCargo = "FOOD_GRADE_CARGO", PestCargo = "PEST_CARGO", PesExamination = "PES_EXAMINATION", ReeferCargo = "REEFER_CARGO" } export declare enum MtwContainerQualificationStatus { HumanReviewed = "HUMAN_REVIEWED", Revoked = "REVOKED", Submitted = "SUBMITTED" } export type MtwContainerReleaseDecision = { __typename?: 'MtwContainerReleaseDecision'; actorId: Scalars['ID']['output']; containerId: Scalars['ID']['output']; decidedAt: Scalars['DateTime']['output']; evidence: Array<MtwContainerEvidence>; holdId: Scalars['ID']['output']; id: Scalars['ID']['output']; inspectionId: Scalars['ID']['output']; qualificationId: Scalars['ID']['output']; resolutionReview: Scalars['String']['output']; }; export type MtwContainerReleaseDecisionPage = { __typename?: 'MtwContainerReleaseDecisionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerReleaseDecision>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwContainerRepair = { __typename?: 'MtwContainerRepair'; actorId: Scalars['ID']['output']; completedAt: Scalars['DateTime']['output']; containerId: Scalars['ID']['output']; defectIds: Array<Scalars['ID']['output']>; evidence: Array<MtwContainerEvidence>; holdId: Scalars['ID']['output']; id: Scalars['ID']['output']; receivedAt: Scalars['DateTime']['output']; workDescription: Scalars['String']['output']; }; export type MtwContainerRepairPage = { __typename?: 'MtwContainerRepairPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwContainerRepair>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwContainerSuitability { Acceptable = "ACCEPTABLE", Rejected = "REJECTED", ReviewRequired = "REVIEW_REQUIRED" } export type MtwCreateReportInput = { description?: InputMaybe<Scalars['String']['input']>; frequency?: InputMaybe<MtwReportFrequency>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; /** Defaults to the interval between scheduled runs (1, 7 or 30 days), or 30 when not scheduled. */ periodDays?: InputMaybe<Scalars['Int']['input']>; runHour?: InputMaybe<Scalars['Int']['input']>; runMonthDay?: InputMaybe<Scalars['Int']['input']>; runWeekday?: InputMaybe<Scalars['Int']['input']>; /** Defaults to the workspace's MoveTheWheels time zone, else UTC. */ timezone?: InputMaybe<Scalars['String']['input']>; type: MtwReportType; }; export type MtwCreateServiceOfferingInput = { availability?: InputMaybe<MtwServiceAvailability>; category: MtwServiceOfferingCategory; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; price?: InputMaybe<Scalars['Float']['input']>; pricingUnit?: InputMaybe<Scalars['String']['input']>; providerId: Scalars['ID']['input']; transitDays?: InputMaybe<Scalars['Int']['input']>; }; export type MtwCreateServiceProviderInput = { contactInfo?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; isVerified?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; rating?: InputMaybe<Scalars['Float']['input']>; serviceAreas?: InputMaybe<Array<Scalars['String']['input']>>; services?: InputMaybe<Array<Scalars['String']['input']>>; type: MtwServiceProviderType; }; export type MtwCustomer = { __typename?: 'MtwCustomer'; address?: Maybe<Scalars['JSON']['output']>; businessLicense?: Maybe<Scalars['String']['output']>; company?: Maybe<Scalars['String']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** Send this customer delivery notifications by email (BOFF-4402). The workspace must also switch customer notifications on. */ notifyByEmail: Scalars['Boolean']['output']; /** Send this customer delivery notifications by SMS. Needs a phone number with its country code. */ notifyBySms: Scalars['Boolean']['output']; onBehalfOf: Scalars['String']['output']; phone?: Maybe<Scalars['String']['output']>; rating?: Maybe<Scalars['Float']['output']>; taxId?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** One notification sent (or attempted) to a shipment's customer. */ export type MtwCustomerNotification = { __typename?: 'MtwCustomerNotification'; attempts: Scalars['Int']['output']; channel: MtwCustomerNotificationChannel; createdAt: Scalars['DateTime']['output']; customerId?: Maybe<Scalars['ID']['output']>; event: MtwCustomerNotificationEvent; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; /** Masked address, e.g. j***@example.com. */ recipient?: Maybe<Scalars['String']['output']>; sentAt?: Maybe<Scalars['DateTime']['output']>; shipmentId: Scalars['ID']['output']; shipmentNumber?: Maybe<Scalars['String']['output']>; status: MtwCustomerNotificationStatus; subject?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; }; /** How a customer is reached. */ export declare enum MtwCustomerNotificationChannel { Email = "EMAIL", Sms = "SMS" } /** A shipment lifecycle moment a customer can be told about (BOFF-4402). */ export declare enum MtwCustomerNotificationEvent { /** The shipment was created for the customer. */ Booked = "BOOKED", /** The risk monitor expects the shipment to miss its promised delivery. Sent once per promise. */ Delayed = "DELAYED", /** The shipment was delivered. */ Delivered = "DELIVERED", /** Delivery could not be completed. */ Failed = "FAILED", /** The latest tracking event says the shipment is out for delivery. */ OutForDelivery = "OUT_FOR_DELIVERY", /** The shipment was collected. */ PickedUp = "PICKED_UP" } export type MtwCustomerNotificationFilterInput = { event?: InputMaybe<MtwCustomerNotificationEvent>; shipmentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<MtwCustomerNotificationStatus>; }; /** A page of customer notifications, newest first. */ export type MtwCustomerNotificationPage = { __typename?: 'MtwCustomerNotificationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwCustomerNotification>; total: Scalars['Int']['output']; }; /** What a customer notification for an event looks like, rendered with sample data. */ export type MtwCustomerNotificationPreview = { __typename?: 'MtwCustomerNotificationPreview'; emailText: Scalars['String']['output']; event: MtwCustomerNotificationEvent; smsText: Scalars['String']['output']; subject: Scalars['String']['output']; }; /** * Whether and how this workspace tells its customers about their shipments. * Off until a workspace admin switches it on; only shipment changes made after * that moment notify, so switching on never mails customers about old shipments. */ export type MtwCustomerNotificationSettings = { __typename?: 'MtwCustomerNotificationSettings'; emailEnabled: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; /** When notifications were last switched on. */ enabledAt?: Maybe<Scalars['DateTime']['output']>; /** Events that notify customers. */ events: Array<MtwCustomerNotificationEvent>; /** False until the workspace saves these settings. */ isCustomized: Scalars['Boolean']['output']; smsEnabled: Scalars['Boolean']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; /** Where a customer notification stands. */ export declare enum MtwCustomerNotificationStatus { /** Not accepted; retried by a later evaluation up to three times. */ Failed = "FAILED", /** Claimed and being sent. */ Pending = "PENDING", /** Accepted by the platform notification service. */ Sent = "SENT", /** Not sent because the customer has no usable address for the channel. */ Skipped = "SKIPPED" } export type MtwCustomerStats = { __typename?: 'MtwCustomerStats'; /** Unavailable because customers have no lifecycle status field. */ active?: Maybe<Scalars['Int']['output']>; /** Average rating, or null when no customer has a rating. */ avgRating?: Maybe<Scalars['Float']['output']>; b2b: Scalars['Int']['output']; b2c: Scalars['Int']['output']; /** Unavailable because customers have no lifecycle status field. */ inactive?: Maybe<Scalars['Int']['output']>; total: Scalars['Int']['output']; }; export type MtwDashboardMetrics = { __typename?: 'MtwDashboardMetrics'; activeDeliveries: Scalars['Int']['output']; activeVehicles: Scalars['Int']['output']; availableDrivers: Scalars['Int']['output']; customerSatisfaction: Scalars['Float']['output']; lowStockItems: Scalars['Int']['output']; onTimeDeliveryRate: Scalars['Float']['output']; recentDeliveryJobs: Array<MtwDeliveryJob>; totalDeliveryJobs: Scalars['Int']['output']; totalRevenue: Scalars['Float']['output']; }; export declare enum MtwDecisionRationaleStatus { /** AI is switched off for this environment; the planner's own rationale is shown. */ AiDisabled = "AI_DISABLED", /** A model-written summary and rationale are attached. */ Available = "AVAILABLE", /** The workspace has spent its MoveTheWheels AI credits; no model call was made. */ CreditsExhausted = "CREDITS_EXHAUSTED", /** The workspace reached its daily AI cap; no model call was made. */ DailyCapReached = "DAILY_CAP_REACHED", /** There was nothing to explain (no assignments). */ NotNeeded = "NOT_NEEDED", /** The model could not produce a rationale this time; the plan is unchanged. */ Unavailable = "UNAVAILABLE" } /** * MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order * system; checkout and order of record remain in global-store-svc StoreOrder. */ export type MtwDeliveryJob = { __typename?: 'MtwDeliveryJob'; cargoItems: Scalars['JSON']['output']; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; customer?: Maybe<MtwCustomer>; customerId: Scalars['ID']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; deliveryAddress: Scalars['JSON']['output']; deliveryJobNumber: Scalars['String']['output']; driver?: Maybe<MtwDriver>; driverId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; onBehalfOf: Scalars['String']['output']; pickupAddress: Scalars['JSON']['output']; pricing?: Maybe<Scalars['JSON']['output']>; priority: DeliveryPriority; route?: Maybe<MtwRoute>; routeId?: Maybe<Scalars['ID']['output']>; scheduledDelivery?: Maybe<Scalars['DateTime']['output']>; shipment?: Maybe<MtwShipment>; specialInstructions?: Maybe<Scalars['String']['output']>; status: DeliveryJobStatus; statusHistory: Array<MtwDeliveryJobStatusHistory>; storeOrder?: Maybe<StoreOrder>; storeOrderId?: Maybe<Scalars['ID']['output']>; trackingNumber?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; vehicle?: Maybe<MtwVehicle>; vehicleId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; /** * MoveTheWheels-owned operational dispatch unit. It is intentionally not a cart/order * system; checkout and order of record remain in global-store-svc StoreOrder. */ export type MtwDeliveryJobStatusHistoryArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwDeliveryJobStats = { __typename?: 'MtwDeliveryJobStats'; assigned: Scalars['Int']['output']; cancelled: Scalars['Int']['output']; confirmed: Scalars['Int']['output']; delivered: Scalars['Int']['output']; failed: Scalars['Int']['output']; inTransit: Scalars['Int']['output']; outForDelivery: Scalars['Int']['output']; pending: Scalars['Int']['output']; pickedUp: Scalars['Int']['output']; returned: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwDeliveryJobStatusHistory = { __typename?: 'MtwDeliveryJobStatusHistory'; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; deliveryJobId: Scalars['ID']['output']; id: Scalars['ID']['output']; location?: Maybe<Scalars['JSON']['output']>; notes?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; previousStatus?: Maybe<DeliveryJobStatus>; status: DeliveryJobStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** The model that produced a forecast row. */ export declare enum MtwDemandForecastModel { /** Reserved; never produced. Read as the moving-average heuristic. */ HeuristicGrowthRate = "HEURISTIC_GROWTH_RATE", /** Blend of 4- and 12-week moving averages with a clamped growth term. */ HeuristicMovingAvg = "HEURISTIC_MOVING_AVG", /** Holt's linear trend exponential smoothing with a damped trend. */ HoltLinear = "HOLT_LINEAR", /** Additive Holt-Winters exponential smoothing with a damped trend and a seasonal cycle in weeks. */ HoltWinters = "HOLT_WINTERS" } /** Which model forecasts a lane or customer, and why. */ export type MtwDemandForecastModelChoice = { __typename?: 'MtwDemandForecastModelChoice'; candidates: Array<MtwDemandForecastModelScore>; evaluatedAt: Scalars['DateTime']['output']; /** Closed weeks of history the forecast rests on. */ historyWeeks: Scalars['Int']['output']; /** Plain-language reason for the choice, quoting the back-test errors. */ reason: Scalars['String']['output']; scopeKey: Scalars['String']['output']; /** Display name: the customer's name for CUSTOMER rows, `Origin → Destination` for LANE rows. */ scopeLabel: Scalars['String']['output']; scopeType: DemandForecastScope; selectedModel: MtwDemandForecastModel; }; /** One candidate model's back-test result for a lane or customer. */ export type MtwDemandForecastModelScore = { __typename?: 'MtwDemandForecastModelScore'; /** Closed weeks the model was scored on, predicting each one week ahead. */ holdoutWeeks: Scalars['Int']['output']; /** Mean absolute percentage error on weekly volume over the back-test weeks (0.25 = 25%). Null when no back-test week had demand. */ mape?: Maybe<Scalars['Float']['output']>; model: MtwDemandForecastModel; /** Holt-Winters only: weeks in the seasonal cycle that scored best. */ seasonLengthWeeks?: Maybe<Scalars['Int']['output']>; /** This model produces the lane's or customer's forecast. */ selected: Scalars['Boolean']['output']; }; export type MtwDemandForecastPoint = { __typename?: 'MtwDemandForecastPoint'; actualRevenue?: Maybe<Scalars['Float']['output']>; actualVolume?: Maybe<Scalars['Int']['output']>; confidence: Scalars['Float']['output']; /** The model this row was forecast with. */ model: MtwDemandForecastModel; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; predictedRevenue: Scalars['Float']['output']; predictedVolume: Scalars['Int']['output']; scopeKey: Scalars['String']['output']; /** Display name: the customer's name for CUSTOMER rows, `Origin → Destination` for LANE rows. */ scopeLabel: Scalars['String']['output']; scopeType: DemandForecastScope; }; /** * When the workspace's forecast was last recalculated. Reads refresh a forecast * that is more than six hours old or was made before the current ISO week. */ export type MtwDemandForecastRunStatus = { __typename?: 'MtwDemandForecastRunStatus'; /** A recalculation started within the last 15 minutes and has not finished. */ inProgress: Scalars['Boolean']['output']; lastCompletedAt?: Maybe<Scalars['DateTime']['output']>; lastRowsWritten: Scalars['Int']['output']; /** The most recent recalculation failed; it is retried after 15 minutes. */ lastRunFailed: Scalars['Boolean']['output']; lastStartedAt: Scalars['DateTime']['output']; /** The next forecast read will recalculate first. */ stale: Scalars['Boolean']['output']; }; export type MtwDemandForecastVariance = { __typename?: 'MtwDemandForecastVariance'; actualRevenue: Scalars['Float']['output']; actualVolume: Scalars['Int']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; predictedRevenue: Scalars['Float']['output']; predictedVolume: Scalars['Int']['output']; revenueVariance: Scalars['Float']['output']; scopeKey: Scalars['String']['output']; /** Display name: the customer's name for CUSTOMER rows, `Origin → Destination` for LANE rows. */ scopeLabel: Scalars['String']['output']; scopeType: DemandForecastScope; volumeVariance: Scalars['Int']['output']; }; export type MtwDemandScenarioComparison = { __typename?: 'MtwDemandScenarioComparison'; /** The forecast with no changes, compared against current capacity. */ baseline: MtwScenarioResult; capacity: MtwCapacityBasis; generatedAt: Scalars['DateTime']['output']; /** One result per input scenario, in input order. */ scenarios: Array<MtwScenarioResult>; weeks: Scalars['Int']['output']; }; export type MtwDemandScenarioComparisonInput = { /** Jobs one available vehicle handles per week. When omitted the throughput observed over the last 12 closed weeks is used. */ jobsPerVehiclePerWeek?: InputMaybe<Scalars['Float']['input']>; /** Up to 4 scenarios to compare side by side with the baseline. An empty list gives the baseline capacity-vs-demand view. */ scenarios?: InputMaybe<Array<MtwDemandScenarioInput>>; /** Forecast weeks to compare, starting this ISO week. Clamped to 1..12, like the forecast queries. */ weeks?: InputMaybe<Scalars['Int']['input']>; }; export type MtwDemandScenarioInput = { /** Fleet capacity change in percent, from -100 to 500 (for example +20 for two extra trucks on a fleet of ten). */ capacityChangePct?: InputMaybe<Scalars['Float']['input']>; /** Lane keys to close (at most 200). A closed lane carries no demand; what it would have carried is reported as lost. */ closedLanes?: InputMaybe<Array<Scalars['String']['input']>>; /** Demand change on every lane in percent, from -100 to 500. */ demandChangePct?: InputMaybe<Scalars['Float']['input']>; /** Per-lane demand changes (at most 200). */ laneAdjustments?: InputMaybe<Array<MtwDemandScenarioLaneAdjustmentInput>>; /** Unique within the comparison, 1 to 80 characters; "Baseline" is reserved for the unchanged forecast. */ name: Scalars['String']['input']; }; export type MtwDemandScenarioLaneAdjustmentInput = { /** Demand change on this lane in percent, from -100 to 500, applied on top of the scenario-wide change. */ demandChangePct: Scalars['Float']['input']; /** Lane key as returned in MtwDemandForecastPoint.scopeKey (Origin->Destination). */ laneKey: Scalars['String']['input']; }; /** One proposed shipment -> vehicle + driver pairing. */ export type MtwDispatchAssignment = { __typename?: 'MtwDispatchAssignment'; /** Model-written rationale, when AI produced one. */ aiRationale?: Maybe<Scalars['String']['output']>; /** Planner confidence from 0 to 1, from how much of what the pairing depends on is recorded and favourable. Not a probability of on-time delivery. */ confidence: Scalars['Float']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; decision: MtwDispatchAssignmentDecision; decisionReason?: Maybe<Scalars['String']['output']>; driverId: Scalars['ID']['output']; driverName?: Maybe<Scalars['String']['output']>; estimatedDelivery?: Maybe<Scalars['DateTime']['output']>; estimatedDistanceKm?: Maybe<Scalars['Float']['output']>; estimatedDurationMinutes?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; planId: Scalars['ID']['output']; /** The planner's own factual rationale. */ rationale: Scalars['String']['output']; /** Reason codes behind the pairing, e.g. MAINTENANCE_OK, CAPACITY_FITS, LINKED_PAIR. */ reasons: Array<Scalars['String']['output']>; routeId?: Maybe<Scalars['ID']['output']>; sequence: Scalars['Int']['output']; shipmentId: Scalars['ID']['output']; shipmentNumber?: Maybe<Scalars['String']['output']>; vehicleId: Scalars['ID']['output']; vehicleNumber?: Maybe<Scalars['String']['output']>; vehicleType?: Maybe<Scalars['String']['output']>; waypoints: Scalars['JSON']['output']; }; export declare enum MtwDispatchAssignmentDecision { /** Accepted; routeId is the route that was created. */ Accepted = "ACCEPTED", Pending = "PENDING", Rejected = "REJECTED", /** Accepted, but the shipment, vehicle or driver changed since the proposal; decisionReason says how. No route was created. */ Stale = "STALE" } export type MtwDispatchPlan = { __typename?: 'MtwDispatchPlan'; acceptedCount: Scalars['Int']['output']; /** Provider-qualified model that wrote the rationale, when one did. */ aiModel?: Maybe<Scalars['String']['output']>; aiStatus: MtwDecisionRationaleStatus; aiSummary?: Maybe<Scalars['String']['output']>; assignments: Array<MtwDispatchAssignment>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; decidedBy?: Maybe<Scalars['String']['output']>; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** The deterministic planner that produced the assignments. */ method: Scalars['String']['output']; pendingCount: Scalars['Int']['output']; rejectedCount: Scalars['Int']['output']; staleCount: Scalars['Int']['output']; status: MtwDispatchPlanStatus; unassigned: Array<MtwUnassignedShipment>; windowEnd?: Maybe<Scalars['DateTime']['output']>; windowStart?: Maybe<Scalars['DateTime']['output']>; }; export declare enum MtwDispatchPlanStatus { /** Every assignment was accepted and has a route. */ Applied = "APPLIED", /** A decision is being applied right now. */ Applying = "APPLYING", /** The plan was superseded by a newer one or passed its expiry without a decision. */ Expired = "EXPIRED", /** Some assignments were accepted; the rest were rejected or had gone stale. */ PartiallyApplied = "PARTIALLY_APPLIED", /** Waiting for a decision. */ Proposed = "PROPOSED", /** No assignment was accepted; nothing was written. */ Rejected = "REJECTED" } /** Unit MoveTheWheels shows distances in. */ export declare enum MtwDistanceUnit { /** Kilometres */ Km = "KM", /** Miles */ Mi = "MI" } /** * A single extraction run over one platform File. `acceptedFields` is exactly * what a human accepted, `appliedActions` records what those accepts did — * the audit trail for a dispute is which file was read and which fields a * human accepted. */ export type MtwDocumentExtraction = { __typename?: 'MtwDocumentExtraction'; acceptedFields: Array<Scalars['String']['output']>; appliedAt?: Maybe<Scalars['DateTime']['output']>; appliedBy?: Maybe<Scalars['String']['output']>; costMicroUsd?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; docType: MtwDocumentType; fields: Array<MtwExtractionField>; fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; model: Scalars['String']['output']; shipmentId?: Maybe<Scalars['ID']['output']>; status: MtwDocumentExtractionStatus; workspaceId: Scalars['ID']['output']; }; export declare enum MtwDocumentExtractionStatus { Applied = "APPLIED", PartiallyApplied = "PARTIALLY_APPLIED", Proposed = "PROPOSED" } /** * Freight document intelligence (BOFF-3892). * * A vision model reads a freight document (BOL / POD / carrier invoice / packing * list) attached to a MoveTheWheels entity as a platform File and PROPOSES typed * fields with per-field confidence. The extraction writes nothing to the * operations spine by itself: a human reviews the proposed fields and accepts * them per-field through mtwApplyDocumentExtraction, and only the accepted, * mapped fields perform writes — a POD acceptance advances its shipment through * the normal ShipmentService.addTrackingEvent path, a carrier-invoice * acceptance records a freight-invoice comparison (variance) against the pinned * estimate. The model call is metered and ledgered on the shared AI runtime * (BOFF-3601) and made with store:false; extracted values stay in this * workspace's tables with the same lifecycle as the source file and are never * surfaced as assistant pageContext. */ export declare enum MtwDocumentType { BillOfLading = "BILL_OF_LADING", CarrierInvoice = "CARRIER_INVOICE", PackingList = "PACKING_LIST", ProofOfDelivery = "PROOF_OF_DELIVERY" } export type MtwDriver = { __typename?: 'MtwDriver'; baseSalary?: Maybe<Scalars['Float']['output']>; bonusYtd?: Maybe<Scalars['Float']['output']>; certifications?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currentLocation?: Maybe<Scalars['JSON']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; email?: Maybe<Scalars['String']['output']>; employeeId: Scalars['String']['output']; firstName: Scalars['String']['output']; hireDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; lastName: Scalars['String']['output']; licenseClass?: Maybe<Scalars['String']['output']>; licenseExpiry?: Maybe<Scalars['DateTime']['output']>; licenseNumber?: Maybe<Scalars['String']['output']>; /** Recorded daily driving limit in hours; route optimization checks the estimated run against it. */ maxDrivingHoursPerShift?: Maybe<Scalars['Float']['output']>; /** Free-text HR/performance notes. Encrypted at rest. */ notes?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; /** Set and in the future means the driver is currently on leave. Independent of the operational DriverStatus. */ onLeaveUntil?: Maybe<Scalars['DateTime']['output']>; payCurrency?: Maybe<Scalars['String']['output']>; performanceMetrics?: Maybe<Scalars['JSON']['output']>; phone?: Maybe<Scalars['String']['output']>; rating?: Maybe<Scalars['Float']['output']>; status: DriverStatus; terminatedAt?: Maybe<Scalars['DateTime']['output']>; /** Reason recorded when the driver was dismissed/terminated. Encrypted at rest. */ terminationReason?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; userId?: Maybe<Scalars['String']['output']>; /** * Deprecated: use the many-to-many vehicleIds relationship. * @deprecated Use vehicles/vehicleIds for many-to-many fleet assignments. */ vehicleId?: Maybe<Scalars['String']['output']>; /** Vehicles linked to this driver through the workspace fleet relationship. */ vehicles: Array<MtwVehicle>; workspaceId: Scalars['ID']['output']; }; /** The calling driver's delivery day: the mobile driver task list (BOFF-3991). */ export type MtwDriverDay = { __typename?: 'MtwDriverDay'; completedStops: Scalars['Int']['output']; /** The requested local calendar date (YYYY-MM-DD). */ date: Scalars['String']['output']; /** The calling actor's Driver record, or null when the actor is not a driver in this workspace. */ driverId?: Maybe<Scalars['ID']['output']>; driverName?: Maybe<Scalars['String']['output']>; /** The first stop awaiting capture, else the first upcoming stop. */ nextStop?: Maybe<MtwDriverStop>; remainingStops: Scalars['Int']['output']; stops: Array<MtwDriverStop>; totalStops: Scalars['Int']['output']; windowEnd: Scalars['DateTime']['output']; windowStart: Scalars['DateTime']['output']; }; /** One stop in the calling driver's day, in driving sequence order. */ export type MtwDriverStop = { __typename?: 'MtwDriverStop'; /** True while the job is out for delivery / in transit and can take an ePOD capture. */ awaitingCapture: Scalars['Boolean']['output']; /** When the ePOD was captured, for completed stops. */ deliveredAt?: Maybe<Scalars['DateTime']['output']>; deliveryJob: MtwDeliveryJob; /** An open job scheduled before the requested day that carried over onto today. */ overdue: Scalars['Boolean']['output']; routeId?: Maybe<Scalars['ID']['output']>; routeName?: Maybe<Scalars['String']['output']>; /** 1-based position in the driver's sequence for the day. */ sequence: Scalars['Int']['output']; state: MtwDriverStopState; }; /** * Where a stop sits in the calling driver's day (BOFF-3991): COMPLETED once * delivered, EN_ROUTE while out for delivery / in transit (ePOD capture is * possible), UPCOMING before dispatch, FAILED for failed or returned jobs. */ export declare enum MtwDriverStopState { Completed = "COMPLETED", EnRoute = "EN_ROUTE", Failed = "FAILED", Upcoming = "UPCOMING" } export type MtwDriverSuggestion = { __typename?: 'MtwDriverSuggestion'; driver: MtwDriver; reasons: Array<Scalars['String']['output']>; score: Scalars['Int']['output']; }; export type MtwEmissionsBreakdown = { __typename?: 'MtwEmissionsBreakdown'; co2eKg: Scalars['Float']['output']; totalDistanceKm: Scalars['Float']['output']; vehicleId?: Maybe<Scalars['ID']['output']>; vehicleNumber?: Maybe<Scalars['String']['output']>; }; export type MtwEmissionsSummary = { __typename?: 'MtwEmissionsSummary'; averageCo2eKgPerKm: Scalars['Float']['output']; byVehicle: Array<MtwEmissionsBreakdown>; totalCo2eKg: Scalars['Float']['output']; totalDistanceKm: Scalars['Float']['output']; }; /** Sourced immutable empty-return instructions. Reuse approval never fabricates a depot return. */ export type MtwEmptyReturnInstruction = { __typename?: 'MtwEmptyReturnInstruction'; bookingReference: Scalars['String']['output']; changeReason: Scalars['String']['output']; createdBy: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; depotReference: Scalars['String']['output']; effectiveAt: Scalars['DateTime']['output']; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; locationReference: Scalars['String']['output']; ownerReference: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; returnFrom: Scalars['DateTime']['output']; returnUntil: Scalars['DateTime']['output']; sourceReference: Scalars['String']['output']; supersedesInstructionId?: Maybe<Scalars['ID']['output']>; version: Scalars['Int']['output']; }; export type MtwEmptyReturnInstructionPage = { __typename?: 'MtwEmptyReturnInstructionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwEmptyReturnInstruction>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Operator-recorded external permission history; never a dispatcher reservation or external identity certificate. */ export type MtwEquipmentReuseApproval = { __typename?: 'MtwEquipmentReuseApproval'; approvalId?: Maybe<Scalars['ID']['output']>; counterpartyReference: Scalars['String']['output']; createdBy: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; kind: MtwReuseApprovalKind; note: Scalars['String']['output']; proposalId: Scalars['ID']['output']; recordedAt: Scalars['DateTime']['output']; sourceReference: Scalars['String']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; }; export type MtwEquipmentReuseApprovalPage = { __typename?: 'MtwEquipmentReuseApprovalPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwEquipmentReuseApproval>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Physical equipment; LCL is a freight service, not an equipment type. */ export declare enum MtwEquipmentType { Dry_20 = "DRY_20", Dry_40 = "DRY_40", FlatRack = "FLAT_RACK", HighCube_40 = "HIGH_CUBE_40", OpenTop = "OPEN_TOP", Other = "OTHER", Reefer_20 = "REEFER_20", Reefer_40 = "REEFER_40", Tank = "TANK" } export declare enum MtwExportFormat { Csv = "CSV", Json = "JSON" } export type MtwExportJob = { __typename?: 'MtwExportJob'; createdAt: Scalars['DateTime']['output']; downloadUrl?: Maybe<Scalars['String']['output']>; entityTypes: Array<Scalars['String']['output']>; format: MtwExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwExtractionCorrectionInput = { key: Scalars['String']['input']; value: Scalars['String']['input']; }; /** One extracted field: a bounded, normalized value with the model's confidence in it. */ export type MtwExtractionField = { __typename?: 'MtwExtractionField'; confidence: Scalars['Float']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; /** Normalized value (ISO dates, plain numbers, JSON text for line items); null when the document did not show it. */ value?: Maybe<Scalars['String']['output']>; }; export type MtwFinanceMetrics = { __typename?: 'MtwFinanceMetrics'; fuelCost: Scalars['Float']['output']; openInvoices: Scalars['Int']['output']; revenue: MtwRevenueMetrics; }; /** A compliance or maintenance item that needs attention, computed live from vehicle service markers and driver licence expiry. */ export type MtwFleetAlert = { __typename?: 'MtwFleetAlert'; /** Negative when already past due. */ daysUntilDue?: Maybe<Scalars['Int']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** Negative when the due mileage has already been passed. Vehicles only. */ kmUntilDue?: Maybe<Scalars['Float']['output']>; message: Scalars['String']['output']; severity: MtwFleetAlertSeverity; subjectId: Scalars['ID']['output']; subjectName: Scalars['String']['output']; subjectType: MtwFleetAlertSubjectType; type: MtwFleetAlertType; }; export declare enum MtwFleetAlertSeverity { Critical = "CRITICAL", Warning = "WARNING" } export declare enum MtwFleetAlertSubjectType { Driver = "DRIVER", Vehicle = "VEHICLE" } export declare enum MtwFleetAlertType { LicenseExpired = "LICENSE_EXPIRED", LicenseExpiring = "LICENSE_EXPIRING", LicenseUnknown = "LICENSE_UNKNOWN", MaintenanceDueSoon = "MAINTENANCE_DUE_SOON", MaintenanceOverdue = "MAINTENANCE_OVERDUE" } export type MtwFleetStats = { __typename?: 'MtwFleetStats'; activeVehicles: Scalars['Int']['output']; availableDrivers: Scalars['Int']['output']; avgDriverRating: Scalars['Float']['output']; inTransitVehicles: Scalars['Int']['output']; maintenanceVehicles: Scalars['Int']['output']; onDeliveryDrivers: Scalars['Int']['output']; totalDrivers: Scalars['Int']['output']; totalVehicles: Scalars['Int']['output']; }; export type MtwFreeTimeAgreement = { __typename?: 'MtwFreeTimeAgreement'; applicability: MtwFreeTimeApplicability; changeReason: Scalars['String']['output']; clockId: Scalars['ID']['output']; confirmedFreeUntil?: Maybe<Scalars['DateTime']['output']>; createdBy: Scalars['ID']['output']; effectiveAt: Scalars['DateTime']['output']; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; payee: Scalars['String']['output']; payer: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; sourceReference: Scalars['String']['output']; stopEventId?: Maybe<Scalars['ID']['output']>; stopEventType: MtwContainerEventType; terms?: Maybe<MtwFreeTimeTerms>; triggerEventId?: Maybe<Scalars['ID']['output']>; triggerEventType: MtwContainerEventType; version: Scalars['Int']['output']; }; /** Full immutable replacement: corrections retain prior evidence and event bindings. */ export type MtwFreeTimeAgreementInput = { applicability: MtwFreeTimeApplicability; changeReason: Scalars['String']['input']; confirmedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>; effectiveAt: Scalars['DateTime']['input']; evidence: Array<MtwContainerEvidenceInput>; payee: Scalars['String']['input']; payer: Scalars['String']['input']; sourceReference: Scalars['String']['input']; stopEventId?: InputMaybe<Scalars['ID']['input']>; stopEventType: MtwContainerEventType; terms?: InputMaybe<MtwFreeTimeTermsInput>; triggerEventId?: InputMaybe<Scalars['ID']['input']>; triggerEventType: MtwContainerEventType; }; export type MtwFreeTimeAgreementPage = { __typename?: 'MtwFreeTimeAgreementPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreeTimeAgreement>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Segmented prospective tariffs need a separate accrual engine. */ export declare enum MtwFreeTimeApplicability { UnsupportedSegmented = "UNSUPPORTED_SEGMENTED", WholeClock = "WHOLE_CLOCK" } export declare enum MtwFreeTimeCalculationPolicy { LocalDateEnd = "LOCAL_DATE_END", Unsupported = "UNSUPPORTED" } export type MtwFreeTimeCalendar = { __typename?: 'MtwFreeTimeCalendar'; excludedDates: Array<Scalars['String']['output']>; weekdays: Array<Scalars['Int']['output']>; }; export type MtwFreeTimeCalendarInput = { excludedDates: Array<Scalars['String']['input']>; weekdays: Array<Scalars['Int']['input']>; }; export declare enum MtwFreeTimeChargeKind { Demurrage = "DEMURRAGE", Detention = "DETENTION", TerminalStorage = "TERMINAL_STORAGE" } export type MtwFreeTimeClock = { __typename?: 'MtwFreeTimeClock'; chargeKind: MtwFreeTimeChargeKind; createdAt: Scalars['DateTime']['output']; currentAgreementVersion: Scalars['Int']['output']; cycleId: Scalars['ID']['output']; id: Scalars['ID']['output']; obligationReference: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; }; export type MtwFreeTimeClockPage = { __typename?: 'MtwFreeTimeClockPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreeTimeClock>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwFreeTimeDecisionKind { Accepted = "ACCEPTED", Expired = "EXPIRED", Rejected = "REJECTED" } /** Recalculated using recorded versions effective at asOf; not a reconstruction of what was known then. */ export type MtwFreeTimeExposure = { __typename?: 'MtwFreeTimeExposure'; agreementId?: Maybe<Scalars['ID']['output']>; amountMinorUnits?: Maybe<Scalars['Float']['output']>; asOf: Scalars['DateTime']['output']; chargedDays?: Maybe<Scalars['Int']['output']>; clockId: Scalars['ID']['output']; currency?: Maybe<Scalars['String']['output']>; deadlineSource?: Maybe<Scalars['String']['output']>; evaluatedUntil?: Maybe<Scalars['DateTime']['output']>; freeUntil?: Maybe<Scalars['DateTime']['output']>; localLastFreeDate?: Maybe<Scalars['String']['output']>; minorUnitDigits?: Maybe<Scalars['Int']['output']>; reason?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; }; /** No decision means requested; expiry alone never changes an accepted agreement. */ export type MtwFreeTimeExtension = { __typename?: 'MtwFreeTimeExtension'; baseAgreementId: Scalars['ID']['output']; clockId: Scalars['ID']['output']; createdBy: Scalars['ID']['output']; decision?: Maybe<MtwFreeTimeExtensionDecision>; evidence: Array<MtwContainerEvidence>; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; reason: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; requestedAt: Scalars['DateTime']['output']; requestedFreeUntil: Scalars['DateTime']['output']; }; export type MtwFreeTimeExtensionDecision = { __typename?: 'MtwFreeTimeExtensionDecision'; acceptedFreeUntil?: Maybe<Scalars['DateTime']['output']>; counterparty: Scalars['String']['output']; createdBy: Scalars['ID']['output']; decidedAt: Scalars['DateTime']['output']; decision: MtwFreeTimeDecisionKind; effectiveAt?: Maybe<Scalars['DateTime']['output']>; evidence: Array<MtwContainerEvidence>; extensionId: Scalars['ID']['output']; id: Scalars['ID']['output']; newAgreementId?: Maybe<Scalars['ID']['output']>; note: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; sourceReference: Scalars['String']['output']; }; export type MtwFreeTimeExtensionPage = { __typename?: 'MtwFreeTimeExtensionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreeTimeExtension>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwFreeTimePartialDayPolicy { AnyStartedLocalDate = "ANY_STARTED_LOCAL_DATE", Unsupported = "UNSUPPORTED" } export type MtwFreeTimeRateTier = { __typename?: 'MtwFreeTimeRateTier'; dailyMinorUnits: Scalars['Int']['output']; fromDay: Scalars['Int']['output']; throughDay?: Maybe<Scalars['Int']['output']>; }; export type MtwFreeTimeRateTierInput = { dailyMinorUnits: Scalars['Int']['input']; fromDay: Scalars['Int']['input']; throughDay?: InputMaybe<Scalars['Int']['input']>; }; export type MtwFreeTimeTerms = { __typename?: 'MtwFreeTimeTerms'; calculationPolicy: MtwFreeTimeCalculationPolicy; chargeCalendar: MtwFreeTimeCalendar; currency: Scalars['String']['output']; freeCalendar: MtwFreeTimeCalendar; freeDays: Scalars['Int']['output']; includeTriggerDate: Scalars['Boolean']['output']; minorUnitDigits: Scalars['Int']['output']; partialDayPolicy: MtwFreeTimePartialDayPolicy; rateTiers: Array<MtwFreeTimeRateTier>; tierBasis: MtwFreeTimeTierBasis; timeZone: Scalars['String']['output']; }; export type MtwFreeTimeTermsInput = { calculationPolicy: MtwFreeTimeCalculationPolicy; chargeCalendar: MtwFreeTimeCalendarInput; currency: Scalars['String']['input']; freeCalendar: MtwFreeTimeCalendarInput; freeDays: Scalars['Int']['input']; includeTriggerDate: Scalars['Boolean']['input']; minorUnitDigits: Scalars['Int']['input']; partialDayPolicy: MtwFreeTimePartialDayPolicy; rateTiers: Array<MtwFreeTimeRateTierInput>; tierBasis: MtwFreeTimeTierBasis; timeZone: Scalars['String']['input']; }; export declare enum MtwFreeTimeTierBasis { ChargedDays = "CHARGED_DAYS", Unsupported = "UNSUPPORTED" } export declare enum MtwFreightAmountBasis { Calculated = "CALCULATED", SourcedFixed = "SOURCED_FIXED", Unknown = "UNKNOWN" } export declare enum MtwFreightCategory { Accessorial = "ACCESSORIAL", BaseFreight = "BASE_FREIGHT", Broker = "BROKER", DestinationHandling = "DESTINATION_HANDLING", DutyEstimate = "DUTY_ESTIMATE", FreeTimeExposure = "FREE_TIME_EXPOSURE", Fuel = "FUEL", Insurance = "INSURANCE", OnCarriage = "ON_CARRIAGE", OriginHandling = "ORIGIN_HANDLING", Other = "OTHER", PreCarriage = "PRE_CARRIAGE", TaxEstimate = "TAX_ESTIMATE" } export type MtwFreightCommercialCapture = { __typename?: 'MtwFreightCommercialCapture'; cargo: MtwFreightCommercialCargoFact; carrier: MtwFreightCommercialCarrierFact; destination: MtwFreightCommercialLocationFact; equipment: MtwFreightCommercialEquipmentFact; origin: MtwFreightCommercialLocationFact; ownerLegs: Array<MtwFreightCommercialOwnerLeg>; ownerShipment: MtwFreightCommercialShipment; schemaVersion: Scalars['Int']['output']; selectedLegs: Array<MtwFreightCommercialLegPin>; service: MtwFreightCommercialServiceFact; volume: MtwFreightCommercialVolumeFact; weight: MtwFreightCommercialWeightFact; }; export type MtwFreightCommercialCaptureInput = { cargo: MtwFreightCommercialCargoFactInput; carrier: MtwFreightCommercialCarrierFactInput; destination: MtwFreightCommercialLocationFactInput; equipment: MtwFreightCommercialEquipmentFactInput; origin: MtwFreightCommercialLocationFactInput; schemaVersion: Scalars['Int']['input']; selectedLegs: Array<MtwFreightCommercialLegPinInput>; service: MtwFreightCommercialServiceFactInput; volume: MtwFreightCommercialVolumeFactInput; weight: MtwFreightCommercialWeightFactInput; }; export type MtwFreightCommercialCargo = { __typename?: 'MtwFreightCommercialCargo'; classificationLabel: Scalars['String']['output']; description: Scalars['String']['output']; }; export type MtwFreightCommercialCargoFact = { __typename?: 'MtwFreightCommercialCargoFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialCargo>; }; export type MtwFreightCommercialCargoFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialCargoInput>; }; export type MtwFreightCommercialCargoInput = { classificationLabel: Scalars['String']['input']; description: Scalars['String']['input']; }; export type MtwFreightCommercialCarrier = { __typename?: 'MtwFreightCommercialCarrier'; label: Scalars['String']['output']; reference: Scalars['String']['output']; }; export type MtwFreightCommercialCarrierFact = { __typename?: 'MtwFreightCommercialCarrierFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialCarrier>; }; export type MtwFreightCommercialCarrierFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialCarrierInput>; }; export type MtwFreightCommercialCarrierInput = { label: Scalars['String']['input']; reference: Scalars['String']['input']; }; export type MtwFreightCommercialEquipment = { __typename?: 'MtwFreightCommercialEquipment'; count: Scalars['Int']['output']; typeLabel: Scalars['String']['output']; }; export type MtwFreightCommercialEquipmentFact = { __typename?: 'MtwFreightCommercialEquipmentFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialEquipment>; }; export type MtwFreightCommercialEquipmentFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialEquipmentInput>; }; export type MtwFreightCommercialEquipmentInput = { count: Scalars['Int']['input']; typeLabel: Scalars['String']['input']; }; export type MtwFreightCommercialLegPin = { __typename?: 'MtwFreightCommercialLegPin'; expectedUpdatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; }; export type MtwFreightCommercialLegPinInput = { expectedUpdatedAt: Scalars['DateTime']['input']; id: Scalars['ID']['input']; }; export type MtwFreightCommercialLink = { __typename?: 'MtwFreightCommercialLink'; fileId: Scalars['ID']['output']; versionId: Scalars['ID']['output']; }; export type MtwFreightCommercialLinkInput = { fileId: Scalars['ID']['input']; versionId: Scalars['ID']['input']; }; export type MtwFreightCommercialLocation = { __typename?: 'MtwFreightCommercialLocation'; jurisdictionLabel?: Maybe<Scalars['String']['output']>; kind: MtwFreightLocationKind; label: Scalars['String']['output']; }; export type MtwFreightCommercialLocationFact = { __typename?: 'MtwFreightCommercialLocationFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialLocation>; }; export type MtwFreightCommercialLocationFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialLocationInput>; }; export type MtwFreightCommercialLocationInput = { jurisdictionLabel?: InputMaybe<Scalars['String']['input']>; kind: MtwFreightLocationKind; label: Scalars['String']['input']; }; export type MtwFreightCommercialOwnerLeg = { __typename?: 'MtwFreightCommercialOwnerLeg'; carrierId?: Maybe<Scalars['ID']['output']>; carrierName?: Maybe<Scalars['String']['output']>; containerCount?: Maybe<Scalars['Int']['output']>; containerType?: Maybe<OceanContainerType>; id: Scalars['ID']['output']; legNumber: Scalars['Int']['output']; mode: TransportMode; updatedAt: Scalars['DateTime']['output']; volumeCbm?: Maybe<Scalars['Float']['output']>; weightKg?: Maybe<Scalars['Float']['output']>; }; export type MtwFreightCommercialProvenance = { __typename?: 'MtwFreightCommercialProvenance'; evidenceLinks: Array<MtwFreightCommercialLink>; observedAt?: Maybe<Scalars['DateTime']['output']>; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; }; export type MtwFreightCommercialProvenanceInput = { evidenceLinks: Array<MtwFreightCommercialLinkInput>; observedAt?: InputMaybe<Scalars['DateTime']['input']>; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; }; export type MtwFreightCommercialServiceFact = { __typename?: 'MtwFreightCommercialServiceFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<Scalars['String']['output']>; }; export type MtwFreightCommercialServiceFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<Scalars['String']['input']>; }; export type MtwFreightCommercialShipment = { __typename?: 'MtwFreightCommercialShipment'; primaryMode: TransportMode; shipmentId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; /** Reported commercial context only; no quote acceptance or completeness authority. */ export declare enum MtwFreightCommercialStatus { NotApplicable = "NOT_APPLICABLE", Sourced = "SOURCED", Unknown = "UNKNOWN" } export type MtwFreightCommercialVolume = { __typename?: 'MtwFreightCommercialVolume'; amount: Scalars['String']['output']; unit: MtwFreightVolumeUnit; zeroReason?: Maybe<Scalars['String']['output']>; }; export type MtwFreightCommercialVolumeFact = { __typename?: 'MtwFreightCommercialVolumeFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialVolume>; }; export type MtwFreightCommercialVolumeFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialVolumeInput>; }; export type MtwFreightCommercialVolumeInput = { amount: Scalars['String']['input']; unit: MtwFreightVolumeUnit; zeroReason?: InputMaybe<Scalars['String']['input']>; }; export type MtwFreightCommercialWeight = { __typename?: 'MtwFreightCommercialWeight'; amount: Scalars['String']['output']; unit: MtwFreightWeightUnit; zeroReason?: Maybe<Scalars['String']['output']>; }; export type MtwFreightCommercialWeightFact = { __typename?: 'MtwFreightCommercialWeightFact'; provenance?: Maybe<MtwFreightCommercialProvenance>; reason?: Maybe<Scalars['String']['output']>; status: MtwFreightCommercialStatus; value?: Maybe<MtwFreightCommercialWeight>; }; export type MtwFreightCommercialWeightFactInput = { provenance?: InputMaybe<MtwFreightCommercialProvenanceInput>; reason?: InputMaybe<Scalars['String']['input']>; status: MtwFreightCommercialStatus; value?: InputMaybe<MtwFreightCommercialWeightInput>; }; export type MtwFreightCommercialWeightInput = { amount: Scalars['String']['input']; unit: MtwFreightWeightUnit; zeroReason?: InputMaybe<Scalars['String']['input']>; }; /** A declared currency/scale convention, not automatic ISO verification. */ export type MtwFreightCurrency = { __typename?: 'MtwFreightCurrency'; code: Scalars['String']['output']; minorUnitDigits: Scalars['Int']['output']; }; export type MtwFreightCurrencyInput = { code: Scalars['String']['input']; minorUnitDigits: Scalars['Int']['input']; }; export declare enum MtwFreightDisposition { Additional = "ADDITIONAL", Excluded = "EXCLUDED", IncludedInLine = "INCLUDED_IN_LINE", Unknown = "UNKNOWN" } export type MtwFreightEstimatePage = { __typename?: 'MtwFreightEstimatePage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreightEstimateVersion>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwFreightEstimateVersion = { __typename?: 'MtwFreightEstimateVersion'; actorProvenance: Scalars['String']['output']; commercialCapture?: Maybe<MtwFreightCommercialCapture>; createdBy: Scalars['ID']['output']; estimateReference: Scalars['String']['output']; evidence: Array<MtwContainerEvidence>; facts: MtwFreightFacts; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; previousVersionId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; shipmentCapture: MtwFreightShipmentCapture; shipmentId: Scalars['ID']['output']; totals: MtwFreightPreview; /** Validity is informational; this record does not accept a quote or confirm capacity. */ validityAtRead: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type MtwFreightFacts = { __typename?: 'MtwFreightFacts'; commercialScope: Scalars['String']['output']; fx: Array<MtwFreightFx>; kind: MtwFreightKind; lines: Array<MtwFreightLine>; pricingAt: Scalars['DateTime']['output']; quotedAt?: Maybe<Scalars['DateTime']['output']>; reportingCurrency?: Maybe<MtwFreightCurrency>; requirements: Array<MtwFreightRequirement>; rounding: MtwFreightRounding; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; title: Scalars['String']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; }; export type MtwFreightFactsInput = { commercialScope: Scalars['String']['input']; fx: Array<MtwFreightFxInput>; kind: MtwFreightKind; lines: Array<MtwFreightLineInput>; pricingAt: Scalars['DateTime']['input']; quotedAt?: InputMaybe<Scalars['DateTime']['input']>; reportingCurrency?: InputMaybe<MtwFreightCurrencyInput>; requirements: Array<MtwFreightRequirementInput>; rounding: MtwFreightRounding; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; title: Scalars['String']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validUntil?: InputMaybe<Scalars['DateTime']['input']>; }; export type MtwFreightFx = { __typename?: 'MtwFreightFx'; effectiveFrom: Scalars['DateTime']['output']; effectiveUntil: Scalars['DateTime']['output']; fromCurrency: MtwFreightCurrency; observedAt: Scalars['DateTime']['output']; rate: Scalars['String']['output']; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; toCurrency: MtwFreightCurrency; }; /** One from-currency major unit equals rate to-currency major units; no implicit inversion. */ export type MtwFreightFxInput = { effectiveFrom: Scalars['DateTime']['input']; effectiveUntil: Scalars['DateTime']['input']; fromCurrency: MtwFreightCurrencyInput; observedAt: Scalars['DateTime']['input']; rate: Scalars['String']['input']; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; toCurrency: MtwFreightCurrencyInput; }; export declare enum MtwFreightInvoiceAcceptance { NotEstablished = "NOT_ESTABLISHED" } export declare enum MtwFreightInvoiceBlocker { EvidenceRequired = "EVIDENCE_REQUIRED", InvoiceReferenceUnknown = "INVOICE_REFERENCE_UNKNOWN", ShipmentNotLive = "SHIPMENT_NOT_LIVE", SupplierUnknown = "SUPPLIER_UNKNOWN" } export type MtwFreightInvoiceComparableSubtotal = { __typename?: 'MtwFreightInvoiceComparableSubtotal'; currency: MtwFreightCurrency; deltaMinor: Scalars['String']['output']; estimateMinor: Scalars['String']['output']; invoiceLineIds: Array<Scalars['ID']['output']>; invoiceMinor: Scalars['String']['output']; payerReference: Scalars['String']['output']; }; export type MtwFreightInvoiceComparison = { __typename?: 'MtwFreightInvoiceComparison'; actorProvenance: Scalars['String']['output']; correctionReason?: Maybe<Scalars['String']['output']>; createdBy: Scalars['ID']['output']; estimate: MtwFreightInvoiceEstimatePin; estimateDeclaredSubtotals: Array<MtwFreightSubtotal>; evidence: Array<MtwContainerEvidence>; facts: MtwFreightInvoiceFacts; id: Scalars['ID']['output']; idempotencyKey: Scalars['String']['output']; invoiceDeclaredSubtotals: Array<MtwFreightSubtotal>; invoiceIdentityId: Scalars['ID']['output']; methodVersion: Scalars['Int']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; outcome: MtwFreightInvoiceOutcome; previousComparisonId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; requestFingerprint: Scalars['String']['output']; revision: Scalars['Int']['output']; shipmentId: Scalars['ID']['output']; }; export type MtwFreightInvoiceComparisonPage = { __typename?: 'MtwFreightInvoiceComparisonPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreightInvoiceComparison>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwFreightInvoiceDecision { Accepted = "ACCEPTED", AcceptedWithVariance = "ACCEPTED_WITH_VARIANCE", Disputed = "DISPUTED" } export type MtwFreightInvoiceEstimatePin = { __typename?: 'MtwFreightInvoiceEstimatePin'; acceptance: MtwFreightInvoiceAcceptance; estimateReference: Scalars['String']['output']; id: Scalars['ID']['output']; kind: MtwFreightKind; quotedAt?: Maybe<Scalars['DateTime']['output']>; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; version: Scalars['Int']['output']; }; export type MtwFreightInvoiceFacts = { __typename?: 'MtwFreightInvoiceFacts'; currency: MtwFreightCurrency; invoiceDate?: Maybe<Scalars['String']['output']>; invoiceReference?: Maybe<Scalars['String']['output']>; rows: Array<MtwFreightInvoiceRow>; schemaVersion: Scalars['Int']['output']; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; supplierLabel?: Maybe<Scalars['String']['output']>; supplierReference?: Maybe<Scalars['String']['output']>; }; export type MtwFreightInvoiceFactsInput = { currency: MtwFreightCurrencyInput; /** An exact source date; unknown remains null. */ invoiceDate?: InputMaybe<Scalars['String']['input']>; invoiceReference?: InputMaybe<Scalars['String']['input']>; rows: Array<MtwFreightInvoiceRowInput>; schemaVersion: Scalars['Int']['input']; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; supplierLabel?: InputMaybe<Scalars['String']['input']>; supplierReference?: InputMaybe<Scalars['String']['input']>; }; export declare enum MtwFreightInvoiceFlag { AmountChanged = "AMOUNT_CHANGED", CurrencyChanged = "CURRENCY_CHANGED", DuplicateMatch = "DUPLICATE_MATCH", ExcludedChargeAppeared = "EXCLUDED_CHARGE_APPEARED", Matched = "MATCHED", MissingExpectedLine = "MISSING_EXPECTED_LINE", PayerChanged = "PAYER_CHANGED", QuantityChanged = "QUANTITY_CHANGED", RateChanged = "RATE_CHANGED", UnknownComparison = "UNKNOWN_COMPARISON", UnmatchedInvoiceLine = "UNMATCHED_INVOICE_LINE" } export type MtwFreightInvoiceOutcome = { __typename?: 'MtwFreightInvoiceOutcome'; /** Only the explicit recorded comparison coverage, never all supplier charges or liability. */ allLinesMatched: Scalars['Boolean']['output']; comparableSubtotals: Array<MtwFreightInvoiceComparableSubtotal>; flags: Array<MtwFreightInvoiceFlag>; missingExpectedLineIds: Array<Scalars['ID']['output']>; rows: Array<MtwFreightInvoiceRowComparison>; unknownExpectedCoverage: Array<MtwFreightInvoiceUnknownCoverage>; }; export type MtwFreightInvoicePreview = { __typename?: 'MtwFreightInvoicePreview'; blockers: Array<MtwFreightInvoiceBlocker>; estimate: MtwFreightInvoiceEstimatePin; estimateDeclaredSubtotals: Array<MtwFreightSubtotal>; facts: MtwFreightInvoiceFacts; invoiceDeclaredSubtotals: Array<MtwFreightSubtotal>; methodVersion: Scalars['Int']['output']; outcome: MtwFreightInvoiceOutcome; recordable: Scalars['Boolean']['output']; }; export declare enum MtwFreightInvoiceReason { IncludedChildBilledSeparately = "INCLUDED_CHILD_BILLED_SEPARATELY", MissingAmount = "MISSING_AMOUNT", MissingPayer = "MISSING_PAYER", MissingQuantity = "MISSING_QUANTITY", MissingRate = "MISSING_RATE", MissingUnit = "MISSING_UNIT", ScaleMismatch = "SCALE_MISMATCH", UnitMismatch = "UNIT_MISMATCH", UnknownBasis = "UNKNOWN_BASIS", UnknownDisposition = "UNKNOWN_DISPOSITION", UnknownExpectedChargeCoverage = "UNKNOWN_EXPECTED_CHARGE_COVERAGE" } export declare enum MtwFreightInvoiceResolution { Accepted = "ACCEPTED", AcceptedWithVariance = "ACCEPTED_WITH_VARIANCE" } export type MtwFreightInvoiceReview = { __typename?: 'MtwFreightInvoiceReview'; /** Lifecycle steps open to the caller. Gateway permissions still apply. */ allowedActions: Array<MtwFreightInvoiceReviewAction>; comparisonCreatedBy: Scalars['ID']['output']; comparisonId: Scalars['ID']['output']; comparisonRecordedAt: Scalars['DateTime']['output']; currency: MtwFreightCurrency; events: Array<MtwFreightInvoiceReviewEvent>; /** False when at least one reported row has no amount. */ invoiceAmountComplete: Scalars['Boolean']['output']; invoiceIdentityId: Scalars['ID']['output']; invoiceReference: Scalars['String']['output']; /** Sum of the reported invoice amounts that are known. */ knownInvoiceAmountMinor: Scalars['String']['output']; latestRevision: Scalars['Int']['output']; /** True when this revision's open dispute was closed by a newer correction revision. */ resolvedByCorrection: Scalars['Boolean']['output']; revision: Scalars['Int']['output']; /** Sequence of the last review event (0 when none); pass it as expectedSequence. */ sequence: Scalars['Int']['output']; settlementReference?: Maybe<Scalars['String']['output']>; shipmentId: Scalars['ID']['output']; status: MtwFreightInvoiceReviewStatus; supersededByComparisonId?: Maybe<Scalars['ID']['output']>; supplierLabel?: Maybe<Scalars['String']['output']>; supplierReference: Scalars['String']['output']; viewerIsAuthor: Scalars['Boolean']['output']; }; export declare enum MtwFreightInvoiceReviewAction { Decide = "DECIDE", HandOffSettlement = "HAND_OFF_SETTLEMENT", RecordSupplierResponse = "RECORD_SUPPLIER_RESPONSE", ResolveDispute = "RESOLVE_DISPUTE" } export type MtwFreightInvoiceReviewEvent = { __typename?: 'MtwFreightInvoiceReviewEvent'; actorProvenance: Scalars['String']['output']; comparisonId: Scalars['ID']['output']; createdBy: Scalars['ID']['output']; /** The decision for DECISION, or the accepting outcome for DISPUTE_RESOLUTION. */ decision?: Maybe<MtwFreightInvoiceDecision>; disputedLineIds: Array<Scalars['ID']['output']>; id: Scalars['ID']['output']; kind: MtwFreightInvoiceReviewEventKind; onBehalfOf?: Maybe<Scalars['ID']['output']>; previousEventId?: Maybe<Scalars['ID']['output']>; /** Dispute or variance reason, supplier response text, resolution reason or hand-off note. */ reason?: Maybe<Scalars['String']['output']>; recordedAt: Scalars['DateTime']['output']; sequence: Scalars['Int']['output']; settlementReference?: Maybe<Scalars['String']['output']>; statusAfter: MtwFreightInvoiceReviewStatus; }; export declare enum MtwFreightInvoiceReviewEventKind { Decision = "DECISION", DisputeResolution = "DISPUTE_RESOLUTION", SettlementHandoff = "SETTLEMENT_HANDOFF", SupplierResponse = "SUPPLIER_RESPONSE" } export type MtwFreightInvoiceReviewPage = { __typename?: 'MtwFreightInvoiceReviewPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwFreightInvoiceReview>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Review status of one exact invoice comparison revision, derived from its append-only review events. */ export declare enum MtwFreightInvoiceReviewStatus { Accepted = "ACCEPTED", AcceptedWithVariance = "ACCEPTED_WITH_VARIANCE", AwaitingReview = "AWAITING_REVIEW", Disputed = "DISPUTED", SettlementHandedOff = "SETTLEMENT_HANDED_OFF", /** A newer correction revision exists; review continues on that revision. */ Superseded = "SUPERSEDED", SupplierResponded = "SUPPLIER_RESPONDED" } /** Counts over the latest revision of every recorded carrier invoice in the workspace. */ export type MtwFreightInvoiceReviewSummary = { __typename?: 'MtwFreightInvoiceReviewSummary'; accepted: Scalars['Int']['output']; acceptedWithVariance: Scalars['Int']['output']; awaitingReview: Scalars['Int']['output']; disputed: Scalars['Int']['output']; settlementHandedOff: Scalars['Int']['output']; supplierResponded: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwFreightInvoiceRow = { __typename?: 'MtwFreightInvoiceRow'; amountMinor?: Maybe<Scalars['String']['output']>; currency: MtwFreightCurrency; description: Scalars['String']['output']; estimateLineId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; payerLabel?: Maybe<Scalars['String']['output']>; payerReference?: Maybe<Scalars['String']['output']>; quantity?: Maybe<Scalars['String']['output']>; unit?: Maybe<Scalars['String']['output']>; unitRateMajor?: Maybe<Scalars['String']['output']>; zeroReason?: Maybe<Scalars['String']['output']>; }; export type MtwFreightInvoiceRowComparison = { __typename?: 'MtwFreightInvoiceRowComparison'; deltaMinor?: Maybe<Scalars['String']['output']>; estimateLineId?: Maybe<Scalars['ID']['output']>; flags: Array<MtwFreightInvoiceFlag>; invoiceLineId: Scalars['ID']['output']; reasons: Array<MtwFreightInvoiceReason>; }; /** Manual reported invoice facts. This comparison does not establish liability or approve payment. */ export type MtwFreightInvoiceRowInput = { amountMinor?: InputMaybe<Scalars['String']['input']>; currency: MtwFreightCurrencyInput; description: Scalars['String']['input']; estimateLineId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; payerLabel?: InputMaybe<Scalars['String']['input']>; payerReference?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; unitRateMajor?: InputMaybe<Scalars['String']['input']>; zeroReason?: InputMaybe<Scalars['String']['input']>; }; export type MtwFreightInvoiceUnknownCoverage = { __typename?: 'MtwFreightInvoiceUnknownCoverage'; estimateLineId: Scalars['ID']['output']; flag: MtwFreightInvoiceFlag; reason: MtwFreightInvoiceReason; }; export declare enum MtwFreightKind { Estimate = "ESTIMATE", Quote = "QUOTE" } export type MtwFreightLine = { __typename?: 'MtwFreightLine'; amountBasis: MtwFreightAmountBasis; amountMinor?: Maybe<Scalars['String']['output']>; category: MtwFreightCategory; currency: MtwFreightCurrency; description: Scalars['String']['output']; disposition: MtwFreightDisposition; id: Scalars['ID']['output']; inclusionParentLineId?: Maybe<Scalars['ID']['output']>; payerLabel?: Maybe<Scalars['String']['output']>; payerReference?: Maybe<Scalars['String']['output']>; quantity?: Maybe<Scalars['String']['output']>; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; unit?: Maybe<Scalars['String']['output']>; unitRateMajor?: Maybe<Scalars['String']['output']>; zeroReason?: Maybe<Scalars['String']['output']>; }; export type MtwFreightLineInput = { amountBasis: MtwFreightAmountBasis; amountMinor?: InputMaybe<Scalars['String']['input']>; category: MtwFreightCategory; currency: MtwFreightCurrencyInput; description: Scalars['String']['input']; disposition: MtwFreightDisposition; id: Scalars['ID']['input']; inclusionParentLineId?: InputMaybe<Scalars['ID']['input']>; payerLabel?: InputMaybe<Scalars['String']['input']>; payerReference?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['String']['input']>; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; unitRateMajor?: InputMaybe<Scalars['String']['input']>; zeroReason?: InputMaybe<Scalars['String']['input']>; }; export type MtwFreightLineTotal = { __typename?: 'MtwFreightLineTotal'; id: Scalars['ID']['output']; nativeAmountMinor?: Maybe<Scalars['String']['output']>; reportingAmountMinor?: Maybe<Scalars['String']['output']>; roundedToZero: Scalars['Boolean']['output']; }; export declare enum MtwFreightLocationKind { AddressLabel = "ADDRESS_LABEL", CustomLabel = "CUSTOM_LABEL", PortLabel = "PORT_LABEL", PostcodeLabel = "POSTCODE_LABEL", TerminalLabel = "TERMINAL_LABEL" } /** Completeness applies only to the recorded required-charge declarations, not all possible charges. */ export type MtwFreightPreview = { __typename?: 'MtwFreightPreview'; completeRelativeToDeclarations: Scalars['Boolean']['output']; lines: Array<MtwFreightLineTotal>; reasons: Array<MtwFreightReason>; reportingTotalMinor?: Maybe<Scalars['String']['output']>; subtotals: Array<MtwFreightSubtotal>; warnings: Array<MtwFreightReason>; }; export type MtwFreightRateBreakdownLine = { __typename?: 'MtwFreightRateBreakdownLine'; amount: Scalars['Float']['output']; label: Scalars['String']['output']; }; export type MtwFreightRateQuote = { __typename?: 'MtwFreightRateQuote'; breakdown: Array<MtwFreightRateBreakdownLine>; calculatedCost: Scalars['Float']['output']; chargeableWeightKg?: Maybe<Scalars['Float']['output']>; currency: Scalars['String']['output']; mode: TransportMode; ratePerUnit: Scalars['Float']['output']; }; export type MtwFreightReason = { __typename?: 'MtwFreightReason'; code: Scalars['String']['output']; detail: Scalars['String']['output']; lineId?: Maybe<Scalars['ID']['output']>; }; export type MtwFreightRequirement = { __typename?: 'MtwFreightRequirement'; category: MtwFreightCategory; reason?: Maybe<Scalars['String']['output']>; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; status: MtwFreightRequirementStatus; }; export type MtwFreightRequirementInput = { category: MtwFreightCategory; reason?: InputMaybe<Scalars['String']['input']>; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; status: MtwFreightRequirementStatus; }; export declare enum MtwFreightRequirementStatus { NotApplicable = "NOT_APPLICABLE", Required = "REQUIRED", Unknown = "UNKNOWN" } export declare enum MtwFreightRounding { HalfUpLine = "HALF_UP_LINE" } export type MtwFreightShipmentCapture = { __typename?: 'MtwFreightShipmentCapture'; capturedUpdatedAt: Scalars['DateTime']['output']; primaryMode: Scalars['String']['output']; shipmentNumber: Scalars['String']['output']; }; export type MtwFreightSubtotal = { __typename?: 'MtwFreightSubtotal'; currency: MtwFreightCurrency; knownAmountMinor: Scalars['String']['output']; payerLabel?: Maybe<Scalars['String']['output']>; payerReference?: Maybe<Scalars['String']['output']>; totalAmountMinor?: Maybe<Scalars['String']['output']>; }; export declare enum MtwFreightVolumeUnit { Ft3 = "FT3", M3 = "M3" } export declare enum MtwFreightWeightUnit { Kg = "KG", Lb = "LB", Tonne = "TONNE" } export type MtwFuelDistanceObservation = { __typename?: 'MtwFuelDistanceObservation'; basis: MtwUtilizationDistanceBasis; coverage: MtwTripUtilizationCoverage; intervalFrom: Scalars['String']['output']; intervalUntil: Scalars['String']['output']; metres?: Maybe<Scalars['Int']['output']>; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; }; export type MtwFuelDistanceObservationInput = { basis: MtwUtilizationDistanceBasis; coverage: MtwTripUtilizationCoverage; intervalFrom: Scalars['String']['input']; intervalUntil: Scalars['String']['input']; metres?: InputMaybe<Scalars['Int']['input']>; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; }; export type MtwFuelVolumeObservation = { __typename?: 'MtwFuelVolumeObservation'; basis: MtwConsumedFuelBasis; coverage: MtwTripUtilizationCoverage; intervalFrom: Scalars['String']['output']; intervalUntil: Scalars['String']['output']; millilitres?: Maybe<Scalars['Int']['output']>; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; }; export type MtwFuelVolumeObservationInput = { basis: MtwConsumedFuelBasis; coverage: MtwTripUtilizationCoverage; intervalFrom: Scalars['String']['input']; intervalUntil: Scalars['String']['input']; millilitres?: InputMaybe<Scalars['Int']['input']>; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; }; export type MtwGenerateReportInput = { /** Defaults to now. */ periodEnd?: InputMaybe<Scalars['DateTime']['input']>; /** Defaults to `periodEnd` minus the report's `periodDays`. */ periodStart?: InputMaybe<Scalars['DateTime']['input']>; }; export type MtwImportColumn = { __typename?: 'MtwImportColumn'; allowedValues?: Maybe<Array<Scalars['String']['output']>>; description: Scalars['String']['output']; max?: Maybe<Scalars['Float']['output']>; maxLength?: Maybe<Scalars['Int']['output']>; min?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; required: Scalars['Boolean']['output']; type: MtwImportColumnType; }; export declare enum MtwImportColumnType { Boolean = "BOOLEAN", Date = "DATE", Email = "EMAIL", Enum = "ENUM", Integer = "INTEGER", Json = "JSON", Number = "NUMBER", String = "STRING" } export type MtwImportEntitySpec = { __typename?: 'MtwImportEntitySpec'; columns: Array<MtwImportColumn>; entityType: MtwImportEntityType; /** Column that must be unique in the workspace, if any. */ keyColumn?: Maybe<Scalars['String']['output']>; }; export declare enum MtwImportEntityType { CargoItem = "CARGO_ITEM", Customer = "CUSTOMER", Driver = "DRIVER", Vehicle = "VEHICLE", Warehouse = "WAREHOUSE" } export declare enum MtwImportFormat { Csv = "CSV", Json = "JSON" } export type MtwImportInput = { /** Import the valid rows even when other rows are invalid. */ allowPartial?: InputMaybe<Scalars['Boolean']['input']>; /** The CSV (with a header row) or JSON (array of objects) document, at most 2 MB and 1000 rows. */ content: Scalars['String']['input']; /** Validate every row without writing anything. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; format: MtwImportFormat; }; export type MtwImportResult = { __typename?: 'MtwImportResult'; createdIds: Array<Scalars['ID']['output']>; dryRun: Scalars['Boolean']['output']; entityType: MtwImportEntityType; errors: Array<MtwImportRowError>; /** True when more row errors exist than are returned (the first 500 are returned). */ errorsTruncated: Scalars['Boolean']['output']; failedRows: Scalars['Int']['output']; importedRows: Scalars['Int']['output']; status: MtwImportStatus; totalRows: Scalars['Int']['output']; validRows: Scalars['Int']['output']; }; export type MtwImportRowError = { __typename?: 'MtwImportRowError'; field?: Maybe<Scalars['String']['output']>; message: Scalars['String']['output']; /** 1-based data row number (the CSV header is not counted). */ row: Scalars['Int']['output']; }; /** * DRY_RUN: validated only, nothing written. COMPLETED: every row imported. * PARTIAL: allowPartial was set and some rows failed. REJECTED: some rows were * invalid and allowPartial was not set, so nothing was written. */ export declare enum MtwImportStatus { Completed = "COMPLETED", DryRun = "DRY_RUN", Partial = "PARTIAL", Rejected = "REJECTED" } /** A recorded manual issuer review; workspace privileges do not establish professional qualifications. */ export type MtwInspectorQualification = { __typename?: 'MtwInspectorQualification'; createdAt: Scalars['DateTime']['output']; credentialReference: Scalars['String']['output']; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; issuerConfirmationReference?: Maybe<Scalars['String']['output']>; issuerName: Scalars['String']['output']; reviewEvidence: Array<MtwContainerEvidence>; reviewNote?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; revocationReason?: Maybe<Scalars['String']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; scopes: Array<MtwContainerQualificationScope>; status: MtwContainerQualificationStatus; subjectActorId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; validFrom: Scalars['DateTime']['output']; validUntil: Scalars['DateTime']['output']; verifierActorId?: Maybe<Scalars['ID']['output']>; version: Scalars['Int']['output']; }; export type MtwInspectorQualificationPage = { __typename?: 'MtwInspectorQualificationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwInspectorQualification>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwIntegration = { __typename?: 'MtwIntegration'; apiKey?: Maybe<Scalars['String']['output']>; config?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; events: Array<MtwIntegrationEvent>; id: Scalars['ID']['output']; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; lastErrorMessage?: Maybe<Scalars['String']['output']>; lastSyncAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; onBehalfOf: Scalars['String']['output']; /** Outcome of the latest poll for a pull-based integration (Geotab); null for webhook providers or before the first poll. */ pollStatus?: Maybe<MtwIntegrationPollStatus>; provider: MtwIntegrationProvider; status: IntegrationStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type MtwIntegrationEventsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwIntegrationEvent = { __typename?: 'MtwIntegrationEvent'; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; eventType?: Maybe<TrackingEventType>; externalEventId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; integrationId: Scalars['ID']['output']; outcomes?: Maybe<Scalars['JSON']['output']>; processedAt?: Maybe<Scalars['DateTime']['output']>; rawPayload?: Maybe<Scalars['JSON']['output']>; receivedAt: Scalars['DateTime']['output']; shipmentId?: Maybe<Scalars['ID']['output']>; status: IntegrationEventStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwIntegrationIngestReceipt = { __typename?: 'MtwIntegrationIngestReceipt'; externalEventId: Scalars['String']['output']; id: Scalars['ID']['output']; integrationId: Scalars['ID']['output']; recordedAt: Scalars['DateTime']['output']; trackingEventId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** One integration's result in a poll run. */ export type MtwIntegrationPollResult = { __typename?: 'MtwIntegrationPollResult'; error?: Maybe<Scalars['String']['output']>; integrationId: Scalars['ID']['output']; recordsFetched: Scalars['Int']['output']; /** Why a poll was skipped: POLL_IN_PROGRESS, BACKING_OFF or STATE_UNAVAILABLE. */ skippedReason?: Maybe<Scalars['String']['output']>; /** OK, PARTIAL, FAILED or SKIPPED. */ status: Scalars['String']['output']; updatesAccepted: Scalars['Int']['output']; updatesSkipped: Scalars['Int']['output']; }; export type MtwIntegrationPollRun = { __typename?: 'MtwIntegrationPollRun'; integrationsFailed: Scalars['Int']['output']; integrationsPolled: Scalars['Int']['output']; ranAt: Scalars['DateTime']['output']; results: Array<MtwIntegrationPollResult>; updatesAccepted: Scalars['Int']['output']; }; /** The workspace's integration-polls scheduler job. */ export type MtwIntegrationPollSchedule = { __typename?: 'MtwIntegrationPollSchedule'; cronExpression: Scalars['String']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastFiredAt?: Maybe<Scalars['DateTime']['output']>; schedulerJobId?: Maybe<Scalars['String']['output']>; /** PENDING, REGISTERING, ACTIVE or FAILED. */ status: Scalars['String']['output']; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** State of a pull-based integration's polling (BOFF-10922). */ export type MtwIntegrationPollStatus = { __typename?: 'MtwIntegrationPollStatus'; consecutiveFailures: Scalars['Int']['output']; integrationId: Scalars['ID']['output']; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; lastPollAt?: Maybe<Scalars['DateTime']['output']>; lastPollError?: Maybe<Scalars['String']['output']>; /** OK, PARTIAL (some updates were rejected) or FAILED. */ lastPollStatus?: Maybe<Scalars['String']['output']>; lastRecordsFetched: Scalars['Int']['output']; lastSuccessAt?: Maybe<Scalars['DateTime']['output']>; lastUpdatesAccepted: Scalars['Int']['output']; /** Records skipped because their vehicle is unknown or has no in-progress route. */ lastUpdatesSkipped: Scalars['Int']['output']; }; export declare enum MtwIntegrationProvider { Descartes = "DESCARTES", Fourkites = "FOURKITES", GenericWebhook = "GENERIC_WEBHOOK", Geotab = "GEOTAB", Motive = "MOTIVE", Project44 = "PROJECT44", Samsara = "SAMSARA", Shiprocket = "SHIPROCKET" } export type MtwInventoryCoverPlan = { __typename?: 'MtwInventoryCoverPlan'; demandChangePct: Scalars['Float']['output']; generatedAt: Scalars['DateTime']['output']; /** End of the history window: the Monday the current week began. */ historyEnd: Scalars['DateTime']['output']; /** First day (Monday) of the closed-week history window. */ historyStart: Scalars['DateTime']['output']; historyWeeks: Scalars['Int']['output']; leadTimeWeeks: Scalars['Float']['output']; /** Rows matching the status filter, before the limit. */ matchingItems: Scalars['Int']['output']; rows: Array<MtwInventoryCoverRow>; summary: MtwInventoryCoverSummary; targetCoverWeeks: Scalars['Float']['output']; /** More stock lines or delivery jobs existed than were read; the plan covers the newest. */ truncated: Scalars['Boolean']['output']; unattributedJobs: Scalars['Int']['output']; /** Outbound units of stocked SKUs whose pickup warehouse could not be resolved (workspace-wide). */ unattributedUnits: Scalars['Float']['output']; warehouseId?: Maybe<Scalars['ID']['output']>; }; /** One warehouse and SKU: stock on hand against forecast outbound demand. */ export type MtwInventoryCoverRow = { __typename?: 'MtwInventoryCoverRow'; allocated: Scalars['Int']['output']; available: Scalars['Int']['output']; /** Forecast weekly units before the scenario demand change. */ baselineWeeklyDemand?: Maybe<Scalars['Float']['output']>; cargoItemId: Scalars['ID']['output']; /** Units shipped so far this (open) week. Not part of the history. */ currentWeekUnits: Scalars['Float']['output']; damaged: Scalars['Int']['output']; demandStatus: MtwInventoryDemandStatus; /** Forecast weekly units after the scenario demand change. */ forecastWeeklyDemand?: Maybe<Scalars['Float']['output']>; /** The stock lines (locations) aggregated into this position. */ inventoryItemIds: Array<Scalars['ID']['output']>; name: Scalars['String']['output']; onHand: Scalars['Int']['output']; /** Monday of the ISO week stock is projected to run out, within two years. */ projectedStockOutWeek?: Maybe<Scalars['DateTime']['output']>; reorderPoint?: Maybe<Scalars['Int']['output']>; safetyStock?: Maybe<Scalars['Int']['output']>; sku: Scalars['String']['output']; status: MtwInventoryCoverStatus; /** Stock runs out before a replenishment ordered now would arrive. */ stockOutBeforeLeadTime: Scalars['Boolean']['output']; /** Units to order now so the target cover (plus safety stock) is on hand when the order lands. */ suggestedReorderQuantity?: Maybe<Scalars['Int']['output']>; /** On hand minus damaged: the stock that can still ship. */ usableStock: Scalars['Int']['output']; warehouseCode: Scalars['String']['output']; warehouseId: Scalars['ID']['output']; warehouseName: Scalars['String']['output']; /** Units shipped per closed ISO week of the history window, oldest first. */ weeklyUnits: Array<Scalars['Float']['output']>; /** Usable stock divided by forecast weekly demand. */ weeksOfCover?: Maybe<Scalars['Float']['output']>; /** Closed weeks the demand rate rests on. */ weeksOfHistory: Scalars['Int']['output']; }; /** * Where a stock position stands against forecast outbound demand (BOFF-10926). * Statuses are listed most urgent first. */ export declare enum MtwInventoryCoverStatus { /** Stock runs out before a replenishment ordered now would arrive (cover below the lead time). */ AtRisk = "AT_RISK", /** Stock covers the lead time and the target cover. */ Healthy = "HEALTHY", /** Fewer than 4 closed weeks since the first outbound: no demand forecast yet. */ NotEnoughHistory = "NOT_ENOUGH_HISTORY", /** No outbound in the history window. */ NoDemand = "NO_DEMAND", /** Demand is forecast and there is no usable stock left. */ OutOfStock = "OUT_OF_STOCK", /** Order now to hold the target cover, or the stock is at or below its reorder point. */ Reorder = "REORDER" } export type MtwInventoryCoverSummary = { __typename?: 'MtwInventoryCoverSummary'; atRisk: Scalars['Int']['output']; healthy: Scalars['Int']['output']; noDemand: Scalars['Int']['output']; notEnoughHistory: Scalars['Int']['output']; outOfStock: Scalars['Int']['output']; reorder: Scalars['Int']['output']; totalItems: Scalars['Int']['output']; totalSuggestedReorderQuantity: Scalars['Int']['output']; }; /** Whether a stock position has a demand forecast. */ export declare enum MtwInventoryDemandStatus { Forecast = "FORECAST", NotEnoughHistory = "NOT_ENOUGH_HISTORY", NoDemand = "NO_DEMAND" } export type MtwInventoryItem = { __typename?: 'MtwInventoryItem'; allocated: Scalars['Int']['output']; available: Scalars['Int']['output']; cargoItem?: Maybe<MtwCargoItem>; cargoItemId: Scalars['ID']['output']; /** Monotonic stock/binding change marker, not certified composition or pick eligibility. */ compositionEpoch: Scalars['Int']['output']; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; damaged: Scalars['Int']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; location?: Maybe<MtwWarehouseLocation>; locationId?: Maybe<Scalars['ID']['output']>; onBehalfOf: Scalars['String']['output']; onHand: Scalars['Int']['output']; reorderPoint?: Maybe<Scalars['Int']['output']>; safetyStock?: Maybe<Scalars['Int']['output']>; unitCost?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; warehouse?: Maybe<MtwWarehouse>; warehouseId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwInventoryStats = { __typename?: 'MtwInventoryStats'; lowStockCount: Scalars['Int']['output']; totalAllocated: Scalars['Int']['output']; totalAvailable: Scalars['Int']['output']; totalDamaged: Scalars['Int']['output']; totalOnHand: Scalars['Int']['output']; }; export type MtwInventoryTransaction = { __typename?: 'MtwInventoryTransaction'; cargoItemId: Scalars['ID']['output']; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; inventoryItemId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; quantity: Scalars['Int']['output']; referenceId?: Maybe<Scalars['String']['output']>; referenceType?: Maybe<Scalars['String']['output']>; transactionNumber: Scalars['String']['output']; type: InventoryTransactionType; unitCost?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; warehouseId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwInventoryTransferResult = { __typename?: 'MtwInventoryTransferResult'; destination: MtwInventoryItem; source: MtwInventoryItem; }; /** How the fleet capacity is divided between lanes. */ export declare enum MtwLaneShareBasis { /** No vehicle-assigned history: capacity follows each lane's share of the baseline forecast. */ DemandShare = "DEMAND_SHARE", /** Capacity is unknown, or there is no demand to divide it by. */ None = "NONE", /** Each lane's share of the vehicle-assigned jobs in the last 12 closed weeks. */ VehicleHistory = "VEHICLE_HISTORY" } export type MtwMarketplaceStats = { __typename?: 'MtwMarketplaceStats'; activeProviders: Scalars['Int']['output']; /** Average provider rating, or null when no provider has been rated. */ avgRating?: Maybe<Scalars['Float']['output']>; offerings: Scalars['Int']['output']; providers: Scalars['Int']['output']; verifiedProviders: Scalars['Int']['output']; }; /** * Workspace operational defaults for MoveTheWheels (BOFF-10488): how amounts, * distances, weights and times are shown, and what new orders start from. * Company profile, notifications, two-factor authentication and integrations * are platform settings and are not part of this type. */ export type MtwModuleSettings = { __typename?: 'MtwModuleSettings'; /** ISO 4217 code amounts without their own currency are shown in. */ defaultCurrency: Scalars['String']['output']; /** Hours from now a new order's suggested delivery time falls (1 to 720). */ defaultDeliveryWindowHours: Scalars['Int']['output']; /** Priority a new order starts with. */ defaultOrderPriority: DeliveryPriority; distanceUnit: MtwDistanceUnit; /** False until the workspace saves its settings; the values are then the platform defaults. */ isCustomized: Scalars['Boolean']['output']; /** IANA time zone dates and times are shown in. Null shows each viewer their own local time. */ timezone?: Maybe<Scalars['String']['output']>; updatedAt?: Maybe<Scalars['DateTime']['output']>; updatedBy?: Maybe<Scalars['ID']['output']>; weightUnit: MtwWeightUnit; workspaceId: Scalars['ID']['output']; }; export type MtwMoveReviewSource = { __typename?: 'MtwMoveReviewSource'; reference: Scalars['String']['output']; revision: Scalars['String']['output']; }; export type MtwMoveReviewSourceInput = { reference: Scalars['String']['input']; revision: Scalars['String']['input']; }; /** An estimate from the caller's own inputs — not a quote from anyone. */ export type MtwOwnFleetEstimate = { __typename?: 'MtwOwnFleetEstimate'; /** fixedCost + distanceKm * costPerKm. */ cost: Scalars['Float']['output']; costPerKm: Scalars['Float']['output']; currency: Scalars['String']['output']; distanceKm: Scalars['Float']['output']; fixedCost: Scalars['Float']['output']; isCheaperThanCouriers: Scalars['Boolean']['output']; /** Cheapest courier price minus this estimate. Positive means running your own vehicle is cheaper. Null when no courier quoted. */ savingsVsCheapestCourier?: Maybe<Scalars['Float']['output']>; }; export type MtwOwnedEpodShipmentStatus = { __typename?: 'MtwOwnedEpodShipmentStatus'; id: Scalars['ID']['output']; status: ShipmentStatus; statusRevision: Scalars['Int']['output']; }; export type MtwPalletAdditionalPackingInput = { massG?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<MtwPalletMeasurementSourceInput>; }; export type MtwPalletBaseInput = { heightMm?: InputMaybe<Scalars['Int']['input']>; lengthMm?: InputMaybe<Scalars['Int']['input']>; maxPayloadMassG?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<MtwPalletMeasurementSourceInput>; tareMassG?: InputMaybe<Scalars['String']['input']>; widthMm?: InputMaybe<Scalars['Int']['input']>; }; export type MtwPalletBound = { __typename?: 'MtwPalletBound'; reason: Scalars['String']['output']; status: MtwPalletBoundStatus; }; export declare enum MtwPalletBoundStatus { Fail = "FAIL", Pass = "PASS", Unknown = "UNKNOWN" } export type MtwPalletBounds = { __typename?: 'MtwPalletBounds'; loadedPalletGrossMass: MtwPalletBound; palletFootprintWithinLoadEnvelope: MtwPalletBound; palletPayloadMass: MtwPalletBound; permittedUprightYaw: MtwPalletBound; placedContainment: MtwPalletBound; placedNonOverlap: MtwPalletBound; reportedSingleLayerHeight: MtwPalletBound; }; export declare enum MtwPalletClassification { GeometricProposalOnly = "GEOMETRIC_PROPOSAL_ONLY" } export type MtwPalletClearanceInput = { betweenPackagesMm?: InputMaybe<Scalars['Int']['input']>; perimeterMm?: InputMaybe<Scalars['Int']['input']>; source?: InputMaybe<MtwPalletMeasurementSourceInput>; topMm?: InputMaybe<Scalars['Int']['input']>; }; /** Read-only supplied-measurement geometry; no persistence, stock change or release authority. */ export type MtwPalletGeometryPreview = { __typename?: 'MtwPalletGeometryPreview'; bounds: MtwPalletBounds; classification: MtwPalletClassification; layoutStatus: MtwPalletLayoutStatus; method: MtwPalletMethod; placedQuantity: Scalars['Int']['output']; placements: Array<MtwPalletPlacement>; requestedGrossMassG?: Maybe<Scalars['String']['output']>; requestedPayloadMassG?: Maybe<Scalars['String']['output']>; requestedQuantity: Scalars['Int']['output']; sources: MtwPalletSources; units: MtwPalletUnits; unplaced: Array<MtwPalletUnplaced>; unsupported: MtwPalletUnsupported; }; export type MtwPalletGeometryPreviewInput = { additionalPacking: MtwPalletAdditionalPackingInput; clearance: MtwPalletClearanceInput; loadEnvelope?: InputMaybe<MtwPalletLoadEnvelopeInput>; mode: MtwPalletMode; packages: Array<MtwPalletPackageInput>; pallet: MtwPalletBaseInput; units: MtwPalletUnits; }; export declare enum MtwPalletLayoutStatus { NoLayoutFoundByMethod = "NO_LAYOUT_FOUND_BY_METHOD", PlacedByMethod = "PLACED_BY_METHOD", Unknown = "UNKNOWN" } export type MtwPalletLoadEnvelopeInput = { lengthMm?: InputMaybe<Scalars['Int']['input']>; maxGrossMassG?: InputMaybe<Scalars['String']['input']>; maxHeightMm?: InputMaybe<Scalars['Int']['input']>; source?: InputMaybe<MtwPalletMeasurementSourceInput>; widthMm?: InputMaybe<Scalars['Int']['input']>; }; export type MtwPalletMeasurementSource = { __typename?: 'MtwPalletMeasurementSource'; reference: Scalars['String']['output']; version: Scalars['String']['output']; }; export type MtwPalletMeasurementSourceInput = { reference: Scalars['String']['input']; version: Scalars['String']['input']; }; export declare enum MtwPalletMethod { DeterministicSingleLayerShelfV1 = "DETERMINISTIC_SINGLE_LAYER_SHELF_V1" } export declare enum MtwPalletMode { UprightSingleLayer = "UPRIGHT_SINGLE_LAYER" } export type MtwPalletPackageInput = { allowedYawDegrees?: InputMaybe<Array<Scalars['Int']['input']>>; grossMassG?: InputMaybe<Scalars['String']['input']>; heightMm?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; lengthMm?: InputMaybe<Scalars['Int']['input']>; quantity: Scalars['Int']['input']; source?: InputMaybe<MtwPalletMeasurementSourceInput>; upright?: InputMaybe<Scalars['Boolean']['input']>; widthMm?: InputMaybe<Scalars['Int']['input']>; }; export type MtwPalletPackageSource = { __typename?: 'MtwPalletPackageSource'; packageId: Scalars['ID']['output']; source?: Maybe<MtwPalletMeasurementSource>; }; export type MtwPalletPlacement = { __typename?: 'MtwPalletPlacement'; heightMm?: Maybe<Scalars['Int']['output']>; lengthMm: Scalars['Int']['output']; packageId: Scalars['ID']['output']; unit: Scalars['Int']['output']; widthMm: Scalars['Int']['output']; xMm: Scalars['Int']['output']; yMm: Scalars['Int']['output']; yawDegrees: Scalars['Int']['output']; zMm?: Maybe<Scalars['Int']['output']>; }; export type MtwPalletSources = { __typename?: 'MtwPalletSources'; additionalPacking?: Maybe<MtwPalletMeasurementSource>; clearance?: Maybe<MtwPalletMeasurementSource>; loadEnvelope?: Maybe<MtwPalletMeasurementSource>; packages: Array<MtwPalletPackageSource>; pallet?: Maybe<MtwPalletMeasurementSource>; }; export declare enum MtwPalletUnits { MmG = "MM_G" } export type MtwPalletUnplaced = { __typename?: 'MtwPalletUnplaced'; packageId: Scalars['ID']['output']; quantity: Scalars['Int']['output']; }; export type MtwPalletUnsupported = { __typename?: 'MtwPalletUnsupported'; additionalPackingGeometry: MtwPalletUnsupportedStatus; centreOfGravityAndStability: MtwPalletUnsupportedStatus; handling: MtwPalletUnsupportedStatus; loadingAndUnloadingPath: MtwPalletUnsupportedStatus; securing: MtwPalletUnsupportedStatus; segregationAndCargoCompatibility: MtwPalletUnsupportedStatus; supportAndFloorContactLoads: MtwPalletUnsupportedStatus; }; export declare enum MtwPalletUnsupportedStatus { Unknown = "UNKNOWN" } export type MtwPickIntentLine = { __typename?: 'MtwPickIntentLine'; applicableProfile?: Maybe<MtwPickIntentProfile>; binLabel: Scalars['String']['output']; cargoItemId: Scalars['ID']['output']; cargoLabel: Scalars['String']['output']; cargoUpdatedAt: Scalars['DateTime']['output']; compositionEpoch: Scalars['Int']['output']; criticalFingerprint: Scalars['String']['output']; inventoryItemId: Scalars['ID']['output']; inventoryUpdatedAt: Scalars['DateTime']['output']; locationId: Scalars['ID']['output']; locationUpdatedAt: Scalars['DateTime']['output']; observationSequence: Scalars['Int']['output']; recordedProfile?: Maybe<MtwPickIntentProfile>; reviewGaps: Array<Scalars['String']['output']>; stock: MtwPickIntentStock; unresolvedObservationIds: Array<Scalars['ID']['output']>; warehouseId: Scalars['ID']['output']; warehouseLabel: Scalars['String']['output']; warehouseUpdatedAt: Scalars['DateTime']['output']; }; export type MtwPickIntentLinePinInput = { expectedApplicableAssessmentId?: InputMaybe<Scalars['ID']['input']>; expectedCargoItemId: Scalars['ID']['input']; expectedCargoUpdatedAt: Scalars['DateTime']['input']; expectedCompositionEpoch: Scalars['Int']['input']; expectedInventoryUpdatedAt: Scalars['DateTime']['input']; expectedLocationId: Scalars['ID']['input']; expectedLocationUpdatedAt: Scalars['DateTime']['input']; expectedObservationSequence: Scalars['Int']['input']; expectedRecordedAssessmentId?: InputMaybe<Scalars['ID']['input']>; expectedWarehouseId: Scalars['ID']['input']; expectedWarehouseUpdatedAt: Scalars['DateTime']['input']; inventoryItemId: Scalars['ID']['input']; }; export type MtwPickIntentProfile = { __typename?: 'MtwPickIntentProfile'; capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>; criticalFingerprint: Scalars['String']['output']; effectiveAt: Scalars['DateTime']['output']; facts: MtwStockBindingFacts; id: Scalars['ID']['output']; version: Scalars['Int']['output']; }; export type MtwPickIntentStock = { __typename?: 'MtwPickIntentStock'; allocated: Scalars['Int']['output']; available: Scalars['Int']['output']; damaged: Scalars['Int']['output']; onHand: Scalars['Int']['output']; }; /** Transient server-clock review context; no reservation or move authorization. */ export type MtwPickPreparation = { __typename?: 'MtwPickPreparation'; destination: MtwPickIntentLine; evaluatedAt: Scalars['DateTime']['output']; source: MtwPickIntentLine; }; /** Immutable human review only. It reserves no stock and confers no physical execution or qualification. */ export type MtwPickReview = { __typename?: 'MtwPickReview'; actions: Array<MtwPickReviewAction>; classification: Scalars['String']['output']; evidence: Array<MtwContainerEvidence>; handlingPolicy?: Maybe<MtwMoveReviewSource>; id: Scalars['ID']['output']; idempotencyKey: Scalars['String']['output']; intentHash: Scalars['String']['output']; kind: MtwPickReviewKind; note: Scalars['String']['output']; previousDecisionId?: Maybe<Scalars['ID']['output']>; quantityCeiling?: Maybe<Scalars['Int']['output']>; recordedAt: Scalars['DateTime']['output']; reviewerActorId: Scalars['ID']['output']; sop?: Maybe<MtwMoveReviewSource>; subjectActorId: Scalars['ID']['output']; taskId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; version: Scalars['Int']['output']; }; export declare enum MtwPickReviewAction { ReleaseStagedCustody = "RELEASE_STAGED_CUSTODY", ReleaseUnpicked = "RELEASE_UNPICKED", Reserve = "RESERVE", ShortPick = "SHORT_PICK", Stage = "STAGE" } export declare enum MtwPickReviewKind { Approve = "APPROVE", Reject = "REJECT", Revoke = "REVOKE" } export type MtwPickReviewPage = { __typename?: 'MtwPickReviewPage'; evaluatedAt: Scalars['DateTime']['output']; hasMore: Scalars['Boolean']['output']; items: Array<MtwPickReview>; latestDecision?: Maybe<MtwPickReview>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; reviewState: MtwPickReviewState; total: Scalars['Int']['output']; }; export declare enum MtwPickReviewState { ApprovedReviewOnly = "APPROVED_REVIEW_ONLY", NotCurrent = "NOT_CURRENT", Rejected = "REJECTED", Revoked = "REVOKED", Unreviewed = "UNREVIEWED" } /** Immutable reported planning intent. It reserves no stock and grants no execution authority. */ export type MtwPickTask = { __typename?: 'MtwPickTask'; actorProvenance: Scalars['String']['output']; createdBy: Scalars['ID']['output']; destination: MtwPickIntentLine; executorActorId: Scalars['ID']['output']; id: Scalars['ID']['output']; intentHash: Scalars['String']['output']; note: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; requestedQuantity: Scalars['Int']['output']; reservedQuantity: Scalars['Int']['output']; source: MtwPickIntentLine; stagedQuantity: Scalars['Int']['output']; status: MtwPickTaskStatus; workflow: MtwPickTaskWorkflow; }; export type MtwPickTaskPage = { __typename?: 'MtwPickTaskPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwPickTask>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwPickTaskStatus { PendingReview = "PENDING_REVIEW" } export declare enum MtwPickTaskWorkflow { PickToStaging = "PICK_TO_STAGING" } export type MtwPlanDispatchInput = { /** Only shipments due at or after this time (shipments with no due date are always considered). */ from?: InputMaybe<Scalars['DateTime']['input']>; /** At most this many assignments, 1 to 50. Default 25. */ maxAssignments?: InputMaybe<Scalars['Int']['input']>; /** Plan only these shipments (at most 100). */ shipmentIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Only shipments due at or before this time. */ to?: InputMaybe<Scalars['DateTime']['input']>; }; export type MtwProcedureApplicability = { __typename?: 'MtwProcedureApplicability'; enforcement: MtwProcedureRecordingBoundary; evaluatedAt: Scalars['DateTime']['output']; policies: Array<MtwProcedureApplicablePolicy>; proposalId: Scalars['ID']['output']; }; export declare enum MtwProcedureApplicabilityStatus { ApplicableRecordedPolicy = "APPLICABLE_RECORDED_POLICY", Expired = "EXPIRED", Withdrawn = "WITHDRAWN" } export type MtwProcedureApplicablePolicy = { __typename?: 'MtwProcedureApplicablePolicy'; status: MtwProcedureApplicabilityStatus; version: MtwProcedureVersion; }; export type MtwProcedureDeviation = { __typename?: 'MtwProcedureDeviation'; authorityScope: MtwProcedureDeviationAuthority; createdBy: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; executionId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: MtwProcedureDeviationKind; previousDeviationId?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; stepDecisionId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MtwProcedureDeviationAuthority { InternalReviewNoteOnly = "INTERNAL_REVIEW_NOTE_ONLY" } export declare enum MtwProcedureDeviationKind { Approved = "APPROVED", Rejected = "REJECTED", Revoked = "REVOKED" } export type MtwProcedureDeviationPage = { __typename?: 'MtwProcedureDeviationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwProcedureDeviation>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwProcedureDeviationReviewKind { Approved = "APPROVED", Rejected = "REJECTED" } export type MtwProcedureExecution = { __typename?: 'MtwProcedureExecution'; createdBy: Scalars['ID']['output']; enforcement: MtwProcedureRecordingBoundary; executorActorId: Scalars['ID']['output']; id: Scalars['ID']['output']; procedureVersionId: Scalars['ID']['output']; proposalId: Scalars['ID']['output']; recordedAt: Scalars['DateTime']['output']; subject: MtwProcedureSubject; subjectFingerprint: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwProcedureExecutionPage = { __typename?: 'MtwProcedureExecutionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwProcedureExecution>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Internal logistics checklist records. This checkpoint does not enforce reservation or certify physical/regulatory work. */ export declare enum MtwProcedureRecordingBoundary { RecordingOnly = "RECORDING_ONLY" } export type MtwProcedureScope = { __typename?: 'MtwProcedureScope'; cargoCategory: MtwContainerCargoCategory; declaredJurisdictions: Array<Scalars['String']['output']>; declaredLaneReference: Scalars['String']['output']; equipmentOwnerReference: Scalars['String']['output']; equipmentType: MtwEquipmentType; handoffLocationReference: Scalars['String']['output']; schemaVersion: Scalars['Int']['output']; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; }; export type MtwProcedureScopeInput = { cargoCategory: MtwContainerCargoCategory; declaredJurisdictions: Array<Scalars['String']['input']>; declaredLaneReference: Scalars['String']['input']; equipmentOwnerReference: Scalars['String']['input']; equipmentType: MtwEquipmentType; handoffLocationReference: Scalars['String']['input']; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; }; export declare enum MtwProcedureStep { BookingRoadReturnReview = "BOOKING_ROAD_RETURN_REVIEW", ConditionHoldsReview = "CONDITION_HOLDS_REVIEW", ReturnInstructionReview = "RETURN_INSTRUCTION_REVIEW" } export type MtwProcedureStepDecision = { __typename?: 'MtwProcedureStepDecision'; createdBy: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; executionId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: MtwProcedureStepKind; note: Scalars['String']['output']; previousDecisionId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; step: MtwProcedureStep; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MtwProcedureStepKind { Done = "DONE", Issue = "ISSUE" } export type MtwProcedureStepPage = { __typename?: 'MtwProcedureStepPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwProcedureStepDecision>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwProcedureSubject = { __typename?: 'MtwProcedureSubject'; cargoCategory: MtwContainerCargoCategory; containerId: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; cycleVersion: Scalars['Int']['output']; emptyEventId: Scalars['ID']['output']; equipmentOwnerReference: Scalars['String']['output']; equipmentType: MtwEquipmentType; handoffFrom: Scalars['DateTime']['output']; handoffLocationReference: Scalars['String']['output']; handoffUntil: Scalars['DateTime']['output']; inspectionId: Scalars['ID']['output']; instructionId: Scalars['ID']['output']; proposalId: Scalars['ID']['output']; proposalRevision: Scalars['Int']['output']; transportRouteId: Scalars['ID']['output']; transportRouteUpdatedAt: Scalars['DateTime']['output']; }; export type MtwProcedureVersion = { __typename?: 'MtwProcedureVersion'; createdBy: Scalars['ID']['output']; effectiveAt: Scalars['DateTime']['output']; enforcement: MtwProcedureRecordingBoundary; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; kind: MtwProcedureVersionKind; previousVersionId?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; requiredSteps: Array<MtwProcedureStep>; scope: MtwProcedureScope; templateReference: Scalars['String']['output']; title: Scalars['String']['output']; validUntil?: Maybe<Scalars['DateTime']['output']>; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MtwProcedureVersionKind { Published = "PUBLISHED", Withdrawn = "WITHDRAWN" } export type MtwProcedureVersionPage = { __typename?: 'MtwProcedureVersionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwProcedureVersion>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** * Electronic proof-of-delivery (ePOD) capture (BOFF-4399). Signature + * recipient name + geo-timestamp are always required; photos are optional and * referenced by `wspace-files-svc` File id (never stored as blobs here). */ export type MtwProofOfDelivery = { __typename?: 'MtwProofOfDelivery'; capturedByDriver?: Maybe<MtwDriver>; capturedByDriverId: Scalars['ID']['output']; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; deliveredAt: Scalars['DateTime']['output']; deliveryJob?: Maybe<MtwDeliveryJob>; deliveryJobId: Scalars['ID']['output']; id: Scalars['ID']['output']; latitude?: Maybe<Scalars['Float']['output']>; locationAccuracy?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; notes?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; /** wspace-files-svc File ids for any delivery photos attached to this capture. */ photoFileIds?: Maybe<Scalars['JSON']['output']>; recipientName: Scalars['String']['output']; shipmentId?: Maybe<Scalars['ID']['output']>; /** Drawn signature: a data-URI PNG/SVG produced by the capture pad. Typed signature: the typed full name. */ signatureData: Scalars['String']['output']; signatureType: SignatureType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** A saved report definition. */ export type MtwReport = { __typename?: 'MtwReport'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; frequency: MtwReportFrequency; id: Scalars['ID']['output']; /** Paused reports keep their schedule but are not generated automatically. */ isActive: Scalars['Boolean']['output']; lastError?: Maybe<Scalars['String']['output']>; lastGeneratedAt?: Maybe<Scalars['DateTime']['output']>; /** COMPLETED or FAILED, from the latest generation. */ lastRunStatus?: Maybe<Scalars['String']['output']>; /** The most recent run, if the report was ever generated. */ latestRun?: Maybe<MtwReportRun>; name: Scalars['String']['output']; /** Next automatic generation; null when the report is not scheduled or is paused. */ nextRunAt?: Maybe<Scalars['DateTime']['output']>; /** * Days of history a generation covers when no explicit period is given. A * scheduled run covers this many days up to the time it was due. */ periodDays: Scalars['Int']['output']; /** Local hour (0-23) in `timezone` at which a scheduled report runs. */ runHour: Scalars['Int']['output']; /** Day of the month (1-28) a MONTHLY report runs on. */ runMonthDay: Scalars['Int']['output']; /** ISO weekday (1 = Monday ... 7 = Sunday) a WEEKLY report runs on. */ runWeekday: Scalars['Int']['output']; /** Runs of this report, newest first (the latest 30 are kept). */ runs: Array<MtwReportRun>; /** IANA time zone the schedule is evaluated in. */ timezone: Scalars['String']['output']; type: MtwReportType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** A saved report definition. */ export type MtwReportRunsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** A column of a report run's detail rows. */ export type MtwReportColumn = { __typename?: 'MtwReportColumn'; /** Key of this column's value in each row object. */ key: Scalars['String']['output']; /** TEXT, NUMBER, CURRENCY, DATE (ISO 8601 string) or BOOLEAN. */ kind: Scalars['String']['output']; label: Scalars['String']['output']; }; /** A downloadable report run. */ export type MtwReportExport = { __typename?: 'MtwReportExport'; content: Scalars['String']['output']; contentType: Scalars['String']['output']; filename: Scalars['String']['output']; rowCount: Scalars['Int']['output']; truncated: Scalars['Boolean']['output']; }; export type MtwReportFilterInput = { frequency?: InputMaybe<MtwReportFrequency>; isActive?: InputMaybe<Scalars['Boolean']['input']>; /** Case-insensitive match on name and description. */ search?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<MtwReportType>; }; export declare enum MtwReportFormat { Csv = "CSV", Json = "JSON" } /** How often a report is generated automatically. */ export declare enum MtwReportFrequency { Daily = "DAILY", Monthly = "MONTHLY", None = "NONE", Weekly = "WEEKLY" } /** A headline figure of a report run, computed over the whole period. */ export type MtwReportMetric = { __typename?: 'MtwReportMetric'; /** ISO 4217 code for CURRENCY figures when known. */ currency?: Maybe<Scalars['String']['output']>; key: Scalars['String']['output']; /** NUMBER, CURRENCY, PERCENT (a 0-1 ratio), DISTANCE (km) or WEIGHT (kg). */ kind: Scalars['String']['output']; label: Scalars['String']['output']; value?: Maybe<Scalars['Float']['output']>; }; /** One generation of a report. */ export type MtwReportRun = { __typename?: 'MtwReportRun'; columns: Array<MtwReportColumn>; createdBy: Scalars['String']['output']; durationMs?: Maybe<Scalars['Int']['output']>; error?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; metrics: Array<MtwReportMetric>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** The report this run belongs to. Resolves even if the report was later deleted. */ report?: Maybe<MtwReport>; reportId: Scalars['ID']['output']; reportType: MtwReportType; rowCount: Scalars['Int']['output']; /** * Detail rows as objects keyed by column key, in the order generated. Pages of * at most 500. */ rows: Array<Scalars['JSON']['output']>; startedAt: Scalars['DateTime']['output']; /** RUNNING, COMPLETED or FAILED. */ status: Scalars['String']['output']; /** MANUAL or SCHEDULED. */ trigger: Scalars['String']['output']; /** True when the period had more rows than the 5,000 a run stores. Metrics still cover everything. */ truncated: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; /** One generation of a report. */ export type MtwReportRunRowsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** The workspace's scheduled-reports job in the platform scheduler. */ export type MtwReportSchedule = { __typename?: 'MtwReportSchedule'; cronExpression: Scalars['String']['output']; lastError?: Maybe<Scalars['String']['output']>; lastFiredAt?: Maybe<Scalars['DateTime']['output']>; schedulerJobId?: Maybe<Scalars['String']['output']>; /** PENDING, REGISTERING (a registration is in progress), ACTIVE or FAILED. */ status: Scalars['String']['output']; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** What a report covers. */ export declare enum MtwReportType { /** Every customer with their orders, deliveries and revenue in the period. */ Customers = "CUSTOMERS", /** Order revenue, delivered and outstanding amounts, and freight cost in the period, per currency. */ Finance = "FINANCE", /** Every vehicle with its orders, completed routes, distance, fuel cost and emissions in the period. */ Fleet = "FLEET", /** Every stock line with its levels, value and movements in the period. */ Inventory = "INVENTORY", /** Shipments booked in the period: status, lanes, on-time delivery and freight cost. */ Operations = "OPERATIONS" } export declare enum MtwReuseApprovalKind { Approved = "APPROVED", Rejected = "REJECTED", Revoked = "REVOKED" } export type MtwReuseBlocker = { __typename?: 'MtwReuseBlocker'; certainty: MtwReuseBlockerCertainty; code: Scalars['String']['output']; reason: Scalars['String']['output']; }; export declare enum MtwReuseBlockerCertainty { Failed = "FAILED", Unknown = "UNKNOWN" } /** Point-in-time planning review under recorded evidence; creates no allocation or operational event. */ export type MtwReuseEligibility = { __typename?: 'MtwReuseEligibility'; approvalId?: Maybe<Scalars['ID']['output']>; blockers: Array<MtwReuseBlocker>; evaluatedAt: Scalars['DateTime']['output']; proposalId: Scalars['ID']['output']; status: MtwReuseReadinessStatus; }; /** Immutable planning revision. Recording it does not approve, reserve, dispatch or complete a street turn. */ export type MtwReuseProposal = { __typename?: 'MtwReuseProposal'; assessment: MtwReuseProposalAssessment; cargoCategory: MtwContainerCargoCategory; containerId: Scalars['ID']['output']; createdBy: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; emptyEventId: Scalars['ID']['output']; evidence: Array<MtwContainerEvidence>; exportBookingReference: Scalars['String']['output']; exporterReference: Scalars['String']['output']; handoffFrom: Scalars['DateTime']['output']; handoffLocationReference: Scalars['String']['output']; handoffUntil: Scalars['DateTime']['output']; id: Scalars['ID']['output']; inspectionId: Scalars['ID']['output']; instructionId: Scalars['ID']['output']; proposalReference: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; requiredEquipmentType: MtwEquipmentType; revision: Scalars['Int']['output']; transportRouteId: Scalars['ID']['output']; transportRouteUpdatedAt: Scalars['DateTime']['output']; }; export type MtwReuseProposalAssessment = { __typename?: 'MtwReuseProposalAssessment'; conditionQualificationId?: Maybe<Scalars['ID']['output']>; conditionQualificationVersion?: Maybe<Scalars['Int']['output']>; routeBinding?: Maybe<MtwReuseRouteBinding>; schemaVersion: Scalars['Int']['output']; scopeFingerprint: Scalars['String']['output']; sources: MtwReuseSources; timing?: Maybe<MtwReuseTiming>; }; export type MtwReuseProposalPage = { __typename?: 'MtwReuseProposalPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwReuseProposal>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwReuseReadinessStatus { Blocked = "BLOCKED", ReadyForDispatchReview = "READY_FOR_DISPATCH_REVIEW" } /** Planning allocation only. ACTIVE does not mean street turn executed or constraints remain clear. */ export type MtwReuseReservation = { __typename?: 'MtwReuseReservation'; approvalId: Scalars['ID']['output']; containerId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; cycleId: Scalars['ID']['output']; handoffUntil: Scalars['DateTime']['output']; id: Scalars['ID']['output']; proposalId: Scalars['ID']['output']; status: MtwReuseReservationStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; version: Scalars['Int']['output']; }; export type MtwReuseReservationPage = { __typename?: 'MtwReuseReservationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwReuseReservation>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwReuseReservationStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Expired = "EXPIRED" } export declare enum MtwReuseReservationTerminalStatus { Cancelled = "CANCELLED", Expired = "EXPIRED" } /** Immutable recorded reasons for explicit planning cancellation or expiry, not physical execution. */ export type MtwReuseReservationTransition = { __typename?: 'MtwReuseReservationTransition'; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; previousStatus: MtwReuseReservationStatus; reason: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; reservationId: Scalars['ID']['output']; status: MtwReuseReservationStatus; }; export type MtwReuseReservationTransitionPage = { __typename?: 'MtwReuseReservationTransitionPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwReuseReservationTransition>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwReuseRouteBinding = { __typename?: 'MtwReuseRouteBinding'; handoffLocationReference: Scalars['String']['output']; handoffWaypointFingerprint: Scalars['String']['output']; handoffWaypointIndex: Scalars['Int']['output']; returnLocationReference: Scalars['String']['output']; returnWaypointFingerprint: Scalars['String']['output']; returnWaypointIndex: Scalars['Int']['output']; routeWaypointsFingerprint: Scalars['String']['output']; }; export type MtwReuseRouteBindingInput = { handoffWaypointIndex: Scalars['Int']['input']; returnWaypointIndex: Scalars['Int']['input']; }; export type MtwReuseSourceAttestation = { __typename?: 'MtwReuseSourceAttestation'; evidence: Array<MtwContainerEvidence>; observedAt: Scalars['DateTime']['output']; purpose: MtwReuseSourcePurpose; recordedAt: Scalars['DateTime']['output']; recordedByActorId: Scalars['ID']['output']; scopeFingerprint: Scalars['String']['output']; sourceReference: Scalars['String']['output']; sourceRevision: Scalars['String']['output']; validFrom: Scalars['DateTime']['output']; validUntil: Scalars['DateTime']['output']; }; export type MtwReuseSourceAttestationInput = { evidenceVersionIds: Array<Scalars['ID']['input']>; observedAt: Scalars['DateTime']['input']; sourceReference: Scalars['String']['input']; sourceRevision: Scalars['String']['input']; validFrom: Scalars['DateTime']['input']; validUntil: Scalars['DateTime']['input']; }; export declare enum MtwReuseSourcePurpose { Booking = "BOOKING", ConditionSuitability = "CONDITION_SUITABILITY", RetainedReturn = "RETAINED_RETURN", RoadAccess = "ROAD_ACCESS" } export type MtwReuseSources = { __typename?: 'MtwReuseSources'; booking?: Maybe<MtwReuseSourceAttestation>; conditionSuitability?: Maybe<MtwReuseSourceAttestation>; retainedReturnPlan?: Maybe<MtwReuseSourceAttestation>; roadAccess?: Maybe<MtwReuseSourceAttestation>; }; export type MtwReuseSourcesInput = { booking?: InputMaybe<MtwReuseSourceAttestationInput>; conditionSuitability?: InputMaybe<MtwReuseSourceAttestationInput>; retainedReturnPlan?: InputMaybe<MtwReuseSourceAttestationInput>; roadAccess?: InputMaybe<MtwReuseSourceAttestationInput>; }; export type MtwReuseTiming = { __typename?: 'MtwReuseTiming'; departureAt: Scalars['DateTime']['output']; maxFullReuseAndReturnSeconds: Scalars['Int']['output']; maxTravelSeconds: Scalars['Int']['output']; maxWaitSeconds: Scalars['Int']['output']; plannedReturnFrom: Scalars['DateTime']['output']; plannedReturnUntil: Scalars['DateTime']['output']; returnWaitingLocationReference?: Maybe<Scalars['String']['output']>; siteCloseAt: Scalars['DateTime']['output']; siteOpenAt: Scalars['DateTime']['output']; siteWaitingLocationReference?: Maybe<Scalars['String']['output']>; }; export type MtwReuseTimingInput = { departureAt: Scalars['DateTime']['input']; maxFullReuseAndReturnSeconds: Scalars['Int']['input']; maxTravelSeconds: Scalars['Int']['input']; maxWaitSeconds: Scalars['Int']['input']; plannedReturnFrom: Scalars['DateTime']['input']; plannedReturnUntil: Scalars['DateTime']['input']; returnWaitingLocationReference?: InputMaybe<Scalars['String']['input']>; siteCloseAt: Scalars['DateTime']['input']; siteOpenAt: Scalars['DateTime']['input']; siteWaitingLocationReference?: InputMaybe<Scalars['String']['input']>; }; export type MtwRevenueMetrics = { __typename?: 'MtwRevenueMetrics'; averageOrderValue: Scalars['Float']['output']; deliveredRevenue: Scalars['Float']['output']; totalRevenue: Scalars['Float']['output']; }; /** * Deterministic delivery-risk forecast for a shipment, computed from its legs, * routes, tracking events, assigned vehicle and the carrier's recent history. */ export type MtwRiskForecast = { __typename?: 'MtwRiskForecast'; /** True when the promise is still in the future but predicted to be missed. */ atRisk: Scalars['Boolean']['output']; /** True when the promised delivery has already passed without delivery. */ breached: Scalars['Boolean']['output']; evaluatedAt: Scalars['DateTime']['output']; /** Forecasting method, e.g. DETERMINISTIC_V1. */ method: Scalars['String']['output']; /** AI narration of this forecast. Null when AI is disabled, credits are spent, or none was generated yet. */ narration?: Maybe<MtwRiskNarration>; narrationStatus: MtwRiskNarrationStatus; predictedDeliveryEarliest?: Maybe<Scalars['DateTime']['output']>; predictedDeliveryLatest?: Maybe<Scalars['DateTime']['output']>; predictedSlipMinutes: Scalars['Int']['output']; promisedDelivery?: Maybe<Scalars['DateTime']['output']>; recommendedAction: MtwRiskRecommendedAction; /** Name of the mutation that carries out the recommended action, if any. */ recommendedMutation?: Maybe<Scalars['String']['output']>; riskLevel: MtwRiskLevel; riskScore: Scalars['Int']['output']; shipmentId: Scalars['ID']['output']; shipmentNumber: Scalars['String']['output']; signals: Array<MtwRiskSignal>; status: ShipmentStatus; }; export declare enum MtwRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM", None = "NONE" } /** * Plain-language explanation of a risk forecast, written by a model from the * forecast's computed features. It never changes the forecast's numbers. */ export type MtwRiskNarration = { __typename?: 'MtwRiskNarration'; /** Suggested message to the end customer re-promising delivery, when one is warranted. */ customerMessage?: Maybe<Scalars['String']['output']>; /** Why the shipment is predicted to slip, in two or three sentences. */ explanation: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Language the narration was written in. */ locale: Scalars['String']['output']; /** Provider-qualified model that wrote it, e.g. openai/gpt-4o-mini. */ model: Scalars['String']['output']; /** interactive, scheduled or event. */ trigger: Scalars['String']['output']; }; export declare enum MtwRiskNarrationStatus { /** AI narration is switched off for this environment. */ AiDisabled = "AI_DISABLED", /** A narration for the forecast as it stands now is attached. */ Available = "AVAILABLE", /** The workspace has spent its MoveTheWheels AI credits; no model call was made. */ CreditsExhausted = "CREDITS_EXHAUSTED", /** The workspace reached its daily narration cap; no model call was made. */ DailyCapReached = "DAILY_CAP_REACHED", /** The forecast has no risk signals, so there is nothing to explain. */ NotNeeded = "NOT_NEEDED", /** No narration has been generated for this forecast yet; call mtwNarrateShipmentRiskForecast. */ NotRequested = "NOT_REQUESTED", /** The model could not produce a narration this time; the forecast is unchanged. */ Unavailable = "UNAVAILABLE" } export declare enum MtwRiskRecommendedAction { Monitor = "MONITOR", None = "NONE", ReassignVehicle = "REASSIGN_VEHICLE", RepromiseDelivery = "REPROMISE_DELIVERY", RequestTrackingUpdate = "REQUEST_TRACKING_UPDATE" } /** * One piece of evidence behind a risk forecast. `weight` is the number of risk * score points it contributed; `minutes` is the time behind plan (or without * tracking), `ratio` the carrier late-delivery rate. */ export type MtwRiskSignal = { __typename?: 'MtwRiskSignal'; code: MtwRiskSignalCode; minutes?: Maybe<Scalars['Int']['output']>; ratio?: Maybe<Scalars['Float']['output']>; weight: Scalars['Int']['output']; }; export declare enum MtwRiskSignalCode { CarrierLateHistory = "CARRIER_LATE_HISTORY", ExcessDwell = "EXCESS_DWELL", LegSlip = "LEG_SLIP", OpenLegOverdue = "OPEN_LEG_OVERDUE", RouteDurationOverrun = "ROUTE_DURATION_OVERRUN", TrackingStale = "TRACKING_STALE", VehicleUnavailable = "VEHICLE_UNAVAILABLE" } export type MtwRiskSweep = { __typename?: 'MtwRiskSweep'; atRisk: Scalars['Int']['output']; /** * True when this call was a redelivery of an earlier scheduler fire with the * same idempotency key; the original sweep is returned and nothing ran again. */ duplicate: Scalars['Boolean']['output']; durationMs?: Maybe<Scalars['Int']['output']>; episodesClosed: Scalars['Int']['output']; episodesOpened: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notificationsSent: Scalars['Int']['output']; scheduledFor?: Maybe<Scalars['DateTime']['output']>; shipmentsEvaluated: Scalars['Int']['output']; /** KILL_SWITCH when the monitor is switched off. */ skippedReason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; /** RUNNING, COMPLETED, SKIPPED or FAILED. */ status: Scalars['String']['output']; /** SCHEDULED (fired by wspace-scheduler-svc) or MANUAL. */ trigger: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** * The workspace's cadence job in wspace-scheduler-svc. A workspace admin can pause * it on the shared Schedules screen; the monitor leaves a paused job alone. */ export type MtwRiskSweepSchedule = { __typename?: 'MtwRiskSweepSchedule'; cronExpression: Scalars['String']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastSweepAt?: Maybe<Scalars['DateTime']['output']>; schedulerJobId?: Maybe<Scalars['ID']['output']>; /** PENDING, ACTIVE or FAILED. */ status: Scalars['String']['output']; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwRoute = { __typename?: 'MtwRoute'; actualDistance?: Maybe<Scalars['Float']['output']>; actualDuration?: Maybe<Scalars['Float']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; driver?: Maybe<MtwDriver>; driverId?: Maybe<Scalars['ID']['output']>; estimatedDistance?: Maybe<Scalars['Float']['output']>; estimatedDuration?: Maybe<Scalars['Float']['output']>; fuelCost?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; lastOptimization?: Maybe<RouteOptimizationSummary>; name: Scalars['String']['output']; onBehalfOf: Scalars['String']['output']; shipment?: Maybe<MtwShipment>; shipmentId?: Maybe<Scalars['ID']['output']>; status: RouteStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; vehicle?: Maybe<MtwVehicle>; vehicleId?: Maybe<Scalars['ID']['output']>; waypoints: Scalars['JSON']['output']; workspaceId: Scalars['ID']['output']; }; export type MtwRouteStats = { __typename?: 'MtwRouteStats'; completed: Scalars['Int']['output']; inProgress: Scalars['Int']['output']; optimized: Scalars['Int']['output']; planned: Scalars['Int']['output']; total: Scalars['Int']['output']; totalDistance: Scalars['Float']['output']; totalDuration: Scalars['Float']['output']; }; /** Scheduler execution context, added by wspace-scheduler-svc when it fires the job. */ export type MtwRunIntegrationPollsInput = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** * Set by wspace-scheduler-svc at fire time: idempotencyKey is * "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, * timezone, scheduleId and eventId. Ignored for on-demand runs by a person. */ export type MtwRunRiskSweepInput = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** Execution context the platform scheduler adds when it fires the job. */ export type MtwRunScheduledReportsInput = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; export type MtwScenarioLaneResult = { __typename?: 'MtwScenarioLaneResult'; baselineRevenue: Scalars['Float']['output']; /** Totals over the compared weeks. */ baselineVolume: Scalars['Int']['output']; /** Own-fleet capacity for this lane over the compared weeks. Null when unknown or when no fleet share is observed on the lane. */ capacity?: Maybe<Scalars['Float']['output']>; closed: Scalars['Boolean']['output']; /** The lane-specific demand change applied in this scenario. */ demandChangePct: Scalars['Float']['output']; /** Demand exceeds the lane's capacity in at least one week. */ flagged: Scalars['Boolean']['output']; laneKey: Scalars['String']['output']; laneLabel: Scalars['String']['output']; lostRevenue: Scalars['Float']['output']; lostVolume: Scalars['Int']['output']; scenarioRevenue: Scalars['Float']['output']; scenarioVolume: Scalars['Int']['output']; /** Scenario volume above the lane's capacity, summed week by week. */ shortfall: Scalars['Float']['output']; }; export type MtwScenarioResult = { __typename?: 'MtwScenarioResult'; capacityChangePct: Scalars['Float']['output']; /** Closed lanes the forecast knows. */ closedLanes: Array<Scalars['String']['output']>; demandChangePct: Scalars['Float']['output']; /** Lanes ordered by shortfall, then scenario volume. */ lanes: Array<MtwScenarioLaneResult>; lostRevenue: Scalars['Float']['output']; lostVolume: Scalars['Int']['output']; name: Scalars['String']['output']; revenueDelta: Scalars['Float']['output']; /** Lanes flagged for a shortfall. */ shortfallLanes: Scalars['Int']['output']; /** Fleet capacity over the compared weeks. Null when unknown. */ totalCapacity?: Maybe<Scalars['Float']['output']>; totalRevenue: Scalars['Float']['output']; /** Weekly fleet shortfalls summed over the compared weeks. */ totalShortfall: Scalars['Float']['output']; totalVolume: Scalars['Int']['output']; /** Lane keys named in the scenario that have no forecast; they change nothing. */ unknownLanes: Array<Scalars['String']['output']>; /** totalVolume / totalCapacity. Null without a positive capacity. */ utilization?: Maybe<Scalars['Float']['output']>; /** totalVolume minus the baseline's. */ volumeDelta: Scalars['Int']['output']; weeks: Array<MtwScenarioWeekResult>; }; export type MtwScenarioWeekResult = { __typename?: 'MtwScenarioWeekResult'; baselineRevenue: Scalars['Float']['output']; baselineVolume: Scalars['Int']['output']; /** Fleet capacity for the week after the scenario's capacity change. Null when unknown. */ capacity?: Maybe<Scalars['Float']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; scenarioRevenue: Scalars['Float']['output']; scenarioVolume: Scalars['Int']['output']; /** Scenario volume above capacity; 0 when capacity is unknown. */ shortfall: Scalars['Float']['output']; }; /** Outcome of one scheduled-reports fire. */ export type MtwScheduledReportsRun = { __typename?: 'MtwScheduledReportsRun'; ranAt: Scalars['DateTime']['output']; reportsDue: Scalars['Int']['output']; reportsFailed: Scalars['Int']['output']; reportsGenerated: Scalars['Int']['output']; runs: Array<MtwReportRun>; }; /** Whether the provider currently has capacity for an offering. */ export declare enum MtwServiceAvailability { Available = "AVAILABLE", Limited = "LIMITED", Unavailable = "UNAVAILABLE" } /** A discoverable service a provider offers, with indicative price and availability. */ export type MtwServiceOffering = { __typename?: 'MtwServiceOffering'; availability: MtwServiceAvailability; category: MtwServiceOfferingCategory; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** ISO 4217 currency code. */ currency: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** Indicative price in `currency`, per `pricingUnit`. Null when priced on request. */ price?: Maybe<Scalars['Float']['output']>; /** What the price is charged per, for example "per km", "per pallet" or "per shipment". */ pricingUnit?: Maybe<Scalars['String']['output']>; /** The provider offering this service. Resolves even if the provider was later deleted. */ provider?: Maybe<MtwServiceProvider>; providerId: Scalars['ID']['output']; /** Typical door-to-door transit time in days. */ transitDays?: Maybe<Scalars['Int']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** What an offering provides. */ export declare enum MtwServiceOfferingCategory { AirFreight = "AIR_FREIGHT", ColdChain = "COLD_CHAIN", CustomsClearance = "CUSTOMS_CLEARANCE", Express = "EXPRESS", FullTruckload = "FULL_TRUCKLOAD", LastMile = "LAST_MILE", LessThanTruckload = "LESS_THAN_TRUCKLOAD", OceanFreight = "OCEAN_FREIGHT", Other = "OTHER", RailFreight = "RAIL_FREIGHT", Warehousing = "WAREHOUSING" } export type MtwServiceOfferingFilterInput = { availability?: InputMaybe<MtwServiceAvailability>; category?: InputMaybe<MtwServiceOfferingCategory>; isActive?: InputMaybe<Scalars['Boolean']['input']>; /** Only offerings at or below this price. */ maxPrice?: InputMaybe<Scalars['Float']['input']>; providerId?: InputMaybe<Scalars['ID']['input']>; /** Case-insensitive match on name and description. */ search?: InputMaybe<Scalars['String']['input']>; }; /** * A vetted service provider (carrier, 3PL, warehouse, specialist) in this workspace's marketplace * directory. A provider becomes a shipment's carrier through `assignShipmentServiceProvider`. */ export type MtwServiceProvider = { __typename?: 'MtwServiceProvider'; /** Free-form contact details (for example contactName, email, phone, website). */ contactInfo?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** Set by the workspace once it has vetted the provider. */ isVerified: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** The provider's live (not deleted) offerings, newest first. */ offerings: Array<MtwServiceOffering>; /** Number of live offerings. */ offeringsCount: Scalars['Int']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** The workspace's own rating of this provider, 0 to 5. Null when not yet rated. */ rating?: Maybe<Scalars['Float']['output']>; /** Regions, lanes or cities the provider covers. */ serviceAreas: Array<Scalars['String']['output']>; /** Short service tags, for example "reefer" or "hazmat". */ services: Array<Scalars['String']['output']>; type: MtwServiceProviderType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** * A vetted service provider (carrier, 3PL, warehouse, specialist) in this workspace's marketplace * directory. A provider becomes a shipment's carrier through `assignShipmentServiceProvider`. */ export type MtwServiceProviderOfferingsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwServiceProviderFilterInput = { isActive?: InputMaybe<Scalars['Boolean']['input']>; isVerified?: InputMaybe<Scalars['Boolean']['input']>; /** Only providers with at least this rating. */ minRating?: InputMaybe<Scalars['Float']['input']>; /** Case-insensitive match on name, description, services and service areas. */ search?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<MtwServiceProviderType>; }; /** Kind of service provider in the workspace marketplace directory (BOFF-3988, MOV-UC-13). */ export declare enum MtwServiceProviderType { Carrier = "CARRIER", Courier = "COURIER", CustomsBroker = "CUSTOMS_BROKER", FreightForwarder = "FREIGHT_FORWARDER", LastMile = "LAST_MILE", Other = "OTHER", ThirdPartyLogistics = "THIRD_PARTY_LOGISTICS", Warehouse = "WAREHOUSE" } export type MtwShipment = { __typename?: 'MtwShipment'; actualDelivery?: Maybe<Scalars['DateTime']['output']>; cargoDetails?: Maybe<Scalars['JSON']['output']>; carrierId?: Maybe<Scalars['ID']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; customerId?: Maybe<Scalars['ID']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; deliveryJob?: Maybe<MtwDeliveryJob>; deliveryJobId?: Maybe<Scalars['ID']['output']>; designatedIntegrationId?: Maybe<Scalars['ID']['output']>; destination: Scalars['JSON']['output']; estimatedDelivery?: Maybe<Scalars['DateTime']['output']>; freightCurrency?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isMultiModal: Scalars['Boolean']['output']; legs: Array<MtwShipmentLeg>; maxFutureSkewSeconds?: Maybe<Scalars['Int']['output']>; maxSourceAgeSeconds?: Maybe<Scalars['Int']['output']>; onBehalfOf: Scalars['String']['output']; origin: Scalars['JSON']['output']; primaryMode: TransportMode; /** * The marketplace provider this shipment's carrier points at, when `carrierId` references one. * Resolves even if the provider was later deleted, so historical shipments keep their carrier. */ serviceProvider?: Maybe<MtwServiceProvider>; shipmentNumber: Scalars['String']['output']; status: ShipmentStatus; statusAuthority: ShipmentStatusAuthority; statusAuthorityEpoch: Scalars['Int']['output']; statusBasisEventId?: Maybe<Scalars['ID']['output']>; statusBasisSourceTime?: Maybe<Scalars['DateTime']['output']>; statusRevision: Scalars['Int']['output']; storeOrder?: Maybe<StoreOrder>; storeOrderId?: Maybe<Scalars['ID']['output']>; totalFreightCost?: Maybe<Scalars['Float']['output']>; trackingEvents: Array<MtwTrackingEvent>; trackingNumber?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type MtwShipmentLegsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwShipmentTrackingEventsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwShipmentDecision = { __typename?: 'MtwShipmentDecision'; /** Provider-qualified model that wrote the rationale, when one did. */ aiModel?: Maybe<Scalars['String']['output']>; aiStatus: MtwDecisionRationaleStatus; aiSummary?: Maybe<Scalars['String']['output']>; breached?: Maybe<Scalars['Boolean']['output']>; chosenOptionId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** The shipment's carrier when the proposal was made. */ currentCarrierId?: Maybe<Scalars['String']['output']>; decidedAt?: Maybe<Scalars['DateTime']['output']>; decidedBy?: Maybe<Scalars['String']['output']>; decisionReason?: Maybe<Scalars['String']['output']>; expiresAt: Scalars['DateTime']['output']; /** Carrier recommendation: delivered shipments the ranking looked at. */ historyCount?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; kind: MtwShipmentDecisionKind; /** Carrier recommendation: whether the shipment had an origin and destination to match a lane on. */ laneKnown?: Maybe<Scalars['Boolean']['output']>; /** The deterministic ranker that produced the options. */ method: Scalars['String']['output']; /** Ranked options, best first. Empty when there is nothing to recommend (no carrier history yet). */ options: Array<MtwShipmentDecisionOption>; outcome?: Maybe<MtwShipmentDecisionOutcome>; predictedSlipMinutes?: Maybe<Scalars['Int']['output']>; /** The shipment's promised delivery when the proposal was made. */ promisedDelivery?: Maybe<Scalars['DateTime']['output']>; riskLevel?: Maybe<Scalars['String']['output']>; /** Exception remediation: the forecast the options were ranked from. */ riskScore?: Maybe<Scalars['Int']['output']>; shipmentId: Scalars['ID']['output']; shipmentNumber?: Maybe<Scalars['String']['output']>; signals: Array<Scalars['String']['output']>; status: MtwShipmentDecisionStatus; }; export declare enum MtwShipmentDecisionAction { /** Keep the shipment as it is and accept the delay. */ AcceptSlip = "ACCEPT_SLIP", /** Move the shipment's order to another vehicle (follow-up on the order). */ ReassignVehicle = "REASSIGN_VEHICLE", /** Move the promised delivery to the predicted time. */ RepromiseDelivery = "REPROMISE_DELIVERY", /** Get a fresh tracking update from the driver or carrier (follow-up). */ RequestTrackingUpdate = "REQUEST_TRACKING_UPDATE", /** Hand the not-yet-collected shipment to a carrier with a better record on its lane. */ SwitchCarrier = "SWITCH_CARRIER", /** Use this carrier for the shipment. */ UseCarrier = "USE_CARRIER" } export declare enum MtwShipmentDecisionExecution { /** Accepting changes the shipment. */ Apply = "APPLY", /** Accepting records the decision; followUpMutation names the manual step that carries it out. */ FollowUp = "FOLLOW_UP", /** Accepting only records the decision. */ Record = "RECORD" } export declare enum MtwShipmentDecisionKind { CarrierRecommendation = "CARRIER_RECOMMENDATION", ExceptionRemediation = "EXCEPTION_REMEDIATION" } /** One ranked option of a shipment decision. */ export type MtwShipmentDecisionOption = { __typename?: 'MtwShipmentDecisionOption'; action: MtwShipmentDecisionAction; /** Model-written rationale, when AI produced one. */ aiRationale?: Maybe<Scalars['String']['output']>; /** The carrier accepting assigns (USE_CARRIER, SWITCH_CARRIER). */ carrierId?: Maybe<Scalars['String']['output']>; /** Ranker confidence from 0 to 1, from how much evidence the option stands on. Not a probability of success. */ confidence: Scalars['Float']['output']; currency?: Maybe<Scalars['String']['output']>; /** Delivered shipments of this carrier in the history window (carrier options). */ deliveredCount?: Maybe<Scalars['Int']['output']>; execution: MtwShipmentDecisionExecution; /** Arguments for followUpMutation, e.g. the delivery job or shipment id. */ followUpArgs?: Maybe<Scalars['JSON']['output']>; /** The existing mutation that carries out a FOLLOW_UP option. */ followUpMutation?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Delivered shipments of this carrier on this shipment's lane. */ laneDeliveredCount?: Maybe<Scalars['Int']['output']>; laneOnTimeCount?: Maybe<Scalars['Int']['output']>; /** Median recorded freight cost of this carrier on the lane, in currency. */ medianLaneCost?: Maybe<Scalars['Float']['output']>; /** The promised delivery accepting sets (REPROMISE_DELIVERY). */ newEstimatedDelivery?: Maybe<Scalars['DateTime']['output']>; onTimeCount?: Maybe<Scalars['Int']['output']>; rank: Scalars['Int']['output']; /** The ranker's own factual rationale. */ rationale: Scalars['String']['output']; /** Reason codes, e.g. LANE_HISTORY, ON_TIME_STRONG, LOWEST_LANE_COST, PREDICTED_SLIP, TRACKING_STALE. */ reasons: Array<Scalars['String']['output']>; /** Carrier ranking score from 0 to 1 (carrier options only). */ score?: Maybe<Scalars['Float']['output']>; }; export declare enum MtwShipmentDecisionOutcome { /** The shipment was changed. */ Applied = "APPLIED", /** The decision was recorded; the follow-up step is still to be done. */ FollowUp = "FOLLOW_UP", /** The decision was recorded; nothing on the shipment changed. */ Recorded = "RECORDED" } export declare enum MtwShipmentDecisionStatus { /** An option was accepted; outcome says what that did. */ Accepted = "ACCEPTED", /** Superseded by a newer proposal or past its expiry without a decision. */ Expired = "EXPIRED", /** Waiting for a decision. */ Proposed = "PROPOSED", /** Rejected; nothing on the shipment changed. */ Rejected = "REJECTED", /** An option was accepted but the shipment had changed since the proposal; decisionReason says how. Nothing was changed. */ Stale = "STALE" } export type MtwShipmentLeg = { __typename?: 'MtwShipmentLeg'; actualArrival?: Maybe<Scalars['DateTime']['output']>; actualDeparture?: Maybe<Scalars['DateTime']['output']>; calculatedCost?: Maybe<Scalars['Float']['output']>; carrierId?: Maybe<Scalars['ID']['output']>; carrierName?: Maybe<Scalars['String']['output']>; chargeableWeightKg?: Maybe<Scalars['Float']['output']>; containerCount?: Maybe<Scalars['Int']['output']>; containerType?: Maybe<OceanContainerType>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; destination: Scalars['JSON']['output']; distanceKm?: Maybe<Scalars['Float']['output']>; haulType?: Maybe<RoadHaulType>; heightCm?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; legNumber: Scalars['Int']['output']; lengthCm?: Maybe<Scalars['Float']['output']>; mode: TransportMode; notes?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; origin: Scalars['JSON']['output']; rateInputs?: Maybe<Scalars['JSON']['output']>; ratePerUnit?: Maybe<Scalars['Float']['output']>; scheduledArrival?: Maybe<Scalars['DateTime']['output']>; scheduledDeparture?: Maybe<Scalars['DateTime']['output']>; shipment?: Maybe<MtwShipment>; shipmentId: Scalars['ID']['output']; status: ShipmentLegStatus; trackingReference?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; volumeCbm?: Maybe<Scalars['Float']['output']>; weightKg?: Maybe<Scalars['Float']['output']>; widthCm?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; /** * The current (or last) risk episode of one shipment. An episode opens when the * forecast first reports the shipment at risk, notifies once, and closes when the * forecast recovers, the promise passes or the shipment finishes. */ export type MtwShipmentRiskEpisode = { __typename?: 'MtwShipmentRiskEpisode'; /** RECOVERED, BREACHED, COMPLETED or REMOVED. */ closeReason?: Maybe<Scalars['String']['output']>; closedAt?: Maybe<Scalars['DateTime']['output']>; /** How many episodes this shipment has had. */ episodeCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lastEvaluatedAt: Scalars['DateTime']['output']; lastNotificationError?: Maybe<Scalars['String']['output']>; /** EVENT or SWEEP: what evaluated the shipment last. */ lastTrigger: Scalars['String']['output']; notificationAttempts: Scalars['Int']['output']; notificationsSent: Scalars['Int']['output']; /** When the episode's notification reached at least one recipient. */ notifiedAt?: Maybe<Scalars['DateTime']['output']>; openedAt: Scalars['DateTime']['output']; predictedSlipMinutes: Scalars['Int']['output']; /** The promised delivery the episode was raised against. */ promisedDelivery?: Maybe<Scalars['DateTime']['output']>; recommendedAction?: Maybe<Scalars['String']['output']>; riskLevel: Scalars['String']['output']; riskScore: Scalars['Int']['output']; shipmentId: Scalars['ID']['output']; signals: Array<Scalars['String']['output']>; /** OPEN or CLOSED. */ state: Scalars['String']['output']; }; export type MtwShipmentStatusDecision = { __typename?: 'MtwShipmentStatusDecision'; authorityEpoch: Scalars['Int']['output']; configuredIntegrationId?: Maybe<Scalars['ID']['output']>; configuredMaxFutureSkewSeconds?: Maybe<Scalars['Int']['output']>; configuredMaxSourceAgeSeconds?: Maybe<Scalars['Int']['output']>; createdBy: Scalars['ID']['output']; heldReason?: Maybe<ShipmentStatusHeldReason>; id: Scalars['ID']['output']; observedRevision: Scalars['Int']['output']; origin: ShipmentStatusDecisionOrigin; outcome: ShipmentStatusDecisionOutcome; priorStatus: ShipmentStatus; proofId?: Maybe<Scalars['ID']['output']>; reason?: Maybe<Scalars['String']['output']>; recordedAt: Scalars['DateTime']['output']; resultRevision: Scalars['Int']['output']; resultStatus: ShipmentStatus; trackingEventId?: Maybe<Scalars['ID']['output']>; }; export type MtwShippingQuote = { __typename?: 'MtwShippingQuote'; courierId: Scalars['String']['output']; courierName: Scalars['String']['output']; currency: Scalars['String']['output']; estimatedDeliveryDate?: Maybe<Scalars['String']['output']>; estimatedDeliveryDays?: Maybe<Scalars['Int']['output']>; isCheapest: Scalars['Boolean']['output']; isFastest: Scalars['Boolean']['output']; /** Flagged by the carrier itself as its recommendation. */ isRecommended: Scalars['Boolean']['output']; mode?: Maybe<MtwCarrierServiceMode>; price: Scalars['Float']['output']; provider: MtwCarrierProvider; /** 0-5, when the carrier publishes one. */ rating?: Maybe<Scalars['Float']['output']>; }; export type MtwShippingQuoteResult = { __typename?: 'MtwShippingQuoteResult'; /** max(dead weight, volumetric weight) actually sent to the carriers. */ chargeableWeightKg: Scalars['Float']['output']; /** Present only when the input carried ownFleet. */ ownFleet?: Maybe<MtwOwnFleetEstimate>; /** One entry per carrier queried, so a failing carrier is visible rather than silently missing. */ providers: Array<MtwCarrierOutcome>; /** Every quote from every connected carrier, cheapest first. */ quotes: Array<MtwShippingQuote>; }; /** Append-only source assessment. Future effective times and historical expiry do not assert current readiness. */ export type MtwStockBindingAssessment = { __typename?: 'MtwStockBindingAssessment'; actorProvenance: Scalars['String']['output']; capturedCargoItemId: Scalars['ID']['output']; capturedCargoUpdatedAt: Scalars['DateTime']['output']; /** Null means composition epoch was not reviewed; a value is not current pick eligibility. */ capturedCompositionEpoch?: Maybe<Scalars['Int']['output']>; capturedInventoryUpdatedAt: Scalars['DateTime']['output']; capturedLocationId?: Maybe<Scalars['ID']['output']>; capturedLocationUpdatedAt?: Maybe<Scalars['DateTime']['output']>; capturedStockQuantityAudit: MtwStockBindingQuantityAudit; capturedWarehouseId: Scalars['ID']['output']; capturedWarehouseUpdatedAt: Scalars['DateTime']['output']; completeness: MtwStockBindingCompleteness; createdBy: Scalars['String']['output']; criticalFingerprint: Scalars['String']['output']; criticalOwnerSnapshot: MtwStockBindingOwnerSnapshot; effectiveAt: Scalars['DateTime']['output']; evidence: Array<MtwContainerEvidence>; facts: MtwStockBindingFacts; id: Scalars['ID']['output']; inventoryItemId: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; previousAssessmentId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; }; export type MtwStockBindingAssessmentPage = { __typename?: 'MtwStockBindingAssessmentPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwStockBindingAssessment>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwStockBindingCompleteness = { __typename?: 'MtwStockBindingCompleteness'; reasons: Array<MtwStockBindingIncompleteReason>; status: MtwStockBindingCompletenessStatus; }; export declare enum MtwStockBindingCompletenessStatus { Incomplete = "INCOMPLETE", SourceFactsOnly = "SOURCE_FACTS_ONLY", UnsupportedMixedLot = "UNSUPPORTED_MIXED_LOT" } export type MtwStockBindingCountUnit = { __typename?: 'MtwStockBindingCountUnit'; kind: MtwStockBindingCountUnitKind; reference?: Maybe<Scalars['String']['output']>; revision?: Maybe<Scalars['String']['output']>; }; export type MtwStockBindingCountUnitInput = { kind: MtwStockBindingCountUnitKind; reference?: InputMaybe<Scalars['String']['input']>; revision?: InputMaybe<Scalars['String']['input']>; }; export declare enum MtwStockBindingCountUnitKind { CountUnit = "COUNT_UNIT" } export declare enum MtwStockBindingExpiryPolicy { NoRequiredExpiry = "NO_REQUIRED_EXPIRY", TimeBounded = "TIME_BOUNDED", Unknown = "UNKNOWN" } /** Immutable operator declarations. Completeness does not establish current eligibility or physical verification. */ export type MtwStockBindingFacts = { __typename?: 'MtwStockBindingFacts'; countUnit?: Maybe<MtwStockBindingCountUnit>; declaredLotPolicy: MtwStockBindingLotPolicy; lot?: Maybe<MtwStockBindingLot>; provenance: MtwStockBindingProvenance; scanMapping?: Maybe<MtwStockBindingScanMapping>; schemaVersion: Scalars['Int']['output']; scope: MtwStockBindingScope; source: MtwStockBindingSource; sourceValidity: MtwStockBindingSourceValidity; }; export type MtwStockBindingFactsInput = { countUnit?: InputMaybe<MtwStockBindingCountUnitInput>; declaredLotPolicy: MtwStockBindingLotPolicy; lot?: InputMaybe<MtwStockBindingLotInput>; scanMapping?: InputMaybe<MtwStockBindingScanMappingInput>; scope: MtwStockBindingScope; source: MtwStockBindingSourceInput; sourceValidity: MtwStockBindingSourceValidityInput; }; export declare enum MtwStockBindingIncompleteReason { BinLabelUnknown = "BIN_LABEL_UNKNOWN", CountUnitReferenceUnknown = "COUNT_UNIT_REFERENCE_UNKNOWN", CountUnitRevisionUnknown = "COUNT_UNIT_REVISION_UNKNOWN", DeclaredLotDispositionUnknown = "DECLARED_LOT_DISPOSITION_UNKNOWN", DeclaredLotExpired = "DECLARED_LOT_EXPIRED", DeclaredLotHeld = "DECLARED_LOT_HELD", ItemLabelUnknown = "ITEM_LABEL_UNKNOWN", LotExpiryCutoffUnknown = "LOT_EXPIRY_CUTOFF_UNKNOWN", LotExpiryPolicyUnknown = "LOT_EXPIRY_POLICY_UNKNOWN", LotExpiryRevisionUnknown = "LOT_EXPIRY_REVISION_UNKNOWN", LotExpirySourceUnknown = "LOT_EXPIRY_SOURCE_UNKNOWN", LotPolicyUnknown = "LOT_POLICY_UNKNOWN", LotReferenceUnknown = "LOT_REFERENCE_UNKNOWN", LotRevisionUnknown = "LOT_REVISION_UNKNOWN", MixedLotUnsupported = "MIXED_LOT_UNSUPPORTED", ScanMappingReferenceUnknown = "SCAN_MAPPING_REFERENCE_UNKNOWN", ScanMappingRevisionUnknown = "SCAN_MAPPING_REVISION_UNKNOWN", ScopeUnknown = "SCOPE_UNKNOWN", SourceReferenceUnknown = "SOURCE_REFERENCE_UNKNOWN", SourceRevisionUnknown = "SOURCE_REVISION_UNKNOWN", SourceValidityEndUnknown = "SOURCE_VALIDITY_END_UNKNOWN", SourceValidityPolicyUnknown = "SOURCE_VALIDITY_POLICY_UNKNOWN", SourceValidityReferenceUnknown = "SOURCE_VALIDITY_REFERENCE_UNKNOWN", SourceValidityRevisionUnknown = "SOURCE_VALIDITY_REVISION_UNKNOWN", SourceValidityStartUnknown = "SOURCE_VALIDITY_START_UNKNOWN" } export type MtwStockBindingLot = { __typename?: 'MtwStockBindingLot'; declaredDisposition: MtwStockBindingLotDisposition; expiry: MtwStockBindingLotExpiry; reference?: Maybe<Scalars['String']['output']>; revision?: Maybe<Scalars['String']['output']>; }; export declare enum MtwStockBindingLotDisposition { Expired = "EXPIRED", Held = "HELD", Released = "RELEASED", Unknown = "UNKNOWN" } export type MtwStockBindingLotExpiry = { __typename?: 'MtwStockBindingLotExpiry'; expiresAt?: Maybe<Scalars['DateTime']['output']>; policy: MtwStockBindingExpiryPolicy; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; }; export type MtwStockBindingLotExpiryInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; policy: MtwStockBindingExpiryPolicy; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; }; export type MtwStockBindingLotInput = { declaredDisposition: MtwStockBindingLotDisposition; expiry: MtwStockBindingLotExpiryInput; reference?: InputMaybe<Scalars['String']['input']>; revision?: InputMaybe<Scalars['String']['input']>; }; export declare enum MtwStockBindingLotPolicy { NotRequired = "NOT_REQUIRED", Required = "REQUIRED", Unknown = "UNKNOWN" } /** Captured owner identity and handling fields, never a substitution with current owner details. */ export type MtwStockBindingOwnerSnapshot = { __typename?: 'MtwStockBindingOwnerSnapshot'; cargoFragile: Scalars['Boolean']['output']; cargoHazardous: Scalars['Boolean']['output']; cargoItemId: Scalars['ID']['output']; cargoSku: Scalars['String']['output']; cargoTemperatureControlled: Scalars['Boolean']['output']; inventoryItemId: Scalars['ID']['output']; locationCode?: Maybe<Scalars['String']['output']>; locationId?: Maybe<Scalars['ID']['output']>; locationStatus?: Maybe<Scalars['String']['output']>; locationWarehouseId?: Maybe<Scalars['ID']['output']>; schemaVersion: Scalars['Int']['output']; warehouseCode: Scalars['String']['output']; warehouseId: Scalars['ID']['output']; warehouseStatus: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MtwStockBindingProvenance { OperatorReported = "OPERATOR_REPORTED" } export type MtwStockBindingQuantityAudit = { __typename?: 'MtwStockBindingQuantityAudit'; allocated: Scalars['Int']['output']; available: Scalars['Int']['output']; damaged: Scalars['Int']['output']; onHand: Scalars['Int']['output']; }; export type MtwStockBindingScanMapping = { __typename?: 'MtwStockBindingScanMapping'; mappingReference?: Maybe<Scalars['String']['output']>; mappingRevision?: Maybe<Scalars['String']['output']>; reportedBinLabel?: Maybe<Scalars['String']['output']>; reportedItemLabel?: Maybe<Scalars['String']['output']>; }; export type MtwStockBindingScanMappingInput = { mappingReference?: InputMaybe<Scalars['String']['input']>; mappingRevision?: InputMaybe<Scalars['String']['input']>; reportedBinLabel?: InputMaybe<Scalars['String']['input']>; reportedItemLabel?: InputMaybe<Scalars['String']['input']>; }; export declare enum MtwStockBindingScope { Unknown = "UNKNOWN", UnsupportedMixedLot = "UNSUPPORTED_MIXED_LOT", WholeLine = "WHOLE_LINE" } export type MtwStockBindingSource = { __typename?: 'MtwStockBindingSource'; reference?: Maybe<Scalars['String']['output']>; revision?: Maybe<Scalars['String']['output']>; }; export type MtwStockBindingSourceInput = { reference?: InputMaybe<Scalars['String']['input']>; revision?: InputMaybe<Scalars['String']['input']>; }; export type MtwStockBindingSourceValidity = { __typename?: 'MtwStockBindingSourceValidity'; from?: Maybe<Scalars['DateTime']['output']>; policy: MtwStockBindingExpiryPolicy; sourceReference?: Maybe<Scalars['String']['output']>; sourceRevision?: Maybe<Scalars['String']['output']>; until?: Maybe<Scalars['DateTime']['output']>; }; export type MtwStockBindingSourceValidityInput = { from?: InputMaybe<Scalars['DateTime']['input']>; policy: MtwStockBindingExpiryPolicy; sourceReference?: InputMaybe<Scalars['String']['input']>; sourceRevision?: InputMaybe<Scalars['String']['input']>; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** Unresolved reported issue, not a verified count, stock adjustment or picking clearance. */ export type MtwStockObservation = { __typename?: 'MtwStockObservation'; actorProvenance: Scalars['String']['output']; attribution: MtwStockObservationAttribution; countScope: MtwStockObservationCountScope; createdBy: Scalars['String']['output']; evidenceDeclarations: Array<MtwStockObservationEvidenceDeclaration>; id: Scalars['ID']['output']; inventoryItemId: Scalars['ID']['output']; kind: MtwStockObservationKind; observedCount?: Maybe<Scalars['Int']['output']>; onBehalfOf?: Maybe<Scalars['ID']['output']>; reason: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; reportedCountUnit?: Maybe<MtwStockBindingCountUnit>; reportedObservedAt?: Maybe<Scalars['DateTime']['output']>; sequence: Scalars['Int']['output']; source?: Maybe<MtwStockBindingSource>; status: MtwStockObservationStatus; }; /** Gateway-derived attribution. Missing originating identity remains unknown; delegation never grants review authority. */ export type MtwStockObservationAttribution = { __typename?: 'MtwStockObservationAttribution'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; consentExpiresAt?: Maybe<Scalars['DateTime']['output']>; consentGrantedAt?: Maybe<Scalars['DateTime']['output']>; consentGrantedBy?: Maybe<Scalars['ID']['output']>; consentScopes: Array<Scalars['String']['output']>; delegationId?: Maybe<Scalars['ID']['output']>; onBehalfOf?: Maybe<Scalars['ID']['output']>; originatingAppId?: Maybe<Scalars['ID']['output']>; provenance: Scalars['String']['output']; /** Effective credential deadline at receipt; distinct from actual consent expiry. */ tokenExpiresAt?: Maybe<Scalars['DateTime']['output']>; workspaceAppId?: Maybe<Scalars['ID']['output']>; }; export declare enum MtwStockObservationCountScope { TaskRemainder = "TASK_REMAINDER", Unknown = "UNKNOWN", WholeLine = "WHOLE_LINE" } export type MtwStockObservationEvidenceDeclaration = { __typename?: 'MtwStockObservationEvidenceDeclaration'; fileId: Scalars['ID']['output']; status: MtwStockObservationEvidenceStatus; versionId: Scalars['ID']['output']; }; export declare enum MtwStockObservationEvidenceStatus { UnverifiedDeclaration = "UNVERIFIED_DECLARATION" } export declare enum MtwStockObservationKind { CountDiscrepancy = "COUNT_DISCREPANCY", Damage = "DAMAGE", IdentityUncertain = "IDENTITY_UNCERTAIN", Other = "OTHER" } export type MtwStockObservationPage = { __typename?: 'MtwStockObservationPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwStockObservation>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export declare enum MtwStockObservationStatus { Unresolved = "UNRESOLVED" } /** * A tracking alert. `alertType` is `DELAYED` once the promised delivery has * passed, or `AT_RISK` when the deterministic forecast predicts the promise will * be missed while it is still in the future. The risk fields are set only for * `AT_RISK` alerts. */ export type MtwTrackingAlert = { __typename?: 'MtwTrackingAlert'; /** True when an operator acknowledged this alert against the current promise. */ acknowledged: Scalars['Boolean']['output']; acknowledgedAt?: Maybe<Scalars['DateTime']['output']>; acknowledgedBy?: Maybe<Scalars['ID']['output']>; alertType: Scalars['String']['output']; /** Stable alert id, `<shipmentId>:<alertType>`. */ id: Scalars['ID']['output']; message: Scalars['String']['output']; /** AI narration of the forecast behind an AT_RISK alert, when one was generated for its current signals. */ narration?: Maybe<MtwRiskNarration>; predictedDelivery?: Maybe<Scalars['DateTime']['output']>; /** The shipment's promised delivery (estimatedDelivery) the alert was raised against. */ promisedDelivery?: Maybe<Scalars['DateTime']['output']>; riskScore?: Maybe<Scalars['Int']['output']>; shipmentId: Scalars['ID']['output']; shipmentNumber: Scalars['String']['output']; signals?: Maybe<Array<MtwRiskSignalCode>>; }; /** * A persisted acknowledgement of a tracking alert. It holds while the shipment * keeps the promised delivery it was recorded against; re-promising the shipment * re-raises the alert. */ export type MtwTrackingAlertAcknowledgement = { __typename?: 'MtwTrackingAlertAcknowledgement'; acknowledged: Scalars['Boolean']['output']; acknowledgedAt: Scalars['DateTime']['output']; acknowledgedBy: Scalars['ID']['output']; alertType: MtwTrackingAlertType; /** Same id as the acknowledged `MtwTrackingAlert`. */ id: Scalars['ID']['output']; promisedDelivery?: Maybe<Scalars['DateTime']['output']>; shipmentId: Scalars['ID']['output']; }; /** Alert types `trackingAlerts` raises; used to acknowledge one. */ export declare enum MtwTrackingAlertType { AtRisk = "AT_RISK", Delayed = "DELAYED" } export type MtwTrackingEvent = { __typename?: 'MtwTrackingEvent'; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; details?: Maybe<Scalars['String']['output']>; eventType: TrackingEventType; id: Scalars['ID']['output']; location?: Maybe<Scalars['JSON']['output']>; onBehalfOf: Scalars['String']['output']; providerEventTime?: Maybe<Scalars['DateTime']['output']>; serverReceivedAt?: Maybe<Scalars['DateTime']['output']>; shipmentId: Scalars['ID']['output']; sourceIntegrationId?: Maybe<Scalars['ID']['output']>; sourceTimestampProvenance: TrackingSourceTimeProvenance; timestamp: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum MtwTripUtilizationBasis { Estimated = "ESTIMATED", Observed = "OBSERVED" } export declare enum MtwTripUtilizationCoverage { Complete = "COMPLETE", Partial = "PARTIAL" } /** Immutable historical operator report of a captured route/vehicle revision; no assignment or dispatch change. */ export type MtwTripUtilizationReport = { __typename?: 'MtwTripUtilizationReport'; actorProvenance: Scalars['String']['output']; basis: MtwTripUtilizationBasis; createdBy: Scalars['ID']['output']; declaredCoverage: MtwTripUtilizationCoverage; evidence: Array<MtwContainerEvidence>; id: Scalars['ID']['output']; intervalFrom: Scalars['DateTime']['output']; intervalUntil: Scalars['DateTime']['output']; recordedAt: Scalars['DateTime']['output']; routeId: Scalars['ID']['output']; routeUpdatedAt: Scalars['DateTime']['output']; routeWaypointsFingerprint: Scalars['String']['output']; schemaVersion: Scalars['Int']['output']; summary: MtwTripUtilizationSummary; tripId: Scalars['ID']['output']; vehicleId: Scalars['ID']['output']; vehicleUpdatedAt: Scalars['DateTime']['output']; }; export type MtwTripUtilizationReportPage = { __typename?: 'MtwTripUtilizationReportPage'; hasMore: Scalars['Boolean']['output']; items: Array<MtwTripUtilizationReport>; limit: Scalars['Int']['output']; nextOffset?: Maybe<Scalars['Int']['output']>; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type MtwTripUtilizationSegment = { __typename?: 'MtwTripUtilizationSegment'; basis: MtwTripUtilizationBasis; cubeCapacityM3?: Maybe<Scalars['Float']['output']>; cubeM3?: Maybe<Scalars['Float']['output']>; cubeUtilizationPercentage?: Maybe<Scalars['Float']['output']>; distanceKm?: Maybe<Scalars['Float']['output']>; loadedState: MtwUtilizationLoadedState; payloadCapacityKg?: Maybe<Scalars['Float']['output']>; payloadKg?: Maybe<Scalars['Float']['output']>; segmentId: Scalars['ID']['output']; sequence: Scalars['Int']['output']; source: MtwUtilizationSource; warnings: Array<MtwUtilizationWarning>; weightUtilizationPercentage?: Maybe<Scalars['Float']['output']>; }; export type MtwTripUtilizationSegmentInput = { cubeCapacityM3?: InputMaybe<Scalars['Float']['input']>; cubeM3?: InputMaybe<Scalars['Float']['input']>; distanceKm?: InputMaybe<Scalars['Float']['input']>; loadedState: MtwUtilizationLoadedState; payloadCapacityKg?: InputMaybe<Scalars['Float']['input']>; payloadKg?: InputMaybe<Scalars['Float']['input']>; segmentId: Scalars['ID']['input']; sequence: Scalars['Int']['input']; source: MtwUtilizationSourceInput; }; /** COMPLETE is operator-declared coverage; these ratios are not feasibility, road, axle or fuel certificates. */ export type MtwTripUtilizationSummary = { __typename?: 'MtwTripUtilizationSummary'; basis: MtwTripUtilizationBasis; declaredCoverage: MtwTripUtilizationCoverage; distanceCoverage: MtwUtilizationDistanceCoverage; distanceWeightedCube: MtwUtilizationMetric; distanceWeightedWeight: MtwUtilizationMetric; loadedDistance: MtwUtilizationMetric; segmentCount: Scalars['Int']['output']; segments: Array<MtwTripUtilizationSegment>; tripId: Scalars['ID']['output']; unknownFactsSegmentCount: Scalars['Int']['output']; }; export type MtwUnassignedShipment = { __typename?: 'MtwUnassignedShipment'; /** NO_ELIGIBLE_PAIR, FLEET_FULLY_ASSIGNED, OVER_CAPACITY, PLAN_LIMIT_REACHED or NOT_PLANNABLE. */ reason: Scalars['String']['output']; shipmentId: Scalars['ID']['output']; shipmentNumber?: Maybe<Scalars['String']['output']>; }; export type MtwUpdateReportInput = { description?: InputMaybe<Scalars['String']['input']>; frequency?: InputMaybe<MtwReportFrequency>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; periodDays?: InputMaybe<Scalars['Int']['input']>; runHour?: InputMaybe<Scalars['Int']['input']>; runMonthDay?: InputMaybe<Scalars['Int']['input']>; runWeekday?: InputMaybe<Scalars['Int']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<MtwReportType>; }; export type MtwUpdateServiceOfferingInput = { availability?: InputMaybe<MtwServiceAvailability>; category?: InputMaybe<MtwServiceOfferingCategory>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; pricingUnit?: InputMaybe<Scalars['String']['input']>; transitDays?: InputMaybe<Scalars['Int']['input']>; }; export type MtwUpdateServiceProviderInput = { contactInfo?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; isVerified?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; serviceAreas?: InputMaybe<Array<Scalars['String']['input']>>; services?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<MtwServiceProviderType>; }; export declare enum MtwUtilizationCapacityBasis { Measured = "MEASURED", Rated = "RATED" } export declare enum MtwUtilizationDistanceBasis { Measured = "MEASURED", OperatorEstimate = "OPERATOR_ESTIMATE", ProviderEstimate = "PROVIDER_ESTIMATE" } export type MtwUtilizationDistanceCoverage = { __typename?: 'MtwUtilizationDistanceCoverage'; knownDistanceKm: Scalars['Float']['output']; knownSegmentCount: Scalars['Int']['output']; totalDistanceKm?: Maybe<Scalars['Float']['output']>; unknownSegmentCount: Scalars['Int']['output']; }; export declare enum MtwUtilizationLoadBasis { Measured = "MEASURED", SourceConfirmedPlan = "SOURCE_CONFIRMED_PLAN" } export declare enum MtwUtilizationLoadedState { Empty = "EMPTY", Loaded = "LOADED", Unknown = "UNKNOWN" } export type MtwUtilizationMetric = { __typename?: 'MtwUtilizationMetric'; knownDistanceKm: Scalars['Float']['output']; percentage?: Maybe<Scalars['Float']['output']>; reason?: Maybe<MtwUtilizationMetricReason>; status: MtwUtilizationMetricStatus; unknownSegmentCount: Scalars['Int']['output']; }; export declare enum MtwUtilizationMetricReason { DistanceUnknown = "DISTANCE_UNKNOWN", NoSegments = "NO_SEGMENTS", PartialTrip = "PARTIAL_TRIP", SegmentFactsUnknown = "SEGMENT_FACTS_UNKNOWN", ZeroDistance = "ZERO_DISTANCE" } export declare enum MtwUtilizationMetricStatus { Known = "KNOWN", Unknown = "UNKNOWN" } /** Human-recorded source labels, not independent measurement or provider authentication. */ export type MtwUtilizationSource = { __typename?: 'MtwUtilizationSource'; capacityBasis: MtwUtilizationCapacityBasis; distanceBasis: MtwUtilizationDistanceBasis; loadBasis: MtwUtilizationLoadBasis; observedAt?: Maybe<Scalars['DateTime']['output']>; recordedAt: Scalars['DateTime']['output']; reference: Scalars['String']['output']; revision: Scalars['String']['output']; }; export type MtwUtilizationSourceInput = { capacityBasis: MtwUtilizationCapacityBasis; distanceBasis: MtwUtilizationDistanceBasis; loadBasis: MtwUtilizationLoadBasis; observedAt?: InputMaybe<Scalars['DateTime']['input']>; reference: Scalars['String']['input']; revision: Scalars['String']['input']; }; export declare enum MtwUtilizationWarning { CubeOverload = "CUBE_OVERLOAD", EmptyWithPayload = "EMPTY_WITH_PAYLOAD", WeightOverload = "WEIGHT_OVERLOAD" } export type MtwVehicle = { __typename?: 'MtwVehicle'; capacity?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currentLocation?: Maybe<Scalars['JSON']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; drivers: Array<MtwDriver>; fuelEfficiencyLPer100Km?: Maybe<Scalars['Float']['output']>; fuelLevel?: Maybe<Scalars['Float']['output']>; fuelType?: Maybe<FuelType>; id: Scalars['ID']['output']; lastServiceDate?: Maybe<Scalars['DateTime']['output']>; licensePlate?: Maybe<Scalars['String']['output']>; make?: Maybe<Scalars['String']['output']>; mileage?: Maybe<Scalars['Float']['output']>; model?: Maybe<Scalars['String']['output']>; nextServiceDueDate?: Maybe<Scalars['DateTime']['output']>; nextServiceDueMileage?: Maybe<Scalars['Float']['output']>; onBehalfOf: Scalars['String']['output']; ownershipType?: Maybe<Scalars['String']['output']>; status: VehicleStatus; type: VehicleType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; vehicleNumber: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; year?: Maybe<Scalars['Int']['output']>; }; export type MtwVehicleSuggestion = { __typename?: 'MtwVehicleSuggestion'; reasons: Array<Scalars['String']['output']>; score: Scalars['Int']['output']; vehicle: MtwVehicle; }; export type MtwWarehouse = { __typename?: 'MtwWarehouse'; address: Scalars['JSON']['output']; capabilities?: Maybe<Scalars['JSON']['output']>; code: Scalars['String']['output']; contactInfo?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; locations: Array<MtwWarehouseLocation>; name: Scalars['String']['output']; onBehalfOf: Scalars['String']['output']; operatingHours?: Maybe<Scalars['JSON']['output']>; status: Scalars['String']['output']; totalCapacity?: Maybe<Scalars['Float']['output']>; type: WarehouseType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; usedCapacity?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type MtwWarehouseLocationsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MtwWarehouseLocation = { __typename?: 'MtwWarehouseLocation'; aisle?: Maybe<Scalars['String']['output']>; bin?: Maybe<Scalars['String']['output']>; capacity?: Maybe<Scalars['Float']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; locationCode: Scalars['String']['output']; locationType?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['String']['output']; rack?: Maybe<Scalars['String']['output']>; shelf?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; warehouseId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; zone?: Maybe<Scalars['String']['output']>; }; export type MtwWarehouseStats = { __typename?: 'MtwWarehouseStats'; active: Scalars['Int']['output']; avgUtilization: Scalars['Float']['output']; total: Scalars['Int']['output']; }; /** Unit MoveTheWheels shows weights in. */ export declare enum MtwWeightUnit { /** Kilograms */ Kg = "KG", /** Pounds */ Lb = "LB" } /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type Mutation = { __typename?: 'Mutation'; /** * Placeholder field to allow empty Mutation type extension. * Must be @shareable since it exists in multiple subgraphs. */ _empty?: Maybe<Scalars['String']['output']>; _planmagnetPing?: Maybe<Scalars['String']['output']>; _serviceNoop: Scalars['Boolean']['output']; /** Abort an upload session */ abortUpload: Scalars['Boolean']['output']; /** Accept a file/folder share invitation. scopeType:self so the gateway forwards the authenticated recipient's actor id (public:true would not inject x-actor-id). */ acceptFileShare: ShareGrant; acceptGroupInvitation: GroupMembership; /** Accept a handoff: the operator takes the conversation; the bot stops autonomous replies. */ acceptHandoff: BotmanorConversationHandoff; /** Farm side: accept an invitation addressed to this workspace — starts data flow. */ acceptHealthyBowlContractAssignment: HealthyBowlContractAssignment; /** Sponsor: accept/grade a delivery — below-spec quantity becomes rejectedQty, excluded from value. */ acceptHealthyBowlContractDelivery: HealthyBowlContractDelivery; /** Member side: accept an invitation addressed to my own workspace. */ acceptHealthyBowlCoopMembership: HealthyBowlCoopMembership; /** * Accept an invitation * (No RBAC check - users can accept their own invitations) */ acceptInvitation: Invitation; acceptMtwReuseReservation: MtwReuseReservation; acceptRecommendation: TimeCampusRecommendation; /** Accept a share invitation. scopeType:self so the gateway forwards the authenticated recipient's actor id (public:true would not inject x-actor-id, leaving the resolver with no identity to match the invite). */ acceptShare: ShareGrant; /** Accept the pending suggestion: applies `suggestedProjectId` to `projectId`. */ acceptTimeCampusCaptureEventSuggestion: TimeCampusCaptureEvent; /** * Recipient-side: accept an invite by its opaque token. Creates a * `WorkspaceMember` row and assigns the requested role. * * PUBLIC because the recipient is identified by the token they received in the * email; we do not require them to be authenticated against the inviter's * workspace. The mutation still enforces that the calling actor's email * matches `inviteeEmail`. */ acceptWorkspaceInvite: WorkspaceInvite; /** * Access a shared file (for public links) * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ accessShare: AccessShareResponse; acknowledgeA2AMessage: A2AMessage; acknowledgeHealthyBowlComplianceFlag: ComplianceFlag; /** Acknowledge (mark read/resolved) a price alert. */ acknowledgeHealthyBowlPriceAlert: PriceAlert; /** Acknowledge (mark read/resolved) a sensor alert. */ acknowledgeHealthyBowlSensorAlert: SensorAlert; /** Acknowledge (mark read) a stressed zone. */ acknowledgeHealthyBowlStressedZone: HbStressedZone; acknowledgeMtwTrackingAlert: MtwTrackingAlertAcknowledgement; /** * Lease a durable-worker MicroVM of the pool key (adopting an idle one when possible). * INTERNAL: service actors only. */ acquireDurableWorkerSandbox: DurableWorkerSandboxLease; /** Acquire a lock on a file */ acquireFileLock: AcquireLockResponse; /** Take a workflow's edit lease when it is free, or renew it when this session holds it. Otherwise report the holder. */ acquireWorkflowEditLease: WorkflowEditLease; /** Activate a DRAFT/PAUSED workflow so real triggers start firing it. */ activateHeadshotmarketingAutomationWorkflow: HeadshotmarketingAutomationWorkflow; /** Sponsor: activate a DRAFT contract — requires at least one ACCEPTED farm. */ activateHealthyBowlFarmingContract: HealthyBowlFarmingContract; activateResourcePlan: ResourcePlan; activateSchedule: ScheduledJob; /** * Activate a workflow definition (sets status to ACTIVE, enables scheduled triggers). * * Durable-function parity (spec code-first 11 §2.27): while open AUTO_UPGRADE runs of the workflow * would move to this version's bundle, the version is not activated at once. An ACTIVATION check * replays up to 50 of them first and activates the version only if they all replay; read it from * `activationCheck` (poll workflowCodeReplace with its id). `force: true` activates without the * check (audited; runs that do not replay keep failing their workflow task until a fix ships) and * needs fluidgrids.durable-parity. */ activateWorkflowDefinition: WorkflowDefinition; adaAcceptResellerInvitation: AdaPartnerProfile; adaArchiveAdapter: Scalars['Boolean']['output']; adaArchivePolicy: Scalars['Boolean']['output']; /** * White-label portal domain, step 1: attach a custom domain (MSP_RESELLER * only) and get back a fresh DNS TXT challenge to prove ownership. */ adaAttachPortalDomain: AdaPartnerProfile; adaCancelSyncRun: AdaSyncRun; /** * Compliance action: execute a PENDING erasure request (anonymizes the * requestor's audit-trail references across this subgraph's tables) or mark * a PENDING export COMPLETED after review. Workspace-scoped admin action. */ adaCompleteDataSubjectRequest: AdaDataSubjectRequest; adaCompleteSyncRun: AdaSyncRun; adaCreateAdapter: AdaAdapter; adaCreateConnection: AdaConnection; adaCreatePolicy: AdaPolicy; adaCreateTopologyEdge: AdaTopologyEdge; adaDetachPortalDomain: AdaPartnerProfile; adaDisableConnection: AdaConnection; adaFailSyncRun: AdaSyncRun; adaGenerateResellerInvitation: AdaResellerInvitation; adaIngestCost: AdaCostRecord; adaRecordDrift: AdaDriftRecord; /** * Record that the CALLING actor accepted a legal document/version (in-product * acceptance checkpoint, DPA H-7). Self-scoped (Type A): no identity arg. * Idempotent — re-accepting the same (checkpointType, documentVersion) updates * the timestamp/audit fields rather than duplicating the row. */ adaRecordLegalAcceptance: AdaLegalAcceptance; adaRecordViolation: AdaPolicyViolation; /** Upsert a discovered resource for a connection (idempotent by externalId). */ adaRegisterResource: AdaResource; /** * Compliance action: reject a PENDING data-subject request (e.g. legal hold, * identity could not be verified). Workspace-scoped admin action. */ adaRejectDataSubjectRequest: AdaDataSubjectRequest; adaRemediateDrift: AdaDriftRecord; /** * File a DSAR erasure request for the CALLING actor's own AdapterCloud data * (DPA D-4). Left PENDING for compliance review — see adaCompleteDataSubjectRequest. * Self-scoped (Type A). */ adaRequestDataErasure: AdaDataSubjectRequest; /** * File a DSAR export request for the CALLING actor's own AdapterCloud data * and execute it synchronously (DPA D-4). Self-scoped (Type A). */ adaRequestDataExport: AdaDataSubjectRequest; /** Resolve or waive a violation (validated transition; waiver requires a reason). */ adaResolveViolation: AdaPolicyViolation; adaRevokeResellerInvitation: AdaResellerInvitation; /** Transition a connection's health (validated against the connection lifecycle). */ adaSetConnectionStatus: AdaConnection; adaStartSyncRun: AdaSyncRun; adaUpdateAdapter: AdaAdapter; adaUpdateConnection: AdaConnection; adaUpdatePolicy: AdaPolicy; adaUpsertPartnerProfile: AdaPartnerProfile; /** * White-label portal domain, step 2: check the DNS TXT record for the * attached domain and move it to VERIFIED on success. */ adaVerifyPortalDomain: AdaPartnerProfile; addAttendee: EventAttendee; addChildGroup: Group; /** Add a single item to collection */ addCollectionItem: CollectionItem; /** Add a component to a catalog */ addComponentToVibecontrolsCatalog: VibecontrolsCatalogComponent; /** Add a reaction to a comment */ addEntityCommentReaction: EntityCommentReaction; /** Adds an item to the calling actor's open cart (creating one if none exists). Validates itemId exists in the workspace, same as createGgnomadBooking. */ addGgnomadCartItem: GgnomadCart; /** Creator-only. NOT_FOUND if the caller isn't the group trip's creator. */ addGgnomadGroupTripMember: GgnomadGroupTripMember; /** BOFF-10194 — creator of the plan only; NOT_FOUND for anyone else. */ addGgnomadTripPlanItem: GgnomadTripPlanItem; addGroupMembers: AddMembersResult; /** * Commit one member's harvest to a lot. A lot holds at most 400 contributions, and a given harvest * record can be live in only one lot — a second attempt is a CONFLICT, not a silent double-sell. */ addHealthyBowlAggregationLotContribution: HealthyBowlAggregationLotContribution; /** Sponsor: attach contributing deliveries to a DRAFT lot (each delivery joins at most one lot). */ addHealthyBowlContractAggregationLotLines: HealthyBowlContractAggregationLot; /** Add a row to a plan; returns the updated plan (with the new totals + rows). */ addHealthyBowlInputPlanItem: HealthyBowlInputPlan; /** Advance a claim's inspection/status timeline (adds an event + moves the claim status). */ addHealthyBowlInsuranceClaimEvent: HealthyBowlInsuranceClaim; addKnowledgeDocument: KnowledgeDocument; addMeetingParticipant: MeetingParticipant; addParticipant: ConversationMembership; /** Add a user as a project member */ addProjectMember: ProjectMember; addReaction: Reaction; /** Add recent session */ addRecentSession: UiSession; /** Add recent vibe */ addRecentVibe: UiSession; addShipmentLeg: MtwShipmentLeg; addTagToConversation: ConversationMembership; /** Add a DRAFT version with a higher version number. */ addTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet; addTrackingEvent: MtwTrackingEvent; /** Add a vibe to a catalog */ addVibeToVibecontrolsCatalog: VibecontrolsCatalogVibe; /** * Zero-config agent onboarding. Probes the agent via tunnelUrl + apiKey, then * chains registerOrUpdateAgent + setupAgentGatewayAuth + pushAgentGatewayAuth * in a single mutation so the operator only needs to paste the tunnel URL and * the agent's API key shown in its startup banner. * * On success the agent transitions from 'awaiting-config' to 'ready' inside * the POST /api/agent/gateway-auth call invoked during push — so by the time * this mutation returns, the agent is fully functional. */ addVibecontrolsAgentFromTunnel: AddAgentFromTunnelResult; /** Add a new metric to a scorecard */ addVibecontrolsScorecardMetric: VibecontrolsScorecardMetric; addWidget: AnalyticsWidget; /** Add a widget to a generated spec. */ addWidgetToGeneratedSpec: PromptGeneration; /** * Add a user as a member to the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ addWorkspaceMember: WorkspaceMember; /** * Adjust a product's on-hand stock by recording a movement (BOFF-6371). * * Deliberately separate from `recordHealthyBowlStockMovement`, which is guarded by * `healthybowl_storage`. Changing product stock is a product permission: routing it * through the storage mutation would let a member with storage rights but no product * rights move stock, and block a product manager without storage rights from adjusting * inventory at all. * * The new on-hand amount is derived server-side from the delta, so two concurrent * adjustments both apply instead of the later one discarding the earlier. An OUT larger * than the stock actually available at commit time is rejected, never clamped — the * ledger has to stay reconcilable with the stock column. */ adjustHealthyBowlProductStock: HealthyBowlStockMovement; adjustInventoryStock: MtwInventoryItem; adminRevokeVibeLlmContextToken: VibeLlmContextToken; /** * HookMovies-only M2M admission after recipient-bound guardian invite validation. * Creates a guardian membership with zero workspace-wide RBAC grants. Target * workspace comes from trusted service context. Replays cannot recreate a removed * membership; existing members keep their roles. Never creates organization access. */ admitHookMoviesGuardian: WorkspaceGuardianContext; /** * Adopt an orphan agent session. Creates a Session row tracking the * existing daemon-side session (tmux/wezterm/zellij) and starts a web * terminal so the UI can attach. Idempotent — calling twice returns * the same row. */ adoptAgentSession: Session; advanceCourseKnowledgeImport: CourseKnowledgeImportReceipt; /** * Proxy a mutating AI request to an agent via the backend. * Path MUST match the strict AI allowlist: it must start with `/api/ai/` * or `/api/profiles/<name>/ai/`. Method MUST be `GET` or `POST` — `PUT`, * `PATCH`, `DELETE` and other verbs are rejected at the resolver edge. * The backend also re-validates the agent's stored tunnelUrl against * the SSRF guard on every call. */ agentAiMutate: AgentProxyResponse; /** * Proxy a backup action to the agent: by default POSTs * `/api/profiles/<profile>/backup/<action>` with the JSON body. `action` * must match `^[a-z][a-z0-9_-]*$`; the agent enforces the action allowlist. * * `method` defaults to `POST`; allowed values: `GET`, `POST`, `PUT`, `DELETE`. * `pathSuffix` (optional) is appended to the URL after `<action>` — used * for resource-scoped operations like `/backups/:id`. Must match * `^/[A-Za-z0-9._\\-/]*$`. * * BOFF-4112: the agent's backup plugin mounts `GET/PUT /backup/config`, * `GET /backup/status`, `GET /backup/list`, and `DELETE /backup/backups/:id` * as proper REST verbs — callers MUST pass the matching `method` (and * `pathSuffix` for the delete-by-id case) instead of overloading `POST` * actions; GET requests never forward a body. */ agentBackupRequest: AgentProxyResponse; /** * Start a code-server instance via the agent: * POSTs `/api/profiles/<profile>/code-server/<name>/start` with `{ path }`. */ agentCodeServerStart: AgentProxyResponse; /** * Stop a code-server instance via the agent: * POSTs `/api/profiles/<profile>/code-server/<name>/stop`. */ agentCodeServerStop: AgentProxyResponse; /** * Open an editor on the agent: POSTs `/api/profiles/<profile>/editor/open` * with `{ command, path }`. Narrow svc-side proxy that replaces direct * browser calls using the deprecated `agentApiKey`. */ agentEditorOpen: AgentProxyResponse; /** * Narrow GitOps mutate proxy. Forwards POST/DELETE to the agent's * `/api/profiles/<profile>/gitops/<pathTail>` route. Same `pathTail` * allowlist as `agentGitopsProxy`. */ agentGitopsMutate: AgentProxyResponse; /** * Install a plugin on the agent via * POST `/api/profiles/<profile>/plugins/install` with `{ name, source }`. * Mirrors `agentEditorOpen`'s narrow proxy shape. Unblocks UI flows like * "install code-server" that need a non-store, source-tagged install. */ agentPluginInstall: AgentProxyResponse; /** * Narrow security-scan mutation proxy: forwards POST to * `/api/profiles/<p>/security/<...>`. Used for startScan + cancelScan. * `pathTail` MUST start with `/` and match * `/^\\/[A-Za-z0-9._\\-\\/?=&%]+$/`. */ agentSecurityScanMutate: AgentProxyResponse; /** * Self-update the agent to the latest published version, or to a specific * `version`. Proxies POST /api/agent/update (engine check → install → smoke * test → idle-aware restart). `data` carries the structured update result. */ agentSelfUpdate: AgentProxyResponse; /** * Run an update check now (and apply it if due). Proxies POST * /api/agent/update/check-now. */ agentUpdateCheckNow: AgentProxyResponse; /** * Archive one finding only after its exact source has been removed. Operators * retain the finding and sweep audit history; default finding lists omit it. * Existing sources, missing/foreign IDs and repeated archives return false. */ ahArchiveWatchAlert: Scalars['Boolean']['output']; /** * Register or repair the watch sweep of every workspace that uses AssetHandler. * Super admin only; used to backfill workspaces that predate the loop. */ ahReconcileWatchSchedules: AhWatchScheduleReconcileResult; /** * Run the workspace's watch sweep. Called by wspace-scheduler-svc as this * service's own service actor; a super admin may run it on demand. The * resolver re-checks the caller because the internal gateway does not * evaluate @rbac. */ ahRunScheduledWatchSweep: AhWatchSweep; /** Append a signed, hash-chained event to a batch's ledger (append-only — cannot be edited after). */ appendHealthyBowlTraceEvent: TraceEvent; /** * Agent-initiated: append a batch of frames to an in-progress recording. * Rejected once the recording is COMPLETED/FAILED (immutability). Frames * are appended by `seq` — out-of-order or duplicate `seq` values within a * recording are rejected (unique per recording). */ appendSessionRecordingFrames: Scalars['Boolean']['output']; /** * Apply the workspace's ACTIVE retention policies now instead of waiting for the * hourly job, and return the recorded pass. */ applyBotmanorRetention: BotmanorRetentionRun; /** * Submit a PMFBY crop-insurance application for a field: find-or-creates the workspace's * PMFBY GovernmentScheme, creates a canonical SchemeApplication (spec reuse), and returns * the typed HealthyBowlInsurancePolicy (status SUBMITTED, premiumStatus DUE). */ applyForHealthyBowlPmfby: HealthyBowlInsurancePolicy; /** Apply a recommendation, writing the new budget onto the campaign. */ applyHeadshotmarketingAdBudgetRecommendation: HeadshotmarketingAdBudgetRecommendation; applyHealthyBowlCertificationStandard: CertificationDetail; applyHealthyBowlCompostBatch: CompostBatch; /** Apply a workspace template: create its projects and tasks and install its applets. */ applyTimeCampusWorkspaceTemplate: TimeCampusTemplateApplication; /** * Apply a template's metrics to an entity, creating its scorecard if needed. * Existing metrics with the same name are left untouched. */ applyVibecontrolsScorecardTemplate?: Maybe<VibecontrolsScorecard>; /** * Apply a PROPOSED proposal as a new DRAFT version of its workflow (or a new * DRAFT workflow). Never activates a workflow and never edits a stored * version. Returns STALE when the workflow changed after the proposal was made. * * `rerun` (REPAIR proposals only): after applying, re-run the failed run's input * against the new DRAFT version as a TEST run. Only a failed test run, or a run * of a DRAFT version, is re-run; for a failed production run of an active * version nothing is run and `rerunHint` says why. The started run is * returned in `rerunRunId`. */ applyWorkflowProposal: WorkflowProposal; /** * Approve a pending request: publishes the agent's draft and sets it ACTIVE. * Refused for your own request or when the agent changed since it was requested. */ approveBotmanorAgentActivation: BotmanorAgentApprovalRequest; approveChangeRequest: ChangeRequest; /** Approve a pending submission and install it in the catalog. Platform reviewers only. */ approveConnectorSubmission: ConnectorSubmission; approveCrewPayrollRun: CrewPayrollRun; approveCrewShiftSwap: CrewShiftSwapRequest; approveExpense: ExpenseEntry; /** BOFF-4386 — operator-only: approves a PENDING commission, re-based on the order's bookings that were not cancelled or refunded. */ approveGgnomadAffiliateCommission: GgnomadAffiliateCommission; /** BOFF-4365 — admin-only: clears the policy hold, and if the booking's payment already verified, confirms it and issues its ticket. */ approveGgnomadBookingApproval: GgnomadBookingApproval; /** Operator-only: approves an UNDER_REVIEW claim. Payout stays out of scope. */ approveGgnomadDamageClaim: GgnomadDamageClaim; /** BOFF-4388 — operator-only (see GGNOMAD_ROLES marketplace-operator): approves a PENDING_REVIEW listing, moving it to ACTIVE. */ approveGgnomadListing: GgnomadListing; approveHealthyBowlLabourEntry: HealthyBowlLabourEntry; approveHousingvistaVerificationItem: HousingVistaVerificationItem; approveJoinRequest: GroupMembership; approveMtwPickTask: MtwPickReview; approveRequest: TimeApprovalRequest; approveResourceBooking: CalendarResourceBooking; approveTransaction: AssetTransaction; /** Approve a pending promotion and deploy it. Needs publish rights; see allowSelfApproval. */ approveWorkflowPromotion: WorkflowPromotionRequest; /** Archive a change request while retaining its approval history. Returns false for missing, foreign or already archived IDs. */ archiveChangeRequest: Scalars['Boolean']['output']; archiveConversation: Conversation; /** Archive a dashboard */ archiveDashboard: BigConsoleDashboard; /** * Archive (soft-disable) a dashboard RLS policy. Dashboards still * referencing it fail closed instead of falling back to unfiltered access. */ archiveDashboardRlsPolicy: BigConsoleDashboardRlsPolicy; /** Archive a twin registration without deleting any external model. Returns false for missing, foreign or already archived IDs. */ archiveDigitalTwin: Scalars['Boolean']['output']; /** Archive a discovery registration. This does not stop an external scanner or refund its non-reusable monthly start allowance. Returns false for missing, foreign or already archived IDs. */ archiveDiscoveryJob: Scalars['Boolean']['output']; /** Soft archive a workspace-owned metric. Monthly create usage is not refunded. */ archiveEsgMetric: Scalars['Boolean']['output']; /** BOFF-4388 — archives a listing (terminal state) from any non-archived status. */ archiveGgnomadListing: GgnomadListing; archiveGroup: Group; /** * Archive a location: it stops being offered without losing the boxes that went there. * * Refused while ANY membership is still assigned — PAUSED as well as ACTIVE, because pausing does * not release the place and the member resumes against whatever the stand has become. They would * otherwise silently fall back to a home address that may be years stale, or to none at all. Move * them first. A soft delete, so past deliveries keep resolving their location. * * This is the ONLY way to archive. `updateHealthyBowlCsaPickupLocation` refuses `status: "ARCHIVED"` * precisely so that this guard, and this permission, cannot be stepped around. */ archiveHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation; /** Archive an incident without erasing its resolution or audit history. Returns false for missing, foreign or already archived IDs. */ archiveIncident: Scalars['Boolean']['output']; /** Archive only the AssetHandler device overlay; the canonical platform device and telemetry are unchanged. Returns false for missing, foreign or already archived IDs. */ archiveIoTDevice: Scalars['Boolean']['output']; /** * Take a conversation out of the Inbox without deleting it (Gmail: remove the * Inbox label; Outlook: move it to Archive). */ archiveMailboxThread: Scalars['Boolean']['output']; /** Archive completed or cancelled maintenance without deleting service history, actual costs or plan anchors. Open records must first be cancelled or completed. Returns false for missing, foreign, active or already archived IDs. */ archiveMaintenanceRecord: Scalars['Boolean']['output']; /** Archive a problem while retaining its root cause and incident references. Returns false for missing, foreign or already archived IDs. */ archiveProblem: Scalars['Boolean']['output']; /** Archive a project */ archiveProject: Project; /** Archive a local provenance registration while retaining the original attestation and chain references. No on-chain change occurs. Returns false for missing, foreign or already archived IDs. */ archiveProvenanceRecord: Scalars['Boolean']['output']; archiveSchedule: ScheduledJob; /** Archive a template */ archiveTemplate: BigConsoleDashboardTemplate; archiveTimeCampusProject: TimeCampusProject; /** Remove one of the caller's applets: it is uninstalled and delisted. */ archiveTimeCampusThirdPartyApplet: Scalars['Boolean']['output']; archiveVault: Vault; /** Archive a vibe */ archiveVibe: Vibe; /** Archive a completed or cancelled work order without deleting its history or replay receipts. Open orders must first be cancelled or completed. Returns false for missing, foreign, active or already archived IDs. */ archiveWorkOrder: Scalars['Boolean']['output']; archiveWorkflow: WorkflowDefinition; /** Archive a workspace (sets status to ARCHIVED) */ archiveWorkspace: Workspace; artActivateLicense: ArtLicense; artAddAsset: ArtAsset; artAddFeedback: ArtFeedback; artAddProductionMember: ArtProductionMember; artAddReference: ArtReference; artAddWorkToCollection: ArtCollection; /** Upload a new immutable revision of a work (auto-increments the version number). */ artAddWorkVersion: ArtWorkVersion; /** * Apply an approval workflow to an open review round. Resolves reviewer * groups and production roles into each stage's assignees and activates the * first step. Allowed only while no stage decision has been recorded. */ artApplyApprovalWorkflow: ArtReviewRound; /** * Save a suggested still as a new COVER asset of the work. The stills that * were not picked are deleted. */ artApplyPosterFrame: ArtAsset; /** Appreciate a published PUBLIC work as the calling actor (idempotent). */ artAppreciateWork: ArtPublicWork; /** Delete a DRAFT, REJECTED or TAKEN_DOWN distribution. */ artArchiveDistribution: Scalars['Boolean']['output']; /** Withdraw a listing permanently. Licences already sold remain valid. */ artArchiveMarketplaceListing: Scalars['Boolean']['output']; artArchivePortfolio: Scalars['Boolean']['output']; artArchiveWork: Scalars['Boolean']['output']; /** Cancel the caller's unpaid order. */ artCancelMarketplaceOrder: ArtMarketplaceOrder; /** * Buy (or claim, if free) a listing as the calling actor. Free licences are * issued immediately; paid ones return the payment handles for the browser. */ artCheckoutMarketplaceListing: ArtMarketplaceCheckout; artCreateApprovalWorkflow: ArtApprovalWorkflow; artCreateCollection: ArtCollection; artCreateDistribution: ArtDistribution; artCreateLicense: ArtLicense; artCreateMarketplaceListing: ArtMarketplaceListing; /** * Creates a portfolio owned by the calling actor. Ownership is always the * caller (@rbac scopeType is "wspace", i.e. any workspace member may call * this) — there is intentionally no way to attribute a new portfolio to a * different actor via this mutation. */ artCreatePortfolio: ArtPortfolio; artCreateProduction: ArtProduction; artCreateProductionTemplate: ArtProductionTemplate; artCreateRelease: ArtRelease; artCreateReviewerGroup: ArtReviewerGroup; artCreateWebhookSubscription: ArtWebhookSubscriptionSecret; artCreateWork: ArtWork; artDeleteApprovalWorkflow: Scalars['Boolean']['output']; artDeleteProductionTemplate: Scalars['Boolean']['output']; artDeleteReviewerGroup: Scalars['Boolean']['output']; artDeleteWebhookSubscription: Scalars['Boolean']['output']; /** * Draft release notes for one version of a work. Returns the draft only; * apply it with artUpdateWorkVersionNotes. */ artDraftVersionNotes: ArtAiDraft; /** * Draft a catalogue summary for a work from its metadata, versions and * assets. Returns the draft only; apply it with artUpdateWork. */ artDraftWorkSummary: ArtAiDraft; /** Follow a portfolio as the calling actor (self-scoped: the follower is the caller). */ artFollowPortfolio: ArtFollow; /** Leave feedback through a secret review link. Public: the link secret is the credential. */ artGuestAddFeedback: ArtGuestFeedback; /** Approve or reject through a secret review link. Public: the link secret is the credential. */ artGuestRecordApproval: ArtGuestApproval; /** * Import a Creative Cloud Library element into a work as a new version. The * element's primary file is imported (up to 25 MB), else its PNG rendition. */ artImportAdobeElement: ArtWorkVersion; artInviteGuestReviewer: ArtReviewGuestInvitation; /** * Invite workspace members (at most 25 per call) to review an existing round that * is not closed. Each new reviewer gets a PENDING approval and an in-app and mobile * push notification; reviewers already on the round are left as they are. Returns * the round's live approvals. */ artInviteReviewers: Array<ArtApproval>; artOpenReviewRound: ArtReviewRound; artPauseMarketplaceListing: ArtMarketplaceListing; /** Issue the canonical manifest for an approval decision, to be signed on the approver's device. */ artPrepareApprovalSignature: ArtSignatureChallenge; /** Make a listing visible to buyers. Its licence must be ACTIVE. */ artPublishMarketplaceListing: ArtMarketplaceListing; artPublishRelease: ArtRelease; /** * Publish a version's image (PNG, JPEG or GIF under 5 MB) to a Creative Cloud * Library as a graphic element. */ artPublishVersionToAdobe: ArtAdobeSync; /** Promote a version to be the work's published current version. */ artPublishWorkVersion: ArtWork; artRecordApproval: ArtApproval; /** * Record that the calling actor viewed a portfolio. Requires read access to the * portfolio. */ artRecordPortfolioView: ArtEngagementReceipt; /** Record the caller's decision on one active stage they are assigned to. */ artRecordStageDecision: ArtReviewRoundStage; /** * Record that the calling actor viewed, played, read or downloaded a work. * Requires read access to the work. */ artRecordWorkEngagement: ArtEngagementReceipt; /** * Count a view of a published PUBLIC work. Repeat views from the same client * within 30 minutes are not counted again. Returns true when the work exists * and is public (whether or not this view was counted). No authentication * required. */ artRecordWorkView: Scalars['Boolean']['output']; /** Register a device public key for signing approvals (bound to the calling actor). */ artRegisterSignerKey: ArtSignerKey; /** Detach the custom domain from a portfolio, freeing the hostname. */ artRemovePortfolioCustomDomain: ArtPortfolio; artRemoveProductionMember: Scalars['Boolean']['output']; artRemoveReference: Scalars['Boolean']['output']; artRemoveWorkFromCollection: ArtCollection; /** Take the release down from every store (immediate if no store received it yet). */ artRequestDistributionTakedown: ArtDistribution; artResolveFeedback: ArtFeedback; /** Reset every stage of a round's workflow and reopen the round after changes were requested. */ artRestartApprovalWorkflow: ArtReviewRound; /** Retry booking the seller's earning for a paid sale of this workspace. */ artRetryMarketplaceEarning: ArtMarketplaceOrder; artRevokeGuestReviewer: ArtReviewGuest; /** Revoke one of the calling actor's signing keys. */ artRevokeSignerKey: ArtSignerKey; /** Generate a new signing secret (GENERIC only). The old secret stops working at once. */ artRotateWebhookSecret: ArtWebhookSubscriptionSecret; /** Send an immediate reminder to the pending assignees of an active stage. */ artSendStageReminder: ArtReviewRoundStage; /** * Attach a custom domain to a portfolio. Returns the portfolio with the TXT * record the creator must publish; the domain stays PENDING until * artVerifyPortfolioCustomDomain finds that record. Replaces any domain * already attached. A domain can belong to only one portfolio. */ artSetPortfolioCustomDomain: ArtPortfolio; /** Set (or clear, with a null workflowId) a production's default approval workflow. */ artSetProductionApprovalWorkflow: ArtProduction; /** Verify a signed manifest and record the signed approval decision with its evidence. */ artSignApproval: ArtApprovalSignature; /** Validate and queue the release for every selected store. */ artSubmitDistribution: ArtDistribution; /** * Queue poster-frame suggestions for a VIDEO asset. While a job for the asset * is queued or running, the same job is returned. Earlier suggestions for the * asset that were never picked are discarded and their stills deleted. Poll * artPosterFrameJob until it is SUCCEEDED or FAILED. */ artSuggestPosterFrames: ArtPosterFrameJob; /** * Settle the caller's order against global-billing. Marks it paid only when * billing reports the payment SUCCEEDED. Safe to repeat. */ artSyncMarketplaceOrder: ArtMarketplaceOrder; /** Send a test event to the endpoint now and return the delivery outcome. */ artTestWebhookSubscription: ArtWebhookDelivery; /** Advance a production through its lifecycle (validated transitions). */ artTransitionProduction: ArtProduction; /** Advance a review round through its lifecycle (validated transitions). */ artTransitionReviewRound: ArtReviewRound; /** * Advance a work through its pre-release review lifecycle (validated * transitions: DRAFT ⇄ IN_REVIEW ⇄ APPROVED). RELEASED is reachable only via * `artPublishWorkVersion` (which ties it to a real published version) and * ARCHIVED only via `artArchiveWork` (which also soft-deletes) — neither is a * valid target status here. */ artTransitionWorkStatus: ArtWork; /** Remove the calling actor's appreciation of a work (idempotent). */ artUnappreciateWork: ArtPublicWork; artUnfollowPortfolio: Scalars['Boolean']['output']; artUnpublishRelease: ArtRelease; /** Replace a workflow template's name, settings and full stage list. */ artUpdateApprovalWorkflow: ArtApprovalWorkflow; artUpdateCollection: ArtCollection; /** Edit a DRAFT or REJECTED distribution. */ artUpdateDistribution: ArtDistribution; artUpdateLicense: ArtLicense; artUpdateMarketplaceListing: ArtMarketplaceListing; artUpdatePortfolio: ArtPortfolio; artUpdateProduction: ArtProduction; artUpdateProductionTemplate: ArtProductionTemplate; artUpdateReviewerGroup: ArtReviewerGroup; artUpdateWebhookSubscription: ArtWebhookSubscription; artUpdateWork: ArtWork; /** Edit a version's label and notes. The revision's file and number never change. */ artUpdateWorkVersionNotes: ArtWorkVersion; /** * Look up the portfolio's ownership TXT record in DNS and record the result. * Once VERIFIED, the domain is provisioned for HTTPS serving: the creator then * points a CNAME record at customDomain.cnameTarget. Domains are also * re-checked in the background, so a removed TXT record moves the domain back * to PENDING and stops serving it. */ artVerifyPortfolioCustomDomain: ArtPortfolio; assignCrewDispatch: CrewDispatch; assignDriverVehicle: MtwDriver; /** Creator-only. Pass memberId: null to unassign (the item's cost reverts to the shared/even split). */ assignGgnomadGroupTripItem: Scalars['Boolean']['output']; assignHealthyBowlConsultant: HealthyBowlConsultantAssignment; /** * Point a membership at a pickup location, or back at home delivery. * * Re-points the member's SCHEDULED boxes too, because those have not happened yet. Boxes already * PACKED, DISPATCHED, DELIVERED or SKIPPED are left exactly as they are — where a box went is a * fact about the past, and a membership change must never rewrite it. */ assignHealthyBowlCsaPickupLocation: CsaMembership; /** Assign a role to an actor */ assignRoleToActor: ActorRoleAssignment; assignRoleToGroup: GroupRoleAssignment; /** * Makes a marketplace provider the shipment's carrier (sets `carrierId`), or clears the carrier when * `providerId` is null. Inactive or unverified providers are allowed; the flags are surfaced so the * operator decides. */ assignShipmentServiceProvider: MtwShipment; assignTag: UniversalTagAssignment; /** * Assign (or upsert) a quota to a workspace after a successful purchase. * If an assignment already exists for (workspaceId, quotaName, subscriptionId), * its limit and metadata are updated rather than creating a duplicate. * * Restricted to billing: `service` actors (global-billing-svc via crossLayerQuery), * or `super_admin` with the plan-assign secret (PLAN_ASSIGN_SECRET, the same secret * billing's assignPlanFree / assignQuotaFree require). Workspace roles are never enough. */ assignWorkspaceQuota: WorkspaceQuotaAssignment; /** * Batch version of assignWorkspaceQuota — upserts all quotas for a workspace in a * single call. All inputs must share the same workspaceId. Returns results in the * same order as the inputs. * * When supersede is true, any active assignment for the same (workspaceId, quotaName) * pair that belongs to a DIFFERENT subscriptionId is deactivated after all upserts * complete. Use this when activating a new plan that replaces a prior one. * * Same caller restriction as assignWorkspaceQuota. */ assignWorkspaceQuotas: Array<WorkspaceQuotaAssignment>; /** Run one GraphQL mutation as the owner of an admin Take-action session the capability names. */ assistantSessionExecute: AssistantSessionRelayResult; athAddDrill: AthDrill; athAddMember: AthMember; /** * BOFF-3571: reads the athlete's recent AthWorkoutLog + AthPerformanceMetric * rows, asks the AI to classify progression/deload/at-risk/maintain, and * records the decision onto the target program as a PROPOSAL, readable at * AthProgram.context.lastAiAdjustment with status "PROPOSED". It changes no * prescribed training load on its own — a coach resolves it via * athOverrideAgentRun. */ athAdjustPlanFromPerformance: AthPlanAdjustment; athArchiveProgram: Scalars['Boolean']['output']; /** Archive (soft-delete) a form. Its submissions and payments are kept. */ athArchiveRegistrationForm: Scalars['Boolean']['output']; athArchiveTeam: Scalars['Boolean']['output']; /** * Assign a program to an athlete or a team (exactly one), or unassign it * (neither). The team, when given, must exist in this workspace; a * cross-workspace id is indistinguishable from an absent one and fails with * NOT_FOUND. Publishes `atheletebridge.program.assigned`. */ athAssignProgram: AthProgram; athBookSession: AthSession; /** * Cancel a SCHEDULED, LIVE or POSTPONED fixture. Cancellation is terminal: a * cancelled fixture can never go LIVE, be rescheduled, or have a result * recorded, and the kickoff sweep never matches it. */ athCancelFixture: AthFixture; athCancelSession: AthSession; /** Tournament check-in (BOFF-5863): mark an ACCEPTED sign-up as arrived at the fixture. */ athCheckInRegistration: AthRegistrationSubmission; /** PUBLISHED -> CLOSED: the share link stops accepting registrations. */ athCloseRegistrationForm: AthRegistrationForm; athCompleteSession: AthSession; /** Family-facing: settle your checkout after the processor sends you back (the processor is the source of truth). */ athConfirmRegistrationCheckout: AthMyRegistration; athConfirmSession: AthSession; /** Create (first call) or resume the club's processor onboarding; returns the hosted onboarding link. */ athConnectPaymentAccount: AthPaymentAccountLink; athCreateProgram: AthProgram; athCreateRegistrationForm: AthRegistrationForm; athCreateTeam: AthTeam; /** * Export audit rows matching the filter as CSV or JSON (capped; the list query * with pagination is the unbounded path). The export itself is audited. */ athExportAuditLogs: AthAuditLogExport; /** * BOFF-3571: the AI decision engine designs a structured multi-week training * program from a live model call and writes it into the real domain * (AthProgram + AthDrill, plus AthSession when generated for a specific * athlete) as a DRAFT — the coach reviews and publishes it via the existing * athTransitionProgram mutation. */ athGenerateProgram: AthGenerateProgramResult; athLogWorkout: AthWorkoutLog; /** * Coach review/override of a prior AI decision (athAdjustPlanFromPerformance * or athGenerateProgram). Recorded as a NEW, append-only AthAgentRun row — * never an edit of the original — and applied onto the program the same way * an AI decision is, resolving its lastAiAdjustment status to "ACCEPTED" when * the coach files the same assessment the AI proposed and "OVERRIDDEN" when * they file a different one. The run must be one that actually concerns this * program, otherwise NOT_FOUND. */ athOverrideAgentRun: AthAgentRunOverride; /** * Postpone a SCHEDULED or LIVE fixture: move it to a new future date/time and * mark it POSTPONED. A postponed fixture drops out of the kickoff sweep — it * never goes LIVE until it is rescheduled back onto the calendar (a * reschedule via athUpdateFixture returns a POSTPONED fixture to SCHEDULED). */ athPostponeFixture: AthFixture; /** DRAFT or CLOSED -> PUBLISHED: the share link starts accepting registrations. */ athPublishRegistrationForm: AthRegistrationForm; /** * Record a final result for a fixture, mark it COMPLETED, and recompute the * competition standings for both teams. */ athRecordFixtureResult: AthFixture; athRecordMetric: AthPerformanceMetric; /** Staff entry of a paper, phone or in-person registration. */ athRecordRegistration: AthRegistrationSubmission; /** Record a fee payment the club received against a submission. */ athRecordRegistrationPayment: AthRegistrationPayment; /** Re-read the connected account's onboarding state from the processor. */ athRefreshPaymentAccount: AthPaymentAccount; /** Record money returned to the payer (full or partial). */ athRefundRegistrationPayment: AthRegistrationPayment; /** * Nudge roster members who have not yet responded (NO_RESPONSE or no row at * all) to a fixture or session. Exactly one of fixtureId / sessionId must be * supplied. This publishes `atheletebridge.availability.reminder_requested` * on the domain event stream; the service's reminder consumer then sends a * push notification to each nudged member's registered AthleteBridge mobile * devices (members without a registered device are counted but receive no * push). Returns the number of members nudged. */ athRemindAvailability: Scalars['Int']['output']; athRemoveDrill: Scalars['Boolean']['output']; athRemoveMember: Scalars['Boolean']['output']; /** Accept or decline a registration (a decision can be changed until withdrawn). */ athReviewRegistrationSubmission: AthRegistrationSubmission; athScheduleFixture: AthFixture; /** * Record (or update) a member's availability response for a fixture or * session. Idempotent per (memberId, fixtureId) / (memberId, sessionId). */ athSetAvailability: AthAvailability; /** * Persist the workspace's default AI provider/model. Must be one of the pairs * returned by `athAiModelCatalog`. */ athSetWorkspaceAiModel: AthWorkspaceAiConfig; /** * BOFF-3573: opt this workspace in to (or out of) the autonomous coaching loop. * When enabled, a scheduled tick periodically re-assesses athletes with recent * training signal and records the result as an AthAgentRun with trigger * SCHEDULED, proposing an adjustment on the athlete's program exactly the way * athAdjustPlanFromPerformance does — never applying one. Enabling it on a * workspace that has never chosen a model also creates the config row with the * catalog's default provider/model. */ athSetWorkspaceAutoPilot: AthWorkspaceAiConfig; /** * Manually start a SCHEDULED fixture: transition it to LIVE. The automatic * kickoff sweep applies the same transition when the fixture's kickoff time * arrives; this mutation is the on-demand path (e.g. an early kickoff). * Only SCHEDULED fixtures can be started — POSTPONED and CANCELLED fixtures * never go LIVE. */ athStartFixture: AthFixture; /** Family-facing: open a processor checkout for the outstanding balance of your own registration. */ athStartRegistrationCheckout: AthRegistrationCheckoutSession; /** Family-facing: submit a registration through a form's share link. */ athSubmitRegistration: AthMyRegistration; /** * Advance a program through its publish lifecycle (validated transitions: * DRAFT -> PUBLISHED -> ARCHIVED). */ athTransitionProgram: AthProgram; athUnarchiveTeam: Scalars['Boolean']['output']; /** Undo a check-in (e.g. the wrong row was scanned). */ athUndoRegistrationCheckIn: AthRegistrationSubmission; /** * Edit a fixture's schedulable details (reschedule). Updating * scheduledAt/kickoffAt moves the automatic SCHEDULED -> LIVE transition to * the new time, and rescheduling a POSTPONED fixture returns it to SCHEDULED * at the new time. CANCELLED and COMPLETED fixtures cannot be edited. Status * cannot be set here — it only changes through the lifecycle mutations. */ athUpdateFixture: AthFixture; athUpdateMember: AthMember; athUpdateProgram: AthProgram; athUpdateRegistrationForm: AthRegistrationForm; athUpdateTeam: AthTeam; /** Void a payment recorded in error (it no longer counts towards the balance). */ athVoidRegistrationPayment: AthRegistrationPayment; /** Family-facing: withdraw your own unpaid, not-yet-reviewed registration. */ athWithdrawMyRegistration: AthMyRegistration; /** * Attach an agent to a vibe. Idempotent: re-attaching the same (vibe, agent) * is a no-op that returns the existing attachment. Workspace mismatch between * vibe and agent is rejected with WORKSPACE_MISMATCH. */ attachAgentToVibe: VibeAgentAttachment; attachCrewCandidateSkill: CrewCandidateSkill; attachCrewSkill: CrewEmployeeSkill; attachEmployeeDocument: CrewEmployeeDocument; /** Attach existing files to a comment (link existing files) */ attachExistingFilesToComment: Array<EntityCommentFile>; /** Attach new files to a comment (upload and attach) */ attachFilesToComment: Array<EntityCommentFile>; /** * Attaches a protection policy to a non-terminal booking at checkout time; * computes protectionFeeAmount = totalPrice * feePercent / 100. Fee * calculation only — no live payment capture. BOFF-10194 — only the traveler * who made the booking may attach protection (BOOKING_OWNER_REQUIRED for the * host, NOT_FOUND for anyone else). */ attachGgnomadProtectionPolicy: GgnomadBooking; attachHealthyBowlCertificateOfOriginFile: CertificateOfOrigin; /** Attach a (VERIFIED) domain to a tunnel. Optionally mark as primary. */ attachTunnelDomain: Tunnel; /** * Purge sessions/tokens/permission-cache for the subject and anonymise the * audit-log trail. With dryRun=true returns counts without mutating. * Audit events are RETAINED (anonymised) for the statutory 7-year window — * reported back via `retainedForLegalReason: "audit-7yr"`. */ authEraseSubject: AuthEraseResult; /** * Export the subject's wspace-auth data: active sessions, tokens (metadata only, * never the secret), cached permissions, and the trailing 7-year audit-log * window of authentication events. */ authExportSubject: Scalars['JSON']['output']; /** * Authenticate a connection with any auth method, using values shaped by that * method's `configSchema`. Generic replacement for the per-auth-type mutations * below, which remain for backwards compatibility. */ authenticateConnection: IntegrationConnection; authenticateWithApiKey: IntegrationConnection; authenticateWithBasicAuth: IntegrationConnection; authenticateWithBearerToken: IntegrationConnection; /** * Authenticate a CUSTOM provider connection (e.g. Google Workspace Admin via * domain-wide delegation) with a configSchema-shaped config object. The full * config is stored inside the encrypted credential payload as token metadata; * the primary secret field (first `secret: true` property in the provider's * configSchema, falling back to the serialized config) is stored as the access * token so token resolution treats the connection as credentialed. */ authenticateWithCustomConfig: IntegrationConnection; /** * Authenticate a SERVICE_ACCOUNT connection (the first-party `burdenoff` provider). * Records a first-party self-delegation (consent) for the reserved system app * `burdenoff_integration_core` via global-auth-svc. No secret is stored — execution * tokens are minted per-call in getConnectionToken. */ authenticateWithServiceAccount: IntegrationConnection; /** * Pair the unambiguous lines automatically: exactly one unmatched transaction of the same amount and * direction inside the date window. Lines with two or more candidates are reported, never guessed. */ autoMatchHealthyBowlStatement: HealthyBowlAutoMatchResult; /** * Run the schedule's fire times between `from` and `to` (at most 1,000, in the past), one after * another under `overlapPolicy` or the schedule's own (BACKFILL ticks). The workspace must have that * many runs left this month; each started run counts one. Needs a cron, calendar or interval * schedule (not an RRULE rule) and fluidgrids.schedule-policies. */ backfillWorkflowSchedule: WorkflowScheduleBackfillResult; /** * Batch create data sinks (at most 50 inputs per call; more is BAD_USER_INPUT). * * Metered against the same `bigconsole.connections.count` cap as `createDataSink`. * The gateway @usage `amountArg` resolves only to a scalar (number/numeric-string) * and has no array-length semantics, so the pre-execution CHECK here covers a * fixed amount of 1 (it blocks a workspace with no remaining slots, or with no * quota assigned). The service then checks the whole batch: it reads the * workspace's plan limit from the activity service and, while holding a * per-workspace lock, counts the active DataSinks. A batch whose new DataSinks * would exceed the limit is refused before anything is written, with * QUOTA_EXHAUSTED (extensions: field, quotaName, quotaBlock, retryable: false, * requested, limitLeft). Inputs that cannot be created (repeated or existing * key, invalid classification) are skipped and do not count. USAGE tracking is * done in the resolver (`trackUsage: false` here) with the actual number * created — symmetric with `batchDeleteDataSinks`, which decrements by the real * deleted count. */ batchCreateDataSinks: Array<DataSink>; /** Batch delete data sinks (soft delete) */ batchDeleteDataSinks: Array<DataSink>; /** Batch update widget positions (for drag-drop grid reordering) */ batchUpdateWidgetPositions: Array<BigConsoleWidget>; beginGgnomadOrderPayment: GgnomadOrderPaymentHandoff; beginKnowledgeBackendMigration: KnowledgeBackendMigration; bookCalendarResource: CalendarResourceBooking; /** * Books a specific slot: a guarded capacity check-and-increment (rejects with * SLOT_FULL when no capacity remains), then the same createGgnomadBooking * path (listing-active gate, billing verification, travel-policy check). * Confirms instantly when the listing's instantBook is true and payment/ * policy checks pass; otherwise lands PENDING pending confirmGgnomadBooking. */ bookGgnomadSlot: GgnomadBooking; bookHousingvistaViewing: HousingVistaViewing; /** Gateway-only visitor bootstrap. The subgraph never verifies visitor tokens. */ bootstrapAssistantWebsiteSession: AssistantWebsiteSessionReceipt; braAcceptVaultInvitation: Scalars['Boolean']['output']; braAcknowledgeInsight: BraInsight; braAcknowledgeVaultDownload: Scalars['Boolean']['output']; braArchiveAccount: Scalars['Boolean']['output']; braArchiveEntity: Scalars['Boolean']['output']; braArchiveGoal: Scalars['Boolean']['output']; braArchiveHousehold: Scalars['Boolean']['output']; braArchiveInsurancePolicy: Scalars['Boolean']['output']; braArchivePortfolio: Scalars['Boolean']['output']; braArchiveVault: Scalars['Boolean']['output']; braArmVault: BraDocumentVault; braAssignAccountEntity: Scalars['Boolean']['output']; braAssignPortfolioEntity: Scalars['Boolean']['output']; braAuthorizeVaultDownload: BraVaultDownloadDecision; braBindVaultFolder: BraDocumentVault; braCheckInVault: BraDocumentVault; /** * Called after Plaid Link update mode succeeds: clears the link's error and * consent-expiry state, marks it ACTIVE and re-syncs it. */ braCompletePlaidReauthentication: BraAggregationSyncResult; /** Register an existing CRM connection only after verifying the caller may use it. */ braConnectMyCrm: BraCrmLink; braCreateAccount: BraAccount; /** Add a categorization rule; it applies to past and future transactions on the next read. */ braCreateCashflowRule: BraCashflowRule; braCreateEntity: BraEntity; braCreateGoal: BraGoal; braCreateHolding: BraHolding; braCreateHousehold: BraHousehold; braCreateInsight: BraInsight; braCreateInsurancePolicy: BraInsurancePolicy; braCreateModelPortfolio: BraModelPortfolio; /** * Creates a Plaid Link token in update mode for an existing link, so the user * re-authenticates the same institution (after ITEM_LOGIN_REQUIRED or a * consent-expiry warning) instead of creating a duplicate link. Throws * NOT_FOUND for a link the caller does not own. */ braCreatePlaidUpdateLinkToken: BraPlaidLinkToken; braCreatePortfolio: BraPortfolio; braCreateRebalanceProposal: BraRebalanceProposal; braCreateScheduledReport: BraScheduledReport; /** Record a tax lot against a holding the actor can see. */ braCreateTaxLot: BraTaxLot; /** Creates a trade-instruction RECOMMENDATION only — never executes anything. */ braCreateTradeInstruction: BraTradeInstruction; braCreateVault: BraDocumentVault; /** Delete one of the caller's budgets, or a household budget when householdId is given. */ braDeleteBudget: Scalars['Boolean']['output']; /** Delete one of the caller's categorization rules, or a household rule when householdId is given. */ braDeleteCashflowRule: Scalars['Boolean']['output']; braDeleteHolding: Scalars['Boolean']['output']; braDeleteTaxLot: Scalars['Boolean']['output']; /** * Forces a re-scan of the actor's transaction ledger and returns the * resulting patterns. Today, `braListRecurringPatterns` already recomputes * on every call (patterns are not persisted), so this mutation exists for * API symmetry and to allow future persistence without a schema change. */ braDetectRecurringPatterns: BraRecurringPatternConnection; braDisarmVault: BraDocumentVault; /** Remove this advisor's retained CRM data without revoking the shared connection. */ braDisconnectMyCrm: Scalars['Boolean']['output']; braDismissInsight: BraInsight; /** * Draft rebalance proposals from OPEN DRIFT / REBALANCE_DUE insights, at DRAFT * only, with implied trades, rationale and tax considerations pre-filled from * the portfolio's linked model (or own target allocation) and live holdings. * Idempotent per source insight and bounded by the monthly proposal quota. * * Gated by the `brainyrich.autonomous-advisory` workspace flag, which defaults * OFF — a workspace opts in before any automated advisory output is generated. */ braDraftRebalanceProposalsFromDrift: BraDraftRebalanceProposalsFromDriftResult; /** Registers/updates the calling actor's own roster row. The very first row in a workspace self-registers as FIRM_ADMIN; every row after that must be invited by an existing FIRM_ADMIN (userId set to someone else). A new row takes one brainyrich.advisor_seats.count seat and is refused with QUOTA_EXHAUSTED when the plan's seats are all ACTIVE. */ braEnsureAdvisorProfile: BraAdvisor; /** * Exchanges a real Plaid Link `public_token` for an access token (real * `/item/public_token/exchange` call), creates the BraAggregationLink, and * performs an initial sync of the linked institution's accounts + * transactions into BraAccount/BraTransaction. */ braExchangePlaidPublicToken: BraAggregationSyncResult; /** * BOFF-4547: asks an LLM (be-sdk LLMRouter, same provider-fallback wrapper as * `braPortfolioRiskSummary`) to synthesize the CALLER'S OWN real financial * snapshot (active accounts, goals + projection states, open insight queue) * into narrative advice, and persists each validated narrative as a * `BraInsight` of type `AI_NARRATIVE` (subject: the caller's workspace). * * FAILS CLEAR: when no LLM provider key is configured, returns * `generated: false` with a human-readable `reason` and an empty `insights` * list — no rows are created and nothing throws. Dedupe: an OPEN * `AI_NARRATIVE` insight with the same title is updated in place rather than * duplicated, and the `brainyrich.insights.retained` quota is enforced for * genuinely new rows. */ braGenerateAiInsights: BraAiInsightsResult; /** Generates a report run right now (the same real render path a due schedule uses) and dispatches a real in-app 'report ready' notification. */ braGenerateReportNow: BraReportRun; /** Computes the signals above and persists/updates them as BraInsight rows (idempotent — re-running updates the existing OPEN insight of the same kind rather than duplicating it). Subject to the brainyrich.insights.retained quota for genuinely new rows. */ braGenerateRiskInsights: Array<BraInsight>; /** Computes tax-loss-harvesting opportunities and persists/updates them as BraInsight rows (type TAX_OPPORTUNITY, idempotent per symbol). Subject to the brainyrich.insights.retained quota for genuinely new rows. */ braHarvestTaxLossInsights: Array<BraInsight>; braInviteVaultRecipient: BraDocumentVault; braLinkGoalFunding: BraGoalFunding; braPauseScheduledReport: BraScheduledReport; braPinVaultDocument: Scalars['Boolean']['output']; /** Recompute and persist a goal's projection from its funded value vs. target. */ braRecalcGoalProjection: BraGoal; braRecordTransaction: BraTransaction; /** Refreshes every holding's lastPrice in one account from real live quotes. Never fails wholesale on one bad symbol. */ braRefreshHoldingPrices: BraHoldingPriceRefreshResult; braRemoveVaultDocument: Scalars['Boolean']['output']; braResolveInsight: BraInsight; braResumeScheduledReport: BraScheduledReport; /** A human advisor marking an instruction reviewed. status must be ACKNOWLEDGED or DISMISSED — there is deliberately no execute transition. */ braReviewTradeInstruction: BraTradeInstruction; /** Revokes the link (real Plaid /item/remove call) and closes its synced accounts. */ braRevokeAggregationLink: Scalars['Boolean']['output']; /** Emergency revocation is allowed in every phase and invalidates pending recipient leases. */ braRevokeVaultRecipient: Scalars['Boolean']['output']; braSetAccountFee: BraAccount; /** Change an existing advisor's role. FIRM_ADMIN only. */ braSetAdvisorRole: BraAdvisor; /** Activate or deactivate an advisor on the firm roster. FIRM_ADMIN only. INACTIVE frees the advisor's seat; ACTIVE takes one and is refused with QUOTA_EXHAUSTED when no seat is free. The last ACTIVE FIRM_ADMIN cannot be deactivated. */ braSetAdvisorStatus: BraAdvisor; /** Create or replace the caller's monthly budget for a spending category. */ braSetBudget: BraBudget; /** Saves the caller's base-currency preference for future braNetWorthSummary calls. */ braSetFxBaseCurrency: BraFxPreference; braSetHoldingExpenseRatio: BraHolding; /** Re-syncs accounts + transactions for an existing link via Plaid's real /accounts/get and /transactions/sync endpoints. */ braSyncAggregationLink: BraAggregationSyncResult; /** Import all CRM account, contact, and task pages atomically, with bounded resource use. */ braSyncMyCrm: BraCrmLink; /** * Advance a rebalance proposal through its review lifecycle (validated * transitions). Every transition is recorded in the proposal's audit trail * together with the optional note. * * Human actors only: the gateway bypasses RBAC for service/app actors, so the * refusal is enforced here — an autonomous actor can draft proposals * (braDraftRebalanceProposalsFromDrift) but can never advance one past DRAFT * (BOFF-3740). */ braTransitionRebalanceProposal: BraRebalanceProposal; braUnlinkGoalFunding: Scalars['Boolean']['output']; braUpdateAccount: BraAccount; braUpdateEntity: BraEntity; braUpdateGoal: BraGoal; braUpdateHolding: BraHolding; braUpdateHousehold: BraHousehold; braUpdateInsurancePolicy: BraInsurancePolicy; braUpdateModelPortfolio: BraModelPortfolio; braUpdatePortfolio: BraPortfolio; braUpdateTaxLot: BraTaxLot; braUpsertMyAdvisorBranding: BraAdvisorBranding; /** * Download a pinned document version under a currently valid BrainyRich vault * grant. Requires the dedicated vault-recipient permission, not ordinary file * access. Existing file permissions are unchanged; URLs expire within 60 seconds. */ brainyrichVaultDocumentDownloadUrl: Scalars['String']['output']; buiAcknowledgeCourseKnowledgeChange: Scalars['Boolean']['output']; /** * Admin Q&A grounded in real workspace course/enrollment stats. Never * executes anything; may return `proposedActions` for the admin to confirm * (BOFF-9687). Restricted to EDITOR+ (same viewerDefault:false shape as * `buildmyiq-tutor:list`) — this is an operator surface, not a learner one. */ buiAdminCopilotAsk: BuiAdminCopilotAnswer; /** Dismiss a proposal without running it. Only its proposer can dismiss it. */ buiAdminCopilotDismissAction: BuiAdminCopilotProposedAction; /** * Confirm and run a CONFIGURE_AUTOMATION proposal (BOFF-9888): saves the * proposed settings and turns the automation on or off through the same path * as `buiConfigureAutomation`, which it is gated like. The settings are * re-validated when confirmed (courses must still be published). */ buiAdminCopilotExecuteAutomationAction: BuiAdminCopilotExecution; /** * Confirm and run an ENROLL_LEARNERS proposal. Gated like `buiEnroll`. * Enrolls only learners from the confirmed snapshot who are still eligible; * each enrollment is recorded against `buildmyiq.enrollments.monthly`. * Only the admin whose question produced the proposal can confirm it. */ buiAdminCopilotExecuteEnrollAction: BuiAdminCopilotExecution; /** * Confirm and run a SEND_REMINDER proposal: one in-app notification per * learner with an unfinished enrollment from the confirmed snapshot. Gated * like `buiTransitionEnrollment` (acting on learners' enrollments). */ buiAdminCopilotExecuteReminderAction: BuiAdminCopilotExecution; /** * Confirm and run an EXPORT_REPORT proposal; the CSV is returned in * `reportCsv`. Gated like `buiListEnrollments`. */ buiAdminCopilotExecuteReportAction: BuiAdminCopilotExecution; buiAdvanceCatalogSync: BuiCatalogSyncRun; buiAdvanceCourseKnowledgeCapture: BuiCourseKnowledgeCaptureStep; /** * Creates a DRAFT assessment plus its questions from an educator-reviewed * draft. All questions are validated first, so an invalid draft writes * nothing. Publishing still requires `buiPublishAssessment`. */ buiApplyAssessmentDraft: BuiAssessment; /** * Creates a real DRAFT `BuiCourse` + its modules/lessons from a * (possibly-instructor-edited) outline. The course is left in DRAFT status — * publishing still requires the existing `buiPublishCourse` — so this can * never surface unreviewed AI content to learners. */ buiApplyCourseOutline: BuiCourse; /** * Archive an assessment (soft-delete) and release its reusable * `buildmyiq.assessments.count` quota slot so the workspace can create a * replacement without hitting the plan limit. */ buiArchiveAssessment: Scalars['Boolean']['output']; /** Stop awarding a badge. Existing awards stay valid. */ buiArchiveBadge: BuiBadge; buiArchiveCourse: Scalars['Boolean']['output']; /** Hide an object from insertion. Existing course copies are unaffected. */ buiArchiveLearningObject: BuiLearningObject; /** * Archive a skill from the active workspace catalog without deleting historical links. * Returns true for an archived skill in this workspace, including an exact retry. * Returns false for a missing or foreign skill. */ buiArchiveSkill: Scalars['Boolean']['output']; /** * Validate an uploaded .h5p package and attach it to an INTERACTIVE lesson, * replacing any package already attached. Rejected packages return * BAD_USER_INPUT with the reason and extensions.validationCode. */ buiAttachInteractivePackage: BuiInteractivePackage; /** * Validate an uploaded SCORM 1.2 or 2004 ZIP and attach it to an INTERACTIVE * lesson, replacing any SCORM package already attached. Rejected packages * return BAD_USER_INPUT with the reason and extensions.validationCode. */ buiAttachScormPackage: BuiScormPackage; /** * Deterministically grades a submission whose assessment is entirely * objective questions (SINGLE_CHOICE / MULTIPLE_CHOICE / TRUE_FALSE) by * comparing learner answers to each question's answerKey — no LLM, no human * judgement. Throws if the assessment contains any SHORT_ANSWER/ESSAY/CODE * question; use `buiGradeSubmission` for those instead. */ buiAutoScoreSubmission: BuiSubmission; /** * Award a badge to a learner. Idempotent: awarding a badge the learner * already holds returns the existing award, and awarding a revoked one * reinstates it. */ buiAwardBadge: BuiBadgeAward; buiCancelCatalogSync: BuiCatalogSyncRun; buiCaptureCourseKnowledgeSnapshot: BuiCourseKnowledgeSnapshot; /** * Commit data model values from the SCORM player for one item of the caller's * own enrollment. Values are validated against the package's SCORM version; * the lesson completes when every item is completed or passed. */ buiCommitMyScormRuntime: BuiScormCommitResult; /** * Deep Linking 2.0 handoff: an instructor picks a BuiAssessment to embed as * a graded activity in the platform course. Only committed on the platform * side once the FE auto-posts the returned JWT — this call itself never * writes any BuildMyIQ course content. */ buiCompleteLtiDeepLink: BuiLtiDeepLinkResult; /** * Resource-link launch handoff: links the authenticated actor to the LTI * subject from the ticket and upserts the resource-link<->assessment mapping. * Type-B self-scoped — identity always comes from the authenticated actor. */ buiCompleteLtiLink: BuiLtiLaunchLinkResult; /** Finish the caller's enrollment after all course lessons are complete. */ buiCompleteMyEnrollment: BuiEnrollment; /** * Save an automation's settings and turn it on or off. Turning it on creates * (or updates) and activates its FluidGrids workflow; turning it off * deactivates the workflow, which also pauses its schedule. */ buiConfigureAutomation: BuiAutomation; buiConfigureCourseAssistant: BuiCourseAssistantBinding; /** * Opt the workspace in or out of the autonomous early-warning loop and save * its settings. Enabling provisions (or updates) and activates the FluidGrids * workflow that owns the nightly schedule; disabling deactivates it. Off by * default — no workspace runs autonomous AI without this opt-in. */ buiConfigureEarlyWarning: BuiEarlyWarning; /** Save the workspace's LRS endpoint and HTTP Basic credentials (the password is stored encrypted). */ buiConfigureXapiLrs: BuiXapiLrsConfig; buiCreateAssessment: BuiAssessment; buiCreateBadge: BuiBadge; buiCreateCatalogConnector: BuiCatalogConnector; buiCreateCohort: BuiCohort; buiCreateCourse: BuiCourse; buiCreateLesson: BuiLesson; buiCreateModule: BuiModule; buiCreateQuestion: BuiQuestion; buiCreateSkill: BuiSkill; /** Workspace admin deactivates a platform — existing links are kept for audit, new launches are rejected. */ buiDeactivateLtiPlatform: Scalars['Boolean']['output']; buiDeferCourseKnowledgeChange: Scalars['Boolean']['output']; buiDeleteCatalogConnector: Scalars['Boolean']['output']; /** Send queued statements to the LRS now instead of waiting for the background delivery. */ buiDeliverXapiStatements: BuiXapiDeliveryRun; /** Detach the interactive package from a lesson. Past attempts are kept. */ buiDetachInteractivePackage: Scalars['Boolean']['output']; /** Detach the SCORM package from a lesson. Learner run-time data is kept. */ buiDetachScormPackage: Scalars['Boolean']['output']; buiDisableCourseAssistant: Scalars['Boolean']['output']; /** Assign a specific workspace member to a course; learners use buiEnrollSelf. */ buiEnroll: BuiEnrollment; /** Enroll the authenticated learner without accepting a learner identity. */ buiEnrollSelf: BuiEnrollment; /** * Export a course with its modules, lessons and quizzes (including answer * keys, so it needs course authoring permission). */ buiExportCourse: BuiMigrationExport; /** Export a course's gradebook (enrollments, progress and quiz scores) as CSV. */ buiExportCourseGradebook: BuiMigrationExport; /** Export every statement recorded for a course as xAPI JSON. */ buiExportCourseXapiStatements: BuiXapiExport; /** Export the lesson's activity as a portable .h5p package. It contains the answer key. */ buiExportInteractiveActivity: BuiInteractiveExport; buiFailCourseKnowledgeChange: Scalars['Boolean']['output']; buiGradeSubmission: BuiSubmission; /** * Import an uploaded Common Cartridge package or Moodle backup as a new DRAFT course with its * modules, lessons and quizzes. Counts against the course and assessment * plan quotas. Records a migration job either way. Media files the lessons * use are then uploaded to Files in the background (see the job's `media`). */ buiImportCourse: BuiCourseImportResult; /** * Write the grades of an uploaded gradebook CSV as graded submissions of the * course's assessments. A re-import updates the grades it wrote earlier. * Records a migration job either way. */ buiImportGradebook: BuiGradebookImportResult; /** * Enroll the learners of an uploaded roster CSV in the mapped courses and * link their SIS ids / logins for later imports. Counts against the monthly * enrollment quota. Records a migration job either way. */ buiImportRoster: BuiRosterImportResult; /** * Copy a repository version into a course: a lesson (optionally into a * module) or an assessment with its questions and rubrics, in one * transaction. Inserting an assessment uses an assessment quota slot. */ buiInsertLearningObject: BuiInsertLearningObjectResult; buiIssueCertificate: BuiCertificate; /** * Load the onboarding demo content (sample course with modules, lessons, a graded * assessment, a skill and a cohort) and enroll the caller in it. Idempotent. */ buiLoadDemoContent: BuiDemoContentResult; /** Score an author's preview of an interactive lesson. Nothing is recorded. */ buiPreviewInteractiveAttempt: BuiInteractiveAttemptResult; buiPublishAssessment: BuiAssessment; /** Publish a course through its authoring lifecycle (validated transitions). */ buiPublishCourse: BuiCourse; /** * Publish the current content of a lesson or assessment as the object's next * version. Existing course copies keep the version they were made from. */ buiPublishLearningObjectVersion: BuiLearningObject; buiReconcileCourseSourceChanges: BuiCourseSourceCheckReceipt; buiRecordLessonProgress: BuiLessonProgress; /** Record progress only for the caller's active enrollment and a lesson in that course. */ buiRecordMyLessonProgress: BuiLessonProgress; /** * BOFF-9690: records a batch (max 50) of signal episodes the learner's * browser observed during an APPROVED, unexpired proctored attempt. * Owner-scoped like `buiReportProctoringViolation` (a learner can only write * to their OWN session). Lockdown signals also increment `violationCount`; AI * signals require the assessment's `aiProctoringEnabled` and the learner's * recorded consent. Never changes `status`. */ buiRecordProctoringSignals: BuiProctoringSession; /** Workspace admin registers a new LMS platform to launch into this tool. */ buiRegisterLtiPlatform: BuiLtiPlatform; /** Remove the onboarding demo content. Returns false when none is loaded. */ buiRemoveDemoContent: Scalars['Boolean']['output']; /** Remove the LRS settings and credentials. Queued statements are kept as STORED. */ buiRemoveXapiLrs: Scalars['Boolean']['output']; /** * Records a best-effort browser-lockdown violation (tab-hidden/blur) the * client observed during a proctored attempt. Owner-scoped, same as * `buiSubmitProctoringIdentity` — never changes `status` on its own. */ buiReportProctoringViolation: BuiProctoringSession; /** Re-open an archived badge for awarding. */ buiRestoreBadge: BuiBadge; buiRestoreLearningObject: BuiLearningObject; buiRetryCourseAssistantDelivery?: Maybe<BuiCourseAssistantTurn>; /** Queue FAILED statements (optionally one course's) for delivery again. Returns how many were queued. */ buiRetryFailedXapiStatements: Scalars['Int']['output']; /** * Educator marks a previously generated grading suggestion ACCEPTED or * REJECTED (never PENDING — rejected as invalid input) so the * suggestion->acceptance rate is measurable. Gated identically to * `buiSuggestGrade`/`buiGradeSubmission`. */ buiReviewGradeSuggestion: BuiGradeSuggestion; /** * Learner marks a previously generated next-lesson suggestion ACCEPTED or * REJECTED. Type-B self-scoped, mirrors `buiSuggestNextLesson`. */ buiReviewNextLessonSuggestion: BuiNextLessonSuggestion; /** * BOFF-4431 (3/3): instructor/admin reviews an UNDER_REVIEW session and * approves or rejects it. Only an APPROVED, unexpired session satisfies the * `requiresProctoring` gate on `buiSubmitAssessment`. Gated on the review-queue * permission (`list`), not `update`: every learner holds `update` so they can * submit their own identity, and must not be able to approve someone else's. */ buiReviewProctoringSession: BuiProctoringSession; /** * Educator override of one AI tutor answer (BOFF-9663): annotate, correct, * redact, or clear a previous review. The original answer is never * overwritten; each action is appended to the answer's review history. * Restricted to EDITOR+ via wspace-rbac-svc action-catalog * `buildmyiq-tutor:update` (viewerDefault: false), so learners cannot alter * answers. Later tutor turns in the same session see the reviewed version. */ buiReviewTutorAnswer: BuiTutorMessage; buiRevokeBadgeAward: BuiBadgeAward; buiRevokeCertificate: BuiCertificate; /** Run a scheduled automation now (the overdue sweep) instead of waiting for its schedule. */ buiRunAutomationNow: BuiAutomationRun; /** Run the early-warning sweep now instead of waiting for the nightly schedule. */ buiRunEarlyWarningSweep: BuiEarlyWarningRun; /** * Save a published course for later on the caller's own list. Idempotent: * saving a course that is already saved returns the existing entry. */ buiSaveCourse: BuiSavedCourse; /** * Create or edit the activity of an INTERACTIVE lesson in the browser. The * draft is validated with the same rules and limits as an uploaded package. * Editing an imported package keeps its original file id. Rejected drafts * return BAD_USER_INPUT with the reason and extensions.validationCode. */ buiSaveInteractiveActivity: BuiInteractivePackage; /** Save a lesson or assessment to the repository as version 1 of a new object. */ buiSaveToRepository: BuiLearningObject; buiSetCatalogItemSkills: BuiExternalCatalogItem; buiSetCatalogPublication: BuiExternalCatalogItem; /** * Set or clear an enrollment's due date (BOFF-9688). A due date in the past * makes the enrollment overdue; changing it re-arms the overdue reminder. */ buiSetEnrollmentDueDate: BuiEnrollment; /** Change the pass mark of a lesson's interactive package. */ buiSetInteractivePassMark: BuiInteractivePackage; /** * BOFF-4429: replaces the FULL set of grading-rubric criteria for a * question (delete-then-recreate semantics — simplest correct CRUD for an * ordered, small list an instructor edits as a whole in the authoring UI). * Pass an empty array to clear the rubric back to holistic grading. */ buiSetRubricCriteria: Array<BuiRubricCriterion>; buiStartCatalogSync: BuiCatalogSyncRun; buiStartCourseAssistantTurn: BuiCourseAssistantHandle; /** * BOFF-4431 (1/3): a learner begins a proctored attempt at a * `requiresProctoring` assessment. Creates a PENDING session scoped to the * calling actor (never a client-suppliable learnerId) with a 4-hour * expiry — `buiSubmitAssessment` will refuse to accept an attempt on this * assessment until the session reaches APPROVED. */ buiStartProctoringSession: BuiProctoringSession; buiSubmitAssessment: BuiSubmission; /** * Submit the caller's responses to an interactive lesson in their own * enrollment. The attempt is scored on the server and recorded with an xAPI * statement; a passing attempt completes the lesson. */ buiSubmitMyInteractiveAttempt: BuiInteractiveAttemptResult; /** * Type-A self write: record the caller's path-finder answers on their learner * profile and stamp `pathFinderCompletedAt`. Read `buiRecommendPaths` * afterwards for the resulting recommendations. */ buiSubmitPathFinder: BuiLearnerProfile; /** * BOFF-4431 (2/3): the learner submits their identity photo/ID and * acknowledges the browser-lockdown terms, moving the session to * UNDER_REVIEW for an instructor to decide. Owner-scoped — a learner can * only submit to their OWN session (see resolver). */ buiSubmitProctoringIdentity: BuiProctoringSession; /** * AI-drafted assessment questions grounded in the course (or one lesson's) * real content. Ephemeral suggestion: nothing is written until the educator * calls `buiApplyAssessmentDraft`. */ buiSuggestAssessmentDraft: BuiAssessmentDraftSuggestion; /** * AI-drafted course outline from a topic description — an ephemeral * suggestion (not persisted), reviewed/edited by the instructor before * `buiApplyCourseOutline` creates anything real. Honest fail-clear with no * LLM key configured (mirrors `buiSuggestGrade`). */ buiSuggestCourseOutline: BuiCourseOutlineSuggestion; /** * Grading assistance: proposes a score + rubric-anchored per-question * feedback for a submission's open-ended questions, via the same LLM * provider chain the AI tutor uses. Reads each open-ended question's * server-side-only `answerKey`/`explanation` as grading context — never * exposed to learners. * * NEVER writes `BuiSubmission.score`/`passed`/`feedback` — the proposal is * persisted as a `BuiAiSuggestion` (kind: GRADE, outcome: PENDING) for * educator review; committing a grade still requires the existing * `buiGradeSubmission`. Gated identically to that mutation — an actor who * can AI-draft a grade must also be allowed to actually grade. */ buiSuggestGrade: BuiGradeSuggestion; /** * Adaptive sequencing: decides the calling learner's next lesson from their * own `BuiLessonProgress` trail across the enrolled course's lesson * sequence, plus a pacing hint derived from recent graded `BuiSubmission` * scores in that course (same 3-bucket mastery signal the AI tutor uses, * see `IntelligenceService.computeMasteryBucket`). Deterministic — a * curriculum-order "resume where you left off" walk, not an LLM call (see * `IntelligenceService` doc comment for why this pass scoped it that way). * * Persists a `BuiAiSuggestion` (kind: NEXT_LESSON) so the decision is * auditable; never writes `BuiLessonProgress`/`BuiEnrollment` itself. * * Type-B self-scoped: `enrollmentId` is a client arg, but the resolver * owner-filters by the authenticated actor — mirrors `buiMyEnrollment`. */ buiSuggestNextLesson: BuiNextLessonSuggestion; /** * Service-only (BOFF-3134): upsert the canonical certificate mirroring a * source product's certificate. The course must have been synced first. */ buiSyncExternalCertificate: BuiCertificate; /** * Service-only (BOFF-3134): upsert the canonical course mirroring a source * product's course. Returns the canonical BuiCourse. */ buiSyncExternalCourse: BuiCourse; /** * Service-only (BOFF-3134): upsert the canonical enrollment mirroring a source * product's enrollment. The course must have been synced first. */ buiSyncExternalEnrollment: BuiEnrollment; /** * Service-only (BOFF-10464): upsert the canonical lesson mirroring a source * product's lesson. The course must have been synced first. */ buiSyncExternalLesson: BuiLesson; /** * Service-only (BOFF-10464): upsert the canonical lesson progress mirroring a * source product's lesson completion. The enrollment and the lesson must have * been synced first. */ buiSyncExternalLessonProgress: BuiLessonProgress; /** * Real AGS score-publish for one graded submission to the LMS gradebook via * the given resource link's line item. Never re-grades — the submission * must already be graded (`buiGradeSubmission`/`buiAutoScoreSubmission`). */ buiSyncLtiGrade: BuiLtiGradeSync; /** * Names and Role Provisioning Services roster sync: fetches the LMS course * roster for this LTI placement and upserts `BuiLtiContextMembership` rows. */ buiSyncLtiRoster: Array<BuiLtiRosterMember>; /** Check the saved LRS settings: GET /about, then an authenticated statements request. */ buiTestXapiLrs: BuiXapiConnectionCheck; /** Advance an enrollment through its lifecycle (validated transitions). */ buiTransitionEnrollment: BuiEnrollment; /** * Ask the AI tutor a question about a lesson. The answer is grounded in the * lesson's actual content (plus term-overlap-matched sibling lessons in the * same course — see TutorService.retrieveGrounding) — never an ungrounded * chat completion. Identity is always the authenticated actor; a client * cannot ask on another learner's behalf and cannot continue a session it * does not own. */ buiTutorAsk: BuiTutorAskPayload; /** * Remove a course from the caller's own saved list. Idempotent: returns false * when the course was not saved. */ buiUnsaveCourse: Scalars['Boolean']['output']; /** Save the workspace's AI content controls. Admin only. */ buiUpdateAiSettings: BuiAiSettings; buiUpdateBadge: BuiBadge; buiUpdateCatalogConnector: BuiCatalogConnector; buiUpdateCourse: BuiCourse; /** Edit an object's catalogue details (title, description, tags, skills, licence, attribution). */ buiUpdateLearningObject: BuiLearningObject; /** Type-A self write: create or update the caller's own learner profile. */ buiUpdateMyLearnerProfile: BuiLearnerProfile; /** Build the base version's sources with the edited files; with commit, store the bundle and create a version. */ buildWorkflowCode: WorkflowCodeBuildResult; bulkActivateWorkflows: BulkWorkflowActionResult; /** Bulk add items to collection */ bulkAddCollectionItems: BulkAddItemsResponse; bulkArchiveGroups: Scalars['Boolean']['output']; bulkArchiveSchedules: SchedulerBulkOperationResult; /** Bulk assign a role to multiple actors */ bulkAssignRole: Scalars['Int']['output']; bulkAssignTags: Array<UniversalTagAssignment>; /** * Assign N tags across M entities in one round-trip; server applies the * cartesian product (tagIds × targets). Replaces the per-entity loop the * bulk-operations UI used to do client-side. */ bulkAssignTagsToEntities: Array<UniversalTagAssignment>; bulkAssignWorkflowsToProject: BulkWorkflowActionResult; bulkCreateAllocations: Array<ResourceAllocation>; bulkCreateEmailTimeEntries: Array<EmailTimeEntry>; /** * Bulk create invitations for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ bulkCreateInvitations: Array<Invitation>; /** * Bulk-create plaintext secrets in a vault. Used by file upload flows that * parse a local CSV/JSON of secrets — distinct from `importSecrets`, which * consumes a passphrase-encrypted payload from `exportSecrets`. */ bulkCreateSecrets: SecretImportResult; bulkCreateTags: Array<UniversalTag>; /** Bulk delete configurations */ bulkDeleteConfigurations: Scalars['Boolean']['output']; /** Bulk delete files */ bulkDeleteFiles: FileBulkOperationResult; bulkDeleteGroups: Scalars['Boolean']['output']; /** Bulk delete notes */ bulkDeleteNotes: Scalars['Boolean']['output']; bulkDeleteSecrets: Scalars['Boolean']['output']; bulkDeleteTags: Scalars['Boolean']['output']; bulkDeleteTimeEntries: Scalars['Int']['output']; /** Soft-deletes every workflow in the batch (same as the existing single deleteWorkflow). */ bulkDeleteWorkflows: BulkWorkflowActionResult; /** Bulk index files in a folder */ bulkIndexFolderContents: Scalars['Int']['output']; /** Bulk index all files in workspace */ bulkIndexWorkspaceContents: Scalars['Int']['output']; bulkLabelSecrets: Array<Secret>; /** Bulk move files */ bulkMoveFiles: FileBulkOperationResult; bulkMoveSecrets: Array<Secret>; /** Bulk move: pass folderId: null to clear the folder (move to top-level/unfiled). */ bulkMoveWorkflowsToFolder: BulkWorkflowActionResult; bulkPauseSchedules: SchedulerBulkOperationResult; /** Bulk permanently delete files (from trash) */ bulkPermanentlyDeleteFiles: FileBulkOperationResult; /** Bulk permanently delete folders (from trash) */ bulkPermanentlyDeleteFolders: FolderBulkOperationResult; /** Bulk remove items from collection */ bulkRemoveCollectionItems: BulkRemoveItemsResponse; bulkRemoveTagAssignments: Scalars['Boolean']['output']; /** Bulk restart sessions by IDs. */ bulkRestartSessions: BulkSessionResult; bulkResumeSchedules: SchedulerBulkOperationResult; /** Bulk set configurations */ bulkSetConfigurations: Array<Configuration>; /** Bulk stop sessions by IDs. */ bulkStopSessions: BulkSessionResult; /** Adds (does not replace) the given tags on every workflow in the batch. */ bulkTagWorkflows: BulkWorkflowActionResult; /** Bulk terminate (remove) sessions by IDs. */ bulkTerminateSessions: BulkSessionResult; bulkUpdateConversations: BulkConversationOperationPayload; /** Bulk update comments */ bulkUpdateEntityComments: Scalars['Int']['output']; bulkUpdateSchedules: SchedulerBulkOperationResult; /** Bulk update visibility */ bulkUpdateVisibility: FileBulkOperationResult; calculateCrewPayrollRun: CrewPayrollRun; calculateFocusScore: FocusScore; /** * Erase the subject's calendar data. With dryRun=true returns counts. * Subject-only rows (owned calendars, attendee participations, bookings, * reminders, shares granted to subject) PURGED. Multi-attendee events * the subject created have `createdBy` anonymised so other attendees * retain their participation record. */ calendarEraseSubject: CalendarEraseResult; /** * Export the subject's calendar data: owned calendars, events created, * attendee records, bookings, reminders, calendar shares. */ calendarExportSubject: Scalars['JSON']['output']; /** * Forward one request to a leased VM. * INTERNAL: service actors only. */ callDurableWorkerSandbox: DurableWorkerSandboxResponse; callMCPTool: McpToolCallResult; /** Cancel a running action execution */ cancelActionExecution: ActionExecution; /** Cancel a batch download in progress */ cancelBatchDownload: Scalars['Boolean']['output']; /** Cancel a batch job: the runs not reached yet are left as they are. */ cancelBatchOperation: WorkflowBatchJob; cancelBooking: Booking; /** Withdraw your own pending activation request. */ cancelBotmanorAgentActivationRequest: BotmanorAgentApprovalRequest; /** * Cancel a pending escrow record (e.g. the linked booking was cancelled * before a hold was actually taken). Gated by `crewfoundry-payroll`. */ cancelCrewEscrowRecord: CrewEscrowRecord; cancelCrewOpenShift: CrewOpenShift; cancelCrewShift: CrewShift; cancelEventOccurrence: CalendarEvent; cancelExportJob: ExportJob; /** BOFF-10194 — the traveler who made the booking or the host of its listing may cancel; anyone else gets NOT_FOUND. Operators use operateGgnomadBooking(CANCEL). */ cancelGgnomadBooking: GgnomadBooking; cancelGroupInvitation: Scalars['Boolean']['output']; /** Cancel a PENDING, RUNNING or WAITING run. Cancelled runs are terminal. */ cancelHeadshotmarketingAutomationWorkflowRun: HeadshotmarketingAutomationWorkflowRun; cancelHealthyBowlCsaMembership: CsaMembership; cancelHousingvistaViewing: HousingVistaViewing; cancelHousingvistaViewingSlot: HousingVistaViewingSlot; /** * Cancel an invitation (inviter only). * Workspace scope is read from gateway context (x-workspace-id header). */ cancelInvitation: Invitation; /** * Cancel a contract early. * Cancellation is a decision rather than a date, which is why it is the one contract state that is * stored rather than derived. */ cancelMaintenanceContract: MaintenanceContract; /** Cancellation is available until the provider result is persisted. */ cancelMyAssistantTurn: Scalars['Boolean']['output']; /** Withdraw your own pending swap request (Type B self, owner-filtered). */ cancelMyCrewShiftSwap: CrewShiftSwapRequest; /** Cancel a pending or processing generation. */ cancelPromptGeneration: PromptGeneration; cancelRecurringInstance: Scalars['Boolean']['output']; cancelResourceBooking: CalendarResourceBooking; /** * Ask a running job to stop. The job ends CANCELLED with whatever patch it had so far; a finished * job is returned unchanged. INTERNAL: requires actor type service. */ cancelSandboxAgentJob: SandboxAgentJob; /** Cancel a scheduled comment */ cancelScheduledComment: Scalars['Boolean']['output']; cancelSecurityScan: SecurityScanRun; /** * Cancel a RUNNING supervisor run. The runner observes the cancellation * between detectors and persists no findings, so a cancelled run leaves no * partial predictions behind. */ cancelSupervisorRun: SupervisorRun; /** Withdraw one of the caller's own ACCEPTED focus blocks and delete its calendar hold. */ cancelTimeCampusFocusBlock: TimeCampusFocusBlock; /** * Cancel a workflow generation that is still PROCESSING. The generation is * closed as CANCELLED at once and a model reply that arrives later is * discarded. Only the member who started it can cancel it. */ cancelWorkflowGeneration: WorkflowGeneration; /** Withdraw a pending promotion you requested. */ cancelWorkflowPromotion: WorkflowPromotionRequest; /** Cancel a proposal that is still PROCESSING. */ cancelWorkflowProposal: WorkflowProposal; cancelWorkflowRun: WorkflowRun; /** * cancelWorkflowRun for a run target (parity): a durable-function run records * WORKFLOW_CANCEL_REQUESTED and its code decides, a graph run moves to CANCELLED. Needs * fluidgrids.durable-parity. */ cancelWorkflowRunByTarget: WorkflowRun; /** Sender-side: cancel a pending invite. No-op if already terminal. */ cancelWorkspaceInvite: WorkspaceInvite; /** * Type B self-scoped capture: the calling actor must be the Driver assigned * to `input.deliveryJobId` (resolved via Driver.userId), enforced in the * resolver — never trust `input.deliveryJobId` alone. Marks the delivery job * (and its shipment, if any) DELIVERED. */ captureEpod: MtwProofOfDelivery; /** * Re-categorize an application across the caller's usage records (bulk). * Requires `confirm: true` (BOFF-3894) because it rewrites many records. */ categorizeApplication: Array<ApplicationUsage>; /** * Charges one completed model call against `<productKey>.ai.credits`, priced * server-side and recorded once per (sessionId, messageId). Best-effort: a * pricing or recording failure is returned as SKIPPED, never thrown, because the * answer was already produced. Only a malformed report is rejected. */ chargeAiInvocation: PromptAiCreditCharge; chatWithAgent: ChatResponse; /** * Pre-flight AI-credit gate. Returns true when the caller still has * AI-credit budget. The gateway rejects with 429 QUOTA_EXHAUSTED (via the * @usage check) when the monthly token budget is depleted, so the frontend * blocks the prompt before dispatching it to the sandbox. */ checkAiCredits: Scalars['Boolean']['output']; /** * Pre-flight gate for a product's AI call. Returns the status when the caller * may proceed; refuses with extensions.code QUOTA_EXHAUSTED when the workspace's * `<productKey>.ai.credits` budget is spent. A workspace that is not provisioned * for the quota is not gated. */ checkAiCreditsFor: PromptAiCreditStatus; /** * Pre-flight AI-credit gate. Returns true when the caller still has * AI-credit budget. The gateway rejects with 429 QUOTA_EXHAUSTED (via the * @usage check) when the monthly credit budget is depleted, so the frontend * blocks the prompt before dispatching it to the sandbox. */ checkGovAiCredits: Scalars['Boolean']['output']; checkInAsset: AssetAssignment; checkInAssetByTag: AssetAssignment; /** BOFF-4388 — moves a CONFIRMED booking to CHECKED_IN. Guarded: cannot check in before the booking's scheduled start (checkIn/eventDate), when one is set. BOFF-10194 — host of the listing only (HOST_OR_OPERATOR_REQUIRED for the traveler, NOT_FOUND for anyone else); operators use operateGgnomadBooking. */ checkInGgnomadBooking: GgnomadBooking; /** Geo check-in on the caller's own shift (Type B self, owner-filtered). */ checkInMyCrewShift: CrewShift; /** * QR check-in on the caller's own shift at the scanned site (Type B self: the * shift is resolved among the caller's own shifts only). shiftId narrows the * match; position is optional and only recorded. */ checkInMyCrewShiftByCode: CrewShift; checkInToEvent: EventAttendee; checkOutAsset: AssetAssignment; checkOutAssetByTag: AssetAssignment; /** Geo check-out on the caller's own shift (Type B self, owner-filtered). */ checkOutMyCrewShift: CrewShift; /** * Check health of running sessions by verifying them with their agents. * Updates status of dead sessions. Returns summary of the check. * * This is a WRITE (it marks dead sessions STOPPED), so name the scope: * - `agentId`: only that agent's sessions, and the caller must be able to access * that agent (NOT_FOUND otherwise). An empty id is an unknown agent, never the * workspace-wide check. * - `workspaceWide: true`: every RUNNING/STARTING session in the workspace that * belongs to an agent the caller can access, including agents other than the one * on screen. Send it only from an explicit, confirmed user action. * Giving both, or `workspaceWide: false` without an agent, is rejected (BAD_USER_INPUT). * * DEPRECATED calling form: a call with NO arguments is still accepted for now and * behaves exactly like `workspaceWide: true` (still limited to agents the caller can * access, never another member's private agent), but it is logged and counted as * deprecated and a later release will make the scope required. Clients must pass an * explicit scope, and must never call this on page load. */ checkSessionHealth: SessionHealthCheckResult; /** * Converts every line item in the calling actor's open cart into a real * GgnomadBooking (via the same path createGgnomadBooking uses), applies the * bundle discount proportionally across bookings, optionally redeems loyalty * points for an additional discount, and marks the cart CHECKED_OUT. */ checkoutGgnomadCart: GgnomadCheckoutResult; /** * BOFF-3936 — checks out a trip plan the caller owns as one order: one booking * per item, priced from the listings, with bundle/loyalty discounts and the * workspace tax and service fee split across them. All or nothing; the plan * moves to BOOKED. Creator of the plan only (NOT_FOUND otherwise). */ checkoutGgnomadTripPlan: GgnomadTripPlanCheckoutResult; /** * Start a REAL payment for the farmer-share premium: creates the BillingOrder in global-billing * (idempotent on externalOrderId, and reused on a re-checkout so an abandoned widget never * double-charges), initiates the Payment, and returns the handles to open the provider's checkout * with. Moves the policy DUE → PROCESSING. Does NOT mark anything paid, and writes nothing to the * farm ledger — a ledger row may not outrun the payment it claims to represent. */ checkoutHealthyBowlInsurancePremium: HealthyBowlPremiumCheckout; /** * Start a real payment for an order: creates the BillingOrder in global-billing and initiates the * payment, returning the handles to open the provider's checkout with. Idempotent — re-checking-out * an order reuses its existing BillingOrder rather than double-charging. Does NOT mark anything paid. */ checkoutHealthyBowlOrder: HealthyBowlOrderCheckout; /** Claim one slot of an open shift you are eligible for (self). */ claimCrewOpenShift: CrewShift; /** Clean up expired batch downloads (admin) */ cleanupExpiredBatchDownloads: Scalars['Int']['output']; /** Clean up expired locks for a workspace (admin) */ cleanupExpiredFileLocks: Scalars['Int']['output']; /** Clean up expired upload sessions (admin) */ cleanupExpiredUploadSessions: Scalars['Int']['output']; /** Clean up failed content indexes (admin) */ cleanupFailedContentIndexes: Scalars['Int']['output']; /** * Legacy job queue cleanup, kept for admin tooling. Workflow jobs run on Redis Streams, * which prunes dead-lettered entries automatically, so this deletes nothing and returns a summary. */ cleanupNatsQueues: NatsCleanupSummary; /** Host only: removes every date override from startDate to endDate (inclusive). Returns the calendar for the range. */ clearGgnomadPropertyAvailability: GgnomadPropertyCalendar; /** Clear UI session */ clearUISession: Scalars['Boolean']['output']; cloneAnalyticsDashboard: AnalyticsDashboard; /** Clone a dashboard */ cloneDashboard: BigConsoleDashboard; cloneGroup: Group; cloneReport: Report; cloneSchedule: ScheduledJob; /** Clone an existing resource with a new name */ cloneWorkspaceResource: WorkspaceResource; /** Close an auction: pick the top qualifying bid (>= reservePrice, if set), create the winner Order (paymentStatus PENDING), and mark it closed. Idempotent. */ closeHealthyBowlAuction: Auction; /** * Close the period: stamp its lines reconciled and record the closing balance. * * REFUSED when the difference is non-zero or lines are unmatched, unless `force` is set. That * difference is the omission or duplicate this feature exists to surface; closing over it silently * would launder the very error a reconciliation is for. */ closeHealthyBowlReconciliation: HealthyBowlReconciliationCloseResult; closeMtwContainerCycle: MtwContainerCycle; colAcceptMembership: ColMembership; /** * The guided-interview flow (BOFF-4164): answer one prompt from the story * library and save it as a real ColStory, tagged with which prompt produced * it. Subject to the exact same tree-role/quota/visibility rules as * `colCreateStory`, since that's what this delegates to. */ colAnswerStoryPrompt: ColStory; colArchiveFamilyTree: Scalars['Boolean']['output']; colCreateEvent: ColEvent; colCreateFamilyTree: ColFamilyTree; colCreateMemory: ColMemory; colCreatePerson: ColPerson; colCreateRelationship: ColRelationship; colCreateStory: ColStory; colDeleteEvent: Scalars['Boolean']['output']; colDeleteKeepsakeBook: Scalars['Boolean']['output']; colDeleteMemory: Scalars['Boolean']['output']; colDeletePerson: Scalars['Boolean']['output']; colDeleteRelationship: Scalars['Boolean']['output']; colDeleteStory: Scalars['Boolean']['output']; /** * File a guardian correction/removal request for a minor/dependent relative * (DPDP Act children's-data rights). The caller must either be a verified * guardian of the target person (a GUARDIAN-typed ColRelationship linking * their own linked-user Person to the target) or hold the tree's * OWNER/STEWARD role (filing on the guardian's behalf, e.g. when the * guardian has no platform account yet) — enforced in the service layer, not * by the directive below (this is a create action gated on a relationship * the gateway cannot see, the same "gateway checks auth, resolver checks * ownership" split used throughout this service for tree-scoped writes). */ colFileGuardianRequest: ColGuardianRequest; colGenerateKeepsakeBook: ColKeepsakeBook; /** * Import a GEDCOM 5.5.1 file into this tree (BOFF-4162): parses INDI records * into new ColPerson rows and FAM records into SPOUSE/PARENT ColRelationship * rows. Requires the caller to hold a contributor-or-above role on the tree. * A second import of the same file is NOT de-duplicated — it creates a * second set of people (see GedcomService doc comment for full scope notes). */ colImportGedcom: ColGedcomImportResult; colInviteMember: ColMembership; /** * Heartbeat the caller's presence on a tree while its page is open. At most * one recorded heartbeat per (tree, actor) per 5 s — a call inside the window * is a silent no-op. `typing: true` marks the caller as actively editing; * stop sending it to lapse back (the flag goes stale 8 s after the last * typing heartbeat). Publishes JOINED/TYPING/STOPPED_TYPING only when the * recorded state actually changes. */ colPresenceHeartbeat: Scalars['Boolean']['output']; /** * Leave a tree's presence explicitly (page close/navigation). Idempotent — * leaving a tree the caller was never present on is a no-op returning true. */ colPresenceLeave: Scalars['Boolean']['output']; colRemoveMember: Scalars['Boolean']['output']; colReplaceFamilyTreeTags: Array<ColFamilyTreeTagAssignment>; colReplaceMemoryTags: Array<ColMemoryTagAssignment>; colReplacePersonTags: Array<ColPersonTagAssignment>; colReplaceStoryTags: Array<ColStoryTagAssignment>; /** * Resolve a guardian request. Restricted in the service layer to the tree's * OWNER/STEWARD. Approving a REMOVAL targeting the PERSON record itself * soft-deletes that person (right-to-erasure); every other approval * (CORRECTION, or REMOVAL of a specific memory/story) is recorded as * APPROVED and still requires the steward's normal edit/delete mutation on * the target to actually complete — this mutation never reaches across * domains to silently mutate a memory/story on the caller's behalf. */ colResolveGuardianRequest: ColGuardianRequest; /** * AI family assistant PREVIEW: suggest follow-up interview questions based * on a family member's saved story. Honestly reports `available: false` * when no LLM provider is configured, rather than failing the mutation. */ colSuggestFollowupQuestions: ColAssistantSuggestionResult; /** * AI family assistant PREVIEW: suggest a caption for an uploaded photo/memory * based on its saved title, place, and date. */ colSuggestPhotoCaption: ColAssistantSuggestionResult; colTagFamilyTree: ColFamilyTreeTagAssignment; colTagMemory: ColMemoryTagAssignment; colTagPerson: ColPersonTagAssignment; colTagStory: ColStoryTagAssignment; colUntagFamilyTree: Scalars['Boolean']['output']; colUntagMemory: Scalars['Boolean']['output']; colUntagPerson: Scalars['Boolean']['output']; colUntagStory: Scalars['Boolean']['output']; colUpdateEvent: ColEvent; colUpdateFamilyTree: ColFamilyTree; /** * Change a member's tree role, linked Person, and/or weekly AI-digest * preference (BOFF-3972 / BOFF-3783). Beyond the workspace-level directive * below, the service layer requires the caller to be an ACTIVE OWNER/STEWARD * of the tree, forbids changing one's own role, and reserves granting or * changing OWNER for tree OWNERs — EXCEPT that any member may change * aiDigestNotifications on their own membership, with no tree role required. */ colUpdateMembership: ColMembership; colUpdateMemory: ColMemory; colUpdatePerson: ColPerson; colUpdateRelationship: ColRelationship; colUpdateStory: ColStory; /** * Hand a box to the member who came for it. The ONLY thing that records a collection. * * Dropping the load at a stand is the box ARRIVING, not being collected — that marks every box * `AWAITING_COLLECTION`. This is the second event, one member at a time, and it is what writes * `DELIVERED` and `collectedAt` for a collected box. * * Refused unless the box is `AWAITING_COLLECTION`: collecting a box still on the farm would record a * handover that did not happen, and collecting one twice would quietly move its collection time. The * error names the state the box is actually in, because "cannot collect" alone says nothing about * what to do next. A HOME_DELIVERY box is refused too — it is handed over at the door, and its route * stop already records that. */ collectHealthyBowlCsaPickupBox: CsaDelivery; comAddComment: ComComment; comArchiveBadge: ComBadge; comArchiveCircle: Scalars['Boolean']['output']; comArchiveCourse: Scalars['Boolean']['output']; comArchiveDigitalProduct: Scalars['Boolean']['output']; comArchiveMembershipTier: Scalars['Boolean']['output']; comArchivePaidEvent: Scalars['Boolean']['output']; /** Award a badge to a circle member by hand (circle moderators). Idempotent. */ comAwardBadge: ComMemberBadge; /** * Block a member. Idempotent: blocking an already-blocked member returns the * existing block. BAD_USER_INPUT when blocking yourself or past the per-member * limit. */ comBlockMember: ComMemberBlock; comCancelChallenge: ComChallenge; /** * Cancel a tip intent the calling member recorded (self-on-owned-resource: * ownership is enforced server-side by tipperId — a non-owner id throws * NOT_FOUND, never FORBIDDEN). */ comCancelTipIntent: Scalars['Boolean']['output']; comClosePoll: ComPoll; /** * Mark a lesson complete for the calling member. Completing the last lesson * completes the enrollment. */ comCompleteCourseLesson: ComCourseEnrollment; /** * Attach the uploaded media to a stopped (or still recording) recording and * mark it READY. Only the stream host, whose browser uploaded the file, may * call this. */ comCompleteLiveStreamRecording: ComLiveStreamRecording; comCreateBadge: ComBadge; comCreateChallenge: ComChallenge; comCreateChannel: ComChannel; comCreateCircle: ComCircle; /** * Create a DRAFT course. Takes one comradecircle.courses.count slot * (BOFF-10629); comArchiveCourse, or archiving the circle, frees it. */ comCreateCourse: ComCourse; comCreateCourseLesson: ComCourseLessonContent; comCreateCourseModule: ComCourseModule; comCreateDigitalProduct: ComDigitalProduct; comCreateEvent: ComEvent; comCreateMembershipTier: ComCreatorMembershipTier; comCreatePaidEvent: ComPaidEvent; comCreatePoll: ComPoll; comCreatePost: ComPost; /** Delete one of the caller's subscriptions. */ comDeleteAnalyticsSubscription: Scalars['Boolean']['output']; comDeleteCourseLesson: Scalars['Boolean']['output']; /** Delete a module and every lesson in it. */ comDeleteCourseModule: Scalars['Boolean']['output']; /** * Delete a recording and its stored media. Callable by the host or a circle * moderator/admin/owner. */ comDeleteLiveStreamRecording: ComLiveStreamRecording; /** Drop the calling member's enrollment (progress is kept). */ comDropCourse: ComCourseEnrollment; /** * End a live stream. Callable by the host or by a circle moderator/admin/owner. * Idempotent for an already-ended stream. */ comEndLiveStream: ComLiveStream; /** * End a voice session and mark all remaining participants as left. Callable by * the session starter or by a circle moderator/admin/owner (moderation override). * Idempotent for an already-ended session. */ comEndVoiceSession: ComVoiceSession; /** * Enroll the calling member in a PUBLISHED course of a circle they belong to. * Re-enrolling after dropping keeps earlier progress. */ comEnrollInCourse: ComCourseEnrollment; /** * One-click export of circle content (circles, channels, posts, comments, * reactions, events, RSVPs, polls, options, and votes) for the workspace. */ comExportCircleContent: ComExportJob; /** One-click export of member data (profiles + memberships) for the workspace. */ comExportMemberData: ComExportJob; /** * Report that the host's browser could not record or upload. Only the stream * host may call this. */ comFailLiveStreamRecording: ComLiveStreamRecording; comFollow: ComFeedFollow; /** Join a circle as the calling member (idempotent — re-activates a LEFT membership). */ comJoinCircle: ComMembership; /** * Join a live stream as a viewer. Increments the denormalized viewer count and * publishes a `comLiveStreamUpdated` event. Idempotent for an already-active * viewer. */ comJoinLiveStream: ComLiveStream; /** * Join a channel's voice session as the calling member. Creates the session * if none is ACTIVE yet (the caller becomes its "starter", not an owner — * the session stays alive as long as anyone is in it). Idempotent: re-joining * while already an active participant just returns the current session. */ comJoinVoiceChannel: ComVoiceSession; comLeaveCircle: Scalars['Boolean']['output']; /** * Leave a live stream as a viewer. Decrements the denormalized viewer count and * publishes a `comLiveStreamUpdated` event. */ comLeaveLiveStream: ComLiveStream; /** * Leave the calling member's own active participation in a voice session. * Ends the session once the last participant leaves. */ comLeaveVoiceChannel: Scalars['Boolean']['output']; /** * Presence heartbeat for a live stream, from its host (keeps the stream LIVE) * or from an active viewer (keeps the viewer's seat). */ comLiveStreamHeartbeat: ComLiveStream; /** * Issue a short-lived SFU room token for an SFU-mode live stream: the host * may publish; an active viewer may only subscribe. */ comLiveStreamRoomToken: ComSfuRoomToken; comMuteFollow: ComFeedFollow; /** Toggle a typed reaction on a comment for the calling member (idempotent add/remove). */ comReactToComment: ComComment; /** Toggle a typed reaction on a post for the calling member (idempotent add/remove). */ comReactToPost: ComPost; /** * Record an intent to tip a creator. Calculation/record only — no payment is * captured. The calling member is always the tipper (never a client-supplied * id); tipping yourself is rejected. */ comRecordTipIntent: ComTipIntent; /** * Register (or refresh) a native push token for the calling member's current * device. Idempotent on (workspace, member, token) — re-registering the same * token just bumps `lastSeenAt`. */ comRegisterDeviceToken: ComDeviceToken; comRemovePost: Scalars['Boolean']['output']; /** * Reorder the lessons of a module. lessonIds must list every live lesson of * the module exactly once. */ comReorderCourseLessons: Array<ComCourseLesson>; /** Reorder a course's modules. moduleIds must list every live module exactly once. */ comReorderCourseModules: Array<ComCourseModule>; /** * File a report on a post, comment, or member. Any workspace member may call * this — filing a report requires no special privilege. */ comReportContent: ComReport; /** * Resolve or dismiss a report. Requires MODERATOR+ in at least one circle in * the workspace (enforced in the resolver). */ comResolveReport: ComReport; /** * The human gate. UPHOLD leaves the verdict/action as-is; OVERTURN restores * a HIDE-verdict post to PUBLISHED and marks the verdict `overturned: true`. * Requires MODERATOR+ in at least one circle in the workspace. */ comReviewVerdict: ComModerationVerdict; /** RSVP to an event as the calling member (idempotent — updates an existing RSVP). */ comRsvpEvent: ComEventRsvp; /** * Create or update the caller's subscription for a target (one circle, or the * portfolio). Saving the same target again updates it and resumes it if it * was paused. */ comSaveAnalyticsSubscription: ComAnalyticsSubscription; /** * Send the caller a digest for one of their subscriptions now, covering the 7 * (WEEKLY, or no cadence) or 30 (MONTHLY) days ending now. At most one per * subscription per minute. */ comSendAnalyticsReportNow: ComAnalyticsReportDispatch; /** * Relay a WebRTC signaling message between a live stream's host and one of * its active viewers (host -> viewer or viewer -> host only). Enforced in the * resolver. Fire-and-forget: delivered via `comLiveStreamSignal`. */ comSendLiveStreamSignal: Scalars['Boolean']['output']; /** * Relay a WebRTC signaling message (SDP offer/answer, or ICE candidates as * { candidate } or a batch { candidates: [...] } of at most 32) from * the calling member to another active participant in the same session. Both * parties must be active participants — enforced in the resolver, not just at * the gateway. Fire-and-forget: delivered via `comVoiceSignal` subscription. */ comSendVoiceSignal: Scalars['Boolean']['output']; /** * Move a course between DRAFT and PUBLISHED. Publishing needs at least one * lesson. Use comArchiveCourse to retire a course. */ comSetCourseStatus: ComCourse; /** Turn gamification on or off for a circle (circle admins). The first enable seeds starter badges. */ comSetGamificationEnabled: ComGamificationSettings; comSetMemberRole: ComMembership; /** Toggle the calling member's own mute state within a session. */ comSetVoiceMute: ComVoiceParticipant; /** * Start a new live stream / stage in a circle. Fails if the circle already has * a LIVE stream (one live stage per circle at a time). The caller becomes the * host. A SCHEDULED stream can be started by its host; this transitions it to * LIVE. */ comStartLiveStream: ComLiveStream; /** * Start recording a LIVE stage. Callable by the host or a circle * moderator/admin/owner. Fails if a recording is already in progress or the * workspace has used its monthly recorded minutes. */ comStartLiveStreamRecording: ComLiveStreamRecording; /** * Stop the recording in progress. Callable by the host or a circle * moderator/admin/owner. The recording moves to UPLOADING until the host's * browser finishes the upload. Idempotent once stopped. */ comStopLiveStreamRecording: ComLiveStreamRecording; /** * Submit the calling member's answers to a QUIZ lesson. Graded server-side; * a pass completes the lesson. Refused once the member has passed or has no * attempts left. */ comSubmitCourseQuiz: ComCourseQuizSubmission; /** * Switch the calling member's voice session to the media server (SFU) before * it reaches the mesh cap, e.g. for a participant on a weak connection. * One-way and idempotent; requires sfuAvailable. Every participant learns of * the switch through comVoiceParticipantsChanged. */ comSwitchVoiceSessionToSfu: ComVoiceSession; /** Advance an event through its lifecycle (scheduled -> live -> completed; cancel from any non-terminal state). */ comTransitionEvent: ComEvent; /** * Manually (re-)triage a post, comment, or membership through the same * engine the event consumer uses. Requires MODERATOR+ in at least one circle * in the workspace (enforced in the resolver, same gate as comReviewVerdict). */ comTriageContent: ComModerationVerdict; /** Remove the calling actor's block on `memberId`. Idempotent. */ comUnblockMember: Scalars['Boolean']['output']; /** Undo a lesson completion for the calling member. */ comUncompleteCourseLesson: ComCourseEnrollment; comUnfollow: Scalars['Boolean']['output']; /** * Unregister a push token for the calling member (e.g. on logout / app * uninstall detection). Always owner-filtered — a member can only ever * remove their own tokens. */ comUnregisterDeviceToken: Scalars['Boolean']['output']; comUpdateChannel: ComChannel; comUpdateCircle: ComCircle; comUpdateCourse: ComCourse; comUpdateCourseLesson: ComCourseLessonContent; comUpdateCourseModule: ComCourseModule; comUpdateDigitalProduct: ComDigitalProduct; comUpdateEvent: ComEvent; comUpdateMembershipTier: ComCreatorMembershipTier; /** * Update the auto-moderation rule for a circle. Creates the default rule if * none exists. Requires ADMIN+ in the circle. * * Input is validated (BAD_USER_INPUT on failure): at most 100 flagged terms * of up to 80 characters, at most 25 spam patterns of up to 120 characters * drawn from a safe regex subset (no backreferences, lookaround, or nested / * overlapping quantifiers), and toxicityThreshold within [0, 1]. Auto-hide is * available for high-confidence spam only: autoHideToxicity and * autoHideHarassment cannot be enabled, because those categories always go * to a human moderator. */ comUpdateModerationRule: ComModerationRule; comUpdatePaidEvent: ComPaidEvent; comUpdatePost: ComPost; /** Create or update the calling member's profile (one per member per workspace). */ comUpsertProfile: ComProfile; /** * Presence heartbeat for the calling member's own participation in a voice * session. Participants that stop heart-beating are reaped as having left. */ comVoiceHeartbeat: ComVoiceSession; /** * Issue a short-lived SFU room token for the calling member's own active * participation in an SFU-mode voice session (publish and subscribe). */ comVoiceRoomToken: ComSfuRoomToken; /** Cast a vote for a poll option as the calling member (one vote per option). */ comVotePoll: ComPollOption; compareMtwFreightInvoice: MtwFreightInvoiceComparison; /** Compile a docs site (creates a new revision and starts async build) */ compileDocsSite: VibecontrolsDocsRevision; completeActionItem: MeetingActionItem; /** Complete an activity that waits for an asynchronous completion, with the task token it handed out. */ completeActivityAsync: Scalars['Boolean']['output']; /** Complete, by its id, an activity that waits for an asynchronous completion. */ completeActivityById: Scalars['Boolean']['output']; /** BOFF-4388 — moves a CHECKED_IN booking to COMPLETED. BOFF-10194 — host of the listing only; operators use operateGgnomadBooking. */ completeGgnomadBooking: GgnomadBooking; completeHealthyBowlGardenCareTask: GardenCareTask; completeMaintenanceRecord: MaintenanceRecord; completeOAuth: IntegrationConnection; completePhysicalAudit: PhysicalAudit; completePomodoroSession: PomodoroSession; /** * Finish an evidence upload after the bytes were PUT. The stored bytes are * checked against the declared size and SHA-256: a match makes the evidence * UPLOADED, a mismatch deletes the stored file and fails the evidence * (BAD_USER_INPUT; presign again). MULTIPART uploads pass every part's ETag. * DIRECT uploads referenced by pushSecurityScanRun's evidenceRefs are completed * by the push itself. */ completeSecurityEvidenceUpload: SecurityEvidence; /** Agent-initiated: finalize a recording once the session ends. */ completeSessionRecording: SessionRecording; /** Complete the upload and finalize the file */ completeUpload: CompleteUploadResponse; completeWorkOrder: WorkOrder; /** * Conclude a RUNNING A/B creative test: freeze the computed winner and the * comparison. pauseLosers pauses the other variants when there is a winner. */ concludeHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest; /** Bind an approved public assistant publication to an existing external channel route. */ configureAssistantChannel: AssistantChannelInstallation; /** Attach managed assistant workflows to an existing scoped agent without editing metadata manually. */ configureAssistantRuntime: AssistantRuntimeConfiguration; configureShipmentStatusSource: MtwShipment; /** * Create or update the calling workspace's supervisor configuration. * Enabling provisions (idempotently) a FluidGrids workflow definition plus a * cron scheduled job owned by wspace-workflow-svc; disabling deletes the * scheduled job. No cron or scheduler lives in this service. */ configureSupervisor: SupervisorConfig; confirmBooking: Booking; /** Host/operator manual confirmation for a PENDING, paid booking on a listing with instantBook: false. */ confirmGgnomadBooking: GgnomadBooking; connectAgentToTarget: AgentConnection; connectExternalCalendar: ExternalCalendarSync; /** * Connect this workspace to a catalog listing. Only AVAILABLE listings with * connectionType WEBHOOK can be connected today — everything else (OAUTH/ * API_KEY listings, which are all currently ROADMAP) requires real platform * developer-account approval this environment does not have. */ connectHeadshotmarketingIntegration: HeadshotmarketingWorkspaceIntegrationConnection; connectHealthyBowlAccountingIntegration: HealthyBowlAccountingIntegration; /** Register a new capture source. Its id is the channelId the source sends when ingesting events. */ connectTimeCampusCaptureChannel: TimeCampusCaptureChannel; /** * Send a natural-language message (with optional current spec + history) to the * conversational agent and receive an updated spec plus a reply. */ conversationalDashboardEdit: ConversationalEditResult; /** * Erase the subject's conversations data in every workspace (called with no * workspace, like the export). With dryRun=true, reports what would change * without mutating. The CONTENT of the subject's AI-assistant history is * purged (messages deleted; each chat reduced to a content-free tombstone that * stops a late save from recreating it), except chats under a legal hold (one * placed while the erase runs included; the hold count is taken after it). In * human conversations message bodies are RETAINED for thread integrity and the * subject's authorship is anonymised; mention / reaction / read-receipt / * poll-vote / call / report / draft records keyed to the subject are deleted. * Reported back via `retainedForLegalReason`: "thread-integrity", plus * "legal-hold" when a hold retained assistant chats and "erasure-tombstones" * when content-free assistant tombstones remain (all joined with "; "). * FAILS (code SERVICE_UNAVAILABLE, i18nKey * privacy.errors.assistantHistoryEraseIncomplete) when any unheld assistant * history still holds content after the erase's passes -- after every other * step has run. Every step is idempotent: run the erase again. */ conversationsEraseSubject: ConversationsEraseResult; /** * Export the subject's conversations data: conversations created (AI-assistant * chats and their tombstones included), messages authored (both sides of each * assistant turn included), conversation memberships, mentions of the subject, * reactions, poll votes, call participations, comment activity, drafts and * assistant-history scopes, across every workspace. Attachments listed by * reference only. Called with no workspace (a DSAR spans all of them). Never a * partial bundle: when any collection cannot be read the export fails * (SERVICE_UNAVAILABLE, naming the collections) and is run again. */ conversationsExportSubject: Scalars['JSON']['output']; /** Convert a lead into a deal */ convertHeadshotmarketingLead: HeadshotmarketingDeal; /** Convert smart collection to manual collection */ convertToManualCollection: Collection; /** Convert manual collection to smart collection */ convertToSmartCollection: Collection; cooAddLookbookEntry: CooLookbookEntry; /** Add a piece to the calling shopper's cart (merges into an existing line for the same variant). */ cooAddToCart: CooCart; /** * Ranked, cited findings about the calling shopper's wardrobe: occasions and * categories it cannot cover, palette colours it lacks, and re-wear signals * (dormant pieces, never-worn pieces, cost-per-wear outliers). */ cooAnalyzeWardrobeGaps: CooWardrobeGapAnalysis; /** Approve a brand storefront that is pending review (PENDING_REVIEW -> PUBLISHED). */ cooApproveBrand: CooBrand; /** * Approve a shopper's return: refunds the brand's pieces of the order to the shopper (reversing * the creator commissions on them) and marks the request APPROVED. Returns the order as the brand * now sees it. */ cooApproveReturnRequest: CooBrandOrder; cooArchiveBrand: Scalars['Boolean']['output']; /** * Soft-delete a collection (sets deletedAt; excluded from list/read/nested * queries thereafter). Mirrors cooArchiveBrand/cooArchiveStyleItem. */ cooArchiveCollection: Scalars['Boolean']['output']; cooArchiveCreatorRateCard: Scalars['Boolean']['output']; cooArchiveResaleListing: Scalars['Boolean']['output']; cooArchiveResaleShop: Scalars['Boolean']['output']; cooArchiveRetailerFeed: Scalars['Boolean']['output']; cooArchiveStyleItem: Scalars['Boolean']['output']; /** * Bulk-import a brand's catalog: creates the brand, its collections, and all * style items in a single transaction. Items are linked to collections by * matching `collectionName`. Enforces the `coolandlovely.styleitems.count` * quota on the total number of items. */ cooBulkImportCatalog: CooBulkCatalogImportResult; /** * Buy a piece listed in the Burdenoff store from any workspace: creates the caller's order for it * and starts its payment through global-billing (charged to the brand as merchant). Settle it with * cooSyncOrderPayment and follow it from cooMyOrders like any order. */ cooBuyStoreListedPiece: CooOrderCheckout; /** Cancel one of the caller's orders that has not been paid. */ cooCancelOrder: CooOrder; /** * Turn the caller's cart into an order and start its payment through global-billing-svc. * The cart is emptied once the order exists; the order stays PENDING_PAYMENT until billing * confirms the payment. */ cooCheckout: CooOrderCheckout; cooClearCart: CooCart; cooCreateArticle: CooEditorialArticle; cooCreateBackInStockAlert: CooPriceAlert; cooCreateBrand: CooBrand; cooCreateCollaboration: CooCollaboration; cooCreateCollection: CooCollection; /** Creates one of at most 20 active offers for this creator in the selected workspace. Offers do not consume collaboration allowance. */ cooCreateCreatorRateCard: CooCreatorRateCard; cooCreateLook: CooLook; cooCreateLookbook: CooLookbook; cooCreatePriceDropAlert: CooPriceAlert; cooCreateRetailerFeed: CooRetailerFeed; cooCreateStyleItem: CooStyleItem; cooCreateWardrobeItem: CooWardrobeItem; /** * Propose which of a brand's DRAFT style items form a coherent story for a * season, flag publish blockers and suggest an order. Advisory only. */ cooCurateCollection: CooCollectionCuration; /** * Decline a shopper's return with a note. The shopper is notified. Returns the order as the brand * now sees it. */ cooDeclineReturnRequest: CooBrandOrder; cooDeleteArticle: Scalars['Boolean']['output']; /** * Soft-delete a collaboration that is still PROPOSED (sets deletedAt; excluded * from list/read queries thereafter). Once a collaboration has moved past * PROPOSED, use cooTransitionCollaboration(CANCELLED) instead — deleting a * collaboration the other party has already acted on would erase real history. */ cooDeleteCollaboration: Scalars['Boolean']['output']; cooDeleteLook: Scalars['Boolean']['output']; /** * Soft-delete a whole lookbook board (sets deletedAt; excluded from list/read * queries thereafter, along with its entries). Distinct from * cooRemoveLookbookEntry, which removes a single clipped item. */ cooDeleteLookbook: Scalars['Boolean']['output']; cooDeletePriceAlert: Scalars['Boolean']['output']; cooDeleteTrendReport: Scalars['Boolean']['output']; /** Mark a style item as featured for curated discovery surfaces. */ cooFeatureStyleItem: CooStyleItem; /** Follow a user as the calling actor (idempotent; cannot follow yourself). */ cooFollow: Scalars['Boolean']['output']; cooGenerateTrendReport: CooTrendReport; cooImportRetailerSnapshot: CooRetailerRefresh; /** Like a published look (idempotent — liking twice has no further effect). */ cooLikeLook: CooLook; /** Log that the shopper wore a wardrobe piece (increments timesWorn). */ cooLogWardrobeWear: CooWardrobeItem; cooMapRetailerOffer: CooMappedRetailerOffer; /** * Pay a published collaboration's agreed compensation as its brand owner, through * global-billing-svc. Re-opening re-uses the current billing order while billing still accepts * payment for it, so it never creates a second charge. */ cooPayCollaborationFee: CooCollaborationPaymentCheckout; /** * Read a brand's catalog from Shopify, WooCommerce or BigCommerce and return it * mapped onto CoolAndLovely brand, collection and style-item shapes, ready to * review and pass to cooBulkImportCatalog. Writes nothing. A mutation (not a * query) because it calls out to the merchant's platform with credentials and * must never be cached or replayed. */ cooPreviewExternalCatalog: CooExternalCatalogPreview; /** Creates an ordinary proposed collaboration with immutable server-selected offer terms. No payment is initiated. */ cooProposeRateCard: CooCollaboration; cooPublishCollection: CooCollection; cooPublishLook: CooLook; cooPublishResaleListing: CooResaleListing; cooPublishTrendReport: CooTrendReport; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — * re-accepting the same (checkpointType, documentVersion) updates the * timestamp/audit fields rather than duplicating the row. */ cooRecordLegalAcceptance: CooLegalAcceptance; cooRefreshRetailerFeed: CooRetailerRefresh; /** * Refund all of the brand's pieces of a paid order to the shopper through global-billing, and * reverse the creator commissions on them, optionally returning the pieces to stock. Idempotent: * refunding again returns the completed refund (restocking it if `restock` is now true); a failed * refund is retried. */ cooRefundBrandOrder: CooBrandOrder; /** Reject a brand storefront back to the owner (PENDING_REVIEW -> DRAFT). */ cooRejectBrand: CooBrand; cooRemoveCartItem: CooCart; cooRemoveLookbookEntry: Scalars['Boolean']['output']; cooRemoveWardrobeItem: Scalars['Boolean']['output']; cooReportResaleListing: CooResaleReportAcknowledgement; /** * Ask for a payout of the calling creator's available commission balance. The request is * queued in global-billing-svc for payout review. */ cooRequestCreatorPayout: CooCreatorPayout; /** * Ask the brand to take back its pieces of one of the caller's paid orders. Only accepted inside * the return window (see CooOrder.returnWindowEndsAt) and before the brand refunded. Idempotent: * asking again returns the open request; a declined request cannot be reopened. */ cooRequestReturn: CooReturnRequest; cooResolveResaleCreateRequest: CooResaleCreateRequestResolution; cooResolveResaleReport: Scalars['Boolean']['output']; /** * Re-open the payment for one of the caller's unpaid orders (for example after closing the * provider's window). Re-uses the order's billing order, so it never creates a second charge. */ cooResumeOrderPayment: CooOrderCheckout; /** Review a brand-creator collaboration and accept, reject, publish, or cancel it. */ cooReviewCollaboration: CooCollaboration; cooReviewResaleListing: Scalars['Boolean']['output']; cooReviewResaleShop: Scalars['Boolean']['output']; cooReviewRetailerFeed: CooRetailerFeed; /** * Save/bookmark a look for later (idempotent). Distinct from liking and from * clipping into a named lookbook via cooAddLookbookEntry. */ cooSaveLook: CooLook; cooSavePriceAlert: CooPriceAlert; /** A create request UUID can be retried safely; it cannot be reused with different initial fields or for an edit. */ cooSaveResaleListing: CooResaleListing; cooSaveResaleShop: CooResaleShop; cooSetArticleStatus: CooEditorialArticle; cooSetCreatorRateCardPublished: CooCreatorRateCard; cooSetRetailerFeedEnabled: CooRetailerFeed; /** * Turn per-variant stock tracking on or off for a style item and set the stock of its variants * (BOFF-9637). With tracking on, checkout reserves stock and the piece's ACTIVE / OUT_OF_STOCK * status follows it. */ cooSetStyleItemInventory: CooStyleItem; cooSubmitResaleListing: CooResaleListing; /** * Rank creators by aesthetic fit with a brand's published catalog and draft a * PROPOSED collaboration brief for each. Advisory only: nothing is created * and no collaboration changes state. */ cooSuggestCollaborationMatch: CooCollaborationMatchResult; /** * Compose a draft outfit for an occasion from the calling shopper's own * wardrobe (size-respecting, palette-aware, backed by real look pairings), * plus optional catalog pieces for any slot the wardrobe cannot fill. Never * saves or publishes anything. */ cooSuggestOutfit: CooOutfitSuggestion; /** * Settle a collaboration fee against global-billing: marks it PAID only when billing reports the * brand's payment SUCCEEDED, then books the creator's earning. Safe to call at any time. */ cooSyncCollaborationPayment: CooCollaborationPayout; /** * Settle one of the caller's orders against global-billing: re-reads the authoritative payment * and marks the order PAID only when billing reports it SUCCEEDED. Safe to call at any time. */ cooSyncOrderPayment: CooOrder; /** * Push a style item's current state to its Burdenoff store catalogue listing now * (BOFF-3430). Listings are kept in sync automatically on every change of the * piece or its brand; use this to re-drive a failed push (storeSyncStatus FAILED). */ cooSyncStyleItemStoreListing: CooStyleItem; /** Advance a brand storefront through its publish lifecycle (validated transitions). */ cooTransitionBrand: CooBrand; /** Advance a collaboration through its lifecycle (validated transitions). */ cooTransitionCollaboration: CooCollaboration; /** Remove the featured mark from a style item. */ cooUnfeatureStyleItem: CooStyleItem; /** Unfollow a user the calling actor currently follows. */ cooUnfollow: Scalars['Boolean']['output']; /** * Undo a previous like (idempotent — unliking a look you haven't liked is a * no-op). */ cooUnlikeLook: CooLook; /** Undo a previous save (idempotent). */ cooUnsaveLook: CooLook; cooUpdateArticle: CooEditorialArticle; cooUpdateBrand: CooBrand; /** Set the quantity of one of the caller's cart lines. A quantity of 0 removes the line. */ cooUpdateCartItem: CooCart; /** * Edit a collaboration's brief/role/compensation/dates/tags while it is still * in flight (PROPOSED, ACCEPTED or IN_PROGRESS). Rejected once the * collaboration has reached a terminal status (PUBLISHED, DECLINED, * CANCELLED) — use cooTransitionCollaboration for status changes. */ cooUpdateCollaboration: CooCollaboration; cooUpdateCollection: CooCollection; cooUpdateCreatorRateCard: CooCreatorRateCard; cooUpdateLook: CooLook; /** * Move the brand's part of a paid order forward (confirmed, shipped with tracking, delivered). * The buyer is notified of every state change. */ cooUpdateOrderFulfilment: CooBrandOrder; /** * global-billing's payment callback, in billing's fixed callback contract (flat arguments and a * { success message } selection). `orderId` is the BillingOrder id billing echoes back, which is * the CoolAndLovely order's billing order id ('coo-order-<order id>'), or a collaboration fee's * billing order id ('coo-collab-<payout id>-<attempt>', BOFF-9637). * * Public (billing has no user token) but carries NO authority: the claimed status and payment are * ignored, and the order is settled only by re-reading the authoritative Payment from * global-billing, the same check cooSyncOrderPayment runs. A caller cannot mark an order PAID. */ cooUpdateOrderPaymentStatus: CooOrderPaymentCallbackResult; cooUpdateStyleItem: CooStyleItem; cooUpdateWardrobeItem: CooWardrobeItem; /** Create or update the calling shopper's style profile (one per workspace). */ cooUpsertStyleProfile: CooStyleProfile; /** Copy file to different folder */ copyFile: File; cosAddRunStep: CosPipelineStep; cosAddSchemaField: CosSchemaField; /** * Draft a release (title, abstract, authors, licence, version, datasets) from a * notebook, its completed analyses and the datasets in its lineage. Writes * nothing; cosCreateRelease and cosPublishRelease stay human actions. */ cosAiDraftRelease: CosReleaseDraft; /** * Propose a schema field per column of a dataset: logical type, unit, * nullability, position and a drafted provenance note. Reads `sample` when * given, else `context.schemaSample` on the dataset, else the columns declared * in the source connector config. Writes nothing. */ cosAiProposeSchemaFields: CosSchemaFieldProposal; /** * Recommend what to do with a finished pipeline run (PROMOTE, * RERUN_WITH_PARAMS, QUARANTINE_DATASET or FLAG_SOURCE_DEGRADED) from its * metrics and ordered step telemetry, with the rationale and evidence. A run * that is still QUEUED or RUNNING returns CONFLICT. Writes nothing. */ cosAiTriageRun: CosRunTriage; /** * Soft-delete a collection (sets deletedAt). Datasets keep their collectionId but * the archived collection no longer lists or resolves. */ cosArchiveCollection: Scalars['Boolean']['output']; cosArchiveDataset: Scalars['Boolean']['output']; cosArchiveNotebook: Scalars['Boolean']['output']; cosArchivePipeline: Scalars['Boolean']['output']; cosArchiveSource: Scalars['Boolean']['output']; cosCancelExternalCompute: CosExternalComputeExecution; /** * Record the terminal outcome of an analysis run (COMPLETED / FAILED). * `results` is free-form JSON. To render a scientific view, include * `results.visualization` (one view) or `results.visualizations` (up to 8) in the * canonical shapes: kind skymap (sources with ra/dec degrees), spectrum or * lightcurve (series of [x, y, err?] points), or scene3d (x/y/z points and paths). * Malformed views are rejected with BAD_USER_INPUT. */ cosCompleteAnalysis: CosAnalysis; /** * Finish one step of a run with its status, outputs, error and the datasets it * produced (`producedDatasetIds`). A step that has already finished returns * CONFLICT. */ cosCompleteRunStep: CosPipelineStep; cosCreateCollection: CosCollection; cosCreateDataset: CosDataset; cosCreateNotebook: CosNotebook; cosCreatePipeline: CosPipeline; cosCreateRelease: CosRelease; cosCreateSource: CosSource; cosGrantAccess: CosDataAccessGrant; /** Record a successful sync for a source (sets status CONNECTED + lastSyncedAt). */ cosMarkSourceSynced: CosSource; /** * Mint a real DOI for a PUBLISHED release via DataCite's REST API (BOFF-4346) * — api.test.datacite.org unless DATACITE_MODE=production credentials are * configured. Records a CosDoiRecord (FINDABLE on success, FAILED with the * error otherwise) and stamps CosRelease.doi on success. */ cosMintDoi: CosDoiRecord; /** * Mirror a PUBLISHED release's metadata to Zenodo (BOFF-4352) — * sandbox.zenodo.org unless ZENODO_MODE=production credentials are * configured. Records a CosZenodoMirror with the resulting deposition/record * id and DOI. */ cosMirrorToZenodo: CosZenodoMirror; /** * Mark a dataset AVAILABLE once ingestion completes (sets ingestedAt). * `sizeBytes`/`rowCount` are optional and, when provided, are persisted onto * the dataset and counted against the workspace's monthly ingest-bytes quota * (BigInt values are transported as decimal strings, matching the field's * GraphQL output type). */ cosPublishDataset: CosDataset; /** * Publish a citable release and stamp it with a DOI. Pass `doi` to register an * identifier you already have, or `mintDoi: true` to have a DOI registrar-minted * and stamped automatically (BOFF-4519) — `mintDoi` is ignored when `doi` is * supplied. Minting is fail-safe: a provider or credential failure never fails * the publish; the outcome is recorded on the release's CosDoiRecord. */ cosPublishRelease: CosRelease; /** Queue an existing customer-owned Databricks job as a managed step of a RUNNING run. */ cosQueueDatabricksStep: CosExternalComputeExecution; /** * Record run-level telemetry (rows in/out, anomalies flagged, warnings, error * message). Merges into `metrics`; fields not sent are kept. */ cosRecordRunTelemetry: CosPipelineRun; /** * Remove a schema field (soft-delete) — the revert half of the undo path for a * wrongly accepted proposal. Access is checked against the field's dataset. */ cosRemoveSchemaField: Scalars['Boolean']['output']; /** * Resolve an owned saved request before changing inputs. Return its execution, * or fence its absent UUID under the queue lock so a late request cannot create it. */ cosResolveExternalComputeRequest: CosExternalComputeRequestResolution; /** Resume monitoring/cancellation after repairing the same scoped integration connection. */ cosRetryExternalCompute: CosExternalComputeExecution; cosRevokeAccess: CosDataAccessGrant; cosRunAnalysis: CosAnalysis; /** * Executes a RASTER_CALC (NDVI band-math) step synchronously against two * co-registered single-band GeoTIFF rasters (NIR + RED), base64-encoded. * Computes per-pixel NDVI = (NIR-RED)/(NIR+RED) via real GeoTIFF parsing, * persisting summary statistics and a bounded preview grid as step lineage * (`outputs`). Only NDVI band math is implemented today — REPROJECT, TILE, * and ZONAL_STATS are recognized CosStepKind values with no execution * backend yet (see BOFF-4355). */ cosRunRasterCalcStep: CosPipelineStep; /** * Queue a new run of a pipeline (assigns the next run number). When the * pipeline links a canonical WorkflowDefinition, the run is also started in * wspace-workflow-svc and `workflowRunId` records the canonical run. */ cosStartRun: CosPipelineRun; /** Advance a run through its lifecycle (validated transitions). */ cosTransitionRun: CosPipelineRun; cosUpdateCollection: CosCollection; cosUpdateDataset: CosDataset; cosUpdateNotebook: CosNotebook; cosUpdatePipeline: CosPipeline; /** * Correct a schema field after acceptance (AI-governance undo path, BOFF-3814 * criterion 4.3): rename, retype, adjust unit/nullability/position/provenance. * Access is checked against the field's dataset, so the actor must be able to * read the dataset the field belongs to. */ cosUpdateSchemaField: CosSchemaField; cosUpdateSource: CosSource; createA2AConnection: A2AConnection; createA2ARegistryEntry: A2ARegistryEntry; createAIPrompt: AiPrompt; /** Create a new action */ createAction: Action; createActionItem: MeetingActionItem; createActionShareLink: ShareGrant; /** Create an activity pause rule (at most 100 per workspace). Needs fluidgrids.run-control. */ createActivityPauseRule: WorkflowActivityPauseRule; /** Create an agent definition and its platform identity. */ createAgentDefinition: AgentDefinition; /** * BOFF-4400 — deliberately unmetered, mirroring `createBotlitAgent`: Agents are * internal workers, reusable across many Apps within a workspace, and are not * the customer-facing unit the free/paid tiers price. `botlit.bots.count` meters * the App (see `createBotApp` and `createAppFromTemplate`); adding a second * `@usage` here would double-charge a single logical bot that fans out to N * internal agents. Note the asymmetry with `createAppFromTemplate` above is * intentional — that one mints an App, this one mints an Agent. If this changes, * update `botlit-billing-seed.ts`, `createBotlitAgent` and the pricing page * together with the `@usage` directive added here. * @deprecated use createBotmanorAgentFromTemplate */ createAgentFromTemplate: BotlitAgent; createAgentInstructionFile: AgentInstructionFile; createAgentInstructionFileShareLink: ShareGrant; createAgentMessageBookmark: AgentMessageBookmark; /** @deprecated use createBotmanorAgentTemplate */ createAgentTemplate: AgentTemplate; createAiContext: AiContext; createAiContextShareLink: ShareGrant; createAiPrediction: AiPrediction; createAiPromptShareLink: ShareGrant; /** Create a new AI tool event (called by agents via gateway) */ createAiToolEvent: AiToolEvent; createAllocation: ResourceAllocation; createAppAgent: AppAgent; createAppFromTemplate: BotApp; createAppTemplate: AppTemplate; createAsset: Asset; createAssetTag: AssetAvailableTag; createAvailabilityRule: AvailabilityRule; /** * Create a new batch download * Initiates ZIP archive creation */ createBatchDownload: CreateBatchDownloadResponse; /** Create a new BigConsole dashboard */ createBigConsoleDashboard: BigConsoleDashboard; /** Create a BigConsole widget */ createBigConsoleWidget: BigConsoleWidget; createBigconsoleTag: BigConsoleAvailableTag; createBlackoutDate: BlackoutDate; createBooking: Booking; createBookingPage: BookingPage; createBotApp: BotApp; /** * BOFF-4400 — deliberately unmetered by design, not an oversight: Agents are * internal workers, reusable across many Apps within a workspace, and are not * the customer-facing unit the free/paid tiers price. `botlit.bots.count` * (on `createBotApp`) already meters the unit customers pay for — App. Adding * a second `@usage` on Agent creation would double-charge a single logical * bot that fans out to N internal agents for orchestration/A2A. If this * changes, update `botlit-billing-seed.ts` and the pricing page together with * the `@usage` directive added here. * @deprecated use createBotmanorAgent */ createBotlitAgent: BotlitAgent; /** @deprecated use createBotmanorLLMModel */ createBotlitLLMModel: BotlitLlmModel; /** @deprecated use createBotmanorLLMProvider */ createBotlitLLMProvider: BotlitLlmProvider; /** * Deliberately unmetered, exactly like the legacy `createBotlitAgent` (BOFF-4400): * `botmanor.bots.count` on `createBotApp` meters the unit customers pay for. */ createBotmanorAgent: BotmanorAgent; /** * Twin of the deprecated `createAgentFromTemplate` returning `BotmanorAgent`. * Deliberately unmetered for the same reason (BOFF-4400): Agents are internal * workers, and `botmanor.bots.count` meters the App customers pay for. */ createBotmanorAgentFromTemplate: BotmanorAgent; createBotmanorAgentTemplate: AgentTemplate; createBotmanorLLMModel: BotmanorLlmModel; createBotmanorLLMProvider: BotmanorLlmProvider; createBucket: Bucket; createBudget: AssetBudget; createCalendar: Calendar; /** * Submit an export job for workspace calendars + events through the * central `wspace-export-svc`. Returns the job descriptor; the caller * polls the export service for completion and download URL. */ createCalendarExportJob: CalendarExportJobResponse; createCalendarResource: CalendarResource; createCargoItem: MtwCargoItem; createCatalogShareLink: ShareGrant; createChangeRequest: ChangeRequest; createChannelConnector: ChannelConnector; createChannelRoute: ChannelRoute; createClientPortalConfig: ClientPortalConfig; createCohort: Cohort; /** Create a new collection */ createCollection: Collection; /** Create collection from template */ createCollectionFromTemplate: Collection; createComponentShareLink: ShareGrant; createConnection: IntegrationConnection; createConversation: CreateConversationPayload; /** * Submit an export job for workspace conversations + messages through * the central `wspace-export-svc`. The legacy `exportEntityComments` * mutation is complemented by this canonical entry point. */ createConversationsExportJob: ConversationsExportJobResponse; /** Create a new assignable tag (inline creation from a picker) */ createCosTag: CosAvailableTag; createCourseAssistantTeacher: CourseAssistantTeacherSetup; createCrewAnnouncement: CrewAnnouncement; /** * Book a listing. `clientActorId` is always the authenticated actor. Creates * a linked `CrewEscrowRecord` (status `PENDING_HOLD`, calculation-only) for * the booking's rate at booking time. */ createCrewBooking: CrewBooking; createCrewCandidate: CrewCandidate; createCrewClient: CrewClient; createCrewDepartment: CrewDepartment; createCrewDispatch: CrewDispatch; createCrewEmployee: CrewEmployee; /** * Enroll an employee in a course. Idempotent: re-enrolling an employee who * already has a non-deleted enrollment for the same course returns the * existing row rather than creating a duplicate. */ createCrewEnrollment: CrewEnrollment; createCrewInterview: CrewInterview; createCrewJobPosting: CrewJobPosting; createCrewLeaveRequest: CrewLeaveRequest; createCrewOnboarding: CrewOnboarding; createCrewOnboardingTask: CrewOnboardingTask; createCrewOpenShift: CrewOpenShift; createCrewPayrollRecord: CrewPayrollRecord; createCrewPayrollRun: CrewPayrollRun; createCrewProject: CrewProject; /** * Create a listing. `providerActorId` is always the authenticated actor — * there is no way to list a service on someone else's behalf. */ createCrewServiceListing: CrewServiceListing; createCrewShift: CrewShift; createCrewShiftPattern: CrewShiftPatternResult; createCrewSkill: CrewSkill; createCrewSkillRelation: CrewSkillRelation; createCrewTeam: CrewTeam; createCrewTimeEntry: CrewTimeEntry; createCrewTrainingCourse: CrewTrainingCourse; createCrewVendor: CrewVendor; createCustomer: MtwCustomer; createDashboard: AnalyticsDashboard; /** Create a DRAFT embed policy + anonymous-link locator. Returns the secret once. */ createDashboardEmbedPolicy: BigConsoleDashboardEmbedPolicySecret; /** * Create the actual dashboard from a generated specification. * This converts the AI spec into real Dashboard, Pages, and Widgets. */ createDashboardFromGeneration: BigConsoleDashboard; createDashboardFromTemplate: AnalyticsDashboard; /** * Create a dashboard in the caller's workspace from the active version of an * installed dashboard template type. Counts against the dashboard quota. */ createDashboardFromTemplateType: BigConsoleImportDashboardTemplateResult; /** Create a dashboard page */ createDashboardPage: BigConsoleDashboardPage; /** Create a dashboard RLS policy. */ createDashboardRlsPolicy: BigConsoleDashboardRlsPolicy; /** Capture the current dashboard state as a new version. */ createDashboardVersion: BigConsoleDashboardVersion; /** Create a saved view */ createDashboardView: BigConsoleDashboardView; /** Create a data sink */ createDataSink: DataSink; createDataTable: DataTableResponse; createDeliveryJob: MtwDeliveryJob; createDigitalTwin: DigitalTwin; /** * Create a disposable workspace (BOFF-6560): the ONLY supported path that can * set `Workspace.isDisposable`. Restricted to service actors — same security * model as syncFromGlobal (actorTypes over action/resource RBAC, because the * workspace doesn't exist yet and this is M2M-only by design). No user/billing * quota is enforced; disposable workspaces are ops/test tooling, not customer * seats. Callers (e.g. a product's demo-seed job) are responsible for tearing * the workspace down through the normal deleteWorkspace mutation when done. */ createDisposableWorkspace: Workspace; /** Create a new docs page */ createDocsPage: VibecontrolsDocsPage; createDocsShareLink: ShareGrant; /** Create a new docs site for a vibe */ createDocsSite: VibecontrolsDocsSite; createDriver: MtwDriver; createEmailTimeEntry: EmailTimeEntry; /** Create a new comment on any entity */ createEntityComment: EntityComment; /** * Strictly create a canonical metric with AssetHandler source attribution. * This is the only ESG lifecycle operation that consumes monthly allocation. */ createEsgMetric: EcoMetric; createEvent: CalendarEvent; createEventFilter: EventFilter; createEventRegistration: EventRegistration; createEventSchema: EventSchema; /** Create an event webhook mapping */ createEventWebhookMapping: BigConsoleWidgetEventWebhookMapping; createEventfullyManagedEntityTag: EventfullyManagedAvailableTag; createExecution: Execution; createExpense: ExpenseEntry; createExportJob: ExportJob; createExportTemplate: ExportTemplate; createFileShareLink: ShareGrant; /** Create a new version from current file state */ createFileVersion: FileVersion; /** * Create an export job for workspace files. * The export service will asynchronously build a ZIP archive containing * all files metadata (and optionally media) in the requested format. * Poll the export service for job completion and download URL. */ createFilesExportJob: ExportJobResponse; /** * Create a filter preset for the caller on a dashboard they may read in the * request workspace. Fails with DASHBOARD_NOT_FOUND otherwise. */ createFilterPreset: BigConsoleFilterPreset; /** Create a new assignable tag (inline creation from a picker) */ createFluidgridsTag: FluidgridsAvailableTag; /** Create a new folder */ createFolder: Folder; /** * Create a new folder share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ createFolderShare: FolderShare; createFolderShareLink: ShareGrant; createFunnel: Funnel; createGeofence: Geofence; /** BOFF-4388 — enters the verification workflow at PENDING_REVIEW (not ACTIVE); use submitGgnomadListingForReview/approveGgnomadListing to progress it. */ createGgnomadActivity: GgnomadActivity; /** BOFF-10615 — operator-only: adds a category, volume-tier or promotional commission rule. */ createGgnomadAffiliateCommissionRule: GgnomadAffiliateCommissionRule; /** BOFF-4386 — operator-only: adds an affiliate partner with a referral code. */ createGgnomadAffiliatePartner: GgnomadAffiliatePartner; /** BOFF-4388 — for bookingType PROPERTY/TOUR/EVENT/ACTIVITY, the target listing must be ACTIVE (verified) or this throws LISTING_NOT_BOOKABLE. BOFF-10228: a TRIP must have a verified fare (created from an offerToken) or this throws TRIP_FARE_UNVERIFIED. */ createGgnomadBooking: GgnomadBooking; /** Host/operator defines a bookable slot for one listing. */ createGgnomadBookingSlot: GgnomadBookingSlot; createGgnomadChannelMapping: GgnomadChannelMapping; /** BOFF-4388 — enters the verification workflow at PENDING_REVIEW (not ACTIVE); use submitGgnomadListingForReview/approveGgnomadListing to progress it. */ createGgnomadEvent: GgnomadEvent; /** Wraps a trip plan the caller owns into a collaborative group trip. NOT_FOUND if the trip plan doesn't exist or isn't owned by the caller. */ createGgnomadGroupTrip: GgnomadGroupTrip; /** One storefront per provider (unique on providerId) — NOT_FOUND if providerId doesn't resolve in this workspace, CONFLICT (via error) if that provider already has one. */ createGgnomadOperatorStorefront: GgnomadOperatorStorefront; /** BOFF-4378 — host only (LISTING_HOST_REQUIRED for other members): adds a pricing rule to one of the caller's listings. At most 50 rules per listing. */ createGgnomadPricingRule: GgnomadPricingRule; /** Traveler requests a custom private/group tour outside standard listed slots. */ createGgnomadPrivateGroupRequest: GgnomadPrivateGroupRequest; /** BOFF-4388 — enters the verification workflow at PENDING_REVIEW (not ACTIVE); use submitGgnomadListingForReview/approveGgnomadListing to progress it. */ createGgnomadProperty: GgnomadProperty; /** Admin-only (see GGNOMAD_ROLES marketplace-operator): defines a coverage plan. */ createGgnomadProtectionPolicy: GgnomadProtectionPolicy; createGgnomadProvider: GgnomadProvider; createGgnomadReview: GgnomadReview; /** BOFF-4388 — enters the verification workflow at PENDING_REVIEW (not ACTIVE); use submitGgnomadListingForReview/approveGgnomadListing to progress it. */ createGgnomadTour: GgnomadTour; /** BOFF-4365 — admin-only (see GGNOMAD_ROLES marketplace-operator): defines corporate travel guardrails. */ createGgnomadTravelPolicy: GgnomadTravelPolicy; /** BOFF-4406 — books transport inventory (flight/rail/bus/ferry leg). BOFF-10228: pass a searchGgnomadTransport offerToken to get a priced, bookable trip; without one the trip is an unpriced manual itinerary. Link it to a store order/billing transaction via createGgnomadBooking(bookingType: TRIP, itemId: <trip.id>). */ createGgnomadTrip: GgnomadTrip; createGgnomadTripPlan: GgnomadTripPlan; /** Create a global filter */ createGlobalFilter: BigConsoleGlobalFilter; /** Manually create an edge (for testing/admin) */ createGraphEdge: GraphEdge; /** Manually create a node (for testing/admin) */ createGraphNode: GraphNode; createGroup: Group; createGroupFromTemplate: Group; createGroupRule: GroupMembershipRule; createGroupSetting: GroupSetting; createGroupTemplate: GroupTemplate; /** * Submit an export job for workspace groups + memberships through the * central `wspace-export-svc`. The legacy single-group `exportGroupData` * mutation is complemented by this canonical entry point. */ createGroupsExportJob: GroupsExportJobResponse; /** Create a new ad campaign */ createHeadshotmarketingAdCampaign: HeadshotmarketingAdCampaign; /** Create a new ad creative */ createHeadshotmarketingAdCreative: HeadshotmarketingAdCreative; /** Create an A/B creative test from 2+ creatives of one ad campaign */ createHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest; /** Register a real connection to an ad platform (WEBHOOK mode is genuinely live). */ createHeadshotmarketingAdPlatformConnection: HeadshotmarketingAdPlatformConnection; /** Create a new audience */ createHeadshotmarketingAudience: HeadshotmarketingAudience; /** Create a new workflow definition, starting in DRAFT status. */ createHeadshotmarketingAutomationWorkflow: HeadshotmarketingAutomationWorkflow; /** Create a new campaign */ createHeadshotmarketingCampaign: HeadshotmarketingCampaign; /** * Create a new draft campaign from a saved template, copying its defaults * (type, budget, channels, configuration) and bumping the template usage count. */ createHeadshotmarketingCampaignFromTemplate: HeadshotmarketingCampaign; /** Create a new campaign template */ createHeadshotmarketingCampaignTemplate: HeadshotmarketingCampaignTemplate; /** Create a new contact */ createHeadshotmarketingContact: HeadshotmarketingContact; /** Create a new deal */ createHeadshotmarketingDeal: HeadshotmarketingDeal; /** Create a new influencer profile */ createHeadshotmarketingInfluencer: HeadshotmarketingInfluencer; /** Create a new influencer campaign */ createHeadshotmarketingInfluencerCampaign: HeadshotmarketingInfluencerCampaign; /** Create a new influencer relationship */ createHeadshotmarketingInfluencerRelationship: HeadshotmarketingInfluencerRelationship; /** Create a new lead */ createHeadshotmarketingLead: HeadshotmarketingLead; /** Create a new pipeline */ createHeadshotmarketingPipeline: HeadshotmarketingPipeline; /** Create a new pipeline stage */ createHeadshotmarketingPipelineStage: HeadshotmarketingPipelineStage; /** Connect a new social media account */ createHeadshotmarketingSocialAccount: HeadshotmarketingSocialAccount; /** Create a new social media post */ createHeadshotmarketingSocialPost: HeadshotmarketingSocialPost; createHealthyBowlAdvisoryTask: HealthyBowlAdvisoryTask; createHealthyBowlAggregationLot: HealthyBowlAggregationLot; createHealthyBowlAnimal: Animal; createHealthyBowlAnimalGroup: HealthyBowlAnimalGroup; createHealthyBowlAuction: Auction; createHealthyBowlAudit: Audit; createHealthyBowlBankAccount: HealthyBowlBankAccount; createHealthyBowlBed: Bed; createHealthyBowlBreedingRecord: BreedingRecord; createHealthyBowlBudget: HealthyBowlBudget; createHealthyBowlCarbonCredit: HbCarbonCredit; createHealthyBowlCertification: Certification; createHealthyBowlCommunityPost: CommunityPost; createHealthyBowlComplianceDocument: ComplianceDocument; createHealthyBowlCompostBatch: CompostBatch; createHealthyBowlConsultation: Consultation; createHealthyBowlConsultationNote: HealthyBowlConsultationNote; createHealthyBowlContact: HealthyBowlContact; /** Sponsor: open a DRAFT aggregation lot for a contract. */ createHealthyBowlContractAggregationLot: HealthyBowlContractAggregationLot; createHealthyBowlCostCenter: HealthyBowlCostCenter; createHealthyBowlCrew: HealthyBowlCrew; createHealthyBowlCrop: Crop; createHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation; createHealthyBowlCsaPlan: CsaPlan; /** * Create a weather early-warning rule (DEWS). Provisions a FluidGrids workflow + cron scheduled-job * in wspace-workflow-svc over the internal gateway; the cron calls back into HB's * dispatchHealthyBowlDiseaseWarning to evaluate weather and notify. */ createHealthyBowlDiseaseWarningRule: DiseaseWarningRule; createHealthyBowlExpert: Expert; createHealthyBowlFarm: Farm; createHealthyBowlFarmEvent: FarmEvent; createHealthyBowlFarmRecommendation: HealthyBowlFarmRecommendation; /** Sponsor: create a forward contract (starts DRAFT). */ createHealthyBowlFarmingContract: HealthyBowlFarmingContract; createHealthyBowlFeedRecord: FeedRecord; createHealthyBowlField: Field; createHealthyBowlGardenCareTask: GardenCareTask; createHealthyBowlGardenHarvest: GardenHarvest; createHealthyBowlGardenInput: GardenInput; createHealthyBowlGardenObservation: GardenObservation; createHealthyBowlGardenPlanting: GardenPlanting; createHealthyBowlGovernmentScheme: GovernmentScheme; createHealthyBowlGrowSpace: GrowSpace; createHealthyBowlHarvestRecord: HarvestRecord; createHealthyBowlHealthRecord: HealthRecord; createHealthyBowlIcsGroup: IcsGroup; createHealthyBowlIcsGrower: IcsGrower; createHealthyBowlInputPlan: HealthyBowlInputPlan; createHealthyBowlInvoice: HealthyBowlInvoice; /** * Create an automation rule for a schedule (Phase B). Provisions a FluidGrids workflow + * cron scheduled-job in wspace-workflow-svc over the internal gateway; the cron calls back * into HB's dispatchHealthyBowlWateringRun to evaluate soil/weather and log the run. */ createHealthyBowlIrrigationAutomation: IrrigationAutomation; createHealthyBowlIrrigationSchedule: IrrigationSchedule; createHealthyBowlLedgerAccount: HealthyBowlLedgerAccount; /** BOFF-6077 — add a tranche to a loan's release schedule. */ createHealthyBowlLoanMilestone: HealthyBowlLoanMilestone; createHealthyBowlMapFeature: MapFeature; createHealthyBowlMarketplaceProduct: MarketplaceProduct; createHealthyBowlMedicationLibraryItem: MedicationLibraryItem; createHealthyBowlMentor: Mentor; createHealthyBowlNurseryBatch: NurseryBatch; createHealthyBowlOrder: Order; /** * Create (or return the existing) real movethewheels Shipment for a fulfilled order and record its id * on the order. Idempotent — a re-run returns the order's existing shipment rather than duplicating. * Perishable produce (the default) maps to a temperature-controlled shipment with a cold-chain target * range. Seller-gated like the other order-fulfilment mutations. */ createHealthyBowlOrderShipment: HealthyBowlOrderShipment; createHealthyBowlPestIssue: PestIssue; createHealthyBowlPlantCatalogEntry: PlantCatalogEntry; /** I-7 — log a planting/execution activity (watering, tilling, transplant…). */ createHealthyBowlPlantingActivity: PlantingActivity; createHealthyBowlPlantingPlan: PlantingPlan; createHealthyBowlPriceAlertRule: PriceAlertRule; createHealthyBowlPriceWatch: PriceWatch; createHealthyBowlProduct: HealthyBowlProduct; createHealthyBowlProductionBatch: ProductionBatch; createHealthyBowlProductionRecord: ProductionRecord; createHealthyBowlRecipe: Recipe; createHealthyBowlRegenerativePractice: HbRegenerativePractice; createHealthyBowlResidueTest: ComplianceResidueTest; createHealthyBowlSchemeApplication: SchemeApplication; createHealthyBowlSeedLot: SeedLot; /** * Place a shared-market order, fanning out into ONE ORDER PER SELLING FARM. * * A shared-market cart can mix produce from several farms, so a single checkout cannot be one row: * each selling farm needs its own order, its own total and its own fulfilment. Totals are recomputed * per farm from that farm's own line items — never copied from the cart. * * Publishing a listing to the shared market IS consent to receive orders against it; a listing that * was never published cannot be ordered cross-farm. */ createHealthyBowlSharedMarketOrders: Array<Order>; createHealthyBowlSoilTest: SoilTest; createHealthyBowlStorageLocation: HealthyBowlStorageLocation; createHealthyBowlSubstanceRule: ComplianceSubstanceRule; /** I-6 — generate a succession series of PlantingPlans (reuses the planting-plan RBAC resource). */ createHealthyBowlSuccessionPlan: Array<PlantingPlan>; createHealthyBowlSupplier: Supplier; createHealthyBowlTerraceGarden: TerraceGarden; createHealthyBowlTraceBatch: TraceBatch; createHealthyBowlTransaction: HealthyBowlTransaction; createHealthyBowlTreatment: Treatment; createHealthyBowlVaccination: Vaccination; /** Log a watering run (manual now; also called by FluidGrids automation later). */ createHealthyBowlWateringRun: WateringRun; createHealthyBowlWholesaleOrder: WholesaleOrder; createHealthyBowlWorker: HealthyBowlWorker; createHousingvistaAmcContract: HousingVistaAmcContract; createHousingvistaAreaInsight: HousingVistaAreaInsight; createHousingvistaAsset: HousingVistaAsset; createHousingvistaExpense: HousingVistaExpense; createHousingvistaHomeLoanOffer: HousingVistaHomeLoanOffer; createHousingvistaInvestment: HousingVistaInvestment; createHousingvistaLease: HousingVistaLease; createHousingvistaLegalService: HousingVistaLegalService; createHousingvistaMaintenanceRequest: HousingVistaMaintenanceRequest; createHousingvistaMarketTrend: HousingVistaMarketTrend; createHousingvistaMarketplaceService: HousingVistaMarketplaceService; createHousingvistaProperty: HousingVistaProperty; createHousingvistaRentalUnit: HousingVistaRentalUnit; createHousingvistaTransaction: HousingVistaTransaction; createHousingvistaVerificationItem: HousingVistaVerificationItem; createIncident: Incident; createIntegration: MtwIntegration; createIntelwatchtowerTag: IntAvailableTag; createInventoryItem: MtwInventoryItem; createInventoryTransaction: MtwInventoryTransaction; /** * Create a new invitation. * Workspace scope is read from gateway context (x-workspace-id header). */ createInvitation: Invitation; createInviteLink: InviteLink; createInvoice: Invoice; createKnowledgeArticle: KnowledgeArticle; createKnowledgeBase: KnowledgeBase; createLegalHold: LegalHold; createLifeGoal: TimeCampusLifeGoal; createLocationEntry: LocationEntry; createLogStreamDestination: LogStreamDestinationResponse; createMCPConnection: McpConnection; /** BOFF-6033 — record an AMC and the assets it covers. */ createMaintenanceContract: MaintenanceContract; /** Create a recurring maintenance schedule on an asset (BOFF-6031). */ createMaintenancePlan: MaintenancePlan; createMaintenanceRecord: MaintenanceRecord; createMeeting: MeetingMeta; createMetric: Metric; createMtwPickTaskIntent: MtwPickTask; createMtwReport: MtwReport; /** Create a custom nav view owned by the calling user. */ createMyNavView: NavCustomView; /** Create a new note */ createNote: VibecontrolsNote; /** Create a new tag in the tags service (for inline tag creation from notes) */ createNoteTag: AvailableTag; /** Create or update a node endpoint configuration */ createOrUpdateNodeEndpointConfig: NodeEndpointConfigResponse; /** Create or update an operation configuration */ createOrUpdateOperationConfig: OperationConfigResponse; createParser: Parser; /** * Create a Parser on a console from the workspace's active version of an * installed parser type. Runs the same validation and checks as createParser. */ createParserFromType: Parser; /** Create a permission override for an actor */ createPermissionOverride: PermissionOverride; createPhysicalAudit: PhysicalAudit; createPipeline: Pipeline; createPolicy: Policy; /** Create an OPA policy reference */ createPolicyReference: PolicyReference; createPomodoroGoal: PomodoroGoal; createProblem: Problem; /** * Create a new project in the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ createProject: Project; createPromptEvent: CalendarEvent; createPromptTemplate: PromptTemplate; createRAGConfig: RagConfiguration; createReminder: EventReminder; createReport: Report; createReportSchedule: ReportSchedule; createResourcePlan: ResourcePlan; createRetrievalProfile: RetrievalProfile; /** Create a new role */ createRole: Role; /** Create a permission override for a role */ createRolePermissionOverride: RolePermissionOverride; createRoute: MtwRoute; createRuleSet: RuleSet; createSandbox: Sandbox; /** Register a runner and issue its token (shown once). */ createSandboxRunner: SandboxRunnerWithToken; /** Create a new tag inline from the sandbox form */ createSandboxTag: SandboxAvailableTag; createSandboxTemplate: SandboxTemplateConfig; createSavedQuery: SavedQuery; createScheduleFromTemplate: ScheduledJob; createScheduleTemplate: ScheduleTemplate; createScheduledJob: ScheduledJob; createScorecardShareLink: ShareGrant; createSecret: Secret; /** Create a confidential signed share link for a credential (or whole vault). */ createSecretShareLink: CreateSecretShareLinkResult; createSecurityException: SecurityException; /** * Submit an export job for vault/secret data through the central * `wspace-export-svc`. The legacy `exportSecrets` mutation is * complemented by this canonical entry point. */ createSecurityExportJob: SecurityExportJobResponse; /** * Service-to-service (M2M) connection registration. Lets a first-party product * service (e.g. HealthyBowl accounting, HeadshotMarketing social) register a * third-party connection — with caller-supplied credentials — on behalf of a * workspace/user through the canonical integrations owner instead of hand-rolling * credential storage. Credentials are encrypted at rest exactly like the * interactive auth mutations. The workspace is taken from `x-workspace-id`; the * owning actor is `input.ownerActorId`. Idempotent per * (workspace, provider, ownerActorId, name): re-registering refreshes the stored * credential in place rather than creating a duplicate connection. * Restricted to `service` / `super_admin` actors. */ createServiceConnection: IntegrationConnection; createServiceOffering: MtwServiceOffering; createServiceProvider: MtwServiceProvider; /** Create a new session */ createSession: Session; createSessionGrantShareLink: ShareGrant; /** Create a shareable link for a session */ createSessionShareLink: SessionShareLink; /** * Create a new file share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ createShare: FileShare; createShipment: MtwShipment; createSiemDestination: SiemDestinationSecretResult; createSkill: Skill; createSnapshot: AnalyticsSnapshot; createTag: UniversalTag; createTagRelation: UniversalTagRelation; createTagRule: UniversalTagRule; createTagSegment: UniversalTagSegment; createTagTranslation: UniversalTagTranslation; /** * Submit an export job for workspace tags + vocabularies through the * central `wspace-export-svc`. Returns the job descriptor; the caller * polls the export service for completion and download URL. */ createTagsExportJob: TagsExportJobResponse; createTarget: Target; createTargetShareLink: ShareGrant; createTask: Task; /** Create a self-hosted task queue (needs fluidgrids.self-hosted-workers). */ createTaskQueue: TaskQueue; /** Create a template */ createTemplate: BigConsoleDashboardTemplate; createTemplateShareLink: ShareGrant; createTimeCampusProject: TimeCampusProject; /** Register a third-party applet; its first version is a DRAFT. */ createTimeCampusThirdPartyApplet: TimeCampusThirdPartyApplet; /** Self-scoped: create a time trigger for the caller. Needs the time-triggers applet. */ createTimeCampusTimeTrigger: TimeCampusTimeTrigger; createTimeEntry: TimeEntry; createTransaction: AssetTransaction; /** Create a new tunnel (DRAFT status; use startTunnel to bring it up). */ createTunnel: Tunnel; createTunnelShareLink: ShareGrant; createVault: Vault; createVaultBackup: VaultBackupResult; createVaultIntegration: VaultIntegration; createVaultSecurityEvent: VaultSecurityEvent; createVaultSyncConfig: VaultSyncConfig; createVehicle: MtwVehicle; /** Create a new vibe */ createVibe: Vibe; createVibeCalendarTask: VibeCalendarTask; createVibeDeck: VibeDeck; createVibeDeckButton: VibeDeckButton; createVibeDeckGrantShareLink: ShareGrant; /** Create a share link for a vibe deck */ createVibeDeckShareLink: VibeDeckShareLink; createVibeShareLink: ShareGrant; /** Create a new agent */ createVibecontrolsAgent: VibecontrolsAgent; /** Create a new profile on an agent. Profile names are unique per agent. */ createVibecontrolsAgentProfile: VibecontrolsAgentProfile; /** Create a new catalog */ createVibecontrolsCatalog: VibecontrolsCatalog; /** Create a new component */ createVibecontrolsComponent: VibecontrolsComponent; createVibecontrolsNoteShareLink: ShareGrant; /** Create a reusable scorecard template in the workspace. */ createVibecontrolsScorecardTemplate: VibecontrolsScorecardTemplate; /** Create a new assignable tag (inline creation from a picker) */ createVibecontrolsTag: AvailableTag; /** * Create a visibility rule for a resource. * Auto-registers the resource if not already registered. */ createVisibilityRule: VisibilityRule; createVocabulary: TagVocabulary; createWarehouse: MtwWarehouse; createWarehouseLocation: MtwWarehouseLocation; /** Create a new webhook */ createWebhook: Webhook; /** Create a widget action */ createWidgetAction: BigConsoleWidgetAction; /** Create a widget drill-down configuration */ createWidgetDrilldown: BigConsoleWidgetDrilldown; createWorkOrder: WorkOrder; /** Issue a worker token (shown once). */ createWorkerToken: SandboxWorkerTokenWithToken; /** Create a new FluidGrids Workflow */ createWorkflow: FluidGridsWorkflow; /** * Create a new workflow definition. * * Usage tracking: a brand-new workflowKey consumes one slot from the workspace's * fluidgrids.workflows.count quota. Adding another version to an EXISTING workflowKey * does not consume a slot. The gateway checks the quota before the call * (checkQuota); the service charges the slot itself once it has created a new * workflowKey (trackUsage is off, BOFF-10662), and releases it when the last * version is deleted. */ createWorkflowDefinition: WorkflowDefinition; createWorkflowFolder: WorkflowFolder; createWorkflowProject: WorkflowProject; /** * Create an ephemeral sandbox to run a single FluidGrids workflow node. Charges * the FluidGrids sandbox quota (NOT the platform sandbox-environments quota that * createSandbox charges). Source is forced to WORKFLOW server-side. Intended for * M2M callers (fluidgrids-workers) via the internal gateway. */ createWorkflowSandbox: Sandbox; /** Create a new scheduled job */ createWorkflowScheduledJob: ScheduledJobResponse; /** Define a search attribute (at most 50 per workspace). Needs fluidgrids.search-attributes. */ createWorkflowSearchAttribute: WorkflowSearchAttribute; /** * Create a signal token: POST /api/webhooks/signal/<token> then sends the signal to the run (and, * after continue-as-new or a reset, to the latest run of its chain) without a platform credential. * Needs fluidgrids.run-control. */ createWorkflowSignalToken: WorkflowSignalTokenCreated; /** Save a new test case on a workflow (at most 50 per workflow). */ createWorkflowTestCase: WorkflowTestCase; /** * Save a finished run as a test case: its trigger input, and a connection mock * for every non-internal node that completed, holding the output it produced. * The workflow's redacted fields are stored redacted. Private runs cannot be saved. */ createWorkflowTestCaseFromRun: WorkflowTestCase; createWorkflowVariable: WorkflowVariableResponse; createWorkflowVersion: CreateWorkflowVersionResponse; /** * Create a new workspace. * Tenant ID is read from gateway context (x-tenant-id header). * Owner defaults to authenticated actor (x-actor-id header). */ createWorkspace: Workspace; /** * Create a new workspace resource. * Workspace ID is read from gateway context (x-workspace-id header). */ createWorkspaceResource: WorkspaceResource; /** * Create a workspace secret. Called when a new workspace is created. * Requires service-to-service authentication. */ createWorkspaceSecret: CreateWorkspaceSecretResult; /** * Submit an export job for the current workspace through the central * `wspace-export-svc`. The job runs asynchronously; poll the export-jobs * list (via the export gateway) to retrieve the download URL once * complete. */ createWorkspacesExportJob: WorkspacesExportJobResponse; /** Acknowledge a finding: it stops re-notifying and stays out of the open list. */ crewAcknowledgeWatchFinding: CrewWatchFinding; /** Prioritized capability gaps for a team, department or project, with a remedy per gap. Informational. */ crewAnalyzeSkillGap: CrewAiDecision; /** * Apply a PROPOSED staffing or shortlist decision for the selected people * (default: the recommended staffing picks / the whole shortlist). Staffing adds * them to the project's team (creating it when the project has none); shortlist * moves NEW candidates to SCREENING. */ crewApplyAiDecision: CrewAiDecision; /** Create or update the workspace watch configuration; enables/pauses the FluidGrids schedule. */ crewConfigureWatch: CrewWatchConfig; /** Dismiss a PROPOSED decision. Nothing is changed. */ crewDismissAiDecision: CrewAiDecision; /** Rank available, skill-qualified employees for a project's role needs. Proposes only; apply separately. */ crewProposeStaffing: CrewAiDecision; /** Run one evaluation pass now (admin/doctor trigger; recorded as an api-triggered run). */ crewRunWorkforceWatch: CrewWatchRunSummary; /** Explainable candidate shortlist for a job posting, scored on skills and experience only. Proposes only. */ crewShortlistCandidates: CrewAiDecision; /** Decision-ready summary of a candidate's interview feedback with dissent surfaced; never a verdict. Informational. */ crewSummarizeInterviewFeedback: CrewAiDecision; /** * FluidGrids scheduled-tick callback. Public like HealthyBowl's workflow * callbacks: trust is the per-workspace HMAC dispatchSecret, verified against * INTERNAL_SERVICE_TOKEN; workspace scope comes from the config row. */ crewfoundryWorkforceWatchTick: CrewWatchRunSummary; cutoverKnowledgeBackendMigration: KnowledgeBackendMigration; /** Deactivates a slot so no new bookings can be made against it; bookings already made are unaffected. */ deactivateGgnomadBookingSlot: GgnomadBookingSlot; /** Deactivate a resource (soft-delete). Called automatically when last custom rule is removed. */ deactivateResource: Scalars['Boolean']['output']; /** Deactivate an agent (mark as offline) */ deactivateVibecontrolsAgent: VibecontrolsAgent; /** Deactivate a workflow definition (sets status to DRAFT, disables scheduled triggers) */ deactivateWorkflowDefinition: WorkflowDefinition; /** * Approve or decline an action held by a REQUIRE_APPROVAL policy, and continue its run. * Needs workflow publish rights (workspace admins). An approval covers exactly the payload * that was held: if the action changes before it runs, it needs a new approval. */ decideActionPolicyApproval: ActionPolicyApproval; /** Accept or reject a proposal. A BLOCKED proposal cannot be decided at all. */ decideHealthyBowlAgronomyDecision: AgronomyDecision; /** * BOFF-3676 — record a human verdict on a recommendation. * * ACCEPTED moves it to ACKNOWLEDGED, not RESOLVED: accepting advice is not doing the work, and * resolving it would hide outstanding work from every "what needs doing" read. Re-deciding is * refused rather than overwritten — the first verdict is the record of what someone judged. */ decideHealthyBowlFarmRecommendation: HealthyBowlFarmRecommendation; /** * Approve or decline a call held by a REQUIRE_APPROVAL policy. An approval lets the same caller * make exactly that call (same tool, version and arguments) once. */ decideMcpToolCallApproval: McpToolCall; /** Accept, accept with variance, or dispute the latest revision. The comparison author cannot decide. */ decideMtwFreightInvoice: MtwFreightInvoiceReview; /** * Approve or reject some/all of a pending request's tool calls and resume the * run. Any call not listed in `decisions` is treated as REJECTED — approval * must be explicit, never implicit (BOFF-7521 safety invariant: a call the * caller did not decide on must never execute). */ decideToolApproval: DecideToolApprovalResponse; declareLifeValue: TimeCampusLifeValue; /** Decline a file/folder share invitation. */ declineFileShare: Scalars['Boolean']['output']; declineGroupInvitation: Scalars['Boolean']['output']; /** Decline a share invitation. */ declineShare: Scalars['Boolean']['output']; delegateA2ATask: A2ADelegationResult; deleteA2AConnection: Scalars['Boolean']['output']; deleteA2ARegistryEntry: Scalars['Boolean']['output']; deleteAIPrompt: Scalars['Boolean']['output']; /** Delete an action (soft delete) */ deleteAction: Scalars['Boolean']['output']; deleteActionItem: Scalars['Boolean']['output']; /** Delete an action policy. Needs workflow publish rights. */ deleteActionPolicy: Scalars['Boolean']['output']; /** Delete an activity pause rule; everything it paused is unpaused. */ deleteActivityPauseRule: Scalars['Boolean']['output']; /** Delete an agent definition, retire its identity and withdraw every grant. */ deleteAgentDefinition: Scalars['Boolean']['output']; deleteAgentInstructionFile: Scalars['Boolean']['output']; deleteAgentMessageBookmark: Scalars['Boolean']['output']; deleteAgentTemplate: Scalars['Boolean']['output']; deleteAiContext: Scalars['Boolean']['output']; deleteAllocation: ResourceAllocation; deleteAppAgent: Scalars['Boolean']['output']; deleteAppTemplate: Scalars['Boolean']['output']; /** * Soft-delete one usage record. Requires `confirm: true` (BOFF-3894): the UI * sets it after the person confirms, and an AI agent must ask first. */ deleteApplicationUsage: ApplicationUsage; /** Delete an artifact */ deleteArtifact: MutationResponse; deleteAsset: Scalars['Boolean']['output']; deleteAssetAssignment: Scalars['Boolean']['output']; /** * Delete one of my assistant chats and its messages. Its content is purged permanently 30 days later (unless under a * legal hold). * @deprecated Use the my* assistant-history fields (BOFF-7335). */ deleteAssistantConversation: Scalars['Boolean']['output']; deleteAvailabilityRule: Scalars['Boolean']['output']; /** Delete a batch download and its archive */ deleteBatchDownload: Scalars['Boolean']['output']; /** Delete a dashboard (soft delete) */ deleteBigConsoleDashboard: Scalars['Boolean']['output']; /** Delete a BigConsole widget */ deleteBigConsoleWidget: Scalars['Boolean']['output']; deleteBlackoutDate: Scalars['Boolean']['output']; deleteBookingPage: Scalars['Boolean']['output']; deleteBotApp: Scalars['Boolean']['output']; /** @deprecated use deleteBotmanorAgent */ deleteBotlitAgent: Scalars['Boolean']['output']; deleteBotmanorAgent: Scalars['Boolean']['output']; deleteBucket: Scalars['Boolean']['output']; deleteBudget: Scalars['Boolean']['output']; deleteCalendar: Scalars['Boolean']['output']; deleteCalendarResource: Scalars['Boolean']['output']; deleteCargoItem: Scalars['Boolean']['output']; deleteChannelConnector: Scalars['Boolean']['output']; deleteChannelRoute: Scalars['Boolean']['output']; deleteClientPortalConfig: ClientPortalConfig; deleteCohort: Scalars['Boolean']['output']; /** Delete a collection */ deleteCollection: Scalars['Boolean']['output']; /** Delete configuration */ deleteConfiguration: Scalars['Boolean']['output']; deleteConfigurationItem: Scalars['Boolean']['output']; deleteConnection: Scalars['Boolean']['output']; /** Delete content index for a file */ deleteContentIndex: Scalars['Boolean']['output']; deleteConversation: DeleteConversationPayload; deleteCustomer: Scalars['Boolean']['output']; deleteDashboard: Scalars['Boolean']['output']; /** Delete a dashboard page */ deleteDashboardPage: Scalars['Boolean']['output']; /** * Delete the translation for a (dashboard, locale) pair. * Returns true if a row was removed, false if none existed. */ deleteDashboardTranslation: Scalars['Boolean']['output']; /** Delete a saved view */ deleteDashboardView: Scalars['Boolean']['output']; /** Delete a data sink (soft delete) */ deleteDataSink: DataSink; deleteDataSinkAlert: DataSink; deleteDataTable: DeleteConfigResponse; deleteDataTableRows: DataTableRowsMutationResponse; deleteDeliveryJob: Scalars['Boolean']['output']; /** Remove a component's deployment record for an environment. */ deleteDeployment: Scalars['Boolean']['output']; deleteDocsBuildImage: Scalars['Boolean']['output']; /** Delete a docs page */ deleteDocsPage: Scalars['Boolean']['output']; /** Delete a docs site */ deleteDocsSite: Scalars['Boolean']['output']; deleteDraft: DeleteDraftPayload; deleteDriver: Scalars['Boolean']['output']; deleteEmailTimeEntry: EmailTimeEntry; /** Delete a comment (soft delete by default) */ deleteEntityComment: Scalars['Boolean']['output']; deleteEvent: Scalars['Boolean']['output']; deleteEventFilter: Scalars['Boolean']['output']; deleteEventRegistration: Scalars['Boolean']['output']; deleteEventSchema: Scalars['Boolean']['output']; /** Delete an event webhook mapping */ deleteEventWebhookMapping: Scalars['Boolean']['output']; deleteExpense: Scalars['Boolean']['output']; /** * Delete expired shares (cleanup operation) * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ deleteExpiredShares: Scalars['Int']['output']; deleteExportJob: Scalars['Boolean']['output']; deleteExportTemplate: Scalars['Boolean']['output']; /** Delete file (soft delete) */ deleteFile: Scalars['Boolean']['output']; /** Delete a specific version (cannot delete current version) */ deleteFileVersion: Scalars['Boolean']['output']; /** * Delete one of the caller's filter presets. Fails with FILTER_PRESET_NOT_FOUND * when the preset does not exist in the request workspace or belongs to another * profile. */ deleteFilterPreset: Scalars['Boolean']['output']; deleteFocusScore: FocusScore; /** Delete folder (soft delete) */ deleteFolder: Scalars['Boolean']['output']; deleteFunnel: Scalars['Boolean']['output']; deleteGeofence: Geofence; /** BOFF-10615 — operator-only: deletes a commission rule; commissions already created keep their rate. */ deleteGgnomadAffiliateCommissionRule: Scalars['Boolean']['output']; /** Removes the mapping and clears any blocking availability slots its inbound sync had created. */ deleteGgnomadChannelMapping: Scalars['Boolean']['output']; /** BOFF-4378 — host only: removes a pricing rule. Returns true when it was removed. */ deleteGgnomadPricingRule: Scalars['Boolean']['output']; /** * BOFF-3128 — soft-deletes a provider profile (and its storefront) and frees its * ggnomad.provider.profiles quota slot. Rejected with PROVIDER_HAS_LIVE_LISTINGS * while the provider still owns a listing that is not ARCHIVED. Returns false * when the provider does not exist in this workspace. */ deleteGgnomadProvider: Scalars['Boolean']['output']; deleteGgnomadTravelPolicy: Scalars['Boolean']['output']; /** BOFF-10194 — creator of the plan only; returns false for a plan the caller does not own. */ deleteGgnomadTripPlan: Scalars['Boolean']['output']; /** Delete a global filter */ deleteGlobalFilter: Scalars['Boolean']['output']; /** Delete an edge */ deleteGraphEdge: Scalars['Boolean']['output']; /** Delete a node */ deleteGraphNode: Scalars['Boolean']['output']; deleteGroup: Scalars['Boolean']['output']; deleteGroupRule: Scalars['Boolean']['output']; deleteGroupSetting: Scalars['Boolean']['output']; deleteGroupTemplate: Scalars['Boolean']['output']; /** Delete an ad campaign (soft delete) */ deleteHeadshotmarketingAdCampaign: Scalars['Boolean']['output']; /** Delete an ad creative (soft delete) */ deleteHeadshotmarketingAdCreative: Scalars['Boolean']['output']; /** Delete an A/B creative test (soft delete; creatives are kept) */ deleteHeadshotmarketingAdCreativeTest: Scalars['Boolean']['output']; deleteHeadshotmarketingAdPlatformConnection: Scalars['Boolean']['output']; /** Delete an audience (soft delete) */ deleteHeadshotmarketingAudience: Scalars['Boolean']['output']; /** Soft-delete (archive) a workflow definition. */ deleteHeadshotmarketingAutomationWorkflow: Scalars['Boolean']['output']; /** Delete a campaign (soft delete) */ deleteHeadshotmarketingCampaign: Scalars['Boolean']['output']; /** Delete a campaign template (soft delete) */ deleteHeadshotmarketingCampaignTemplate: Scalars['Boolean']['output']; /** Delete a contact (soft delete) */ deleteHeadshotmarketingContact: Scalars['Boolean']['output']; /** Delete a deal (soft delete) */ deleteHeadshotmarketingDeal: Scalars['Boolean']['output']; /** Delete an influencer profile (soft delete) */ deleteHeadshotmarketingInfluencer: Scalars['Boolean']['output']; /** Delete an influencer campaign (soft delete) */ deleteHeadshotmarketingInfluencerCampaign: Scalars['Boolean']['output']; /** Delete an influencer relationship (soft delete) */ deleteHeadshotmarketingInfluencerRelationship: Scalars['Boolean']['output']; /** Delete a lead (soft delete) */ deleteHeadshotmarketingLead: Scalars['Boolean']['output']; /** Delete a pipeline (soft delete) */ deleteHeadshotmarketingPipeline: Scalars['Boolean']['output']; /** Delete a pipeline stage (soft delete) */ deleteHeadshotmarketingPipelineStage: Scalars['Boolean']['output']; /** Delete a social media account (soft delete) */ deleteHeadshotmarketingSocialAccount: Scalars['Boolean']['output']; /** Delete a social media post (soft delete) */ deleteHeadshotmarketingSocialPost: Scalars['Boolean']['output']; deleteHealthyBowlAnimal: Scalars['Boolean']['output']; deleteHealthyBowlAnimalGroup: Scalars['Boolean']['output']; deleteHealthyBowlAnimalWeight: Scalars['Boolean']['output']; deleteHealthyBowlAuction: Scalars['Boolean']['output']; deleteHealthyBowlAudit: Scalars['Boolean']['output']; deleteHealthyBowlBed: Scalars['Boolean']['output']; deleteHealthyBowlBreedingRecord: Scalars['Boolean']['output']; deleteHealthyBowlBudget: Scalars['Boolean']['output']; deleteHealthyBowlCarbonCredit: Scalars['Boolean']['output']; deleteHealthyBowlCertification: Scalars['Boolean']['output']; deleteHealthyBowlComplianceDocument: Scalars['Boolean']['output']; deleteHealthyBowlCompostBatch: Scalars['Boolean']['output']; deleteHealthyBowlContact: Scalars['Boolean']['output']; deleteHealthyBowlCostCenter: Scalars['Boolean']['output']; deleteHealthyBowlCrew: Scalars['Boolean']['output']; deleteHealthyBowlCrop: Scalars['Boolean']['output']; deleteHealthyBowlCsaPlan: Scalars['Boolean']['output']; deleteHealthyBowlDeliveryRoute: Scalars['Boolean']['output']; deleteHealthyBowlDiseaseWarningRule: Scalars['Boolean']['output']; deleteHealthyBowlEudrStatement: Scalars['Boolean']['output']; deleteHealthyBowlExpert: Scalars['Boolean']['output']; deleteHealthyBowlFarm: Scalars['Boolean']['output']; deleteHealthyBowlFarmEvent: Scalars['Boolean']['output']; deleteHealthyBowlFeedRecord: Scalars['Boolean']['output']; deleteHealthyBowlField: Scalars['Boolean']['output']; /** Soft-delete a field observation. */ deleteHealthyBowlFieldObservation: Scalars['Boolean']['output']; deleteHealthyBowlGardenCareTask: Scalars['Boolean']['output']; deleteHealthyBowlGardenHarvest: Scalars['Boolean']['output']; deleteHealthyBowlGardenInput: Scalars['Boolean']['output']; deleteHealthyBowlGardenObservation: Scalars['Boolean']['output']; deleteHealthyBowlGardenPlanting: Scalars['Boolean']['output']; deleteHealthyBowlGhgActivity: Scalars['Boolean']['output']; deleteHealthyBowlGovernmentScheme: Scalars['Boolean']['output']; /** Remove a grazing event recorded in error (soft delete). */ deleteHealthyBowlGrazingEvent: Scalars['Boolean']['output']; deleteHealthyBowlGrowSpace: Scalars['Boolean']['output']; deleteHealthyBowlHarvestRecord: Scalars['Boolean']['output']; deleteHealthyBowlHealthRecord: Scalars['Boolean']['output']; deleteHealthyBowlIcsGroup: Scalars['Boolean']['output']; deleteHealthyBowlIcsGrower: Scalars['Boolean']['output']; deleteHealthyBowlIcsInspection: Scalars['Boolean']['output']; deleteHealthyBowlInputPlan: Scalars['Boolean']['output']; deleteHealthyBowlInputPlanItem: HealthyBowlInputPlan; deleteHealthyBowlInsurancePolicy: Scalars['Boolean']['output']; deleteHealthyBowlInvoice: Scalars['Boolean']['output']; deleteHealthyBowlIrrigationAutomation: Scalars['Boolean']['output']; deleteHealthyBowlIrrigationSchedule: Scalars['Boolean']['output']; deleteHealthyBowlJournalEntry: Scalars['Boolean']['output']; deleteHealthyBowlLabourEntry: Scalars['Boolean']['output']; deleteHealthyBowlLedgerAccount: Scalars['Boolean']['output']; deleteHealthyBowlMapFeature: Scalars['Boolean']['output']; deleteHealthyBowlMarketplaceProduct: Scalars['Boolean']['output']; deleteHealthyBowlMedicationLibraryItem: Scalars['Boolean']['output']; deleteHealthyBowlMedicationTreatment: Scalars['Boolean']['output']; deleteHealthyBowlMentor: Scalars['Boolean']['output']; deleteHealthyBowlNurseryBatch: Scalars['Boolean']['output']; deleteHealthyBowlPestIssue: Scalars['Boolean']['output']; deleteHealthyBowlPlantCatalogEntry: Scalars['Boolean']['output']; /** Soft-delete a plant scan. */ deleteHealthyBowlPlantScan: Scalars['Boolean']['output']; deleteHealthyBowlPlantingActivity: Scalars['Boolean']['output']; deleteHealthyBowlPlantingPlan: Scalars['Boolean']['output']; deleteHealthyBowlPriceAlertRule: Scalars['Boolean']['output']; deleteHealthyBowlPriceWatch: Scalars['Boolean']['output']; deleteHealthyBowlProduct: Scalars['Boolean']['output']; deleteHealthyBowlProductionRecord: Scalars['Boolean']['output']; deleteHealthyBowlRecipe: Scalars['Boolean']['output']; deleteHealthyBowlResidueTest: Scalars['Boolean']['output']; deleteHealthyBowlSeedLot: Scalars['Boolean']['output']; deleteHealthyBowlSensorProbe: Scalars['Boolean']['output']; deleteHealthyBowlSoilTest: Scalars['Boolean']['output']; deleteHealthyBowlStorageLocation: Scalars['Boolean']['output']; deleteHealthyBowlStorageLot: Scalars['Boolean']['output']; deleteHealthyBowlSubstanceRule: Scalars['Boolean']['output']; deleteHealthyBowlSupplier: Scalars['Boolean']['output']; deleteHealthyBowlTerraceGarden: Scalars['Boolean']['output']; deleteHealthyBowlTraceBatch: Scalars['Boolean']['output']; deleteHealthyBowlTransaction: Scalars['Boolean']['output']; deleteHealthyBowlTreatment: Scalars['Boolean']['output']; deleteHealthyBowlVaccination: Scalars['Boolean']['output']; deleteHealthyBowlWholesaleOrder: Scalars['Boolean']['output']; deleteHealthyBowlWorker: Scalars['Boolean']['output']; /** Delete a saved yield scenario. */ deleteHealthyBowlYieldScenario: Scalars['Boolean']['output']; deleteHousingvistaAmcContract: Scalars['Boolean']['output']; deleteHousingvistaAreaInsight: Scalars['Boolean']['output']; deleteHousingvistaAsset: Scalars['Boolean']['output']; deleteHousingvistaExpense: Scalars['Boolean']['output']; deleteHousingvistaHomeLoanOffer: Scalars['Boolean']['output']; deleteHousingvistaInvestment: Scalars['Boolean']['output']; deleteHousingvistaLegalService: Scalars['Boolean']['output']; deleteHousingvistaMarketTrend: Scalars['Boolean']['output']; deleteHousingvistaMarketplaceService: Scalars['Boolean']['output']; deleteHousingvistaProperty: Scalars['Boolean']['output']; deleteHousingvistaRentalUnit: Scalars['Boolean']['output']; deleteHousingvistaTransaction: Scalars['Boolean']['output']; deleteHousingvistaVerificationItem: Scalars['Boolean']['output']; deleteIntegration: Scalars['Boolean']['output']; deleteInventoryItem: Scalars['Boolean']['output']; /** * Delete an invitation. * Workspace scope is read from gateway context (x-workspace-id header). */ deleteInvitation: Scalars['Boolean']['output']; deleteInvoice: Scalars['Boolean']['output']; deleteKnowledgeArticle: Scalars['Boolean']['output']; deleteKnowledgeBase: Scalars['Boolean']['output']; deleteLLMModel: Scalars['Boolean']['output']; deleteLLMProvider: Scalars['Boolean']['output']; deleteLicenseEntitlement: Scalars['Boolean']['output']; deleteLifeGoal: TimeCampusLifeGoal; deleteLifeValue: TimeCampusLifeValue; deleteLocationEntry: LocationEntry; deleteLogStreamDestination: DeleteConfigResponse; deleteMCPConnection: Scalars['Boolean']['output']; /** * Delete a plan. Records it already generated are KEPT and simply lose their * link — the service history is a fact, and deleting a schedule must never * delete the evidence that the work was done. */ deleteMaintenancePlan: Scalars['Boolean']['output']; /** * Delete an open MaintenanceRecord generated by a recurring plan. * Hand-raised records are not eligible. Completed records are immutable service * history and can never be deleted, even when they originated from a plan. * Deleting an open generated record does not refund monthly quota usage. */ deleteMaintenanceRecord: Scalars['Boolean']['output']; deleteMeeting: Scalars['Boolean']['output']; deleteMessage: DeleteMessagePayload; /** Delete metadata by ID */ deleteMetadata: Scalars['Boolean']['output']; /** Delete metadata by key */ deleteMetadataByKey: Scalars['Boolean']['output']; deleteMetric: Scalars['Boolean']['output']; deleteModifiedInstance: Scalars['Boolean']['output']; /** Soft-deletes the report and stops its schedule. Its past runs stay readable. */ deleteMtwReport: Scalars['Boolean']['output']; /** * Idempotent. An id never seen is recorded as a tombstone, so a late save cannot create it. Such tombstones are * rate-bounded per actor and workspace: past the bound the call fails with the retryable RATE_LIMIT_EXCEEDED and * nothing is written, so retry later rather than dropping the delete. The deleted conversation's content is purged * permanently 30 days after the delete (unless under a legal hold); its content-free tombstone is kept. */ deleteMyAssistantConversation: DeleteMyAssistantConversationPayload; /** Soft-delete one of the calling user's custom views. */ deleteMyNavView: Scalars['Boolean']['output']; deleteNode: Scalars['Boolean']['output']; /** Delete a node endpoint configuration (soft delete) */ deleteNodeEndpointConfig: DeleteConfigResponse; /** Delete a note */ deleteNote: Scalars['Boolean']['output']; /** Delete old AI tool events (cleanup) */ deleteOldAiToolEvents: Scalars['Int']['output']; /** Delete an operation configuration */ deleteOperationConfig: DeleteConfigResponse; deleteParser: Scalars['Boolean']['output']; deletePhysicalAudit: Scalars['Boolean']['output']; deletePipeline: Scalars['Boolean']['output']; deletePolicy: Scalars['Boolean']['output']; /** Delete an OPA policy reference */ deletePolicyReference: Scalars['Boolean']['output']; deletePomodoroGoal: Scalars['Boolean']['output']; /** Soft delete a project */ deleteProject: Scalars['Boolean']['output']; /** Delete a prompt generation record. */ deletePromptGeneration: Scalars['Boolean']['output']; deletePromptTemplate: Scalars['Boolean']['output']; /** * Remove an authentication method. Refuses to remove the last remaining method, * or one that active connections are still using. */ deleteProviderAuthMethod: IntegrationProvider; deleteReminder: Scalars['Boolean']['output']; deleteReport: Scalars['Boolean']['output']; deleteReportSchedule: Scalars['Boolean']['output']; deleteResourcePlan: ResourcePlan; deleteRetrievalProfile: Scalars['Boolean']['output']; /** Delete a role (optionally reassign members) */ deleteRole: Scalars['Boolean']['output']; deleteRoute: Scalars['Boolean']['output']; deleteRuleSet: Scalars['Boolean']['output']; deleteSandbox: Scalars['Boolean']['output']; /** Remove a runner. It is disconnected and its token stops working. */ deleteSandboxRunner: Scalars['Boolean']['output']; deleteSandboxTemplate: Scalars['Boolean']['output']; deleteSavedQuery: Scalars['Boolean']['output']; deleteScheduleTemplate: Scalars['Boolean']['output']; deleteScheduledJob: Scalars['Boolean']['output']; deleteSecret: Scalars['Boolean']['output']; deleteSecurityComplianceFramework: Scalars['Boolean']['output']; deleteSecurityGovernancePolicy: Scalars['Boolean']['output']; deleteServiceOffering: Scalars['Boolean']['output']; /** Soft-deletes the provider and its offerings. Shipments that already reference it keep the reference. */ deleteServiceProvider: Scalars['Boolean']['output']; /** Delete a settings secret by key. */ deleteSettingsSecret: Scalars['Boolean']['output']; deleteShipment: Scalars['Boolean']['output']; deleteSiemDestination: Scalars['Boolean']['output']; deleteSkill: Scalars['Boolean']['output']; deleteSoftwareAsset: Scalars['Boolean']['output']; deleteTag: Scalars['Boolean']['output']; deleteTagRelation: Scalars['Boolean']['output']; deleteTagRule: Scalars['Boolean']['output']; deleteTagSegment: Scalars['Boolean']['output']; deleteTagTranslation: Scalars['Boolean']['output']; deleteTarget: Scalars['Boolean']['output']; deleteTask: Task; /** Delete a queue; refused while open runs or activities use it (needs fluidgrids.self-hosted-workers). */ deleteTaskQueue: Scalars['Boolean']['output']; /** Delete a template */ deleteTemplate: Scalars['Boolean']['output']; /** * Remove a channel from the registry. Events it captured are kept (purge them * first if they should go too); a removed channel's id stays refused at * ingestion. Requires `confirm: true` (BOFF-3894). */ deleteTimeCampusCaptureChannel: TimeCampusCaptureChannel; /** * Soft-delete one of the caller's capture events. Requires `confirm: true` * (BOFF-3894): the UI sets it after the person confirms, and an AI agent must * ask the person first. */ deleteTimeCampusCaptureEvent: TimeCampusCaptureEvent; /** * Deletes a DRAFT invoice and releases its time entries back to the * un-invoiced pool. SENT/PAID invoices cannot be deleted (immutable record). */ deleteTimeCampusInvoiceDraft: Scalars['Boolean']['output']; deleteTimeCampusProject: TimeCampusProject; /** Self-scoped: delete one of the caller's triggers. */ deleteTimeCampusTimeTrigger: Scalars['Boolean']['output']; deleteTimeEntry: TimeEntry; deleteTransaction: Scalars['Boolean']['output']; /** Soft-delete a tunnel (stops it first if active, then sets deletedAt). */ deleteTunnel: Scalars['Boolean']['output']; /** * Delete a domain record. Must be detached first (unless it's a managed * subdomain never attached to anything). */ deleteTunnelDomain: Scalars['Boolean']['output']; deleteVault: Scalars['Boolean']['output']; deleteVaultIntegration: Scalars['Boolean']['output']; deleteVaultSyncConfig: Scalars['Boolean']['output']; deleteVehicle: Scalars['Boolean']['output']; /** * Permanently delete a vibe and all of its descendant vibes. * * By default the user-facing entities linked to the vibe (sessions, notes, * decks, actions, AI prompts/contexts, instruction files, tunnels) are * preserved and simply detached so no orphaned references remain. Set * `deleteRelatedEntities: true` to also delete those linked entities — an * explicit, irreversible opt-in. Intrinsic vibe-scoped records (agent * attachments, catalog membership, security scans, LLM-context state) are * always removed regardless of this flag. */ deleteVibe: Scalars['Boolean']['output']; deleteVibeCalendarTask: Scalars['Boolean']['output']; deleteVibeDeck: Scalars['Boolean']['output']; deleteVibeDeckButton: Scalars['Boolean']['output']; /** Delete a single environment variable from a vibe. Returns the full updated env var list. */ deleteVibeEnvVar: Array<VibeEnvVar>; /** * Delete an agent (removes it from the workspace). * * When `uninstallFromTarget` is true the backend additionally proxies * POST /api/agent/uninstall to the live agent FIRST — nuking all of its * on-disk state + @vibecontrols/* plugins and scheduling the agent package's * own removal from the host — before soft-deleting the workspace record. * * When `deleteTarget` is true the backend also deletes the Target this agent * is mapped to (`agent.targetId`). Because Target → Agent is ON DELETE * CASCADE, this hard-removes the agent (and any sibling agents on the same * target). Defaults to false. */ deleteVibecontrolsAgent: Scalars['Boolean']['output']; /** Soft-delete a profile (sets deletedAt). Cannot delete the default profile. */ deleteVibecontrolsAgentProfile: Scalars['Boolean']['output']; /** Delete a catalog (soft delete) */ deleteVibecontrolsCatalog: Scalars['Boolean']['output']; /** Delete a component (soft delete) */ deleteVibecontrolsComponent: Scalars['Boolean']['output']; /** Delete a scorecard template (soft delete). */ deleteVibecontrolsScorecardTemplate: Scalars['Boolean']['output']; /** Delete a template (soft delete) */ deleteVibecontrolsTemplate: Scalars['Boolean']['output']; deleteVocabulary: Scalars['Boolean']['output']; deleteWarehouse: Scalars['Boolean']['output']; /** Delete a webhook */ deleteWebhook: Scalars['Boolean']['output']; deleteWidget: Scalars['Boolean']['output']; /** Delete a widget action */ deleteWidgetAction: Scalars['Boolean']['output']; /** Delete a widget drill-down configuration */ deleteWidgetDrilldown: Scalars['Boolean']['output']; deleteWorkPattern: WorkPattern; /** Remove a worker token. Its workers are disconnected and it stops working. */ deleteWorkerToken: Scalars['Boolean']['output']; /** Delete a FluidGrids Workflow (soft delete) */ deleteWorkflow: Scalars['Boolean']['output']; deleteWorkflowDefinition: Scalars['Boolean']['output']; /** Deletes the folder. Its workflows are detached (folderId set to null), its children are re-parented to its own parent. */ deleteWorkflowFolder: Scalars['Boolean']['output']; /** Deletes the project. Its workflows are detached (projectId set to null), not deleted. */ deleteWorkflowProject: Scalars['Boolean']['output']; /** * Remove a rollout (audited WorkflowRolloutDeleted): every automatic start runs the ACTIVE version * again. Runs that upgraded to its target stay there until another version is activated. False when * there was none. */ deleteWorkflowRollout: Scalars['Boolean']['output']; /** * Permanently delete one finished workflow run and everything recorded for it: * node states and their inputs and outputs, run logs, execution logs, tool * approval and human-response requests, dead-letter entries and the webhook * delivery that started it. This cannot be undone. A run that is still pending, * running or waiting must be cancelled first. Returns true once the run is gone * (BOFF-9653). */ deleteWorkflowRun: Scalars['Boolean']['output']; /** * Permanently delete many finished workflow runs, by id or by the runs list's filter, and * everything recorded for each, exactly as deleteWorkflowRun deletes one. This cannot be undone. * Runs still pending, running or waiting are skipped and counted; cancel them first. At most 500 * runs per call; with a filter, call again while `hasMore` is true (BOFF-9731). */ deleteWorkflowRuns: DeleteWorkflowRunsResult; /** Delete a scheduled job (soft delete) */ deleteWorkflowScheduledJob: DeleteConfigResponse; /** * Delete a search attribute. Runs keep the values they carry; filters and writes refuse the name. * Needs fluidgrids.search-attributes. */ deleteWorkflowSearchAttribute: Scalars['Boolean']['output']; /** Delete a test case. Its past runs keep their results. */ deleteWorkflowTestCase: Scalars['Boolean']['output']; deleteWorkflowVariable: DeleteConfigResponse; /** * Soft delete a workspace (sets status to DELETED and populates deletedAt). * The workspace and its intra-service records remain recoverable during the * platform's documented 30-day retention / grace-period. After the retention * period a background purge may hard-delete the row and its cascaded records. * The workspace_audit_log row for this event is written after the soft delete * and is intentionally NOT foreign-keyed to Workspace so it survives eventual * purge (see WorkspaceAuditLog's schema doc-comment). */ deleteWorkspace: Scalars['Boolean']['output']; /** Delete a workspace resource */ deleteWorkspaceResource: Scalars['Boolean']['output']; /** Remove your applet from the marketplace; it leaves every workspace that installed it. */ delistTimeCampusAppletFromMarketplace: Scalars['Boolean']['output']; /** Operator-only: denies an UNDER_REVIEW claim with a required reason. */ denyGgnomadDamageClaim: GgnomadDamageClaim; /** * Drive a mesh deploy THROUGH a root agent: SSH/local-install a new agent on a * target and onboard it (fresh OAuth app + graph node + edge). The backend * proxies to the root agent's /api/profiles/<p>/mesh/deploy, which runs the * pipeline async and returns a job id. Poll `meshDeployJobStatus`. */ deployAgentViaMesh: AgentProxyResponse; /** Deploy any version of a workflow to its DEV environment. */ deployWorkflowVersionToDev: WorkflowEnvironments; /** Stop serving a tool set version. */ deprecateMcpToolSet: McpToolSet; /** Deprecate a template */ deprecateTemplate: BigConsoleDashboardTemplate; /** * Detach an agent from a vibe. Returns true when a row was removed; false * when the attachment did not exist. Existing sessions/tunnels that targeted * the agent are unaffected — they remain rooted on the agent independently. */ detachAgentFromVibe: Scalars['Boolean']['output']; detachCrewCandidateSkill: Scalars['Boolean']['output']; detachCrewSkill: Scalars['Boolean']['output']; detachEmployeeDocument: Scalars['Boolean']['output']; /** Detach a domain from its tunnel. The domain record remains for re-use. */ detachTunnelDomain: Tunnel; /** * Diagnose a plant photo with a real vision-model call, persist the scan, and * return the ranked diagnosis + organic-safe advisory. Falls back to a clearly * labelled rule-based heuristic when the model is disabled/unavailable. */ diagnoseHealthyBowlPlantScan: PlantScan; disableAssistantChannel: Scalars['Boolean']['output']; disableAssistantWebsite: Scalars['Boolean']['output']; disableDocsBuildImage: VibecontrolsDocsBuildImage; disableMaintenanceMode: MaintenanceModeStatus; disableProvider: IntegrationProvider; disableSchedule: ScheduledJob; discardDLQEntry: Scalars['Boolean']['output']; discardKnowledgeBackendMigration: Scalars['Boolean']['output']; disconnectAgentFromTarget: Scalars['Boolean']['output']; disconnectExternalCalendar: Scalars['Boolean']['output']; disconnectHeadshotmarketingIntegration: Scalars['Boolean']['output']; /** Disconnect a social media account (revoke tokens and mark disconnected) */ disconnectHeadshotmarketingSocialAccount: HeadshotmarketingSocialAccount; disconnectHealthyBowlAccountingIntegration: HealthyBowlAccountingIntegration; /** * Disconnect a channel: further events from it are refused. Already captured * events are kept. For an OAuth-backed channel the integration connection is * revoked as well. */ disconnectTimeCampusCaptureChannel: TimeCampusCaptureChannel; dismissHealthyBowlComplianceFlag: ComplianceFlag; /** Dismiss an open or snoozed suggestion with a reason (and an optional note of up to 500 characters). */ dismissOptimisationSuggestion: OptimisationSuggestion; dismissRecommendation: TimeCampusRecommendation; /** * Dismiss one of the caller's failure clusters. Later failures with the same * signature stay dismissed. */ dismissRunFailureCluster: RunFailureCluster; /** * HMAC-gated tick from the workspace's FluidGrids scheduled job. See * SupervisorTickInput for the trust boundary. */ dispatchBotmanorSupervisorTick: SupervisorRunResult; /** * FluidGrids callback: sync every connected accounting integration in the workspace whose * autoSyncDaily flag is on. Returns the number of integrations synced. * * Called anonymously by the workspace's daily accounting-sync cron over the internal gateway, so * it is authorized by an HMAC dispatch secret (HMAC-SHA256 of workspaceId keyed by * INTERNAL_SERVICE_TOKEN) rather than by a user token — the same shape as * dispatchHealthyBowlAuctionSweep. */ dispatchHealthyBowlAccountingSync: Scalars['Int']['output']; /** * FluidGrids callback: close every LIVE auction in the workspace whose endTime has passed, creating * each winner Order. Returns the number of auctions closed. * * Called anonymously by the workspace's auction-sweep cron over the internal gateway, so it is * authorized by an HMAC dispatch secret (HMAC-SHA256 of workspaceId keyed by INTERNAL_SERVICE_TOKEN) * rather than by a user token — the same shape as dispatchHealthyBowlWateringRun. */ dispatchHealthyBowlAuctionSweep: Scalars['Int']['output']; /** FluidGrids callback: send due confirmed-consultation reminders. Authorized by a per-workspace HMAC. */ dispatchHealthyBowlConsultReminderSweep: Scalars['Int']['output']; /** * FluidGrids callback: the flow's action node calls THIS to make the member-facing send. * Sends an IN_APP notification via global-notification-svc and stamps notificationSentAt. * Guarded by an HMAC(INTERNAL_SERVICE_TOKEN, csaDeliveryId) dispatchSecret (timing-safe * compare). Public so the unauthenticated node can reach it through the gateway. */ dispatchHealthyBowlCsaNotification: Scalars['Boolean']['output']; /** * Marks the route IN_PROGRESS, flips every stop's CsaDelivery to DISPATCHED, and triggers the * FluidGrids flow `healthybowl-csa-box-dispatch` (one run per member) over wspace-int-gateway. * Stores the WorkflowRun id on each CsaDelivery. Does NOT send the notification itself — the * flow calls back to dispatchHealthyBowlCsaNotification. */ dispatchHealthyBowlDeliveryRoute: DeliveryRoute; /** * FluidGrids callback: the flow's action node calls THIS to evaluate weather for the rule and, on a * threshold cross, notify the farmer. Guarded by an HMAC(INTERNAL_SERVICE_TOKEN, ruleId) * dispatchSecret (timing-safe). Public so the unauthenticated node can reach it through the gateway. */ dispatchHealthyBowlDiseaseWarning: Scalars['Boolean']['output']; /** * FluidGrids callback: fetch the day's Agmarknet mandi prices for the workspace, upsert the shared * reference cache, then evaluate the workspace's enabled alert rules. Called anonymously by the * workspace's daily ingest cron over the internal gateway, so it is authorized by an HMAC dispatch * secret rather than a user token — the same shape as `dispatchHealthyBowlAuctionSweep`. */ dispatchHealthyBowlMandiPriceIngest: IngestMandiPricesResult; /** * FluidGrids callback: the sensor-ingest webhook flow's action node calls THIS to persist a reading * through the public gateway (clears the internal-gateway SSRF / service-token blockers the * scopeType:"wspace" ingest mutation hits from an unauthenticated flow node — mirrors the * BOFF-2884 CSA and DEWS dispatch precedents). Guarded by an HMAC(INTERNAL_SERVICE_TOKEN, * workspaceId) dispatchSecret (timing-safe); on success it delegates to the exact same persist + * threshold-evaluate + alert path as ingestHealthyBowlSensorReading. Public so the unauthenticated * flow node can reach it through the gateway. */ dispatchHealthyBowlSensorReading: IngestSensorReadingResult; /** * FluidGrids callback: the flow's action node calls THIS to evaluate soil/weather for the * rule and log a WateringRun (source=automation, ran/skipped), then notify the farmer. * Guarded by an HMAC(INTERNAL_SERVICE_TOKEN, automationId) dispatchSecret (timing-safe * compare). Public so the unauthenticated node can reach it through the gateway. */ dispatchHealthyBowlWateringRun: Scalars['Boolean']['output']; disposeAsset: Asset; duplicateAIPrompt: AiPrompt; /** Duplicate an action with a new name */ duplicateAction: Action; /** Duplicate an existing collection */ duplicateCollection: Collection; /** * Duplicate a dashboard page into the same dashboard, with its widgets * (including their drilldowns, translations and actions). The copy is added * after the last page. The page is created in the same workspace as the source. */ duplicateDashboardPage: BigConsoleDashboardPage; duplicateEvent: CalendarEvent; /** Duplicate an existing campaign */ duplicateHeadshotmarketingCampaign: HeadshotmarketingCampaign; duplicatePromptTemplate: PromptTemplate; duplicateTimeEntry: TimeEntry; duplicateVibeDeck: VibeDeck; /** Duplicate a widget with optional new position and title */ duplicateWidget: BigConsoleWidget; /** * Duplicate a workflow to a new workflow key. * * Usage tracking: a duplicate under a brand-new workflowKey consumes one slot from * fluidgrids.workflows.count, charged by the service once the duplicate exists * (trackUsage is off, BOFF-10662). A failed duplicate (success: false) charges nothing. */ duplicateWorkflow: DuplicateWorkflowResponse; /** Accept an AI draft into the ledger (DRAFT -> RECORDED). Human-only. */ ecoAcceptCarbonEntryDraft: EcoCarbonEntry; ecoAddReportLineItem: EcoReportLineItem; /** * AI: draft carbon entries for a site and period, in status DRAFT only, each * with the chosen factor, the classified GHG scope, the computed CO2e and a * reference to the shared AI ledger run. Never verifies. Meters one AI credit. */ ecoAiDraftCarbonEntries: EcoAiDraftBatch; /** * Propose an OUTSIDE_RANGE threshold calibrated from the site's own history. * Read-only: nothing is saved; create it with ecoCreateThreshold after review. */ ecoAiProposeThreshold: EcoThresholdProposal; /** * AI: rank the workspace's emission factors for one activity, with a GHG scope * classification, a rationale and a confidence per candidate. Returns * noSuitableFactor instead of inventing a factor. Meters one AI credit. */ ecoAiSuggestEmissionFactor: EcoAiFactorSuggestion; /** * Triage a threshold alert for one reading: SENSOR_FAULT, REAL_EVENT or * INSUFFICIENT_DATA, with the signals and measurement ids behind the verdict. * Never changes the sensor; a high-confidence fault returns a proposedAction * for a human to apply with ecoSetSensorStatus. */ ecoAiTriageAlert: EcoAlertTriageResult; /** * Apply a staged ingestion record: normalize it and write the resulting domain * entity (EcoMeasurement, EcoSpecies, EcoEmissionFactor) into the workspace. */ ecoApplyIngestionRecord: EcoIngestionRecord; /** Approve a report that is IN_REVIEW. Resumes the associated workflow run. */ ecoApproveReport: EcoReport; ecoArchiveDataSource: Scalars['Boolean']['output']; /** Soft-delete an asset. Its readings are cascade-removed with it. */ ecoArchiveEnergyAsset: Scalars['Boolean']['output']; /** * Archive (soft-delete) a grant in the current workspace. An id from another * workspace, or one already archived, is NOT_FOUND. Returns true on success. */ ecoArchiveGrant: Scalars['Boolean']['output']; ecoArchiveGrantFunder: Scalars['Boolean']['output']; ecoArchiveGrantMilestone: Scalars['Boolean']['output']; /** * Archive (soft-delete) a habitat project / conservation program in the current * workspace. The project drops out of `ecoListHabitatProjects` / `ecoHabitatProject`, * stops counting against `ecoimpacthub.programs.count`, and its restoration * activities are archived with it. An id from another workspace, or one already * archived, is NOT_FOUND. Returns true on success. */ ecoArchiveHabitatProject: Scalars['Boolean']['output']; /** * Soft archive a workspace-owned material loop. Its historical flows stay * readable; new flows cannot be recorded against it. */ ecoArchiveMaterialLoop: Scalars['Boolean']['output']; /** Soft archive a workspace-owned metric without refunding monthly usage. */ ecoArchiveMetric: Scalars['Boolean']['output']; /** * Archive a report owned by the current workspace. This is a soft delete that * removes the report from active reads. It does not refund monthly generation usage. */ ecoArchiveReport: Scalars['Boolean']['output']; ecoArchiveSite: Scalars['Boolean']['output']; ecoArchiveSpecies: Scalars['Boolean']['output']; /** * Soft archive a workspace-owned waste stream. Its historical records stay * readable; new records cannot be logged against it. */ ecoArchiveWasteStream: Scalars['Boolean']['output']; /** * Cancel the remaining volume of a credit (registry burn). Retirement history * is preserved; cancelled credits are terminal. */ ecoCancelCarbonCredit: EcoCarbonCredit; ecoCancelDeadline: EcoDeadline; ecoCheckAiCredits: Scalars['Boolean']['output']; /** Complete an IN_PROGRESS audit; records findingsSummary/score and completedAt. */ ecoCompleteAudit: EcoAudit; ecoCompleteDeadline: EcoDeadline; ecoCreateAudit: EcoAudit; ecoCreateCorrectiveAction: EcoCorrectiveAction; ecoCreateCreditMethodology: EcoCreditMethodology; ecoCreateCreditVintage: EcoCreditVintage; ecoCreateDataSource: EcoDataSource; ecoCreateDeadline: EcoDeadline; /** * Enable (or rotate) a grant's donor portal share link. The previous link, if * any, stops working immediately. `token` and `portalUrl` are returned ONCE. */ ecoCreateDonorPortalLink: EcoDonorPortalLinkResult; ecoCreateEhsPermit: EcoEhsPermit; ecoCreateEmissionFactor: EcoEmissionFactor; ecoCreateEnergyAsset: EcoEnergyAsset; ecoCreateGrant: EcoGrant; ecoCreateGrantFunder: EcoGrantFunder; ecoCreateGrantMilestone: EcoGrantMilestone; ecoCreateHabitatProject: EcoHabitatProject; ecoCreateIncident: EcoIncident; /** * Model a material loop: the circular flow of one material through * input -> use -> recovery -> reuse stages. */ ecoCreateMaterialLoop: EcoMaterialLoop; /** * Strictly create a canonical metric. An archived matching identity is revived; * an active matching identity is rejected. Successful calls consume any * caller-owned non-reusable create quota and archive never refunds it. */ ecoCreateMetric: EcoMetric; ecoCreateObligation: EcoComplianceObligation; ecoCreatePermit: EcoPermit; ecoCreateReductionTarget: EcoReductionTarget; ecoCreateReport: EcoReport; ecoCreateRisk: EcoRisk; ecoCreateSensor: EcoSensor; ecoCreateSite: EcoSite; ecoCreateSpecies: EcoSpecies; ecoCreateThreshold: EcoAlertThreshold; /** * Define a waste stream (what leaves the organisation, per site or * workspace-wide) that waste records are logged against. */ ecoCreateWasteStream: EcoWasteStream; /** Soft delete a workspace-owned loop flow (a logging correction). */ ecoDeleteMaterialLoopFlow: Scalars['Boolean']['output']; /** Soft delete a workspace-owned waste record (a logging correction). */ ecoDeleteWasteRecord: Scalars['Boolean']['output']; /** * Run one deadline-reminder pass: every deadline whose remindAt has passed * and that has not been reminded yet gets one in-app notification via * global-notification-svc. The in-process worker (src/lib/deadlineReminders.ts) * calls the same service path on its tick; this mutation lets a workspace * admin force a dispatch without waiting for it. */ ecoDispatchDeadlineReminders: EcoDeadlineReminderDispatchResult; /** * Import a batch of meter readings (CSV-style import or meter API backfill). * Lines whose externalRef already exists are skipped, not duplicated; * invalid lines are reported by index and never abort the batch. */ ecoImportEnergyReadings: EcoEnergyReadingImportResult; /** * Mint serial-numbered credits from a vintage. Total issuance is capped at the * vintage estimate; the vintage moves OPEN -> PARTIALLY_ISSUED -> FULLY_ISSUED. */ ecoIssueCarbonCredits: Array<EcoCarbonCredit>; ecoLogAiPrompt: EcoAiAuditLog; ecoLogAiResponse: EcoAiAuditLog; ecoLogRestorationActivity: EcoRestorationActivity; ecoPublishReport: EcoReport; /** * Record a carbon ledger entry; CO2e is computed from the activity value and * the referenced emission factor (when one is provided). */ ecoRecordCarbonEntry: EcoCarbonEntry; /** * Record one meter reading. For METER_API / IMPORT sources, externalRef is * required and a duplicate externalRef in the workspace is a CONFLICT, * making repeated pushes and re-imports idempotent. */ ecoRecordEnergyReading: EcoEnergyReading; /** * Record a flow quantity passing through one stage of a material loop in a * period. */ ecoRecordMaterialLoopFlow: EcoMaterialLoopFlow; /** * Record a measurement; the value is evaluated against active thresholds for * the site + parameter and flagged as a breach when it drifts out of range. */ ecoRecordMeasurement: EcoMeasurement; ecoRecordObservation: EcoObservation; /** * Log a quantity of waste for a stream in a period with its disposal route — * the input diversion-rate tracking aggregates. */ ecoRecordWaste: EcoWasteRecord; /** Reject an AI draft with a reason; the draft is archived. Human-only. */ ecoRejectCarbonEntryDraft: Scalars['Boolean']['output']; /** * Reject a report that is IN_REVIEW. Resumes the associated workflow run * with a rejection payload. */ ecoRejectReport: EcoReport; /** * Renew a permit: moves it back to ACTIVE and pushes expiresAt out by the * given number of years from the previous expiry (or from now when none). */ ecoRenewEhsPermit: EcoEhsPermit; ecoReportAiTokenUsage: Scalars['Boolean']['output']; /** * Permanently retire credit volume with a reason and optional public * beneficiary. Appends to the retirement ledger; fully retired credits become * non-transferable. */ ecoRetireCarbonCredits: EcoCreditRetirement; /** * Revoke a grant's donor portal share link. The link stops working immediately; * enabling again later mints a fresh secret. */ ecoRevokeDonorPortalLink: Scalars['Boolean']['output']; /** Advance an action through OPEN -> IN_PROGRESS -> COMPLETED (sets completedAt) -> VERIFIED. */ ecoSetCorrectiveActionStatus: EcoCorrectiveAction; /** * Lifecycle for a methodology: DRAFT -> ACTIVE -> RETIRED (RETIRED is terminal). * Only ACTIVE methodologies accept new vintages and credit issuance. */ ecoSetCreditMethodologyStatus: EcoCreditMethodology; ecoSetEhsPermitStatus: EcoEhsPermit; /** * Set the workspace grid baseline. The new baseline becomes the active one; * any previously active baseline is closed (validTo = validFrom - 1 day, * isActive = false). Avoided-emissions calculations use the active baseline * whose validity window covers the period. */ ecoSetEnergyGridBaseline: EcoEnergyGridBaseline; /** Advance an incident through REPORTED -> UNDER_INVESTIGATION -> ACTION_REQUIRED -> CLOSED. */ ecoSetIncidentStatus: EcoIncident; /** * Drive the obligation lifecycle (OPEN -> IN_PROGRESS -> FULFILLED/OVERDUE, * or WAIVED). Setting FULFILLED stamps fulfilledAt; leaving it clears it. */ ecoSetObligationStatus: EcoComplianceObligation; /** * Drive the permit lifecycle. SUBMITTED stamps submittedAt, APPROVED stamps * approvedAt; moving away from those states clears the corresponding stamp. * UNDER_REVIEW keeps the original submittedAt — the application was * submitted once. */ ecoSetPermitStatus: EcoPermit; ecoSetReductionTargetStatus: EcoReductionTarget; /** Update a sensor's operational status (e.g. flag it OFFLINE / MAINTENANCE). */ ecoSetSensorStatus: EcoSensor; ecoSetThresholdActive: EcoAlertThreshold; /** Move a SCHEDULED audit to IN_PROGRESS. */ ecoStartAudit: EcoAudit; /** * Submit a draft report for approval. Creates/uses a wspace-workflow-svc * sign-off workflow and puts the report into IN_REVIEW. */ ecoSubmitReportForApproval: EcoReport; /** * Move credit volume to another workspace account. Omitting quantityTco2e (or * passing the full remaining volume) reassigns the whole credit; a partial * quantity splits a new credit off for the transferred volume. */ ecoTransferCarbonCredit: EcoCarbonCredit; /** Advance a grant through its lifecycle (validated transitions). */ ecoTransitionGrant: EcoGrant; /** * Advance a milestone through its lifecycle (validated transitions). * ACHIEVED sets achievedAt. */ ecoTransitionGrantMilestone: EcoGrantMilestone; /** Advance a habitat project through its lifecycle (validated transitions). */ ecoTransitionHabitatProject: EcoHabitatProject; /** * Trigger an ingestion job for a configured data source. Runs synchronously for * demo-seeding volumes; the returned job carries counts and status. */ ecoTriggerIngestion: EcoIngestionJob; ecoUpdateAudit: EcoAudit; ecoUpdateCorrectiveAction: EcoCorrectiveAction; ecoUpdateDataSource: EcoDataSource; ecoUpdateDeadline: EcoDeadline; ecoUpdateEhsPermit: EcoEhsPermit; /** * Update an asset. Status transitions: PLANNED -> ACTIVE -> MAINTENANCE -> * ACTIVE, and anything except RETIRED -> RETIRED (terminal). */ ecoUpdateEnergyAsset: EcoEnergyAsset; ecoUpdateGrant: EcoGrant; ecoUpdateGrantFunder: EcoGrantFunder; ecoUpdateGrantMilestone: EcoGrantMilestone; ecoUpdateIncident: EcoIncident; ecoUpdateMaterialLoop: EcoMaterialLoop; ecoUpdateMetric: EcoMetric; ecoUpdateObligation: EcoComplianceObligation; ecoUpdatePermit: EcoPermit; ecoUpdateRisk: EcoRisk; ecoUpdateSite: EcoSite; ecoUpdateSpecies: EcoSpecies; ecoUpdateWasteStream: EcoWasteStream; ecoUpsertMetric: EcoMetric; /** * Verify a carbon entry. Human-only: service, app and delegated-agent callers * are refused (FORBIDDEN), and an AI draft must be accepted first (CONFLICT). */ ecoVerifyCarbonEntry: EcoCarbonEntry; editMessage: Message; /** Emit a widget event (triggers webhook if configured) */ emitWidgetEvent: BigConsoleWidgetEventLog; enableMaintenanceMode: MaintenanceModeStatus; enableProvider: IntegrationProvider; endCall: CallSession; /** End the series now, or after the given local date; future occurrences beyond it are removed. */ endCrewShiftPattern: CrewShiftPatternResult; /** Record the exit — the second timestamp duration and rest are both derived from. */ endHealthyBowlGrazingMove: HealthyBowlGrazingEvent; /** End (COMPLETED or ABANDONED) the caller's own focus session. */ endTimeCampusFocusSession: TimeCampusFocusSession; enrollHealthyBowlCsaMember: CsaMembership; /** * Find-or-create the workspace's connection for a WORKSPACE_APP_TOKEN provider * (e.g. bigconsole). Idempotent zero-config provisioning — no user OAuth or * stored secret; the connection mints a per-workspace token on demand. */ ensureAppConnection: IntegrationConnection; /** * Idempotently ensure a folder exists at the given absolute path, creating * missing ancestors along the way. Path is `/`-separated, e.g. * `/Vibecontrols/AI Assistant/Artifacts`. Returns the leaf folder. Safe to * call concurrently with the same path — the underlying unique constraint * on `(workspaceId, parentFolderId, name)` collapses races. * * Used by SaveToFilesButton (fe-libs/storage) to pre-create per-module * default folders on first save. */ ensureFolderByPath: Folder; /** Seed the workspace's default chart of accounts the first time accounting is opened (idempotent). */ ensureHealthyBowlChartOfAccounts: Array<HealthyBowlLedgerAccount>; /** * Assign a free-form label to an entity, resolving-or-creating a tags-svc-owned * vocabulary (by `vocabularyKey`) and tag (by slugified `label`), then upserting * the assignment. Idempotent on (entityType, entityId, tag) — re-calling with the * same input returns the existing assignment without creating duplicates. * * INTERNAL / M2M: restricted to `service` actors. This is the delegation path for * services that hold free-form string labels (e.g. Conversation.tags, ProductTag) * and cannot call `assignTag`, which requires a pre-existing tagId + vocabularyId * the caller does not own. workspaceId is derived authoritatively from the * gateway-injected workspace context — it is never taken from the input. */ ensureTagAssignment: UniversalTagAssignment; /** * Erase every BotManor record of the calling workspace now: agents, apps, * executions, knowledge bases with their vectors and stored artifacts, * conversations kept by BotManor, policies, connections and settings. * Irreversible. `confirmWorkspaceId` must repeat the calling workspace's id. * Requires permission to delete the workspace. */ eraseBotmanorWorkspaceData: BotmanorWorkspaceErasure; /** * Erase every PlanMagnet record of the request's workspace, immediately (admin; DPA §7). The confirmation * argument must restate the workspace id. Irreversible — the erasure row with per-model counts is kept. */ erasePlanmagnetWorkspaceData?: Maybe<PlanmagnetWorkspaceErasure>; /** * Erase the subject's files-layer data. With dryRun=true, returns counts * without mutating. Files owned by the subject are tombstoned (soft-deleted) * and their S3 objects scheduled for purge. File rows that have legal-hold * flags are retained and reported in `retainedForLegalReason`. */ eraseSubject: FilesEraseResult; /** Escalate a stressed zone into an existing HealthyBowl Pest issue or a field activity (task). */ escalateHealthyBowlStressedZone: HbStressedZoneEscalation; escalateIncident: Incident; /** * Apply one suggested agenda fix (room, time or capacity) to a session. Refused * unless confirm is true, and refused when the change would create a new room * or speaker clash. */ eventfullyManagedApplyAgendaFix: EventfullyManagedEventSession; eventfullyManagedCreateAttendee: EventfullyManagedAttendee; eventfullyManagedCreateBadgeTemplate: EventfullyManagedBadgeTemplate; eventfullyManagedCreateCheckInRecord: EventfullyManagedCheckInRecord; eventfullyManagedCreateCheckInStation: EventfullyManagedCheckInStation; eventfullyManagedCreateEvent: EventfullyManagedEvent; eventfullyManagedCreateEventFromTemplate: EventfullyManagedEvent; eventfullyManagedCreateEventSession: EventfullyManagedEventSession; eventfullyManagedCreateExhibitor: EventfullyManagedExhibitor; eventfullyManagedCreateFloorPlan: EventfullyManagedFloorPlan; /** * Register a new CRM/marketing-automation connector. Encrypts and stores * the access token, then performs a REAL live connectivity check against * the provider's API before returning — the connector is created either * way (so the credential can be corrected later) but its `status` reflects * what actually happened: CONNECTED on a verified live token, ERROR with * the provider's real error message otherwise. */ eventfullyManagedCreateIntegrationConnector: EventfullyManagedIntegrationConnector; eventfullyManagedCreateLead: EventfullyManagedLead; eventfullyManagedCreateManualCheckIn: EventfullyManagedCheckInRecord; eventfullyManagedCreateMeeting: EventfullyManagedMeeting; eventfullyManagedCreateNetworkingMatch: EventfullyManagedNetworkingMatch; eventfullyManagedCreateNetworkingProfile: EventfullyManagedNetworkingProfile; eventfullyManagedCreatePromoCode: EventfullyManagedPromoCode; eventfullyManagedCreateRegistration: EventfullyManagedRegistration; eventfullyManagedCreateSpeaker: EventfullyManagedSpeaker; eventfullyManagedCreateSponsor: EventfullyManagedSponsor; eventfullyManagedCreateTicketType: EventfullyManagedTicketType; eventfullyManagedCreateVenue: EventfullyManagedVenue; eventfullyManagedDeleteAttendee: Scalars['Boolean']['output']; eventfullyManagedDeleteAutomationRule: Scalars['Boolean']['output']; eventfullyManagedDeleteBadgeTemplate: Scalars['Boolean']['output']; eventfullyManagedDeleteCheckInRecord: Scalars['Boolean']['output']; eventfullyManagedDeleteCheckInStation: Scalars['Boolean']['output']; eventfullyManagedDeleteEvent: Scalars['Boolean']['output']; eventfullyManagedDeleteEventSession: Scalars['Boolean']['output']; eventfullyManagedDeleteEventTemplate: Scalars['Boolean']['output']; eventfullyManagedDeleteExhibitor: Scalars['Boolean']['output']; eventfullyManagedDeleteFloorPlan: Scalars['Boolean']['output']; /** Remove a connector (soft-delete). Does not affect past sync run history. */ eventfullyManagedDeleteIntegrationConnector: Scalars['Boolean']['output']; eventfullyManagedDeleteLead: Scalars['Boolean']['output']; eventfullyManagedDeleteMeeting: Scalars['Boolean']['output']; eventfullyManagedDeleteNetworkingMatch: Scalars['Boolean']['output']; eventfullyManagedDeleteNetworkingProfile: Scalars['Boolean']['output']; eventfullyManagedDeletePromoCode: Scalars['Boolean']['output']; eventfullyManagedDeleteRegistration: Scalars['Boolean']['output']; eventfullyManagedDeleteSpeaker: Scalars['Boolean']['output']; eventfullyManagedDeleteSponsor: Scalars['Boolean']['output']; eventfullyManagedDeleteTicketType: Scalars['Boolean']['output']; eventfullyManagedDeleteVenue: Scalars['Boolean']['output']; eventfullyManagedDeleteWorkflowTemplate: Scalars['Boolean']['output']; /** * End a virtual session outright (host-only). Marks all active participants * as left. */ eventfullyManagedEndVirtualSession: EventfullyManagedVirtualSession; /** * BOFF-4551 — enqueue a native badge print job (kiosk "print on check-in" * flow + manual reprints). Resolves the registration's badge (event default * template fallback), renders the payload (ZPL II command text for thermal * label printers, or base64 PDF for office printing), auto-creates/updates * the tracking `Badge` row and bumps `printCount`/`lastPrintedAt` exactly * like `eventfullyManagedBadgePdf`. Idempotent within a 60s window per * (registration, station, format): a kiosk double-scan does not queue two * prints. A venue print agent polls `eventfullyManagedBadgePrintJobs` for * the returned PENDING job, streams `payload` to the printer, then confirms * via `eventfullyManagedMarkBadgePrintJobPrinted` (or reports via * `eventfullyManagedMarkBadgePrintJobFailed`). */ eventfullyManagedEnqueueBadgePrint: EventfullyManagedBadgePrintJob; eventfullyManagedEraseAttendeePersonalData: Scalars['Boolean']['output']; eventfullyManagedEraseLeadPersonalData: Scalars['Boolean']['output']; eventfullyManagedEraseSpeakerPersonalData: Scalars['Boolean']['output']; eventfullyManagedForecastAttendance: EventfullyManagedAttendanceForecast; /** * Creates (or updates the template binding of) the tracking `Badge` row for a * registration. Idempotent — re-calling for the same registration updates * `templateId` rather than creating a duplicate (Badge.registrationId is * unique) and never resets `generatedAt`/`printCount`. Falls back to the * event's default `BadgeTemplate` (`isDefault: true`) when `templateId` is * omitted; throws if neither is available. */ eventfullyManagedGenerateBadge: EventfullyManagedBadge; /** * BOFF-4321 — deterministic matchmaking engine (v1: interest/lookingFor * overlap scoring — see NetworkingMatchingService doc comment for the exact * formula and why this ships instead of an LLM call). Scores every pair of * opted-in (non-private) NetworkingProfiles at the event, upserts a * NetworkingMatch row per pair that clears the minimum-signal threshold (score * > 0), and returns the full generated/updated set ordered by score desc. * Never creates a Meeting — matches stay suggestions until an attendee books * one explicitly. Returns an empty list (not fabricated pairings) when the * event has fewer than 5 opted-in profiles. */ eventfullyManagedGenerateNetworkingMatches: EventfullyManagedNetworkingMatchList; /** * Host a NEW virtual session for an event (MEETING or WEBINAR mode). Fails * if a session is already ACTIVE for the same (eventId, eventSessionId) — * join it instead via `eventfullyManagedJoinVirtualSession`. */ eventfullyManagedHostVirtualSession: EventfullyManagedVirtualSession; /** * Join an event's active virtual session as the calling actor. Creates the * session (as MEETING host) if none is ACTIVE yet — mirrors the platform's * established "join creates if absent" pattern for bounded WebRTC channels. * Idempotent: re-joining while already an active participant just returns * the current session. WEBINAR-mode attendees join as ATTENDEE (viewer); * the session's existing HOST/PRESENTER roles are unaffected. */ eventfullyManagedJoinVirtualSession: EventfullyManagedVirtualSession; /** * Leave the calling actor's own active participation in a virtual session. * Ends the session once the last participant leaves. */ eventfullyManagedLeaveVirtualSession: Scalars['Boolean']['output']; /** * Records a failed print attempt against a PENDING job. After the attempt * budget (3) the job flips to FAILED with the last error and stops being * polled; a `null` error keeps the current message. */ eventfullyManagedMarkBadgePrintJobFailed: EventfullyManagedBadgePrintJob; /** * Confirms a PENDING print job reached the printer. Idempotent when already * PRINTED; refuses terminal FAILED/CANCELED jobs. */ eventfullyManagedMarkBadgePrintJobPrinted: EventfullyManagedBadgePrintJob; eventfullyManagedPredictNoShows: EventfullyManagedNoShowPrediction; /** * Promote another active participant to PRESENTER (WEBINAR mode). Only the * session's HOST may promote; enforced in the resolver, not just the * gateway's workspace-membership check. */ eventfullyManagedPromoteVirtualPresenter: EventfullyManagedVirtualParticipant; eventfullyManagedPublishAnnouncement: EventfullyManagedSimpleEntity; eventfullyManagedRegisterForSession: EventfullyManagedSessionRegistration; eventfullyManagedResolveAgendaConflicts: EventfullyManagedAgendaConflictResolution; /** Retire a derived snapshot while retaining its historical payload in storage. */ eventfullyManagedRetireAnalyticsSnapshot: Scalars['Boolean']['output']; /** Retire this local automation configuration, not its platform-owned workflow. */ eventfullyManagedRetireAutomationRule: Scalars['Boolean']['output']; /** Retire this local workflow reference, not the platform-owned workflow. */ eventfullyManagedRetireWorkflowTemplate: Scalars['Boolean']['output']; eventfullyManagedRightSizeSessions: EventfullyManagedCapacityRightSizing; eventfullyManagedSaveEventTemplate: EventfullyManagedEventTemplate; eventfullyManagedScanCheckIn: EventfullyManagedCheckInRecord; eventfullyManagedSendCommunicationCampaign: EventfullyManagedSimpleEntity; /** * Relay a WebRTC signaling message (SDP offer/answer or ICE candidate) from * the calling actor to another active participant in the same session. Both * parties must be active participants — enforced in the resolver, not just * at the gateway. Fire-and-forget: delivered via * `eventfullyManagedVirtualSignal` subscription. */ eventfullyManagedSendVirtualSignal: Scalars['Boolean']['output']; /** Toggle the calling actor's own mute state within a session. */ eventfullyManagedSetVirtualMute: EventfullyManagedVirtualParticipant; /** Toggle the calling actor's own camera state within a session. */ eventfullyManagedSetVirtualVideo: EventfullyManagedVirtualParticipant; /** * Sync an event's attendee + lead records to the connector as CRM contacts * (upsert by email). Creates a EventfullyManagedIntegrationSyncRun record * and performs REAL HTTP calls to the provider's API — bounded to a sane * batch size per call and a sane total-record cap per run (see * IntegrationService for the exact limits). */ eventfullyManagedSyncAttendeesToConnector: EventfullyManagedIntegrationSyncRun; eventfullyManagedUnregisterFromSession: Scalars['Boolean']['output']; eventfullyManagedUpdateAttendee: EventfullyManagedAttendee; eventfullyManagedUpdateBadgeTemplate: EventfullyManagedBadgeTemplate; eventfullyManagedUpdateCheckInRecord: EventfullyManagedCheckInRecord; eventfullyManagedUpdateCheckInStation: EventfullyManagedCheckInStation; eventfullyManagedUpdateEvent: EventfullyManagedEvent; eventfullyManagedUpdateEventSession: EventfullyManagedEventSession; eventfullyManagedUpdateExhibitor: EventfullyManagedExhibitor; eventfullyManagedUpdateFloorPlan: EventfullyManagedFloorPlan; eventfullyManagedUpdateLead: EventfullyManagedLead; eventfullyManagedUpdateMeeting: EventfullyManagedMeeting; eventfullyManagedUpdateNetworkingMatch: EventfullyManagedNetworkingMatch; eventfullyManagedUpdateNetworkingProfile: EventfullyManagedNetworkingProfile; eventfullyManagedUpdatePromoCode: EventfullyManagedPromoCode; eventfullyManagedUpdateRegistration: EventfullyManagedRegistration; eventfullyManagedUpdateSpeaker: EventfullyManagedSpeaker; eventfullyManagedUpdateSponsor: EventfullyManagedSponsor; eventfullyManagedUpdateTicketType: EventfullyManagedTicketType; eventfullyManagedUpdateVenue: EventfullyManagedVenue; eventfullyManagedUpsertAnalyticsSnapshot: EventfullyManagedSimpleEntity; eventfullyManagedUpsertAnnouncement: EventfullyManagedSimpleEntity; eventfullyManagedUpsertAutomationRule: EventfullyManagedSimpleEntity; eventfullyManagedUpsertCommunicationCampaign: EventfullyManagedSimpleEntity; eventfullyManagedUpsertWorkflowTemplate: EventfullyManagedSimpleEntity; /** Execute an action (creates an ActionExecution record) */ executeAction: ActionExecution; /** * Execute an API call / command on ANY agent in the mesh, possibly via * intermediate hops. The backend resolves the ROOT agent (must be directly * reachable + authorized), computes the hop path to `destinationAgentId` from * the active mesh-link graph (or re-validates a supplied `hops` list — never * trusts it), verifies EVERY hop is inside the caller's authorization boundary * (workspace + ownerUserId), then POSTs the chain to the root agent's * /api/profiles/<p>/mesh/forward. Single-hop falls back to the direct proxy. * Backs run-command, plugin list/install, logs snapshot, health, files, AI. */ executeAgentMeshRequest: AgentProxyResponse; /** Machine-only execution of a single server-admitted turn. Cannot override its owner or prompt. */ executeAssistantTurn: AssistantTurnExecution; executeCalendarSync: ExecuteSyncResult; executeGroupAction: GroupActionResult; executeJobNow: JobExecution; executeParser: ParserExecutionResult; executePipeline: PipelineExecution; executePromptNow: PromptResult; /** * F12 phase 2 — server-to-server entrypoint for a scheduled prompt * execution. Called by wspace-scheduler-svc's `InternalAPIWorker` when a * job with `executorType: GRAPHQL` + `executorConfig.operation: * "executeScheduledPrompt"` fires. The scheduler row stores ONLY * `{ agentId, profile, sessionId, prompt }` — no agent secrets at rest. * * Admission: * - `@rbac` enforces `action: invoke` on `agent`. Trusted scheduler * service-account is admitted at the gateway; the resolver additionally * fails closed for any other `service`-type caller. * - The agent must belong to the caller's `x-workspace-id` workspace. * * Returns the dispatch outcome. A non-2xx agent response surfaces as * `{ success: false, statusCode }` so the scheduler can record a * `JobExecution.status=FAILED` row and retry per its DLQ policy. Hard * errors (agent offline, ticket mint failure, forbidden) throw. */ executeScheduledPrompt: ScheduledPromptResult; /** * Execute a button via share token (PUBLIC — no auth required). * Only works if the share link has EXECUTE permission. */ executeSharedVibeDeckButton: VibeDeckButtonExecution; /** * Execute only one node with reusable upstream TEST data. The service creates a * new TEST run, snapshots compatible completed states and pinned data, and * dispatches only unresolved ancestors plus the target. This mutation is not * decorated with `@usage`: debug executions are excluded from production run * quota accounting by design. */ executeStep: ExecuteStepResponse; /** * Execute one approved transform in an isolated, limit-enforced worker. * * Gated on `sandbox`/`update`, the same pair as `runSandboxScript` — both * execute caller-supplied code inside a sandbox, so they carry the same * authority. There is deliberately no bespoke `transform` action: the RBAC * action catalogue (`wspace-rbac-svc` `prisma/seed-unified-rbac.ts`) defines * only admin/create/delete/read/update for `sandbox`, and an action that is * absent from the catalogue resolves to default-deny at the gateway. */ executeTransform: TransformRuntimeResult; executeVibeDeckButton: VibeDeckButtonExecution; /** * Execute a workflow by triggering its WorkflowDefinition in wspace-workflow-svc. * The run is asynchronous and owned by wspace-workflow-svc; its output reaches * the linked DataSinks through the ingest webhook. Fails with * WORKFLOW_NOT_LINKED when the workflow has no `externalWorkflowId`. */ executeWorkflow: FluidGridsWorkflow; /** * Deactivate every active assignment a workspace holds from one subscription. * Called by global-billing-svc when that subscription stops funding the workspace: * a plan expiry, a downgrade or a plan refund (BOFF-7192). Rows are deactivated, * never deleted, and assignments from the workspace's other subscriptions are not * touched. Returns the number of rows deactivated. * * Same caller restriction as assignWorkspaceQuota. */ expireWorkspaceQuotaAssignmentsForSubscription: Scalars['Int']['output']; exportCrewfoundryEntities: CrewfoundryExportJob; /** * Export a dashboard to JSON (legacy v1.0 export path). * * DEPRECATED: use `Query.exportDashboard(id, options)` — the options-based v2.0 * export is the canonical path and the only one the frontend uses. This v1.0 * mutation is retained for backward compatibility and slated for removal once * Hive usage confirms zero external callers. * @deprecated Use Query.exportDashboard(id, options) — the v2.0 options-based export. This v1.0 mutation will be removed after Hive confirms no external callers. */ exportDashboard: Scalars['String']['output']; /** Exports GGNomad entities. BOFF-4392 — refused (FORBIDDEN) when the workspace governance policy disables exports, restricts the requested entity types, or pins the workspace's data to a region other than the one this deployment runs in. Every decision is audited. */ exportGgnomadEntities: GgnomadExportJob; exportGroupData: GroupExportResult; exportHeadshotmarketingEntities: HeadshotmarketingExportJob; /** Render the EUDR due-diligence statement PDF, archive it to wspace-files-svc, and return the bytes. */ exportHealthyBowlEudrStatement: HbEudrExport; exportMtwEntities: MtwExportJob; /** Export sessions to CSV or JSON */ exportSessions: SessionExport; /** * Export the subject's files-layer data: owned files (with metadata, * versions, tags), folders, file-shares granted by the subject. Object * storage payloads are listed by S3 key but not inlined; the privacy-svc * orchestrator includes them via signed URLs in the final DSAR bundle. */ exportSubject: Scalars['JSON']['output']; /** * Start a server-side export of TimeCampus data. The job runs asynchronously in * wspace-export-svc; poll `timeCampusExportJob(id)` until it reaches a terminal * status, then download the archive from `downloadUrl`. */ exportTimeCampusEntities: TimeCampusExportJob; exportTimeCampusUserData: TimeCampusExportJob; /** Export audit logs matching the filter as CSV or JSON */ exportVibeAuditLogs: VibeAuditLogExport; /** Export a resource's configuration for backup or migration */ exportWorkspaceResourceConfig: WorkspaceResourceConfigExport; /** Opt a connector operation in as an MCP tool (or update it). Needs workflow publish rights. */ exposeConnectorOperationAsMcpTool: McpExposedTool; /** Opt a workflow in as an MCP tool (or update its tool). Needs workflow publish rights. */ exposeWorkflowAsMcpTool: McpExposedTool; /** Extend an existing file lock */ extendFileLock: FileLock; /** * Extend the caller's OWN running Ask or Take-action assistant sandbox (any workspace role), capped * exactly as extendSandboxTTL is. Another user's sandbox, or one that is not an assistant sandbox, * is NOT_FOUND. */ extendMyAssistantSandboxTTL: Sandbox; extendSandboxTTL: Sandbox; /** Fail an activity that waits for an asynchronous completion; its retry policy decides what follows. */ failActivityAsync: Scalars['Boolean']['output']; /** Fail, by its id, an activity that waits for an asynchronous completion. */ failActivityById: Scalars['Boolean']['output']; /** * Run one scan now (the nightly workflow runs the same scan). Returns skipped with reason * not_enabled when optimisation is off for the workspace. */ fgRunOptimisationScan: OptimisationScanResult; /** * Run one triage pass now (the hourly workflow runs the same pass). Returns * skipped with reason not_enabled or flag_off when triage is off. */ fgTriageFailedRuns: RunFailureTriageResult; /** Host-only (must host the listing behind the booking): files a claim against a COMPLETED booking. BOFF-10248 — NOT_FOUND for anyone who neither made nor hosts the booking; FORBIDDEN for its traveler. */ fileGgnomadDamageClaim: GgnomadDamageClaim; /** File a damage claim against a policy; seeds the FILED timeline event. */ fileHealthyBowlInsuranceClaim: HealthyBowlInsuranceClaim; /** * Called by wspace-activity-svc quota reconciler to set or clear the Valkey * enforcement flag when a workspace crosses a file quota limit. * action: "enforce" | "terminate" | "clear" */ filesEnforceQuota: Scalars['Boolean']['output']; /** Force release a lock (admin only) */ forceReleaseFileLock: ReleaseLockResponse; forkInstalledPackage: InstalledPackage; /** * Fork or create a GitHub repository server-side. * Accepts either an OAuth connectionId (resolved via IntegrationTokenService) * or a plain personal access token. The GitHub operation is performed entirely * on the backend so OAuth tokens never reach the browser. */ forkVibecontrolsGitHubRepo: VibecontrolsForkRepoResult; forwardMessage: SendMessagePayload; generateAgentGraphContextUrl: AgentGraphContextUrl; /** Generate occurrences up to `through` (default: the pattern's horizon). Idempotent. */ generateCrewShiftPatternShifts: CrewShiftPatternResult; /** Generate custom node using AI */ generateCustomNode: CustomNodeGenerationResponse; /** * Generate a dashboard from a natural language prompt. * Returns a generation object that can be used to track progress and refine the result. */ generateDashboardFromPrompt: PromptGeneration; /** Generate a signed URL for viewing docs */ generateDocsSignedUrl: VibecontrolsDocsSignedUrlPayload; /** * Raise a MaintenanceRecord for every plan that has fallen due. * * Safe to run repeatedly, including on a schedule: a plan whose previous record * is still open is skipped rather than raised again, so a nightly sweep cannot * bury a farm in duplicates. A plan becomes generatable again only once its * record is completed — and completing it advances the plan's anchor, which * moves the next due point forward. That loop is what makes a plan recur. * * Counts as ONE unit against the maintenance-record quota per sweep, not one per * record raised — the usage directive takes a fixed amount. */ generateDueMaintenanceRecords: GenerateMaintenanceResult; generateEncryptionKey: EncryptionKey; generateGroupShareLink: GroupShareLink; /** AI-assisted (LLM, with deterministic fallback) budget reallocation recommendation. */ generateHeadshotmarketingAdBudgetRecommendation: HeadshotmarketingAdBudgetRecommendation; /** * BOFF-6022 — generate an analytics report over data this workspace already holds. * * `type` accepts FINANCIAL (cost by crop, from posted ledger lines) and CROP (harvest yield). * LIVESTOCK, WEATHER and MARKETPLACE exist on the enum but have no builder yet and are refused * with a readable message — emitting an empty document under a real-looking title would recreate * the very problem this closes, a surface that appears to work and produces nothing. * * The figures are snapshotted onto the row, so the report keeps meaning what it meant after the * underlying transactions change. */ generateHealthyBowlAnalyticsReport: AnalyticsReport; generateHealthyBowlCertificateOfOrigin: CertificateOfOrigin; /** Build a numbered, ordered route from the SCHEDULED CSA deliveries in a date range. */ generateHealthyBowlDeliveryRoute: DeliveryRoute; /** One-click MRV report: assembles emissions + sequestration + credits + EUDR into a PDF/CSV via wspace-files-svc. */ generateHealthyBowlMrvReport: HbMrvReport; /** Generate the report now and store the run. */ generateMtwReport: MtwReportRun; /** * Run the deterministic recommendation rules over the caller's real data (idempotent per rule + ISO-week). * When the workspace opted in to model recommendations, up to three AI candidates follow, generated at * most once per ISO week and validated against the caller's preferences. */ generateMyRecommendations: Array<TimeCampusRecommendation>; generateReport: ReportRun; /** * Aggregates every billable, un-invoiced TimeEntry in the workspace (scoped * to `projectIds` and the given period) by project + task, applying each * entry's own hourly rate, and creates a DRAFT invoice with one line item per * project/task group. The matched time entries are atomically marked as * invoiced so they can never be billed twice. */ generateTimeCampusInvoiceDraft: TimeCampusInvoice; generateVibeLlmContextUrl: VibeLlmContextUrl; /** * Generate a workflow draft (nodes, edges and default configuration) from a * natural-language description. Returns immediately with status PROCESSING; * poll `workflowGeneration(id)` for the validated draft. The draft is not * saved as a workflow until the user accepts it. */ generateWorkflowFromPrompt: WorkflowGeneration; /** BOFF-3699 — turns the caller's PENDING proposal into a trip plan. `itemIds` keeps only those proposal items. Items whose listing is no longer bookable are left out, and every price is re-read from the listing. */ ggnomadAcceptTripPlanProposal: GgnomadTripPlan; /** BOFF-3699 — plans a priced, day-by-day itinerary from real ACTIVE listings and stores it as a proposal. Creates no trip plan. */ ggnomadGenerateTripPlan: GgnomadTripPlanProposal; govAddCaseNote: GovCaseNote; govAddDocument: GovDocument; /** Self-scoped (Type B): attach a document to the caller's own application. */ govAddMyDocument: GovDocument; govAddMyDocumentFromWallet: GovDocument; govAddMyWalletDocument: GovWalletDocument; govArchiveAgency: Scalars['Boolean']['output']; govArchiveJurisdiction: GovJurisdiction; /** * Persist a wspace-files-svc File reference onto an issued permit after the * client has saved the rendered PDF via the standard Save-to-Files flow. */ govAttachPermitFile: GovPermit; /** Record many values in one transaction. Existing period rows are updated in place. */ govBulkRecordIndicatorValues: Array<GovIndicatorValue>; govCloseConsultation: GovConsultation; govCreateAdminLevel: GovAdminLevel; govCreateAgency: GovAgency; govCreateApplication: GovApplication; govCreateBudget: GovBudget; govCreateConsultation: GovConsultation; govCreateDataset: GovDataset; govCreateElection: GovElection; govCreateIndicator: GovIndicator; govCreateJurisdiction: GovJurisdiction; govCreateJurisdictionEvent: GovJurisdictionEvent; /** * Self-scoped: a citizen files an application for a PUBLISHED service. The * applicant is always the authenticated actor. */ govCreateMyApplication: GovApplication; govCreateOfficial: GovOfficial; govCreateOfficialCommitment: GovOfficialCommitment; govCreatePayment: GovPayment; govCreateProject: GovProject; govCreateProjectMilestone: GovProjectMilestone; govCreatePublicAsset: GovPublicAsset; govCreateRoutingRule: GovRoutingRule; govCreateService: GovService; govCreateSlaEscalationRule: GovSlaEscalationRule; govDeleteAdminLevel: Scalars['Boolean']['output']; govDeleteBudget: Scalars['Boolean']['output']; govDeleteBudgetLine: Scalars['Boolean']['output']; govDeleteConsultation: Scalars['Boolean']['output']; govDeleteDataset: Scalars['Boolean']['output']; govDeleteElection: Scalars['Boolean']['output']; govDeleteIndicator: Scalars['Boolean']['output']; govDeleteIndicatorValue: Scalars['Boolean']['output']; govDeleteJurisdiction: Scalars['Boolean']['output']; govDeleteJurisdictionEvent: Scalars['Boolean']['output']; govDeleteMyWalletDocument: Scalars['Boolean']['output']; govDeleteOfficial: Scalars['Boolean']['output']; govDeleteOfficialCommitment: Scalars['Boolean']['output']; govDeleteProject: Scalars['Boolean']['output']; govDeleteProjectMilestone: Scalars['Boolean']['output']; govDeletePublicAsset: Scalars['Boolean']['output']; govDeleteRoutingRule: Scalars['Boolean']['output']; govDeleteSlaEscalationRule: Scalars['Boolean']['output']; govFollowJurisdiction: GovJurisdictionFollow; govIssuePermit: GovPermit; govMarkPaymentPaid: GovPayment; govOpenConsultation: GovConsultation; govPublishBudget: GovBudget; /** Compute and publish the aggregate result set. Raw responses are never published. */ govPublishConsultationResults: GovConsultation; govPublishDataset: GovDataset; /** Make the profile citizen-visible. Requires a name, admin level and country. */ govPublishJurisdiction: GovJurisdiction; /** Increment a dataset's download counter. */ govRecordDatasetDownload: GovDataset; /** * Replace an election's declared results in one transaction, recomputing vote * shares from the supplied vote counts. */ govRecordElectionResults: GovElection; govRecordIndicatorValue: GovIndicatorValue; govRefundPayment: GovPayment; /** * Self-scoped (Type B): the citizen's reply on their own application's thread * (stored as a CITIZEN_MESSAGE case note). */ govReplyToMyApplication: GovCaseNote; govReportGrievance: GovGrievance; /** * Self-scoped: a citizen reports a grievance. The reporter is always the * authenticated actor. */ govReportMyGrievance: GovGrievance; /** * Record a review decision. ACCEPTED records the accepted correction and stamps * `appliedAt`; it never silently mutates the target record. */ govReviewDataChangeProposal: GovDataChangeProposal; govReviewDocument: GovDocument; govReviewWalletDocument: GovWalletDocument; govRevokePermit: GovPermit; /** * Run the SLA escalation sweep now (BOFF-5792): for every active rule, find * active non-terminal applications at or below the rule's time-to-breach * threshold (including past-due), notify the configured supervisor on the * event bus, auto-reassign where configured, and record an immutable * GovSlaEscalation per fired rule/case pair. Idempotent per pair — a second * sweep never re-escalates the same case under the same rule. */ govRunSlaEscalationSweep: GovSlaEscalationSweepResult; /** * Manually trigger the SLA/casework watch loop for a workspace. Intended for * service/super-admin use and for scheduled workflow hooks; it never transitions * cases itself. */ govRunSlaWatchLoop: GovAgentRun; /** * Bootstrap a country's hierarchy from a named preset. Presets are additive and * idempotent: an existing tier with the same code is left untouched. */ govSeedAdminLevels: Array<GovAdminLevel>; /** * Seed the country-neutral standard indicator catalogue. Additive and * idempotent: an indicator whose code already exists is left untouched. */ govSeedIndicatorCatalog: Array<GovIndicator>; govSubmitApplication: GovApplication; /** Submit the calling actor's response. One response per actor per consultation. */ govSubmitConsultationResponse: GovConsultationResponse; govSubmitDataChangeProposal: GovDataChangeProposal; /** Self-scoped (Type B): submit the caller's own DRAFT application. */ govSubmitMyApplication: GovApplication; /** Advance an application through its review lifecycle (validated transitions). */ govTransitionApplication: GovApplication; /** Advance a grievance through its resolution lifecycle (validated transitions). */ govTransitionGrievance: GovGrievance; /** Advance a service through its publication lifecycle (validated transitions). */ govTransitionService: GovService; govUnfollowJurisdiction: Scalars['Boolean']['output']; govUpdateAdminLevel: GovAdminLevel; govUpdateAgency: GovAgency; govUpdateApplication: GovApplication; govUpdateBudget: GovBudget; govUpdateConsultation: GovConsultation; govUpdateDataset: GovDataset; govUpdateElection: GovElection; govUpdateGrievance: GovGrievance; govUpdateIndicator: GovIndicator; govUpdateIndicatorValue: GovIndicatorValue; govUpdateJurisdiction: GovJurisdiction; govUpdateJurisdictionEvent: GovJurisdictionEvent; govUpdateMyWalletDocument: GovWalletDocument; govUpdateOfficial: GovOfficial; govUpdateOfficialCommitment: GovOfficialCommitment; govUpdateProject: GovProject; govUpdateProjectMilestone: GovProjectMilestone; /** Advance a project's delivery status, optionally recording progress and a delay reason. */ govUpdateProjectStatus: GovProject; govUpdatePublicAsset: GovPublicAsset; govUpdateRoutingRule: GovRoutingRule; govUpdateService: GovService; govUpdateSlaEscalationRule: GovSlaEscalationRule; /** Enable/disable and tune the watch loop for the current workspace. */ govUpdateWatchLoopConfig: GovWatchLoopConfig; /** * Create or update budget lines in one transaction and re-derive the budget's * planned/actual totals from the resulting line set. */ govUpsertBudgetLines: GovBudget; govWithdrawDataChangeProposal: GovDataChangeProposal; /** * Let the agent act for the caller in this workspace. Default 30 days, at most 365. Granting * again renews the grant. */ grantAgentDefinition: AgentGrant; /** Grant permission on a file */ grantFilePermission: FilePermission; /** Grant permission on a folder */ grantFolderPermission: FolderPermission; /** Farmer-side: grant a financier scoped, read-only access to this workspace's risk view. */ grantHealthyBowlFinancierAccess: HealthyBowlFinancierGrant; grantSourceConsent: TimeCampusSourceConsent; /** Hand an accepted revision to platform Billing for settlement. MoveTheWheels keeps no ledger. */ handOffMtwFreightInvoiceSettlement: MtwFreightInvoiceReview; /** * Handle an incoming channel message forwarded from wspace-conversations-svc. * * Called by conversations-svc (fire-and-forget) immediately after a user message * is stored. Botlit will: * 1. Find the matching ChannelRoute for this channel * 2. Generate a bot response via LLM * 3. Send the response back via sendChannelMessage (stores + delivers in parallel) * * Internal only — reachable via wspace-int-gateway and additionally guarded in * the resolver so that only service actors can trigger background LLM processing. * Works for any connected platform (Slack, Teams, Discord, WhatsApp, etc.). */ handleChannelMessage: HandleChannelMessageResult; /** * Handle incoming FluidGrids webhook event. * Called by FluidGrids when workflow status changes. * Updates the associated DataSink with new data and status. * * Every lookup and write is confined to the request workspace (x-workspace-id); * the payload cannot select a different workspace. */ handleFluidGridsWebhook: FluidGridsWebhookResult; /** Add a section to a landing page */ headshotmarketingAddLandingPageSection: HeadshotmarketingLandingPageSection; /** * Apply a proposed audience segment: the explicit, confirmed step that * creates the Audience */ headshotmarketingApplyAudienceSuggestion: HeadshotmarketingAudienceSuggestion; /** Cancel a registration */ headshotmarketingCancelRegistration: HeadshotmarketingEventRegistration; /** Check in an attendee at an event */ headshotmarketingCheckInAttendee: HeadshotmarketingEventRegistration; /** * Check the keyword's current search position for its site URL now, and * record it in the rank history. Fails with PROVIDER_NOT_CONFIGURED, * FEATURE_DISABLED or QUOTA_EXHAUSTED when the check cannot run. Metered * against headshotmarketing.seo.provider_calls by the service. */ headshotmarketingCheckSEOKeywordRank: HeadshotmarketingSeoKeyword; /** * Opt this workspace into (or out of) the autonomous marketing loop. Creates * and activates the FluidGrids workflow definitions and scheduled jobs on * enable; pauses the schedules on disable. The loop stays propose-only. */ headshotmarketingConfigureAutonomousLoop: HeadshotmarketingAutonomousLoopStatus; /** * The governed-action confirm gate: the ONLY way a proposed action can ever * execute. approve:false marks it REJECTED; approve:true attempts execution * through a fixed executor registry and records EXECUTED (with a real * result) or FAILED (with the error) -- an unrecognized actionType always * fails clearly rather than silently succeeding. */ headshotmarketingConfirmAgentAction: HeadshotmarketingAgentAction; /** Create a new AI tool */ headshotmarketingCreateAITool: HeadshotmarketingAiTool; /** Create a new content item */ headshotmarketingCreateContentItem: HeadshotmarketingContentItem; /** Create a new marketing event */ headshotmarketingCreateEvent: HeadshotmarketingEvent; /** Create a new event registration */ headshotmarketingCreateEventRegistration: HeadshotmarketingEventRegistration; /** Create a new event speaker */ headshotmarketingCreateEventSpeaker: HeadshotmarketingEventSpeaker; /** Create a new landing page */ headshotmarketingCreateLandingPage: HeadshotmarketingLandingPage; /** Create a new SEO audit record */ headshotmarketingCreateSEOAudit: HeadshotmarketingSeoAudit; /** Create a new SEO keyword to track */ headshotmarketingCreateSEOKeyword: HeadshotmarketingSeoKeyword; headshotmarketingCreateSavedReport: HeadshotmarketingSavedReport; /** * Create (or return the existing) tracked link for a social post, ad campaign * or ad creative. Clicks on it are captured as SOCIAL_CLICK / AD_CLICK * touchpoints once the visitor's click id is tied to a lead. */ headshotmarketingCreateTrackedLink: HeadshotmarketingTrackedLink; /** Delete an AI tool (soft delete) */ headshotmarketingDeleteAITool: Scalars['Boolean']['output']; /** Delete a content item (soft delete) */ headshotmarketingDeleteContentItem: Scalars['Boolean']['output']; /** Delete a marketing event (soft delete) */ headshotmarketingDeleteEvent: Scalars['Boolean']['output']; /** Delete an event speaker (soft delete) */ headshotmarketingDeleteEventSpeaker: Scalars['Boolean']['output']; /** Remove marketing-specific metadata from a canonical files-svc File. */ headshotmarketingDeleteFileMarketingMeta: Scalars['Boolean']['output']; /** Delete a landing page (soft delete) */ headshotmarketingDeleteLandingPage: Scalars['Boolean']['output']; /** * Remove the workspace's goal for a month (YYYY-MM). Returns false when no * goal was set for that month. */ headshotmarketingDeleteMonthlyGoal: Scalars['Boolean']['output']; /** Delete an SEO audit (soft delete) */ headshotmarketingDeleteSEOAudit: Scalars['Boolean']['output']; /** Delete an SEO keyword (soft delete) */ headshotmarketingDeleteSEOKeyword: Scalars['Boolean']['output']; /** Soft-deletes the report. Returns true when a report was deleted. */ headshotmarketingDeleteSavedReport: Scalars['Boolean']['output']; /** Remove a saved report's delivery schedule. Returns true when one was removed. */ headshotmarketingDeleteSavedReportSchedule: Scalars['Boolean']['output']; /** * Flag Campaigns and AdCampaigns whose trailing performance deviates * materially from their own baseline. Advisory only. */ headshotmarketingDetectCampaignAnomaly: HeadshotmarketingDetectCampaignAnomalyResult; /** Dismiss a proposed audience segment without applying it */ headshotmarketingDismissAudienceSuggestion: HeadshotmarketingAudienceSuggestion; /** Execute an AI tool and return the execution record */ headshotmarketingExecuteAITool: HeadshotmarketingAiToolExecution; /** * Propose a budget reallocation across the AdCampaigns of one Campaign, read * from campaign analytics and channel performance. Persists * AdBudgetRecommendation proposals (unless dryRun); never mutates an * AdCampaign budget — applying a proposal is the separate, explicit * applyHeadshotmarketingAdBudgetRecommendation step. */ headshotmarketingOptimizeCampaignBudget: HeadshotmarketingOptimizeCampaignBudgetResult; /** Publish a landing page (sets status to PUBLISHED and records publishedAt) */ headshotmarketingPublishLandingPage: HeadshotmarketingLandingPage; /** * Recommend the next best action on an open deal (advisory; the deal is not * changed) */ headshotmarketingRecommendNextAction: HeadshotmarketingNextActionRecommendation; /** * Recommend a send time for a campaign/audience from contact engagement * history (hour-of-week activity histogram). Advisory only. */ headshotmarketingRecommendSendTime: HeadshotmarketingSendTimeRecommendation; /** * Record campaign analytics data. Also fans the metrics out into * wspace-analytics-svc's trackMetric pipeline (best-effort, fire-and-forget). */ headshotmarketingRecordCampaignAnalytics: HeadshotmarketingCampaignAnalytics; /** * Record channel performance data. Also fans the metrics out into * wspace-analytics-svc's trackMetric pipeline (best-effort, fire-and-forget) * so marketing performance joins the cross-product analytics graph. */ headshotmarketingRecordChannelPerformance: HeadshotmarketingChannelPerformance; /** * Record a single marketing touchpoint. Append-only -- there is no * update/delete resolver, matching the ledger semantics the attribution * engine depends on. */ headshotmarketingRecordTouchpoint: HeadshotmarketingTouchpointEvent; /** * Record up to 500 touchpoints in one atomic call (connector / tracking * ingestion). Every referenced contact, lead, deal and campaign must belong * to the workspace; one invalid entry rejects the whole batch. */ headshotmarketingRecordTouchpoints: HeadshotmarketingRecordTouchpointsResult; /** * Re-fetch search volume, difficulty and CPC from the keyword data provider. * Never fails for provider problems: the outcome is in dataStatus/dataError. * Metered against headshotmarketing.seo.provider_calls by the service. */ headshotmarketingRefreshSEOKeywordData: HeadshotmarketingSeoKeyword; /** Register for an event (public-facing registration) */ headshotmarketingRegisterForEvent: HeadshotmarketingEventRegistration; /** Remove a section from a landing page */ headshotmarketingRemoveLandingPageSection: Scalars['Boolean']['output']; /** Reorder sections within a landing page */ headshotmarketingReorderLandingPageSections: HeadshotmarketingLandingPage; /** * Tie an anonymous tracked click (the `hm_cid` value) to the lead and/or * contact it produced, writing the click's touchpoint dated at the click. * Use this when the lead was created outside createHeadshotmarketingLead. */ headshotmarketingResolveTrackedClick: HeadshotmarketingResolveTrackedClickResult; /** * Run an SEO audit for a given URL (creates and executes an audit). * * With no crawl arguments this runs a single-page on-page audit. Set * `maxPages` greater than 1 to run a bounded, same-origin multi-page crawl * (default depth 2) that aggregates per-page findings into a site-level * report. `maxPages`/`maxDepth` are clamped to safe ceilings. */ headshotmarketingRunSEOAudit: HeadshotmarketingSeoAudit; /** * Entry point invoked by the FluidGrids scheduled workflows (service actor). * Runs one cadence for the calling workspace: feature-flag gated (default * OFF), per-workspace opt-in, daily decision budget, AI-credit pre-flight, * propose-only. A skip is a clean no-op, never an error. */ headshotmarketingRunScheduledOptimization: HeadshotmarketingScheduledOptimizationRun; /** Score one lead with the AI decision engine (0-100, tier, ranked rationale) */ headshotmarketingScoreLead: HeadshotmarketingLeadScoreResult; /** * Score a batch of leads; fails closed with QUOTA_EXHAUSTED before any write * when the workspace has no AI credits left */ headshotmarketingScoreLeadsBatch: HeadshotmarketingLeadScoreBatchResult; /** * Send a message to the marketing agent. Persists the user message, calls the * configured LLM provider, persists the assistant's reply, and records any * proposed actions as PROPOSED -- never executes them. */ headshotmarketingSendAgentMessage: HeadshotmarketingAgentTurn; /** * Email the report to its schedule's recipients now, without moving the next * scheduled delivery. Limited to one send per report per minute. */ headshotmarketingSendSavedReportNow: HeadshotmarketingSavedReportDeliveryRun; /** * Attach (or update) marketing-specific metadata on a canonical files-svc File. * The binary + core file fields stay owned by wspace-files-svc; this only sets * the thin marketing layer (alt text, dimensions, thumbnail, asset category). */ headshotmarketingSetFileMarketingMeta: Scalars['Boolean']['output']; /** Create or replace the workspace's goal for a month. */ headshotmarketingSetMonthlyGoal: HeadshotmarketingMonthlyGoal; /** Create or replace the delivery schedule of a saved report. */ headshotmarketingSetSavedReportSchedule: HeadshotmarketingSavedReportSchedule; /** * Propose an audience segment for a campaign goal. Never creates or changes * an Audience. */ headshotmarketingSuggestAudienceSegment: HeadshotmarketingAudienceSuggestion; /** Start tracking a keyword (alias for create with TRACKING status) */ headshotmarketingTrackKeyword: HeadshotmarketingSeoKeyword; /** * Translate a piece of campaign copy via the configured LLM provider. * Every call (success or failure) is recorded to the translation audit log. * Fails with a clear error if no LLM provider key is configured -- never * fabricates a translation. */ headshotmarketingTranslateCampaignCopy: HeadshotmarketingTranslationResult; /** Unpublish a landing page (sets status back to DRAFT) */ headshotmarketingUnpublishLandingPage: HeadshotmarketingLandingPage; /** Update an existing AI tool */ headshotmarketingUpdateAITool: HeadshotmarketingAiTool; /** Update an existing content item */ headshotmarketingUpdateContentItem: HeadshotmarketingContentItem; /** Update an existing marketing event */ headshotmarketingUpdateEvent: HeadshotmarketingEvent; /** Update an existing event registration */ headshotmarketingUpdateEventRegistration: HeadshotmarketingEventRegistration; /** Update an existing event speaker */ headshotmarketingUpdateEventSpeaker: HeadshotmarketingEventSpeaker; /** Update an existing landing page */ headshotmarketingUpdateLandingPage: HeadshotmarketingLandingPage; /** Update an existing landing page section */ headshotmarketingUpdateLandingPageSection: HeadshotmarketingLandingPageSection; /** Update an existing SEO audit */ headshotmarketingUpdateSEOAudit: HeadshotmarketingSeoAudit; /** Update an existing SEO keyword */ headshotmarketingUpdateSEOKeyword: HeadshotmarketingSeoKeyword; headshotmarketingUpdateSavedReport: HeadshotmarketingSavedReport; /** Notify @-mentioned members of a Farm Tasks comment (IN_APP notification). */ healthybowlNotifyMention: Scalars['Boolean']['output']; /** Heartbeat an activity that waits for an asynchronous completion (details carry over to a retry). */ heartbeatActivityAsync: WorkflowAsyncHeartbeatAck; /** Heartbeat, by its id, an activity that waits for an asynchronous completion. */ heartbeatActivityById: WorkflowAsyncHeartbeatAck; /** * Heartbeat one presence connection (expected about every 15s). Returns false * when the presence cache is unavailable; the heartbeat is then dropped * without affecting the dashboard. */ heartbeatDashboardPresence: Scalars['Boolean']['output']; hideMessage: Message; /** * Advance every WAITING run in the caller's workspace whose wait (or retry * backoff) has elapsed. The same primitive the * scheduler job (src/jobs/workflow-scheduler.ts) calls on a timer for all * workspaces — exposed * here so an operator/test can force an immediate tick. */ hmProcessDueAutomationRuns: Scalars['Int']['output']; /** * Manually start one run of an ACTIVE workflow against a subject — * primarily for testing a workflow before wiring it to a real trigger. */ hmTriggerAutomationWorkflow: HeadshotmarketingAutomationWorkflowRun; /** Guardian: accept an invite, recording the guardian link. */ hokAcceptGuardianInvite: HokGuardianLink; hokAddCredit: HokCredit; /** Register an HLS package from its media file and VOD playlist. */ hokAddHlsPackage: HokHlsPackage; /** Attach an alternate encode (resolution + bitrate) to a title's feature video or an episode. */ hokAddMediaRendition: HokMediaRendition; hokAddProductionMember: HokProductionMember; /** Attach an uploaded image to a shot as its last storyboard frame. */ hokAddStoryboardFrame: HokStoryboardFrame; /** Add an item to a person's reel (at most 24 items per person). */ hokAddTalentReelItem: HokTalentReelItem; /** Create a production and its budget lines from a plan the user confirmed. */ hokApplyProductionPlan: HokProduction; /** * Write a shooting schedule the user confirmed: creates the shoot days with * their strips. With replacePlanned, the production's PLANNED days are * replaced; CONFIRMED and WRAPPED days are never touched. */ hokApplyShootingSchedule: HokApplyShootingScheduleResult; /** Apply to an audition as the calling user (self-scoped to ctx.actorId). */ hokApplyToAudition: HokApplication; hokArchiveTitle: Scalars['Boolean']['output']; hokCancelCallback: HokCallback; /** * Engage the talent of an ACCEPTED (or COMPLETED) casting offer as a cast * member of the offer's production — auditions → cast → call sheets. */ hokCastFromOffer: HokProductionMember; /** * Heartbeat of a playing linear session (self-scoped, owner-filtered on the * session): confirms the ads the viewer fully watched and returns the refreshed * stream. A heartbeat more than 75 seconds after the previous one restarts the * tuned-in stretch, so ads aired during the gap are never booked. Send * `consent` only when the viewer changed their choice: it applies to every * break not yet on air (withdrawing it drops pods already decided for * upcoming breaks). */ hokChannelStreamHeartbeat: HokChannelStream; /** * Re-validate licenses a device holds, typically on reconnect (self-scoped, at * most 100 ids). Invalid licenses are recorded as EXPIRED or REVOKED; the device * must delete their copies. */ hokCheckOfflineLicenses: Array<HokOfflineLicenseCheck>; hokCloseAudition: HokAudition; hokCompleteCallback: HokCallback; /** Mark an accepted engagement as finished; unlocks ratings for both sides. */ hokCompleteOffer: HokOffer; hokConfirmOfferPaymentReceived: HokOffer; hokCreateAdCampaign: HokAdCampaign; hokCreateAudition: HokAudition; hokCreateChannel: HokChannel; hokCreateClip: HokClip; hokCreateCostItem: HokCostItem; /** Opt one piece of a published title's media into public embedding. */ hokCreateEmbed: HokEmbed; hokCreateEpisode: HokEpisode; /** Create a list owned by the calling user (self-scoped to ctx.actorId). */ hokCreateList: HokList; hokCreateLocalization: HokLocalization; hokCreateLocation: HokLocation; hokCreatePerson: HokPerson; hokCreateProduction: HokProduction; hokCreateProfile: HokProfile; hokCreateReview: HokReview; hokCreateRightsWindow: HokRightsWindow; hokCreateSavedSearch: HokSavedSearch; hokCreateScene: HokScene; hokCreateSeason: HokSeason; hokCreateShootDay: HokShootDay; hokCreateShot: HokShot; hokCreateStudio: HokStudio; hokCreateTitle: HokTitle; /** Start a synchronized watch party hosted by the calling user (self-scoped). */ hokCreateWatchParty: HokWatchParty; /** Guardian: decline an invite. */ hokDeclineGuardianInvite: HokGuardianLink; /** * Delete a campaign: it stops serving at once and leaves the campaign list; * its confirmed impressions and their revenue are kept. */ hokDeleteAdCampaign: Scalars['Boolean']['output']; /** * Delete a channel and its schedule blocks (soft delete). Returns false when * the channel does not exist in this workspace. */ hokDeleteChannel: Scalars['Boolean']['output']; hokDeleteClip: Scalars['Boolean']['output']; hokDeleteCostItem: Scalars['Boolean']['output']; hokDeleteList: Scalars['Boolean']['output']; hokDeleteLocalization: Scalars['Boolean']['output']; hokDeleteLocation: Scalars['Boolean']['output']; /** * Delete a person (soft delete). Blocked with CONFLICT while any live credit * still references the person — remove those credits first. */ hokDeletePerson: Scalars['Boolean']['output']; hokDeleteProfile: Scalars['Boolean']['output']; hokDeleteReview: Scalars['Boolean']['output']; hokDeleteSavedSearch: Scalars['Boolean']['output']; hokDeleteScene: Scalars['Boolean']['output']; hokDeleteShootDay: Scalars['Boolean']['output']; hokDeleteShot: Scalars['Boolean']['output']; /** Remove a frame from its shot. The image stays in the workspace Files library. */ hokDeleteStoryboardFrame: Scalars['Boolean']['output']; /** * Delete a studio (soft delete). Blocked with CONFLICT while any live title * still references the studio — remove or reassign those titles first. */ hokDeleteStudio: Scalars['Boolean']['output']; /** Stop the feed; its URL answers 404 until it is enabled again. Idempotent. */ hokDisableChannelHlsFeed: HokChannelHlsFeed; /** * Turn the channel's HLS feed on, or switch its slates. The URL is kept across * re-enables. slatePackageId is the primary variant's slate and fixes the * feed's profile; ladderSlatePackageIds adds one variant per further slate * (each another rendition with the same profile and segment count; [] makes * the feed single-variant); scte35 adds SCTE-35 EXT-X-DATERANGE signalling. * An omitted ladderSlatePackageIds or scte35 keeps the feed's current value. */ hokEnableChannelHlsFeed: HokChannelHlsFeed; /** Tune out of a linear session (self-scoped). Idempotent. */ hokEndChannelStream: Scalars['Boolean']['output']; /** Follow a person as the calling viewer (idempotent). */ hokFollowTalent: HokTalentFollowState; /** * Render and store the printable PDF of a published call-sheet version that * has none yet (versions published before PDF export, or a publish whose * upload failed). A version that already has a PDF is returned unchanged. */ hokGenerateCallSheetPdf: HokCallSheet; hokGrantEntitlement: HokEntitlement; /** * Admit a platform app to read this studio's published catalog. Authorizes the * app for this workspace and grants it the partner-catalog permission. The app * must belong to this workspace's organization. */ hokGrantPartnerAccess: HokPartnerAccess; /** * Import a screenplay into the breakdown: one scene per scene heading, with * page eighths, characters matched to the cast and suggested elements. * Existing scene numbers are never overwritten. dryRun previews the result. */ hokImportScript: HokScriptImportResult; /** * Deliver a batch of up to 500 availability offers for a provider. Invalid * offers are rejected individually; the rest are applied. Price drops and * new availability alert the owners of watchlists that hold the title. */ hokIngestWatchOffers: HokWatchIngestResult; /** * Minor: invite a parent or legal guardian by email. Re-inviting the same * address replaces the earlier pending invite. */ hokInviteGuardian: HokGuardianInviteResult; /** * Invite a person to a role on a production. Requires update permission on * productions; the production must still be in development or production. */ hokInviteTalentToProduction: HokTalentInvitation; /** Join a watch party as the calling user (self-scoped, idempotent). */ hokJoinWatchParty: HokWatchParty; /** * Load the onboarding sample data (a studio, three people, a published film, * a draft series, a production and an open audition). Idempotent: returns the * existing sample data when it is already loaded. */ hokLoadDemoData: HokDemoData; /** Record that the production paid the talent off-platform (non-custodial). */ hokMarkOfferPaid: HokOffer; /** Mark alerts read; omit ids to mark every unread alert read. Returns the count updated. */ hokMarkSavedSearchAlertsRead: Scalars['Int']['output']; /** * Move one strip between shoot days (or within a day, or on/off the board) * in one atomic step; returns the updated stripboard. */ hokMoveStrip: HokStripboard; /** * Generate the day's call sheet and store it as the next immutable version; * cast and crew with accounts are notified. */ hokPublishCallSheet: HokCallSheet; hokRaiseDispute: HokDispute; hokRaiseProductionDispute: HokDispute; /** Talent rates the studio on a completed offer. */ hokRateProduction: HokRating; /** Production rates the talent on a completed offer. */ hokRateTalent: HokRating; /** * Recalculate the royalty ledger for a period (optionally scoped to a mode * and/or a single title). Idempotent — safe to re-run as new playback or * entitlement data arrives within the period; never executes a payout. */ hokRecalculateRoyaltyLedger: HokRoyaltyRecalculationResult; /** * Confirm that an ad from one of the caller's own ad decisions really played * (self-scoped, owner-filtered on the decision). Idempotent per * decision + campaign: a repeat call returns the original impression and books * no extra revenue. */ hokRecordAdImpression: HokAdImpression; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — * re-accepting the same (checkpointType, documentVersion) updates the * timestamp/audit fields rather than duplicating the row. */ hokRecordLegalAcceptance: HokLegalAcceptance; /** * Record one real playback signal for the calling viewer (self-scoped: * `userId` always comes from `ctx.actor`, never client input). */ hokRecordPlaybackEvent: HokPlaybackEvent; /** Upsert the calling user's watch progress for a title/episode (self-scoped). */ hokRecordProgress: HokWatchProgress; /** * Record recommendation impressions/clicks for the calling viewer (max 50 per * call). Returns the number of events stored. */ hokRecordRecommendationEvents: Scalars['Int']['output']; /** Record that the caller deleted a downloaded copy (self-scoped, idempotent). */ hokReleaseOfflineLicense: Scalars['Boolean']['output']; /** * Remove a credit (soft delete). Credits carry no mutable metadata — correct a * mistake by removing and re-adding. */ hokRemoveCredit: Scalars['Boolean']['output']; /** Soft-delete the onboarding sample data. Content the workspace created itself is never touched. */ hokRemoveDemoData: HokDemoDataRemoval; /** Withdraw an HLS package. The file itself stays in wspace-files. */ hokRemoveHlsPackage: Scalars['Boolean']['output']; /** Detach a rendition. The file itself stays in wspace-files. */ hokRemoveMediaRendition: Scalars['Boolean']['output']; hokRemoveProductionMember: Scalars['Boolean']['output']; hokRemoveScheduleBlock: Scalars['Boolean']['output']; /** Remove an item from a person's reel. */ hokRemoveTalentReelItem: Scalars['Boolean']['output']; /** Undo the calling viewer's taste edit on a title. */ hokRemoveTasteFeedback: Scalars['Boolean']['output']; /** * Put a shot's storyboard frames in the given order; frameIds must list every * frame of the shot exactly once. Returns the frames in their new order. */ hokReorderStoryboardFrames: Array<HokStoryboardFrame>; /** * File a moderation report against any catalog/engagement entity (self-scoped — * any authenticated viewer may report). */ hokReportContent: HokModerationFlag; /** * Record that a provider's feed could not be delivered. The guide keeps the * provider's last known offers and reports itself as degraded. */ hokReportWatchFeedFailure: HokWatchProvider; /** * Decide one ad break for the calling viewer (self-scoped: the decision is * recorded against ctx.actor and only that viewer can confirm its impressions). */ hokRequestAdBreak: HokAdBreak; /** * The calling viewer's full ad schedule for a VOD title (pre-roll, mid-rolls, * post-roll), with every break decided and returned as VMAP 1.0. */ hokRequestAdSchedule: HokAdSchedule; /** * Request an offline download (self-scoped). Checks the caller's paid * entitlement, territory, the rights window's download allowance and the * per-viewer cap, then returns a short-lived download URL and records the * offline license. */ hokRequestOfflineDownload: HokOfflineDownload; hokResolveDispute: HokDispute; hokResolveModerationFlag: HokModerationFlag; hokRespondToCallback: HokCallback; /** Accept (click-wrap e-signature) or decline an offer addressed to the caller. */ hokRespondToOffer: HokOffer; /** * Trust & safety review action: approve or reject a PENDING verification. * Approving a STUDIO subject also sets HokStudio.isVerified. A verification * that has already been decided cannot be re-reviewed — resubmit instead. */ hokReviewIdentityVerification: HokIdentityVerification; /** Permanently stop an embed from playing anywhere. Idempotent. */ hokRevokeEmbed: HokEmbed; hokRevokeEntitlement: Scalars['Boolean']['output']; /** Either side: cancel a pending invite or end an accepted guardian link. */ hokRevokeGuardianLink: HokGuardianLink; /** Stop serving the catalog to a partner. Removes its permission immediately. Idempotent. */ hokRevokePartnerAccess: HokPartnerAccess; /** Issue a new feed URL; the old one stops working at once. */ hokRotateChannelHlsFeedToken: HokChannelHlsFeed; /** Create or update the daily production report of a shoot day. */ hokSaveDailyReport: HokDailyReport; /** * Program a block on a channel. Rejects a block that overlaps an existing block * on the same channel. */ hokScheduleBlock: HokScheduleBlock; hokScheduleCallback: HokCallback; /** * Set a shoot day's strips: the given scenes, in shooting order (replaces the * day's current strips). */ hokScheduleScenes: HokShootDay; /** Score an applicant (casting-team action; workspace-scoped). */ hokScoreApplication: HokApplication; hokSendOffer: HokOffer; /** Move a campaign through DRAFT -> ACTIVE <-> PAUSED -> ENDED (ENDED is terminal). */ hokSetAdCampaignStatus: HokAdCampaign; /** * Make one localization the default for its (title, episode, language, kind) * tuple, clearing the flag on any sibling — enforced in a single transaction. */ hokSetDefaultLocalization: HokLocalization; /** Move a partner to another rate tier. Takes effect on its next request. */ hokSetPartnerTier: HokPartnerAccess; /** Upsert the calling user's preferences (self-scoped to ctx.actorId). */ hokSetPreferences: HokPreferences; /** * Link a RELEASED production to the catalog title it produced (or clear the * link with titleId: null). The production-to-catalog promote step * (BOFF-8898). */ hokSetProductionResultingTitle: HokProduction; /** Set a rights window's offline download policy. */ hokSetRightsWindowOfflinePolicy: HokRightsWindow; /** Record the real total revenue finance collected for a mode+period+territory bucket. Required before pooled-mode (SVOD/AVOD/FAST) ledger rows can carry a dollar amount. */ hokSetRoyaltyRevenuePool: HokRoyaltyRevenuePool; /** Replace a scene's cast requirements with the given cast members. */ hokSetSceneCast: HokScene; /** * Mark a title "not interested", "hide titles like this" or "stop using as a * seed" for the calling viewer. Setting it again changes the kind. */ hokSetTasteFeedback: HokTasteFeedback; /** * Replace all royalty splits for a title. Pass an empty list to fall back to * the default (100% to the owning studio). A non-empty list must sum to 100. */ hokSetTitleRoyaltySplits: Array<HokRoyaltySplit>; /** * Tune the calling viewer in to a FAST channel: opens a linear viewing session * (replacing the viewer's open session on the same channel) and returns the * channel's linear stream with the viewer's ad pods stitched in. `consent` * (from the platform consent prompt) allows third-party demand in the * session's breaks; without it, or on a kids profile, they are first-party * only. `pageUrl` (origin and path only) fills the partners' [PAGEURL] macro. */ hokStartChannelStream: HokChannelStream; hokStartDisputeReview: HokDispute; hokSubmitDisputeStatement: HokDispute; /** * Submit an identity verification for the calling actor (PERSON), or on behalf * of a studio in the current workspace (STUDIO). Self-scoped: subjectActorId * is always derived from ctx.actorId, never accepted from the caller. */ hokSubmitIdentityVerification: HokIdentityVerification; hokSubmitProductionDisputeStatement: HokDispute; /** * Run one test auction (OpenRTB test: 1, not billable) against the configured * programmatic endpoint and report whether it answered and how many valid * bids came back. */ hokTestProgrammaticDemand: HokProgrammaticTestResult; /** * Move a channel between DRAFT, LIVE and OFFLINE. Every transition between the * three states is allowed; deletion is the terminal act. */ hokTransitionChannelStatus: HokChannel; /** Advance a production through its lifecycle (validated transitions). */ hokTransitionProduction: HokProduction; /** Move a rights window through its lifecycle (validated transitions). */ hokTransitionRightsWindow: HokRightsWindow; /** Move a Title through its publication lifecycle (validated transitions). */ hokTransitionTitle: HokTitle; /** Stop following a person as the calling viewer (idempotent). */ hokUnfollowTalent: HokTalentFollowState; /** * Retract the calling user's "helpful" vote on a review (self-scoped, idempotent). * Returns the review with its refreshed helpfulCount. */ hokUnvoteReviewHelpful: HokReview; hokUpdateAdCampaign: HokAdCampaign; hokUpdateAdSettings: HokAdSettings; /** Update channel metadata (name/slug/logo/language/genres/timezone/description). */ hokUpdateChannel: HokChannel; hokUpdateCostItem: HokCostItem; hokUpdateList: HokList; hokUpdateLocation: HokLocation; /** * Drive playback for a party — host only (enforced by owner-filter on hostUserId). * Fires a Redis-Streams event for real-time fan-out. */ hokUpdatePartyPlayback: HokWatchParty; hokUpdatePerson: HokPerson; hokUpdateProductionMember: HokProductionMember; hokUpdateProfile: HokProfile; hokUpdateSavedSearch: HokSavedSearch; hokUpdateScene: HokScene; hokUpdateShootDay: HokShootDay; hokUpdateShot: HokShot; hokUpdateStoryboardFrame: HokStoryboardFrame; hokUpdateStudio: HokStudio; hokUpdateTitle: HokTitle; /** Register or update an external watch provider, matched on its slug. */ hokUpsertWatchProvider: HokWatchProvider; /** * Cast the calling user's "helpful" vote on a review (self-scoped, idempotent — * a repeat vote is a no-op). Returns the review with its refreshed helpfulCount. */ hokVoteReviewHelpful: HokReview; hokWithdrawOffer: HokOffer; /** Withdraw a pending invitation. */ hokWithdrawTalentInvitation: HokTalentInvitation; holdMtwContainer: MtwContainerHold; /** Exclude a line deliberately (an own-account transfer). Distinct from leaving it unmatched. */ ignoreHealthyBowlStatementLine: HealthyBowlBankStatementLine; /** Import a dashboard from JSON */ importBigConsoleDashboard: BigConsoleImportDashboardResult; /** Import a dashboard from JSON */ importDashboard: BigConsoleDashboard; /** Create a dashboard in the caller's workspace from a store template. */ importDashboardTemplate: BigConsoleImportDashboardTemplateResult; /** * Import a bank statement. RUN WITH `dryRun: true` FIRST — a half-applied import across 300 rows * leaves a bookkeeper unable to tell what landed. Re-importing an overlapping statement is safe: * lines already present are counted as duplicates and skipped, never doubled. */ importHealthyBowlBankStatement: HealthyBowlStatementImportResult; /** Bulk-import buyers & suppliers from a CSV. Rows are upserted by (name, type). */ importHealthyBowlContacts: HealthyBowlContactImportResult; /** * Bulk-import health records from a CSV (BOFF-6028). Header: * `tag,type,date,diagnosis,treatment,veterinarian,cost,next checkup,status` — `tag` and `date` * required, column order free, common aliases accepted. * * RUN WITH `dryRun: true` FIRST. It validates and resolves every row, reports exactly what would * happen, and writes nothing — an import that half-succeeds across 500 rows is worse than none, * because the farmer cannot tell what landed. * * The animal is matched on `tagNumber` and is NEVER created: a row naming a tag that is not in the * herd is refused and named, rather than inventing a ghost animal and filing real medical history * against it. Re-importing the same file is safe — an exact duplicate (same animal, date and * diagnosis) is counted and skipped, not written twice. */ importHealthyBowlHealthRecords: HealthyBowlLivestockImportResult; /** * Book AssetHandler maintenance spend as HealthyBowl expense transactions (BOFF-6121). * * Each row becomes an EXPENSE transaction in category MAINTENANCE, dated when the work was * completed, which the shipped ledger projection then posts as a balanced journal entry against * `5600 Equipment & Maintenance`. Importing the same maintenance record twice is prevented by a * unique index, not by a check, so a double-click cannot double-book the expense. */ importHealthyBowlMachinerySpend: HealthyBowlMachinerySpendImportResult; /** Bulk-create suppliers from a parsed CSV import. Returns the created rows. */ importHealthyBowlSuppliers: Array<Supplier>; /** * Bulk-import vaccinations from a CSV (BOFF-6028). Header: * `tag,vaccine,date,next due,administered by,batch,status` — `tag`, `vaccine` and `date` required. * * Same contract as the health-record import: dry-run first, match the animal on `tagNumber` and * never create one, skip exact duplicates so a re-run cannot double a herd's vaccination history. */ importHealthyBowlVaccinations: HealthyBowlLivestockImportResult; importIcsToCalendar: IcsImportResult; importMtwCargoItems: MtwImportResult; importMtwCustomers: MtwImportResult; importMtwDrivers: MtwImportResult; importMtwVehicles: MtwImportResult; importMtwWarehouses: MtwImportResult; importSecrets: SecretImportResult; /** Import hosts from SSH config scan as targets (batch create). */ importTargetsFromConfig: TargetImportResult; /** * Import a portable workflow JSON document as a new DRAFT. * * Usage tracking: consumes one slot from fluidgrids.workflows.count, charged by * createWorkflowDefinition once the workflow exists (trackUsage is off, * BOFF-10662). A failed import (success: false) charges nothing. */ importWorkflow: ImportWorkflowResponse; /** * Import a workflow from a store template. * Creates a new DRAFT workflow definition from the provided definitionJson (or, * for a template with code, from its `source` files) and tracks the source * template for lineage/analytics. * * Usage tracking: consumes one slot from fluidgrids.workflows.count, charged by * createWorkflowDefinition (which this delegates to internally) once the workflow * exists (trackUsage is off, BOFF-10662). A failed import charges nothing. */ importWorkflowTemplate: ImportWorkflowTemplateResponse; /** * Import a resource configuration to create a new resource. * Workspace ID is read from gateway context (x-workspace-id header). */ importWorkspaceResourceConfig: WorkspaceResource; /** Increment file download count */ incrementFileDownloadCount: File; /** Increment file view count */ incrementFileViewCount: File; /** Index or reindex a file's content */ indexFileContent: ReindexResponse; /** * Ingest a real inbound social mention — called by a connected platform's * listening service or a generic relay (Zapier/Make-style webhook target). * Idempotent per (workspace, platform, externalId). */ ingestHeadshotmarketingSocialMention: HeadshotmarketingSocialMention; /** * Ingest daily mandi prices into the shared reference cache, then evaluate the workspace's enabled * alert rules and raise an in-app alert on a breach. Accepts a workspace member OR the FluidGrids * service actor (M2M via wspace-int-gateway) — the daily-cron writer. */ ingestHealthyBowlMandiPrices: IngestMandiPricesResult; /** Ingest one NDVI reading for a field (satellite pull). Persists it, detects stressed zones, and raises alerts. Accepts a workspace member OR the FluidGrids service actor (M2M). */ ingestHealthyBowlNdviReading: HbNdviIngestResult; /** Ingest one live probe reading. Persists it, refreshes the probe + soil snapshot, evaluates the field's thresholds, and raises an in-app alert on a breach. Accepts a workspace member OR the FluidGrids service actor (M2M via wspace-int-gateway). */ ingestHealthyBowlSensorReading: IngestSensorReadingResult; /** * Batch-ingest normalized activity events from an integration (browser * extension, IDE plugin, CLI, calendar sync, API). Idempotent per * (channelId, externalId). When channelId is a registered capture channel * (see connectTimeCampusCaptureChannel) it must belong to the caller; events * for a paused, disconnected or removed channel are refused (channelBlocked), * and the channel's privacy mode and retention window are applied. An * unregistered channelId is stored as an opaque reference. * * `idlePeriods` (BOFF-4210, at most 200) are the stretches the person was * away from the keyboard while the events were captured. With idle detection * on, every event is cut at idle/return so only its active parts are stored, * and each idle period at least as long as the person's threshold becomes an * away block or is discarded, per their settings. The character U+241E is * reserved for externalIds TimeCampus generates; an event whose externalId * contains it is refused. */ ingestTimeCampusCaptureEvents: TimeCampusIngestCaptureEventsResult; initializeDisposableWorkspaceMembers: Array<WorkspaceMember>; /** * Initialize a new workspace from global tenant service (service-to-service call) * Creates workspace with provided ID and initializes default resources. * Restricted to service actors only via gateway. */ initializeNewWorkspace: InitializeNewWorkspaceResult; /** Initialize a newly created workspace with default configuration */ initializeWorkspace: Workspace; /** * Service-internal workspace bootstrap: initializes default roles for a workspace * by cloning system roles. Called by wspace-workspace-svc during cross-layer * workspace sync, and safe to retry because it is idempotent. */ initializeWorkspaceRoles: InitializeWorkspaceRolesResult; initiateOAuth: OAuthInitiationResult; /** * Initiate a new upload session * Returns session details and initial presigned URLs */ initiateUpload: UploadSessionWithUrls; insertDataTableRow: DataTableRowResponse; /** Install an action from the store (creates a local instance) */ installActionFromStore: Action; installAgentOnTarget: InstallJob; /** * Install a plugin on an agent. The backend proxies the request * to the agent's REST API (POST /api/plugins/install). */ installAgentPlugin: AgentPluginActionResult; /** Install versioned inference/recovery templates and one idempotent recovery schedule using a workspace machine connection. */ installAssistantWorkflows: AssistantWorkflowInstallation; installCourseIngestionWorkflows: CourseIngestionWorkflowInstallation; /** * Make a registered version the workspace's active version of its key. * Fails for unregistered or DISABLED versions. Never creates a dashboard. */ installDashboardTemplateType: BigConsoleDashboardTemplateTypeRegistration; installNode: WorkspaceNodeInstallation; installPackage: InstalledPackage; /** * Make a registered version the workspace's active version of its key. * Fails for unregistered or DISABLED versions. */ installParserType: ParserTypeRegistration; installProviderPlugin: IntegrationProvider; /** * Install a plugin on an agent sourced from the Burdenoff store. * * Bridges store-svc ↔ vibecontrols-agent: the backend validates the caller's * entitlement via store-svc, reads the product manifest for the npm package * name + version, then calls the agent's /api/plugins/install endpoint. * Records an AppInstallation in store-svc on success. */ installStorePluginOnAgent: AgentPluginActionResult; /** Install an applet for the whole workspace. Idempotent. */ installTimeCampusApplet: TimeCampusApplet; /** * Install a certified marketplace applet, granting a subset of the scopes it * asks for. Installing again replaces the grant. */ installTimeCampusMarketplaceApplet: TimeCampusStoreApplet; /** * Install a published applet, granting a subset of the scopes it asks for. * Installing again replaces the grant. */ installTimeCampusThirdPartyApplet: TimeCampusStoreApplet; /** * Install (enable) a registered widget type for a workspace, so it appears in * that workspace's builder palette. */ installWidgetType: BigConsoleWidgetTypeRegistration; /** * Install an app in one or more workspaces * Pass single workspaceId in array for single workspace installation */ installWorkspaceApps: InstallWorkspaceAppsResult; /** Instantiate a template to create a new dashboard */ instantiateTemplate: BigConsoleDashboard; /** Instantiate a template to create a new component */ instantiateVibecontrolsTemplate: VibecontrolsComponent; intAddCaseEntry: IntCaseEntry; /** * Attach an alert to an investigation case (triage → escalate into a case). * Both the alert and the case must belong to the caller's workspace. */ intAttachAlertToCase: IntAlert; intCloseCase: IntCase; intCreateCase: IntCase; intCreateDetectionRule: IntDetectionRule; intCreateEntity: IntEntity; /** * Create a link-analysis edge between two tracked entities. Both entities * must belong to the caller's workspace. */ intCreateEntityRelationship: IntEntityRelationship; intCreateFeed: IntFeed; intCreateIndicator: IntIndicator; intCreateMission: IntMission; intCreateReport: IntReport; intCreateRequirement: IntCollectionRequirement; intCreateSource: IntSource; intCreateTask: IntCollectionTask; intDeactivateIndicator: IntIndicator; intDeleteDetectionRule: Scalars['Boolean']['output']; intDeleteEntityRelationship: Scalars['Boolean']['output']; /** * Pause ingestion for a feed. Idempotent. Leaves `status` untouched; a paused * feed rejects intRecordFeedIngest until resumed. */ intPauseFeed: IntFeed; intRaiseAlert: IntAlert; /** * Recall a released report (RELEASED → RECALLED), e.g. to correct or withdraw * a distributed intelligence product. Only a currently-RELEASED report can be * recalled; the transition is tenant-scoped and audit-tracked. */ intRecallReport: IntReport; /** * Record a successful ingest tick: bumps ingestCount, stamps lastIngestAt, and * marks the feed CONNECTED. */ intRecordFeedIngest: IntFeed; intRecordObservation: IntObservation; intReleaseReport: IntReport; /** Reopen a closed or archived case (back to OPEN, clears closedAt). */ intReopenCase: IntCase; /** Resume ingestion for a feed. Idempotent. */ intResumeFeed: IntFeed; intRetireSource: Scalars['Boolean']['output']; /** Mark a tasked requirement satisfied (stamps satisfiedAt). */ intSatisfyRequirement: IntCollectionRequirement; /** * Seed the caller's workspace with a complete, realistic demo intelligence * workflow in a single transaction: * - one OSINT source * - one collection requirement * - one collection task linking source → requirement * - one tracked entity * - one observation from the source/task linked to the entity * - one active indicator on the entity * - one open HIGH alert on the entity + indicator * * Idempotent within a workspace: running it a second time creates a second * demo set; clients that want a single demo set should gate it in the UI. */ intSeedWorkspaceDemoData: IntSeedWorkspaceDemoDataResult; /** Triage an alert through its lifecycle (validated transitions). */ intTransitionAlert: IntAlert; intTransitionMission: IntMission; /** * Advance a collection requirement through its PIR/EEI lifecycle (validated * transitions: draft → submitted → approved → tasked → satisfied). */ intTransitionRequirement: IntCollectionRequirement; /** * Advance a tasking order through its lifecycle (validated transitions). * An optional resultSummary is recorded when transitioning to COMPLETED. */ intTransitionTask: IntCollectionTask; intUpdateDetectionRule: IntDetectionRule; intUpdateEntity: IntEntity; /** Update a feed's connection metadata / health status. */ intUpdateFeed: IntFeed; intUpdateSource: IntSource; interruptPomodoroSession: PomodoroSession; /** * Invalidate data sink cache (v2.0) * Clears Redis cache for specific DataSink or all DataSinks in workspace */ invalidateDataSinkCache: InvalidateDataSinkCacheResult; /** Sponsor: invite a farm workspace onto a contract (creates an INVITED assignment). */ inviteHealthyBowlContractFarm: HealthyBowlContractAssignment; /** The co-op invites a member farm. Nothing of that farm is readable until it accepts. */ inviteHealthyBowlCoopMember: HealthyBowlCoopMembership; inviteToGroup: InviteResult; /** * Sender-side: create a workspace invite. Sends an email to `inviteeEmail` and * publishes `wspace.invite.created` to Redis Streams for in-app notification * fan-out. */ inviteWorkspaceMember: WorkspaceInvite; iotAcknowledgeAlert: IotAlert; iotCreateDeviceType: IotDeviceType; iotCreateGeofence: IotGeofence; iotCreateThresholdRule: IotThresholdRule; iotDeleteDevice: Scalars['Boolean']['output']; iotDeleteDeviceType: Scalars['Boolean']['output']; iotDeleteGeofence: Scalars['Boolean']['output']; iotDeleteThresholdRule: Scalars['Boolean']['output']; /** * Record telemetry through the SAME pipeline the signed webhook uses * (persist -> threshold/geofence evaluation -> Redis Streams events). * Useful for backfill, for manual entry, and to verify the pipeline * end-to-end in an environment where no device can reach the ingress. */ iotIngestReading: IotIngestResult; /** Attach a consuming product's own record id (e.g. a work-order id). */ iotLinkAlertExternalRef: IotAlert; /** * Mint a per-device ingest credential. The returned `secret` is shown once. * This is the credential that makes the workspace of an inbound reading a * property of the authenticated device rather than of caller-supplied input. */ iotMintIngestKey: IotMintedIngestKey; iotRegisterDevice: IotDevice; iotRevokeIngestKey: Scalars['Boolean']['output']; iotUpdateDevice: IotDevice; iotUpdateGeofence: IotGeofence; iotUpdateThresholdRule: IotThresholdRule; /** * Decide one agent tool call from stored data only (the agent named by the run's definition, the * wired tool sub-node, the allowlist and connection scope, and a live grant from the person the * run is attributed to) and mint its short-lived delegated token. A refusal is recorded as * agent.policy.blocked. Null when the node names no agent. * INTERNAL: Requires actorType SERVICE */ issueAgentRunToken?: Maybe<AgentRunToken>; /** Issue the QR check-in code for a site, revoking the site's previous code. */ issueCrewSiteCheckInCode: CrewSiteCheckInCode; /** BOFF-10194 — issues an additional ticket for a CONFIRMED/CHECKED_IN booking. Host of the booked listing only; operators use issueGgnomadTicketAsOperator. Travelers receive their ticket automatically on confirmation. */ issueGgnomadTicket: GgnomadTicket; /** BOFF-10194 — operator-only (ggnomad:manage): issues a ticket for any confirmed booking in the workspace. */ issueGgnomadTicketAsOperator: GgnomadTicket; /** * Issue a short-lived session token for a tunnel. The token is returned * exactly once and grants the agent the right to connect its provider * subprocess to the tunnel server. */ issueTunnelSession: TunnelSessionIssueResult; /** * Issue a workspace token for the authenticated actor. * Requires a valid auth-token (user) or app client-credentials token (app/service) * in the Authorization header — the gateway verifies it and injects x-actor-id. * * scopeType: "self" is an authentication gate here, NOT an arg-checked * authorization gate: identity (actorId) comes solely from the gateway-verified * JWT via x-actor-id, never from a request argument. This is a credential-mint * bootstrap — the workspace token does not yet exist, so it cannot be gated on a * wspace/self workspace scope — but it MUST require a signed, authenticated actor * (previously it was public, exempting it entirely from gateway RBAC). The * resolver then resolves org/workspace/project membership for that actor. * * Resolution behavior: * - organizationId is required, user must be a member * - If workspaceId not provided, resolves to first accessible workspace in org * - If projectId not provided, resolves to first accessible project in workspace */ issueWorkspaceToken: IssueWorkspaceTokenResult; joinCall: JoinCallPayload; joinGroup: JoinGroupResult; /** Join a shared session (starts collaboration) */ joinSharedSession: SessionCollaborator; joinViaInviteLink: ConversationMembership; kadaikodiAddAddress: KadaikodiCustomerAddress; kadaikodiAddPaymentMethod: KadaikodiCustomerPaymentMethod; kadaikodiAwardLoyaltyPoints: KadaikodiLoyaltyAccount; kadaikodiCancelMyMembership: KadaikodiCustomerSubscription; kadaikodiCreateInvestmentOpportunity: KadaikodiInvestmentOpportunity; kadaikodiCreateMembershipPlan: KadaikodiMembershipPlan; kadaikodiCreateOffering: KadaikodiOffering; kadaikodiCreatePaymentIntent: KadaikodiPaymentIntent; kadaikodiCreateProviderWorker: KadaikodiProviderWorker; kadaikodiCreateReview: KadaikodiReview; kadaikodiCreateServiceProvider: KadaikodiServiceProvider; kadaikodiCreateWorkerTask: KadaikodiWorkerTask; kadaikodiDeleteAddress: Scalars['Boolean']['output']; kadaikodiDeleteOffering: Scalars['Boolean']['output']; kadaikodiInvest: KadaikodiInvestment; kadaikodiPlaceOrder: KadaikodiOrder; kadaikodiRedeemLoyaltyPoints: KadaikodiLoyaltyRedemptionResult; kadaikodiRemovePaymentMethod: Scalars['Boolean']['output']; kadaikodiRequestPayout: KadaikodiPayoutRequest; kadaikodiRespondToReview: KadaikodiReview; kadaikodiSetDefaultAddress: KadaikodiCustomerAddress; kadaikodiSetDefaultPaymentMethod: KadaikodiCustomerPaymentMethod; kadaikodiSubscribeToMembership: KadaikodiCustomerSubscription; kadaikodiToggleFavorite: Scalars['Boolean']['output']; kadaikodiUpdateAddress: KadaikodiCustomerAddress; kadaikodiUpdateMembershipPlan: KadaikodiMembershipPlan; kadaikodiUpdateOffering: KadaikodiOffering; kadaikodiUpdateOrderStatus: KadaikodiOrder; kadaikodiUpdateProviderWorker: KadaikodiProviderWorker; kadaikodiUpdateServiceProvider: KadaikodiServiceProvider; kadaikodiUpdateWorkerTask: KadaikodiWorkerTask; kadaikodiUpdateWorkerTaskStatus: KadaikodiWorkerTask; kadaikodiWorkerClockInOut: KadaikodiClockResult; /** Append an immutable version to a dataset and bump its latestVersion. */ labAddDatasetVersion: LabDatasetVersion; /** * Append a step to a DRAFT protocol. * * Rejected with FAILED_PRECONDITION (`extensions.detail: "protocol-frozen"`) once * the protocol is PUBLISHED or DEPRECATED. Omitting `ordinal` appends after the * highest existing one; concurrent appends are serialised, and an explicit * duplicate `ordinal` is CONFLICT. */ labAddProtocolStep: LabProtocolStep; /** * Apply a signed quantity delta and recompute stock status. * * The quantity change is a relative, database-side increment guarded by a * `quantity >= |delta|` predicate, so two concurrent consumptions can never both * succeed against the same units. A consumption larger than the stock on hand is * rejected with FAILED_PRECONDITION — never clamped to zero. * * Every call also writes one `LabInventoryMovement` in the same transaction; * read it back with `labListInventoryMovements`. * * The recomputed status respects QUARANTINED and expiry, so an adjustment can * never silently return a held or expired lot to IN_STOCK. */ labAdjustInventory: LabInventoryItem; /** * Archive a dataset: sets status ARCHIVED and soft-deletes it in one write, and * emits an entity-DELETED graph event. Returns false when nothing was archived * (unknown id, another workspace's id, or already archived). * * CASCADES to the dataset's versions in the same transaction — they used to * survive as live rows nothing could navigate to (`LabDataset.versions` is the * only path to them and it filters `deletedAt: null`), each pointing at a * soft-deleted parent. * * REJECTED with FAILED_PRECONDITION (`extensions.detail: "archive-blocked"`) * while a QUEUED or RUNNING analysis run is reading the dataset; that * computation still expects its input to be there. FINISHED pipeline runs are * left untouched: a run is the historical record of an analysis and holds * `datasetId` as a provenance id, not a resolved link. */ labArchiveDataset: Scalars['Boolean']['output']; /** * Archive an experiment (soft delete). Returns false when nothing was archived * (unknown id, another workspace's id, or already archived). * * CASCADES, in one transaction, to the experiment's runs and to the notebook * entries filed against it, so neither is left listable pointing at an archived * parent (`LabExperimentRun.experiment` resolved to null before this). * * REJECTED with FAILED_PRECONDITION while the experiment is RUNNING * (`extensions.detail: "live-experiment"`) — move it to ANALYSIS or ABANDONED * first — and while it holds a run in progress or an attested * (SIGNED/WITNESSED/VOID) notebook entry (`detail: "archive-blocked"`). As with * `labArchiveProject`, the attested-entry block is permanent: close the * experiment out with `labTransitionExperiment(status: COMPLETE)` instead. * * `LabExperimentStatus` has no ARCHIVED member: the lifecycle is a scientific * state, not a storage state, so the experiment keeps the status it held and * the soft-delete marker is what archives it. */ labArchiveExperiment: Scalars['Boolean']['output']; /** * Retire an instrument (soft delete) and cancel its REQUESTED/CONFIRMED bookings. * * Cancelling the open bookings is part of retirement: a reservation on a * decommissioned instrument can never be honoured, and it would otherwise keep * holding its window against new bookings. The archived instrument is also * driven to OFFLINE, so a consumer reading it directly never sees it claiming to * be AVAILABLE. Returns false when nothing was archived (unknown id, another * workspace's id, or already archived). */ labArchiveInstrument: Scalars['Boolean']['output']; /** * Archive an inventory item (soft delete), emitting an entity-DELETED graph * event. `LabInventoryStatus` records *stock* state, not lifecycle, so it has no * ARCHIVED member and the item keeps the stock status it held when archived — * the soft-delete marker is what makes it archived, exactly as for projects and * datasets. An archived item is absent from `labListInventoryItems` under every * status filter and resolves to null from `labInventoryItem(id:)`. Returns false * when nothing was archived (unknown id, another workspace's id, or already * archived). */ labArchiveInventoryItem: Scalars['Boolean']['output']; /** * Archive an unattested ELN entry (soft delete). Returns false when nothing was * archived (unknown id, another workspace's id, or already archived). * * Rejected with FAILED_PRECONDITION (`extensions.detail: "record-integrity"`) * for a SIGNED, WITNESSED or VOID entry: an attested ELN record is permanent — * that is the guarantee the sign/witness feature sells — and it is never hidden * by this mutation nor by a cascade from its experiment or project. Retract one * with `labVoidNotebookEntry` instead. DRAFT and SUBMITTED entries have attested * nothing and archive freely. */ labArchiveNotebookEntry: Scalars['Boolean']['output']; /** * Archive an analysis pipeline and its runs (soft delete). Returns false when * nothing was archived (unknown id, another workspace's id, or already * archived). * * A pipeline could not be retired at all before this: a mistyped or superseded * one stayed on the Pipelines page for good AND kept counting against the * `labsofscience.pipelines.count` entitlement, so a workspace could permanently * exhaust its allowance with typos. * * CASCADES to its runs in the same transaction — `LabPipelineRun.pipeline` * filters `deletedAt: null`, so surviving runs would render with a pipeline link * resolving to null. The pipeline is also driven to `isActive: false`, so a * consumer reading it directly never sees a retired pipeline claiming to be * runnable. * * REJECTED with FAILED_PRECONDITION (`extensions.detail: "archive-blocked"`) * while a QUEUED or RUNNING run belongs to it. */ labArchivePipeline: Scalars['Boolean']['output']; /** * Archive a project: sets status ARCHIVED and soft-deletes it in one write, and * emits an entity-DELETED graph event. Returns false when nothing was archived * (unknown id, another workspace's id, or already archived). * * CASCADES, in one transaction, to the project's experiments, their runs, and * its notebook entries — they used to survive as fully listable rows whose * `projectId` pointed at a soft-deleted project, so `LabExperiment.project` * resolved to null and the Experiments and Notebook pages rendered a permanently * broken parent link. An entity-DELETED graph event is emitted for the project * and for each cascaded experiment. * * REJECTED with FAILED_PRECONDITION (`extensions.detail: "archive-blocked"`), * naming what blocks it and how many, when the project still holds a RUNNING * experiment, a run in progress, or an attested (SIGNED/WITNESSED/VOID) notebook * entry. * * The live-work blocks clear as the work finishes. The attested-entry block does * NOT: a project that holds a signed, witnessed or voided ELN entry can never be * archived, because this API has no way to read an archived entry back * (`labListNotebookEntries` has no archived view) and an unretrievable record is * exactly what the sign/witness guarantee forbids. Close such a project out with * `labUpdateProject(status: COMPLETED)` instead — that is what the status is for. * * DOES NOT cascade to datasets or analysis pipelines: their `projectId` is an * optional provenance link on an independently-owned asset, nothing resolves a * project object through it, and a dataset outliving the project that produced * it is normal. */ labArchiveProject: Scalars['Boolean']['output']; /** * Archive a protocol and its steps (soft delete). Returns false when nothing was * archived (unknown id, another workspace's id, or already archived). * * REFUSED with FAILED_PRECONDITION (`extensions.detail: "archive-blocked"`) when * any live experiment still FOLLOWS the protocol, naming how many. Archiving it * would make the method an experiment records having been run against * unresolvable — `LabProtocol` filters `deletedAt: null` everywhere — and "the * exact protocol this run used is still resolvable" is the reproducibility * guarantee this module exists to make. `labDeprecateProtocol` is the way to * retire a referenced SOP: it stops it being offered while keeping it resolvable. * * So archiving is for a protocol nothing depends on — a mistyped draft, a * duplicate, an SOP published and never used. Status is irrelevant to the block: * DRAFT, PUBLISHED and DEPRECATED protocols are treated identically, because * what matters is whether anything references it. * * The steps CASCADE in the same transaction (they are reachable only through * their protocol). `LabProtocolStatus` has no ARCHIVED member — status describes * editability, not storage — so the protocol keeps the status it held, and an * entity-DELETED graph event is emitted for it. */ labArchiveProtocol: Scalars['Boolean']['output']; /** * Archive a run (soft delete). Returns false when nothing was archived (unknown * id, another workspace's id, or already archived). * * Rejected with FAILED_PRECONDITION (`extensions.detail: "live-run"`) while the * run is IN_PROGRESS: a run that is executing is the scientific record being * written, so complete or cancel it with `labCompleteRun` first. PLANNED and * terminal runs archive freely. * * Notebook entries that reference the run through `runId` are left untouched — * `runId` is a provenance id, not a resolved link, and an entry that documents a * discarded run is still the record of what was observed. */ labArchiveRun: Scalars['Boolean']['output']; /** * Begin a PLANNED run: moves it to IN_PROGRESS and stamps `startedAt` at the * moment work actually starts, not at the moment it was scheduled. * * Rejected with FAILED_PRECONDITION when the run is not PLANNED * (`extensions.detail: "not-planned"`) or when its experiment has since gone * COMPLETE or ABANDONED (`detail: "terminal-experiment"`). */ labBeginRun: LabExperimentRun; /** * Reserve an instrument for a time window. * * The instrument must be AVAILABLE; a MAINTENANCE, OFFLINE or IN_USE instrument * is rejected with FAILED_PRECONDITION * (`extensions.detail: "instrument-unavailable"`). * * Non-overlap is enforced by a Postgres exclusion constraint, not by a * read-then-write check, so two simultaneous requests for one window can never * both succeed. An overlap detected up front is BAD_USER_INPUT; the loser of a * genuine race is CONFLICT. Intervals are half-open, so a booking may start * exactly when the previous one ends, and CANCELLED bookings never hold a slot. */ labBookInstrument: LabInstrumentBooking; /** * Cancel a booking, releasing its window. * * Restricted to the researcher who made it (`bookedById`), the instrument's * `custodianId`, a platform `service`/`super_admin` actor, or an actor holding * the `labsofscience-instrument-booking:manage` permission — anyone else gets * FORBIDDEN. A cross-workspace id still returns NOT_FOUND, never FORBIDDEN. * * Cancelling is a one-way transition out of REQUESTED/CONFIRMED: re-cancelling a * CANCELLED booking, or cancelling a COMPLETED one, is FAILED_PRECONDITION * (`extensions.detail: "already-cancelled"` / `"terminal-booking"`). */ labCancelBooking: LabInstrumentBooking; /** Record observations and complete a run with a terminal status. */ labCompleteRun: LabExperimentRun; /** * Register a dataset, optionally linked to the project and experiment that * produced it. * * When both `projectId` and `experimentId` are supplied the experiment must * belong to that project — a mismatch is NOT_FOUND, the same rule * `labCreateNotebookEntry` applies, so a dataset's provenance chain always * closes. */ labCreateDataset: LabDataset; labCreateExperiment: LabExperiment; labCreateInstrument: LabInstrument; labCreateInventoryItem: LabInventoryItem; /** * File an electronic lab notebook entry against a project, and optionally the * experiment and run it documents. * * The provenance chain must close: an `experimentId` must belong to `projectId`, * and a `runId` must belong to `experimentId` when one is given, or to * `projectId` when it is not. `title` and `body` are both scanned for * government-ID and payment-card identifiers (SENSITIVE_DATA_DETECTED). * `authorId` is always the caller. */ labCreateNotebookEntry: LabNotebookEntry; labCreatePipeline: LabAnalysisPipeline; labCreateProject: LabProject; labCreateProtocol: LabProtocol; /** * Retire a PUBLISHED protocol so a superseded SOP stops being offered. * * Does NOT soft-delete: the protocol stays resolvable and still appears under * `labListProtocols(status: DEPRECATED)`, because runs and experiments reference * it. Rejected with FAILED_PRECONDITION (`extensions.detail: "not-published"`) * for a DRAFT or an already-DEPRECATED protocol. */ labDeprecateProtocol: LabProtocol; /** * Researcher review/override of a prior AI decision. Recorded as a NEW, * append-only LabAgentRun row — never an edit of the original — and flips the * experiment's stored `lastAiRecommendation` to status OVERRIDDEN, keeping the * model's own label alongside it as `proposedRecommendation`. * * The run must be one that actually concerns this experiment, otherwise * NOT_FOUND. */ labOverrideAgentRun: LabAgentRunOverride; /** * Schedule a run without beginning it: creates it with status PLANNED and a null * `startedAt`. * * Same rules as `labStartRun` — the experiment must not be COMPLETE or ABANDONED * (FAILED_PRECONDITION), the run number is allocated atomically, and the monthly * run allowance is charged here, when the row is created, and not again when the * run begins. `labBeginRun` starts it; `labCompleteRun(status: CANCELLED)` closes * it if it never happens. */ labPlanRun: LabExperimentRun; /** * Publish a draft protocol, freezing its content and steps for reproducibility. * * Requires at least one step: an SOP with nothing to execute cannot be published * (FAILED_PRECONDITION, `extensions.detail: "no-steps"`). Publishing twice is * BAD_USER_INPUT; losing a race to a concurrent publish is FAILED_PRECONDITION. * `version` is unchanged — a new version only comes from `labReviseProtocol`. */ labPublishProtocol: LabProtocol; /** * Reads the experiment's recent LabExperimentRun rows, asks the AI to classify * replicate / adjust-parameters / escalate-review / conclude, and applies the * decision onto the experiment (queryable via * `LabExperiment.context.lastAiRecommendation`, recorded with status PROPOSED). * * An experiment with no runs is FAILED_PRECONDITION * (`extensions.detail: "no-runs"`) — there is nothing to reason over. Only * aggregates of the runs' statuses, timings and parameter/observation values are * sent to the model; run `notes` never are. */ labRecommendNextRun: LabRunRecommendationResult; /** * Open a new DRAFT at `version + 1` copying a frozen protocol's content and its * steps, so a published method can be changed without rewriting history. * * The source protocol is left completely untouched — this is what makes * `LabProtocol.version` meaningful. Returns the NEW draft. Rejected with * FAILED_PRECONDITION (`extensions.detail: "already-draft"`) when the source is * already a DRAFT, and with CONFLICT when two revisions of the same protocol * race for the same version number (retry). */ labReviseProtocol: LabProtocol; /** Queue a reproducible analysis-pipeline run over a dataset version. */ labRunPipeline: LabPipelineRun; /** * Freeze a dataset against new versions (LOCKED), or unfreeze it (ACTIVE). * * Only those two values are accepted. ARCHIVED is BAD_USER_INPUT naming * `status`: archiving sets the status and the soft-delete marker together and * stays a single path (`labArchiveDataset`), exactly as `labUpdateProject` * refuses `status: ARCHIVED`. */ labSetDatasetStatus: LabDataset; /** * Quarantine an item, or release it back to a derived stock status. * * This is the only path to `LabInventoryStatus.QUARANTINED`. The change is * recorded as a zero-delta `LabInventoryMovement` carrying `reason` and the * actor, so the same ledger answers "why is this held". The returned item's * `status` is what the item ACTUALLY became — releasing an empty lot returns * OUT_OF_STOCK, releasing an expired one returns EXPIRED. */ labSetInventoryStatus: LabInventoryItem; /** * Persist the workspace's default AI provider/model. Must be one of the pairs * returned by `labAiModelCatalog`. */ labSetWorkspaceAiModel: LabWorkspaceAiConfig; /** * Opt this workspace in to (or out of) the autonomous agent loop (BOFF-3585). * * When enabled, a scheduled tick periodically PROPOSES a next-run * recommendation for experiments in RUNNING/ANALYSIS that have recent * completed runs nobody has assessed lately — exactly what * `labRecommendNextRun` does, recorded with `trigger: SCHEDULED` — and never * applies one. It starts no run, changes no design, and publishes no protocol. * * Enabling it on a workspace that has never chosen a model also creates the * config row with the catalog's default provider/model. It does not touch a * model this workspace already picked, and it does not reset * `autoPilotLastRunAt`, so an opt-out/opt-in cycle still waits out the loop's * cooldown. */ labSetWorkspaceAutoPilot: LabWorkspaceAiConfig; /** Sign an ELN entry for record integrity (locks editable content). */ labSignNotebookEntry: LabNotebookEntry; /** * Start a new reproducible run of an experiment (auto-incremented runNumber). * * Rejected with FAILED_PRECONDITION * (`extensions.detail: "terminal-experiment"`) when the experiment is COMPLETE or * ABANDONED — a run cannot reopen a closed record, and it must not consume the * monthly run allowance for a dead experiment. */ labStartRun: LabExperimentRun; /** * Submit a DRAFT entry for signature (DRAFT → SUBMITTED). * * The author's "this is finished" step, before the signature that makes the * entry permanent. Author-only (FORBIDDEN otherwise, as with signing) and * rejected with FAILED_PRECONDITION (`extensions.detail: "not-draft"`) on an * entry that is not a DRAFT. Optional: `labSignNotebookEntry` accepts a DRAFT or * a SUBMITTED entry. */ labSubmitNotebookEntry: LabNotebookEntry; /** * The AI decision engine designs a reusable protocol from a live model call and * writes it into the real domain (LabProtocol status DRAFT + ordered * LabProtocolStep rows). A researcher reviews and publishes it via the existing * labPublishProtocol mutation. * * Exactly one of `projectId` / `experimentId` must be supplied; anything else is * BAD_USER_INPUT, and an id outside the caller's workspace is NOT_FOUND. A * provider outage or an unusable model response is AI_PROVIDER_UNAVAILABLE with * `extensions.agentRunId` pointing at the FAILED ledger row. The protocol is * tagged `ai-generated` and its provenance is readable at * `LabProtocol.context.agentRunId`. */ labSuggestProtocol: LabSuggestedProtocolResult; /** Advance an experiment through its lifecycle (validated transitions). */ labTransitionExperiment: LabExperiment; /** Advance a pipeline run through its execution lifecycle (validated). */ labTransitionPipelineRun: LabPipelineRun; /** * Edit a live experiment's design record. * * Rejected with FAILED_PRECONDITION * (`extensions.detail: "terminal-experiment"`) once the experiment is COMPLETE or * ABANDONED: the design a finished experiment was run under is part of the * record and does not move. Re-open it via `labTransitionExperiment` if it * genuinely needs to change. `status` is not editable here at all — the * lifecycle is only reachable through `labTransitionExperiment`. */ labUpdateExperiment: LabExperiment; /** * Rename, relocate, re-describe or change the operational status of an * instrument. * * Status is free-form, not a state machine: moving a machine between AVAILABLE, * IN_USE, MAINTENANCE and OFFLINE is an operational fact with no fixed order. * Only AVAILABLE instruments can be booked, so setting MAINTENANCE or OFFLINE is * how a broken instrument is taken out of service. Existing bookings are NOT * cancelled by a status change — use `labArchiveInstrument` to retire the * instrument and release them. Renaming onto another instrument's name is * CONFLICT; a null field is ignored rather than clearing the value. */ labUpdateInstrument: LabInstrument; /** * Update a project. `status: ARCHIVED` is rejected with FAILED_PRECONDITION — * archiving is `labArchiveProject`, which is the one path that sets the status * and the soft-delete marker together. */ labUpdateProject: LabProject; /** * Edit a DRAFT protocol's content. * * Rejected with FAILED_PRECONDITION (`extensions.detail: "protocol-frozen"`) on a * PUBLISHED or DEPRECATED protocol — publishing freezes the method. Use * `labReviseProtocol` to change a published SOP. */ labUpdateProtocol: LabProtocol; /** * Retract an ELN entry with a documented reason (any status → VOID). * * This is how a SIGNED or WITNESSED entry is withdrawn, because an attested * record is never archived or deleted: GxP / 21-CFR-11 requires a correction to * be DOCUMENTED, not erased. The entry stays fully listable and readable and * carries `voidedById`, `voidedAt` and `voidReason` — it is struck through, not * removed. * * `reason` must be non-empty after trimming (BAD_USER_INPUT naming `reason`) and * is scanned for government-ID and payment-card identifiers * (SENSITIVE_DATA_DETECTED). Voiding an already-void entry is * FAILED_PRECONDITION (`extensions.detail: "already-void"`). Deliberately not * author-only: the person retracting a record is often a supervisor, and the * author may have left. */ labVoidNotebookEntry: LabNotebookEntry; /** * Witness (counter-sign) a SIGNED ELN entry for record integrity. The witness * must be a different actor than the signer; the entry must be in SIGNED status. */ labWitnessNotebookEntry: LabNotebookEntry; leaveCall: LeaveCallPayload; leaveConversation: LeaveConversationPayload; /** Remove one presence connection (tab closed or navigated away) */ leaveDashboardPresence: Scalars['Boolean']['output']; /** Leave a shared session */ leaveSharedSession: Scalars['Boolean']['output']; /** Link (or with userId null, unlink) an employee's platform user. */ linkCrewEmployeeUser: CrewEmployee; /** Link a DataSink to a Workflow (many-to-many) */ linkDataSinkToWorkflow: DataSinkWorkflowLink; /** * Link a vibecontrols-owned entity (VibeDeck / Action / AiPrompt / Tunnel) to a * Vibe. Cross-svc entities (SANDBOX, SCHEDULED_JOB) have their own dedicated * mutations in wspace-sandbox-svc / wspace-scheduler-svc — calls with those * types here are rejected. RBAC: caller needs `update` on the entity's resource. */ linkEntityToVibe: VibeLinkedEntity; /** * Bind an existing social account to an already-created OAuth connection in * wspace-integrations-svc (the connectionId the platform OAuth popup returns). * Used to (re)connect an account without re-minting credentials — tokens stay * server-side in the integrations owner and are never handled here. Marks the * account connected; re-checks the social-accounts quota when reconnecting a * previously-disconnected account. */ linkHeadshotmarketingSocialAccountConnection: HeadshotmarketingSocialAccount; /** * BOFF-6095 — add an already-recorded harvest to inventory. * * Idempotent: a harvest that already carries a `productId` is returned unchanged rather than * banking its quantity a second time. Reuses the `healthybowl_harvest` / `update` permission — * this stamps the harvest row, so it is an update of that harvest, not a new resource. */ linkHealthyBowlHarvestToInventory: HarvestRecord; /** * Link a personal integration connection to a bot channel. * Called by microfe-botlit (via global-channel-svc) after the user completes OAuth * and clicks "Link to bot channel" in the UI. * Sets channelId + organizationId on the IntegrationConnection record. */ linkIntegrationToChannel: IntegrationConnection; /** * Link a sandbox to a Vibe. Caller must be the sandbox owner or a privileged * actor (super_admin/service). When linked the sandbox surfaces under the * vibe's linkedEntities feed subject to visibility. */ linkSandboxToVibe: Sandbox; /** * Link a scheduled job to a Vibe. Caller must have schedule:update on the * workspace. When linked the schedule surfaces under the vibe's linkedEntities * feed in wspace-vibecontrols-svc subject to visibility. */ linkScheduleToVibe: ScheduledJob; /** Link (or relink) the workspace's Git repository. Proves the connection can read the branch first. Needs publish rights. */ linkWorkflowGitRepository: WorkflowGitRepository; /** * Arm a one-shot test URL for a Form Trigger's hosted form. The URL serves the saved version's own * form behind the same authentication as production; its first accepted submission starts one * TEST run of that version with the submitted fields, and later submissions are refused. Read and * stop it with webhookTestListener and stopWebhookTestListener. Re-arming replaces the caller's * open listener for the same node. The run it starts consumes one unit of the monthly run quota, * like any editor test execution. */ listenForFormTestSubmission: WebhookTestListener; /** * Arm a one-shot test URL for a webhook trigger. Re-arming replaces the caller's open listener * for the same node. The run it starts consumes one unit of the monthly run quota, like any * editor test execution. */ listenForWebhookTestEvent: WebhookTestListener; /** Freeze an inventory's activity snapshots (DRAFT → LOCKED). */ lockHealthyBowlGhgInventory: HbGhgInventory; lockVault: Vault; logHealthyBowlLabourEntry: HealthyBowlLabourEntry; /** Log a medication treatment: computes per-produce clear dates and fires the 'withdrawal started' in-app notification. */ logHealthyBowlMedicationTreatment: MedicationTreatment; /** * One-tap "Log to Pest Issues": create a persisted PestIssue pre-filled from a * scan's diagnosis, entering the normal open→monitoring→resolved workflow. */ logHealthyBowlPlantScanToPestIssue: PestIssue; /** * Log a whole-life time entry (e.g. SLEEP, FAMILY, COMMUTE) as a real capture * event. Self-scoped — always logged for the calling user; takes no user id. */ logLifeTimeEntry: TimeCampusCaptureEvent; /** * Self-report an interruption during the caller's own ACTIVE focus session. * Returns the updated session (with the new interruption included). */ logTimeCampusFocusInterruption: TimeCampusFocusSession; manAddBomLine: ManBomLine; /** * Add a routing operation. Retry-safe with idempotencyKey; a sequence already * used on the order is rejected with MAN_OPERATION_SEQUENCE_TAKEN. Rejected * with MAN_ROUTING_LOCKED once the order is completed, closed or cancelled. */ manAddOperation: ManProductionOperation; manArchiveWorkCenter: Scalars['Boolean']['output']; /** Allocate a unit to (or consume it on) a production order, optionally naming the operation. */ manAssignMaterialSerial: ManMaterialSerial; /** * Explode the production order's BOM (recursively through sub-assemblies) * against real on-hand inventory (sum of ManMaterialLot AVAILABLE quantity * per SKU) and persist the net requirement per leaf component, replacing any * prior run for this order. */ manCalculateMaterialRequirements: Array<ManMaterialRequirement>; /** * Complete an in-progress work order with its evidence (technician, labor * time and notes required; parts, checklist and meter reading optional). * Completing a PREVENTIVE work order resets the asset's service baseline. */ manCompleteMaintenanceWorkOrder: ManMaintenanceWorkOrder; manCreateAsset: ManAsset; manCreateBom: ManBillOfMaterial; /** Record a sales-order line or a forecast for an item. OPEN demand feeds manPlanMaterialRequirements. */ manCreateDemand: ManDemand; manCreateErpConnection: ManErpConnection; manCreateInspectionPlan: ManInspectionPlan; manCreateInventoryItem: ManInventoryItem; /** Make a machine tag drive an asset. One mapping per (machineCode, tagName). */ manCreateMachineTagMapping: ManMachineTagMapping; manCreateMaintenanceWorkOrder: ManMaintenanceWorkOrder; manCreateMaterialLot: ManMaterialLot; manCreateProductionOrder: ManProductionOrder; /** Save a buy suggestion (or a manual request) for purchasing. It is open supply from then on. */ manCreatePurchaseRequest: ManPurchaseRequest; manCreateWorkCenter: ManWorkCenter; /** Remove a mapping. Its readings and any downtime it opened are kept. */ manDeleteMachineTagMapping: Scalars['Boolean']['output']; /** * Pull inventory items from the connected ERP and upsert them locally by SKU * (create if no local item with that SKU exists, otherwise update), recording * one ManErpSyncRecord per item. */ manErpPullInventoryItems: Array<ManErpSyncRecord>; /** * Pull accepted QuickBooks estimates as PLANNED production orders, one per sales line whose item * is mapped (via the item sync). Idempotent: a line that already has its order is counted, not * duplicated. Unmappable lines are logged as FAILED with the reason. */ manErpPullOrders: ManErpOrderPullResult; /** * Push one local inventory item to the connected ERP — creates it there on * first push (no `erpExternalId` yet) or updates it thereafter — and records * the attempt as a ManErpSyncRecord either way. */ manErpPushInventoryItem: ManErpSyncRecord; /** * Append the order's status and completed quantity to the private note of the QuickBooks * estimate it came from. Runs automatically when such an order is completed; this mutation * re-sends it on demand. */ manErpPushOrderStatus: ManErpSyncRecord; /** * Record one machine tag reading. This is the SAME ingestion path real MQTT * messages flow through (src/modules/connectivity/services/mqtt-ingestion.service.ts) * — useful as a manual/backfill entry point and to live-verify the ingestion * pipeline end-to-end via GraphQL in environments where no MQTT broker is * reachable (e.g. behind the ACA network's egress policy). */ manIngestTagReading: ManMachineTagReading; /** * Link a lot to a production order with a role and quantity (post-receipt * allocation). Quantities are checked against the lot (MAN_LOT_OVERALLOCATED); * blocked lots cannot be consumed. */ manLinkMaterialLotToOrder: ManMaterialLotOrderLink; /** Link an affected production order, operation or material lot. Idempotent. */ manLinkNonConformanceEntity: ManNonConformance; manRaiseNonConformance: ManNonConformance; /** * Partial receipt: register more units into an AVAILABLE serial lot. Rejected with * MAN_SERIAL_DUPLICATE (already registered / entered twice) or MAN_SERIAL_INVALID. */ manReceiveMaterialSerials: ManMaterialLot; manRecordDowntime: ManDowntimeEvent; manRecordInspection: ManQualityInspection; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — * re-accepting the same (checkpointType, documentVersion) updates the * timestamp/audit fields rather than duplicating the row. */ manRecordLegalAcceptance: ManLegalAcceptance; /** * Quick-entry mutation for a single SPC data point against one inspection * plan characteristic (a single reading or a subgroup of readings). Result * is auto-derived from the plan's characteristic spec limits when present. */ manRecordMeasurement: ManQualityInspection; /** Record progress against a routing operation (setup/run time, good/scrap counts). */ manRecordOperation: ManProductionOperation; /** * Quarantine review — the only way out of QUARANTINED. RELEASE returns the lot * to AVAILABLE, SCRAP dispositions it; both need a reason and are recorded as * their own history event. Gated behind the separate `release` permission. */ manReleaseMaterialLot: ManMaterialLot; /** * Quarantine review for a held unit (separate `release` permission). RELEASE is * refused while the unit's lot is quarantined (MAN_SERIAL_HELD_BY_LOT) — lot-held * units return with the lot's release; SCRAP is always available. */ manReleaseMaterialSerial: ManMaterialSerial; /** * Remove a routing step that has not started. Soft removal: the step and the * required reason stay on the routing history. */ manRemoveOperation: ManProductionOperation; /** * Reopen a CLOSED NCR (returns to INVESTIGATING). The reason is recorded on the * audit trail; the previous verification is cleared. */ manReopenNonConformance: ManNonConformance; /** * Move one routing operation on the schedule board by hand (BOFF-11327): a * new planned start, optionally on another work center. The operation keeps * the duration the scheduler gives it and must fit the work center's * remaining DAILY capacity (ManWorkCenter.capacityHours) on the UTC day it * starts, using the same capacity model as manScheduleProductionOrders; a move * that does not fit is refused with MAN_CAPACITY_EXCEEDED. Only a PENDING, * unstarted operation of a PLANNED, RELEASED or IN_PROGRESS order can move, * and the start cannot be before today. The order's planned window is rolled * up again from its placed operations. */ manRescheduleOperation: ManProductionOperation; /** * Reverse a lot-order link with a reason (corrections = reverse + re-link). * Refused once the lot is consumed or the order is finished (MAN_LOT_LINK_LOCKED). */ manReverseMaterialLotLink: ManMaterialLotOrderLink; /** * Run the shift-cadence watch loop for a workspace. Intended for service / * super-admin use and for the scheduled sweep; it never * transitions production orders, applies schedules, or sets lot statuses. */ manRunShiftWatch: ManAgentRun; /** * Deterministic priority + due-date greedy finite-capacity scheduler. Orders * the given (or all open) production orders by priority then due date, walks * each order's routing operations in sequence, and assigns each to the * earliest day its work center still has capacity * (ManWorkCenter.capacityHours), persisting plannedStart/plannedEnd on * ManProductionOperation (and rolling the min/max up onto the order). Does * NOT reoptimize a global objective — no constraint solver / genetic * algorithm; see PlanningService.scheduleProductionOrders for the documented * follow-up. */ manScheduleProductionOrders: ManScheduleResult; /** Close an OPEN demand as FULFILLED or CANCELLED, or reopen a CANCELLED one. */ manSetDemandStatus: ManDemand; /** * Move a lot along its lifecycle. Rejected with MAN_LOT_INVALID_TRANSITION when * the move is blocked (quarantined lots need manReleaseMaterialLot; consumed and * scrapped lots are final; expired lots cannot be allocated or consumed). * QUARANTINED and SCRAPPED require a reason (MAN_LOT_REASON_REQUIRED); a * quarantine may cite the NCR or inspection behind it. */ manSetMaterialLotStatus: ManMaterialLot; /** * Quarantine or scrap one unit (reason required; a quarantine may cite its NCR). * Quarantining an allocated unit releases its order allocation. */ manSetMaterialSerialStatus: ManMaterialSerial; /** * Move a purchase request OPEN -> ORDERED -> RECEIVED, or cancel it while OPEN * or ORDERED. supplierReference is recorded when given. */ manSetPurchaseRequestStatus: ManPurchaseRequest; /** * Move a work order between SCHEDULED / IN_PROGRESS / ON_HOLD / CANCELLED. * COMPLETED is rejected here (MAN_MWO_COMPLETION_REQUIRED): use * manCompleteMaintenanceWorkOrder with the completion evidence. */ manTransitionMaintenanceWorkOrder: ManMaintenanceWorkOrder; /** * Advance an NCR/CAPA one step: OPEN → INVESTIGATING → CONTAINED → * CORRECTIVE_ACTION → CLOSED. Skipped steps are rejected * (MAN_NCR_INVALID_TRANSITION) and each step requires its evidence * (MAN_NCR_EVIDENCE_REQUIRED, with extensions.missingFields). The comment is * recorded on the audit trail. */ manTransitionNonConformance: ManNonConformance; /** Advance a production order through its execution lifecycle (validated transitions). */ manTransitionProductionOrder: ManProductionOrder; /** Free an allocated unit (reason required). Consumed units are final (MAN_SERIAL_LOCKED). */ manUnassignMaterialSerial: ManMaterialSerial; /** Remove an affected-entity link. The removal stays on the audit trail. */ manUnlinkNonConformanceEntity: ManNonConformance; manUpdateAsset: ManAsset; /** Edit an OPEN demand. */ manUpdateDemand: ManDemand; manUpdateErpConnection: ManErpConnection; manUpdateInventoryItem: ManInventoryItem; manUpdateMachineTagMapping: ManMachineTagMapping; /** * Partially update a material lot's descriptive fields (name, quantity, uom, * supplier, receipt/expiry dates, tags). Status changes go through * `manSetMaterialLotStatus`. */ manUpdateMaterialLot: ManMaterialLot; manUpdateNonConformance: ManNonConformance; /** * Correct a routing step that has not started (MAN_OPERATION_STARTED once it * has). Recorded on the order's routing history. */ manUpdateOperation: ManProductionOperation; manUpdateProductionOrder: ManProductionOrder; /** Acknowledge, resolve or dismiss a watch finding. */ manUpdateWatchFinding: ManWatchFinding; /** Enable/disable and tune the watch loop for the current workspace. */ manUpdateWatchLoopConfig: ManWatchLoopConfig; manUpdateWorkCenter: ManWorkCenter; /** * Record the effectiveness check of the corrective action (NCR must be in * CORRECTIVE_ACTION with root cause and corrective action recorded). The * verifier is the calling actor. */ manVerifyNonConformance: ManNonConformance; /** * Manage workflow node containers (start/stop/restart). * PLATFORM: operates on the shared cross-tenant node container fleet, so it is * restricted to super_admin (matches cleanupNatsQueues / terminateWorkflow). */ manageContainers: ContainerActionResponse; markConversationAsRead: ConversationMembership; /** BOFF-4388 — marks a CONFIRMED booking NO_SHOW once its scheduled start has passed without check-in. BOFF-10194 — host of the listing only; operators use operateGgnomadBooking. */ markGgnomadBookingNoShow: GgnomadBooking; /** * Record the sale. Creates a real channel=AGGREGATION Order and takes grossAmount from what that * order totals — there is deliberately no grossAmount input. */ markHealthyBowlAggregationLotSold: HealthyBowlAggregationLot; markHealthyBowlAlertRead: HealthyBowlAlertMutationPayload; /** * Persist the read-state of government notifications (BOFF-6112). * * Before this, the Government Schemes page tracked read-state in React state only, so "mark all * read" was forgotten on the next reload and the same notifications reappeared forever. * * Reuses `healthybowl_dashboard` rather than minting a new resource string: a new resource name * would get no RBAC seed row (seeds are not owned in this repo) and would therefore grant nobody. */ markHealthyBowlGovernmentNotificationRead: HealthyBowlGovernmentNotificationReadPayload; /** Mark a fired weather alert as handled. */ markHealthyBowlWeatherAlertHandled: WeatherAlertEvent; markNoShow: Booking; /** Pair a statement line with a farm Transaction. Neither row's own figures are altered. */ matchHealthyBowlStatementLine: HealthyBowlBankStatementLine; /** * Merge a custom or backfill skill into another skill: holders, job postings and * relations move to the target, the source's names become target aliases, and * the source is removed. Starter-taxonomy skills cannot be the source. */ mergeCrewSkills: CrewSkillMergeResult; mergeTag: UniversalTag; mergeTags: UniversalTag; /** * Merge 2 to 50 of the caller's capture events into one (BOFF-4213). The * earliest event survives, spanning first start to last end; the others are * soft-deleted (re-ingesting them is still a duplicate). The merged duration * is the time the activities really covered, so gaps between them are never * counted. The merged event takes the category the most time was spent in. * Only the caller's own events can be merged, at most 24 hours apart. */ mergeTimeCampusCaptureEvents: TimeCampusCaptureEvent; /** * Mint a short-lived capability token bound to a single agent + scope. Replaces * the long-lived agent API key for browser-bound iframe / terminal embeds. * * The svc proxies to the agent's `POST /api/agent/iframe-token` over the * internal x-agent-api-key channel and returns the resulting HMAC-signed * token + expiry. The token is bound to a path prefix derived from * `scope` + `resourceId`: * * - TERMINAL_SESSION + resourceId=sessionId → `/terminal/<sessionId>` * - IFRAME_PLUGIN + resourceId=pluginName → `/ui/<pluginName>` * - PLAN_SESSION + resourceId=sessionId → `/plan/<sessionId>` * - CODE_SERVER + resourceId=instance (optional, currently ignored) → `/code-server` * - SCHEDULED_JOB + resourceId=sessionId → server-side only (rejected from public mint; * see ScheduledPromptService which routes via the trusted back-channel) * * The final prefix is validated against the agent's published allow-list * (`vibecontrols-agent` `iframe-tokens.ts::isValidIframePathPrefix`). Mints * whose computed prefix is banned (`/api`, `/api/ai`, `/api/profiles`, …) * are rejected with `BAD_USER_INPUT` so callers see a clear error instead * of a downstream upstream-rejected 400. * * `ttlSeconds` is clamped to [1, 600], default 60. Caller is auth'd by RBAC * (action: invoke, resource: agent, scope: wspace) and the agent must belong * to the caller's workspace — cross-workspace mint attempts return FORBIDDEN. */ mintAgentCapability: AgentCapability; modifyRecurringInstance: CalendarEvent; /** Move file to different folder */ moveFile: File; /** Move folder to different parent folder */ moveFolder: Folder; /** Move a deal to a different pipeline stage */ moveHeadshotmarketingDeal: HeadshotmarketingDeal; moveTag: UniversalTag; /** Move vibe to different parent */ moveVibe: Vibe; moveVibeDeckButton: VibeDeckButton; /** Move a widget to a different page */ moveWidgetToPage: BigConsoleWidget; /** Move a folder under a new parent (or to top-level with parentId: null). Rejects a cycle. */ moveWorkflowFolder: WorkflowFolder; /** Move a resource to a different workspace */ moveWorkspaceResource: ResourceOperationResult; /** * Accept one option of an open decision. An APPLY option changes the shipment * (carrier or promised delivery); FOLLOW_UP and RECORD options only record the * decision. When the shipment changed since the proposal the decision is marked * STALE and nothing is changed. */ mtwAcceptShipmentDecision: MtwShipmentDecision; /** * Accept the listed assignments of an open plan and reject the rest. One PLANNED * route is created per accepted assignment, through the normal route checks. * An empty list rejects the whole plan. */ mtwApplyDispatchPlan: MtwDispatchPlan; /** * Accept extracted fields per-field. Accepts are cumulative and idempotent; * the writes each accepted field triggers happen once. POD accepts advance * the referenced shipment via ShipmentService.addTrackingEvent(DELIVERED); * invoice accepts record a freight-invoice comparison against the shipment's * pinned estimate. Fields with no write mapping are recorded as accepted * (audit) without a write. */ mtwApplyDocumentExtraction: MtwDocumentExtraction; /** Register, verify or repair the workspace's integration-polls job. Idempotent. */ mtwEnsureIntegrationPollSchedule?: Maybe<MtwIntegrationPollSchedule>; /** Register, verify or repair the workspace's scheduled-reports job. Idempotent. */ mtwEnsureReportSchedule?: Maybe<MtwReportSchedule>; /** * Register, verify or repair the workspace's risk sweep with the platform * scheduler. Idempotent; leaves a job an operator paused alone. */ mtwEnsureRiskSweepSchedule?: Maybe<MtwRiskSweepSchedule>; /** * Run the shared vision model over a platform File and store the proposed * fields. Reads the file bytes through wspace-files-svc (presigned URL), * gates on checkAiCreditsFor and charges + ledger-records the call on the * shared AI runtime. Writes nothing onto orders / shipments / invoices. */ mtwExtractDocument: MtwDocumentExtraction; /** * Generate (or reuse) the AI narration for a shipment's current risk forecast * and return the forecast with it attached. With AI disabled, credits spent or * the daily cap reached, this returns the deterministic forecast unchanged and * makes no model call; `narrationStatus` says why. */ mtwNarrateShipmentRiskForecast: MtwRiskForecast; /** * Propose vehicle + driver assignments for PLANNED shipments that have no live * route. Proposal only: no route or delivery job is written. A new proposal * expires any older open one. */ mtwPlanDispatch: MtwDispatchPlan; /** * Rank the workspace's carriers for a PLANNED shipment's lane from its own * delivery history. Proposal only: the shipment's carrier is unchanged until an * option is accepted. A newer proposal expires the shipment's open one. */ mtwRecommendCarrier: MtwShipmentDecision; /** Reject every assignment of an open plan. Writes no route or delivery job. */ mtwRejectDispatchPlan: MtwDispatchPlan; /** Reject every option of an open decision. Nothing on the shipment changes. */ mtwRejectShipmentDecision: MtwShipmentDecision; /** * Rank remediations for a shipment its risk forecast says is late or at risk. * Proposal only: nothing on the shipment changes until an option is accepted. * Refused when the shipment is neither at risk nor past its promise. */ mtwResolveException: MtwShipmentDecision; /** * Poll every active pull-based integration of the workspace. Fired every few * minutes by wspace-scheduler-svc as this service's own service actor; a * workspace user may also run it on demand. */ mtwRunIntegrationPolls: MtwIntegrationPollRun; /** * Re-forecast every in-flight shipment of the workspace and notify for any that * started slipping. Fired by wspace-scheduler-svc as this service's own service * actor; a workspace user may also run it on demand. */ mtwRunRiskSweep: MtwRiskSweep; /** * Generate every scheduled report whose next run has passed. Fired hourly by * wspace-scheduler-svc as this service's own service actor; a workspace user * may also run it on demand. */ mtwRunScheduledReports: MtwScheduledReportsRun; muteConversation: ConversationMembership; /** * Accept a PENDING retuning proposal: apply its proposed targets to the * plan and mark it ACCEPTED (BOFF-5948). Refused with CONFLICT if the plan * was manually edited after the proposal was made. */ mybAcceptNutritionRetuning: MybNutritionRetuningProposal; /** Mark a goal as achieved (sets status + achievedAt). */ mybAchieveGoal: MybGoal; mybActivateNutritionPlan: MybNutritionPlan; mybAddExercise: MybExercise; mybAddWorkout: MybWorkout; mybArchiveProgram: Scalars['Boolean']['output']; /** Cancel a challenge the calling member created. */ mybCancelChallenge: MybChallenge; mybCompleteMindfulnessSession: MybMindfulnessSession; mybCompleteSession: MybWorkoutSession; /** * Connect (or re-activate) a wearable/health-platform link for the calling * actor (or a consented member, for a coach setting this up on their behalf). * APPLE_HEALTH / HEALTH_CONNECT are on-device bridges available today; * GARMIN / WHOOP / OURA require a paid cloud OAuth partner agreement this * platform does not yet hold, and are rejected with a clear error until one * exists (BOFF-4172). */ mybConnectDevice: MybDeviceConnection; mybCreateChallenge: MybChallenge; mybCreateCoaching: MybCoachingRelationship; mybCreateGoal: MybGoal; mybCreateNutritionPlan: MybNutritionPlan; mybCreateProgram: MybProgram; mybDeleteMeal: Scalars['Boolean']['output']; /** Delete one of the calling member's own posts. */ mybDeleteMySocialPost: Scalars['Boolean']['output']; /** * Revoke a device connection. The connection row is kept (status REVOKED) as * an audit trail; no further readings are accepted for it. */ mybDisconnectDevice: Scalars['Boolean']['output']; /** Dismiss a PENDING retuning proposal without changing the plan. */ mybDismissNutritionRetuning: MybNutritionRetuningProposal; mybExportData: MybExportResult; /** Give kudos to a post. Idempotent. */ mybGiveKudos: MybSocialPost; /** * Opt the calling member into a challenge. Idempotent — joining twice returns * the existing participant row rather than erroring. Fires a best-effort * "you joined a challenge" push notification. */ mybJoinChallenge: MybChallengeParticipant; /** Opt the calling member out of a challenge they previously joined. */ mybLeaveChallenge: Scalars['Boolean']['output']; mybLogMeal: MybMealLog; mybLogRecovery: MybRecoveryLog; mybLogSet: MybSessionSet; /** * Moderation: remove any post in the workspace from the feed. Restricted to * workspace administrators by the delete permission. */ mybModerateSocialPost: Scalars['Boolean']['output']; mybRecordBodyMetric: MybBodyMetric; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — * re-accepting the same (checkpointType, documentVersion) updates the * timestamp/audit fields rather than duplicating the row. */ mybRecordLegalAcceptance: MybLegalAcceptance; /** Take back kudos the calling member gave to a post. Idempotent. */ mybRemoveKudos: MybSocialPost; /** * Enable or withdraw consent for AI processing of this actor's health data * (BOFF-3838). Withdrawal disables AI-generated guidance summaries but leaves * rule-based guidance and all manual logging paths intact. */ mybSetAiProcessingConsent: MybAiProcessingConsent; /** * Explicitly share one of the calling member's completed sessions or * achievements to the workspace feed. Requires the member to have opted in. * Idempotent per source: sharing the same item twice returns the first post. */ mybShareToFeed: MybSocialPost; mybStartSession: MybWorkoutSession; /** * Ingest a batch of readings from a connected device's on-device bridge * (Apple HealthKit / Google Health Connect) and normalize each into a * MybRecoveryLog or MybBodyMetric row with source: DEVICE. */ mybSyncDeviceReadings: Array<MybWearableReading>; mybTransitionCoaching: MybCoachingRelationship; /** Advance a program through its lifecycle (validated transitions). */ mybTransitionProgram: MybProgram; /** * Save the calling member's AI settings. providerKey is optional — omitting it * leaves the stored key unchanged; passing an empty string clears it * (BOFF-5949). This is a pure CRUD mutation on `MybAiSettings` — no LLM is * invoked, no token is spent — so it intentionally does NOT carry an `@usage` * directive against `mybodyshield.ai_operations.daily`. That quota is owned by * the operation that actually consumes AI: `mybTodayGuidance` (when its * optional `aiSummary` is generated). */ mybUpdateAiSettings: MybAiSettings; mybUpdateGoal: MybGoal; /** * Create or update the calling member's community profile (display name and * the feed opt-in switch). */ mybUpdateMySocialProfile: MybSocialProfile; mybUpdateNutritionPlan: MybNutritionPlan; mybUpdateProgram: MybProgram; notifyTagAssigned: Scalars['Boolean']['output']; notifyTagRemoved: Scalars['Boolean']['output']; /** * Notify-on-change hook for plugin lifecycle events. Called by the agent's * plugin-mgr immediately after install/remove/reload so the * vibecontrolsAgentPluginStream subscription publishes within ms instead of * waiting for the next 30s server-side poll. The agent authenticates with * its stored credentials; the svc validates and forwards the new installed-list * to the GraphQL pubsub topic for that workspace+agent. * * Plugins are agent-wide (BOFF-2612); the notify is fan-out per agent, * not per profile. */ notifyVibecontrolsAgentPluginChange: Scalars['Boolean']['output']; /** * Run `vibe nuke` on the target with the given flags. Proxies POST * /api/agent/nuke. Destructive — wipes agent state / plugins / config. */ nukeVibecontrolsAgent: AgentProxyResponse; openCircuitBreaker: CircuitBreakerState; openMtwContainerCycle: MtwContainerCycle; openMtwFreeTimeClock: MtwFreeTimeClock; /** BOFF-10194 — operator-only (ggnomad:manage): runs a booking lifecycle transition on any booking in the workspace. */ operateGgnomadBooking: GgnomadBooking; optimizeRoute: MtwRoute; overrideTimeCampusWorkspaceQuota: TimeCampusWorkspaceQuotaAssignment; /** * Pause activities of a durable-function run: no new attempt starts, and a running attempt learns of * the pause on its next heartbeat. Needs fluidgrids.run-control. */ pauseActivity: WorkflowRun; /** BOFF-4388 — pauses an ACTIVE listing (hides it from booking) with an optional reason. */ pauseGgnomadListing: GgnomadListing; /** Pause an ACTIVE workflow — new triggers no longer start runs. */ pauseHeadshotmarketingAutomationWorkflow: HeadshotmarketingAutomationWorkflow; pauseScheduledJob: ScheduledJob; pauseSync: ExternalCalendarSync; pauseWorkflowRun: WorkflowRun; /** * Pause the schedule with a note: its fires are skipped and its buffered ticks dropped until it is * unpaused (a save or an activation does not resume it). Needs fluidgrids.schedule-policies. */ pauseWorkflowSchedule: WorkflowScheduleDescription; /** * DEPRECATED — use checkoutHealthyBowlInsurancePremium, which returns the handles needed to actually * collect the money. Kept (same return type, so nothing breaks) and now SAFE: it runs the identical * checkout path and returns the policy in premiumStatus PROCESSING. * * It previously raised an invoice, never initiated or verified a payment, and stamped the policy PAID * unconditionally — including on the billing-failure branch, where no invoice existed at all — while * writing a COMPLETED expense to the farm ledger. A farmer saw a premium marked Paid, and their books * showing the expense, for money that never moved (BOFF-6045). */ payHealthyBowlInsurancePremium: HealthyBowlInsurancePolicy; payInvoice: Invoice; /** Permanently delete file */ permanentlyDeleteFile: Scalars['Boolean']['output']; /** Permanently delete folder */ permanentlyDeleteFolder: Scalars['Boolean']['output']; pinConversation: ConversationMembership; /** Pin or unpin a comment */ pinEntityComment: EntityComment; pinMessage: Message; /** * Pin mock/sample node data (the node output consumed as downstream input) * on a DRAFT workflow (BOFF-7511). Persists with the workflow definition so * it round-trips with the draft. Only used by TEST-mode runs — see `RunMode`; * never affects a PRODUCTION run. The JSON payload must be an object. */ pinNodeData: WorkflowDefinition; /** Pin a note */ pinNote: VibecontrolsNote; /** Place a bid on a live auction. Fails if the auction is not live, has ended, or the amount is below the minimum. */ placeHealthyBowlBid: Bid; /** Place a lot of produce/milk into a bin; records an opening IN movement of the initial quantity. */ placeHealthyBowlStorageLot: HealthyBowlStorageLot; planMultiModalShipment: MtwShipment; /** Triage: accept an open request (SUBMITTED or UNDER_REVIEW) as UNDER_REVIEW or PLANNED */ planmagnetAcceptFeatureRequest: FeatureRequest; /** Post a comment on a doc */ planmagnetAddDocComment: PlanmagnetComment; /** Idempotent: linking the same work item to the same meeting twice is a no-op, not an error. */ planmagnetAddMeetingActionItem: PlanmagnetMeetingActionItem; /** Appends an item to the launch's readiness checklist. At most 100 items per launch. */ planmagnetAddProductLaunchChecklistItem: PlanmagnetProductLaunchChecklistItem; /** Post a comment on a project */ planmagnetAddProjectComment: PlanmagnetComment; /** Add a criterion to a release's readiness checklist (PRM-19) */ planmagnetAddReleaseChecklistItem: PlanmagnetReleaseChecklistItem; /** Post a comment on a roadmap or one of its items */ planmagnetAddRoadmapComment: PlanmagnetRoadmapComment; /** * Add members to a team. Re-adding an existing (live) member is a no-op, not * an error. */ planmagnetAddTeamMembers: Team; /** * Add projects to a team, so its team sprints can draw work from them. Every * project id must be a live project of this workspace. Re-adding an existing * (live) project is a no-op, not an error. */ planmagnetAddTeamProjects: Team; /** Post a comment on a work item */ planmagnetAddWorkItemComment: PlanmagnetWorkItemComment; /** * Add work items to a release. Each must be a live work item of the release's * project; otherwise nothing is added and the reason names how many were refused. */ planmagnetAddWorkItemsToRelease: Release; /** Add work items to a sprint */ planmagnetAddWorkItemsToSprint: Sprint; /** * Grant a user billable editor access to a PlanMagnet workspace. Rejected * once the workspace is at its plan's editor limit (Free tier: 10). * Idempotent: granting an already-active editor returns the existing seat. */ planmagnetAddWorkspaceEditor: PlanmagnetWorkspaceEditor; /** * Appends a built-in template's items, due their template offset before the target launch date. Idempotent: items of * this template already on the checklist are skipped. Refused when the checklist would exceed 100 items. */ planmagnetApplyProductLaunchTemplate: PlanmagnetProductLaunchTemplateApplyResult; /** Apply a template to create a new project */ planmagnetApplyTemplate: PlanmagnetProject; /** Approve a budget */ planmagnetApproveBudget: PlanmagnetBudget; /** * Mark a revision approved as the spec-of-record (GAP-07) — the prerequisite for PRM-N01 (Requirement-to- * Evidence Tracking), which this mutation does NOT itself start. Gated on `delete` — the only existing * `planmagnet-doc` action the role catalog grants solely to approver-level roles (Delivery Owner, Portfolio * Lead), the same reuse `planmagnetBreakDocLock` already documents for this resource's one admin-only tier; a * Product Manager / Delivery Contributor who can edit a doc (`update`) cannot approve one. Refused * BAD_USER_INPUT when the caller wrote the revision themselves — self-approval is not allowed, with no * exception, even if no other approver exists yet. Calling this again on an already-approved revision re-stamps * `approvedBy`/`approvedAt` to the new caller/moment rather than erroring — approving is idempotent, not a * one-way state transition. */ planmagnetApproveDocRevision: PlanmagnetDocRevision; /** Approve a submitted timesheet */ planmagnetApproveTimesheet: PlanmagnetTimesheet; /** Sets archivedAt = now(). A no-op (still succeeds) if already archived. */ planmagnetArchiveProduct: Product; /** Sets archivedAt = now(). A no-op (still succeeds) if already archived. Its links stay. */ planmagnetArchiveProductFeature: PlanmagnetProductFeature; /** Sets archivedAt = now(). A no-op (still succeeds) if already archived. Its products stay in it. */ planmagnetArchiveProductLine: PlanmagnetProductLine; /** * Sets status ARCHIVED (validatedAt is kept). The persona becomes read-only and leaves the default lists. A no-op * (still succeeds) if already archived. */ planmagnetArchiveProductPersona: PlanmagnetProductPersona; /** * Assigns the product to a product line, moving it out of any line it was in; `productLineId: null` (or omitted) * unassigns it. The line must be a live line of this workspace (unknown, deleted or other-workspace: NOT_FOUND) that * is not archived (BAD_USER_INPUT). Assigning the line the product is already in is a no-op success. */ planmagnetAssignProductLine: Product; /** Assign a work item to an actor */ planmagnetAssignWorkItem: WorkItem; /** * Force-release ANY holder's checkout lock (CWF-18). `planmagnet-doc` has no separate "admin" action, so this * reuses the resource's strongest existing tier — `delete` (the same tier that can remove the doc outright) — * rather than `update`, which every ordinary editor already holds and which is exactly the tier a stuck lock is * blocking: gating the override at the same tier it overrides would let anyone who hits the problem also fix it * around the very protection the lock exists to provide. */ planmagnetBreakDocLock: PlanmagnetDoc; /** Bulk update multiple work items at once */ planmagnetBulkUpdateWorkItems: Array<WorkItem>; /** Cancel a sprint (transition to CANCELLED) */ planmagnetCancelSprint: Sprint; /** * Acquire the checkout lock on a doc, or renew it if the caller already holds it (15-minute TTL either way). * Refused CONFLICT, naming the current holder, when someone else holds an unexpired lock. Gated on the doc's * ordinary update tier — the same permission an unlocked edit would need, since a lock is only ever a * coordination aid around that same edit right, never a separate privilege. */ planmagnetCheckoutDoc: PlanmagnetDoc; /** * Clear a previously-set CrewFoundry identity override, so the member falls back to the default best-effort * e-mail match. A no-op — not an error — when no override exists. */ planmagnetClearMemberIdentityOverride: Scalars['Boolean']['output']; /** * Issue a non-cacheable URL for a PlanMagnet comment attachment under a * short-lived, reader-scoped intent signed by PlanMagnet. This does not change * ordinary file permissions. */ planmagnetCommentFileDownloadUrl: Scalars['String']['output']; /** * Complete a sprint (transition to COMPLETED). What happens to its unfinished work items (any status but DONE or * CANCELLED) is the caller's explicit choice: carry them into another sprint, return them to the backlog, or keep * them recorded in the completed sprint — KEEP_IN_SPRINT, the behaviour when no choice is sent (unchanged for * existing clients). */ planmagnetCompleteSprint: Sprint; /** * Turn the autonomous planning loop on or off for this workspace (the off switch), provisioning or deleting * the three FluidGrids scheduled jobs. Enabling requires the planmagnet.intelligence-loop feature flag; * disabling is honoured immediately — a scheduled run checks `enabled` before anything else. */ planmagnetConfigureIntelligenceLoop: PlanmagnetIntelligenceLoop; /** Copy another release's criteria (never its ticks); labels already on this release are skipped */ planmagnetCopyReleaseChecklist: Array<PlanmagnetReleaseChecklistItem>; /** Create a new automation rule */ planmagnetCreateAutomationRule: PlanmagnetAutomationRule; /** Create a new board */ planmagnetCreateBoard: Board; /** Create a column on a board */ planmagnetCreateBoardColumn: BoardColumn; /** Save a board view (private unless shared) */ planmagnetCreateBoardView: PlanmagnetBoardView; /** Create a new budget */ planmagnetCreateBudget: PlanmagnetBudget; /** Create a competitor */ planmagnetCreateCompetitor: Competitor; /** Create a new custom field definition */ planmagnetCreateCustomFieldDefinition: CustomFieldDefinition; /** Records one response (source MANUAL). See PlanmagnetCreateCustomerSatisfactionResponseInput for the rules. */ planmagnetCreateCustomerSatisfactionResponse: PlanmagnetCustomerSatisfactionResponse; /** Create a new dependency between work items */ planmagnetCreateDependency: WorkItemDependency; planmagnetCreateDoc: PlanmagnetDoc; /** Create a new external sync configuration */ planmagnetCreateExternalSync: ExternalSync; /** Create a new feature request */ planmagnetCreateFeatureRequest: FeatureRequest; planmagnetCreateKeyResult: PlanmagnetKeyResult; /** Create a new milestone */ planmagnetCreateMilestone: Milestone; planmagnetCreateObjective: PlanmagnetObjective; /** Create a new portfolio */ planmagnetCreatePortfolio: Portfolio; planmagnetCreateProduct: Product; /** * Creates a feature under a live, non-archived product of this workspace (unknown/deleted/other-workspace product: * NOT_FOUND; archived product: BAD_USER_INPUT). */ planmagnetCreateProductFeature: PlanmagnetProductFeature; /** See PlanmagnetCreateProductLaunchInput. An unknown or deleted product is NOT_FOUND; an archived one is refused. */ planmagnetCreateProductLaunch: PlanmagnetProductLaunch; planmagnetCreateProductLine: PlanmagnetProductLine; /** * Records one estimate — see PlanmagnetCreateProductMarketSizingInput. An unknown or deleted product is NOT_FOUND; an * archived one is refused. */ planmagnetCreateProductMarketSizing: PlanmagnetProductMarketSizing; /** See PlanmagnetCreateProductPersonaInput. An unknown or deleted product is NOT_FOUND; an archived one is refused. */ planmagnetCreateProductPersona: PlanmagnetProductPersona; /** Create a new program */ planmagnetCreateProgram: Program; /** Create a new project */ planmagnetCreateProject: PlanmagnetProject; /** Create a new project template */ planmagnetCreateProjectTemplate: ProjectTemplate; /** Create a new quality gate */ planmagnetCreateQualityGate: QualityGate; /** Create a new release */ planmagnetCreateRelease: Release; planmagnetCreateReport: PlanmagnetReport; /** Owner-only. nextRunAt is computed server-side from cadence/hourUtc/dayOfWeek/dayOfMonth — never caller-supplied. */ planmagnetCreateReportSchedule: PlanmagnetReportSchedule; /** * Create a share link for one persisted run of a report the caller owns. Returns the share WITH its raw token * set — the only time the token is ever returned; store it now, it cannot be recovered later. */ planmagnetCreateReportShare: PlanmagnetReportShare; /** Create a new risk */ planmagnetCreateRisk: Risk; /** Create a new roadmap */ planmagnetCreateRoadmap: Roadmap; /** Create a roadmap item */ planmagnetCreateRoadmapItem: RoadmapItem; /** Create a new sprint */ planmagnetCreateSprint: Sprint; /** Create a new team. */ planmagnetCreateTeam: Team; /** Create a template from an existing project */ planmagnetCreateTemplateFromProject: ProjectTemplate; /** Create a new time entry */ planmagnetCreateTimeEntry: PlanmagnetTimeEntry; /** Create a new timesheet */ planmagnetCreateTimesheet: PlanmagnetTimesheet; /** Create a new outbound webhook subscription. Returns the signing secret in PLAINTEXT exactly once. */ planmagnetCreateWebhookSubscription: PlanmagnetWebhookSubscriptionWithSecret; /** Create a new work item */ planmagnetCreateWorkItem: WorkItem; /** * Accept or reject an OPEN suggestion — the doc's `update` tier, because accepting one is a real edit to the doc * (a new revision, through the same write path `planmagnetUpdateDoc` uses, including its lock rule). Refused * CONFLICT on accept when the doc has moved past the suggestion's `baseVersion` since it was proposed. NOT * author-gated — reaching this at all already means the caller holds the doc's edit tier, the same tier that * would let them make the identical change directly with `planmagnetUpdateDoc` instead of through this * suggestion, so deciding their own suggestion grants them nothing they did not already have. */ planmagnetDecideDocSuggestion: PlanmagnetDocSuggestion; /** * Record one reviewer's decision on an OPEN review. * * Gated at the READ tier deliberately, not at the catalog's Admin-only * `review`/`approve` action: a review's reviewers are chosen per request from * any workspace actor able to read the roadmap (stakeholders are routinely * not workspace Admins), so requiring the Admin tier here would make most * real reviewer lists unable to decide their own review. The real gate is * "must be a listed reviewer", enforced in RoadmapReviewService — a caller * not in `reviewerIds` is refused FORBIDDEN regardless of their RBAC role. A * second decision by the same reviewer is CONFLICT; deciding a review that is * no longer OPEN (already resolved, or withdrawn) is CONFLICT. */ planmagnetDecideRoadmapReview: PlanmagnetRoadmapReview; /** Triage: decline an open request, with the reason */ planmagnetDeclineFeatureRequest: FeatureRequest; /** Delete an automation rule */ planmagnetDeleteAutomationRule: Scalars['Boolean']['output']; /** Delete a board */ planmagnetDeleteBoard: Scalars['Boolean']['output']; /** Delete a board column */ planmagnetDeleteBoardColumn: Scalars['Boolean']['output']; /** Delete one of your board views (the work items and boards are untouched) */ planmagnetDeleteBoardView: Scalars['Boolean']['output']; /** Delete a budget */ planmagnetDeleteBudget: Scalars['Boolean']['output']; /** Delete a competitor */ planmagnetDeleteCompetitor: Scalars['Boolean']['output']; /** Delete a custom field definition */ planmagnetDeleteCustomFieldDefinition: Scalars['Boolean']['output']; /** Soft delete — the response stops counting in every figure. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetDeleteCustomerSatisfactionResponse: Scalars['Boolean']['output']; /** Remove a dependency */ planmagnetDeleteDependency: Scalars['Boolean']['output']; planmagnetDeleteDoc: Scalars['Boolean']['output']; /** Delete your own doc comment (only its author can) */ planmagnetDeleteDocComment: Scalars['Boolean']['output']; /** Delete an expense */ planmagnetDeleteExpense: Scalars['Boolean']['output']; /** Delete an external sync configuration */ planmagnetDeleteExternalSync: Scalars['Boolean']['output']; /** Delete a feature request */ planmagnetDeleteFeatureRequest: Scalars['Boolean']['output']; /** * Only the key result's owner, its objective's owner, or its creator may * delete it. */ planmagnetDeleteKeyResult: Scalars['Boolean']['output']; /** Delete a milestone */ planmagnetDeleteMilestone: Scalars['Boolean']['output']; /** Only the objective's owner or creator may delete it. */ planmagnetDeleteObjective: Scalars['Boolean']['output']; /** Delete a portfolio */ planmagnetDeletePortfolio: Scalars['Boolean']['output']; /** * Soft-delete. Every linked roadmap/release/feature request has its productId cleared, never deleted; every * ProductObjectiveLink and (PRM-01) ProductTeamLink row is removed. The product's own features are soft-deleted * with it — their feature-request and epic links are cleared; the requests and work items themselves are never * touched. (PRM-04) Its Personas are retained in the workspace library; only this Product's Persona memberships * are removed and their deprecated primary pointers cleared. Its market-size estimates and launch plans (with their * readiness checklists) are soft-deleted; the milestones, releases and roadmap items those launches linked to stay put. */ planmagnetDeleteProduct: Scalars['Boolean']['output']; /** * Soft-delete. In the same transaction every feature request pointing at it has its productFeatureId cleared and * every epic link is removed — no feature request or work item is deleted or otherwise changed. */ planmagnetDeleteProductFeature: Scalars['Boolean']['output']; /** Soft delete, with its checklist. Linked milestones and personas are untouched. Unknown id: NOT_FOUND. */ planmagnetDeleteProductLaunch: Scalars['Boolean']['output']; /** Soft delete. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetDeleteProductLaunchChecklistItem: Scalars['Boolean']['output']; /** * Soft-delete. Every product in the line is unassigned (its productLineId cleared) in the same transaction — no * product is deleted or otherwise changed. */ planmagnetDeleteProductLine: Scalars['Boolean']['output']; /** Soft delete. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetDeleteProductMarketSizing: Scalars['Boolean']['output']; /** Soft delete, archived or not. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetDeleteProductPersona: Scalars['Boolean']['output']; /** Soft-delete a program */ planmagnetDeleteProgram: Scalars['Boolean']['output']; /** Soft-delete a project */ planmagnetDeleteProject: Scalars['Boolean']['output']; /** Delete your own project comment (only its author can) */ planmagnetDeleteProjectComment: Scalars['Boolean']['output']; /** Delete a project template */ planmagnetDeleteProjectTemplate: Scalars['Boolean']['output']; /** Delete a quality gate */ planmagnetDeleteQualityGate: Scalars['Boolean']['output']; /** Delete a release */ planmagnetDeleteRelease: Scalars['Boolean']['output']; /** Owner-only, same NOT_FOUND/FORBIDDEN split as planmagnetUpdateReport. Soft delete. */ planmagnetDeleteReport: Scalars['Boolean']['output']; /** Owner-only. Soft delete. */ planmagnetDeleteReportSchedule: Scalars['Boolean']['output']; /** Delete a risk */ planmagnetDeleteRisk: Scalars['Boolean']['output']; /** Delete a roadmap */ planmagnetDeleteRoadmap: Scalars['Boolean']['output']; /** Delete your own comment (only its author can) */ planmagnetDeleteRoadmapComment: Scalars['Boolean']['output']; /** Delete a roadmap item */ planmagnetDeleteRoadmapItem: Scalars['Boolean']['output']; /** Soft-delete a sprint */ planmagnetDeleteSprint: Scalars['Boolean']['output']; /** * Soft-delete a team. Its team-scoped sprints disappear from every read at the * same time (same "a deleted parent takes its contents with it" behavior as * Project — see utils/live-project-scope.ts); the sprint rows themselves are * never cascaded or rewritten. */ planmagnetDeleteTeam: Scalars['Boolean']['output']; /** Delete a time entry */ planmagnetDeleteTimeEntry: Scalars['Boolean']['output']; /** Delete an outbound webhook subscription */ planmagnetDeleteWebhookSubscription: Scalars['Boolean']['output']; /** Soft-delete a work item */ planmagnetDeleteWorkItem: Scalars['Boolean']['output']; /** Delete your own comment (only its author can) */ planmagnetDeleteWorkItemComment: Scalars['Boolean']['output']; /** * AUT-02 — turn off this sync's inbound webhook. The receiver answers a disabled sync's id with 404, same as an * unknown one. */ planmagnetDisableSyncWebhook: ExternalSync; /** * FluidGrids callback: the committed workflow's http node calls THIS to run one workspace-scoped sweep. * Guarded by an HMAC(INTERNAL_SERVICE_TOKEN, workspaceId+kind) dispatchSecret (timing-safe compare). * Public so the unauthenticated workflow node can reach it through the gateway; tenancy comes only from * the HMAC-verified input, never from context headers. Every outcome (including skips) is observable on * the loop's run state. */ planmagnetDispatchIntelligenceSweep: PlanmagnetIntelligenceLoopRun; /** * Issue a short-lived download URL only for an attachment of a live comment (including a reply) on this exact * doc. A mutation prevents gateway response caches from replaying signed URLs. */ planmagnetDocCommentAttachmentUrl: Scalars['String']['output']; /** * Save a visible report (owned, or WORKSPACE-shared) as a new PRIVATE report owned by the caller — a "Save as" * that never inherits someone else's ownership or a shared report's wider visibility. `name` defaults to * "<original name> (copy)". */ planmagnetDuplicateReport: PlanmagnetReport; /** Change the text of your own doc comment (only its author can) */ planmagnetEditDocComment: PlanmagnetComment; /** Change the text of your own project comment (only its author can) */ planmagnetEditProjectComment: PlanmagnetComment; /** Change the text of your own comment (only its author can) */ planmagnetEditRoadmapComment: PlanmagnetRoadmapComment; /** Change the text of your own comment (only its author can) */ planmagnetEditWorkItemComment: PlanmagnetWorkItemComment; /** * AUT-02 — turn on (or rotate) this sync's inbound GitHub webhook. Returns the plaintext secret ONCE: store it in * the repo's GitHub webhook settings, it cannot be read back from this API again. */ planmagnetEnableSyncWebhook: PlanmagnetSyncWebhookSecret; /** Erase the person from PlanMagnet in one transaction; dryRun returns the counts and writes nothing (service actors only) */ planmagnetEraseSubject: PlanmagnetEraseResult; /** * Manually run an automation rule (BOFF-4445) against a specific work item. * * `triggerData` MUST include `workItemId` when any action targets a work item * (`ASSIGN_TO_USER`/`ADD_LABEL`/`SET_STATUS`/`SET_PRIORITY`/`POST_COMMENT`); * a manual run of such a rule with no target records a FAILURE execution * explaining that instead of evaluating anything. A rule whose every action * needs no work item (`RUN_WORKFLOW`, OVL-09 / BOFF-3532, which starts a run * of a canonical workflow in wspace-workflow-svc) runs without one; the * started WorkflowRun ids are recorded on the execution's * `result.workflowRuns`. When a WorkItem is * given, the rule's `conditions` are evaluated against a live snapshot of that * item (merged with any extra fields in `triggerData`) and, if they pass, its * `actions` are dispatched for real — this always records an * `AutomationExecution` row, including a non-matching run. * * Carries `@usage` again as of BOFF-4445: PlanMagnet now has a real evaluation * + dispatch engine (see `automation-engine.ts`), so a manual run is real * billable work. */ planmagnetExecuteAutomationRule: PlanmagnetAutomationExecution; /** Everything PlanMagnet holds that names the person, per table, deleted rows included (service actors only) */ planmagnetExportSubject: Scalars['JSON']['output']; /** * Export items to the external tool. Real for `provider: GITHUB` (BOFF-4446): * creates/updates real GitHub Issues for the given `internalIds` (WorkItem * ids), or one bounded page of every WorkItem in the sync's project when * omitted. Every other provider records an honest `NOT_IMPLEMENTED` outcome. */ planmagnetExportToExternal: PlanmagnetSyncResult; /** * Generate release notes from the closed work items linked to a release * (by `workItemIds`, falling back to the release's `projectIds`). * Persists the generated markdown on `Release.releaseNotes` so it remains * editable via `planmagnetUpdateRelease`. When `persist` is false the notes * are computed and returned without writing to the database. */ planmagnetGenerateReleaseNotes: PlanmagnetGenerateReleaseNotesPayload; /** * Imports a batch (source IMPORT). All or nothing: when any row is refused nothing is written, and the * BAD_USER_INPUT lists every refused row in `extensions.rowErrors` ({ row (1-based position in `rows`), field, code, * i18nKey, message }). Idempotent on externalId — see PlanmagnetCustomerSatisfactionImportResult. */ planmagnetImportCustomerSatisfactionResponses: PlanmagnetCustomerSatisfactionImportResult; /** * Import issues exported from an external tool (e.g. a Linear CSV/JSON export) * into a project as WorkItems. Idempotent — already-imported issues are skipped. */ planmagnetImportExternalIssues: PlanmagnetImportResult; /** * Import items from the external tool. Real for `provider: GITHUB` * (BOFF-4446): fetches real GitHub Issues (specific `externalIds`, i.e. issue * numbers, or one bounded page of all issues) and creates/updates the * matching PlanMagnet WorkItems. Every other provider records an honest * `NOT_IMPLEMENTED` outcome. */ planmagnetImportFromExternal: PlanmagnetSyncResult; /** Link a competitor to a feature request */ planmagnetLinkCompetitorToFeature: FeatureRequest; planmagnetLinkDocToWorkItem: PlanmagnetDoc; /** * Links an EPIC work item to the feature. Only `type: EPIC` is accepted (anything else: BAD_USER_INPUT) — stories * reach a feature through their epic. An epic belongs to at most one feature: linking one already under ANOTHER * feature moves it here. Both must be live rows of this workspace (else NOT_FOUND); an archived feature gains no new * epic (BAD_USER_INPUT); re-linking the same pair is a no-op success. The work item itself is never changed. */ planmagnetLinkEpicToProductFeature: PlanmagnetProductFeature; /** * Points a feature request at the feature that addresses it (FeatureRequest.productFeatureId). Both must be live rows * of this workspace (else NOT_FOUND). A request that has a product may only point at a feature of that same product * (another product's feature: BAD_USER_INPUT); a request with no product may point at any feature, and its product is * never set or changed by this. An archived feature gains no new request (BAD_USER_INPUT). A request points at one * feature at most: linking one that already points at ANOTHER feature moves it here (the same "the link is * overwritten" rule as planmagnetLinkProductRoadmap). The request is never converted or otherwise changed. Re-linking * is a no-op success. */ planmagnetLinkFeatureRequestToProductFeature: PlanmagnetProductFeature; planmagnetLinkKeyResultToWorkItem: PlanmagnetKeyResult; /** * Records a meeting already created in the platform Calendar (`createEvent`) * — this mutation never calls the Calendar API itself; it only validates and * stores the link plus this meeting's PlanMagnet-owned content. */ planmagnetLinkMeeting: PlanmagnetMeeting; /** * PRM-02: *-* join, same shape as planmagnetLinkProductObjective — re-linking an already-linked pair is a no-op * success, not a conflict. `productId`/`competitorId` must each be a live row of THIS workspace, else NOT_FOUND. */ planmagnetLinkProductCompetitor: Product; /** * Moves the feature request into this product. A request linked to a product feature (FeatureRequest.productFeatureId) * only moves into that feature's product — any other is BAD_USER_INPUT and nothing is written (PRM-01). */ planmagnetLinkProductFeatureRequest: Product; /** * Puts an existing milestone of this workspace on the launch's timeline (a link; the milestone stays in its project). * Already linked: a no-op. At most 50 per launch. */ planmagnetLinkProductLaunchMilestone: PlanmagnetProductLaunch; /** * Targets a Persona currently linked to this launch's Product; an archived Persona is refused unless already a target. * Removing that Product membership removes its launch targets. At most 20 per launch. */ planmagnetLinkProductLaunchPersona: PlanmagnetProductLaunch; /** * *-* join — same pairwise-link shape as planmagnetLinkKeyResultToWorkItem (okr module). Re-linking an * already-linked pair is a no-op success, not a conflict (matches the Team module's own precedent for a * re-added live member). */ planmagnetLinkProductObjective: Product; /** * Link an existing workspace Persona to a live Product without copying it. New links to archived Products or * Personas are refused; an existing link is an idempotent success. Unknown or other-workspace ids: NOT_FOUND. * The request must carry workspace context, including for service and super-admin actors. */ planmagnetLinkProductPersona: PlanmagnetProductPersona; planmagnetLinkProductRelease: Product; /** * roadmapId must be a live roadmap in this workspace. Reassignment is refused if an item on it is still linked * to another Product's live launch; unlink that launch's item before transferring this roadmap. */ planmagnetLinkProductRoadmap: Product; /** * PRM-01: Product *-* Team, for ownership, planning and reporting only. The link grants NO access: it writes the * join row and nothing else — no role, no team membership, no project link — so every actor's access stays exactly * what their own workspace role gives them. `productId`/`teamId` must each be a live row of THIS workspace, else * NOT_FOUND (nothing is written). An archived product gains no new team (BAD_USER_INPUT). Re-linking an * already-linked pair is a no-op success. */ planmagnetLinkProductTeam: Product; /** Link a work item to an external product entity */ planmagnetLinkWorkItem: WorkItemLink; /** Log an expense against a budget */ planmagnetLogExpense: BudgetExpense; /** Quick log time against a work item */ planmagnetLogTime: PlanmagnetTimeEntry; /** * Triage: merge an open request into its original. It becomes DUPLICATE of it, and its votes move there (a voter * who voted on both keeps one vote). Returns the original. */ planmagnetMergeFeatureRequest: FeatureRequest; /** Move a card (work item) to a different column and/or position */ planmagnetMoveCard: Board; /** * Move a roadmap item to a horizon/lane and position on the Now/Next/Later view (PRM-09). Renumbers the destination * group contiguously (0..n-1) with the moved item at the clamped index, and closes the gap left in the source group. */ planmagnetMoveRoadmapItem: RoadmapItem; /** Move a work item to a different status, sprint, or position */ planmagnetMoveWorkItem: WorkItem; /** Pause a sync */ planmagnetPauseExternalSync: ExternalSync; /** * Record that the caller is present on (optionally: typing on) a target, upserting their one row for it (CWF-24). * Rate-limited to at most once per 5 seconds per (target, actor) — a call inside that window is a silent no-op, * still returning true, rather than an error a client would need to handle specially. `targetId` must name a * LIVE row of `targetType` in the caller's own workspace that the caller can actually see (scoped the same way * that target's own read resolver scopes it) — NOT_FOUND otherwise, never FORBIDDEN, same house rule as every * other "does this id belong to me" check in this service. */ planmagnetPresenceHeartbeat: Scalars['Boolean']['output']; /** * Explicitly stop being present on a target (closing the view, not just going idle) — deletes the caller's own * row immediately rather than waiting for it to age out of the 30-second window or the hourly cleanup sweep. * Idempotent: leaving a target you were never present on is a no-op, still returning true. */ planmagnetPresenceLeave: Scalars['Boolean']['output']; /** * Issue a short-lived download URL only for an attachment of a live comment (including a reply) on this exact * project. A mutation prevents gateway response caches from replaying signed URLs. */ planmagnetProjectCommentAttachmentUrl: Scalars['String']['output']; /** * AUT-12 — GITHUB only: re-run PR/commit/release discovery for this sync right now, outside its normal * import/export cadence (which already runs it once per run — see planmagnetStartSync). Every other provider * returns linksUpserted: 0 with an honest NOT_IMPLEMENTED note in errors. */ planmagnetRefreshSyncCodeLinks: PlanmagnetCodeLinkRefreshResult; /** * GAP-09 backfill: re-emit an `updated` globalSearch event for every live row of every indexed entity * (Program/Project/WorkItem/Sprint/Milestone/Roadmap/RoadmapItem/Team/Product/FeatureRequest/Doc/Release/ * Objective/Portfolio/Risk) in this workspace. Idempotent — the search consumer upserts by entity type + id, so * running this again changes nothing beyond refreshing `updatedAt`. Same workspace-admin gate as the editor * seat mutations above, never a read-tier one: this can re-surface data a caller could not otherwise list. */ planmagnetReindexSearch: PlanmagnetReindexResult; /** Reject a submitted timesheet */ planmagnetRejectTimesheet: PlanmagnetTimesheet; /** * Release the checkout lock. Holder only — refused CONFLICT for anyone else, and the lock is left exactly as it * was (still held, still protecting the holder's edit) rather than silently freed. */ planmagnetReleaseDoc: PlanmagnetDoc; /** Remove a custom field value from a work item */ planmagnetRemoveCustomFieldValue: Scalars['Boolean']['output']; /** Remove a vote from a feature request */ planmagnetRemoveFeatureVote: Scalars['Boolean']['output']; /** Idempotent: returns false if the two were not linked, rather than erroring. */ planmagnetRemoveMeetingActionItem: Scalars['Boolean']['output']; /** Take an item off the checklist */ planmagnetRemoveReleaseChecklistItem: Scalars['Boolean']['output']; /** Remove members from a team. */ planmagnetRemoveTeamMembers: Team; /** * Remove projects from a team. Work items already in an active team sprint * from that project are NOT retroactively evicted — see sprint.service.ts. */ planmagnetRemoveTeamProjects: Team; /** Take work items out of a release. Ids not in the release are ignored. */ planmagnetRemoveWorkItemsFromRelease: Release; /** Remove work items from a sprint */ planmagnetRemoveWorkItemsFromSprint: Sprint; /** * Revoke a user's editor access to a PlanMagnet workspace, freeing the slot. * Idempotent: revoking a user who is not currently an editor returns false. */ planmagnetRemoveWorkspaceEditor: Scalars['Boolean']['output']; /** Reorder columns on a board */ planmagnetReorderColumns: Board; /** Puts the checklist in this order. `itemIds` must name every item of the checklist exactly once. */ planmagnetReorderProductLaunchChecklist: Array<PlanmagnetProductLaunchChecklistItem>; /** * Ask one or more workspace actors to review a roadmap. Refused with CONFLICT * while another review on the same roadmap is still OPEN — withdraw or decide * it first. */ planmagnetRequestRoadmapReview: PlanmagnetRoadmapReview; /** * Mark a top-level doc comment resolved, or reopen it (CWF-14). NOT restricted to the comment's author — anyone * who can reach this (the doc's write tier) may resolve or reopen ANY top-level comment. Refused BAD_USER_INPUT * on a reply: only a top-level comment carries a resolution. */ planmagnetResolveDocComment: PlanmagnetComment; /** * Mark a top-level project comment resolved, or reopen it (CWF-14). NOT restricted to the comment's author — * anyone who can reach this (the project's write tier) may resolve or reopen ANY top-level comment. Refused * BAD_USER_INPUT on a reply: only a top-level comment carries a resolution. */ planmagnetResolveProjectComment: PlanmagnetComment; /** * AUT-10/24 — resolve an OPEN conflict: SOURCE_WINS/TARGET_WINS actually push/pull the winning side's data * first; MERGE pulls the remote's structured fields onto the WorkItem while leaving both sides' title/description * untouched; MANUAL just closes the flag (the operator already fixed it outside the sync) */ planmagnetResolveSyncConflict: SyncConflict; /** * Mark a top-level comment resolved, or reopen it (CWF-14). NOT restricted to the comment's author — anyone who * can reach this (the work item's write tier) may resolve or reopen ANY top-level comment. Refused BAD_USER_INPUT * on a reply: only a top-level comment carries a resolution. */ planmagnetResolveWorkItemComment: PlanmagnetWorkItemComment; /** Resume a paused sync */ planmagnetResumeExternalSync: ExternalSync; /** * Non-destructive rollback: creates a NEW revision/version copying an older * revision's content rather than deleting any history. */ planmagnetRevertDoc: PlanmagnetDoc; /** Review a quality gate (pass, fail, or waive) */ planmagnetReviewQualityGate: QualityGate; /** Revoke a share link. Owner-only; revoking an already-revoked share is a no-op, not an error. */ planmagnetRevokeReportShare: Scalars['Boolean']['output']; /** * Rotate this subscription's signing secret. Returns the new secret in PLAINTEXT exactly once; the old secret * stops verifying deliveries immediately. */ planmagnetRotateWebhookSubscriptionSecret: PlanmagnetWebhookSubscriptionWithSecret; /** * Run a report NOW, as the caller. The report must be visible to the caller (owned, or WORKSPACE-visible); * every widget is then authorized and resolved independently — see this file's header. */ planmagnetRunReport: PlanmagnetReportRun; /** * Save a named snapshot of a roadmap and its current live items. Refused * BAD_USER_INPUT when the roadmap holds more than 2,000 live items. */ planmagnetSaveRoadmapVersion: PlanmagnetRoadmapVersion; /** Set a custom field value on a work item */ planmagnetSetCustomFieldValue: CustomFieldValue; /** * Set (create, or replace the target of) the CrewFoundry identity override for one workspace member (CWF-30). * Validates `platformUserId` is a real member of this workspace and `crewEmployeeId` a real employee in this * workspace's CrewFoundry roster (all of it, every page) before saving. Refused SERVICE_UNAVAILABLE, saving * nothing, while the CrewFoundry roster cannot be read. */ planmagnetSetMemberIdentityOverride: PlanmagnetMemberIdentityOverride; /** * Completes (records when and by whom) or reopens (clears both) an item. Completing a done item keeps who completed * it first. */ planmagnetSetProductLaunchChecklistItemDone: PlanmagnetProductLaunchChecklistItem; /** Tick (records who and when) or untick (clears both) a checklist item */ planmagnetSetReleaseChecklistItemDone: PlanmagnetReleaseChecklistItem; /** * Link (or clear, passing null) a work item to a conversation (CWF-26). The conversation itself is created by the * UI as the user through the Conversations API — this only stores the link, after format-validating the id; it * never calls the Conversations API itself. Recorded as a tracked field change (CWF-09) and published as the * usual real-time event, same as every other single-field WorkItem write (see `planmagnetAssignWorkItem`). */ planmagnetSetWorkItemDiscussion: WorkItem; /** Triage: hide a SUBMITTED request from the queue until a future moment (at most a year); null wakes it now */ planmagnetSnoozeFeatureRequest: FeatureRequest; /** Start a sprint (transition to ACTIVE) */ planmagnetStartSprint: Sprint; /** * Start a sync operation in the direction `ExternalSync.direction` already * records. Real for `provider: GITHUB` (BOFF-4446) — pulls/pushes real GitHub * Issues, bounded to one REST page each way. Every other provider records an * honest `NOT_IMPLEMENTED` outcome instead of a fabricated success. */ planmagnetStartSync: PlanmagnetSyncResult; /** Submit a timesheet for approval */ planmagnetSubmitTimesheet: PlanmagnetTimesheet; /** * Propose an edit to a doc without changing it (CWF-18 §2). Gated on `create` — the same tier * `planmagnetAddDocComment` uses, not the doc's `update` tier — because a suggestion, like a comment, is new * content ABOUT the doc, not a change TO it; nothing here can move the doc's title/content/version by itself * (see `planmagnetDecideDocSuggestion` for the only path that can). This lets a reviewer who can comment but not * edit outright still propose a change for someone who can to accept — the same "read to list, create to post, * update to change the resource itself" split CommentService documents for project/doc comments. */ planmagnetSuggestDocEdit: PlanmagnetDocSuggestion; /** * Calls the configured LLM provider to suggest a work-item breakdown for a * plain-text description. Fails clearly (GraphQL error) when no provider key * is configured or the model response can't be parsed — never returns * fabricated suggestions. */ planmagnetSuggestWorkItemBreakdown: PlanmagnetWorkItemBreakdownResult; /** AUT-23/20 — test an existing sync's connection through its real connector, writing nothing */ planmagnetTestExternalSync: PlanmagnetSyncConnectionTestResult; /** Toggle an automation rule (activate/pause) */ planmagnetToggleAutomationRule: PlanmagnetAutomationRule; /** Clears archivedAt. A no-op (still succeeds) if not archived. */ planmagnetUnarchiveProduct: Product; /** Clears archivedAt. A no-op (still succeeds) if not archived. */ planmagnetUnarchiveProductFeature: PlanmagnetProductFeature; /** Clears archivedAt. A no-op (still succeeds) if not archived. */ planmagnetUnarchiveProductLine: PlanmagnetProductLine; /** * Restores the status the persona had: VALIDATED when it has a validatedAt, else DRAFT. A no-op (still succeeds) if * not archived. */ planmagnetUnarchiveProductPersona: PlanmagnetProductPersona; /** Unlink a competitor from a feature request */ planmagnetUnlinkCompetitorFromFeature: FeatureRequest; planmagnetUnlinkDocFromWorkItem: Scalars['Boolean']['output']; /** * Removes only the link row — the work item is never touched. Unlinking a pair that is not linked is a no-op success * (false); an unknown, deleted or other-workspace id is NOT_FOUND. */ planmagnetUnlinkEpicFromProductFeature: Scalars['Boolean']['output']; /** * Clears the request's pointer when it points at this feature; a no-op success when it does not. An unknown, deleted * or other-workspace id is NOT_FOUND. */ planmagnetUnlinkFeatureRequestFromProductFeature: PlanmagnetProductFeature; planmagnetUnlinkKeyResultFromWorkItem: Scalars['Boolean']['output']; /** * Soft-deletes the LINK only. The calendar event itself is the user's to * delete, in the calendar — this mutation never calls the Calendar API. */ planmagnetUnlinkMeeting: Scalars['Boolean']['output']; /** PRM-02. Unlinking a pair that is not linked is a no-op success (false), not an error. */ planmagnetUnlinkProductCompetitor: Scalars['Boolean']['output']; planmagnetUnlinkProductFeatureRequest: Product; /** Takes a milestone off the timeline; the milestone is untouched. Not linked: a no-op. */ planmagnetUnlinkProductLaunchMilestone: PlanmagnetProductLaunch; /** Stops targeting a persona; the persona is untouched. Not a target: a no-op. */ planmagnetUnlinkProductLaunchPersona: PlanmagnetProductLaunch; planmagnetUnlinkProductObjective: Scalars['Boolean']['output']; /** * Unlink only this Product, also removing its launch targets for this Persona. The Persona remains in the workspace * library after its final unlink. Returns false if no membership existed; unknown or other-workspace ids: NOT_FOUND. * The request must carry workspace context, including for service and super-admin actors. */ planmagnetUnlinkProductPersona: Scalars['Boolean']['output']; planmagnetUnlinkProductRelease: Product; planmagnetUnlinkProductRoadmap: Product; /** * PRM-01. Removes only the join row. Unlinking a pair that is not linked is a no-op success (false); an unknown, * deleted or other-workspace product or team is NOT_FOUND. */ planmagnetUnlinkProductTeam: Scalars['Boolean']['output']; /** Remove a work item link */ planmagnetUnlinkWorkItem: Scalars['Boolean']['output']; /** Update an existing automation rule */ planmagnetUpdateAutomationRule: PlanmagnetAutomationRule; /** Update an existing board */ planmagnetUpdateBoard: Board; /** Update a board column */ planmagnetUpdateBoardColumn: BoardColumn; /** Change one of your board views */ planmagnetUpdateBoardView: PlanmagnetBoardView; /** Update an existing budget */ planmagnetUpdateBudget: PlanmagnetBudget; /** Update a competitor */ planmagnetUpdateCompetitor: Competitor; /** Update a custom field definition */ planmagnetUpdateCustomFieldDefinition: CustomFieldDefinition; /** Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetUpdateCustomerSatisfactionResponse: PlanmagnetCustomerSatisfactionResponse; /** Update an existing dependency */ planmagnetUpdateDependency: WorkItemDependency; planmagnetUpdateDoc: PlanmagnetDoc; /** Update an expense */ planmagnetUpdateExpense: BudgetExpense; /** Update an external sync configuration */ planmagnetUpdateExternalSync: ExternalSync; /** Update an existing feature request */ planmagnetUpdateFeatureRequest: FeatureRequest; /** * Progress is updated manually here via `currentValue` -- see module * deferral note re: automated roll-up from linked work item completion. * Only the key result's owner, its objective's owner, or its creator may * update it. */ planmagnetUpdateKeyResult: PlanmagnetKeyResult; /** Updates this meeting's PlanMagnet-owned content. Never touches the calendar event itself. */ planmagnetUpdateMeeting: PlanmagnetMeeting; /** Update an existing milestone */ planmagnetUpdateMilestone: Milestone; /** Only the objective's owner or creator may update it. */ planmagnetUpdateObjective: PlanmagnetObjective; /** Update an existing portfolio */ planmagnetUpdatePortfolio: Portfolio; planmagnetUpdateProduct: Product; planmagnetUpdateProductFeature: PlanmagnetProductFeature; /** See PlanmagnetUpdateProductLaunchInput. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetUpdateProductLaunch: PlanmagnetProductLaunch; /** Edits an item. Unknown, deleted or other-workspace id: NOT_FOUND. */ planmagnetUpdateProductLaunchChecklistItem: PlanmagnetProductLaunchChecklistItem; planmagnetUpdateProductLine: PlanmagnetProductLine; /** Unknown, deleted or other-workspace id: NOT_FOUND. An archived persona is refused. */ planmagnetUpdateProductPersona: PlanmagnetProductPersona; /** Update an existing program */ planmagnetUpdateProgram: Program; /** Update an existing project */ planmagnetUpdateProject: PlanmagnetProject; /** Update an existing project template */ planmagnetUpdateProjectTemplate: ProjectTemplate; /** Change a project's workflow */ planmagnetUpdateProjectWorkflow: PlanmagnetProjectWorkflow; /** Update an existing quality gate */ planmagnetUpdateQualityGate: QualityGate; /** Update an existing release */ planmagnetUpdateRelease: Release; /** Rename, re-order or change whether a checklist item is required */ planmagnetUpdateReleaseChecklistItem: PlanmagnetReleaseChecklistItem; /** * Owner-only. A WORKSPACE-visible report the caller does not own is FORBIDDEN; a PRIVATE report of someone * else's is NOT_FOUND. */ planmagnetUpdateReport: PlanmagnetReport; /** Owner-only. A change to cadence/hourUtc/dayOfWeek/dayOfMonth recomputes nextRunAt from now. */ planmagnetUpdateReportSchedule: PlanmagnetReportSchedule; /** Update an existing risk */ planmagnetUpdateRisk: Risk; /** Update an existing roadmap */ planmagnetUpdateRoadmap: Roadmap; /** Update a roadmap item */ planmagnetUpdateRoadmapItem: RoadmapItem; /** Update an existing sprint */ planmagnetUpdateSprint: Sprint; /** * Update an existing team. Membership and projects are changed through the * dedicated mutations below, not through this one. */ planmagnetUpdateTeam: Team; /** Update an existing time entry */ planmagnetUpdateTimeEntry: PlanmagnetTimeEntry; /** Update an outbound webhook subscription's URL, subscribed events, or status */ planmagnetUpdateWebhookSubscription: PlanmagnetWebhookSubscription; /** Update an existing work item */ planmagnetUpdateWorkItem: WorkItem; /** Update an existing work item link */ planmagnetUpdateWorkItemLink: WorkItemLink; /** Vote on a feature request */ planmagnetVoteOnFeature: FeatureVote; /** * Withdraw your own OPEN suggestion. Author only — refused NOT_FOUND (never FORBIDDEN) for anyone else's, the * same house rule as `planmagnetDeleteDocComment`, whose `update`-tier gating this mirrors exactly. */ planmagnetWithdrawDocSuggestion: PlanmagnetDocSuggestion; /** * Withdraw an OPEN review (the requester only). Refused NOT_FOUND when it no * longer exists, CONFLICT when it already left OPEN. */ planmagnetWithdrawRoadmapReview: PlanmagnetRoadmapReview; /** * Issue a short-lived download URL only for an attachment of a live comment (including a reply) on this exact * work item. A mutation prevents gateway response caches from replaying signed URLs. */ planmagnetWorkItemCommentAttachmentUrl: Scalars['String']['output']; /** Poll one pull-based integration (Geotab) now, outside its schedule. */ pollIntegrationNow: MtwIntegrationPollResult; /** Post a balanced double-entry journal entry (Σdebit must equal Σcredit). */ postHealthyBowlJournalEntry: HealthyBowlJournalEntry; prepareCourseAssistantKnowledge: CourseAssistantKnowledgeSetup; /** Presigned PUTs for a bundle (8 MiB) and its source archive (32 MiB), within the code bundle quota. */ prepareWorkflowCodeUpload: WorkflowCodeUploadTicket; /** * Open an upload for one evidence file of an already pushed scan run. The file * is stored in wspace-files-svc as the caller; PUT it as uploadType says, then * complete it (completeSecurityEvidenceUpload, or evidenceRefs on the next push * for DIRECT uploads). */ presignSecurityEvidence: SecurityEvidencePresign; /** * Queue start-up snapshots of a published node version on every platform that * uses them. Service actors only (the devportal publish pipeline). Idempotent. */ prewarmNodeRuntimes: PrewarmNodeRuntimesResult; /** Promote the version currently in one environment to another (copies version + audits the promotion). */ promoteDeployment: ComponentDeployment; /** * Promote a reviewed, succeeded script run to the real target — stamps the sign-off (who/when/note) * onto the same record. Only a run that succeeded in the sandbox can be promoted. */ promoteSandboxScriptRun: SandboxScriptRun; promptBeginInvocationAttemptV2: PromptInvocationAttemptV2; promptCreateGuardrailPolicy: PromptGuardrailPolicy; promptCreateMcpServer: PromptMcpServer; promptCreateModel: PromptModel; promptCreateProvider: PromptProvider; /** * The secret is encrypted before it is written and is never readable again * through this API. */ promptCreateProviderCredential: PromptProviderCredential; promptCreateTemplate: PromptTemplateDef; /** Creates the next version. Existing versions are never modified. */ promptCreateTemplateVersion: PromptTemplateVersion; promptDeleteGuardrailPolicy: Scalars['Boolean']['output']; promptDeleteMcpServer: Scalars['Boolean']['output']; promptDeleteModel: Scalars['Boolean']['output']; promptDeleteProvider: Scalars['Boolean']['output']; promptDeleteTemplate: Scalars['Boolean']['output']; /** Evaluates every active policy against a body of text. Read-only. */ promptEvaluateGuardrails: PromptGuardrailDecision; /** * Makes a version the one served to callers that do not pin one, and publishes * `prompt.version.published` for botlit and bigconsole (EVENT_TAXONOMY.md). */ promptPublishTemplateVersion: PromptTemplateVersion; /** * Record a model call. Idempotent on `requestId` — a retry returns the existing * row rather than double-counting spend. */ promptRecordInvocation: PromptInvocation; promptRecordInvocationUsageV2: PromptInvocationUsageRevisionV2; /** * Fills a template version's variables in. Fails on a missing variable rather * than shipping a literal {{placeholder}} to a model. */ promptRenderTemplate: PromptRender; promptRevokeProviderCredential: PromptProviderCredential; promptUpdateGuardrailPolicy: PromptGuardrailPolicy; promptUpdateMcpServer: PromptMcpServer; promptUpdateModel: PromptModel; promptUpdateProvider: PromptProvider; promptUpdateTemplate: PromptTemplateDef; propagateTagToChildren: Array<UniversalTagAssignment>; /** * Run an agronomic sweep and return the proposals it wrote. * * A second sweep over unchanged data updates the open proposal rather than * adding another — otherwise the inbox becomes a pile of identical cards, which * is how a farmer learns to ignore it. * * Returns BLOCKED rows too: a treatment the compliance rail refused is recorded * so the farmer can see it was considered and why it was refused. Dropping it * silently looks identical to the engine never having noticed. */ proposeHealthyBowlAgronomyDecisions: AgronomyDecisionSweepResult; /** * Apply a suggestion: build its change on the workflow's latest version as an OPTIMISE workflow * proposal owned by the caller, without a model call. Returns the suggestion with proposalId set; * preview the proposal with workflowProposal(id) and apply it with applyWorkflowProposal, which * creates a new DRAFT version. Nothing is applied by this call. */ proposeOptimisation: OptimisationSuggestion; /** * Propose a fix for a failed run against the version that ran. Returns * PROCESSING; poll `workflowProposal(id)`. */ proposeRunFix: WorkflowProposal; /** * Propose a new workflow, or a change to an existing workflow, from a * description. Returns PROCESSING; poll `workflowProposal(id)`. Nothing is * saved until applyWorkflowProposal. */ proposeWorkflowChange: WorkflowProposal; /** Ask the composer (AI when configured, deterministic otherwise) for a proposal. Nothing is saved. */ proposeWorkspaceComposition: WorkspaceCompositionProposal; /** Provision an Ask or Take-action assistant sandbox for the caller (any workspace role). */ provisionAssistantSandbox: Sandbox; /** * Proxy an HTTP request to a sandbox service. Used by the frontend to communicate * with services running inside sandboxes (e.g., ai-assistant) through the gateway. */ proxySandboxRequest: ProxySandboxResponse; pswAddTeamAssignment: PswTeamAssignment; pswApproveTimeEntry: PswTimeEntry; pswArchiveClient: Scalars['Boolean']['output']; pswArchiveComplianceObligation: Scalars['Boolean']['output']; pswArchiveDocument: PswDocument; pswArchiveEducationCredit: Scalars['Boolean']['output']; pswArchiveIssuingBody: Scalars['Boolean']['output']; pswArchivePractitioner: Scalars['Boolean']['output']; pswArchivePractitionerCredential: Scalars['Boolean']['output']; /** * Practitioner-side: cancels a pending (unclaimed) self-service invite. * Claimed invites cannot be cancelled — revoke the portal link instead. */ pswCancelClientPortalInvite: PswClientPortalInvite; pswCancelInvoice: PswInvoice; /** * Disables the filing's recurring reminder cron and clears * reminderScheduleId. No-op if nothing is scheduled. */ pswCancelRecurringFiling: PswRecurringFiling; /** * Disables the retainer's recurring cron and clears retainerScheduleId. * No-op if nothing is scheduled. */ pswCancelRetainerBilling: PswEngagement; pswCancelSignatureRequest: PswSignatureRequest; pswClearCustomFieldValue: Scalars['Boolean']['output']; pswCloseMatter: PswMatter; pswCloseTrustAccount: PswTrustAccount; /** * Compliance action: execute a PENDING/PROCESSING/FAILED erasure request — * hard-deletes eligible soft-deleted rows, honouring legal-hold and * statutory-retention exceptions. Workspace-scoped admin action. */ pswCompleteDataErasureRequest: PswDataErasureRequest; pswCompleteMilestone: PswMilestone; pswCreateClient: PswClient; pswCreateComplianceCheck: PswComplianceCheck; pswCreateComplianceObligation: PswComplianceObligation; pswCreateConflictCheck: PswConflictCheck; pswCreateCustomFieldDefinition: PswCustomFieldDefinition; /** File a data-subject request. Self-scoped (Type A). */ pswCreateDataSubjectRequest: PswDataSubjectRequest; pswCreateDeliverable: PswDeliverable; pswCreateDocument: PswDocument; pswCreateEngagement: PswEngagement; pswCreateInvoice: PswInvoice; pswCreateIssuingBody: PswIssuingBody; pswCreateMatter: PswMatter; pswCreateMilestone: PswMilestone; pswCreatePracticeArea: PswPracticeArea; pswCreatePractitioner: PswPractitioner; pswCreatePractitionerCredential: PswPractitionerCredential; /** * Creates a recurring compliance filing/review on an engagement and * provisions its reminder cron in the platform scheduler (fires * reminderDaysBefore days ahead of each nextDueAt, then advances to the next * period on the same cadence). */ pswCreateRecurringFiling: PswRecurringFiling; pswCreateRetainerDraftInvoice: PswInvoice; pswCreateSignatureRequest: PswSignatureRequest; pswCreateTrustAccount: PswTrustAccount; /** * Moves earned fees from a client's trust ledger to the firm's operating * account (e.g. once an invoice is paid out of held trust funds). Writes a * TRANSFER_OUT transaction under the same non-negative-balance guard as a * withdrawal. */ pswCreateTrustTransfer: PswTrustTransfer; pswCreateWriteOff: PswWriteOff; /** Signer-side: declines to sign. */ pswDeclineSignatureRequest: PswSignatureSigner; pswDeleteCustomFieldDefinition: PswCustomFieldDefinition; pswDispatchObligationReminder: PswObligationReminder; /** * Bulk-export practice data for the workspace. Requires the dedicated * `export` grant (not merely `read`) because a successful call compiles * client, engagement, matter, invoice, and time-entry data into a single * downloadable artifact. Documents are only included when the workspace has * no PRIVILEGED/CONFIDENTIAL or legal-hold documents, and matters are only * included when none carry `isPrivileged: true` — unless the caller is a * `service`/`super_admin` actor — see `PracticeService.exportData`. */ pswExportData: PswExportResult; /** * Practitioner-side: invites a client contact who has no platform account * yet, by email (self-service magic-link flow, BOFF-5888). Records a pending * invite and asks global-auth-svc to send the magic-link email. Throws * CONFLICT when this email already accepted the invite for this client. */ pswInviteClientPortalContact: PswClientPortalInvite; /** * Practitioner-side: grants an already-authenticated platform actor * read-only client-portal access to one client's data. */ pswInviteClientPortalUser: PswClientPortalUser; pswLogTimeEntry: PswTimeEntry; pswMarkInvoicePaid: PswInvoice; pswMarkTimeEntriesBilled: Array<PswTimeEntry>; pswPrepareObligationReminder: PswObligationReminder; /** * Rebuild the workspace's precedent search index from the source tables * (BOFF-3879). Backfills workspaces that had data before the index existed. * super_admin only. */ pswRebuildSearchIndex: PswSearchIndexRebuildResult; /** * Three-way trust reconciliation: computes the trust account's book balance * and per-client subsidiary-ledger balances as of `asOf` (default now), * compares against an optional bank `statementBalance`, and marks every * not-yet-reconciled transaction up to `asOf` as reconciled. */ pswReconcileTrustAccount: PswTrustReconciliationReport; pswRecordCredentialReview: PswCredentialReview; pswRecordEducationCredit: PswEducationCredit; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent. */ pswRecordLegalAcceptance: PswLegalAcceptance; /** Records a deposit into a client's trust subsidiary ledger. */ pswRecordTrustDeposit: PswTrustTransaction; /** * Records a withdrawal from a client's trust subsidiary ledger. Fails with * TRUST_INSUFFICIENT_BALANCE if the withdrawal would take that client's * ledger below zero. */ pswRecordTrustWithdrawal: PswTrustTransaction; pswRefreshObligationReminderStatus: PswObligationReminder; /** * Compliance action: reject a PENDING erasure request (e.g. identity could * not be verified, or an active hold blocks it entirely). Workspace-scoped * admin action. */ pswRejectDataErasureRequest: PswDataErasureRequest; pswRejectTimeEntry: PswTimeEntry; pswRemoveTeamAssignment: Scalars['Boolean']['output']; /** * File an erasure request for the CALLING actor, for the workspace's own * ProServiceWorld data (DPA D-4 / Privacy Policy §8). Left PENDING for * compliance review — see pswCompleteDataErasureRequest. Self-scoped (Type A). */ pswRequestDataErasure: PswDataErasureRequest; pswResolveComplianceCheck: PswComplianceCheck; pswResolveConflictCheck: PswConflictCheck; pswReviewEducationCredit: PswEducationCredit; /** Practitioner-side: revokes a client contact's portal access. */ pswRevokeClientPortalUser: PswClientPortalUser; pswRevokeObligationReminderConsent: PswObligationReminder; /** * Scheduler callback target: sends the reminder notification for the * filing's current nextDueAt period (idempotent — a retry or a * double-fire for the same period is a no-op) and advances nextDueAt to the * following period. Not meant to be called directly outside the scheduler * job created by pswCreateRecurringFiling. */ pswRunScheduledFilingReminder: PswRecurringFiling; /** * Scheduler callback target: generates the retainer's draft invoice for the * engagement's current nextRetainerRunAt period (idempotent — a retry or a * double-fire for the same period returns the already-created invoice) and * advances nextRetainerRunAt to the following period. Not meant to be called * directly outside the scheduler job created by pswScheduleRetainerBilling. */ pswRunScheduledRetainerBilling: PswInvoice; pswScheduleObligationReminder: PswObligationReminder; /** * Provisions the recurring billing cron for a RETAINER engagement (cadence, * amount and start date must already be set via pswUpdateEngagement) and * activates it in the platform scheduler. No-op if already scheduled. */ pswScheduleRetainerBilling: PswEngagement; pswSendInvoice: PswInvoice; /** * Sends a DRAFT signature request — snapshots the document's current * version + content hash and transitions every signer from unsent to PENDING. */ pswSendSignatureRequest: PswSignatureRequest; pswSetCustomFieldValue: PswCustomFieldValue; /** * Signer-side: captures the calling actor's signature (typed name or a * drawn-signature image) with server timestamp + caller IP, and appends the * SIGNED audit event. Fails with DOCUMENT_CHANGED if the document was edited * since the request was sent. */ pswSignDocument: PswSignatureSigner; pswSubmitTimeEntry: PswTimeEntry; pswTransitionDeliverable: PswDeliverable; /** Advance an engagement through its delivery lifecycle (validated transitions). */ pswTransitionEngagement: PswEngagement; pswUpdateClient: PswClient; pswUpdateComplianceObligation: PswComplianceObligation; pswUpdateCustomFieldDefinition: PswCustomFieldDefinition; pswUpdateDeliverable: PswDeliverable; pswUpdateDocument: PswDocument; pswUpdateEngagement: PswEngagement; pswUpdateInvoice: PswInvoice; pswUpdateMatter: PswMatter; pswUpdateMilestone: PswMilestone; pswUpdatePracticeArea: PswPracticeArea; pswUpdatePractitionerCredential: PswPractitionerCredential; pswUpdateTeamAssignment: PswTeamAssignment; pswUpdateTimeEntry: PswTimeEntry; /** * Signer-side: marks the calling actor's signer slot VIEWED (idempotent). * Self-scoped (Type B) — signerId arg allowed, but the resolver owner-filters * by ctx.actorId. */ pswViewSignatureRequest: PswSignatureSigner; publishAgentVersion: AgentVersion; /** Explicitly publish a general assistant's approved knowledge to exact website origins. Private courses are rejected. */ publishAssistantWebsite: AssistantWebsiteInstallation; publishBotAppVersion: BotAppVersion; /** Publish a dashboard (v1.0 - changes status to PUBLISHED) */ publishDashboard: BigConsoleDashboard; /** * Activate the policy by building an immutable, sanitized publication. Requires an * explicit content-safety attestation (§4.3). NOTE: the full publication builder * (all-widget sanitizer validation) lands with the renderer-contract work; this * operation currently records the attestation and fails closed until then. */ publishDashboardEmbedPolicy: BigConsoleDashboardEmbedPolicy; /** Publish a succeeded revision */ publishDocsRevision: VibecontrolsDocsRevision; /** Makes the storefront visible via ggnomadStorefrontBySlug. */ publishGgnomadOperatorStorefront: GgnomadOperatorStorefront; /** Publish a social media post immediately */ publishHeadshotmarketingSocialPost: HeadshotmarketingSocialPost; /** List the pooled lot on the shared market with the co-op as seller-of-record. Freezes contributions. */ publishHealthyBowlAggregationLot: HealthyBowlAggregationLot; /** Sponsor: publish a lot spanning 2+ farms — mints ONE order + one shipment; idempotent on re-publish. */ publishHealthyBowlContractAggregationLot: HealthyBowlContractAggregationLot; /** * Make a seed lot resolve on the public portal (BOFF-6335). Allocates its permanent * `publicSlug` on first publish; republishing reuses it so already-printed cartons keep working. * * Reuses the `healthybowl_seed_lot` / `update` permission the existing seed-lot CRUD already * declares, rather than introducing a new resource — anyone who may edit a lot may decide * whether it is public, and a new resource string would need an RBAC seed row that does not * exist yet (the failure mode behind several tickets in this area). */ publishHealthyBowlSeedLot: SeedLot; /** * Make the batch resolve on the public portal. Allocates its permanent `publicSlug` * on first publish; republishing reuses it so already-printed cartons keep working. */ publishHealthyBowlTraceBatch: TraceBatch; publishHousingvistaViewingSlots: Array<HousingVistaViewingSlot>; /** Publish the enabled tools as the next tool set version. An unchanged list returns the latest. */ publishMcpToolSet: McpPublishResult; publishMtwProcedureVersion: MtwProcedureVersion; /** Publish a template (make active) */ publishTemplate: BigConsoleDashboardTemplate; /** Publish a component as a reusable template (snapshots the component) */ publishVibecontrolsComponentAsTemplate: VibecontrolsTemplate; publishWorkflow: WorkflowDefinition; /** * Permanently delete events captured by this channel, all of them or only those * older than `olderThanDays`. Requires `confirm: true` (BOFF-3894). */ purgeTimeCampusCaptureChannelEvents: TimeCampusCaptureChannelPurgeResult; /** * Push gateway auth configuration (OAuth2 credentials) to an agent. * The backend proxies the request to the agent's REST API * (POST /api/agent/gateway-auth). */ pushAgentGatewayAuth: AgentPluginActionResult; /** * Real budget push to a connected ad platform (WEBHOOK relay or native API). * Every attempt is logged; transient failures are retried automatically. */ pushHeadshotmarketingAdBudgetUpdate: HeadshotmarketingAdBudgetPushResult; /** Project an invoice/AR journal entry to global-billing-svc (reuse — no local payments store). */ pushHealthyBowlJournalEntryToBilling: HealthyBowlJournalEntry; pushSecurityScanRun: SecurityScanRun; /** Commit a version (the latest when version is omitted) to the linked repository. */ pushWorkflowToGit: WorkflowGitPush; queueKnowledgeSource: KnowledgeSourceImport; rateMeeting: MeetingMeta; /** Rate a template */ rateTemplate: BigConsoleDashboardTemplate; /** Reactivate an archived workspace (sets status to ACTIVE) */ reactivateWorkspace: Workspace; rebuildKnowledgeBaseIndex: Scalars['Boolean']['output']; /** Recalculate now. `weeksOfHistory` is clamped to 4-104 closed weeks. */ recalculateDemandForecasts: Scalars['Int']['output']; /** * Recall a batch (BOFF-6044). Sets status to RECALLED, removes it from the public portal * (retaining its slug so the printed QR resolves to a recall notice), stamps the recall, and * fires an in-app alert to the batch owner. A recalled batch cannot be republished. */ recallHealthyBowlTraceBatch: TraceBatch; /** * Correct the category of a captured segment. The correction is remembered * per app for the user, so future auto-categorization learns from it. */ recategorizeTimeCampusCaptureEvent: TimeCampusCaptureEvent; /** * Receive a message from an external channel platform (Slack, Teams, WhatsApp, etc.) * Called by module-channel-svc via API Gateway when webhook events are received. * * This mutation will: * - Find existing conversation by channelId + externalThreadId, or create new one * - Create the message with EXTERNAL author type * - Handle deduplication by channelMessageId * - Return conversation and message IDs * * Follows spec: 01-scope-boundaries.md (lines 374-407) */ receiveChannelMessage: ReceiveChannelMessagePayload; /** Recompute (or create) the farm's GHG inventory for a year from live records + preserved manual lines. Rejected on a LOCKED/VERIFIED inventory. */ recomputeHealthyBowlGhgInventory: HbGhgInventory; /** Workspace-scoped delivery recovery and abandoned-claim cleanup. Never reruns a model. */ reconcileAssistantTurnDeliveries: AssistantTurnReconciliation; reconcileCourseKnowledgeImports: CourseKnowledgeImportRecovery; reconcileKnowledgeArtifactCleanup: KnowledgeVectorCleanupReceipt; reconcileKnowledgeVectorCleanup: KnowledgeVectorCleanupReceipt; /** Super admin: register or repair the sweep of every workspace with an opted-in member and remove unused ones. */ reconcileTimeCampusTimeIntelligenceSchedules: TimeCampusTimeIntelligenceReconcileResult; recordAIPromptUsage: AiPrompt; /** Record multiple activities in batch */ recordActivities: Array<ActivityLog>; /** Record a new activity */ recordActivity: ActivityLog; /** * Record a completed agent tool call as agent.tool.called. Must arrive over the internal * gateway's delegated transport with the token issueAgentRunToken minted: the agent and the * person are taken from the gateway-verified delegation, never from the input. */ recordAgentToolCall: Scalars['Boolean']['output']; recordApplicationUsage: ApplicationUsage; /** * Record what a first-party service did with a connection (BOFF-10575), so it * shows in the connection's log next to the integrations service's own entries. * Service actors only; the connection must belong to the x-workspace-id * workspace and not be deleted. */ recordConnectionActivity: IntegrationLog; recordFocusScore: FocusScore; recordGeofenceEvent: GeofenceEvent; /** BOFF-4386 — operator-only: records a payout made to a partner and marks those commissions PAID. */ recordGgnomadAffiliatePayout: GgnomadAffiliatePayout; /** * BOFF-4386 — records that the signed-in caller arrived through a partner's * widget or referral link. The most recent referral inside the partner's * attribution window earns that partner the commission on the caller's next * orders. Unknown, suspended or self-referral codes are accepted: false. */ recordGgnomadAffiliateReferral: GgnomadAffiliateReferralResult; /** Real inbound metrics ingestion — a connected platform or relay posts here. */ recordHeadshotmarketingAdMetricsSnapshot: HeadshotmarketingAdCampaign; /** Record a weight measurement for an animal (feeds ADG); also updates Animal.weight to the latest. */ recordHealthyBowlAnimalWeight: HealthyBowlWeightRecord; /** Record a sale/order against a buyer contact — creates an Order linked by buyerId so it appears in the contact's order history. */ recordHealthyBowlContactOrder: HealthyBowlContactOrder; /** Record a purchase against a supplier — creates a linked EXPENSE transaction through the canonical finance write path. */ recordHealthyBowlContactPurchase: HealthyBowlContactPurchase; /** Sponsor: record a delivery, sourcing deliveredQty from a real HarvestRecord + a channel=CONTRACT Order. */ recordHealthyBowlContractDelivery: HealthyBowlContractDelivery; /** Move a mob into a paddock. Closes whatever it was on first, unless `closeOpenEvents` is false. */ recordHealthyBowlGrazingMove: HealthyBowlGrazingEvent; recordHealthyBowlIcsInspection: IcsInspection; /** Record the single INITIAL lender transfer after it completed outside HealthyBowl. */ recordHealthyBowlLoanDisbursement: HealthyBowlLoanDisbursement; /** Record an externally completed repayment with replay-safe client idempotency. */ recordHealthyBowlLoanRepayment: HealthyBowlLoanRepayment; /** Record an IN/OUT movement on a lot; adjusts the lot's on-hand quantity accordingly. */ recordHealthyBowlStockMovement: HealthyBowlStockMovement; /** * Increments the read counter. `read` rather than `update` — any reader of the * article is allowed to register that they read it, and it mutates no * user-authored content. */ recordKnowledgeArticleView: KnowledgeArticle; recordMtwConsolidationObservation: MtwConsolidationObservation; recordMtwContainerEvent: MtwContainerEvent; recordMtwContainerInspection: MtwContainerInspection; recordMtwContainerRepair: MtwContainerRepair; recordMtwEmptyReturnInstruction: MtwEmptyReturnInstruction; recordMtwEquipmentReuseApproval: MtwEquipmentReuseApproval; recordMtwFreeTimeAgreement: MtwFreeTimeAgreement; recordMtwFreeTimeExtensionDecision: MtwFreeTimeExtensionDecision; recordMtwFreightInvoiceSupplierResponse: MtwFreightInvoiceReview; recordMtwProcedureDeviation: MtwProcedureDeviation; recordMtwProcedureStep: MtwProcedureStepDecision; recordMtwReuseProposal: MtwReuseProposal; recordMtwStockBindingAssessment: MtwStockBindingAssessment; recordMtwStockObservation: MtwStockObservation; recordMtwTripUtilizationReport: MtwTripUtilizationReport; recordProvenance: ProvenanceRecord; /** * Record that the desktop app hid a blocked app during the caller's own ACTIVE * session, or (bypassed: true) that the caller kept using it after the * warning. Bypass is refused on STRICT sessions. */ recordTimeCampusFocusBlockedAppAttempt: TimeCampusFocusSession; /** * Record a site the browser extension blocked during the caller's own ACTIVE * session, or (bypassed: true) that the caller continued past the block. * Bypass is refused on STRICT sessions. */ recordTimeCampusFocusBlockedAttempt: TimeCampusFocusSession; recordTimeCampusImpersonationAudit: TimeCampusImpersonationAuditEntry; recordVehicleService: MtwVehicle; recordWorkPattern: WorkPattern; /** * Record a fire the schedule missed and its misfire policy skipped, as a SCHEDULED tick with the * outcome MISSED_SKIPPED at `missedAt` (BOFF-9951). Called by wspace-scheduler-svc only: any actor * other than a service or a super admin is refused. A rule's fire time holds one tick, so a retry * returns the tick already recorded. It never starts a run and checks no flag (like the fire path). */ recordWorkflowScheduleMiss: WorkflowScheduleTick; /** * Redeems points from the calling actor's loyalty account for a discount * amount (calculation only — no live payment capture). Throws * INSUFFICIENT_LOYALTY_POINTS if the account's balance is below `points`. */ redeemGgnomadLoyaltyPoints: GgnomadLoyaltyRedemption; /** BOFF-10194 — scans a presented QR token. Host of the booked listing only; operators use redeemGgnomadTicketAsOperator. */ redeemGgnomadTicket: GgnomadTicket; /** BOFF-10194 — operator-only (ggnomad:manage): redeems a presented QR token for any listing in the workspace. */ redeemGgnomadTicketAsOperator: GgnomadTicket; /** * Refine a generated dashboard specification before creating it. * Allows iterative improvements to the AI-generated spec. */ refineGeneratedDashboard: PromptGeneration; refreshCohort: Cohort; refreshConnectionToken: IntegrationConnection; /** Refresh data sink from source */ refreshDataSink: DataSink; /** Refresh NDVI for one field or every field with a saved boundary (the 'Refresh NDVI' action / FluidGrids cron target). */ refreshHealthyBowlFieldNdvi: HbNdviRefreshResult; refreshMCPResources: Array<McpResource>; refreshMCPTools: Array<McpTool>; /** Refresh smart collection (re-evaluate criteria) */ refreshSmartCollection: Collection; /** Refresh widget data from connected data source */ refreshWidgetData: BigConsoleWidgetData; /** Rotate the portal's share token, invalidating any previously shared link. */ regenerateClientPortalShareToken: ClientPortalConfig; /** * Regenerate a dashboard with a new or modified prompt. * Creates a new generation based on an existing one. */ regenerateDashboard: PromptGeneration; regenerateEventRegistrationToken: EventRegistration; /** * Register a user-owned custom domain. Returns the domain with a challenge * token; the user must create a TXT record before verification can succeed. */ registerCustomTunnelDomain: TunnelDomain; /** * Register (upsert) a dashboard template type in the GLOBAL registry and, with * autoInstall, make it the workspace's active version. Never creates a * dashboard. Re-registering the same (templateKey, templateVersion) refreshes * its definition but preserves the operator-set status. * TRUST BOUNDARY (same as registerWidgetType): the catalog write is global * while RBAC is scoped to input.workspaceId. This is the store service path — * restricted to service/super_admin actors at the public gateway. */ registerDashboardTemplateType: BigConsoleDashboardTemplateTypeRegistration; /** Record (upsert) the current deployed version of a component in an environment. */ registerDeployment: ComponentDeployment; registerDocsBuildImage: VibecontrolsDocsBuildImage; /** * BOFF-4375 — Type A self-on-actor: no identity arg: the calling actor's id * is the only identity this mutation ever registers a token against. * Idempotent on (workspace, actor, deviceToken) — safe to call on every app * launch. */ registerGgnomadPushDevice: GgnomadPushDevice; /** Register/replace a batch's GS1 codes. Validates GTIN/SSCC check digits (BAD_USER_INPUT on failure). */ registerHealthyBowlBatchGs1: TraceBatch; registerHealthyBowlSensorProbe: SensorProbe; /** * Auto-register a remotely installed agent in the backend. * Called after installAgentOnTarget completes to create the agent record. */ registerInstalledAgent: VibecontrolsAgent; registerIoTDevice: IoTDevice; registerMtwContainer: MtwContainer; registerNode: NodeEndpointConfig; /** * Register (upsert) a parser type in the GLOBAL ParserTypeConfig registry and, * with autoInstall, make it the workspace's active version. Re-registering the * same (parserTypeKey, parserVersion) refreshes its definition but preserves * the operator-set status. * TRUST BOUNDARY (same as registerWidgetType): the catalog write is global * while RBAC is scoped to input.workspaceId. This is the store service path — * restricted to service/super_admin actors at the public gateway. */ registerParserType: ParserTypeRegistration; /** * Register a resource with custom RBAC configurations. * Called automatically when the first override or visibility rule is created for a resource. * Can also be called manually for explicit registration. */ registerResource: Resource; /** Register an uploaded part */ registerUploadedPart: UploadPartResponse; /** * Register or update an agent by hostname (upsert). * If an active (non-deleted) agent with the given hostname exists in the workspace, * it is updated with the new data. Otherwise a new agent is created. * This prevents duplicate agent records when agents restart. */ registerVibecontrolsAgent: VibecontrolsAgent; /** * Register (upsert) a widget type in the global WidgetTypeConfig registry. * Refreshes definition fields; preserves operator-set status/isLatest on update * (BOFF-2810 rule). * * TRUST BOUNDARY (BOFF-2858): this writes the GLOBAL WidgetTypeConfig table (no * workspace partition), but RBAC is scoped to `input.workspaceId`. This is a * DELIBERATE mirror of the FluidGrids node-registry contract: the registry is a * shared catalog written by the trusted global-store-svc service actor on * product install, not per-workspace author content. `workspaceId` scopes only * the optional autoInstall side effect, not the catalog write. A caller with * workspace-scoped create can therefore upsert a shared type definition; keep * this mutation restricted to the store service path and do not surface it as a * general end-user capability. Install-gating (WorkspaceWidgetInstallation) is * what actually controls per-workspace visibility. */ registerWidgetType: BigConsoleWidgetTypeRegistration; /** * Re-publish this workspace's skills graph (skills, employees' directory cards, * holdings and typed skill relations) and its directory records (departments, * teams, projects, job postings, announcements) to the platform knowledge graph * and global search. Idempotent: use it to backfill or repair the projection. */ reindexCrewSkillsGraph: CrewSkillsGraphReindexReport; /** Reinstate a suspended listing (super-admins only). */ reinstateTimeCampusMarketplaceListing: TimeCampusMarketplaceListing; /** Reinstate a suspended applet. */ reinstateTimeCampusThirdPartyApplet: TimeCampusThirdPartyApplet; /** Reject a pending request with a reason. Refused for your own request. */ rejectBotmanorAgentActivation: BotmanorAgentApprovalRequest; rejectChangeRequest: ChangeRequest; /** Reject a pending submission with a reason. Platform reviewers only. */ rejectConnectorSubmission: ConnectorSubmission; rejectCrewShiftSwap: CrewShiftSwapRequest; rejectExpense: ExpenseEntry; /** BOFF-4365 — admin-only: cancels the underlying booking (revoking any issued tickets) and records the rejection. */ rejectGgnomadBookingApproval: GgnomadBookingApproval; /** BOFF-4388 — operator-only: rejects a PENDING_REVIEW listing back to DRAFT with a required reason. */ rejectGgnomadListing: GgnomadListing; /** Decline a handoff; the bot resumes autonomous replies. */ rejectHandoff: BotmanorConversationHandoff; rejectHousingvistaVerificationItem: HousingVistaVerificationItem; /** * Reject an invitation * (No RBAC check - users can reject their own invitations) */ rejectInvitation: Invitation; rejectJoinRequest: Scalars['Boolean']['output']; rejectMtwPickTask: MtwPickReview; rejectRequest: TimeApprovalRequest; rejectResourceBooking: CalendarResourceBooking; /** Reject the pending suggestion: clears it without changing `projectId`. */ rejectTimeCampusCaptureEventSuggestion: TimeCampusCaptureEvent; rejectTransaction: AssetTransaction; /** Reject a pending promotion. Needs publish rights. */ rejectWorkflowPromotion: WorkflowPromotionRequest; /** Reject a PROPOSED proposal. Nothing changes on the workflow. */ rejectWorkflowProposal: WorkflowProposal; /** * Recipient-side: reject an invite by token. scopeType:self (the recipient must be * authenticated so the resolver can match the actor's email to inviteeEmail). */ rejectWorkspaceInvite: WorkspaceInvite; /** * Manually release an escrow record whose `releaseCondition` is * `ON_MANUAL_APPROVAL` (or force-release a stuck `ON_BOOKING_COMPLETION` * record). Gated by the elevated `crewfoundry-payroll` resource — neither the * booking's provider nor its client can self-release. */ releaseCrewEscrowRecord: CrewEscrowRecord; /** * Give a VM back to the pool, or terminate it. * INTERNAL: service actors only. */ releaseDurableWorkerSandbox: Scalars['Boolean']['output']; /** Release a file lock */ releaseFileLock: ReleaseLockResponse; /** Release an accepted handoff back to the bot. */ releaseHandoff: BotmanorConversationHandoff; /** * BOFF-6077 — authorise a milestone's release against real farm evidence. * * The evidence record is resolved **in this workspace** before anything is written; without that a * farm could authorise its own tranche by typing any uuid, and the gate would be decorative. * * Records an authorisation. **Moves no money** — nothing in the platform can hold any. */ releaseHealthyBowlLoanMilestone: HealthyBowlLoanMilestone; releaseLegalHold: LegalHold; releaseMtwContainerHold: MtwContainerReleaseDecision; /** Release control of a session */ releaseSessionControl: Scalars['Boolean']['output']; /** * Give a workflow's edit lease back. Only the session that holds it can; returns whether it did. * `sequence` is the page's call number (see `WorkflowEditLeaseInput.sequence`): a numbered release * refuses the same session's earlier calls that arrive after it. */ releaseWorkflowEditLease: Scalars['Boolean']['output']; /** * Remove a plugin from an agent. The backend proxies the request * to the agent's REST API (POST /api/plugins/remove). */ removeAgentPlugin: AgentPluginActionResult; removeAllTagsFromEntity: Scalars['Boolean']['output']; removeAssetHandlerFeatureFlagOverride: Scalars['Boolean']['output']; removeAttendee: Scalars['Boolean']['output']; removeChildGroup: Scalars['Boolean']['output']; /** Remove an item from collection */ removeCollectionItem: Scalars['Boolean']['output']; /** Remove a file attachment from a comment */ removeCommentAttachment: Scalars['Boolean']['output']; /** Remove a component from a catalog */ removeComponentFromVibecontrolsCatalog: Scalars['Boolean']['output']; removeCrewAnnouncement: Scalars['Boolean']['output']; removeCrewCandidate: Scalars['Boolean']['output']; removeCrewClient: Scalars['Boolean']['output']; removeCrewDepartment: Scalars['Boolean']['output']; removeCrewDispatch: Scalars['Boolean']['output']; removeCrewEmployee: Scalars['Boolean']['output']; removeCrewEnrollment: Scalars['Boolean']['output']; removeCrewInterview: Scalars['Boolean']['output']; removeCrewJobPosting: Scalars['Boolean']['output']; /** Stop asking for a skill on a job posting (also removes it from the legacy `requirements` strings). */ removeCrewJobPostingSkill: Scalars['Boolean']['output']; removeCrewLeaveRequest: Scalars['Boolean']['output']; removeCrewOnboarding: Scalars['Boolean']['output']; removeCrewOnboardingTask: Scalars['Boolean']['output']; removeCrewOpenShift: Scalars['Boolean']['output']; removeCrewPayrollRecord: Scalars['Boolean']['output']; removeCrewPayrollRun: Scalars['Boolean']['output']; removeCrewProject: Scalars['Boolean']['output']; removeCrewShift: Scalars['Boolean']['output']; removeCrewShiftPattern: Scalars['Boolean']['output']; /** Remove a skill nobody holds (CONFLICT while employees or candidates hold it). Its relations go with it. */ removeCrewSkill: Scalars['Boolean']['output']; /** Remove one relation edge from the skills graph. */ removeCrewSkillRelation: Scalars['Boolean']['output']; removeCrewTeam: Scalars['Boolean']['output']; removeCrewTimeEntry: Scalars['Boolean']['output']; removeCrewTrainingCourse: Scalars['Boolean']['output']; removeCrewVendor: Scalars['Boolean']['output']; /** * Remove the caller's own reaction from a comment. Gated like adding one: * only the authenticated actor's reaction is ever removed, so it needs no * delete permission on the comment itself. */ removeEntityCommentReaction: Scalars['Boolean']['output']; removeGgnomadCartItem: GgnomadCart; /** Creator-only. */ removeGgnomadGroupTripMember: Scalars['Boolean']['output']; /** Detach the custom domain from the storefront, freeing the hostname and stopping HTTPS serving. */ removeGgnomadStorefrontCustomDomain: GgnomadOperatorStorefront; /** BOFF-10194 — creator of the parent plan only; returns false otherwise. */ removeGgnomadTripPlanItem: Scalars['Boolean']['output']; removeGroupMembers: RemoveMembersResult; /** Withdraw a contribution. Only while the lot is still DRAFT or OPEN. */ removeHealthyBowlAggregationLotContribution: Scalars['Boolean']['output']; removeHousingvistaShortlist: Scalars['Boolean']['output']; removeInheritedTags: Scalars['Boolean']['output']; removeKnowledgeDocument: Scalars['Boolean']['output']; /** Remove an exposed tool. Published versions keep their own copy until deprecated. */ removeMcpTool: Scalars['Boolean']['output']; removeMeetingParticipant: Scalars['Boolean']['output']; /** Remove (soft-delete) your OWN listing. Self-scoped (Type B). */ removeMyServiceListing: Scalars['Boolean']['output']; removeNodeFromWorkflows: RemoveNodeFromWorkflowsResult; removeParticipant: RemoveParticipantPayload; /** Remove a permission override */ removePermissionOverride: Scalars['Boolean']['output']; /** Remove a user from a project */ removeProjectMember: Scalars['Boolean']['output']; removeReaction: RemoveReactionPayload; /** Remove default permission for a role on a resource type */ removeRoleDefaultPermission: Role; /** Remove a role from an actor */ removeRoleFromActor: Scalars['Boolean']['output']; removeRoleFromGroup: Scalars['Boolean']['output']; /** Remove a role permission override */ removeRolePermissionOverride: Scalars['Boolean']['output']; removeShipmentLeg: Scalars['Boolean']['output']; removeTagAssignment: Scalars['Boolean']['output']; removeTimeCampusFeatureFlagOverride: Scalars['Boolean']['output']; /** * Remove a user from the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ removeUserFromWorkspace: Scalars['Boolean']['output']; /** Remove a vibe from a catalog */ removeVibeFromVibecontrolsCatalog: Scalars['Boolean']['output']; /** Remove a scorecard metric (soft delete) */ removeVibecontrolsScorecardMetric: Scalars['Boolean']['output']; /** Remove a visibility rule */ removeVisibilityRule: Scalars['Boolean']['output']; /** Remove a widget from a generated spec. */ removeWidgetFromGeneratedSpec: PromptGeneration; /** Remove a member from a workspace */ removeWorkspaceMember: Scalars['Boolean']['output']; renameWorkflowFolder: WorkflowFolder; renameWorkflowProject: WorkflowProject; renderAIPrompt: AiPromptRenderResult; renderPromptTemplate: Scalars['String']['output']; /** * Extend a lease. Refused once the lease is lost or the VM is due for recycling. * INTERNAL: service actors only. */ renewDurableWorkerSandbox: DurableWorkerSandboxLease; /** * Advance the membership one cycle: creates the next CsaDelivery + its channel-tagged Order, * and creates a REAL BillingOrder cycle in global-billing-svc (linked to the plan's * RecurringBillingPlan). Billing failure NEVER rolls back the HB rows — it is recorded on * CsaDelivery.billingSyncStatus = 'FAILED' and is re-drivable via retryHealthyBowlCsaBilling. */ renewHealthyBowlCsaMembership: CsaMembership; renewHousingvistaAmcContract: HousingVistaAmcContract; renewHousingvistaLease: HousingVistaLease; /** Reopen a closed period so its lines can be re-matched. */ reopenHealthyBowlReconciliation: HealthyBowlReconciliationReopenResult; /** Reorder items in a collection */ reorderCollectionItems: Collection; /** Reorder comment attachments */ reorderCommentAttachments: Array<EntityCommentFile>; /** Reorder pages within a dashboard (v1.0) */ reorderDashboardPages: Array<BigConsoleDashboardPage>; /** Reorder docs pages (bulk update positions) */ reorderDocsPages: Array<VibecontrolsDocsPage>; /** Reorder global filters within a dashboard (v1.0) */ reorderGlobalFilters: Array<BigConsoleGlobalFilter>; reorderTasks: Array<Task>; reorderVibeDeckButtons: Array<VibeDeckButton>; /** Reorder widget actions */ reorderWidgetActions: Array<BigConsoleWidgetAction>; replaceAnalyticsDashboardTags: Array<AnalyticsDashboardTagAssignment>; replaceAnalyticsMetricTags: Array<AnalyticsMetricTagAssignment>; replaceAnalyticsReportTags: Array<AnalyticsReportTagAssignment>; replaceAssetTags: Array<AssetTagAssignment>; replaceBigconsoleEntityTags: Array<BigConsoleTagAssignment>; /** Replace all tags on a comment (atomic operation) */ replaceCommentTags: Array<CommentTagAssignment>; replaceConnectionTags: Array<IntegrationConnectionTagAssignment>; /** Replace the full tag set on a CosmicIntersection entity */ replaceCosEntityTags: Array<CosTagAssignment>; replaceEntityTags: Array<UniversalTagAssignment>; replaceEventfullyManagedEntityTags: Array<EventfullyManagedEntityTagAssignment>; replaceFileTags: Array<FileTagAssignment>; /** Replace the full tag set on a FluidGrids entity */ replaceFluidgridsEntityTags: Array<FluidgridsTagAssignment>; replaceFolderTags: Array<FolderTagAssignment>; replaceGroupTags: Array<GroupTagAssignment>; replaceIntelwatchtowerEntityTags: Array<IntEntityTagAssignment>; /** Replace all tags on a note (atomic operation) */ replaceNoteTags: Array<NoteTagAssignment>; replaceProjectTags: Array<ProjectTagAssignment>; /** Replace all tags on a sandbox (atomic) */ replaceSandboxTags: Array<SandboxTagAssignment>; replaceScheduledJobTags: Array<ScheduledJobTagAssignment>; replaceSecretTags: Array<SecretTagAssignment>; /** Replace the full tag set on a VibeControls entity */ replaceVibecontrolsEntityTags: Array<EntityTagAssignment>; /** * Replace the bundle of an existing version (a hotfix): an asynchronous job that replays up to 50 * open and 50 completed runs against the new bundle first. `verifyReplay: false` skips the replay * and is audited. Refused for production-bound versions under lockDirectActivation. */ replaceWorkflowVersionCode: WorkflowCodeReplaceResult; replaceWorkspaceTags: Array<WorkspaceTagAssignment>; /** * Whole-run replay (BOFF-7519): re-trigger `runId`'s exact * workflow/version/triggerNodeId/triggerData/context as a brand-new * TEST-mode run (BOFF-7511) — a debugging/verification replay of a past run * from the run history screen, never counted as a production execution. The * original run is untouched. * * Usage tracking: same `fluidgrids.runs.monthly` quota as `triggerWorkflow` — * a replay still executes real nodes. */ replayWorkflowRun: TriggerResponse; /** * Record an agent → agent mesh edge. Called by the SOURCE agent after a * successful mesh-deploy/connect (or by an operator). Authorization: the caller * must control BOTH agents (same workspace + ownerUserId boundary on each). * Topology only — no scoped peer credential is stored. */ reportAgentMeshLink: AgentMeshLink; /** * Records the real token usage of a completed assistant turn. The resolver * computes COST-WEIGHTED credits server-side (billing.quoteAiCredits, per-model * prices) and charges them once via addUsageForWorkspace — so the amount is * never client-supplied. No @usage(trackUsage) directive here: that would charge * a second time (flat token count) on top of the resolver's weighted charge. * * Gated on `assistant:use` (BOFF-7803 5a), the permission every workspace role * holds to open an assistant session at all. It was `ai-prompt:create`, which is * viewerDefault:false, so a Member/Viewer/Guest could run an assistant turn but * the turn could never be charged. The charge always lands on the caller's * gateway workspace (x-workspace-id), never on a workspace named in the input. */ reportAiTokenUsage: Scalars['Boolean']['output']; /** * Records the real token usage of a completed assistant turn. The resolver * computes COST-WEIGHTED credits server-side (billing.quoteAiCredits, per-model * prices) and charges them once via addUsageForWorkspace — so the amount is * never client-supplied. No @usage(trackUsage) directive here: that would charge * a second time (flat token count) on top of the resolver's weighted charge. */ reportGovAiTokenUsage: Scalars['Boolean']['output']; /** * Record and charge the AI credits a completed HealthyBowl assistant turn consumed. * * Best-effort by contract: the answer has already been produced and shown to the * farmer, so a billing or pricing failure must never fail this mutation. It logs * and returns true. Callers should not branch on the result. * * Gated on `assistant:use` (BOFF-7803 5a): the permission every workspace role * holds to open an assistant session at all, so every turn a farmer can run can * also be charged. It was `ai-prompt:create`, which is viewerDefault:false and is * not in the HealthyBowl product roles at all, so a Member/Viewer/Guest (or a farm * role) could run a turn that was never metered. It is the same permission * VibeControls' equivalent mutation uses. The charge always lands on the caller's * gateway workspace (x-workspace-id); `input.context.workspaceId` is not consulted. */ reportHealthyBowlAiTokenUsage: Scalars['Boolean']['output']; reportMessage: ReportMessagePayload; /** * Report the calling actor's own finished assistant turns for latency metrics. * Self-scoped: the actor comes from the gateway and is used only to rate-limit * reports; it is never recorded. */ reportMyAssistantTurnTimings: AssistantTurnTimingsReceipt; /** * The user opened an entity (or, with no entity, started a session). Debounced; * true when the report was accepted for checking. Self-scoped (Type A). */ reportProactiveActivity: Scalars['Boolean']['output']; reprocessTimeCampusTimeline: TimeCampusAdminMutationResult; /** * Submit the agent's current config for activation review. Supersedes any * request still pending for the same agent. */ requestBotmanorAgentActivation: BotmanorAgentApprovalRequest; /** Ask a colleague to take one of your own shifts (Type B self, owner-filtered). */ requestCrewShiftSwap: CrewShiftSwapRequest; /** Manually request a human for a conversation (the widget 'talk to a human' button). */ requestHandoff: BotmanorConversationHandoff; /** * Request input-loan facilitation: creates a time-bounded, revocable FinancierAccessGrant * (UC-14) sharing the farmer's field + input-plan records with the lender, plus the loan * request row. No always-on data sharing. communityFunded is rejected unless the flag is ON. */ requestHealthyBowlLoanFacilitation: HealthyBowlLoanFacilitation; requestMtwFreeTimeExtension: MtwFreeTimeExtension; requestRevision: TimeApprovalRequest; /** Request control of a session (for INTERACT permission) */ requestSessionControl: Scalars['Boolean']['output']; requestTimeCampusUserDataErasure: TimeCampusDataErasureRequest; /** * Ask to promote DEV -> STAGING or STAGING -> PROD. Applies at once when the * policy needs no approval for the target; otherwise the request waits as PENDING. */ requestWorkflowPromotion: WorkflowPromotionRequest; requeueFromDLQ: JobExecution; rescheduleBooking: Booking; /** I-6 — reschedule an existing succession series onto a new interval; only un-started children move (BOFF-6093). */ rescheduleHealthyBowlSuccessionPlan: Array<PlantingPlan>; /** * Resend an invitation email. * Workspace scope is read from gateway context (x-workspace-id header). */ resendInvitation: Invitation; /** * Sender-side: resend the invite email and roll `expiresAt` forward by 14 days. * Only valid while the invite is PENDING. */ resendWorkspaceInvite: WorkspaceInvite; /** * Reserve a managed subdomain under *.vibetunnels.com. The domain is * created in VERIFIED state and can be attached immediately. */ reserveTunnelSubdomain: TunnelDomain; /** Restart the attempt count of activities waiting for their next attempt, and dispatch them now. */ resetActivity: WorkflowRun; /** * Restore the caller's BigConsole settings in the request workspace to the * defaults, and keep them saved so every device picks the reset up. */ resetBigConsoleSettings: BigConsoleSettings; resetCircuitBreaker: CircuitBreakerState; /** * Reset settings for a category back to defaults. * For user-scoped categories, deletes the user's overrides. * For workspace-scoped categories, deletes the workspace overrides. */ resetSettings: Scalars['Boolean']['output']; resetTimeCampusDemoData: TimeCampusAdminMutationResult; /** Self-scoped: drop the caller's saved layout and return to the default. */ resetTimeCampusMyWidgetLayout: TimeCampusWidgetLayout; /** * Wipe the agent's local state via POST /api/agent/reset on the agent. * Deletes config.json, the encrypted Skalex DB, logs, and the plugins * manifest, then transitions the agent back to 'awaiting-config' WITHOUT * exiting the process — HTTP server + tunnel stay alive so the platform * can re-onboard via addVibecontrolsAgentFromTunnel. * * Returns the new agent API key generated during reset; the platform must * rotate its stored credentials to the returned value before re-onboarding, * otherwise subsequent calls will get 401. */ resetVibecontrolsAgent: ResetAgentResult; /** Reset webhook failure count */ resetWebhookFailures: Webhook; /** * Reset a durable-function run: fork a new run (same workflow id) whose history is this run's up to * the chosen completed workflow task, then WORKFLOW_RESET and, by default, the signals and updates * received after that point. The run is terminated with the reason RESET (an ended run is left as * it is) and forwards to the new run, which is returned. Needs fluidgrids.run-control. */ resetWorkflowRun: WorkflowRun; /** Reset a durable-function run to its last clean workflow task (resetWorkflowRun with LAST_TASK). */ resetWorkflowRunToLastCleanTask: WorkflowRun; /** * Manually clear a static-data blob (ops/debug escape hatch for a stuck * cursor — there is deliberately no other way to edit static data by hand). */ resetWorkflowStaticData: DeleteConfigResponse; /** * Reset the composition so the shell falls back to the default Workspaces navigation. The composition and its revision * history are kept (soft reset): `workspaceComposition` returns null until the next save, which continues the revision * sequence. Idempotent: returns true when there is nothing to reset. */ resetWorkspaceComposition: Scalars['Boolean']['output']; resolveContextConversation: ResolveContextConversationPayload; /** Resolve or unresolve a comment */ resolveEntityComment: EntityComment; /** BOFF-10614 — operator-only: resolves a failed payout flagged needsReview. */ resolveGgnomadAffiliatePayoutReview: GgnomadAffiliatePayout; /** Mark a handoff resolved by the human operator. */ resolveHandoff: BotmanorConversationHandoff; resolveHealthyBowlComplianceFlag: ComplianceFlag; /** Apply the user's conflict resolution (KEEP_MINE / KEEP_SERVER / MERGE) to a synced observation. */ resolveHealthyBowlFieldObservationConflict: FieldObservation; /** Resolve a stressed zone. */ resolveHealthyBowlStressedZone: HbStressedZone; resolveHousingvistaMaintenanceRequest: HousingVistaMaintenanceRequest; resolveIncident: Incident; resolveMessageReport: MessageReport; /** Close an open dispute by acceptance. A dispute can also close through a correction revision. */ resolveMtwFreightInvoiceDispute: MtwFreightInvoiceReview; resolvePhysicalAuditItem: PhysicalAuditItem; resolveProblem: Problem; /** * Host responds: ACCEPT (creates a real GgnomadBooking at the agreed price — * counterPrice/counterDate if this call supplies them, else the traveler's * original proposedPrice/proposedDate), COUNTER (records a counter-offer, * leaving the request open), or DECLINE. */ respondGgnomadPrivateGroupRequest: GgnomadPrivateGroupRequest; respondGgnomadReview: GgnomadReview; respondHousingvistaOffer: HousingVistaOffer; /** Accept or decline a swap you were asked to take (Type B self, owner-filtered). */ respondToCrewShiftSwap: CrewShiftSwapRequest; respondToEvent: EventAttendee; /** * Accept, snooze or dismiss a suggested focus block (or schedule a manual one * with ACCEPT). An accepted block is held on the connected calendar. */ respondToTimeCampusFocusBlockSuggestion: TimeCampusFocusBlock; /** * Answer an in-app ask and continue the run. Only the users the ask names (any * workspace member when it names none) may answer; email and Slack asks are * answered through their own link. For an approval with a quorum each approver * answers once, and the answer that meets the quorum (or makes it impossible) * continues the run. */ respondToWorkflowHumanRequest: RespondToWorkflowHumanRequestResponse; /** Restart a session */ restartSession: Session; /** * Restart the terminal (stop + start session provider + ttyd) for a session. * Use this to recover from dead/orphaned tunnels. */ restartSessionTerminal: Session; /** Restart a resource */ restartWorkspaceResource: WorkspaceResource; /** * Restore an archived dashboard. * Quota is checked before the resolver because only archived-to-active transitions * increment usage manually. A no-op restore of an already-active dashboard can be * rejected at capacity before the resolver observes that it is a no-op. */ restoreDashboard: BigConsoleDashboard; /** Restore a dashboard's core fields from a stored version. */ restoreDashboardVersion: BigConsoleDashboard; /** Restore deleted file */ restoreFile: File; /** Restore a previous version as the current file */ restoreFileVersion: FileVersion; /** Restore deleted folder */ restoreFolder: Folder; restoreGroup: Group; /** Restore a deleted node endpoint configuration */ restoreNodeEndpointConfig: NodeEndpointConfigResponse; restoreRecurringInstance: CalendarEvent; restoreScheduleVersion: ScheduledJob; /** Restore a deleted scheduled job */ restoreScheduledJob: ScheduledJobResponse; restoreVault: Vault; restoreVaultBackup: SecretImportResult; /** Restore an archived vibe */ restoreVibe: Vibe; /** Restore the workflow file at a commit as a new DRAFT version of the same workflow. */ restoreWorkflowFromGit: ImportWorkflowResponse; /** Restore a previous workflow version by creating a new DRAFT with its definitionJson */ restoreWorkflowVersion: CreateWorkflowVersionResponse; /** BOFF-4388 — resumes a PAUSED listing back to ACTIVE without re-review. */ resumeGgnomadListing: GgnomadListing; resumeScheduledJob: ScheduledJob; resumeSync: ExternalCalendarSync; /** * Resume a paused workflow run via trigger * The payload becomes input to the waiting node */ resumeWorkflowRun: ResumeWorkflowResponse; /** Retire an owned conversation immediately; erase copies asynchronously after canonical deletion and usage delivery. */ retireMyGroundedAssistantConversation: Scalars['Boolean']['output']; /** * Retire one quota's assignments that came from the given billing subscriptions, * across all workspaces. global-billing-svc uses it when a catalog stops granting * a quota through some plans, for example when BigConsole and VibeControls plans * stopped granting FluidGrids sandbox hours (G10): the rows those plans already * wrote stay active until they are retired here. Only billing's own service * identity may call it. */ retireWorkspaceQuotaAssignmentsBySubscriptions: RetireWorkspaceQuotaAssignmentsResult; /** Retry only a blocked preflight/admission. UNKNOWN sends are never replayed. */ retryAssistantChannelDelivery: Scalars['Boolean']['output']; /** Retry delivery of a failed event */ retryEventDelivery: BigConsoleWidgetEventLog; retryExportJob: ExportJob; /** * Retry a FAILED run: re-executes the step that failed as the next attempt * (steps that already succeeded are not re-run), after merging the optional * `context` patch into the run context — e.g. to supply a missing value * that made the step fail. */ retryHeadshotmarketingAutomationWorkflowRun: HeadshotmarketingAutomationWorkflowRun; /** Retry a previously FAILED WEBHOOK-mode publish (BOFF-4218 failed-post recovery). */ retryHeadshotmarketingSocialPost: HeadshotmarketingSocialPost; /** Re-drive a failed global-billing sync for one CsaDelivery (idempotent on externalOrderId). */ retryHealthyBowlCsaBilling: CsaDelivery; retryJobExecution: JobExecution; retryKnowledgeCleanupJob: Scalars['Boolean']['output']; retryKnowledgeSourceImport: Scalars['Boolean']['output']; /** Retry delivery of my saved result; never calls the model again. */ retryMyAssistantTurnDelivery?: Maybe<AssistantTurnExecution>; retryNode: NodeState; retryWebhookDelivery: RetryWebhookDeliveryResponse; /** * Bulk/list-level retry (BOFF-7519): re-trigger 1..10 past runs' exact input * as brand-new PRODUCTION runs — the Runs list's "Retry" action, which * previously only navigated to the run detail page. Each id is retried * independently; the original run(s) are untouched. * * Usage tracking: one `fluidgrids.runs.monthly` unit per run id requested * (`amountArg: "runIds.length"`, BOFF-9973). The gateway checks that the * workspace has that many units left before any run starts, so a batch that * does not fit is refused as a whole with QUOTA_EXHAUSTED; retry fewer runs. * The batch size stays capped at 10. */ retryWorkflowRuns: Array<TriggerResponse>; /** * Explicit reveal action for a secret-flagged (or externally-backed) variable's real value — audited via trackOperation. * A SECRET_REFERENCE variable resolves on behalf of the caller, so only someone who can view the * provider's vault sees its value. */ revealWorkflowVariableValue: RevealWorkflowVariableValueResponse; /** * BOFF-7477 — the only way to correct a settlement entry. Settlement entries (co-op payouts and * their payout expense, contract sales and procurements) are written by the settlement workflow * alone: create, update and delete refuse them (BAD_USER_INPUT) and they stay in every list and * report. This writes ONE linked reversal entry (category settlement_reversal, the opposite type, * the same positive amount, reference = the entry's id) and never edits or deletes the entry itself: * reversing an expense of 500 adds an income of 500, and the dashboard, analytics and budget totals * count the reversal against the entry, so the pair nets to zero. Calling it again returns the same * reversal. Admin-level permission (the transaction delete action); the call is * recorded in the mutation audit log, and who, when and why are kept on the reversal entry. */ reverseHealthyBowlSettlementTransaction: HealthyBowlTransaction; /** * Revert the model's timeline categorisations for the calling user over * [from, to) (max 62 days): each AI-categorised event goes back to the user's * learned correction or the keyword rules, and its AI provenance is cleared. * Only the caller's own events are touched. Requires `confirm: true` because * it rewrites many records (BOFF-3894). */ revertTimeCampusAiCategorizations: TimeCampusAiRevertResult; /** BOFF-10614 — operator-only: verifies or rejects a PENDING payout profile. Operators cannot review their own partner profile. */ reviewGgnomadAffiliatePayoutKyc: GgnomadAffiliatePayoutProfile; reviewHousingvistaRentalApplication: HousingVistaRentalApplication; /** Certify (APPROVE) or reject a submission (super-admins only). Rejecting needs notes. */ reviewTimeCampusMarketplaceSubmission: TimeCampusMarketplaceListing; /** Publish (APPROVE) or reject a version in review. Rejecting needs notes. */ reviewTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet; reviewVaultSecurityEvent: VaultSecurityEvent; revokeActionShare: ShareGrant; revokeActionShareLink: ShareGrant; /** Revoke another member's grant (workspace admins by default). */ revokeAgentGrant: Scalars['Boolean']['output']; revokeAgentInstructionFileShare: ShareGrant; revokeAgentInstructionFileShareLink: ShareGrant; /** Revoke (soft-delete) an agent → agent mesh edge. */ revokeAgentMeshLink: Scalars['Boolean']['output']; revokeAiContextShare: ShareGrant; revokeAiContextShareLink: ShareGrant; revokeAiPromptShare: ShareGrant; revokeAiPromptShareLink: ShareGrant; revokeAllMyVibeLlmContextTokens: Scalars['Int']['output']; /** Revoke all shares for a dashboard */ revokeAllShares: Scalars['Boolean']['output']; revokeCalendarShare: Scalars['Boolean']['output']; revokeCatalogShare: ShareGrant; revokeCatalogShareLink: ShareGrant; /** Revoke collection share */ revokeCollectionShare: Scalars['Boolean']['output']; revokeComponentShare: ShareGrant; revokeComponentShareLink: ShareGrant; revokeConnection: IntegrationConnection; /** Revoke a site's QR check-in code so it can no longer be used to check in. */ revokeCrewSiteCheckInCode: CrewSiteCheckInCode; /** Revoke the policy: disables the locator, revokes sessions, sets status REVOKED. */ revokeDashboardEmbedPolicy: BigConsoleDashboardEmbedPolicy; /** Revoke a dashboard share (renamed from revokeShare to avoid conflict with files subgraph) */ revokeDashboardShare: Scalars['Boolean']['output']; revokeDocsShare: ShareGrant; revokeDocsShareLink: ShareGrant; revokeEncryptionKey: EncryptionKey; /** Revoke permission on a file */ revokeFilePermission: Scalars['Boolean']['output']; revokeFileShare: ShareGrant; revokeFileShareLink: ShareGrant; /** Revoke permission on a folder */ revokeFolderPermission: Scalars['Boolean']['output']; /** * Revoke a folder share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ revokeFolderShare: FolderShare; revokeFolderShareGrant: ShareGrant; revokeFolderShareLink: ShareGrant; /** BOFF-10194 — host of the booked listing only; operators use revokeGgnomadTicketAsOperator. */ revokeGgnomadTicket: GgnomadTicket; /** BOFF-10194 — operator-only (ggnomad:manage): revokes any ticket in the workspace. */ revokeGgnomadTicketAsOperator: GgnomadTicket; revokeGroupShareLink: Scalars['Boolean']['output']; revokeHealthyBowlCertificateOfOrigin: CertificateOfOrigin; revokeHealthyBowlConsultantAssignment: Scalars['Boolean']['output']; /** Either side: revoke an assignment (sponsor by workspace, farm by farmWorkspaceId) — stops all reads. */ revokeHealthyBowlContractAssignment: Scalars['Boolean']['output']; /** Either side revokes. The co-op's reach ends immediately; already-settled money is untouched. */ revokeHealthyBowlCoopMembership: Scalars['Boolean']['output']; /** Farmer-side: revoke a financier's access grant. */ revokeHealthyBowlFinancierAccess: Scalars['Boolean']['output']; /** Revoke pre-disbursement facilitation and its consent grant. Posted loan records cannot be revoked. */ revokeHealthyBowlLoanFacilitation: HealthyBowlLoanFacilitation; revokeMtwInspectorQualification: MtwInspectorQualification; revokeMtwPickTaskReview: MtwPickReview; revokeMtwProcedureDeviation: MtwProcedureDeviation; /** Withdraw the caller's own grant. The agent's next tool call for the caller is refused. */ revokeMyAgentGrant: Scalars['Boolean']['output']; revokeScorecardShare: ShareGrant; revokeScorecardShareLink: ShareGrant; /** Revoke any share (account grant or signed link). */ revokeSecretShare: Scalars['Boolean']['output']; revokeSecurityException: Scalars['Boolean']['output']; revokeSessionGrantShare: ShareGrant; revokeSessionGrantShareLink: ShareGrant; /** Revoke a direct session share */ revokeSessionShare: SessionShare; /** Revoke a session share link */ revokeSessionShareLink: SessionShareLink; /** * Revoke a file share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ revokeShare: FileShare; revokeSourceConsent: TimeCampusSourceConsent; revokeTargetShare: ShareGrant; revokeTargetShareLink: ShareGrant; revokeTemplateShare: ShareGrant; revokeTemplateShareLink: ShareGrant; /** Revoke public access immediately — clears the expiry and stops the tunnel (the URL goes dead). */ revokeTunnelPublicAccess: Tunnel; /** Revoke an active tunnel session (kills the live connection). */ revokeTunnelSession: Scalars['Boolean']['output']; revokeTunnelShare: ShareGrant; revokeTunnelShareLink: ShareGrant; revokeVibeDeckGrantShare: ShareGrant; revokeVibeDeckGrantShareLink: ShareGrant; /** Revoke a share link */ revokeVibeDeckShareLink: VibeDeckShareLink; revokeVibeLlmContextToken: VibeLlmContextToken; revokeVibeShare: ShareGrant; revokeVibeShareLink: ShareGrant; revokeVibecontrolsNoteShare: ShareGrant; revokeVibecontrolsNoteShareLink: ShareGrant; /** Revoke a signal token; later posts to it are refused. */ revokeWorkflowSignalToken: WorkflowSignalToken; /** * Revoke a workspace token immediately. * Requires valid authtoken in Authorization header. */ revokeWorkspaceToken: RevokeTokenResult; /** Idempotently revoke workspace tokens bound to one global auth session. */ revokeWorkspaceTokensForSession: BulkWorkspaceTokenRevocationResult; /** * Idempotently revoke all workspace access tokens issued to a user at or before * the supplied millisecond cutoff. Reserved for global-auth-svc so global * sign-out propagates through the supported cross-layer gateway path. */ revokeWorkspaceTokensForUser: BulkWorkspaceTokenRevocationResult; /** * Roll an agent's live config back to a previously published version. Records * the rollback itself as a new PUBLISHED version (append-only audit trail) * and seeds a fresh draft from the restored config. Workspace-admin only. */ rollbackAgentVersion: AgentVersion; /** * Roll an app's live config back to a previously published version. Records * the rollback itself as a new PUBLISHED version (append-only audit trail) * and seeds a fresh draft from the restored config. Workspace-admin only. */ rollbackBotAppVersion: BotAppVersion; /** Rollback to a previous revision */ rollbackDocsRevision: VibecontrolsDocsSite; rollbackSecret: Secret; /** * Admin-only: rotate the agent's long-lived API key. Generates a fresh * `vcak_*` value, persists it on the `agents.agentApiKey` column, and * best-effort pushes it to the running agent via * `/api/profiles/<profile>/agent/reset-key`. If the live push fails the * rotation still succeeds at the DB layer; the agent will adopt the new * value on its next restart / api-key auto-refresh. Audited. */ rotateAgentApiKey: VibecontrolsAgent; /** Rotate the public URL: immediately revokes the old key/locator/sessions and returns a new secret once. */ rotateDashboardEmbedPolicy: BigConsoleDashboardEmbedPolicySecret; rotateEncryptionKey: EncryptionKey; /** * Issue a new token for a runner. The old token stops working immediately and a * connected runner is disconnected. */ rotateSandboxRunnerToken: SandboxRunnerWithToken; rotateSecret: Secret; /** * Rotate tunnel credentials (basic auth password, provider secrets). Active * sessions are revoked; caller must re-issue. */ rotateTunnelCredentials: Tunnel; rotateVibeLlmContextUrl: VibeLlmContextUrl; /** * Generate (or replace) the workspace's CI push token. Returns the raw token * once; only its hash is stored. */ rotateVibecontrolsScorecardPushToken: VibecontrolsScorecardPushTokenSecret; /** * Issue a new token for a worker token. The old one stops working immediately and * its connected workers are disconnected. */ rotateWorkerToken: SandboxWorkerTokenWithToken; /** * Rotate the workspace secret. Old secret remains valid during grace period. * Requires service-to-service authentication or admin privileges. */ rotateWorkspaceSecret: RotateWorkspaceSecretResult; /** * Run ANY agent command and capture its output. Proxies POST * /api/agent/commands/run. `argv` is [command, ...args]; the agent allowlists * the command name and runs the CLI non-interactively. Admin-gated. */ runAgentCommand: AgentProxyResponse; /** * Claim a `PENDING` execution, run it, and return the terminal execution. * * The run transitions `PENDING → RUNNING → COMPLETED/FAILED`. Both transitions * are published to `agentExecutionUpdated`. This is the billing boundary for * `botlit.runs.count` when the run is executed through this mutation. */ runExecution: Execution; /** * Run a workflow from a chosen node onward, reusing the upstream node outputs * already captured by `input.sourceRunId` instead of re-executing the whole * upstream chain (BOFF-7511). Every direct and transitive ancestor of * `input.nodeId` must have a COMPLETED node state in the source run — this * reuses stored outputs, it never falls back to re-running anything upstream. * * Usage tracking: this executes real nodes downstream of the chosen node, so * it consumes the same `fluidgrids.runs.monthly` quota as `triggerWorkflow`. */ runFromNode: TriggerResponse; /** * BOFF-10614 — operator-only: pays every eligible partner now (or one partner) * through global-billing-svc. dryRun reports what would be paid without paying. */ runGgnomadAffiliatePayouts: GgnomadAffiliatePayoutRun; /** Idempotent sweep: certificate expiry ladder, banned inputs, MRL breaches, overdue inspections, missing documents. */ runHealthyBowlComplianceScan: HealthyBowlComplianceScanResult; /** * Run a rule now (on-demand): triggers its FluidGrids workflow immediately, which calls back into * HB to evaluate weather + notify. Returns the WorkflowRun id (or null). */ runHealthyBowlDiseaseWarningRule?: Maybe<Scalars['String']['output']>; /** * Run an automation rule now (on-demand): triggers its FluidGrids workflow immediately, * which calls back into HB to evaluate + log the run. Returns the WorkflowRun id (or null). */ runHealthyBowlIrrigationAutomation?: Maybe<Scalars['String']['output']>; /** Idempotent clear-date sweep: fires a 'product cleared' notification for each animal+produce that newly cleared. */ runHealthyBowlWithdrawalScan: WithdrawalScanResult; /** * The daily check of one workspace, fired by wspace-scheduler-svc. Returns the * number of findings queued. INTERNAL: only the scheduler service actor and this * service's own actor (the creator the scheduler replays) are accepted. */ runProactiveSweep: Scalars['Int']['output']; /** * Run a script inside the sandbox and capture its output. The sandbox must be running. The run is * recorded (even on failure) so it can be reviewed before any real-target execution. */ runSandboxScript: SandboxScriptRun; runSecurityScan: SecurityScanRun; /** Run the fleet review now for the calling workspace (trigger: manual). */ runSupervisorNow: SupervisorRunResult; /** * Run the workspace's time-intelligence sweep. Called by wspace-scheduler-svc as * this service's own service actor; a super admin may run it on demand. Any * other caller is refused. */ runTimeCampusTimeIntelligenceSweep: TimeCampusTimeIntelligenceSweep; /** Self-scoped: check one of the caller's triggers now (ignores the check hour, still fires at most once a day). */ runTimeCampusTimeTrigger: TimeCampusTimeTriggerRun; /** * Run a workflow's test cases, each as its own TEST run, and return the suite run * to poll with workflowTestRun. Canvas workflows only. * * Usage tracking: not decorated with `@usage`. Suite runs are TEST runs and are * exempt from the fluidgrids.runs.monthly quota by design; the cases per workflow * (50), the suites in flight per workspace (5) and the suites started per * workspace per hour (60) are capped instead. */ runWorkflowTests: WorkflowTestRun; /** * Append one completed turn (prompt + reply), creating the conversation on the * first turn. NOT idempotent: a retried call appends a duplicate turn. This * resolver writes both prompt and reply rows internally, so it performs manual * quota checks/tracking instead of using a fixed-amount @usage directive. * @deprecated Use the my* assistant-history fields (BOFF-7335). */ saveAssistantTurn: AssistantConversation; /** Save collection as template */ saveCollectionAsTemplate: Collection; /** * Persist a conversational-edit revision as a new durable draft generation * derived from a completed source generation. The revision keeps the source * prompt/config (provenance) and becomes the target of the explicit * createDashboardFromGeneration gate; nothing is created implicitly. * No model call is made — saving is storage-only and unmetered. */ saveConversationalRevision: PromptGeneration; saveDraft: DraftMessage; /** BOFF-10614 — operator-only: creates or updates a partner's payout profile. Identity or tax changes reset KYC to PENDING. */ saveGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile; /** Archive the rendered GS1 label into the workspace file library (wspace-files-svc owns the blob). */ saveHealthyBowlBatchGs1LabelToFiles: HealthyBowlSavedTraceLabel; /** Save an unbalanced draft journal entry to finish later. */ saveHealthyBowlJournalEntryDraft: HealthyBowlJournalEntry; /** Archive the rendered label into the workspace file library (wspace-files-svc owns the blob). */ saveHealthyBowlTraceBatchLabelToFiles: HealthyBowlSavedTraceLabel; /** Persist a yield scenario (the simulation 'Save Scenario' action). */ saveHealthyBowlYieldScenario: HbYieldForecast; saveHousingvistaShortlist: HousingVistaShortlist; saveMtwConsolidationManifest: MtwConsolidationManifest; saveMtwConsolidationPlan: MtwConsolidationPlan; saveMtwFreightEstimate: MtwFreightEstimateVersion; /** Idempotent per clientMessageId. Never recreates a deleted conversation. Never throws NOT_FOUND. */ saveMyAssistantHistoryEntries: SaveMyAssistantHistoryEntriesPayload; /** BOFF-10614 — the caller submits their own payout profile as a partner (Type B). Identity or tax changes reset KYC to PENDING. */ saveMyGgnomadAffiliatePayoutProfile: GgnomadAffiliatePayoutProfile; /** Upsert the calling user's active view + per-view overrides. */ saveMyNavPreferences: NavPreferences; /** * Save an AI-assistant sandbox artifact directly into Files without round- * tripping bytes through the browser. Calls `wspace-sandbox-svc` over the * internal gateway, decodes the artifact, uploads to S3, and creates a File * row in the target folder. Returns the freshly created File. * * Larger artifacts (decoded > 50 MB) return `SANDBOX_ARTIFACT_TOO_LARGE` and * the caller falls back to the client-side download path. */ saveSandboxArtifactToFiles: File; /** * Retired: always refused with a message pointing at Security > Vault integrations. * @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ saveSecretsProviderConfig: SecretsProviderConfigResponse; /** Save UI session */ saveUISession: UiSession; /** Create or replace the workspace's composition. Core modules are always enabled; unknown keys are rejected. */ saveWorkspaceComposition: WorkspaceComposition; /** * Re-run the Trivy CVE scan for an existing image without touching APPROVED * state. Returns the row in SCANNING; transitions to PASSED/FAILED happen * out-of-band. */ scanDocsBuildImage: VibecontrolsDocsBuildImage; scanPhysicalAuditTag: PhysicalAuditItem; /** * Scan SSH config on an agent's environment and return discovered hosts. * If configPath is omitted, defaults to ~/.ssh/config. */ scanSSHConfig: SshConfigScanResult; /** Schedule a comment for future posting */ scheduleComment: ScheduledComment; /** Schedule a social media post for future publishing */ scheduleHeadshotmarketingSocialPost: HeadshotmarketingSocialPost; scheduleHealthyBowlGardenSuccession: Array<GardenCareTask>; scheduleHealthyBowlIcsInspection: IcsInspection; seedExportEntityConfigs: Array<ExportEntityConfig>; /** * Seed a comprehensive, coherent HealthyBowl demo farm ("Green Valley Organic Farm") into a * workspace for live team demos. Idempotent: a no-op when a farm already exists unless * `reset: true`, which then tops up the newer-feature demo groups onto the existing farm. * * Admin-gated: guarded by `delete healthybowl_farm` — the most privileged farm-level action — * so only owner / admin / super_admin can seed or reset a demo workspace (matches the destructive, * whole-farm nature of the operation and reuses an already-seeded RBAC pair). */ seedHealthyBowlDemoWorkspace: HealthyBowlDemoSeedResult; seedStandardMetrics: Array<Metric>; /** * Deactivate and soft-archive one policy in the authorized workspace. Returns * false for a missing, foreign-workspace or already archived policy. Historical * decisions and already stored query results remain unchanged. */ semArchiveAccessPolicy: Scalars['Boolean']['output']; semArchiveConnector: Scalars['Boolean']['output']; semArchiveDataSource: Scalars['Boolean']['output']; semArchiveModel: Scalars['Boolean']['output']; semArchiveQuery: Scalars['Boolean']['output']; /** * Answer a natural-language question: translate it into SQL over the semantic * model and execute it through the SQL endpoint with the caller's access * policies enforced (ROW filters, COLUMN masks, ENTITY denials). Questions that * need clarification return the translation with result = null and run nothing. * Each question counts as one federated query run against the plan quota. */ semAskQuestion: SemNlAnswer; semCreateAccessPolicy: SemAccessPolicy; semCreateConnector: SemConnector; semCreateDataSource: SemDataSource; semCreateDimension: SemDimension; semCreateEntity: SemEntity; semCreateMetric: SemMetric; semCreateModel: SemSemanticModel; semCreateQuery: SemQuery; semCreateRelationship: SemRelationship; semDeleteEntity: Scalars['Boolean']['output']; semDeleteMetric: Scalars['Boolean']['output']; semDeleteRelationship: Scalars['Boolean']['output']; /** * FluidGrids scheduled-job callback: runs all three loops for one workspace. * Public + HMAC-gated — reachable from the workflow engine's internal:http * node with no user token; the dispatch secret is the only trust surface. */ semDispatchAgentSweep: SemAgentSweepResult; /** * Ensure this workspace's FluidGrids agent-sweep definition + scheduled job * exist (idempotent). Lazily auto-provisioned on probe/query-run/entity * activity; exposed for ops and for the doctor E2E. */ semEnsureAgentSweep: SemAgentSweepStatus; /** * Execute one read-only SQL SELECT against a semantic model and return the * governed rows synchronously. Writes, multiple statements and unsupported SQL * are rejected with BAD_USER_INPUT; access-policy denials with FORBIDDEN. * Each statement counts as one federated query run against the plan quota. */ semExecuteSql: SemSqlResult; /** Publish a draft model — bumps its version and flips status to PUBLISHED. */ semPublishModel: SemSemanticModel; /** * Publish a saved query. A query is published once; publishing it again is a * CONFLICT. Each published query holds a published-query slot until it is * archived. */ semPublishQuery: SemQuery; /** Record a connection health probe for a data source and reconcile its status. */ semRecordConnection: SemConnection; /** * Remove every demo record created by semSeedWorkspaceDemoData from the calling * workspace. The user's own records are never touched. */ semRemoveWorkspaceDemoData: SemRemoveWorkspaceDemoDataResult; /** * Review a pending proposal. ACCEPT applies the proposed change as the * reviewing human: CACHE_POLICY sets SemQuery.cacheable/cacheTtlSeconds; * ACCESS_POLICY activates the pointed-at DRAFT SemAccessPolicy. REJECT drops * the proposal and, for ACCESS_POLICY, deactivates the DRAFT policy. This is * the ONLY path that turns a proposal into an applied change — no loop code * path ever mutates SemQuery or activates a policy autonomously. */ semResolveAgentProposal: SemAgentProposal; /** * Enqueue a federated execution of a saved query; returns the new run record * in QUEUED status immediately. An async worker plans and executes it — poll * semQueryRun(id) for the final status, plan summary and metrics. */ semRunQuery: SemQueryRun; /** * Seed the calling workspace with a labelled demo set: a sample Postgres * connector and data source, a published semantic model (customers and orders, * with dimensions, metrics and a relationship) and a saved query. Idempotent: * a second call returns the existing demo records. */ semSeedWorkspaceDemoData: SemSeedWorkspaceDemoDataResult; semSetAccessPolicyActive: SemAccessPolicy; /** Move a data source through its connectivity lifecycle (validated transitions). */ semTransitionDataSource: SemDataSource; semUpdateConnector: SemConnector; semUpdateDataSource: SemDataSource; semUpdateEntity: SemEntity; semUpdateModel: SemSemanticModel; /** * Replace the workspace's settings for natural-language questions. Turning on * LLM-assisted phrasing requires an OpenAI or Anthropic connection of this * workspace (created in Integrations); the connection is checked when saved. * Governance-level permission: it decides which provider sees the model's * vocabulary and the questions that need help. */ semUpdateNlSettings: SemNlSettings; semUpdateQuery: SemQuery; sendA2AMessage: A2AMessage; /** * Send a message to an external channel (Slack, Teams, Discord, etc.) * * This mutation is called after a bot generates a response to route the message * through proper service boundaries via internal gateways. * * Flow: * 1. Stores bot message in Conversations service (parallel) * 2. Delivers message via Channel service (parallel) * 3. Returns combined result * * Uses Promise.allSettled for parallel execution with ~50% performance improvement. */ sendChannelMessage: SendChannelMessageResult; sendContextMessage: SendMessagePayload; /** Push the shift reminder to the assigned worker now, regardless of the reminder window. */ sendCrewShiftReminder: CrewShiftReminderResult; sendEventReminder: SendReminderResult; /** Send a message to a supplier; lazily creates the persisted conversation thread on first use. */ sendHealthyBowlSupplierMessage: SupplierMessage; /** Send a new message, or reply to one, from a mailbox the caller owns. */ sendMailboxMessage: MailboxSendResult; sendMessage: SendMessagePayload; /** Send input to session */ sendSessionInput: Scalars['Boolean']['output']; /** Atomically add or replace an actor's workspace-wide roles (service-only) */ setActorRoles: SetActorRolesResult; /** * Emergency recovery: SET the agent's stored API key to a value you read from * `vibe key` on the host — for when gateway auto-report is broken and you don't * want to delete + re-add (which loses sessions / notes / bookmarks). Unlike * rotateAgentApiKey (which MINTS a new key and pushes it), this stores a key * you already set agent-side. The backend probes the agent with the key FIRST * and only persists it if the agent accepts it (wrong key → rejected, record * unchanged). Admin-only, audited. */ setAgentApiKey: VibecontrolsAgent; /** * Enable/disable the agent's background autoupdate. Proxies POST * /api/agent/update/config. */ setAgentAutoUpdate: AgentProxyResponse; /** * F4 Wave C — narrow svc-side proxy for playground (GraphiQL) config writes. * PUTs `/api/profiles/<profile>/graphiql/config/<vibeId>` with * `{ openapiUrl, graphqlUrl }` (only provided keys sent). */ setAgentPlaygroundConfig: AgentProxyResponse; /** * Share this agent with the workspace, or take it back (BOFF-6394). * * `WORKSPACE` exposes the agent to every member holding the matching `@rbac` * permission; `PRIVATE` restricts it to `ownerUserId`. Only the owner may * change it, and only as a person — `app` / `service` actors are refused. * Making an ownerless legacy agent `PRIVATE` claims it for the * caller in the same step — otherwise the row would become unreachable by * everyone, the caller included. */ setAgentVisibility: VibecontrolsAgent; setAiPredictionStatus: AiPrediction; setAssetHandlerFeatureFlagOverride: AssetHandlerFeatureFlagOverride; setBalanceTarget: TimeCampusBalanceTarget; /** * Enable/disable anonymous BigConsole dashboard embeds for this workspace * (BOFF-2986). Sets/removes the global WorkspaceFeatureFlagOverride for * `bigconsole.external-embeds.workspace` (allowUserOptIn=false) via the public * gateway. Guarded by workspace `update` so verified workspace admins control it. */ setBigConsoleExternalEmbedsEnabled: Workspace; /** Set configuration */ setConfiguration: Configuration; /** * Let self-hosted FluidGrids workers receive this connection's long-lived credential (an API key * or a platform token), or stop them. A worker still needs the connection on its token's * allow-list and declared by the workflow, and every release is audited. Workspace * administrators only. */ setConnectionSelfHostedRelease: IntegrationConnection; /** * Turn continuous optimisation on or off for this workspace. On (needs the flag) seeds and * activates the nightly scan system workflow, running as the caller, and the weekly digest; off * deactivates the scan, and the digest unless failure triage still uses it. It only ever suggests. */ setContinuousOptimisationEnabled: ContinuousOptimisationSettings; /** Ask for a skill on a job posting (required or nice-to-have, optional minimum proficiency). */ setCrewJobPostingSkill: CrewJobPostingSkill; /** * Assign (or clear, with rlsPolicyId: null) a dashboard's RLS policy. The * policy must already exist in the same workspace as the dashboard. */ setDashboardRlsPolicy: BigConsoleDashboard; /** * Set the lifecycle status (AVAILABLE | DEPRECATED | DISABLED) of a registered * version. Operator control; applies to every workspace. */ setDashboardTemplateTypeStatus: BigConsoleDashboardTemplateTypeRegistration; setDefaultCalendar: Calendar; /** * Make one of the caller's filter presets the default on its dashboard, and * clear the flag on the caller's other presets there. Fails with * FILTER_PRESET_NOT_FOUND when the preset does not exist in the request * workspace or belongs to another profile. */ setDefaultFilterPreset: BigConsoleFilterPreset; setDefaultVibeDeck: VibeDeck; /** * Promote a profile to be the agent's default. The previously-default * profile is demoted in the same transaction. */ setDefaultVibecontrolsAgentProfile: VibecontrolsAgentProfile; /** Set a view as the default */ setDefaultView: BigConsoleDashboardView; setDriverVehicles: MtwDriver; /** * Host only (LISTING_HOST_REQUIRED for other workspace members): sets status, * nightly price, minimum stay and note for a date range. Returns the calendar * for the range (up to 93 days from startDate). */ setGgnomadPropertyAvailability: GgnomadPropertyCalendar; /** Attach an operator-owned hostname to the storefront and issue the DNS TXT challenge that proves ownership. Replaces any previously attached domain. */ setGgnomadStorefrontCustomDomain: GgnomadOperatorStorefront; /** BOFF-10786 — turns guest checkout from this storefront's booking widget on or off. Existing guest bookings and their manage links are not affected. */ setGgnomadStorefrontGuestCheckout: GgnomadOperatorStorefront; /** BOFF-6030 — publish or update a consultant's weekly availability. One rule per weekday. */ setHealthyBowlConsultAvailability: Scalars['ID']['output']; /** Replace the full structured-tag set on a HealthyBowl entity (entity-owned tags, reuse wspace-tags-svc). */ setHealthyBowlEntityTags: Array<HealthyBowlTag>; /** * Attach, clear or waive one document slot on an existing policy (BOFF-6079). * * Works AFTER submit on purpose: PMFBY enrolment windows are short, and a farmer who submits with * the optional paperwork outstanding must be able to finish later rather than start again. */ setHealthyBowlInsuranceDocument: HealthyBowlInsurancePolicy; /** * Publish (or unpublish) one of YOUR OWN listings to the shared cross-farm market. * Workspace-scoped: a farm can only ever change the sharing flag on its own listings. */ setHealthyBowlListingShared: MarketplaceProduct; /** BOFF-6077 — record what the lender has committed to release across this loan's milestones. */ setHealthyBowlLoanEscrowCommitment: HealthyBowlLoanFacilitation; /** * Set a paddock's own rest target. Writes to the field row, so it uses the field RBAC pair rather * than the animal one. */ setHealthyBowlPaddockRest: HealthyBowlPaddockGrazing; /** Replace a product's whole quantity ladder in one transaction (BOFF-6091). Refuses duplicate thresholds. */ setHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>; setHousingvistaInvestmentEligibility: HousingVistaInvestmentComplianceSetting; /** * Turn the scheduled sync on or off. Turning it on needs a successful preview * with the current credentials. */ setHrisSyncSchedule: HrisDirectorySyncSchedule; /** Mark a message read or unread in a mailbox the caller owns. */ setMailboxMessageRead: Scalars['Boolean']['output']; setMaintenanceChecklistItem: MaintenanceRecord; /** BOFF-6033 — mark a maintenance record as covered by a contract, or clear the link with null. */ setMaintenanceRecordContract: MaintenanceRecord; /** Turn an exposed tool on or off for the next published version. */ setMcpToolEnabled: McpExposedTool; /** Set metadata for a file (upsert: create or update) */ setMetadata: FileMetadata; /** Set multiple metadata entries for a file */ setMultipleMetadata: Array<FileMetadata>; /** * Opt in or out of proactive suggestions for a product in the current workspace. * Opting in grants a read-only consent (30 days); opting out revokes it. * Self-scoped (Type A). */ setMyProactiveSettings: ProactiveSettings; setMyVibeLlmContextSettings: VibeLlmContextSettings; setNodeStatus: NodeEndpointConfig; /** * Set the lifecycle status (AVAILABLE | DEPRECATED | DISABLED) of a registered * version. Operator control; applies to every workspace. */ setParserTypeStatus: ParserTypeRegistration; /** Set default permission level for a role on a resource type */ setRoleDefaultPermission: Role; /** * Turn failure triage on or off for this workspace. On seeds and activates the * hourly triage and weekly digest system workflows, running as the caller; off * deactivates them. Triage only ever proposes fixes. */ setRunFailureTriageEnabled: RunFailureTriageSettings; /** * Update sandbox visibility (PRIVATE vs SHARED_WITH_VIBE). Has no effect when * the sandbox is not linked to a vibe — call linkSandboxToVibe first. */ setSandboxVisibility: Sandbox; /** * Update scheduled-job visibility (PRIVATE vs SHARED_WITH_VIBE). No-op when the * schedule is not linked to a vibe — call linkScheduleToVibe first. */ setScheduleVisibility: ScheduledJob; setSecurityProvider: SecurityProvider; /** * Set or update a settings secret value. * Secret values are stored encrypted and never returned in full. */ setSettingsSecret: SettingsSecret; /** * Manually set (or clear, passing null) the project on a capture event, * independent of any suggestion. The user's own correction always wins. */ setTimeCampusCaptureEventProject: TimeCampusCaptureEvent; setTimeCampusFeatureFlagOverride: TimeCampusFeatureFlagOverride; /** * Grant time-limited public access: the tunnel's public URL stays live until now + ttlSeconds, then * a background sweep stops it automatically (no manual cleanup). ttlSeconds: 300 (5m) … 2592000 (30d). */ setTunnelPublicAccess: Tunnel; /** * Create or update a single environment variable on a vibe. When `isSecret` is true the value is * AES-256-GCM encrypted at rest and never returned in plaintext afterwards. Returns the full * updated env var list (secret values masked). */ setVibeEnvVar: Array<VibeEnvVar>; /** * Toggle a single per-vibe feature flag. Persists on the vibe so all viewers * see the same enabled/disabled state. The `featureId` must be a known entry * in `vibeFeatureCatalog`. */ setVibeFeatureFlag: Vibe; /** * Set the lifecycle status (AVAILABLE | DEPRECATED | DISABLED) of a registered * widget type. Operator control; survives boot re-seeds. */ setWidgetTypeStatus: BigConsoleWidgetTypeRegistration; setWorkOrderChecklistItem: WorkOrder; /** * Replace the connections user activities may resolve through a worker token. * Workspace admins only. */ setWorkerTokenConnectionAllowlist: SandboxWorkerToken; /** * Create or change the PROD rollout of a workflow (audited WorkflowRolloutSet). New starts follow * `percent` at once; raising it while in-flight AUTO_UPGRADE runs of the new buckets are on another * bundle queues a ROLLOUT check (`activationCheck`), and those runs move only once it passes. * `percent: 100` activates `toVersion` (with the activation check of activateWorkflowDefinition) and * removes the rollout. Refused while the workspace locks production to approved promotions. */ setWorkflowRollout: WorkflowRollout; /** * Set or remove (`override: null`) an open durable-function run's versioning override (spec * code-first 11 §2.27), recorded as VERSIONING_OVERRIDE_SET. A change that moves the run to another * bundle first replays the run against it (a RUN_OVERRIDE check, `pendingOverride` on * `WorkflowRun.versioning`), and the run moves only if it replays: pinning to a version whose bundle * differs from the run's, and making the run AUTO_UPGRADE (the override, or removing a PINNED * override from an AUTO_UPGRADE run) while the bundle it would upgrade to differs from its own. * Every other change applies at once and supersedes a pending check. Removing an override never * moves a run that stays PINNED: it keeps the bundle that serves it. Needs fluidgrids.durable-parity. */ setWorkflowRunVersioningOverride: WorkflowRun; /** Enable or disable an installed workspace app */ setWorkspaceAppEnabled: WorkspaceInstalledApp; settleGgnomadOrderPayment: GgnomadOrderPaymentCallbackResult; /** * Split the proceeds back to contributing members, writing an INCOME transaction into each member's * own workspace. * * SAFE TO CALL AGAIN, including while an earlier call is still running. The first call freezes the * terms (commission and deductions) when the lot moves SOLD -> SETTLING; every later call resumes on * those terms. Each member is paid in one database transaction and at most once, and the co-op's * payout expense is booked together with the SETTLED flip. On a SETTLING lot, leave commissionPct and * deductions out (or send the frozen ones); different terms are refused with CONFLICT. On a lot that * is already SETTLED, the same call returns the settled result (paidCount and heldCount then count * the whole settlement) and writes nothing; different terms are refused with CONFLICT. Check * outstandingCount — non-zero means keep going. A settlement is never edited or deleted; an admin * corrects one of its entries with reverseHealthyBowlSettlementTransaction. */ settleHealthyBowlAggregationLot: HealthyBowlSettlementResult; /** Sponsor: settle an accepted delivery — income Transaction to the farm, expense to the sponsor; immutable. */ settleHealthyBowlContractDelivery: HealthyBowlContractDelivery; /** * Set up gateway auth for an agent end-to-end: * 1. Creates OAuth app in auth-svc (via internal global gateway) * 2. Creates devportal Application linked to the OAuth app * 3. Stores appId/appClientId on the agent record * 4. Pushes OAuth credentials to the agent via REST proxy * Returns the agent with credentials (clientSecret shown once). * * For an agent that already has an app this ROTATES the OAuth secret (the old * one stops working at once). It is refused with AGENT_ALREADY_CONFIGURED when * the agent reports `configured: true` in a ready boot state and its last push * did not fail, unless `force` is set; an agent that is degraded, awaiting its * credentials or whose last push failed can always be recovered. It is never a * read: clients must call it only from an explicit, confirmed user action. */ setupAgentGatewayAuth: SetupAgentGatewayAuthResult; shareAction: ShareGrant; shareAgentInstructionFile: ShareGrant; shareAiContext: ShareGrant; shareAiPrompt: ShareGrant; shareCalendar: CalendarShare; shareCatalog: ShareGrant; /** Share collection with users */ shareCollection: CollectionShare; shareComponent: ShareGrant; /** * Set who can reach a connection: its visibility and the complete set of people, groups and * projects it is shared with, and optionally its owner. Allowed for the owner, editors it is * shared with, and workspace administrators; only administrators can change the owner. */ shareConnection: IntegrationConnection; /** Share a dashboard with a user or group */ shareDashboard: BigConsoleDashboardShare; shareDocs: ShareGrant; shareFile: ShareGrant; shareFolder: ShareGrant; shareScorecard: ShareGrant; /** Share a credential (or whole vault) with a specific platform account. */ shareSecretWithAccount: SecretShare; /** Share a session with a specific user */ shareSession: SessionShare; shareSessionGrant: ShareGrant; shareTarget: ShareGrant; shareTemplate: ShareGrant; shareTunnel: ShareGrant; shareVault: VaultMember; shareVibe: ShareGrant; shareVibeDeckGrant: ShareGrant; shareVibecontrolsNote: ShareGrant; /** * Set a workflow's visibility and replace its grants, in one change. For its owner, an editor it is * shared with, or a workspace admin; anyone else gets NOT_FOUND. */ shareWorkflow: WorkflowSharing; /** * Send a signal to a run. A durable-function run records SIGNAL_RECEIVED and runs a workflow task. * A graph run resumes its Wait for Signal node parked for the name; else the signal goes to an open * durable-function child; else it is buffered (at most 100 per name) when the workflow declares the * name; otherwise it is refused. A run that has ended refuses every signal. */ signalWorkflowRun: WorkflowSignalResult; /** * Test hook for end-to-end suites (BOFF-9951), enabled only where the deployment sets * SCHEDULER_TEST_HOOKS_ENABLED=true (alpha); elsewhere it fails with FORBIDDEN and * changes nothing. Reproduces what a scheduler outage leaves behind: the PENDING CRON or * FIXED_INTERVAL job's nextExecutionAt is set back to the occurrence `missedTicks` * (clamped to 1..10) ticks before its current next occurrence, then the job's misfire * policy is applied (a catch-up fire for FIRE_IMMEDIATELY / COALESCE, a missed-tick report * for SKIP / FIRE_NEXT_VALID): before the call returns when the serving replica leads the * engine, otherwise on the leader's next scan. The backdated instant must be older than * the job's misfireThreshold (BAD_USER_INPUT otherwise). Returns the job as it is afterwards. */ simulateScheduleOutage: ScheduledJob; /** Snooze a fired weather alert until an ISO timestamp. */ snoozeHealthyBowlWeatherAlert: WeatherAlertEvent; /** Snooze an open suggestion until a time within 90 days (30 days when until is left out). */ snoozeOptimisationSuggestion: OptimisationSuggestion; snoozeRecommendation: TimeCampusRecommendation; /** * Split one of the caller's capture events in two at `at` (BOFF-4213). The * original keeps its id and ends at `at`; a new event covers the rest, with * the same category, project and app. Each half must be at least one minute * long, and an event that is still running cannot be split. */ splitTimeCampusCaptureEvent: TimeCampusSplitCaptureEventResult; /** * Run one node operation as a durable activity (PLAN-D D6): a durable-function run of the * workspace's standalone activity system workflow, installed on the first call. Needs * fluidgrids.code-first, fluidgrids.durable-functions and fluidgrids.standalone-activities (strict, * fail closed); an idempotency key also needs fluidgrids.durable-parity. A node type outside the * activity allow-list is refused with the reason `durable.activityTypeNotAllowed`. * * Usage tracking: each start consumes one unit of the workspace's fluidgrids.runs.monthly quota. */ startActivity: StartActivityResult; /** Start a durable Fluidgrids turn. The handle is acceptance, not a completed answer. */ startAssistantTurn: AssistantTurnHandle; startAssistantWebsiteTurn: AssistantTurnHandle; /** * Start a batch job that writes every run selected to the workspace's archive destination (the * workflow-run read pair: it changes no run). Needs fluidgrids.run-control and * fluidgrids.run-archival, run archival on the service and an enabled destination. */ startBatchExport: WorkflowBatchJob; /** * Start a batch job: signal, cancel, reset, pause, unpause or reset activities, change activity * options or set versioning overrides on every run selected. TERMINATE is startBatchTerminate. * Needs fluidgrids.run-control. */ startBatchOperation: WorkflowBatchJob; /** Start a batch job that terminates every run selected (the workflow-run delete pair). Needs fluidgrids.run-control. */ startBatchTerminate: WorkflowBatchJob; startCall: CallSession; startCallRecording: CallRecording; startCourseKnowledgeImport: CourseKnowledgeImportReceipt; startDiscoveryJob: DiscoveryJob; /** Operator-only: moves a SUBMITTED claim to UNDER_REVIEW. */ startGgnomadDamageClaimReview: GgnomadDamageClaim; /** Start a DRAFT A/B creative test */ startHeadshotmarketingAdCreativeTest: HeadshotmarketingAdCreativeTest; startHealthyBowlCertificationRenewal: Certification; /** * Start a preview or a sync in the background and return its RUNNING record. * A sync (APPLY) needs a successful preview with the current credentials. */ startHrisSync: HrisSyncRun; /** * Streaming bridge: mesh-forward a session/terminal create to a (possibly * multi-hop) destination agent, minting a short-lived capability token on it. * Returns the destination agent's tunnel URL + capability token so the browser * can stream DIRECTLY to it (control plane via mesh, data plane direct). */ startMeshAgentSession: MeshSessionDescriptor; startMtwProcedureExecution: MtwProcedureExecution; startPomodoroSession: PomodoroSession; /** * Start a coding-agent job. Returns at once (status QUEUED); poll sandboxAgentJob until the status * is terminal. Refused with AGENT_JOBS_DISABLED unless the deployment enables the primitive. * INTERNAL: requires actor type service. */ startSandboxAgentJob: SandboxAgentJob; /** Start a session */ startSession: Session; /** * Agent-initiated: begin capturing a running session. `consentAcknowledged` * must be true — the agent is responsible for having obtained tenant/user * consent per workspace recording policy before calling this (BOFF-4260 * consent-gate requirement); the service rejects `false` outright. */ startSessionRecording: SessionRecording; /** * Start a terminal (session provider + ttyd + tunnel) for a session. * Calls the agent API server-side, starts ttyd, and saves the tunnel URL as ttydUrl. */ startSessionTerminal: Session; startTerminal: TerminalResult; /** * Start a protected focus block for the calling user. Fails if the caller * already has an ACTIVE session (end or abandon it first). Self-scoped — no * identity argument, always the caller. */ startTimeCampusFocusSession: TimeCampusFocusSession; startTimer: TimeEntry; /** * Transition a tunnel to ACTIVE: issues a session, instructs the agent to * spawn the provider subprocess, registers the managed DNS record if any. */ startTunnel: Tunnel; startTyping: Scalars['Boolean']['output']; /** * Start an agent process via the backend proxy. * Calls POST /api/agent/lifecycle/start on the agent. */ startVibecontrolsAgent: AgentLifecycleActionResult; /** * Start a durable-function run (a root DURABLE_FN run of a code bundle's workflow function). * * Usage tracking: each start consumes one unit of the workspace's fluidgrids.runs.monthly quota. */ startWorkflow: StartWorkflowResult; /** * Start a durable-function run with a workflow id, terminating the open run of that id first * (`idConflictPolicy: TERMINATE_EXISTING`, reason ID_CONFLICT; the open run may be a durable-function * or a canvas run). Ending * another run needs the workflow-run delete permission, which startWorkflow does not check, so * startWorkflow refuses TERMINATE_EXISTING and this field carries it. Needs a `workflowId` and * `idConflictPolicy: TERMINATE_EXISTING`. Durable-function parity: needs fluidgrids.durable-parity. * * Usage tracking: each start consumes one unit of the workspace's fluidgrids.runs.monthly quota. */ startWorkflowTerminateExisting: StartWorkflowResult; /** Start a stopped or inactive resource */ startWorkspaceResource: WorkspaceResource; stopCallRecording: CallRecording; /** * Stop the caller's OWN Ask or Take-action assistant sandbox (any workspace role). Another user's * sandbox, or one that is not an assistant sandbox, is NOT_FOUND. Under the session relay the stop * also revokes the session's capability. */ stopMyAssistantSandbox: Sandbox; stopSandbox: Sandbox; /** Stop a session */ stopSession: Session; /** * Stop the terminal (ttyd + session provider) for a session. * Clears ttydUrl and sets session status to STOPPED. */ stopSessionTerminal: Session; stopTerminal: Scalars['Boolean']['output']; stopTimer: TimeEntry; /** * Transition a tunnel to STOPPED: gracefully stops the provider subprocess * on the agent and clears the managed DNS record. */ stopTunnel: Tunnel; stopTyping: Scalars['Boolean']['output']; /** * Stop an agent process via the backend proxy. * Calls POST /api/agent/lifecycle/stop on the agent. */ stopVibecontrolsAgent: AgentLifecycleActionResult; /** Stop the caller's test listener, webhook or form. */ stopWebhookTestListener: WebhookTestListener; /** Stop a running resource */ stopWorkspaceResource: WorkspaceResource; /** * Activate a workflow. Refused with BAD_USER_INPUT (extensions.issues) when * its graph cannot run. */ subActivateWorkflow: SubWorkflow; /** Add a message to the timeline. Answering the desk moves the request back to IN_PROGRESS. */ subAddNegotiationNote: SubNegotiation; /** Desk: assign or reassign a request. Without expertId the best available expert is picked. */ subAdminAssignProcurementRequest: SubProcurementRequest; /** * Permanently purge all Subscriber Bot data for a workspace. Restricted to * super_admin actors for GDPR right-to-erasure / offboarding workflows. * Soft-deleted rows are removed when `includeSoftDeleted` is true. */ subAdminPurgeWorkspace: SubAdminPurgeResult; /** Desk: record the result of a managed negotiation and bill the success fee. */ subAdminRecordNegotiationOutcome: SubNegotiation; /** Desk: record the negotiated outcome and bill the success fee. */ subAdminRecordProcurementOutcome: SubProcurementRequest; /** Desk: retry recording a success fee in global billing. */ subAdminRetryNegotiationFeeBilling: SubNegotiation; /** Desk: retry recording a success fee in global billing. */ subAdminRetryProcurementFeeBilling: SubProcurementRequest; /** * Run the platform-wide data-retention purge now, outside its daily schedule. * Restricted to super_admin actors. Defaults to a dry run that only counts the * expired rows per data class; pass dryRun: false to delete them. */ subAdminRunDataRetention: SubDataRetentionRunResult; /** Desk: message the customer, or add an internal note (internal: true) the customer never sees. */ subAdminSendProcurementMessage: SubProcurementRequest; /** Desk: pick up (IN_PROGRESS), ask the customer (AWAITING_CUSTOMER) or close (CANCELLED) a managed request. */ subAdminSetNegotiationStatus: SubNegotiation; /** Desk: start (IN_PROGRESS), ask the customer (AWAITING_CUSTOMER) or close (CANCELLED) a request. */ subAdminSetProcurementStatus: SubProcurementRequest; /** Desk: add a procurement expert or update one (by userId). */ subAdminUpsertProcurementExpert: SubProcurementExpert; /** Desk: waive a success fee that has not been billed yet. */ subAdminWaiveNegotiationFee: SubNegotiation; /** Desk: waive a success fee that has not been billed yet. */ subAdminWaiveProcurementFee: SubProcurementRequest; /** Apply a PROPOSED decision through the relationship mutation it maps to. */ subApplyDecision: SubDecisionResult; subApproveAdapter: SubAdapterSubmission; subArchiveProvider: Scalars['Boolean']['output']; /** Withdraw an open request (and with it any authorisation). */ subCancelNegotiation: SubNegotiation; /** Withdraw an open request (and with it the authorisation). */ subCancelProcurementRequest: SubProcurementRequest; subCancelRelationship: SubRelationship; /** Cancel a pending renewal reminder. Returns false when it was already sent or cancelled. */ subCancelRenewalReminder: Scalars['Boolean']['output']; /** Finish a Link flow: exchange the public token, store the connection and run the first sync. */ subCompleteBankLink: SubBankSyncResult; subConnectWorkflowNodes: SubWorkflowEdge; /** * Merge overlapping subscriptions onto one: optionally move the kept one to the * bundled plan, then cancel the others. Destructive; confirm with the user first. */ subConsolidateRelationships: SubConsolidationResult; subCreateAgent: SubAiAgent; subCreateAsset: SubAsset; /** * Start linking a bank or card through an aggregator's hosted flow. Pass * connectionId to reconnect that existing connection (the customer signs in * to the bank again or renews the consent; its history is kept). Plaid: then * run subSyncBankConnection. Redirect aggregators: then subCompleteBankLink. */ subCreateBankLinkSession: SubBankLinkSession; /** * Benchmark dataset: ingest a new observed price point. Tenant-scoped so each * workspace owns its own contributions; the public read query UNIONs across * workspaces (Phase 4). Available now so internal data seeding (Phase 1) and * future Phase 2 ingestion pipelines have a stable write API. */ subCreateBenchmarkDataPoint: SubBenchmarkDataPoint; subCreateChannel: SubCommunicationChannel; subCreateEntitlement: SubEntitlement; subCreateInvoice: SubInvoice; /** Create a negotiation request (DRAFT) with a generated playbook. */ subCreateNegotiation: SubNegotiation; subCreatePaymentInstrument: SubPaymentInstrument; subCreatePlan: SubPlan; subCreatePolicy: SubPolicy; /** Create a procurement request (DRAFT). */ subCreateProcurementRequest: SubProcurementRequest; subCreateProvider: SubProvider; subCreateRelationship: SubRelationship; subCreateWorkflow: SubWorkflow; subCreateWorkflowNode: SubWorkflowNode; /** Delete a node and every connection to or from it. */ subDeleteWorkflowNode: Scalars['Boolean']['output']; /** * Disconnect a channel: ingestion stops and its discovery-source slot is * released. The channel and its inbox history are kept; connecting the same * address again with subCreateChannel reuses it. */ subDisconnectChannel: SubCommunicationChannel; subDisconnectWorkflowNodes: Scalars['Boolean']['output']; /** * Hide a bundle suggestion (a SubOverlap id from subSavingsOverview) until * its set of subscriptions changes. */ subDismissBundle: Scalars['Boolean']['output']; subDismissDecision: SubDecision; /** Mark a detected recurring charge as not a subscription. */ subDismissRecurringCharge: SubRecurringCharge; /** Import a bank or card statement export and detect the recurring charges in it. */ subImportBankStatement: SubBankSyncResult; subIngestMessage: SubInboxMessage; /** Move nodes on the canvas. */ subLayoutWorkflow: SubWorkflowGraph; subMarkInvoicePaid: SubInvoice; subMarkMessageRead: SubInboxMessage; subMarkMessageUnread: SubInboxMessage; subModerateListing: SubMarketplaceReport; /** Pause an active workflow so it stops reacting to events. */ subPauseWorkflow: SubWorkflow; /** * Recompute the health score of every ACTIVE and TRIAL relationship in the * workspace from recorded usage, billing, pricing and overlap signals. * Agent runs do this automatically before they evaluate. */ subRecomputeHealthScores: SubHealthRecomputeResult; /** * Register or repair the scheduled sweep of every workspace that has an * enabled renewal, trial, cost or plan agent. */ subReconcileAgentSchedules: SubAgentScheduleReconcileResult; /** Register or repair the daily bank sync of every workspace that has a linked bank connection. */ subReconcileBankSyncSchedules: SubBankSyncScheduleReconcileResult; /** Record the result of a SELF_SERVE negotiation. No fee applies. */ subRecordNegotiationOutcome: SubNegotiation; subRejectAdapter: SubAdapterSubmission; /** Disconnect: revoke the aggregator access, erase the token, accounts and transactions. */ subRemoveBankConnection: Scalars['Boolean']['output']; subRemovePaymentInstrument: Scalars['Boolean']['output']; /** Bring a dismissed recurring charge back to DETECTED. */ subRestoreRecurringCharge: SubRecurringCharge; /** * Run one agent's decision strategies over the workspace's ACTIVE and TRIAL * relationships and queue the decisions. With dryRun: true (the default) no * relationship is changed. dryRun: false also applies high-confidence * decisions, and only an AUTONOMOUS agent in an enrolled workspace may do that. * Writes the agent's lastRunAt. Each run (dry or live) is one AI action against * the workspace's subscriberbot.ai.actions.monthly allowance; a workspace that * has used it up gets QUOTA_EXHAUSTED from the gateway and nothing runs. */ subRunAgent: SubAgentRunResult; /** * Run the workspace's scheduled agent sweep. Called by wspace-scheduler-svc as * this service's own service actor; a super admin may run it on demand. */ subRunScheduledAgentSweep: SubAgentSweep; /** * Run the workspace's daily bank sync (BOFF-10810). Called by * wspace-scheduler-svc as this service's own service actor; a super admin may * run it on demand. */ subRunScheduledBankSync: SubBankSyncRun; /** * Replace the whole graph in one transaction. An ACTIVE workflow only accepts * a valid graph. */ subSaveWorkflowGraph: SubWorkflowGraph; /** Message the procurement expert. Answering the expert moves the request back to IN_PROGRESS. */ subSendProcurementMessage: SubProcurementRequest; /** Change an agent's operating posture (DISABLED / SUGGEST_ONLY / AUTONOMOUS). */ subSetAgentStatus: SubAiAgent; /** * Schedule an in-app reminder about a relationship's next renewal (or the end * of its trial). Without `remindAt` it fires three days before that date, or * as soon as possible when the date is closer. Replaces any pending reminder * on the relationship. Returns the RENEWAL_REMINDER renewal event. */ subSetRenewalReminder: SubRenewalEvent; /** * Create, update or remove (null / zero amount) a monthly spend budget. * Returns null when the budget was removed. */ subSetSpendBudget?: Maybe<SubSpendBudget>; /** Submit a DRAFT. MANAGED requests need the current authorisation accepted and the account holder name. */ subSubmitNegotiation: SubNegotiation; /** Submit a DRAFT to the procurement desk under the current authorisation. */ subSubmitProcurementRequest: SubProcurementRequest; /** Pull new transactions from a linked aggregator connection and re-run detection. */ subSyncBankConnection: SubBankSyncResult; /** Track a detected recurring charge as a relationship (discovery source PAYMENT_SCAN). */ subTrackRecurringCharge: SubRecurringCharge; /** Advance a relationship through its lifecycle (validated transitions). */ subTransitionRelationship: SubRelationship; /** Edit a request while it is a DRAFT or the desk is waiting on the customer. */ subUpdateNegotiation: SubNegotiation; /** Edit a request while it is a DRAFT or the expert is waiting on the customer. */ subUpdateProcurementRequest: SubProcurementRequest; subUpdateProvider: SubProvider; subUpdateRelationship: SubRelationship; subUpdateWorkflowNode: SubWorkflowNode; subVerifyChannel: SubCommunicationChannel; submitApprovalRequest: TimeApprovalRequest; /** Submit a third-party connector for review. */ submitConnector: ConnectorSubmission; submitExpenseForApproval: ExpenseEntry; /** BOFF-4388 — moves a DRAFT listing to PENDING_REVIEW so a marketplace operator can vet it. */ submitGgnomadListingForReview: GgnomadListing; submitHousingvistaOffer: HousingVistaOffer; submitHousingvistaRentalApplication: HousingVistaRentalApplication; submitMtwInspectorQualification: MtwInspectorQualification; /** * Offer one of your applets to every workspace: its live, workspace-published * version goes to platform certification. */ submitTimeCampusAppletToMarketplace: TimeCampusMarketplaceListing; /** Submit a DRAFT version for review. */ submitTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet; /** * Subscribe the current workspace to a product. * Workspace ID is read from gateway context (x-workspace-id header). */ subscribeProduct: SubscribedProduct; /** * Propose one more node after a chosen node. Returns PROCESSING; poll * `workflowProposal(id)`. */ suggestNextNode: WorkflowProposal; /** * Compute (and persist) an AI/ML category suggestion for a capture event: the * user's own earlier project choices for the same site/app and a * deterministic keyword classifier always run (ingest stores the same local * suggestion automatically); an LLM refinement is * attempted only when a real provider key is configured, and its result is * used only on success (BOFF-4146). Does not change `projectId` — the * suggestion must be explicitly accepted. */ suggestTimeCampusCaptureEventCategory: TimeCampusCategorySuggestion; /** Suspend a live listing in every workspace (super-admins only). */ suspendTimeCampusMarketplaceListing: TimeCampusMarketplaceListing; /** Suspend a published applet; its widgets stop rendering. */ suspendTimeCampusThirdPartyApplet: TimeCampusThirdPartyApplet; /** * Switch to a project and generate a project-scoped JWT (24h). * Gateway gates on `project:read` at workspace scope; the resolver * (`ProjectLifecycleService.switchProject`) re-asserts that the caller is a * member of `projectId` AND that `projectId` belongs to the current * workspace, and that the project is not archived. Defense in depth on a * field that mints a long-lived authn token. (BOFF-2655) */ switchProject: ProjectAuthResponse; /** * Refresh the global STORE registry row of a catalog node version from its manifest.json * (BOFF-9458). Called by global-store-svc when catalog CI publishes a node version. Updates * manifest-owned fields only, never creates a row, and is idempotent. * INTERNAL: Requires actorType SERVICE */ syncCatalogNodeEndpoint: SyncCatalogNodeEndpointResult; /** * Sync containers with node registry. * PLATFORM: reconciles the shared cross-tenant node container fleet, so it is * restricted to super_admin. */ syncContainers: ContainerActionResponse; /** * Seed the starter taxonomy and normalize every legacy employee/candidate skill * string and job-posting requirement into canonical skills. Idempotent: safe to re-run. */ syncCrewSkills: CrewSkillSyncReport; /** * Cross-layer sync endpoint for global-tenant-svc. * Handles workspace creation, member addition, and member removal. * * **Access Control:** * - Restricted to `service` actor type only (M2M calls) * - Called by global-tenant-svc via wspace-int-gateway * - Public gateway rejects any non-service actor * - Internal gateway relies on network isolation (K8s NetworkPolicy + Istio mTLS) * * **Why actorTypes instead of action/resource RBAC:** * - SYNC_WORKSPACE creates new workspaces - can't check permissions on non-existent resource * - Internal gateway (wspace-int-gateway) has no RBAC middleware - directives aren't enforced * - actorTypes clearly documents M2M-only intent and IS enforced by public gateway */ syncFromGlobal: SyncFromGlobalResult; /** BOFF-10614 — operator-only: re-checks in-flight provider payouts with billing now. */ syncGgnomadAffiliatePayouts: GgnomadAffiliatePayoutSyncResult; /** Fetches and applies the mapping's externalIcalUrl now (INBOUND/BOTH only). Returns the mapping with updated lastSyncedAt/lastSyncStatus. */ syncGgnomadChannelMapping: GgnomadChannelMapping; syncGgnomadOrderPayment: GgnomadOrder; syncGroupRule: GroupRuleSyncExecution; /** * Read a campaign's delivery status and lifetime spend/impressions/clicks/ * conversions back from its ad platform's official API (API-mode connection * required). Failures are logged, returned, and retried automatically when * transient. */ syncHeadshotmarketingAdCampaignFromPlatform: HeadshotmarketingAdSyncResult; /** * Import the Meta Lead Ads or LinkedIn Lead Gen form submissions of an ad * campaign since its last import (API-mode connection required). Each * submission becomes a lead, or is attached to the existing lead with the * same email, with an AD_CLICK touchpoint credited to the campaign. The * ad-sync scheduler runs this periodically for live campaigns. */ syncHeadshotmarketingAdLeadForms: HeadshotmarketingAdLeadFormSyncResult; /** Export a batch of POSTED journal entries to the connected provider; records a sync log. */ syncHealthyBowlAccountingIntegration: HealthyBowlAccountingSyncResult; /** * Idempotently replay a batch of offline-captured observations. Each item is keyed by * its client-generated `clientId`; a duplicate replay is a no-op (never a new row), and * a genuine version conflict is reported as CONFLICT for the user to review — never * silently overwritten. */ syncHealthyBowlFieldObservations: FieldObservationSyncResult; /** * Settle the premium against the platform billing rail — the ONLY thing that may mark a premium PAID. * Re-reads the Payment HB recorded at checkout and, only if global-billing reports it SUCCEEDED, * marks the policy PAID with the gateway's real payment reference and writes the farm-ledger expense. * * Safe to call repeatedly, and this is also the RETRY op: a premium still in flight settles when this * is called after the payment lands, and one whose checkout failed is re-driven by checking out * again. It never marks an unpaid premium paid. */ syncHealthyBowlInsurancePremiumPayment: HealthyBowlInsurancePolicy; /** * Settle an order against the platform billing rail: re-reads the Payment HB recorded at checkout * and, only if global-billing reports it SUCCEEDED, marks the order PAID with the gateway's real * payment reference. Safe to call repeatedly; it never marks an unpaid order paid. */ syncHealthyBowlOrderPayment: Order; /** * Backfill/refresh the farm's real multi-year daily + monthly weather history from the Open-Meteo * ERA5 archive (the "Re-sync history" action). Replaces any prior history for the workspace and * returns the refreshed series. */ syncHealthyBowlWeatherHistory: WeatherHistorySeries; /** Replay check-ins/check-outs captured offline on the caller's own shifts (Type B self). */ syncMyCrewFieldEvents: Array<CrewFieldEventResult>; /** Pull an OAuth-backed channel from its provider now instead of waiting for the next scheduled sync. */ syncTimeCampusCaptureChannel: TimeCampusCaptureChannelSyncResult; tagAnalyticsDashboard: AnalyticsDashboardTagAssignment; tagAnalyticsMetric: AnalyticsMetricTagAssignment; tagAnalyticsReport: AnalyticsReportTagAssignment; tagAsset: AssetTagAssignment; tagBigconsoleEntity: BigConsoleTagAssignment; /** Assign a tag to a comment */ tagComment: CommentTagAssignment; tagConnection: IntegrationConnectionTagAssignment; /** Assign a tag to a CosmicIntersection entity */ tagCosEntity: CosTagAssignment; tagEventfullyManagedEntity: EventfullyManagedEntityTagAssignment; tagFile: FileTagAssignment; /** Assign a tag to a FluidGrids entity */ tagFluidgridsEntity: FluidgridsTagAssignment; tagFolder: FolderTagAssignment; tagGroup: GroupTagAssignment; tagIntelwatchtowerEntity: IntEntityTagAssignment; /** Assign a tag to a note */ tagNote: NoteTagAssignment; tagProject: ProjectTagAssignment; /** Assign a tag to a sandbox */ tagSandbox: SandboxTagAssignment; tagScheduledJob: ScheduledJobTagAssignment; tagSecret: SecretTagAssignment; /** Assign a tag to a VibeControls entity */ tagVibecontrolsEntity: EntityTagAssignment; tagWorkspace: WorkspaceTagAssignment; /** Take a workflow's edit lease from whoever holds it. */ takeOverWorkflowEditLease: WorkflowEditLease; tcpAddCitation: TcpCitation; /** Append a claim to a story's evidence trail. */ tcpAddStoryClaim: TcpStoryClaim; tcpArchiveArchiveItem: Scalars['Boolean']['output']; tcpArchiveTopic: Scalars['Boolean']['output']; tcpCreateArchiveItem: TcpArchiveItem; tcpCreateCollection: TcpCollection; tcpCreateStory: TcpStory; tcpCreateTopic: TcpTopic; /** * Generates a citation-grounded AI response: fetches the requested story's * citations, or collection's archive items + oral histories, or oral * history's transcript — always filtered to content the caller can read * (PUBLIC/COMMUNITY access level only) — builds a prompt instructing the * model to answer ONLY from those sources, and persists the run * (`groundingRefs`, `content`, `uncertainty`) as `PENDING` review. Gated by * the `theculturepost.ai-context` feature flag (defaults to enabled). */ tcpGenerateAiContext: TcpAgentRun; /** Link a citation to a claim on the same story, or unlink it (claimId: null). */ tcpLinkCitationToClaim: TcpCitation; tcpLockDiscussion: TcpDiscussion; /** Moderate a reply (approve / flag / remove) — respectful-by-design controls. */ tcpModerateReply: EntityComment; tcpOpenDiscussion: TcpDiscussion; /** * Post a reply to an open discussion. The reply is stored as an EntityComment * in wspace-conversations-svc, authored by the caller, and starts PENDING. */ tcpPostReply: EntityComment; tcpRecordOralHistory: TcpOralHistory; /** * Remove a claim from the evidence trail. Its citations stay on the story as * general sources (unlinked, never deleted) and the trail is renumbered. */ tcpRemoveStoryClaim: Scalars['Boolean']['output']; /** * Editor human-in-the-loop review of a generated AI context run — approves * or rejects it and records who/when/why. Only a `PENDING` run can be * reviewed; reviewing an already-reviewed run is rejected (no silent * overwrite of a prior editorial decision). */ tcpReviewAiContext: TcpAgentRun; /** * Toggle whether the calling actor has the given story on their personal * reading list. Returns the new bookmarked state. Self-scoped: the story id * is a target to act on, but the row created/removed is always owned by the * caller (`ctx.actorId`) — never another actor's. */ tcpToggleStoryBookmark: Scalars['Boolean']['output']; /** * Advance a story through its editorial lifecycle (validated transitions). * Tracks a published-story usage event against the global-billing-svc quota * `theculturepost.stories.published` on every transition; the actual publish * gate is enforced by EditorialService.transitionStory allowing only valid * lifecycle moves. A dedicated tcpPublishStory mutation (future) can narrow * this to PUBLISHED-only. */ tcpTransitionStory: TcpStory; tcpUpdateArchiveItem: TcpArchiveItem; tcpUpdateOralHistory: TcpOralHistory; tcpUpdateStory: TcpStory; /** Edit a claim's text/anchor or move it within the evidence trail. */ tcpUpdateStoryClaim: TcpStoryClaim; tcpUpdateTopic: TcpTopic; tcpVerifyCitation: TcpCitation; /** * Soft-deletes (withdraws) a recorded oral history via the existing * `deletedAt` column — the only API path for a narrator's consent-withdrawal * request once testimony has been recorded. */ tcpWithdrawOralHistory: Scalars['Boolean']['output']; /** * Undo `seedHealthyBowlDemoWorkspace`: permanently delete the target workspace's HealthyBowl * records — the demo snapshot, every newer feature group, and the dependent rows the seed's * sub-providers write alongside them (stock movements, CSA orders/deliveries, …) — in * foreign-key-safe order, so nothing is left orphaned. * * RESUMABLE, not atomic. Each entity is deleted on its own and one call is time-bounded, so a * call that stops early keeps everything it already removed and reports the rest in * `entitiesRemaining` with `complete: false`. Re-run until `complete: true`; each run is * strictly less work than the last, and a run over an already-clean workspace is a no-op * (`removed: false, complete: true`). * * DESTRUCTIVE and irreversible: these are hard deletes, not the soft `deletedAt` the ordinary * delete mutations use, and the mutation refuses to run unless `confirm: true` is passed. * Unlike the seed, it does NOT require the target workspace to exist in the workspace * registry — recovering an orphaned workspace is exactly what it is for. * * Admin-gated by the same `delete healthybowl_farm` pair as the seed, and the request's * workspace is authoritative: `input.workspaceId` may only name a *different* workspace for a * super_admin operator. */ teardownHealthyBowlDemoWorkspace: HealthyBowlDemoTeardownResult; /** * Add a real, owned, completed artifact to the calling learner's portfolio. * Validates that `sourceId` (a) exists in the workspace, (b) belongs to the * calling learner, and (c) is actually complete (hackathon team SUBMITTED or * WINNER; certificate ISSUED; enrollment COMPLETED) before copying its * title/description/link/completionDate onto the new item. */ tecAddPortfolioItem: TecPortfolioItem; /** Approve a pending mentor profile (PENDING -> ACTIVE). */ tecApproveMentor: TecMentor; /** Close the assessment to new attempts. Existing attempts and certificates stay. */ tecArchiveAssessment: TecAssessment; /** * DESTRUCTIVE: archives the course, removing it from the learner catalog. * An agent or UI must get explicit user confirmation before calling this. */ tecArchiveCourse: Scalars['Boolean']['output']; /** Archive (soft-delete) a plan the calling learner owns. */ tecArchiveStudyPlan: Scalars['Boolean']['output']; /** * Push the certificates issued before the HR system was connected, and look up * skipped learners again. Certificates already recorded are not sent twice. */ tecBackfillHrisCertificates: TecHrisPush; /** Create the calling user's mentor profile (one per user per workspace). */ tecBecomeMentor: TecMentor; /** Book a 1:1 session with a mentor as the calling mentee. */ tecBookSession: TecMentorSession; /** * DESTRUCTIVE: cancels a booked mentoring session for both the mentor and * the mentee; a cancelled session cannot be reinstated. An agent or UI must * get explicit user confirmation before calling this. */ tecCancelSession: TecMentorSession; /** Retry issuing the certificate for the caller's passed, verified attempt. */ tecClaimAssessmentCertificate: TecAssessmentAttempt; /** * DESTRUCTIVE: completes a hackathon after judging (JUDGING -> COMPLETED), * locking judging and final results. An agent or UI must get explicit user * confirmation before calling this. */ tecCompleteHackathon: TecHackathon; /** * Mark one lesson complete for the calling learner (BOFF-4107) and * recompute their enrollment progress from completed lessons. Self-scoped * (Type B): the enrollment is looked up by the authenticated actor, and a * learner who is not enrolled gets NOT_FOUND. QUIZ lessons and INTERACTIVE * lessons with an expected output cannot be completed manually; they are * completed by tecSubmitLessonQuiz / tecRunLessonCode. Idempotent. */ tecCompleteLesson: TecEnrollment; tecCompleteSession: TecMentorSession; tecConfirmSession: TecMentorSession; /** * Connect an HR system (BOFF-10738). The connection is read as the caller and * must reach the HR system with its key. Certificates issued or revoked from * now on are pushed; run tecBackfillHrisCertificates for earlier ones. * Connecting a different connection or matching rule starts afresh. */ tecConnectHris: TecHrisPush; /** * Use an integration connection (provider `xapi-lrs`) as the workspace's * Learning Record Store (BOFF-10575). The connection is read as the caller; * its endpoint must be a public https address that answers the xAPI /about * check. Replaces any LRS connected before; a different connection is pushed * the full history. */ tecConnectXapiLrs: TecXapiLrsSync; tecCreateAssessment: TecAssessment; tecCreateCourse: TecCourse; tecCreateHackathon: TecHackathon; tecCreateLesson: TecLesson; tecCreateProblem: TecProblem; /** Add a test-case fixture to a problem. Authoring permission on the problem. */ tecCreateProblemTestCase: TecProblemTestCase; /** * DESTRUCTIVE: deletes a test-case fixture from a problem, changing how * every future submission is graded. An agent or UI must get explicit user * confirmation before calling this. */ tecDeleteProblemTestCase: Scalars['Boolean']['output']; /** Remove the Greenhouse connection and its invitations. Returns false when none existed. */ tecDisconnectGreenhouse: Scalars['Boolean']['output']; /** * Stop pushing certificates. Records already in the HR system stay there; the * integration connection is not deleted. Returns false when nothing was connected. */ tecDisconnectHris: Scalars['Boolean']['output']; /** * Stop pushing to the workspace's LRS. The integration connection itself is * not deleted; delete it in wspace-integrations-svc to remove the stored * secret. Returns false when no LRS was connected. */ tecDisconnectXapiLrs: Scalars['Boolean']['output']; tecEnroll: TecEnrollment; /** * Export a published course as a SCORM package for an enterprise LMS * (BOFF-10574). `version` defaults to SCORM 2004 4th Edition. `appOrigin` is * the TechnoSpam app address lessons launch into (the admin UI passes its own * origin); it must be a TechnoSpam app shell and defaults to production. * Gated like the other course admin actions (update on technospam-course). */ tecExportScormPackage: TecScormPackage; /** * Generate a new, deterministic study plan for the calling learner (see the * module honesty note above -- this is rule-based, not AI-personalized). */ tecGenerateStudyPlan: TecStudyPlan; /** * Manually override the verdict for a submission (awards points if ACCEPTED). * Reserved for author/admin intervention; normal grading is automatic. */ tecGradeSubmission: TecSubmission; /** Issue a verifiable completion certificate for a learner on a course. */ tecIssueCertificate: TecCertificate; /** * Issue the workspace's Greenhouse partner API key, replacing any earlier key * (Greenhouse calls with the old key fail from then on). `appOrigin` is the * TechnoSpam app address candidate links use; the admin UI passes its own. */ tecIssueGreenhouseApiKey: TecGreenhouseApiKey; /** Open registration for a hackathon (DRAFT -> REGISTRATION_OPEN). */ tecOpenRegistration: TecHackathon; /** Open the assessment to learners. Needs at least one question. */ tecPublishAssessment: TecAssessment; /** Publish a course, making it visible to learners (DRAFT -> PUBLISHED). */ tecPublishCourse: TecCourse; /** * Publish the calling learner's portfolio, generating a shareable public * slug on first publish (kept stable on subsequent re-publishes). */ tecPublishPortfolio: TecPortfolio; tecPublishProblem: TecProblem; /** Report an integrity signal from the caller's browser for their own attempt. */ tecRecordAssessmentSignal: TecAssessmentAttempt; /** Record an in-product legal acceptance checkpoint for the calling actor. */ tecRecordLegalAcceptance: TecRecordLegalAcceptancePayload; /** Register a team for a hackathon with the calling user as captain. */ tecRegisterTeam: TecHackathonTeam; /** * Re-run the grader for a submission (retry after a grader outage, or after * the problem's test cases changed). */ tecRegradeSubmission: TecSubmission; /** * Remove an item from the calling learner's portfolio (does not touch the * underlying course/certificate/hackathon record). */ tecRemovePortfolioItem: Scalars['Boolean']['output']; /** Reorder the calling learner's portfolio items. */ tecReorderPortfolioItems: TecPortfolio; /** Email the candidate a fresh invitation link; the previous link stops working. */ tecResendGreenhouseInvitation: TecGreenhouseAssessment; /** * Decide a FLAGGED or PENDING_REVIEW attempt. VERIFIED on a passed attempt * issues its certificate. Reviewers cannot decide their own attempts. */ tecReviewAssessmentAttempt: TecAssessmentAttempt; /** * Explain one of the calling learner's own graded submissions: what failed, * why, which concepts to revisit and which problems to practise next. * Self-scoped (Type B): the submission is read with the authenticated actor * as owner in the same query, so another learner's submission is NOT_FOUND. * Returns the stored review when one exists for the current verdict; * otherwise writes a new one (rate limited per learner). PENDING submissions * are rejected with BAD_USER_INPUT. */ tecReviewSubmission: TecSubmissionReview; /** * DESTRUCTIVE: rescinds a learner's issued certificate, their proof of * completed work. An agent or UI must get explicit user confirmation before * calling this. */ tecRevokeCertificate: TecCertificate; /** * Run the calling learner's code for an INTERACTIVE lesson in the isolated * code sandbox (BOFF-4107). Never executes in this service. When the lesson * has an expected output and stdout matches it, the lesson is completed for * the learner. Rate limited per actor. */ tecRunLessonCode: TecLessonCodeRun; /** * Run a solution without submitting it (the editor's Run button): executes * the code against the problem's PUBLIC sample cases, or once against custom * stdin, and returns the outcome. Nothing is stored and no points are * awarded. Gated like tecSubmitSolution because it executes code. */ tecRunSolution: TecSolutionRun; /** Save the caller's in-progress answers (display order, -1 for unanswered). */ tecSaveAssessmentAnswers: TecAssessmentAttempt; /** * DESTRUCTIVE: records a judge score for a team and optionally marks it * WINNER, overwriting any previous score. An agent or UI must get explicit * user confirmation before calling this. */ tecScoreTeam: TecHackathonTeam; /** Pause or resume the Greenhouse connection. While paused, Greenhouse calls fail with 401. */ tecSetGreenhouseEnabled: TecGreenhouseIntegration; /** * Share some of the caller's own certificates with a Greenhouse invitation * (Type B self: each certificate is owner-filtered by the caller and reads as * not found otherwise). Completes the invitation and notifies Greenhouse. */ tecShareCertificatesWithGreenhouse: TecGreenhouseInvitation; /** * Start the caller's attempt, or return the one already in progress. The * server fixes the deadline and the shuffled order. A monitored assessment * needs acceptMonitoring: true (the learner's consent to integrity signals). */ tecStartAssessment: TecAssessmentAttempt; /** Move a hackathon into its running window (REGISTRATION_OPEN -> IN_PROGRESS). */ tecStartHackathon: TecHackathon; /** Move a hackathon into judging (IN_PROGRESS -> JUDGING). */ tecStartJudging: TecHackathon; /** * Grade and close the caller's attempt. `answers` replaces the saved answers * when given. Refused after the deadline (plus a short grace), in which case * the attempt is closed on its saved answers. Idempotent once closed. */ tecSubmitAssessment: TecAssessmentAttempt; /** * Grade a QUIZ lesson attempt server-side (BOFF-4107). A passing attempt * completes the lesson for the calling learner when they are enrolled. */ tecSubmitLessonQuiz: TecQuizResult; /** Submit a team's project for judging (sets status SUBMITTED). */ tecSubmitProject: TecHackathonTeam; /** * Submit a solution to a problem; the grader runs it against the problem's * test cases and the returned row already carries the verdict. If the * problem has no test cases yet, the language isn't supported by the grader, * or the sandbox call fails, the submission is returned PENDING and can be * retried with tecRegradeSubmission. */ tecSubmitSolution: TecSubmission; /** Push now instead of waiting for the schedule (a bounded amount; the rest follows on the schedule). */ tecSyncHrisNow: TecHrisPush; /** * Push now instead of waiting for the schedule. Sends a bounded amount in the * request and leaves anything further to the schedule, due immediately. */ tecSyncXapiLrsNow: TecXapiLrsSync; /** Check a pasted API key against the workspace's current key. */ tecTestGreenhouseConnection: TecGreenhouseConnectionTest; /** * Unpublish the calling learner's portfolio. The public link 404s * (tecPublicPortfolio returns null) until republished; the slug is retained * so republishing restores the same link. */ tecUnpublishPortfolio: TecPortfolio; tecUpdateAssessment: TecAssessment; tecUpdateCourse: TecCourse; tecUpdateHackathon: TecHackathon; tecUpdateLesson: TecLesson; tecUpdateMentor: TecMentor; tecUpdateProblem: TecProblem; tecUpdateProblemTestCase: TecProblemTestCase; /** Update a learner's enrollment progress; auto-completes at 100%. */ tecUpdateProgress: TecEnrollment; /** * Mark a step PENDING/IN_PROGRESS/COMPLETED/SKIPPED. Owner-filtered via the * parent plan's learnerId -- never trusts a client-supplied learnerId. * Auto-completes the parent plan when every step reaches a terminal state * (COMPLETED or SKIPPED). */ tecUpdateStudyPlanStepStatus: TecStudyPlanStep; terminateHousingvistaLease: HousingVistaLease; terminateMtwReuseReservation: MtwReuseReservation; /** Terminate a session */ terminateSession: Scalars['Boolean']['output']; /** Forcefully terminate a running workflow instance */ terminateWorkflow: TerminateWorkflowResponse; /** * End a run now without running any more of its code: a durable-function run records * WORKFLOW_TERMINATED, a graph run moves to TERMINATED. Its parent is notified and its children * get their parent-close policy. Use cancelWorkflowRun to let a durable function clean up first. */ terminateWorkflowRun: WorkflowRun; testConnection: ConnectionTestResult; testLlmConnection: Scalars['Boolean']['output']; /** * Send a synthetic test event to the destination right now, without waiting * for a real run to fire one. Does not require `isEnabled`. */ testLogStreamDestination: TestLogStreamDestinationResponse; testMCPConnection: Scalars['Boolean']['output']; testPipeline: PipelineExecution; /** * Evaluate a rule set against one input and return the decision with its trace. * Has no side effects; a mutation so clients never cache a test result. */ testRuleSet: RuleEvaluationResult; /** * Retired: always reports failure with a message pointing at Security > Vault integrations. * @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ testSecretsProviderConnection: TestSecretsProviderConnectionResponse; testTarget: TargetTestResult; /** Check that a provider accepts the stored credentials, and record the outcome (BOFF-9741). */ testVaultIntegration: VaultIntegrationTestResult; /** Test webhook */ testWebhook: Scalars['Boolean']['output']; /** Test a webhook mapping by sending a test event */ testWebhookMapping: BigConsoleWidgetWebhookTestResult; theAddSupplierContact: TheSupplierContact; /** * Record a part or consumable used on a work order. Allowed until the work * order is closed or cancelled. */ theAddWorkOrderPart: TheWorkOrder; /** Approve (lock) a DRAFT allocation so it counts toward net positions. */ theApproveProductionAllocation: TheProductionAllocation; /** Lock a DRAFT valuation as the workspace's official number. */ theApproveReserveValuation: TheReserveValuation; /** Assign a work order to a ProServiceWorld contractor, optionally requiring an unexpired credential. */ theAssignWorkOrderToContractor: TheWorkOrder; /** Assign a work order to a CrewFoundry crew, optionally requiring a certified member. */ theAssignWorkOrderToCrew: TheWorkOrder; /** Assign (or clear) the contracted vendor performing a maintenance work order. */ theAssignWorkOrderVendor: TheWorkOrder; /** * Attach a wspace-files-svc File (photo or document) to a work order as * evidence. Allowed until the work order is closed or cancelled. */ theAttachWorkOrderFile: TheWorkOrder; /** * Attribute (or, with null, detach) a finished work order's downtime to a * production record of the same asset, after the fact. */ theAttributeWorkOrderDowntime: TheWorkOrder; /** Apply one set of PRO_RATA factors to every unallocated record of a measurement asset in a window. */ theBulkAllocateProduction: TheBulkAllocationResult; /** Cancel a holding registered in error. Refused once anything has been retired. */ theCancelCarbonCredit: TheCarbonCredit; /** Remove a work order's external crew or contractor assignment. */ theClearWorkOrderExternalAssignment: TheWorkOrder; /** Close a reporting period so its allocations cannot be created, approved or reversed until it is reopened. */ theCloseAllocationPeriod: TheAllocationPeriodClose; /** Record a prior-period correction (signed volume deltas) against an APPROVED allocation (creates a DRAFT). */ theCreateAllocationCorrection: TheProductionAllocation; theCreateAsset: TheAsset; theCreateChainNetwork: TheChainNetwork; theCreateComplianceCert: TheComplianceCert; theCreateConditionRule: TheConditionRule; theCreateContract: TheOfftakeContract; /** Assign net volume from an approved allocation entry to a sell contract. */ theCreateContractEntitlement: TheContractEntitlement; theCreateCorrectiveAction: TheCorrectiveAction; theCreateEquipment: TheEquipment; theCreateForecastScenario: TheForecastScenario; /** Record the ownership of an asset for an effective period. */ theCreateInterestDeck: TheInterestDeck; theCreateInventoryLot: TheInventoryLot; theCreateMaintenanceSchedule: TheMaintenanceSchedule; theCreatePriceIndex: ThePriceIndex; /** Allocate a measured production record across its contributing assets (creates a DRAFT). */ theCreateProductionAllocation: TheProductionAllocation; theCreateReserveEstimate: TheReserveEstimate; /** Value a reserve estimate: run the production profile against the price source, discount the cash flows to NPV and find the economic limit (creates a DRAFT). */ theCreateReserveValuation: TheReserveValuation; theCreateServiceContract: TheServiceContract; theCreateSupplier: TheSupplier; theCreateWorkOrder: TheWorkOrder; theDeleteChainNetwork: Scalars['Boolean']['output']; theDeleteForecastScenario: Scalars['Boolean']['output']; theDeleteForecastSnapshot: Scalars['Boolean']['output']; /** Delete an interest deck that no live allocation uses. */ theDeleteInterestDeck: TheInterestDeck; /** Deletes the index and its price points. */ theDeletePriceIndex: Scalars['Boolean']['output']; theDeletePricePoint: Scalars['Boolean']['output']; /** Mark a shipment delivered and roll its volume into the contract's delivered total. */ theDeliverShipment: TheShipment; /** Finalize a draft ESG disclosure (locks it as the reported-on-record snapshot). */ theFinalizeEsgDisclosure: TheEsgDisclosure; /** * Generate an ESG disclosure snapshot for the given framework and reporting * period, computed from this workspace's own emission and compliance records * (not manually entered) — see EsgReportingService. No @usage/quota directive: * not yet registered in quota-catalog.yaml or the billing seed, so wiring * enforcement here would repeat the exact unenforced/undefined-quota * anti-pattern this batch just removed for `theglobalfuel.settlements.monthly` * (see quota-catalog.yaml BOFF-5106/5108 note). Add a real quota + billing-seed * entry first if/when this needs metering. */ theGenerateEsgDisclosure: TheEsgDisclosure; /** * Raise a PLANNED work order for every active schedule due within the horizon * that does not already have an unfinished work order. Idempotent. */ theGenerateScheduledWorkOrders: TheGenerateWorkOrdersResult; /** * Link equipment to an AssetHandler asset, or unlink it with a null asset id. * New work orders on linked equipment are mirrored to AssetHandler. */ theLinkEquipmentToAssetHandler: TheEquipment; /** * Link (or, with a null supplierId, unlink) an offtake contract's counterparty * to the supplier register. */ theLinkOfftakeContractSupplier: TheOfftakeContract; /** Link (or unlink) a shipment's carrier to the supplier register. */ theLinkShipmentCarrier: TheShipment; /** Record how much of an inventory lot was loaded onto a shipment. */ theLinkShipmentSource: TheShipmentSource; /** Run a saved scenario and freeze its per-asset daily forecast as a plan of record. */ theLockForecastScenario: TheForecastSnapshot; /** * Accept a downtime suggestion: raise a REACTIVE work order from a production * record. Refused (CONFLICT) if a non-cancelled work order already covers the * record: a production record gets at most one reactive work order. */ theRaiseWorkOrderFromProductionRecord: TheWorkOrder; /** * Record a manually taken reading and evaluate the equipment's condition rules, * raising a CONDITION_BASED work order for each breached rule that has none * unfinished. Field telemetry from wspace-iot-svc is evaluated the same way. */ theRecordConditionReading: TheConditionReadingResult; theRecordEmission: TheEmissionRecord; /** * Record that the CALLING actor accepted a legal document/version at an * in-product checkpoint. Self-scoped (Type A): no identity arg. Idempotent — * re-accepting the same (checkpointType, documentVersion) updates the * timestamp/audit fields rather than duplicating the row. */ theRecordLegalAcceptance: TheLegalAcceptance; /** * Create or replace up to 1000 price points on an index (manual entry or * import). A point is keyed by its day and kind, so re-importing converges. */ theRecordPricePoints: ThePriceImportResult; theRecordProduction: TheProductionRecord; theRecordSupplierScorecard: TheSupplierScorecard; /** Register a carbon-credit holding (registry project, vintage and quantity). */ theRegisterCarbonCredit: TheCarbonCredit; /** Remove an entitlement, returning its volume to the allocation entry. */ theRemoveContractEntitlement: TheContractEntitlement; theRemoveSupplierContact: Scalars['Boolean']['output']; /** Remove an attachment from a work order (the File itself stays in wspace-files-svc). */ theRemoveWorkOrderAttachment: TheWorkOrder; /** Remove a recorded part from a work order. */ theRemoveWorkOrderPart: TheWorkOrder; /** Reopen a closed period (a reason is required). The close row is kept for the audit trail. */ theReopenAllocationPeriod: TheAllocationPeriodClose; theReportSafetyIncident: TheSafetyIncident; /** Remove this workspace's override for a unit pair, restoring the built-in default. Returns false if there was none. */ theResetUnitConversion: Scalars['Boolean']['output']; theRetireAsset: Scalars['Boolean']['output']; /** Permanently retire credits from a holding against a reporting period. */ theRetireCarbonCredits: TheCarbonRetirement; /** Void a DRAFT or APPROVED allocation, freeing its production record for re-allocation. */ theReverseProductionAllocation: TheProductionAllocation; /** Void a DRAFT or APPROVED valuation with a reason, keeping it for audit. */ theReverseReserveValuation: TheReserveValuation; theScheduleShipment: TheShipment; /** * Attach, replace or remove (photoFileId: null) the asset's photo. The id is a * wspace-files-svc File id from the platform upload flow (BOFF-10630). */ theSetAssetPhoto: TheAsset; theSetInventoryLotStatus: TheInventoryLot; theSetMaintenanceIntegrations: TheMaintenanceIntegrations; /** * Change a supplier's qualification status. ON_HOLD and BLOCKED need a reason. * Blocking or deactivating a supplier suspends its ACTIVE service contracts. */ theSetSupplierStatus: TheSupplier; /** Set this workspace's conversion factor for a commodity and unit pair. */ theSetUnitConversion: TheUnitConversion; /** * Tick or untick a checklist step, optionally recording a note. Allowed while * the work order is unfinished. */ theSetWorkOrderChecklistItem: TheWorkOrder; /** * Reconcile up to `limit` (max 50) mirrored work orders, never-pulled and least * recently pulled first, and * create missing mirrors for unfinished work on linked equipment. */ theSyncAssetHandlerWorkOrders: TheWorkOrderBulkSyncResult; /** * Reconcile one work order with its AssetHandler mirror (status, downtime, * completion), creating the mirror if it is missing. */ theSyncWorkOrderWithAssetHandler: TheWorkOrderSyncResult; /** Advance an asset through its lifecycle (validated transitions). */ theTransitionAsset: TheAsset; /** Advance a compliance certification through its lifecycle (validated transitions). */ theTransitionComplianceCert: TheComplianceCert; /** Advance an offtake contract through its lifecycle (validated transitions). */ theTransitionContract: TheOfftakeContract; /** Advance a corrective/preventive action through its closure lifecycle (validated transitions). */ theTransitionCorrectiveAction: TheCorrectiveAction; /** Advance an incident through its investigation lifecycle (validated transitions). */ theTransitionSafetyIncident: TheSafetyIncident; /** * Advance a service contract (validated transitions). Activation requires an * APPROVED supplier. */ theTransitionServiceContract: TheServiceContract; /** * Advance a shipment through its lifecycle (validated transitions): * SCHEDULED → LOADING → IN_TRANSIT → DELIVERED, and any non-terminal state → CANCELLED. * Transitioning to DELIVERED rolls the shipment volume into the contract's * delivered total exactly once (same path as theDeliverShipment). */ theTransitionShipment: TheShipment; /** * Advance a work order through its lifecycle (validated transitions). Completing * a work order raised from a schedule rolls the schedule's next due date forward. */ theTransitionWorkOrder: TheWorkOrder; /** Remove a source lot from a shipment whose sources can still change. */ theUnlinkShipmentSource: TheShipmentSource; theUpdateAsset: TheAsset; theUpdateChainNetwork: TheChainNetwork; theUpdateConditionRule: TheConditionRule; theUpdateContract: TheOfftakeContract; theUpdateEquipment: TheEquipment; theUpdateForecastScenario: TheForecastScenario; theUpdateForecastSnapshot: TheForecastSnapshot; theUpdateIncidentInvestigation: TheSafetyIncident; theUpdateMaintenanceSchedule: TheMaintenanceSchedule; theUpdateMaintenanceSettings: TheMaintenanceSettings; theUpdatePriceIndex: ThePriceIndex; theUpdateServiceContract: TheServiceContract; /** * Update the logistics metadata of an existing shipment (carrier, tracking * number, route, schedule, document reference, notes). Status and volume are * deliberately not updatable here — see TheUpdateShipmentInput. */ theUpdateShipment: TheShipment; theUpdateSupplier: TheSupplier; theUpdateSupplierContact: TheSupplierContact; theUpdateWorkOrder: TheWorkOrder; /** Mark an emission figure third-party verified. */ theVerifyEmission: TheEmissionRecord; toggleClientPortal: ClientPortalConfig; toggleCrewOnboardingTask: CrewOnboardingTask; toggleEventRegistration: EventRegistration; /** Toggle event webhook mapping active status */ toggleEventWebhookMapping: BigConsoleWidgetEventWebhookMapping; /** Star/unstar a file */ toggleFileStarred: File; /** Star/unstar a folder */ toggleFolderStarred: Folder; toggleGeofence: Geofence; toggleGgnomadFavorite: Scalars['Boolean']['output']; toggleNodeEnabled: WorkspaceNodeInstallation; toggleSchedule: ReportSchedule; /** Update resource last accessed timestamp */ touchWorkspaceResource: WorkspaceResource; /** Track that the current user accessed an entity (for recently accessed). */ trackEntityAccess: Scalars['Boolean']['output']; trackEvent: TrackEventResponse; trackEventBatch: TrackEventBatchResponse; trackMetric: Scalars['Boolean']['output']; /** * Track a download from a share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ trackShareDownload: Scalars['Boolean']['output']; /** * Track usage consumption * Called by gateway after successful operations */ trackUsage: Scalars['Boolean']['output']; /** * Hand a connection to another person, for example when its owner leaves. Workspace * administrators only. */ transferConnectionOwnership: IntegrationConnection; transferGroupOwnership: Group; transferInventoryStock: MtwInventoryTransferResult; /** Transfer control to another collaborator */ transferSessionControl: Scalars['Boolean']['output']; /** Hand a workflow to another person (workspace admins only). Their share, if any, is dropped. */ transferWorkflowOwnership: WorkflowSharing; transitionCrewDispatch: CrewDispatch; /** Advance a credit's status forward (DRAFT→PENDING→VERIFIED→ISSUED→RETIRED). Illegal transitions throw CONFLICT. */ transitionHealthyBowlCarbonCredit: HbCarbonCredit; /** Mark a nursery batch transplanted and link it to the destination field + crop. */ transplantHealthyBowlNurseryBatch: NurseryBatch; /** * Move a conversation to Trash (Gmail) or Deleted Items (Outlook). It can be * restored from there; nothing is deleted permanently. */ trashMailboxThread: Scalars['Boolean']['output']; triggerAnalyticsScheduledReport: ReportRun; /** * Twin of the deprecated `triggerBoundWorkflow` returning `BotmanorWorkflowRun` * (BOFF-9561). Same resolver, same `@rbac`, and the same `botmanor.runs.count` * meter: a call through either spelling is one run. */ triggerBotmanorBoundWorkflow: BotmanorWorkflowRun; /** * Run the FluidGrids workflow bound to a bot app or agent (BOFF-5456). * * Botlit does not own workflows: it holds an opaque `workflowId` and calls * wspace-workflow-svc over the wspace internal gateway. An `Execution` row of * type `WORKFLOW` is recorded for every attempt, successful or not. * * Authorised as a `create` on `botlit-execution` — the mutation's own effect in * this service is exactly that row; the workflow service separately enforces * `execute` on `workflow-run` for the same actor. * @deprecated use triggerBotmanorBoundWorkflow */ triggerBoundWorkflow: BotlitWorkflowRun; /** Trigger a scheduled comment immediately (bypass schedule) */ triggerScheduledComment: Scalars['Boolean']['output']; triggerSync: ExternalCalendarSync; triggerVaultSync: VaultSyncLog; triggerVibeCalendarTaskNow: VibeCalendarExecution; /** Trigger webhook manually */ triggerWebhook: Scalars['Boolean']['output']; /** * Trigger a workflow execution. * * Usage tracking: Each workflow execution consumes one unit of the * workspace's fluidgrids.runs.monthly quota (per-workspace assignment in * wspace-activity-svc). If the quota is exhausted, the request is rejected. */ triggerWorkflow: TriggerResponse; /** * Start one action of the schedule now (a MANUAL tick), under `overlapPolicy` or the schedule's own * (ALLOW_ALL for a schedule without one). It ignores the pause, the jitter and the remaining actions. * Needs fluidgrids.schedule-policies. */ triggerWorkflowSchedule: WorkflowScheduleTriggerResult; /** * Trigger a canvas workflow with idConflictPolicy TERMINATE_EXISTING allowed (spec code-first 11 * §2.1): an open run of the same workflow id is terminated with the reason ID_CONFLICT before the * new run starts. Ending another run is the admin-only workflow-run delete permission, so this is a * separate mutation from triggerWorkflow (whose execute permission does not grant it). Takes the * same input; the other conflict policies behave as in triggerWorkflow. Durable-function parity: * needs fluidgrids.durable-parity. * * Usage tracking: each start consumes one unit of the workspace's fluidgrids.runs.monthly quota. */ triggerWorkflowTerminateExisting: TriggerResponse; turnHealthyBowlCompostBatch: CompostBatch; unarchiveConversation: Conversation; /** Unarchive a project */ unarchiveProject: Project; /** * Deactivate a workspace quota assignment. Does not delete the record. * Same caller restriction as assignWorkspaceQuota. */ unassignWorkspaceQuota: Scalars['Boolean']['output']; unhideMessage: Message; uninstallAgentFromTarget: Scalars['Boolean']['output']; /** * Disable templateKey in the workspace, whichever version is active. * Idempotent: true when the key was ever installed in the workspace, false when * it never was. Dashboards already created from the template are not modified. */ uninstallDashboardTemplateType: Scalars['Boolean']['output']; uninstallNode: Scalars['Boolean']['output']; uninstallPackage: Scalars['Boolean']['output']; /** * Disable parserTypeKey in the workspace, whichever version is active. * Idempotent: true when the key was ever installed in the workspace, false when * it never was. Parsers already created from the type are not modified. */ uninstallParserType: Scalars['Boolean']['output']; uninstallProviderPlugin: Scalars['Boolean']['output']; uninstallRemoteAgent: Scalars['Boolean']['output']; /** Uninstall an applet from the workspace. Idempotent; its widgets leave every layout. */ uninstallTimeCampusApplet: TimeCampusApplet; /** Uninstall a marketplace applet. Idempotent; its widgets leave every layout. */ uninstallTimeCampusMarketplaceApplet: TimeCampusStoreApplet; /** Uninstall a third-party applet. Idempotent; its widgets leave every layout. */ uninstallTimeCampusThirdPartyApplet: TimeCampusStoreApplet; /** Uninstall (disable) a widget type for a workspace, removing it from the palette. */ uninstallWidgetType: Scalars['Boolean']['output']; /** Uninstall a workspace app by ID */ uninstallWorkspaceApp: Scalars['Boolean']['output']; /** * Uninstall workspace app by app name in the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ uninstallWorkspaceAppByName: Scalars['Boolean']['output']; /** Uninstall multiple workspace apps by IDs */ uninstallWorkspaceApps: Scalars['Int']['output']; /** Unlink a DataSink from a Workflow */ unlinkDataSinkFromWorkflow: Scalars['Boolean']['output']; /** Detach a vibecontrols-owned entity from any vibe and reset visibility to PRIVATE. */ unlinkEntityFromVibe: VibeLinkedEntity; /** Detach a sandbox from any vibe and reset visibility to PRIVATE. */ unlinkSandboxFromVibe: Sandbox; /** Detach a scheduled job from any vibe and reset visibility to PRIVATE. */ unlinkScheduleFromVibe: ScheduledJob; /** Remove the repository link. Commits already made stay in the repository. Needs publish rights. */ unlinkWorkflowGitRepository: Scalars['Boolean']['output']; unlockVault: Vault; unmatchHealthyBowlStatementLine: HealthyBowlBankStatementLine; unmuteConversation: ConversationMembership; /** Unpause activities; their next attempt is dispatched now. */ unpauseActivity: WorkflowRun; /** Unpause the schedule (it fires again while its workflow is active). Never checks a flag. */ unpauseWorkflowSchedule: WorkflowScheduleDescription; unpinConversation: ConversationMembership; unpinMessage: Message; /** Remove pinned data from a node (BOFF-7511). */ unpinNodeData: WorkflowDefinition; /** Unpin a note */ unpinNote: VibecontrolsNote; /** Hides the storefront from the public query without deleting it. */ unpublishGgnomadOperatorStorefront: GgnomadOperatorStorefront; /** Remove a seed lot from the public portal. The slug is retained for later republishing. */ unpublishHealthyBowlSeedLot: SeedLot; /** Remove the batch from the public portal. The slug is retained for later republishing. */ unpublishHealthyBowlTraceBatch: TraceBatch; /** BOFF-4375 — Type B self-on-owned-resource: owner-filtered by the calling actor; NOT_FOUND (never FORBIDDEN) if it isn't this actor's token. */ unregisterGgnomadPushDevice: Scalars['Boolean']['output']; unshareVault: Scalars['Boolean']['output']; /** Unsubscribe a workspace from a product */ unsubscribeProduct: Scalars['Boolean']['output']; /** * Unsubscribe the current workspace from a product. * Workspace ID is read from gateway context (x-workspace-id header). */ unsubscribeWorkspaceFromProduct: Scalars['Boolean']['output']; untagAnalyticsDashboard: Scalars['Boolean']['output']; untagAnalyticsMetric: Scalars['Boolean']['output']; untagAnalyticsReport: Scalars['Boolean']['output']; untagAsset: Scalars['Boolean']['output']; untagBigconsoleEntity: Scalars['Boolean']['output']; /** Remove a tag from a comment */ untagComment: Scalars['Boolean']['output']; untagConnection: Scalars['Boolean']['output']; /** Remove a tag from a CosmicIntersection entity */ untagCosEntity: Scalars['Boolean']['output']; untagEventfullyManagedEntity: Scalars['Boolean']['output']; untagFile: Scalars['Boolean']['output']; /** Remove a tag from a FluidGrids entity */ untagFluidgridsEntity: Scalars['Boolean']['output']; untagFolder: Scalars['Boolean']['output']; untagGroup: Scalars['Boolean']['output']; untagIntelwatchtowerEntity: Scalars['Boolean']['output']; /** Remove a tag from a note */ untagNote: Scalars['Boolean']['output']; untagProject: Scalars['Boolean']['output']; /** Remove a tag from a sandbox */ untagSandbox: Scalars['Boolean']['output']; untagScheduledJob: Scalars['Boolean']['output']; untagSecret: Scalars['Boolean']['output']; /** Remove a tag from a VibeControls entity */ untagVibecontrolsEntity: Scalars['Boolean']['output']; untagWorkspace: Scalars['Boolean']['output']; updateA2AConnection: A2AConnection; updateA2ARegistryEntry: A2ARegistryEntry; updateAIPrompt: AiPrompt; /** Update an existing action */ updateAction: Action; updateActionItem: MeetingActionItem; updateActionShareRole: ShareGrant; /** Update active session */ updateActiveSession: UiSession; /** Update active vibe */ updateActiveVibe: UiSession; /** Change the retry policy and timeouts of activities, from their next attempt. Needs fluidgrids.run-control. */ updateActivityOptions: WorkflowRun; /** Update an agent definition. Narrowing the allowlist or scope applies to the next tool call. */ updateAgentDefinition: AgentDefinition; updateAgentInstructionFile: AgentInstructionFile; updateAgentInstructionFileShareRole: ShareGrant; updateAgentMessageBookmark: AgentMessageBookmark; /** * Claim an ownerless agent for yourself, or release one you own. * * Ownership is what the `PRIVATE` visibility resolves against, so this mutation * is itself owner-gated (BOFF-6394, BOFF-7920) — the `@rbac` directive below * only decides whether the caller may update agents at all, not whose agent * they may update: * * - Only a person (`user` / `super_admin`) may change ownership. * - An agent with NO owner may be claimed by anyone who can update agents — * `ownerUserId` must then be the caller's own id. * - The current owner may release it with `ownerUserId: null`. * - Assigning an agent to a DIFFERENT user is refused (`FORBIDDEN`): an * agent's OAuth identity acts with its owner's reach, so handing your machine * to a colleague would let it reach their private agents. The recipient * claims it after you release it instead. * - Anyone else gets `FORBIDDEN` — including for "release to shared", which * used to be the cheapest way to take over a colleague's machine. * * Releasing ownership also forces `visibility` to `WORKSPACE`: a `PRIVATE` * agent with no owner would be reachable by nobody. Claiming an agent does NOT * change its visibility — that stays an explicit `setAgentVisibility` call. */ updateAgentOwnership: VibecontrolsAgent; /** * Update an installed plugin to the latest version, or to a specific * `version`. Proxies POST /api/profiles/<p>/plugins/update. */ updateAgentPlugin: AgentProxyResponse; updateAgentTemplate: AgentTemplate; /** * Update ONLY the tunnel URL of an existing agent (e.g. after a quick-tunnel * rotation), in place — no re-registration, no data loss. The backend probes * the new URL's identity and verifies it is the SAME machine (hostname match) * before saving; a tunnel pointing at a different host is rejected. Implicitly * reactivates the agent on success. Admin-only, audited. */ updateAgentTunnelUrl: VibecontrolsAgent; updateAgentVersion: VibecontrolsAgent; updateAiContext: AiContext; updateAiContextShareRole: ShareGrant; updateAiPromptShareRole: ShareGrant; updateAiSpendAlertSettings: AiSpendAlertSettings; updateAllocation: ResourceAllocation; updateAppAgent: AppAgent; updateAppTemplate: AppTemplate; updateApplicationUsage: ApplicationUsage; updateAsset: Asset; updateAvailabilityRule: AvailabilityRule; /** Update an existing dashboard */ updateBigConsoleDashboard: BigConsoleDashboard; /** * Save changes to the caller's BigConsole settings in the request workspace, * creating the record on first save. Self-scoped like bigConsoleSettings. */ updateBigConsoleSettings: BigConsoleSettings; /** Update a BigConsole widget */ updateBigConsoleWidget: BigConsoleWidget; updateBookingPage: BookingPage; updateBotApp: BotApp; /** @deprecated use updateBotmanorAgent */ updateBotlitAgent: BotlitAgent; updateBotmanorAgent: BotmanorAgent; /** Turn the workspace's agent activation approval gate on or off. Reviewer-only. */ updateBotmanorAgentApprovalSettings: BotmanorAgentApprovalSettings; updateBotmanorLLMModel: BotmanorLlmModel; updateBotmanorLLMProvider: BotmanorLlmProvider; updateBucket: Bucket; updateBudget: AssetBudget; updateCalendar: Calendar; updateCalendarEventStatus: CalendarEvent; updateCalendarResource: CalendarResource; updateCalendarShare: CalendarShare; updateCallParticipant: CallParticipant; updateCargoItem: MtwCargoItem; updateCatalogShareRole: ShareGrant; updateChannelConnector: ChannelConnector; updateChannelRoute: ChannelRoute; updateClientPortalConfig: ClientPortalConfig; updateCohort: Cohort; /** Update collection details */ updateCollection: Collection; /** Update collection share permissions */ updateCollectionShare: CollectionShare; updateComponentShareRole: ShareGrant; updateConnection: IntegrationConnection; updateConnectionPermissions: AgentConnection; /** * Replace the OAuth client of one of your own OAuth 2.0 submissions, while it * waits for review or after approval (rotating the secret updates the * installed connector). The secret is write-only. */ updateConnectorSubmissionOAuthClient: ConnectorSubmission; updateContextSharingPolicy: TimeCampusContextSharingPolicy; updateConversation: UpdateConversationPayload; updateCrewAnnouncement: CrewAnnouncement; updateCrewCandidate: CrewCandidate; updateCrewClient: CrewClient; updateCrewDepartment: CrewDepartment; updateCrewDispatch: CrewDispatch; updateCrewEmployee: CrewEmployee; /** * Advance an enrollment's status. `IN_PROGRESS` sets `startedAt` the first * time it is reached; `COMPLETED` sets `completedAt`. Both are set-once — * re-sending the same or an earlier status is a no-op on those timestamps. */ updateCrewEnrollmentStatus: CrewEnrollment; updateCrewInterview: CrewInterview; updateCrewJobPosting: CrewJobPosting; updateCrewLeaveRequest: CrewLeaveRequest; updateCrewOnboarding: CrewOnboarding; updateCrewOnboardingTask: CrewOnboardingTask; updateCrewPayrollRecord: CrewPayrollRecord; updateCrewProject: CrewProject; updateCrewShift: CrewShift; updateCrewShiftPattern: CrewShiftPatternResult; /** Rename, recategorise or re-alias a skill. Editing a BACKFILL skill marks it reviewed (CUSTOM). */ updateCrewSkill: CrewSkill; updateCrewTeam: CrewTeam; updateCrewTimeEntry: CrewTimeEntry; updateCrewTrainingCourse: CrewTrainingCourse; updateCrewVendor: CrewVendor; updateCustomer: MtwCustomer; updateDashboard: AnalyticsDashboard; /** Update non-destructive policy settings (origins/expiry/ttl). Bumps version; keeps the key. */ updateDashboardEmbedPolicy: BigConsoleDashboardEmbedPolicy; /** Update a dashboard page */ updateDashboardPage: BigConsoleDashboardPage; /** Update a dashboard RLS policy. */ updateDashboardRlsPolicy: BigConsoleDashboardRlsPolicy; /** Update a dashboard share (renamed from updateShare to avoid conflict with files subgraph) */ updateDashboardShare: BigConsoleDashboardShare; /** Update a saved view */ updateDashboardView: BigConsoleDashboardView; /** Update a data sink */ updateDataSink: DataSink; /** Update a DataSink-Workflow link */ updateDataSinkLink: DataSinkWorkflowLink; updateDataTable: DataTableResponse; updateDataTableRow: DataTableRowResponse; updateDeliveryJob: MtwDeliveryJob; updateDeliveryJobStatus: MtwDeliveryJob; updateDocsBuildImage: VibecontrolsDocsBuildImage; /** Update a docs page */ updateDocsPage: VibecontrolsDocsPage; updateDocsShareRole: ShareGrant; /** Update docs site configuration */ updateDocsSite: VibecontrolsDocsSite; /** Set the build runtime mode for a docs site. For CUSTOMER_IMAGE, buildImageId must be APPROVED. */ updateDocsSiteRuntime: VibecontrolsDocsSite; /** Update docs site visibility (PRIVATE/PUBLIC) */ updateDocsSiteVisibility: VibecontrolsDocsSite; updateDriver: MtwDriver; updateDriverStatus: MtwDriver; updateEmailTimeEntry: EmailTimeEntry; /** Update a comment */ updateEntityComment: EntityComment; /** * Update visibility (PRIVATE vs SHARED_WITH_VIBE) on a linked entity. No-op when * the entity is not currently linked to a vibe. */ updateEntityVisibility: VibeLinkedEntity; updateEsgMetric: EcoMetric; updateEvent: CalendarEvent; updateEventRegistration: EventRegistration; updateEventSchema: EventSchema; updateEventVisibility: CalendarEvent; /** Update an event webhook mapping */ updateEventWebhookMapping: BigConsoleWidgetEventWebhookMapping; /** * Update an execution to a terminal state and record its outcome. * * Only `COMPLETED`, `FAILED`, `CANCELLED` and `TIMEOUT` are accepted; use * `runExecution` to transition `PENDING` → `RUNNING`. This is the billing * boundary for `botlit.runs.count` — quota is charged when the run resolves. */ updateExecutionStatus: Execution; updateExpense: ExpenseEntry; updateExportTemplate: ExportTemplate; /** Update file metadata */ updateFile: File; updateFileShareRole: ShareGrant; /** Update file visibility */ updateFileVisibility: File; /** * Update one of the caller's filter presets. Fails with FILTER_PRESET_NOT_FOUND * when the preset does not exist in the request workspace or belongs to another * profile. */ updateFilterPreset: BigConsoleFilterPreset; updateFocusScore: FocusScore; /** Update folder metadata */ updateFolder: Folder; /** * Update an existing folder share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ updateFolderShare: FolderShare; updateFolderShareRole: ShareGrant; /** Update folder visibility */ updateFolderVisibility: Folder; updateFunnel: Funnel; /** * Apply a widget position change (drag-n-drop) to a generated spec. * Updates the widget position in the spec before dashboard creation. */ updateGeneratedWidgetPosition: PromptGeneration; updateGeofence: Geofence; updateGgnomadActivity: GgnomadActivity; /** BOFF-10615 — operator-only: edits a commission rule; commissions already created keep their rate. */ updateGgnomadAffiliateCommissionRule: GgnomadAffiliateCommissionRule; /** BOFF-4386 — operator-only: edits a partner, including suspending or reactivating it. */ updateGgnomadAffiliatePartner: GgnomadAffiliatePartner; /** BOFF-10614 — operator-only: turns the automatic payout run on or off and sets its cadence and minimum. */ updateGgnomadAffiliatePayoutSchedule: GgnomadAffiliatePayoutSchedule; updateGgnomadCartItemQuantity: GgnomadCart; /** BOFF-3936 — operator-only (ggnomad:manage): sets the workspace's checkout tax, service fee and accepted payment methods. */ updateGgnomadCheckoutSettings: GgnomadCheckoutSettings; updateGgnomadEvent: GgnomadEvent; /** * BOFF-4392 — sets the workspace's residency region and export governance. * Every change is recorded in the audit trail (ggnomadWorkspaceAuditLog with * entityType GOVERNANCE and entityId = the workspace id). Requires ggnomad:manage. */ updateGgnomadGovernancePolicy: GgnomadGovernancePolicy; updateGgnomadOperatorStorefront: GgnomadOperatorStorefront; /** BOFF-4378 — host only: changes a pricing rule. */ updateGgnomadPricingRule: GgnomadPricingRule; updateGgnomadProperty: GgnomadProperty; /** BOFF-3953 — edits a provider profile. Only the actor who created the profile may edit it; anyone else gets NOT_FOUND. */ updateGgnomadProvider: GgnomadProvider; updateGgnomadTour: GgnomadTour; updateGgnomadTravelPolicy: GgnomadTravelPolicy; /** BOFF-10248 — only the traveler who created the trip may change it; NOT_FOUND for anyone else. */ updateGgnomadTrip: GgnomadTrip; /** BOFF-10194 — creator of the plan only; NOT_FOUND for anyone else. */ updateGgnomadTripPlan: GgnomadTripPlan; /** Update a global filter */ updateGlobalFilter: BigConsoleGlobalFilter; updateGroup: Group; updateGroupRule: GroupMembershipRule; updateGroupSetting: GroupSetting; updateGroupTemplate: GroupTemplate; /** Update an existing ad campaign */ updateHeadshotmarketingAdCampaign: HeadshotmarketingAdCampaign; /** Update an existing ad creative */ updateHeadshotmarketingAdCreative: HeadshotmarketingAdCreative; /** Update an existing audience */ updateHeadshotmarketingAudience: HeadshotmarketingAudience; /** Update a workflow definition. Changing steps bumps its version. */ updateHeadshotmarketingAutomationWorkflow: HeadshotmarketingAutomationWorkflow; /** Update an existing campaign */ updateHeadshotmarketingCampaign: HeadshotmarketingCampaign; /** Update an existing campaign template */ updateHeadshotmarketingCampaignTemplate: HeadshotmarketingCampaignTemplate; /** Update an existing contact */ updateHeadshotmarketingContact: HeadshotmarketingContact; /** Update an existing deal */ updateHeadshotmarketingDeal: HeadshotmarketingDeal; /** Update an influencer profile */ updateHeadshotmarketingInfluencer: HeadshotmarketingInfluencer; /** Update an influencer campaign */ updateHeadshotmarketingInfluencerCampaign: HeadshotmarketingInfluencerCampaign; /** Update an influencer relationship */ updateHeadshotmarketingInfluencerRelationship: HeadshotmarketingInfluencerRelationship; /** Update the status of an influencer relationship */ updateHeadshotmarketingInfluencerRelationshipStatus: HeadshotmarketingInfluencerRelationship; /** Update an existing lead */ updateHeadshotmarketingLead: HeadshotmarketingLead; /** Update an existing pipeline */ updateHeadshotmarketingPipeline: HeadshotmarketingPipeline; /** Update an existing pipeline stage */ updateHeadshotmarketingPipelineStage: HeadshotmarketingPipelineStage; /** Update a social media account */ updateHeadshotmarketingSocialAccount: HeadshotmarketingSocialAccount; /** * Community management: mark a mention triaged/responded/ignored, optionally * assigning it to a team member. */ updateHeadshotmarketingSocialMentionStatus: HeadshotmarketingSocialMention; /** Update an existing social media post */ updateHeadshotmarketingSocialPost: HeadshotmarketingSocialPost; updateHealthyBowlAccountingSyncSettings: HealthyBowlAccountingIntegrationsPayload; updateHealthyBowlAdvisoryTaskStatus: HealthyBowlAdvisoryTask; updateHealthyBowlAnimal: Animal; /** Update an animal's deep-record fields (EID, BCS, group, dam/sire, grazing/rotation). */ updateHealthyBowlAnimalDepth: HealthyBowlAnimalDepthRecord; updateHealthyBowlAnimalGroup: HealthyBowlAnimalGroup; /** Update an auction; also handles opening (status: live) and cancelling (status: cancelled). */ updateHealthyBowlAuction: Auction; updateHealthyBowlAudit: Audit; updateHealthyBowlBankAccount: HealthyBowlBankAccount; updateHealthyBowlBed: Bed; updateHealthyBowlBreedingRecord: BreedingRecord; updateHealthyBowlBudget: HealthyBowlBudget; updateHealthyBowlCertification: Certification; updateHealthyBowlCertificationChecklistItem: CertificationDetail; updateHealthyBowlComplianceDocument: ComplianceDocument; updateHealthyBowlCompostBatch: CompostBatch; updateHealthyBowlConsultationStatus: Consultation; updateHealthyBowlContact: HealthyBowlContact; updateHealthyBowlCostCenter: HealthyBowlCostCenter; updateHealthyBowlCrew: HealthyBowlCrew; updateHealthyBowlCrop: Crop; updateHealthyBowlCsaDelivery: CsaDelivery; updateHealthyBowlCsaMembership: CsaMembership; updateHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation; updateHealthyBowlCsaPlan: CsaPlan; updateHealthyBowlDeliveryStop: DeliveryStop; /** Update a rule; also handles pause/resume (enables/disables the FluidGrids cron). */ updateHealthyBowlDiseaseWarningRule: DiseaseWarningRule; updateHealthyBowlExpert: Expert; updateHealthyBowlFarm: Farm; updateHealthyBowlFarmEvent: FarmEvent; updateHealthyBowlFeedRecord: FeedRecord; updateHealthyBowlField: Field; updateHealthyBowlFieldSensorThresholds: Array<FieldSensorThreshold>; updateHealthyBowlGardenCareTask: GardenCareTask; updateHealthyBowlGardenInput: GardenInput; updateHealthyBowlGardenPlanting: GardenPlanting; updateHealthyBowlGovernmentScheme: GovernmentScheme; updateHealthyBowlGrowSpace: GrowSpace; updateHealthyBowlHarvestRecord: HarvestRecord; updateHealthyBowlHealthRecord: HealthRecord; updateHealthyBowlIcsGroup: IcsGroup; updateHealthyBowlIcsGrower: IcsGrower; updateHealthyBowlInputPlan: HealthyBowlInputPlan; updateHealthyBowlInputPlanItem: HealthyBowlInputPlan; updateHealthyBowlInsuranceClaim: HealthyBowlInsuranceClaim; updateHealthyBowlInsurancePolicy: HealthyBowlInsurancePolicy; updateHealthyBowlInvoice: HealthyBowlInvoice; /** Update an automation rule; also handles pause/resume (enables/disables the FluidGrids cron). */ updateHealthyBowlIrrigationAutomation: IrrigationAutomation; /** Update a schedule; also handles pause/resume via the status field. */ updateHealthyBowlIrrigationSchedule: IrrigationSchedule; updateHealthyBowlLabourEntry: HealthyBowlLabourEntry; updateHealthyBowlLedgerAccount: HealthyBowlLedgerAccount; updateHealthyBowlLoanFacilitation: HealthyBowlLoanFacilitation; updateHealthyBowlMapFeature: MapFeature; updateHealthyBowlMarketplaceProduct: MarketplaceProduct; updateHealthyBowlMedicationLibraryItem: MedicationLibraryItem; updateHealthyBowlMedicationTreatment: MedicationTreatment; updateHealthyBowlMentor: Mentor; updateHealthyBowlNurseryBatch: NurseryBatch; updateHealthyBowlOrder: Order; /** * global-billing's payment-completed callback — MATCHES global-billing's fixed callback contract * (src/utils/graphql-callback.ts): flat args + a { success message } selection. Billing invokes this * after its signature-verified webhook marks the Payment SUCCEEDED. Billing echoes `orderId` as the * BillingOrder id, which for HB is the order's billingOrderId ('hb-order-<uuid>'), so we resolve the * order by billingOrderId. * * Anonymous (@rbac public: true — billing's pod holds no user token) but carries NO authority: the * callback's claimed `status`/`paymentId` are IGNORED. The order is settled by re-reading the * authoritative Payment from billing (the same check the sync path runs), so a caller cannot force PAID. */ updateHealthyBowlOrderPaymentStatus: HealthyBowlOrderPaymentCallbackResult; updateHealthyBowlPestIssue: PestIssue; updateHealthyBowlPlantCatalogEntry: PlantCatalogEntry; updateHealthyBowlPlantingActivity: PlantingActivity; updateHealthyBowlPlantingPlan: PlantingPlan; updateHealthyBowlPriceAlertRule: PriceAlertRule; updateHealthyBowlProduct: HealthyBowlProduct; updateHealthyBowlProductionRecord: ProductionRecord; updateHealthyBowlRecipe: Recipe; /** Update the workspace satellite ingestion settings. */ updateHealthyBowlSatelliteSettings: HbSatelliteSettings; updateHealthyBowlSchemeApplicationStatus: SchemeApplication; updateHealthyBowlSeedLot: SeedLot; updateHealthyBowlSensorProbe: SensorProbe; updateHealthyBowlSoilTest: SoilTest; updateHealthyBowlStorageLocation: HealthyBowlStorageLocation; updateHealthyBowlStorageLot: HealthyBowlStorageLot; updateHealthyBowlSubstanceRule: ComplianceSubstanceRule; updateHealthyBowlSupplier: Supplier; updateHealthyBowlTerraceGarden: TerraceGarden; updateHealthyBowlTraceBatch: TraceBatch; updateHealthyBowlTracePortalSettings: HealthyBowlTracePortalSettings; updateHealthyBowlTransaction: HealthyBowlTransaction; updateHealthyBowlTreatment: Treatment; updateHealthyBowlVaccination: Vaccination; updateHealthyBowlWholesaleOrder: WholesaleOrder; updateHealthyBowlWorker: HealthyBowlWorker; updateHousingvistaAmcContract: HousingVistaAmcContract; updateHousingvistaAreaInsight: HousingVistaAreaInsight; updateHousingvistaAsset: HousingVistaAsset; updateHousingvistaExpense: HousingVistaExpense; updateHousingvistaHomeLoanOffer: HousingVistaHomeLoanOffer; updateHousingvistaInvestment: HousingVistaInvestment; updateHousingvistaLegalService: HousingVistaLegalService; updateHousingvistaMaintenanceRequest: HousingVistaMaintenanceRequest; updateHousingvistaMarketTrend: HousingVistaMarketTrend; updateHousingvistaMarketplaceService: HousingVistaMarketplaceService; updateHousingvistaProperty: HousingVistaProperty; updateHousingvistaPropertyReraStatus: HousingVistaProperty; updateHousingvistaRentalUnit: HousingVistaRentalUnit; updateHousingvistaTransaction: HousingVistaTransaction; updateHousingvistaVerificationItem: HousingVistaVerificationItem; updateHousingvistaViewing: HousingVistaViewing; updateIncident: Incident; updateInstalledPackage: InstalledPackage; updateIntegration: MtwIntegration; updateInventoryItem: MtwInventoryItem; /** * Update an existing invitation. * Workspace scope is read from gateway context (x-workspace-id header). */ updateInvitation: Invitation; updateKnowledgeArticle: KnowledgeArticle; updateKnowledgeBase: KnowledgeBase; /** @deprecated use updateBotmanorLLMModel */ updateLLMModel: BotlitLlmModel; /** @deprecated use updateBotmanorLLMProvider */ updateLLMProvider: BotlitLlmProvider; updateLifeGoal: TimeCampusLifeGoal; updateLifeValue: TimeCampusLifeValue; /** * Owner-filtered by the calling actor — throws NOT_FOUND if `id` doesn't * belong to the caller (never leaks another user's row via FORBIDDEN). */ updateLocationEntry: LocationEntry; updateLogStreamDestination: LogStreamDestinationResponse; updateMCPConnection: McpConnection; updateMCPTool: McpTool; updateMaintenanceContract: MaintenanceContract; updateMaintenancePlan: MaintenancePlan; updateMaintenanceRecord: MaintenanceRecord; updateMeeting: MeetingMeta; updateMemberRole: GroupMembership; /** Update permissions/scopes/label on an agent → agent mesh edge. */ updateMeshLinkPermissions: AgentMeshLink; /** Update existing metadata */ updateMetadata: FileMetadata; updateMetric: Metric; /** Switch customer notifications on or off and choose channels and events. */ updateMtwCustomerNotificationSettings: MtwCustomerNotificationSettings; /** Save the workspace's MoveTheWheels operational defaults. Every field is validated. */ updateMtwModuleSettings: MtwModuleSettings; updateMtwReport: MtwReport; /** * Set any of title / pinned / archived to an absolute value, so a replay is idempotent. At least one is required. * pinned:true together with archived:true is refused (BAD_USER_INPUT). archived:true also unpins; pinned:true on an * archived conversation also unarchives it (the later action wins). Bumps my revision (the change feed carries it); * never changes updatedAt. NOT_FOUND when this scope never had the id. */ updateMyAssistantConversation: UpdateMyAssistantConversationPayload; /** * Transition a booking's status (REQUESTED -> CONFIRMED -> COMPLETED, or * -> CANCELLED from either open state). Self-scoped (Type B) — the caller * must be either the booking's provider or its client; which transitions are * legal depends on which role the caller plays and the booking's current * status (see MarketplaceService.transitionBooking for the exact state * machine). On a transition to COMPLETED the linked escrow record's release * condition is evaluated and, if ON_BOOKING_COMPLETION, the record moves to * RELEASED as a bookkeeping entry only (still no real fund movement). On a * transition to CANCELLED the linked escrow record moves to CANCELLED. */ updateMyBookingStatus: CrewBooking; /** Advance the caller's own work order: EN_ROUTE, ON_SITE or COMPLETED (Type B self). */ updateMyCrewDispatchStatus: CrewDispatch; updateMyLifeProfile: TimeCampusLifeProfile; /** Update one of the calling user's custom views (rename, items, home path). */ updateMyNavView: NavCustomView; updateMyRecommendationPreferences: TimeCampusRecommendationPreference; /** * Update your OWN listing. Self-scoped (Type B): NOT_FOUND if the caller does * not own the listing (or it does not exist), never FORBIDDEN. */ updateMyServiceListing: CrewServiceListing; /** * Change the caller's own idle detection settings (BOFF-4210). Self-scoped: * takes no user argument. */ updateMyTimeCampusIdleDetectionSettings: TimeCampusIdleDetectionSettings; updateNodeEndpoint: NodeEndpointConfig; /** Update an existing note */ updateNote: VibecontrolsNote; /** * Update user notification preferences. * Merges provided fields with existing values. */ updateNotificationPreferences: NotificationPreferences; updateNotificationSettings: ConversationMembership; updateParser: Parser; updateParticipantRole: ConversationMembership; updateParticipantStatus: MeetingParticipant; updatePipeline: Pipeline; updatePolicy: Policy; /** Update an OPA policy reference */ updatePolicyReference: PolicyReference; updatePomodoroGoal: PomodoroGoal; updatePomodoroSettings: PomodoroSettings; /** * Update user UI preferences. * Merges provided fields with existing values. */ updatePreferences: UserPreferences; updatePresence: Presence; /** * Update user profile settings. * Merges provided fields with existing values. */ updateProfile: UserProfile; /** Update an existing project */ updateProject: Project; updatePromptConfig: PromptConfig; updatePromptTemplate: PromptTemplate; updateProviderPlugin: IntegrationProvider; /** Update RBAC configuration for a scope */ updateRbacConfig: RbacConfig; updateReport: Report; updateReportSchedule: ReportSchedule; updateRepositorySecurityConfig: RepositorySecurityConfig; /** Update a registered resource */ updateResource: Resource; updateResourceBooking: CalendarResourceBooking; updateResourcePlan: ResourcePlan; updateRetrievalProfile: RetrievalProfile; /** Update a role */ updateRole: Role; updateRoute: MtwRoute; updateRuleSet: RuleSet; updateSandboxConfig: SandboxConfig; updateSandboxTemplate: SandboxTemplateConfig; updateSavedQuery: SavedQuery; updateScheduleTemplate: ScheduleTemplate; /** Update a scheduled comment */ updateScheduledComment: ScheduledComment; updateScheduledJob: ScheduledJob; updateScorecardShareRole: ShareGrant; updateSecret: Secret; /** Change the role of an account share. */ updateSecretShareRole: SecretShare; updateSecurityFindingStatus: SecurityFinding; updateServiceOffering: MtwServiceOffering; updateServiceProvider: MtwServiceProvider; /** Update an existing session */ updateSession: Session; updateSessionGrantShareRole: ShareGrant; /** Update an existing session share */ updateSessionShare: SessionShare; /** * Update an existing file share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ updateShare: FileShare; updateShipment: MtwShipment; updateSiemDestination: SiemDestinationSecretResult; updateSkill: Skill; /** Update a product subscription */ updateSubscribedProduct: SubscribedProduct; updateSyncSettings: ExternalCalendarSync; updateTag: UniversalTag; updateTagAssignment: UniversalTagAssignment; updateTagRelation: UniversalTagRelation; updateTagRule: UniversalTagRule; updateTagTranslation: UniversalTagTranslation; updateTarget: Target; updateTargetShareRole: ShareGrant; updateTask: Task; /** Change a queue's description, rate limit or worker-unavailable timeout (needs fluidgrids.self-hosted-workers). */ updateTaskQueue: TaskQueue; updateTaskStatus: Task; /** Update a template */ updateTemplate: BigConsoleDashboardTemplate; updateTemplateShareRole: ShareGrant; /** Rename, pause/resume, or change the privacy, retention or sync settings of a channel. */ updateTimeCampusCaptureChannel: TimeCampusCaptureChannel; /** Save the caller's focus preferences (partial update; unspecified fields keep their value). */ updateTimeCampusFocusPreferences: TimeCampusFocusPreferences; /** * Moves an invoice forward through DRAFT -> SENT -> PAID. Backward * transitions are rejected. */ updateTimeCampusInvoiceStatus: TimeCampusInvoice; /** Self-scoped: save the caller's widget layout (ordered widget keys). */ updateTimeCampusMyWidgetLayout: TimeCampusWidgetLayout; updateTimeCampusProject: TimeCampusProject; /** Replace the manifest of a DRAFT or REJECTED version (a REJECTED one returns to DRAFT). */ updateTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet; /** Self-scoped: change one of the caller's triggers. */ updateTimeCampusTimeTrigger: TimeCampusTimeTrigger; updateTimeEntry: TimeEntry; /** Update an existing tunnel (metadata, target host/port, basic auth, etc.). */ updateTunnel: Tunnel; updateTunnelShareRole: ShareGrant; updateVault: Vault; updateVaultIntegration: VaultIntegration; updateVaultMemberRole: VaultMember; updateVaultSecurityIncident: VaultSecurityIncident; updateVaultSyncConfig: VaultSyncConfig; updateVehicle: MtwVehicle; updateVehicleLocation: MtwVehicle; updateVehicleStatus: MtwVehicle; /** Update an existing vibe */ updateVibe: Vibe; updateVibeCalendarTask: VibeCalendarTask; updateVibeDeck: VibeDeck; updateVibeDeckButton: VibeDeckButton; updateVibeDeckGrantShareRole: ShareGrant; /** Update a share link's settings */ updateVibeDeckShareLink: VibeDeckShareLink; /** Update Git information */ updateVibeGit: Vibe; updateVibeShareRole: ShareGrant; /** Update vibe status */ updateVibeStatus: Vibe; /** Update an existing agent */ updateVibecontrolsAgent: VibecontrolsAgent; /** Update profile metadata (display name, port, status, tunnelUrl). */ updateVibecontrolsAgentProfile: VibecontrolsAgentProfile; /** Update an existing catalog */ updateVibecontrolsCatalog: VibecontrolsCatalog; /** Update an existing component */ updateVibecontrolsComponent: VibecontrolsComponent; updateVibecontrolsNoteShareRole: ShareGrant; /** Update an existing scorecard metric */ updateVibecontrolsScorecardMetric: VibecontrolsScorecardMetric; /** Update an existing template */ updateVibecontrolsTemplate: VibecontrolsTemplate; updateVocabulary: TagVocabulary; updateWarehouse: MtwWarehouse; updateWarehouseLocation: MtwWarehouseLocation; /** Update an existing webhook */ updateWebhook: Webhook; updateWidget: AnalyticsWidget; /** Update a widget action */ updateWidgetAction: BigConsoleWidgetAction; /** Update a widget drill-down configuration */ updateWidgetDrilldown: BigConsoleWidgetDrilldown; /** Update a widget in a generated spec. */ updateWidgetInGeneratedSpec: PromptGeneration; /** Update widget renderer and template */ updateWidgetRenderer: BigConsoleWidget; updateWorkOrder: WorkOrder; /** * Owner-filtered by the calling actor — throws NOT_FOUND if `id` doesn't * belong to the caller (never leaks another user's row via FORBIDDEN). */ updateWorkPattern: WorkPattern; /** Update an existing FluidGrids Workflow */ updateWorkflow: FluidGridsWorkflow; updateWorkflowDefinition: WorkflowDefinition; /** Change the workspace promotion policy. Needs publish rights. */ updateWorkflowEnvironmentPolicy: WorkflowEnvironmentPolicy; /** * Change the workspace's run-data settings. Lowering the retention deletes older runs of every * workflow that does not override it, so this needs permission to delete workflows. */ updateWorkflowExecutionSettings: WorkflowExecutionSettings; /** Change the notification preferences of a workflow. */ updateWorkflowNotificationSettings: WorkflowNotificationSettings; /** * Send an update to a durable-function run and wait (at most timeoutMs, capped at 15 s) until it * reaches `waitFor`. The updateId is its idempotency key. A rejected update leaves no history. Needs * fluidgrids.run-control and a bundle built with the Phase C SDK. */ updateWorkflowRun: WorkflowUpdateResult; /** Update an existing scheduled job */ updateWorkflowScheduledJob: ScheduledJobResponse; /** Replace a test case. */ updateWorkflowTestCase: WorkflowTestCase; updateWorkflowVariable: WorkflowVariableResponse; /** Enroll explicitly or change managed AI approval. Existing enrollment remains enforced when new enrollment is unavailable. Ordinary workflow edit/publish rights do not grant this permission. */ updateWorkflowWorkspaceAiPolicy: WorkflowWorkspaceAiPolicy; /** Update an existing workspace */ updateWorkspace: Workspace; /** * Update workspace-level defaults. * Requires admin permission. Merges provided fields with existing values. */ updateWorkspaceDefaults: WorkspaceDefaults; /** Update an installed workspace app */ updateWorkspaceInstalledApp: WorkspaceInstalledApp; /** * Update the roles of a workspace member. * Workspace ID is read from gateway context (x-workspace-id header). */ updateWorkspaceMemberRoles: WorkspaceMember; /** Update an existing workspace resource */ updateWorkspaceResource: WorkspaceResource; /** * Legacy single-call registration. It only finalizes an upload session that the * calling actor opened with initiateUpload in the active workspace for exactly * this s3Key; the server verifies the stored object and resolves its bucket. Any * other key is NOT_FOUND. New callers should use initiateUpload + completeUpload. * @deprecated Use initiateUpload and completeUpload; uploadFile only finalizes the caller's own upload session. */ uploadFile: UploadFileResponse; /** Create or update an action policy. Needs workflow publish rights. */ upsertActionPolicy: ActionPolicy; upsertConfigurationItem: ConfigurationItem; /** Create or update the translation for a (dashboard, locale) pair. */ upsertDashboardTranslation: BigConsoleDashboardTranslation; upsertDataSinkAlert: DataSink; /** * Compatibility mutation for existing clients. Atomically creates or updates * the canonical identity in wspace-ecoimpacthub-svc. It is intentionally * unmetered because the gateway cannot distinguish its create and update paths; * new clients must use createEsgMetric/updateEsgMetric so only allocations are * charged. */ upsertEsgMetric: EcoMetric; /** Create or replace an agent's escalation configuration. */ upsertHandoffConfig: BotmanorHandoffConfig; /** Create or update an EUDR due-diligence statement for a plot. Pulls geometry/area from the Field boundary when omitted. */ upsertHealthyBowlEudrStatement: HbEudrStatement; /** Add or edit a MANUAL activity line (diesel, electricity, fertilizer, packaging). Recomputes totals. */ upsertHealthyBowlGhgActivity: HbGhgActivity; upsertHealthyBowlSoilCarbonEstimate: HbSoilCarbonEstimate; /** Create or update the workspace's weather & alert settings. */ upsertHealthyBowlWeatherAlertSettings: WeatherAlertSettings; upsertLicenseEntitlement: LicenseEntitlement; /** * Create or update one authentication method on a provider. Setting `isDefault` * clears the flag on the provider's other methods so exactly one default remains. */ upsertProviderAuthMethod: IntegrationProvider; upsertSecurityComplianceFramework: SecurityComplianceFramework; upsertSecurityGovernancePolicy: SecurityGovernancePolicy; upsertSoftwareAsset: SoftwareAsset; /** Create or update a scorecard for an entity */ upsertVibecontrolsScorecard: VibecontrolsScorecard; /** * Set or remove (a null value) search attributes of a run from outside its code. Writes the * attributes only: no history event. Needs fluidgrids.search-attributes. */ upsertWorkflowRunSearchAttributes: WorkflowRun; validateDocsBuildImage: VibecontrolsDocsBuildImage; /** BOFF-3953 — operator-only: marks a provider verified (a PENDING provider becomes ACTIVE). Idempotent. Requires ggnomad:manage. */ verifyGgnomadProvider: GgnomadProvider; /** Check the `_ggnomad-challenge` TXT record now and record the outcome. Domains are also re-checked in the background, so a removed TXT record moves the domain back to PENDING and stops serving it. */ verifyGgnomadStorefrontCustomDomain: GgnomadOperatorStorefront; /** Mark a LOCKED inventory VERIFIED (verifier action). */ verifyHealthyBowlGhgInventory: HbGhgInventory; verifyMtwInspectorQualification: MtwInspectorQualification; /** * Force an immediate verification attempt for a custom domain. Normally the * background worker polls every 15s; this lets the user retry on-demand. */ verifyTunnelDomain: TunnelDomain; /** Send heartbeat to mark agent as active */ vibecontrolsAgentHeartbeat: VibecontrolsAgent; /** BOFF-4386 — operator-only: voids an unpaid commission with a reason. */ voidGgnomadAffiliateCommission: GgnomadAffiliateCommission; voidHealthyBowlJournalEntry: HealthyBowlJournalEntry; /** Make a repayment and its journal VOID without deleting or changing any monetary amount. */ voidHealthyBowlLoanRepayment: HealthyBowlLoanRepayment; /** Any group-trip member (creator or added member) may vote. One vote per (item, actor) — re-voting updates the existing vote. */ voteGgnomadTripPlanItem: GgnomadGroupTripVote; votePoll: Poll; /** * Wake an agent whose tunnel has gone stale by SSHing back into its host and * restarting it. The backend finds an online source agent that deployed it * (via the mesh link) — that source remembers the SSH target — and relays the * restart; the woken agent comes up on a fresh tunnel and re-registers itself. * Errors gracefully (ok:false) when no SSH-capable source agent is available. */ wakeMeshAgent: AgentProxyResponse; /** Withdraw one of your own submissions while it waits for review. */ withdrawConnectorSubmission: ConnectorSubmission; withdrawHousingvistaOffer: HousingVistaOffer; withdrawRequest: TimeApprovalRequest; /** Take your marketplace submission back out of certification. */ withdrawTimeCampusAppletFromMarketplace: TimeCampusMarketplaceListing; /** Take a version back out of review, to DRAFT. */ withdrawTimeCampusThirdPartyAppletVersion: TimeCampusThirdPartyApplet; /** * Append a batch of execution log lines for a run. * * Called by the workers on a buffered flush (a handful of lines at a time), so * it must stay cheap and must never be the reason a run fails: over-cap lines * are reported as `dropped`, not rejected. * INTERNAL: Requires actorType SERVICE */ workerAppendRunLogs: WorkerAppendRunLogsResponse; /** * Withdraw a "Send and wait for response" ask whose message never went out — the * send or the park failed after the ask was recorded (BOFF-7651). Only a PENDING * ask is touched, so a cancel can never undo an answer. * INTERNAL: Requires actorType SERVICE */ workerCancelHumanResponseRequest: WorkerCancelHumanResponseRequestResponse; /** * Complete an activity attempt. False when the attempt is no longer the current one. * INTERNAL: Requires actorType SERVICE */ workerCompleteActivity: Scalars['Boolean']['output']; /** * Answer a query task this session took. False when it is unknown, expired or another session's. * Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerCompleteQueryTask: Scalars['Boolean']['output']; /** * Complete a workflow run (calculates stats and updates status) * INTERNAL: Requires actorType SERVICE */ workerCompleteRun: WorkerCompleteRunResponse; /** * Complete a workflow task with its commands. Checked against the lease (taskId, STARTED and * expectedHistoryLength); a stale completion is refused and its commands are discarded. * INTERNAL: Requires actorType SERVICE */ workerCompleteWorkflowTask: CompleteWorkflowTaskResult; /** * Start the child run for a Sub-workflow node (BOFF-7648). * * Run creation stays on this side of the wire: the worker has no database, and * the parent/child link, the recursion guards and the workspace scope must be * enforced where the data is. The worker then parks its node in WAITING and the * child's own completion resumes it. * * `success: false` with `errorCode` is a USER error (unknown workflow, recursion, * empty target) the worker turns into a failed node with a readable message — * not a transport failure to retry. * INTERNAL: Requires actorType SERVICE */ workerCreateChildRun: WorkerCreateChildRunResponse; /** * Record a "Send and wait for response" ask (BOFF-7651) and mint its link. * * Called by the executor just before it sends the message: the message has to * carry the link, and only this service may mint one. The plaintext token is * returned in the URLs once and stored only as a digest. A retry of the same * node supersedes the earlier ask, so its old links stop working. * * `success: false` with `errorCode` is a USER error (bad form fields, unknown * response type) the worker turns into a failed node with a readable message. * INTERNAL: Requires actorType SERVICE */ workerCreateHumanResponseRequest: WorkerHumanResponseRequestResponse; /** * Create a new node state (for pending nodes) * INTERNAL: Requires actorType SERVICE */ workerCreateNodeState: WorkerNodeStateResponse; /** * Record a batch of AI-agent tool calls parked for human approval (BOFF-7521). * Called by the executor right after it parks the run/node in WAITING for an * opt-in AI Agent node — creates the approval-inbox row the user decides on. * INTERNAL: Requires actorType SERVICE */ workerCreateToolApprovalRequest: WorkerToolApprovalRequestResponse; /** * WORKER-INTERNAL: Data Table node's delete operation — by explicit row ids * or by filter. */ workerDataTableDeleteRows: WorkerDataTableDeleteResponse; /** WORKER-INTERNAL: Data Table node's insert operation. */ workerDataTableInsertRow: WorkerDataTableRowResponse; /** WORKER-INTERNAL: Data Table node's update operation. */ workerDataTableUpdateRow: WorkerDataTableRowResponse; /** * WORKER-INTERNAL: Data Table node's upsert operation — matches an existing * row by `matchColumns`, updates it if found, otherwise inserts. */ workerDataTableUpsertRow: WorkerDataTableRowResponse; /** * WORKER-INTERNAL: cross-run dedupe check for the Dedupe node's "cross-run" * mode — atomically checks which of `hashes` are new and records them as * seen in the same call. */ workerDedupeCheckAndMark: WorkerDedupeCheckAndMarkResponse; /** * Ask the workspace's action policies about one outbound action before it runs (BOFF-9963). * * Called by the executor before every node that uses a connection or makes an outbound call. * ALLOW and LOG let the node run; DENY fails it with POLICY_DENIED; REQUIRE_APPROVAL returns * the policy approval ask the node must park on. A resumed node passes that ask's id back as * `approvalRequestId`: the approval lets the action through once, and only when its payload * still hashes to the approved value. A decision is stored whenever a policy matched. * INTERNAL: Requires actorType SERVICE */ workerEvaluateActionPolicy: WorkerActionPolicyDecision; /** * Fail an activity attempt. The service decides from the activity's retry policy whether to retry. * INTERNAL: Requires actorType SERVICE */ workerFailActivity: Scalars['Boolean']['output']; /** * Fail a workflow-task attempt. A task failure never fails the run: the attempt is retried with a * capped backoff. * INTERNAL: Requires actorType SERVICE */ workerFailWorkflowTask: CompleteWorkflowTaskResult; /** * Get or create node state (atomic operation) * INTERNAL: Requires actorType SERVICE */ workerGetOrCreateNodeState: WorkerNodeStateResponse; /** * Record that a PENDING run is queued behind its workflow's parallel-run limit * (BOFF-7647) or its workspace's concurrent-run cap (BOFF-9949, `scope: WORKSPACE`). * Stored on the run as `context.concurrency`, so the run page can say * why it has not started and run recovery leaves it alone while the worker keeps * checking it. A no-op for a run that is no longer PENDING. * INTERNAL: Requires actorType SERVICE */ workerMarkRunQueued: WorkerMarkRunQueuedResponse; /** * Notify the responders of an in-app "Send and wait for response" ask (BOFF-7651). * * Called by the executor right after it parks the asking node, so a notification * never arrives before there is a wait to answer. The worker passes back the link * it got from workerCreateHumanResponseRequest — the service keeps only the token * digest — and the link must belong to this ask. Each ask is notified once; * delivery runs in the background and never fails the node. * INTERNAL: Requires actorType SERVICE */ workerNotifyHumanResponders: WorkerNotifyHumanRespondersResponse; /** * Park the attempt in flight for asynchronous completion (Phase C): a send-and-wait waiting for a * person, a tool approval, a policy approval, or a user completeAsync() (external, which gets a task * token). Refused with FEATURE_DISABLED while fluidgrids.run-control is off. * INTERNAL: Requires actorType SERVICE */ workerParkActivityAsync: WorkerActivityParkResult; /** * Take query tasks of self-hosted `worker`-determinism runs for this session's builds (CX8); never * waits. Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerPollQueryTasks: Array<WorkerQueryTask>; /** * Long-poll a self-hosted queue for one worker session: workflow tasks of its builds and activity * tasks, at most its free slots of each, in dispatch order (priority, fairness, rate limit). Waits * up to waitMs (at most 5000) on the queue's doorbell when there is none. Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerPollTasks: WorkerPollTasksResult; /** * Record an activity heartbeat (never written to history). The acknowledgement carries a pending * cancellation. * INTERNAL: Requires actorType SERVICE */ workerRecordActivityHeartbeat: WorkflowActivityHeartbeatAck; /** * Record the steps of one AI Agent node execution (BOFF-9936): its model turns, tool calls and * results, final answer or error. Publishes them on agentStepUpdated. The worker sends one call per * loop iteration and never fails a run when this call fails: the node output keeps the steps too. * INTERNAL: Requires actorType SERVICE */ workerRecordAgentSteps: WorkerRecordAgentStepsResponse; /** * Record the model calls one node execution made (BOFF-9935). * Stores them on the run and records each one in the fleet AI ledger (wspace-prompts-svc) as this * service acting for the person who started the run, with the run and node as the subject. The * worker sends this fire-and-forget: a ledger problem never fails a run. * INTERNAL: Requires actorType SERVICE */ workerRecordRunAiInvocations: WorkerRecordRunAiInvocationsResponse; /** * BOFF-9943: record that a run went over a limit of its AI budget, once per limit and mode. A * HARD limit's run is then failed with BUDGET_EXCEEDED by the worker as usual. * INTERNAL: Requires actorType SERVICE */ workerRecordRunBudgetExceeded: WorkerRecordRunBudgetExceededResponse; /** * Renew a workflow-task lease while local activities run (Phase B parity). The lease never reaches * past the task's start plus its local-activity budget (localActivityBudgetMs) and a grace; a * heartbeat past that point is refused with STALE_TASK. Each local activity in localActivities is * granted (its result is accepted even if fluidgrids.durable-parity is turned off before the task * completes) while the flag is on; send them before running them. * INTERNAL: Requires actorType SERVICE */ workerRecordWorkflowTaskHeartbeat: WorkflowTaskHeartbeatAck; /** * Release the tasks a lost or closed worker session held (CWD11): its started activity attempts * fail with the retryable WorkerLost, its workflow tasks time out and are retried. Returns how * many were released. Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerReleaseWorkerTasks: Scalars['Int']['output']; /** * The credentials of one connection for a started user activity attempt of this session (H2): the * attempt must name it and the run's definition must declare it. Audited. Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerResolveActivityConnection: WorkerActivityConnection; /** * A step of the seeded failure triage or digest workflow (the internal:failure-triage node). * INTERNAL: Requires actorType SERVICE */ workerRunFailureTriage: WorkerRunFailureTriageResponse; /** * The step of the seeded continuous-optimisation workflow (the internal:optimisation node). * INTERNAL: Requires actorType SERVICE */ workerRunOptimisation: WorkerRunOptimisationResponse; /** * Send an internal:signal-run node's signal (Phase C). Refused with FEATURE_DISABLED while * fluidgrids.run-control is off for the workspace; deduplicated per node attempt. * INTERNAL: Requires actorType SERVICE */ workerSignalRun: WorkerSignalRunResult; /** * Lease an activity attempt. * INTERNAL: Requires actorType SERVICE */ workerStartActivity: WorkflowActivityLease; /** * BOFF-10385: move a node state to RUNNING with its attempt, resolved input, context and start * time, only while its run has not ended. One write where the worker used to read the run's * status and update the node twice. * INTERNAL: Requires actorType SERVICE */ workerStartNodeState: WorkerStartNodeStateResponse; /** * Lease a workflow-task attempt. A refusal (accepted false) means another worker has the task or it * is no longer pending; the job is acknowledged and dropped. * INTERNAL: Requires actorType SERVICE */ workerStartWorkflowTask: WorkflowTaskLease; /** * WORKER-INTERNAL: atomically persist the static-data writes made during one * run. Restricted to the `service` actor type AND re-validated against the * run's actual persisted `mode`/`status` — see `SyncWorkflowStaticDataInput` * and `StaticDataProvider.syncForRun`. A TEST-mode or not-yet-COMPLETED run * is rejected, never silently ignored, so a caller-side bug surfaces loudly * instead of leaking mock data into the persisted cursor. */ workerSyncWorkflowStaticData: WorkerStaticDataSyncResponse; /** * Update an existing node state * INTERNAL: Requires actorType SERVICE */ workerUpdateNodeState: WorkerNodeStateResponse; /** * Update workflow run status * INTERNAL: Requires actorType SERVICE */ workerUpdateRunStatus: WorkerRunStatusResponse; /** * Set or remove (a null value) search attributes of the run an internal:set-search-attributes node * (or a trigger card's expressions) runs in (Phase C, C-S4), with the values the worker evaluated. * The node state must belong to the run. Refused with FEATURE_DISABLED while * fluidgrids.search-attributes is off for the workspace. * INTERNAL: Requires actorType SERVICE */ workerUpsertRunSearchAttributes: Scalars['Boolean']['output']; /** Record that the calling actor accepts a legal document checkpoint. */ workspaceRecordLegalAcceptance: WorkspaceLegalAcceptance; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAbortUploadArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptFileShareArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptGroupInvitationArgs = { membershipId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptHandoffArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptHealthyBowlContractAssignmentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptHealthyBowlContractDeliveryArgs = { input: AcceptHealthyBowlContractDeliveryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptHealthyBowlCoopMembershipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptMtwReuseReservationArgs = { input: AcceptMtwReuseReservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptRecommendationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptShareArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptTimeCampusCaptureEventSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcceptWorkspaceInviteArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAccessShareArgs = { input: AccessShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeA2AMessageArgs = { messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeHealthyBowlComplianceFlagArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeHealthyBowlPriceAlertArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeHealthyBowlSensorAlertArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeHealthyBowlStressedZoneArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcknowledgeMtwTrackingAlertArgs = { alertType: MtwTrackingAlertType; shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcquireDurableWorkerSandboxArgs = { input: AcquireDurableWorkerSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcquireFileLockArgs = { input: AcquireLockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAcquireWorkflowEditLeaseArgs = { input: WorkflowEditLeaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationActivateHeadshotmarketingAutomationWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationActivateHealthyBowlFarmingContractArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationActivateResourcePlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationActivateScheduleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationActivateWorkflowDefinitionArgs = { force?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaAcceptResellerInvitationArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaArchiveAdapterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaArchivePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaAttachPortalDomainArgs = { customDomain: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCancelSyncRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCompleteDataSubjectRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCompleteSyncRunArgs = { id: Scalars['ID']['input']; input?: InputMaybe<AdaCompleteSyncRunInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCreateAdapterArgs = { input: AdaCreateAdapterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCreateConnectionArgs = { input: AdaCreateConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCreatePolicyArgs = { input: AdaCreatePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaCreateTopologyEdgeArgs = { input: AdaCreateTopologyEdgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaDisableConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaFailSyncRunArgs = { error: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaGenerateResellerInvitationArgs = { expiresInHours?: InputMaybe<Scalars['Int']['input']>; targetWorkspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaIngestCostArgs = { input: AdaIngestCostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRecordDriftArgs = { input: AdaRecordDriftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRecordLegalAcceptanceArgs = { input: AdaRecordLegalAcceptanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRecordViolationArgs = { input: AdaRecordViolationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRegisterResourceArgs = { input: AdaRegisterResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRejectDataSubjectRequestArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRemediateDriftArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRequestDataErasureArgs = { input: AdaRequestDataErasureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRequestDataExportArgs = { input?: InputMaybe<AdaRequestDataExportInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaResolveViolationArgs = { id: Scalars['ID']['input']; status: AdaViolationStatus; waiverReason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaRevokeResellerInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaSetConnectionStatusArgs = { id: Scalars['ID']['input']; status: AdaConnectionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaStartSyncRunArgs = { input: AdaStartSyncRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaUpdateAdapterArgs = { id: Scalars['ID']['input']; input: AdaUpdateAdapterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaUpdateConnectionArgs = { id: Scalars['ID']['input']; input: AdaUpdateConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaUpdatePolicyArgs = { id: Scalars['ID']['input']; input: AdaUpdatePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdaUpsertPartnerProfileArgs = { input: AdaUpsertPartnerProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddAttendeeArgs = { email?: InputMaybe<Scalars['String']['input']>; eventId: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddChildGroupArgs = { childGroupId: Scalars['ID']['input']; parentGroupId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddCollectionItemArgs = { input: AddCollectionItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddComponentToVibecontrolsCatalogArgs = { catalogId: Scalars['ID']['input']; componentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddEntityCommentReactionArgs = { input: AddReactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddGgnomadCartItemArgs = { input: AddGgnomadCartItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddGgnomadGroupTripMemberArgs = { groupTripId: Scalars['ID']['input']; input: AddGgnomadGroupTripMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddGgnomadTripPlanItemArgs = { input: AddGgnomadTripPlanItemInput; tripPlanId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddGroupMembersArgs = { groupId: Scalars['ID']['input']; members: Array<AddMemberInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddHealthyBowlAggregationLotContributionArgs = { input: AddHealthyBowlAggregationLotContributionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddHealthyBowlContractAggregationLotLinesArgs = { input: AddHealthyBowlContractAggregationLotLinesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddHealthyBowlInputPlanItemArgs = { input: AddHealthyBowlInputPlanItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddHealthyBowlInsuranceClaimEventArgs = { input: AddHealthyBowlInsuranceClaimEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddKnowledgeDocumentArgs = { input: AddKnowledgeDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddMeetingParticipantArgs = { input: AddMeetingParticipantInput; meetingId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddParticipantArgs = { input: AddParticipantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddProjectMemberArgs = { input: AddProjectMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddReactionArgs = { emoji: Scalars['String']['input']; messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddRecentSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddRecentVibeArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddShipmentLegArgs = { input: CreateShipmentLegInput; shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddTagToConversationArgs = { conversationId: Scalars['ID']['input']; tag: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddTimeCampusThirdPartyAppletVersionArgs = { appletId: Scalars['ID']['input']; manifest: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddTrackingEventArgs = { input: AddTrackingEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddVibeToVibecontrolsCatalogArgs = { catalogId: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddVibecontrolsAgentFromTunnelArgs = { input: AddAgentFromTunnelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddVibecontrolsScorecardMetricArgs = { input: AddScorecardMetricInput; scorecardId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddWidgetArgs = { dashboardId: Scalars['ID']['input']; input: CreateWidgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddWidgetToGeneratedSpecArgs = { generationId: Scalars['ID']['input']; pageIndex: Scalars['Int']['input']; widget: BigConsoleGeneratedWidgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAddWorkspaceMemberArgs = { input: AddWorkspaceMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdjustHealthyBowlProductStockArgs = { input: AdjustHealthyBowlProductStockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdjustInventoryStockArgs = { input: AdjustInventoryStockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdminRevokeVibeLlmContextTokenArgs = { reason?: InputMaybe<Scalars['String']['input']>; tokenId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdmitHookMoviesGuardianArgs = { createIfMissing: Scalars['Boolean']['input']; invitationId: Scalars['ID']['input']; userId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdoptAgentSessionArgs = { agentId: Scalars['ID']['input']; externalName: Scalars['String']['input']; name: Scalars['String']['input']; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAdvanceCourseKnowledgeImportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentAiMutateArgs = { agentId: Scalars['ID']['input']; body?: InputMaybe<Scalars['JSON']['input']>; method: Scalars['String']['input']; path: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentBackupRequestArgs = { action: Scalars['String']['input']; agentId: Scalars['ID']['input']; body?: InputMaybe<Scalars['JSON']['input']>; method?: InputMaybe<Scalars['String']['input']>; pathSuffix?: InputMaybe<Scalars['String']['input']>; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentCodeServerStartArgs = { agentId: Scalars['ID']['input']; name: Scalars['String']['input']; path?: InputMaybe<Scalars['String']['input']>; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentCodeServerStopArgs = { agentId: Scalars['ID']['input']; name: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentEditorOpenArgs = { agentId: Scalars['ID']['input']; command: Scalars['String']['input']; path?: InputMaybe<Scalars['String']['input']>; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentGitopsMutateArgs = { agentId: Scalars['ID']['input']; body?: InputMaybe<Scalars['JSON']['input']>; method: Scalars['String']['input']; pathTail: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentPluginInstallArgs = { agentId: Scalars['ID']['input']; pluginName: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; source: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentSecurityScanMutateArgs = { agentId: Scalars['ID']['input']; body?: InputMaybe<Scalars['JSON']['input']>; pathTail: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentSelfUpdateArgs = { agentId: Scalars['ID']['input']; allowIncompatible?: InputMaybe<Scalars['Boolean']['input']>; restart?: InputMaybe<Scalars['Boolean']['input']>; version?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAgentUpdateCheckNowArgs = { agentId: Scalars['ID']['input']; force?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAhArchiveWatchAlertArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAhRunScheduledWatchSweepArgs = { input?: InputMaybe<AhRunWatchSweepInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAppendHealthyBowlTraceEventArgs = { input: AppendTraceEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAppendSessionRecordingFramesArgs = { frames: Array<SessionRecordingFrameInput>; recordingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyForHealthyBowlPmfbyArgs = { input: ApplyHealthyBowlPmfbyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyHeadshotmarketingAdBudgetRecommendationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyHealthyBowlCertificationStandardArgs = { input: ApplyCertificationStandardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyHealthyBowlCompostBatchArgs = { input: ApplyCompostBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyTimeCampusWorkspaceTemplateArgs = { input?: InputMaybe<TimeCampusApplyTemplateInput>; key: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyVibecontrolsScorecardTemplateArgs = { ownerId: Scalars['ID']['input']; ownerType: ScorecardOwnerType; templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApplyWorkflowProposalArgs = { id: Scalars['ID']['input']; rerun?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveBotmanorAgentActivationArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveChangeRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveConnectorSubmissionArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveCrewPayrollRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveCrewShiftSwapArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveExpenseArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveGgnomadAffiliateCommissionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveGgnomadBookingApprovalArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveGgnomadDamageClaimArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveGgnomadListingArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveHealthyBowlLabourEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveHousingvistaVerificationItemArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveJoinRequestArgs = { membershipId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveMtwPickTaskArgs = { input: RecordMtwPickReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveRequestArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveResourceBookingArgs = { bookingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveTransactionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationApproveWorkflowPromotionArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveChangeRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveConversationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveDashboardRlsPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveDigitalTwinArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveDiscoveryJobArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveEsgMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveGgnomadListingArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveGroupArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveHealthyBowlCsaPickupLocationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveIoTDeviceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveMailboxThreadArgs = { connectionId: Scalars['ID']['input']; threadId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveMaintenanceRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveProblemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveProvenanceRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveScheduleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveTimeCampusProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveTimeCampusThirdPartyAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveVibeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveWorkOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArchiveWorkspaceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtActivateLicenseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddAssetArgs = { input: ArtCreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddFeedbackArgs = { input: ArtAddFeedbackInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddProductionMemberArgs = { input: ArtAddProductionMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddReferenceArgs = { input: ArtCreateReferenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddWorkToCollectionArgs = { collectionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAddWorkVersionArgs = { input: ArtCreateWorkVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtApplyApprovalWorkflowArgs = { reviewRoundId: Scalars['ID']['input']; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtApplyPosterFrameArgs = { input: ArtApplyPosterFrameInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtAppreciateWorkArgs = { workId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtArchiveDistributionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtArchiveMarketplaceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtArchivePortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtArchiveWorkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCancelMarketplaceOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCheckoutMarketplaceListingArgs = { listingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateApprovalWorkflowArgs = { input: ArtApprovalWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateCollectionArgs = { input: ArtCreateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateDistributionArgs = { input: ArtCreateDistributionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateLicenseArgs = { input: ArtCreateLicenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateMarketplaceListingArgs = { input: ArtCreateMarketplaceListingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreatePortfolioArgs = { input: ArtCreatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateProductionArgs = { input: ArtCreateProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateProductionTemplateArgs = { input: ArtProductionTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateReleaseArgs = { input: ArtCreateReleaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateReviewerGroupArgs = { input: ArtReviewerGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateWebhookSubscriptionArgs = { input: ArtCreateWebhookSubscriptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtCreateWorkArgs = { input: ArtCreateWorkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDeleteApprovalWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDeleteProductionTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDeleteReviewerGroupArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDeleteWebhookSubscriptionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDraftVersionNotesArgs = { versionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtDraftWorkSummaryArgs = { workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtFollowPortfolioArgs = { notify?: InputMaybe<Scalars['Boolean']['input']>; portfolioId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtGuestAddFeedbackArgs = { input: ArtGuestAddFeedbackInput; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtGuestRecordApprovalArgs = { input: ArtGuestRecordApprovalInput; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtImportAdobeElementArgs = { input: ArtImportAdobeElementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtInviteGuestReviewerArgs = { input: ArtInviteGuestReviewerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtInviteReviewersArgs = { reviewRoundId: Scalars['ID']['input']; reviewerIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtOpenReviewRoundArgs = { input: ArtOpenReviewRoundInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPauseMarketplaceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPrepareApprovalSignatureArgs = { input: ArtPrepareApprovalSignatureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPublishMarketplaceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPublishReleaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPublishVersionToAdobeArgs = { input: ArtPublishVersionToAdobeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtPublishWorkVersionArgs = { versionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRecordApprovalArgs = { input: ArtRecordApprovalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRecordPortfolioViewArgs = { portfolioId: Scalars['ID']['input']; source?: InputMaybe<ArtEngagementSource>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRecordStageDecisionArgs = { input: ArtRecordStageDecisionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRecordWorkEngagementArgs = { input: ArtRecordWorkEngagementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRecordWorkViewArgs = { workId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRegisterSignerKeyArgs = { input: ArtRegisterSignerKeyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRemovePortfolioCustomDomainArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRemoveProductionMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRemoveReferenceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRemoveWorkFromCollectionArgs = { collectionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRequestDistributionTakedownArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtResolveFeedbackArgs = { id: Scalars['ID']['input']; status: ArtFeedbackStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRestartApprovalWorkflowArgs = { reviewRoundId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRetryMarketplaceEarningArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRevokeGuestReviewerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRevokeSignerKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtRotateWebhookSecretArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSendStageReminderArgs = { stageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSetPortfolioCustomDomainArgs = { hostname: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSetProductionApprovalWorkflowArgs = { productionId: Scalars['ID']['input']; workflowId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSignApprovalArgs = { input: ArtSignApprovalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSubmitDistributionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSuggestPosterFramesArgs = { assetId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtSyncMarketplaceOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtTestWebhookSubscriptionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtTransitionProductionArgs = { id: Scalars['ID']['input']; status: ArtProductionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtTransitionReviewRoundArgs = { id: Scalars['ID']['input']; status: ArtReviewStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtTransitionWorkStatusArgs = { id: Scalars['ID']['input']; status: ArtWorkStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUnappreciateWorkArgs = { workId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUnfollowPortfolioArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUnpublishReleaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateApprovalWorkflowArgs = { id: Scalars['ID']['input']; input: ArtApprovalWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateCollectionArgs = { id: Scalars['ID']['input']; input: ArtUpdateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateDistributionArgs = { id: Scalars['ID']['input']; input: ArtUpdateDistributionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateLicenseArgs = { id: Scalars['ID']['input']; input: ArtUpdateLicenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateMarketplaceListingArgs = { id: Scalars['ID']['input']; input: ArtUpdateMarketplaceListingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdatePortfolioArgs = { id: Scalars['ID']['input']; input: ArtUpdatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateProductionArgs = { id: Scalars['ID']['input']; input: ArtUpdateProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateProductionTemplateArgs = { id: Scalars['ID']['input']; input: ArtProductionTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateReviewerGroupArgs = { id: Scalars['ID']['input']; input: ArtReviewerGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateWebhookSubscriptionArgs = { id: Scalars['ID']['input']; input: ArtUpdateWebhookSubscriptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateWorkArgs = { id: Scalars['ID']['input']; input: ArtUpdateWorkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtUpdateWorkVersionNotesArgs = { input: ArtUpdateWorkVersionNotesInput; versionId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationArtVerifyPortfolioCustomDomainArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignCrewDispatchArgs = { id: Scalars['ID']['input']; input: AssignCrewDispatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignDriverVehicleArgs = { id: Scalars['ID']['input']; vehicleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignGgnomadGroupTripItemArgs = { groupTripId: Scalars['ID']['input']; memberId?: InputMaybe<Scalars['ID']['input']>; tripPlanItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignHealthyBowlConsultantArgs = { input: AssignHealthyBowlConsultantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignHealthyBowlCsaPickupLocationArgs = { input: AssignHealthyBowlCsaPickupLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignRoleToActorArgs = { input: AssignRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignRoleToGroupArgs = { groupId: Scalars['ID']['input']; input: AssignGroupRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignShipmentServiceProviderArgs = { providerId?: InputMaybe<Scalars['ID']['input']>; shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignTagArgs = { input: AssignTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignWorkspaceQuotaArgs = { input: AssignWorkspaceQuotaInput; secret?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssignWorkspaceQuotasArgs = { inputs: Array<AssignWorkspaceQuotaInput>; secret?: InputMaybe<Scalars['String']['input']>; supersede?: InputMaybe<Scalars['Boolean']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAssistantSessionExecuteArgs = { input: AssistantSessionExecuteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthAddDrillArgs = { input: AthAddDrillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthAddMemberArgs = { input: AthAddMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthAdjustPlanFromPerformanceArgs = { athleteId: Scalars['ID']['input']; programId: Scalars['ID']['input']; requestedProvider?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthArchiveProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthArchiveRegistrationFormArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthArchiveTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthAssignProgramArgs = { id: Scalars['ID']['input']; input: AthAssignProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthBookSessionArgs = { input: AthBookSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCancelFixtureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCancelSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCheckInRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCloseRegistrationFormArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCompleteSessionArgs = { id: Scalars['ID']['input']; input?: InputMaybe<AthCompleteSessionInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthConfirmRegistrationCheckoutArgs = { checkoutId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthConfirmSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthConnectPaymentAccountArgs = { input: AthConnectPaymentAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCreateProgramArgs = { input: AthCreateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCreateRegistrationFormArgs = { input: AthCreateRegistrationFormInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthCreateTeamArgs = { input: AthCreateTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthExportAuditLogsArgs = { input: AthAuditExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthGenerateProgramArgs = { input: AthGenerateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthLogWorkoutArgs = { input: AthLogWorkoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthOverrideAgentRunArgs = { assessment: AthAiAssessment; note: Scalars['String']['input']; programId: Scalars['ID']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthPostponeFixtureArgs = { id: Scalars['ID']['input']; input: AthPostponeFixtureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthPublishRegistrationFormArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRecordFixtureResultArgs = { id: Scalars['ID']['input']; input: AthRecordResultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRecordMetricArgs = { input: AthRecordMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRecordRegistrationArgs = { input: AthRecordRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRecordRegistrationPaymentArgs = { input: AthRecordRegistrationPaymentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRefundRegistrationPaymentArgs = { id: Scalars['ID']['input']; input: AthRefundRegistrationPaymentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRemindAvailabilityArgs = { fixtureId?: InputMaybe<Scalars['ID']['input']>; sessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRemoveDrillArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthRemoveMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthReviewRegistrationSubmissionArgs = { id: Scalars['ID']['input']; input: AthReviewRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthScheduleFixtureArgs = { input: AthCreateFixtureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthSetAvailabilityArgs = { input: AthSetAvailabilityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthSetWorkspaceAiModelArgs = { model: Scalars['String']['input']; provider: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthSetWorkspaceAutoPilotArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthStartFixtureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthStartRegistrationCheckoutArgs = { input: AthStartRegistrationCheckoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthSubmitRegistrationArgs = { input: AthSubmitRegistrationInput; slug: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthTransitionProgramArgs = { id: Scalars['ID']['input']; status: AthProgramStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUnarchiveTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUndoRegistrationCheckInArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUpdateFixtureArgs = { id: Scalars['ID']['input']; input: AthUpdateFixtureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUpdateMemberArgs = { id: Scalars['ID']['input']; input: AthUpdateMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUpdateProgramArgs = { id: Scalars['ID']['input']; input: AthUpdateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUpdateRegistrationFormArgs = { id: Scalars['ID']['input']; input: AthUpdateRegistrationFormInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthUpdateTeamArgs = { id: Scalars['ID']['input']; input: AthUpdateTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthVoidRegistrationPaymentArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAthWithdrawMyRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachAgentToVibeArgs = { input: AttachAgentToVibeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachCrewCandidateSkillArgs = { input: AttachCrewCandidateSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachCrewSkillArgs = { input: AttachCrewSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachEmployeeDocumentArgs = { input: AttachCrewEmployeeDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachExistingFilesToCommentArgs = { input: AttachExistingFilesToCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachFilesToCommentArgs = { input: AttachFilesToCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachGgnomadProtectionPolicyArgs = { bookingId: Scalars['ID']['input']; policyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachHealthyBowlCertificateOfOriginFileArgs = { input: AttachCertificateOfOriginFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAttachTunnelDomainArgs = { domainId: Scalars['ID']['input']; makePrimary?: InputMaybe<Scalars['Boolean']['input']>; tunnelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthEraseSubjectArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthExportSubjectArgs = { subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateConnectionArgs = { input: AuthenticateConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateWithApiKeyArgs = { input: ApiKeyAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateWithBasicAuthArgs = { input: BasicAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateWithBearerTokenArgs = { input: BearerTokenAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateWithCustomConfigArgs = { input: CustomConfigAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAuthenticateWithServiceAccountArgs = { input: ServiceAccountAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationAutoMatchHealthyBowlStatementArgs = { input: AutoMatchHealthyBowlStatementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBackfillWorkflowScheduleArgs = { from: Scalars['DateTime']['input']; overlapPolicy?: InputMaybe<WorkflowScheduleOverlapPolicy>; to: Scalars['DateTime']['input']; triggerNodeId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBatchCreateDataSinksArgs = { inputs: Array<CreateDataSinkInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBatchDeleteDataSinksArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBatchUpdateWidgetPositionsArgs = { updates: Array<BigConsoleWidgetPositionUpdateInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBeginGgnomadOrderPaymentArgs = { orderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBeginKnowledgeBackendMigrationArgs = { knowledgeBaseId: Scalars['ID']['input']; targetDriver: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBookCalendarResourceArgs = { input: BookResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBookGgnomadSlotArgs = { input: CreateGgnomadBookingInput; slotId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBookHousingvistaViewingArgs = { input: HousingVistaBookViewingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBootstrapAssistantWebsiteSessionArgs = { installationId: Scalars['ID']['input']; origin: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAcceptVaultInvitationArgs = { acceptanceVersion: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAcknowledgeInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAcknowledgeVaultDownloadArgs = { leaseId: Scalars['ID']['input']; recipientId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveEntityArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveGoalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveHouseholdArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveInsurancePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchivePortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArchiveVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraArmVaultArgs = { consentVersion: Scalars['String']['input']; id: Scalars['ID']['input']; timing: BraVaultTimingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAssignAccountEntityArgs = { accountId: Scalars['ID']['input']; entityId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAssignPortfolioEntityArgs = { entityId?: InputMaybe<Scalars['ID']['input']>; portfolioId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraAuthorizeVaultDownloadArgs = { documentId: Scalars['ID']['input']; recipientId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraBindVaultFolderArgs = { folderId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCheckInVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCompletePlaidReauthenticationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraConnectMyCrmArgs = { connectionId: Scalars['ID']['input']; instanceOrigin?: InputMaybe<Scalars['String']['input']>; provider: BraCrmProvider; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateAccountArgs = { input: BraCreateAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateCashflowRuleArgs = { input: BraCreateCashflowRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateEntityArgs = { input: BraEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateGoalArgs = { input: BraCreateGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateHoldingArgs = { input: BraCreateHoldingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateHouseholdArgs = { input: BraCreateHouseholdInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateInsightArgs = { input: BraCreateInsightInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateInsurancePolicyArgs = { input: BraCreateInsurancePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateModelPortfolioArgs = { input: BraCreateModelPortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreatePlaidUpdateLinkTokenArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreatePortfolioArgs = { input: BraCreatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateRebalanceProposalArgs = { input: BraCreateRebalanceProposalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateScheduledReportArgs = { input: BraCreateScheduledReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateTaxLotArgs = { input: BraCreateTaxLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateTradeInstructionArgs = { input: BraCreateTradeInstructionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraCreateVaultArgs = { input: BraCreateVaultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDeleteBudgetArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDeleteCashflowRuleArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDeleteHoldingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDeleteTaxLotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDetectRecurringPatternsArgs = { input?: InputMaybe<BraRecurringDetectionInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDisarmVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDisconnectMyCrmArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDismissInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraDraftRebalanceProposalsFromDriftArgs = { input: BraDraftRebalanceProposalsFromDriftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraEnsureAdvisorProfileArgs = { input: BraEnsureAdvisorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraExchangePlaidPublicTokenArgs = { institutionId?: InputMaybe<Scalars['String']['input']>; institutionName?: InputMaybe<Scalars['String']['input']>; publicToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraGenerateReportNowArgs = { input: BraGenerateReportNowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraGenerateRiskInsightsArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraHarvestTaxLossInsightsArgs = { portfolioId: Scalars['ID']['input']; thresholds?: InputMaybe<BraTaxLossThresholdInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraInviteVaultRecipientArgs = { id: Scalars['ID']['input']; recipientId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraLinkGoalFundingArgs = { input: BraLinkGoalFundingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraPauseScheduledReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraPinVaultDocumentArgs = { id: Scalars['ID']['input']; input: BraPinVaultDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRecalcGoalProjectionArgs = { fundedAmount: Scalars['Float']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRecordTransactionArgs = { input: BraCreateTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRefreshHoldingPricesArgs = { accountId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRemoveVaultDocumentArgs = { documentId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraResolveInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraResumeScheduledReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraReviewTradeInstructionArgs = { id: Scalars['ID']['input']; status: BraTradeInstructionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRevokeAggregationLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraRevokeVaultRecipientArgs = { beneficiaryId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetAccountFeeArgs = { accountId: Scalars['ID']['input']; input: BraFeeMetadataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetAdvisorRoleArgs = { role: BraAdvisorRole; userId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetAdvisorStatusArgs = { status: BraAdvisorStatus; userId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetBudgetArgs = { input: BraSetBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetFxBaseCurrencyArgs = { baseCurrency: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSetHoldingExpenseRatioArgs = { holdingId: Scalars['ID']['input']; input: BraFeeMetadataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSyncAggregationLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraSyncMyCrmArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraTransitionRebalanceProposalArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; status: BraRebalanceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUnlinkGoalFundingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateAccountArgs = { id: Scalars['ID']['input']; input: BraUpdateAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateEntityArgs = { id: Scalars['ID']['input']; input: BraEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateGoalArgs = { id: Scalars['ID']['input']; input: BraUpdateGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateHoldingArgs = { id: Scalars['ID']['input']; input: BraUpdateHoldingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateHouseholdArgs = { id: Scalars['ID']['input']; input: BraUpdateHouseholdInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateInsurancePolicyArgs = { id: Scalars['ID']['input']; input: BraUpdateInsurancePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateModelPortfolioArgs = { id: Scalars['ID']['input']; input: BraUpdateModelPortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdatePortfolioArgs = { id: Scalars['ID']['input']; input: BraUpdatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpdateTaxLotArgs = { id: Scalars['ID']['input']; input: BraUpdateTaxLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBraUpsertMyAdvisorBrandingArgs = { input: BraUpsertAdvisorBrandingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBrainyrichVaultDocumentDownloadUrlArgs = { documentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAcknowledgeCourseKnowledgeChangeArgs = { id: Scalars['ID']['input']; revision: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotAskArgs = { history?: InputMaybe<Array<BuiAdminCopilotTurnInput>>; question: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotDismissActionArgs = { actionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotExecuteAutomationActionArgs = { actionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotExecuteEnrollActionArgs = { actionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotExecuteReminderActionArgs = { actionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdminCopilotExecuteReportActionArgs = { actionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdvanceCatalogSyncArgs = { expectedPage: Scalars['Int']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAdvanceCourseKnowledgeCaptureArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiApplyAssessmentDraftArgs = { input: BuiApplyAssessmentDraftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiApplyCourseOutlineArgs = { input: BuiApplyCourseOutlineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiArchiveAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiArchiveBadgeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiArchiveCourseArgs = { id: Scalars['ID']['input']; idempotencyKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiArchiveLearningObjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiArchiveSkillArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAttachInteractivePackageArgs = { input: BuiAttachInteractivePackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAttachScormPackageArgs = { input: BuiAttachScormPackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAutoScoreSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiAwardBadgeArgs = { input: BuiAwardBadgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCancelCatalogSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCaptureCourseKnowledgeSnapshotArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCommitMyScormRuntimeArgs = { input: BuiCommitScormRuntimeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCompleteLtiDeepLinkArgs = { assessmentId: Scalars['ID']['input']; ticketId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCompleteLtiLinkArgs = { ticketId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCompleteMyEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiConfigureAutomationArgs = { input: BuiConfigureAutomationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiConfigureCourseAssistantArgs = { agentId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiConfigureEarlyWarningArgs = { input: BuiConfigureEarlyWarningInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiConfigureXapiLrsArgs = { input: BuiConfigureXapiLrsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateAssessmentArgs = { input: BuiCreateAssessmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateBadgeArgs = { input: BuiCreateBadgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateCatalogConnectorArgs = { input: BuiCreateCatalogConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateCohortArgs = { input: BuiCreateCohortInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateCourseArgs = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; input: BuiCreateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateLessonArgs = { input: BuiCreateLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateModuleArgs = { input: BuiCreateModuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateQuestionArgs = { input: BuiCreateQuestionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiCreateSkillArgs = { input: BuiCreateSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDeactivateLtiPlatformArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDeferCourseKnowledgeChangeArgs = { id: Scalars['ID']['input']; revision: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDeleteCatalogConnectorArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDetachInteractivePackageArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDetachScormPackageArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiDisableCourseAssistantArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiEnrollArgs = { input: BuiEnrollInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiEnrollSelfArgs = { input: BuiSelfEnrollInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiExportCourseArgs = { courseId: Scalars['ID']['input']; format: BuiCourseExportFormat; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiExportCourseGradebookArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiExportCourseXapiStatementsArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiExportInteractiveActivityArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiFailCourseKnowledgeChangeArgs = { id: Scalars['ID']['input']; revision: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiGradeSubmissionArgs = { id: Scalars['ID']['input']; input: BuiGradeSubmissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiImportCourseArgs = { input: BuiImportCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiImportGradebookArgs = { input: BuiGradebookImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiImportRosterArgs = { input: BuiRosterImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiInsertLearningObjectArgs = { input: BuiInsertLearningObjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiIssueCertificateArgs = { input: BuiIssueCertificateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiPreviewInteractiveAttemptArgs = { lessonId: Scalars['ID']['input']; responses: Array<BuiInteractiveResponseInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiPublishAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiPublishCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiPublishLearningObjectVersionArgs = { input: BuiPublishLearningObjectVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRecordLessonProgressArgs = { input: BuiRecordLessonProgressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRecordMyLessonProgressArgs = { input: BuiRecordLessonProgressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRecordProctoringSignalsArgs = { id: Scalars['ID']['input']; signals: Array<BuiProctoringSignalInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRegisterLtiPlatformArgs = { input: BuiRegisterLtiPlatformInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiReportProctoringViolationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRestoreBadgeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRestoreLearningObjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRetryCourseAssistantDeliveryArgs = { clientTurnId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRetryFailedXapiStatementsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiReviewGradeSuggestionArgs = { id: Scalars['ID']['input']; outcome: BuiAiSuggestionOutcome; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiReviewNextLessonSuggestionArgs = { id: Scalars['ID']['input']; outcome: BuiAiSuggestionOutcome; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiReviewProctoringSessionArgs = { id: Scalars['ID']['input']; input: BuiReviewProctoringSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiReviewTutorAnswerArgs = { input: BuiReviewTutorAnswerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRevokeBadgeAwardArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRevokeCertificateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiRunAutomationNowArgs = { template: BuiAutomationTemplate; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSaveCourseArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSaveInteractiveActivityArgs = { input: BuiSaveInteractiveActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSaveToRepositoryArgs = { input: BuiSaveToRepositoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSetCatalogItemSkillsArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; skillIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSetCatalogPublicationArgs = { consentVersion?: InputMaybe<Scalars['String']['input']>; expectedMappedSkillIds?: InputMaybe<Array<Scalars['ID']['input']>>; expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; published: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSetEnrollmentDueDateArgs = { dueAt?: InputMaybe<Scalars['DateTime']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSetInteractivePassMarkArgs = { lessonId: Scalars['ID']['input']; passPct: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSetRubricCriteriaArgs = { criteria: Array<BuiRubricCriterionInput>; questionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiStartCatalogSyncArgs = { connectorId: Scalars['ID']['input']; requestId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiStartCourseAssistantTurnArgs = { input: BuiCourseAssistantTurnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiStartProctoringSessionArgs = { assessmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSubmitAssessmentArgs = { input: BuiSubmitAssessmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSubmitMyInteractiveAttemptArgs = { input: BuiSubmitInteractiveAttemptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSubmitPathFinderArgs = { input: BuiPathFinderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSubmitProctoringIdentityArgs = { id: Scalars['ID']['input']; input: BuiSubmitProctoringIdentityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSuggestAssessmentDraftArgs = { input: BuiSuggestAssessmentDraftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSuggestCourseOutlineArgs = { audienceLevel?: InputMaybe<Scalars['String']['input']>; blockedTerms?: InputMaybe<Array<Scalars['String']['input']>>; moduleCount?: InputMaybe<Scalars['Int']['input']>; topic: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSuggestGradeArgs = { submissionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSuggestNextLessonArgs = { enrollmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncExternalCertificateArgs = { input: BuiSyncExternalCertificateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncExternalCourseArgs = { input: BuiSyncExternalCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncExternalEnrollmentArgs = { input: BuiSyncExternalEnrollmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncExternalLessonArgs = { input: BuiSyncExternalLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncExternalLessonProgressArgs = { input: BuiSyncExternalLessonProgressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncLtiGradeArgs = { resourceLinkId: Scalars['ID']['input']; submissionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiSyncLtiRosterArgs = { resourceLinkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiTransitionEnrollmentArgs = { id: Scalars['ID']['input']; status: BuiEnrollmentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiTutorAskArgs = { input: BuiTutorAskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUnsaveCourseArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateAiSettingsArgs = { input: BuiUpdateAiSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateBadgeArgs = { id: Scalars['ID']['input']; input: BuiUpdateBadgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateCatalogConnectorArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; input: BuiUpdateCatalogConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateCourseArgs = { id: Scalars['ID']['input']; idempotencyKey?: InputMaybe<Scalars['String']['input']>; input: BuiUpdateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateLearningObjectArgs = { id: Scalars['ID']['input']; input: BuiUpdateLearningObjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuiUpdateMyLearnerProfileArgs = { input: BuiLearnerProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBuildWorkflowCodeArgs = { input: BuildWorkflowCodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkActivateWorkflowsArgs = { workflowIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkAddCollectionItemsArgs = { input: BulkAddItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkArchiveGroupsArgs = { groupIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkArchiveSchedulesArgs = { filter: BulkOperationFilter; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkAssignRoleArgs = { actorIds: Array<Scalars['String']['input']>; actorType: ActorType; roleId: Scalars['ID']['input']; scopeId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkAssignTagsArgs = { input: BulkAssignTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkAssignTagsToEntitiesArgs = { input: BulkAssignTagsToEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkAssignWorkflowsToProjectArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workflowIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkCreateAllocationsArgs = { allocations: Array<BulkAllocationInput>; planId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkCreateEmailTimeEntriesArgs = { inputs: Array<CreateEmailTimeEntryInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkCreateInvitationsArgs = { inputs: Array<CreateInvitationInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkCreateSecretsArgs = { input: BulkCreateSecretsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkCreateTagsArgs = { tags: Array<CreateTagInput>; vocabularyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteConfigurationsArgs = { keys: Array<Scalars['String']['input']>; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteFilesArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteGroupsArgs = { groupIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteNotesArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteSecretsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteTagsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteTimeEntriesArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkDeleteWorkflowsArgs = { workflowIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkIndexFolderContentsArgs = { folderId: Scalars['ID']['input']; force?: InputMaybe<Scalars['Boolean']['input']>; recursive?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkIndexWorkspaceContentsArgs = { force?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkLabelSecretsArgs = { color?: InputMaybe<Scalars['String']['input']>; ids: Array<Scalars['ID']['input']>; label: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkMoveFilesArgs = { ids: Array<Scalars['ID']['input']>; targetFolderId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkMoveSecretsArgs = { ids: Array<Scalars['ID']['input']>; targetVaultId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkMoveWorkflowsToFolderArgs = { folderId?: InputMaybe<Scalars['ID']['input']>; workflowIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkPauseSchedulesArgs = { filter: BulkOperationFilter; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkPermanentlyDeleteFilesArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkPermanentlyDeleteFoldersArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkRemoveCollectionItemsArgs = { input: BulkRemoveItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkRemoveTagAssignmentsArgs = { assignmentIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkRestartSessionsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkResumeSchedulesArgs = { filter: BulkOperationFilter; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkSetConfigurationsArgs = { configurations: Array<ConfigurationInput>; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkStopSessionsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkTagWorkflowsArgs = { tags: Array<Scalars['String']['input']>; workflowIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkTerminateSessionsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkUpdateConversationsArgs = { input: BulkConversationOperationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkUpdateEntityCommentsArgs = { input: BulkUpdateCommentsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkUpdateSchedulesArgs = { filter: BulkOperationFilter; updates: UpdateScheduledJobInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationBulkUpdateVisibilityArgs = { ids: Array<Scalars['ID']['input']>; visibility: FileVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCalculateCrewPayrollRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCalculateFocusScoreArgs = { date?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCalendarEraseSubjectArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCalendarExportSubjectArgs = { subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCallDurableWorkerSandboxArgs = { input: CallDurableWorkerSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCallMcpToolArgs = { arguments?: InputMaybe<Scalars['JSON']['input']>; connectionId: Scalars['ID']['input']; toolName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelActionExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelBatchDownloadArgs = { downloadId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelBatchOperationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelBookingArgs = { cancellationReason?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelBotmanorAgentActivationRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelCrewEscrowRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelCrewOpenShiftArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelCrewShiftArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelEventOccurrenceArgs = { eventId: Scalars['ID']['input']; occurrenceDate: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelExportJobArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelGgnomadBookingArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelGroupInvitationArgs = { membershipId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelHeadshotmarketingAutomationWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelHealthyBowlCsaMembershipArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelHousingvistaViewingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelHousingvistaViewingSlotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelMaintenanceContractArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelMyAssistantTurnArgs = { clientTurnId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelMyCrewShiftSwapArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelPromptGenerationArgs = { generationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelRecurringInstanceArgs = { instanceDate: Scalars['DateTime']['input']; seriesId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelResourceBookingArgs = { bookingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelSandboxAgentJobArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelScheduledCommentArgs = { input: CancelScheduledCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelSecurityScanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelSupervisorRunArgs = { runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelTimeCampusFocusBlockArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkflowGenerationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkflowPromotionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkflowProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkflowRunByTargetArgs = { target: RunTargetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCancelWorkspaceInviteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCaptureEpodArgs = { input: CaptureEpodInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCategorizeApplicationArgs = { applicationName: Scalars['String']['input']; category: Scalars['String']['input']; confirm?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationChargeAiInvocationArgs = { input: PromptChargeAiInvocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationChatWithAgentArgs = { input: ChatWithAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckAiCreditsForArgs = { productKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInAssetArgs = { input: CheckInAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInAssetByTagArgs = { input: CheckInAssetByTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInGgnomadBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInMyCrewShiftArgs = { id: Scalars['ID']['input']; position: CrewGeoPositionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInMyCrewShiftByCodeArgs = { checkInCode: Scalars['String']['input']; position?: InputMaybe<CrewGeoPositionInput>; shiftId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckInToEventArgs = { checkOut?: InputMaybe<Scalars['Boolean']['input']>; eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckOutAssetArgs = { input: CheckOutAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckOutAssetByTagArgs = { input: CheckOutAssetByTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckOutMyCrewShiftArgs = { id: Scalars['ID']['input']; position: CrewGeoPositionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckSessionHealthArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; workspaceWide?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckoutGgnomadCartArgs = { input: CheckoutGgnomadCartInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckoutGgnomadTripPlanArgs = { input: CheckoutGgnomadTripPlanInput; tripPlanId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckoutHealthyBowlInsurancePremiumArgs = { input: PayHealthyBowlInsurancePremiumInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCheckoutHealthyBowlOrderArgs = { context: ContextInput; orderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationClaimCrewOpenShiftArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCleanupNatsQueuesArgs = { input: NatsCleanupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationClearGgnomadPropertyAvailabilityArgs = { endDate: Scalars['String']['input']; propertyId: Scalars['ID']['input']; startDate: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneAnalyticsDashboardArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneDashboardArgs = { input: BigConsoleCloneDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneGroupArgs = { groupId: Scalars['ID']['input']; includeMembers?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneReportArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneScheduleArgs = { newWorkspaceId?: InputMaybe<Scalars['ID']['input']>; overrides?: InputMaybe<CreateScheduledJobInput>; sourceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloneWorkspaceResourceArgs = { id: Scalars['ID']['input']; newName: Scalars['String']['input']; targetWorkspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloseHealthyBowlAuctionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloseHealthyBowlReconciliationArgs = { input: HealthyBowlReconciliationPeriodInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCloseMtwContainerCycleArgs = { input: CloseMtwContainerCycleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColAcceptMembershipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColAnswerStoryPromptArgs = { input: ColAnswerStoryPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColArchiveFamilyTreeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreateEventArgs = { input: ColCreateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreateFamilyTreeArgs = { input: ColCreateFamilyTreeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreateMemoryArgs = { input: ColCreateMemoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreatePersonArgs = { input: ColCreatePersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreateRelationshipArgs = { input: ColCreateRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColCreateStoryArgs = { input: ColCreateStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeleteEventArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeleteKeepsakeBookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeleteMemoryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeletePersonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeleteRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColDeleteStoryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColFileGuardianRequestArgs = { input: ColFileGuardianRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColGenerateKeepsakeBookArgs = { input: ColGenerateKeepsakeBookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColImportGedcomArgs = { gedcomText: Scalars['String']['input']; treeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColInviteMemberArgs = { input: ColInviteMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColPresenceHeartbeatArgs = { treeId: Scalars['ID']['input']; typing?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColPresenceLeaveArgs = { treeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColRemoveMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColReplaceFamilyTreeTagsArgs = { input: ColReplaceFamilyTreeTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColReplaceMemoryTagsArgs = { input: ColReplaceMemoryTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColReplacePersonTagsArgs = { input: ColReplacePersonTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColReplaceStoryTagsArgs = { input: ColReplaceStoryTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColResolveGuardianRequestArgs = { decision: ColGuardianRequestDecision; id: Scalars['ID']['input']; resolutionNotes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColSuggestFollowupQuestionsArgs = { input: ColSuggestFollowupQuestionsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColSuggestPhotoCaptionArgs = { input: ColSuggestPhotoCaptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColTagFamilyTreeArgs = { input: ColTagFamilyTreeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColTagMemoryArgs = { input: ColTagMemoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColTagPersonArgs = { input: ColTagPersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColTagStoryArgs = { input: ColTagStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUntagFamilyTreeArgs = { input: ColUntagFamilyTreeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUntagMemoryArgs = { input: ColUntagMemoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUntagPersonArgs = { input: ColUntagPersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUntagStoryArgs = { input: ColUntagStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateEventArgs = { id: Scalars['ID']['input']; input: ColUpdateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateFamilyTreeArgs = { id: Scalars['ID']['input']; input: ColUpdateFamilyTreeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateMembershipArgs = { id: Scalars['ID']['input']; input: ColUpdateMembershipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateMemoryArgs = { id: Scalars['ID']['input']; input: ColUpdateMemoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdatePersonArgs = { id: Scalars['ID']['input']; input: ColUpdatePersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateRelationshipArgs = { id: Scalars['ID']['input']; input: ColUpdateRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationColUpdateStoryArgs = { id: Scalars['ID']['input']; input: ColUpdateStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCollectHealthyBowlCsaPickupBoxArgs = { input: CollectHealthyBowlCsaPickupBoxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComAddCommentArgs = { input: ComCreateCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchiveBadgeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchiveCircleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchiveCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchiveDigitalProductArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchiveMembershipTierArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComArchivePaidEventArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComAwardBadgeArgs = { input: ComAwardBadgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComBlockMemberArgs = { memberId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCancelChallengeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCancelTipIntentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComClosePollArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCompleteCourseLessonArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCompleteLiveStreamRecordingArgs = { input: ComCompleteLiveStreamRecordingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateBadgeArgs = { input: ComCreateBadgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateChallengeArgs = { input: ComCreateChallengeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateChannelArgs = { input: ComCreateChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateCircleArgs = { input: ComCreateCircleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateCourseArgs = { input: ComCreateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateCourseLessonArgs = { input: ComCreateCourseLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateCourseModuleArgs = { input: ComCreateCourseModuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateDigitalProductArgs = { input: ComCreateDigitalProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateEventArgs = { input: ComCreateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreateMembershipTierArgs = { input: ComCreateMembershipTierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreatePaidEventArgs = { input: ComCreatePaidEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreatePollArgs = { input: ComCreatePollInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComCreatePostArgs = { input: ComCreatePostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComDeleteAnalyticsSubscriptionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComDeleteCourseLessonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComDeleteCourseModuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComDeleteLiveStreamRecordingArgs = { recordingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComDropCourseArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComEndLiveStreamArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComEndVoiceSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComEnrollInCourseArgs = { courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComExportCircleContentArgs = { input: ComExportCircleContentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComExportMemberDataArgs = { input: ComExportMemberDataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComFailLiveStreamRecordingArgs = { reason: Scalars['String']['input']; recordingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComFollowArgs = { input: ComFollowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComJoinCircleArgs = { circleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComJoinLiveStreamArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComJoinVoiceChannelArgs = { channelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComLeaveCircleArgs = { circleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComLeaveLiveStreamArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComLeaveVoiceChannelArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComLiveStreamHeartbeatArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComLiveStreamRoomTokenArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComMuteFollowArgs = { id: Scalars['ID']['input']; muted: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReactToCommentArgs = { commentId: Scalars['ID']['input']; type: ComReactionType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReactToPostArgs = { postId: Scalars['ID']['input']; type: ComReactionType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComRecordTipIntentArgs = { input: ComRecordTipIntentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComRegisterDeviceTokenArgs = { platform: ComDevicePlatform; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComRemovePostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReorderCourseLessonsArgs = { lessonIds: Array<Scalars['ID']['input']>; moduleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReorderCourseModulesArgs = { courseId: Scalars['ID']['input']; moduleIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReportContentArgs = { input: ComReportContentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComResolveReportArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; status: ComReportStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComReviewVerdictArgs = { decision: ComModerationReviewDecision; note?: InputMaybe<Scalars['String']['input']>; verdictId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComRsvpEventArgs = { eventId: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; status: ComRsvpStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSaveAnalyticsSubscriptionArgs = { input: ComSaveAnalyticsSubscriptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSendAnalyticsReportNowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSendLiveStreamSignalArgs = { payload: Scalars['JSON']['input']; signalType: ComVoiceSignalType; streamId: Scalars['ID']['input']; toMemberId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSendVoiceSignalArgs = { payload: Scalars['JSON']['input']; sessionId: Scalars['ID']['input']; signalType: ComVoiceSignalType; toMemberId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSetCourseStatusArgs = { id: Scalars['ID']['input']; status: ComCourseStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSetGamificationEnabledArgs = { circleId: Scalars['ID']['input']; enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSetMemberRoleArgs = { membershipId: Scalars['ID']['input']; role: ComMemberRole; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSetVoiceMuteArgs = { muted: Scalars['Boolean']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComStartLiveStreamArgs = { circleId: Scalars['ID']['input']; mediaMode?: InputMaybe<ComMediaMode>; title: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComStartLiveStreamRecordingArgs = { streamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComStopLiveStreamRecordingArgs = { recordingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSubmitCourseQuizArgs = { answers: Array<ComCourseQuizAnswerInput>; lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComSwitchVoiceSessionToSfuArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComTransitionEventArgs = { id: Scalars['ID']['input']; status: ComEventStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComTriageContentArgs = { targetId: Scalars['ID']['input']; targetType: ComModerationTargetType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUnblockMemberArgs = { memberId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUncompleteCourseLessonArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUnfollowArgs = { input: ComFollowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUnregisterDeviceTokenArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateChannelArgs = { id: Scalars['ID']['input']; input: ComUpdateChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateCircleArgs = { id: Scalars['ID']['input']; input: ComUpdateCircleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateCourseArgs = { id: Scalars['ID']['input']; input: ComUpdateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateCourseLessonArgs = { id: Scalars['ID']['input']; input: ComUpdateCourseLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateCourseModuleArgs = { id: Scalars['ID']['input']; input: ComUpdateCourseModuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateDigitalProductArgs = { id: Scalars['ID']['input']; input: ComUpdateDigitalProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateEventArgs = { id: Scalars['ID']['input']; input: ComUpdateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateMembershipTierArgs = { id: Scalars['ID']['input']; input: ComUpdateMembershipTierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdateModerationRuleArgs = { circleId: Scalars['ID']['input']; input: ComModerationRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdatePaidEventArgs = { id: Scalars['ID']['input']; input: ComUpdatePaidEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpdatePostArgs = { id: Scalars['ID']['input']; input: ComUpdatePostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComUpsertProfileArgs = { input: ComUpsertProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComVoiceHeartbeatArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComVoiceRoomTokenArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationComVotePollArgs = { optionId: Scalars['ID']['input']; pollId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompareMtwFreightInvoiceArgs = { input: CompareMtwFreightInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompileDocsSiteArgs = { publish?: InputMaybe<Scalars['Boolean']['input']>; siteId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteActionItemArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteActivityAsyncArgs = { result?: InputMaybe<Scalars['JSON']['input']>; taskToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteActivityByIdArgs = { activityId: Scalars['ID']['input']; result?: InputMaybe<Scalars['JSON']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteGgnomadBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteHealthyBowlGardenCareTaskArgs = { input: CompleteGardenCareTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteMaintenanceRecordArgs = { id: Scalars['ID']['input']; input: CompleteMaintenanceRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteOAuthArgs = { input: CompleteOAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompletePhysicalAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompletePomodoroSessionArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteSecurityEvidenceUploadArgs = { evidenceId: Scalars['ID']['input']; parts?: InputMaybe<Array<SecurityEvidenceUploadedPartInput>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteSessionRecordingArgs = { recordingId: Scalars['ID']['input']; status: SessionRecordingStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteUploadArgs = { input: CompleteUploadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCompleteWorkOrderArgs = { id: Scalars['ID']['input']; input: CompleteWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConcludeHeadshotmarketingAdCreativeTestArgs = { id: Scalars['ID']['input']; pauseLosers?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfigureAssistantChannelArgs = { publicationId: Scalars['ID']['input']; routeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfigureAssistantRuntimeArgs = { agentId: Scalars['ID']['input']; connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfigureShipmentStatusSourceArgs = { id: Scalars['ID']['input']; input: ConfigureShipmentStatusSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfigureSupervisorArgs = { input: ConfigureSupervisorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfirmBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConfirmGgnomadBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConnectAgentToTargetArgs = { protocol: TargetType; sourceAgentId: Scalars['ID']['input']; targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConnectExternalCalendarArgs = { input: ConnectExternalCalendarInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConnectHeadshotmarketingIntegrationArgs = { input: HeadshotmarketingConnectIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConnectHealthyBowlAccountingIntegrationArgs = { input: ConnectHealthyBowlAccountingIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConnectTimeCampusCaptureChannelArgs = { input: TimeCampusConnectCaptureChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConversationalDashboardEditArgs = { input: ConversationalEditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConversationsEraseSubjectArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConversationsExportSubjectArgs = { subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConvertHeadshotmarketingLeadArgs = { dealTitle: Scalars['String']['input']; leadId: Scalars['ID']['input']; pipelineId: Scalars['ID']['input']; stageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConvertToManualCollectionArgs = { collectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationConvertToSmartCollectionArgs = { collectionId: Scalars['ID']['input']; criteria: SmartCollectionCriteriaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooAddLookbookEntryArgs = { input: CooAddLookbookEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooAddToCartArgs = { input: CooAddToCartInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooApproveBrandArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooApproveReturnRequestArgs = { input: CooApproveReturnRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveBrandArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveCreatorRateCardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveResaleListingArgs = { id: Scalars['ID']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveResaleShopArgs = { version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveRetailerFeedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooArchiveStyleItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooBulkImportCatalogArgs = { input: CooBulkImportCatalogInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooBuyStoreListedPieceArgs = { input: CooBuyStoreListedPieceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCancelOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCheckoutArgs = { input: CooCheckoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateArticleArgs = { input: CooEditorialArticleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateBackInStockAlertArgs = { input: CooCreatePriceAlertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateBrandArgs = { input: CooCreateBrandInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateCollaborationArgs = { input: CooCreateCollaborationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateCollectionArgs = { input: CooCreateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateCreatorRateCardArgs = { input: CooCreatorRateCardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateLookArgs = { input: CooCreateLookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateLookbookArgs = { input: CooCreateLookbookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreatePriceDropAlertArgs = { input: CooCreatePriceAlertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateRetailerFeedArgs = { input: CooRetailerFeedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateStyleItemArgs = { input: CooCreateStyleItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCreateWardrobeItemArgs = { input: CooCreateWardrobeItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooCurateCollectionArgs = { brandId: Scalars['ID']['input']; season: CooSeason; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeclineReturnRequestArgs = { input: CooDeclineReturnRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeleteArticleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeleteCollaborationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeleteLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeleteLookbookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeletePriceAlertArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooDeleteTrendReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooFeatureStyleItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooFollowArgs = { followeeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooGenerateTrendReportArgs = { input: CooGenerateTrendReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooImportRetailerSnapshotArgs = { id: Scalars['ID']['input']; snapshot: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooLikeLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooLogWardrobeWearArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooMapRetailerOfferArgs = { offerId: Scalars['ID']['input']; styleItemId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPayCollaborationFeeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPreviewExternalCatalogArgs = { source: CooExternalCatalogSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooProposeRateCardArgs = { input: CooRateCardProposalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPublishCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPublishLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPublishResaleListingArgs = { id: Scalars['ID']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooPublishTrendReportArgs = { id: Scalars['ID']['input']; publish: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRecordLegalAcceptanceArgs = { input: CooRecordLegalAcceptanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRefreshRetailerFeedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRefundBrandOrderArgs = { input: CooRefundBrandOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRejectBrandArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRemoveCartItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRemoveLookbookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRemoveWardrobeItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooReportResaleListingArgs = { details: Scalars['String']['input']; id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRequestCreatorPayoutArgs = { input: CooRequestCreatorPayoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooRequestReturnArgs = { input: CooRequestReturnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooResolveResaleCreateRequestArgs = { requestId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooResolveResaleReportArgs = { id: Scalars['ID']['input']; notes: Scalars['String']['input']; removeListing: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooResumeOrderPaymentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooReviewCollaborationArgs = { id: Scalars['ID']['input']; input: CooReviewCollaborationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooReviewResaleListingArgs = { approved: Scalars['Boolean']['input']; id: Scalars['ID']['input']; notes: Scalars['String']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooReviewResaleShopArgs = { approved: Scalars['Boolean']['input']; id: Scalars['ID']['input']; notes: Scalars['String']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooReviewRetailerFeedArgs = { approved: Scalars['Boolean']['input']; id: Scalars['ID']['input']; notes: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSaveLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSavePriceAlertArgs = { input: CooPriceAlertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSaveResaleListingArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: CooResaleListingInput; requestId?: InputMaybe<Scalars['ID']['input']>; version?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSaveResaleShopArgs = { input: CooResaleShopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSetArticleStatusArgs = { id: Scalars['ID']['input']; status: CooEditorialStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSetCreatorRateCardPublishedArgs = { id: Scalars['ID']['input']; published: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSetRetailerFeedEnabledArgs = { enabled: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSetStyleItemInventoryArgs = { id: Scalars['ID']['input']; input: CooSetStyleItemInventoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSubmitResaleListingArgs = { id: Scalars['ID']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSuggestCollaborationMatchArgs = { brandId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSuggestOutfitArgs = { input: CooSuggestOutfitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSyncCollaborationPaymentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSyncOrderPaymentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooSyncStyleItemStoreListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooTransitionBrandArgs = { id: Scalars['ID']['input']; status: CooBrandStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooTransitionCollaborationArgs = { id: Scalars['ID']['input']; status: CooCollaborationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUnfeatureStyleItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUnfollowArgs = { followeeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUnlikeLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUnsaveLookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateArticleArgs = { id: Scalars['ID']['input']; input: CooEditorialArticleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateBrandArgs = { id: Scalars['ID']['input']; input: CooUpdateBrandInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateCartItemArgs = { id: Scalars['ID']['input']; quantity: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateCollaborationArgs = { id: Scalars['ID']['input']; input: CooUpdateCollaborationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateCollectionArgs = { id: Scalars['ID']['input']; input: CooUpdateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateCreatorRateCardArgs = { id: Scalars['ID']['input']; input: CooCreatorRateCardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateLookArgs = { id: Scalars['ID']['input']; input: CooUpdateLookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateOrderFulfilmentArgs = { input: CooUpdateOrderFulfilmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateOrderPaymentStatusArgs = { billingAccountId?: InputMaybe<Scalars['ID']['input']>; currency?: InputMaybe<Scalars['String']['input']>; failureReason?: InputMaybe<Scalars['String']['input']>; isAutoRenew?: InputMaybe<Scalars['Boolean']['input']>; jurisdiction?: InputMaybe<Scalars['String']['input']>; orderId: Scalars['ID']['input']; paidAmount?: InputMaybe<Scalars['Float']['input']>; paymentId?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<Scalars['String']['input']>; providerSubscriptions?: InputMaybe<Scalars['String']['input']>; status: Scalars['String']['input']; subtotal?: InputMaybe<Scalars['Float']['input']>; taxAmount?: InputMaybe<Scalars['Float']['input']>; taxRate?: InputMaybe<Scalars['Float']['input']>; taxType?: InputMaybe<Scalars['String']['input']>; transactionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateStyleItemArgs = { id: Scalars['ID']['input']; input: CooUpdateStyleItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpdateWardrobeItemArgs = { id: Scalars['ID']['input']; input: CooUpdateWardrobeItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCooUpsertStyleProfileArgs = { input: CooUpsertStyleProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCopyFileArgs = { id: Scalars['ID']['input']; newName?: InputMaybe<Scalars['String']['input']>; targetFolderId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosAddRunStepArgs = { input: CosAddRunStepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosAddSchemaFieldArgs = { input: CosAddSchemaFieldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosAiDraftReleaseArgs = { notebookId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosAiProposeSchemaFieldsArgs = { datasetId: Scalars['ID']['input']; sample?: InputMaybe<CosSchemaSampleInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosAiTriageRunArgs = { runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosArchiveCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosArchiveDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosArchiveNotebookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosArchivePipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosArchiveSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCancelExternalComputeArgs = { id: Scalars['ID']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCompleteAnalysisArgs = { id: Scalars['ID']['input']; outputFileId?: InputMaybe<Scalars['ID']['input']>; results?: InputMaybe<Scalars['JSON']['input']>; status: CosAnalysisStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCompleteRunStepArgs = { input: CosCompleteRunStepInput; runId: Scalars['ID']['input']; stepId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreateCollectionArgs = { input: CosCreateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreateDatasetArgs = { input: CosCreateDatasetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreateNotebookArgs = { input: CosCreateNotebookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreatePipelineArgs = { input: CosCreatePipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreateReleaseArgs = { input: CosCreateReleaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosCreateSourceArgs = { input: CosCreateSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosGrantAccessArgs = { input: CosGrantAccessInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosMarkSourceSyncedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosMintDoiArgs = { releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosMirrorToZenodoArgs = { releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosPublishDatasetArgs = { id: Scalars['ID']['input']; rowCount?: InputMaybe<Scalars['String']['input']>; sizeBytes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosPublishReleaseArgs = { doi?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; mintDoi?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosQueueDatabricksStepArgs = { input: CosDatabricksStepInput; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRecordRunTelemetryArgs = { input: CosRunTelemetryInput; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRemoveSchemaFieldArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosResolveExternalComputeRequestArgs = { requestId: Scalars['ID']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRetryExternalComputeArgs = { id: Scalars['ID']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRevokeAccessArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRunAnalysisArgs = { input: CosRunAnalysisInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosRunRasterCalcStepArgs = { input: CosRunRasterCalcStepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosStartRunArgs = { input: CosStartRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosTransitionRunArgs = { id: Scalars['ID']['input']; status: CosRunStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdateCollectionArgs = { id: Scalars['ID']['input']; input: CosUpdateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdateDatasetArgs = { id: Scalars['ID']['input']; input: CosUpdateDatasetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdateNotebookArgs = { id: Scalars['ID']['input']; input: CosUpdateNotebookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdatePipelineArgs = { id: Scalars['ID']['input']; input: CosUpdatePipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdateSchemaFieldArgs = { id: Scalars['ID']['input']; input: CosUpdateSchemaFieldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCosUpdateSourceArgs = { id: Scalars['ID']['input']; input: CosUpdateSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateA2AConnectionArgs = { input: CreateA2AConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateA2ARegistryEntryArgs = { input: CreateA2ARegistryEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiPromptArgs = { input: CreateAiPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateActionArgs = { input: CreateActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateActionItemArgs = { input: CreateActionItemInput; meetingId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateActionShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateActivityPauseRuleArgs = { input: WorkflowActivityPauseRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentDefinitionArgs = { input: AgentDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentFromTemplateArgs = { name: Scalars['String']['input']; templateId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentInstructionFileArgs = { input: CreateAgentInstructionFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentInstructionFileShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentMessageBookmarkArgs = { input: CreateAgentMessageBookmarkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAgentTemplateArgs = { input: CreateAgentTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiContextArgs = { input: CreateAiContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiContextShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiPredictionArgs = { input: CreateAiPredictionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiPromptShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAiToolEventArgs = { input: CreateAiToolEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAllocationArgs = { input: CreateAllocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAppAgentArgs = { input: CreateAppAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAppFromTemplateArgs = { name: Scalars['String']['input']; templateId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAppTemplateArgs = { input: CreateAppTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAssetArgs = { input: CreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAssetTagArgs = { input: CreateAssetTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateAvailabilityRuleArgs = { input: CreateAvailabilityRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBatchDownloadArgs = { input: CreateBatchDownloadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBigConsoleDashboardArgs = { input: BigConsoleCreateDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBigConsoleWidgetArgs = { input: BigConsoleCreateWidgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBigconsoleTagArgs = { input: CreateBigConsoleTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBlackoutDateArgs = { input: CreateBlackoutDateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBookingArgs = { input: CreateCalendarBookingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBookingPageArgs = { input: CreateBookingPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotAppArgs = { input: CreateBotAppInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotlitAgentArgs = { input: CreateBotlitAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotlitLlmModelArgs = { input: CreateBotlitLlmModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotlitLlmProviderArgs = { input: CreateBotlitLlmProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotmanorAgentArgs = { input: CreateBotmanorAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotmanorAgentFromTemplateArgs = { name: Scalars['String']['input']; templateId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotmanorAgentTemplateArgs = { input: CreateBotmanorAgentTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotmanorLlmModelArgs = { input: CreateBotmanorLlmModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBotmanorLlmProviderArgs = { input: CreateBotmanorLlmProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBucketArgs = { input: CreateBucketInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateBudgetArgs = { input: AssetHandlerCreateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCalendarArgs = { input: CreateCalendarInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCalendarExportJobArgs = { input: CreateCalendarExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCalendarResourceArgs = { input: CreateCalendarResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCargoItemArgs = { input: CreateCargoItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCatalogShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateChangeRequestArgs = { input: CreateChangeRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateChannelConnectorArgs = { input: CreateChannelConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateChannelRouteArgs = { input: CreateChannelRouteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateClientPortalConfigArgs = { input: CreateClientPortalConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCohortArgs = { input: CreateCohortInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCollectionArgs = { input: CreateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCollectionFromTemplateArgs = { name: Scalars['String']['input']; templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateComponentShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateConnectionArgs = { input: CreateConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateConversationArgs = { input: CreateConversationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateConversationsExportJobArgs = { input: CreateConversationsExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCosTagArgs = { input: CreateCosTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCourseAssistantTeacherArgs = { chatModelId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewAnnouncementArgs = { input: CreateCrewAnnouncementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewBookingArgs = { input: CreateCrewBookingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewCandidateArgs = { input: CreateCrewCandidateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewClientArgs = { input: CreateCrewClientInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewDepartmentArgs = { input: CreateCrewDepartmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewDispatchArgs = { input: CreateCrewDispatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewEmployeeArgs = { input: CreateCrewEmployeeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewEnrollmentArgs = { input: CreateCrewEnrollmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewInterviewArgs = { input: CreateCrewInterviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewJobPostingArgs = { input: CreateCrewJobPostingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewLeaveRequestArgs = { input: CreateCrewLeaveRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewOnboardingArgs = { input: CreateCrewOnboardingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewOnboardingTaskArgs = { input: CreateCrewOnboardingTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewOpenShiftArgs = { input: CreateCrewOpenShiftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewPayrollRecordArgs = { input: CreateCrewPayrollRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewPayrollRunArgs = { input: CreateCrewPayrollRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewProjectArgs = { input: CreateCrewProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewServiceListingArgs = { input: CreateCrewServiceListingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewShiftArgs = { input: CreateCrewShiftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewShiftPatternArgs = { input: CreateCrewShiftPatternInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewSkillArgs = { input: CreateCrewSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewSkillRelationArgs = { input: CreateCrewSkillRelationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewTeamArgs = { input: CreateCrewTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewTimeEntryArgs = { input: CreateCrewTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewTrainingCourseArgs = { input: CreateCrewTrainingCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCrewVendorArgs = { input: CreateCrewVendorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateCustomerArgs = { input: CreateCustomerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardArgs = { input: CreateDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardEmbedPolicyArgs = { input: BigConsoleCreateDashboardEmbedPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardFromGenerationArgs = { input: BigConsoleCreateDashboardFromGenerationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardFromTemplateArgs = { templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardFromTemplateTypeArgs = { input: BigConsoleCreateDashboardFromTemplateTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardPageArgs = { input: BigConsoleCreateDashboardPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardRlsPolicyArgs = { input: BigConsoleCreateDashboardRlsPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardVersionArgs = { dashboardId: Scalars['ID']['input']; label?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDashboardViewArgs = { input: BigConsoleCreateDashboardViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDataSinkArgs = { input: CreateDataSinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDataTableArgs = { input: CreateDataTableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDeliveryJobArgs = { input: CreateDeliveryJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDigitalTwinArgs = { input: CreateDigitalTwinInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDisposableWorkspaceArgs = { input: CreateDisposableWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDocsPageArgs = { input: CreateVibecontrolsDocsPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDocsShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDocsSiteArgs = { input: CreateVibecontrolsDocsSiteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateDriverArgs = { input: CreateDriverInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEmailTimeEntryArgs = { input: CreateEmailTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEntityCommentArgs = { input: CreateEntityCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEsgMetricArgs = { input: CreateEsgMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventArgs = { input: CreateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventFilterArgs = { eventRegistrationId: Scalars['String']['input']; filterExpression: Scalars['JSON']['input']; filterType: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventRegistrationArgs = { input: CreateEventRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventSchemaArgs = { input: CreateEventSchemaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventWebhookMappingArgs = { input: BigConsoleCreateWidgetEventWebhookMappingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateEventfullyManagedEntityTagArgs = { input: EventfullyManagedCreateEntityTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateExecutionArgs = { input: CreateExecutionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateExpenseArgs = { input: CreateExpenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateExportJobArgs = { context?: InputMaybe<ContextInput>; input: CreateExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateExportTemplateArgs = { context?: InputMaybe<ContextInput>; input: CreateExportTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFileShareLinkArgs = { input: CreateShareGrantLinkInput; options?: InputMaybe<FileShareOptionsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFileVersionArgs = { input: CreateFileVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFilesExportJobArgs = { input: CreateFilesExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFilterPresetArgs = { input: BigConsoleCreateFilterPresetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFluidgridsTagArgs = { input: CreateFluidgridsTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFolderArgs = { input: CreateFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFolderShareArgs = { input: FolderCreateShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFolderShareLinkArgs = { input: CreateShareGrantLinkInput; options?: InputMaybe<FileShareOptionsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateFunnelArgs = { input: CreateFunnelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGeofenceArgs = { input: CreateGeofenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadActivityArgs = { input: CreateGgnomadActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadAffiliateCommissionRuleArgs = { input: CreateGgnomadAffiliateCommissionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadAffiliatePartnerArgs = { input: CreateGgnomadAffiliatePartnerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadBookingArgs = { input: CreateGgnomadBookingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadBookingSlotArgs = { input: CreateGgnomadBookingSlotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadChannelMappingArgs = { input: CreateGgnomadChannelMappingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadEventArgs = { input: CreateGgnomadEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadGroupTripArgs = { input: CreateGgnomadGroupTripInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadOperatorStorefrontArgs = { input: CreateGgnomadOperatorStorefrontInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadPricingRuleArgs = { input: CreateGgnomadPricingRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadPrivateGroupRequestArgs = { input: CreateGgnomadPrivateGroupRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadPropertyArgs = { input: CreateGgnomadPropertyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadProtectionPolicyArgs = { input: CreateGgnomadProtectionPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadProviderArgs = { input: CreateGgnomadProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadReviewArgs = { input: CreateGgnomadReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadTourArgs = { input: CreateGgnomadTourInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadTravelPolicyArgs = { input: CreateGgnomadTravelPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadTripArgs = { input: CreateGgnomadTripInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGgnomadTripPlanArgs = { input: CreateGgnomadTripPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGlobalFilterArgs = { input: BigConsoleCreateGlobalFilterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGraphEdgeArgs = { input: CreateGraphEdgeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGraphNodeArgs = { input: CreateGraphNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupArgs = { input: CreateGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupFromTemplateArgs = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupRuleArgs = { groupId: Scalars['ID']['input']; input: GroupRuleCreateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupSettingArgs = { groupId: Scalars['ID']['input']; input: CreateGroupSettingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupTemplateArgs = { input: CreateGroupTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateGroupsExportJobArgs = { input: CreateGroupsExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAdCampaignArgs = { input: CreateHeadshotmarketingAdCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAdCreativeArgs = { input: CreateHeadshotmarketingAdCreativeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAdCreativeTestArgs = { input: CreateHeadshotmarketingAdCreativeTestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAdPlatformConnectionArgs = { input: HeadshotmarketingCreateAdPlatformConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAudienceArgs = { input: CreateHeadshotmarketingAudienceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingAutomationWorkflowArgs = { input: HeadshotmarketingCreateAutomationWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingCampaignArgs = { input: CreateHeadshotmarketingCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingCampaignFromTemplateArgs = { name?: InputMaybe<Scalars['String']['input']>; templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingCampaignTemplateArgs = { input: CreateHeadshotmarketingCampaignTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingContactArgs = { input: CreateHeadshotmarketingContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingDealArgs = { input: CreateHeadshotmarketingDealInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingInfluencerArgs = { input: CreateHeadshotmarketingInfluencerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingInfluencerCampaignArgs = { input: CreateHeadshotmarketingInfluencerCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingInfluencerRelationshipArgs = { input: CreateHeadshotmarketingInfluencerRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingLeadArgs = { input: CreateHeadshotmarketingLeadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingPipelineArgs = { input: CreateHeadshotmarketingPipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingPipelineStageArgs = { input: CreateHeadshotmarketingPipelineStageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingSocialAccountArgs = { input: CreateHeadshotmarketingSocialAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHeadshotmarketingSocialPostArgs = { input: CreateHeadshotmarketingSocialPostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAdvisoryTaskArgs = { input: CreateHealthyBowlAdvisoryTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAggregationLotArgs = { input: CreateHealthyBowlAggregationLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAnimalArgs = { input: CreateAnimalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAnimalGroupArgs = { input: CreateHealthyBowlAnimalGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAuctionArgs = { input: CreateHealthyBowlAuctionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlAuditArgs = { input: CreateAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlBankAccountArgs = { input: CreateHealthyBowlBankAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlBedArgs = { input: CreateHealthyBowlBedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlBreedingRecordArgs = { input: CreateBreedingRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlBudgetArgs = { input: CreateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCarbonCreditArgs = { input: CreateHealthyBowlCarbonCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCertificationArgs = { input: CreateCertificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCommunityPostArgs = { input: CreateCommunityPostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlComplianceDocumentArgs = { input: CreateComplianceDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCompostBatchArgs = { input: CreateCompostBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlConsultationArgs = { input: CreateConsultationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlConsultationNoteArgs = { input: CreateHealthyBowlConsultationNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlContactArgs = { input: CreateHealthyBowlContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlContractAggregationLotArgs = { input: CreateHealthyBowlContractAggregationLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCostCenterArgs = { input: CreateHealthyBowlCostCenterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCrewArgs = { input: CreateHealthyBowlCrewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCropArgs = { input: CreateCropInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCsaPickupLocationArgs = { input: CreateHealthyBowlCsaPickupLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlCsaPlanArgs = { input: CreateHealthyBowlCsaPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlDiseaseWarningRuleArgs = { input: CreateHealthyBowlDiseaseWarningRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlExpertArgs = { input: CreateExpertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFarmArgs = { input: CreateFarmInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFarmEventArgs = { input: CreateFarmEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFarmRecommendationArgs = { input: CreateHealthyBowlFarmRecommendationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFarmingContractArgs = { input: CreateHealthyBowlFarmingContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFeedRecordArgs = { input: CreateFeedRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlFieldArgs = { input: CreateHealthyBowlFieldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGardenCareTaskArgs = { input: CreateGardenCareTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGardenHarvestArgs = { input: CreateGardenHarvestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGardenInputArgs = { input: CreateGardenInputInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGardenObservationArgs = { input: CreateGardenObservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGardenPlantingArgs = { input: CreateGardenPlantingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGovernmentSchemeArgs = { input: CreateGovernmentSchemeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlGrowSpaceArgs = { input: CreateGrowSpaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlHarvestRecordArgs = { input: CreateHarvestRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlHealthRecordArgs = { input: CreateHealthRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlIcsGroupArgs = { input: CreateIcsGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlIcsGrowerArgs = { input: CreateIcsGrowerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlInputPlanArgs = { input: CreateHealthyBowlInputPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlInvoiceArgs = { input: CreateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlIrrigationAutomationArgs = { input: CreateHealthyBowlIrrigationAutomationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlIrrigationScheduleArgs = { input: CreateHealthyBowlIrrigationScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlLedgerAccountArgs = { input: CreateHealthyBowlLedgerAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlLoanMilestoneArgs = { input: CreateHealthyBowlLoanMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlMapFeatureArgs = { input: CreateHealthyBowlMapFeatureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlMarketplaceProductArgs = { input: CreateMarketplaceProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlMedicationLibraryItemArgs = { input: CreateMedicationLibraryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlMentorArgs = { input: CreateMentorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlNurseryBatchArgs = { input: CreateHealthyBowlNurseryBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlOrderArgs = { input: CreateMarketplaceOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlOrderShipmentArgs = { context: ContextInput; orderId: Scalars['ID']['input']; perishable?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPestIssueArgs = { input: CreatePestIssueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPlantCatalogEntryArgs = { input: CreateHealthyBowlPlantCatalogInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPlantingActivityArgs = { input: CreateHealthyBowlPlantingActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPlantingPlanArgs = { input: CreatePlantingPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPriceAlertRuleArgs = { input: CreateHealthyBowlPriceAlertRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlPriceWatchArgs = { input: CreateHealthyBowlPriceWatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlProductArgs = { input: CreateHealthyBowlProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlProductionBatchArgs = { input: CreateProductionBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlProductionRecordArgs = { input: CreateProductionRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlRecipeArgs = { input: CreateRecipeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlRegenerativePracticeArgs = { input: CreateHealthyBowlRegenerativePracticeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlResidueTestArgs = { input: CreateComplianceResidueTestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSchemeApplicationArgs = { input: CreateSchemeApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSeedLotArgs = { input: CreateHealthyBowlSeedLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSharedMarketOrdersArgs = { input: CreateMarketplaceOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSoilTestArgs = { input: CreateSoilTestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlStorageLocationArgs = { input: CreateHealthyBowlStorageLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSubstanceRuleArgs = { input: CreateComplianceSubstanceRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSuccessionPlanArgs = { input: CreateHealthyBowlSuccessionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlSupplierArgs = { input: CreateHealthyBowlSupplierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlTerraceGardenArgs = { input: CreateTerraceGardenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlTraceBatchArgs = { input: CreateTraceBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlTransactionArgs = { input: CreateHealthyBowlTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlTreatmentArgs = { input: CreateTreatmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlVaccinationArgs = { input: CreateVaccinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlWateringRunArgs = { input: CreateHealthyBowlWateringRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlWholesaleOrderArgs = { input: CreateHealthyBowlWholesaleOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHealthyBowlWorkerArgs = { input: CreateHealthyBowlWorkerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaAmcContractArgs = { input: HousingVistaCreateAmcContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaAreaInsightArgs = { input: HousingVistaCreateAreaInsightInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaAssetArgs = { input: HousingVistaCreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaExpenseArgs = { input: HousingVistaCreateExpenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaHomeLoanOfferArgs = { input: HousingVistaCreateHomeLoanOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaInvestmentArgs = { input: HousingVistaCreateInvestmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaLeaseArgs = { input: HousingVistaCreateLeaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaLegalServiceArgs = { input: HousingVistaCreateLegalServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaMaintenanceRequestArgs = { input: HousingVistaCreateMaintenanceRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaMarketTrendArgs = { input: HousingVistaCreateMarketTrendInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaMarketplaceServiceArgs = { input: HousingVistaCreateMarketplaceServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaPropertyArgs = { input: HousingVistaCreatePropertyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaRentalUnitArgs = { input: HousingVistaCreateRentalUnitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaTransactionArgs = { input: HousingVistaCreateTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateHousingvistaVerificationItemArgs = { input: HousingVistaCreateVerificationItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateIncidentArgs = { input: CreateIncidentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateIntegrationArgs = { input: CreateIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateIntelwatchtowerTagArgs = { input: IntCreateEntityTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateInventoryItemArgs = { input: CreateInventoryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateInventoryTransactionArgs = { input: CreateInventoryTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateInvitationArgs = { input: CreateInvitationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateInviteLinkArgs = { input: CreateInviteLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateInvoiceArgs = { input: AssetHandlerCreateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateKnowledgeArticleArgs = { input: CreateKnowledgeArticleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateKnowledgeBaseArgs = { input: CreateKnowledgeBaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateLegalHoldArgs = { input: CreateLegalHoldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateLifeGoalArgs = { input: TimeCampusLifeGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateLocationEntryArgs = { input: CreateLocationEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateLogStreamDestinationArgs = { input: CreateLogStreamDestinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMcpConnectionArgs = { input: CreateMcpConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMaintenanceContractArgs = { input: CreateMaintenanceContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMaintenancePlanArgs = { input: CreateMaintenancePlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMaintenanceRecordArgs = { input: CreateMaintenanceRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMeetingArgs = { input: CreateMeetingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMetricArgs = { input: CreateMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMtwPickTaskIntentArgs = { input: CreateMtwPickTaskIntentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMtwReportArgs = { input: MtwCreateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateMyNavViewArgs = { input: CreateNavViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateNoteArgs = { input: CreateVibecontrolsNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateNoteTagArgs = { input: CreateNoteTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateOrUpdateNodeEndpointConfigArgs = { input: NodeEndpointConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateOrUpdateOperationConfigArgs = { input: OperationConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateParserArgs = { input: CreateParserInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateParserFromTypeArgs = { input: CreateParserFromTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePermissionOverrideArgs = { input: CreatePermissionOverrideInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePhysicalAuditArgs = { input: CreatePhysicalAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePipelineArgs = { input: CreatePipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePolicyArgs = { input: CreatePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePolicyReferenceArgs = { input: CreatePolicyReferenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePomodoroGoalArgs = { input: CreatePomodoroGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateProblemArgs = { input: CreateProblemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateProjectArgs = { input: CreateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePromptEventArgs = { calendarId: Scalars['ID']['input']; endTime: Scalars['DateTime']['input']; isRecurring?: InputMaybe<Scalars['Boolean']['input']>; promptConfig: PromptConfigInput; rrule?: InputMaybe<Scalars['String']['input']>; startTime: Scalars['DateTime']['input']; title: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreatePromptTemplateArgs = { input: CreatePromptTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRagConfigArgs = { input: CreateRagConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateReminderArgs = { input: CreateReminderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateReportArgs = { input: CreateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateReportScheduleArgs = { input: CreateReportScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateResourcePlanArgs = { input: CreateResourcePlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRetrievalProfileArgs = { input: CreateRetrievalProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRoleArgs = { input: CreateRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRolePermissionOverrideArgs = { input: CreateRolePermissionOverrideInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRouteArgs = { input: CreateRouteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateRuleSetArgs = { input: CreateRuleSetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSandboxArgs = { input: CreateSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSandboxRunnerArgs = { input: CreateSandboxRunnerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSandboxTagArgs = { input: CreateSandboxTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSandboxTemplateArgs = { input: CreateSandboxTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSavedQueryArgs = { input: CreateSavedQueryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateScheduleFromTemplateArgs = { overrides?: InputMaybe<CreateScheduledJobInput>; templateId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateScheduleTemplateArgs = { input: CreateScheduleTemplateInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateScheduledJobArgs = { input: CreateScheduledJobInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateScorecardShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSecretArgs = { input: CreateSecretInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSecretShareLinkArgs = { input: CreateSecretShareLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSecurityExceptionArgs = { input: CreateSecurityExceptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSecurityExportJobArgs = { input: CreateSecurityExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateServiceConnectionArgs = { input: CreateServiceConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateServiceOfferingArgs = { input: MtwCreateServiceOfferingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateServiceProviderArgs = { input: MtwCreateServiceProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSessionArgs = { input: CreateSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSessionGrantShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSessionShareLinkArgs = { input: CreateShareLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateShareArgs = { input: FileCreateShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateShipmentArgs = { input: CreateShipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSiemDestinationArgs = { input: CreateSiemDestinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSkillArgs = { input: CreateSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateSnapshotArgs = { input: CreateSnapshotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagArgs = { input: CreateTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagRelationArgs = { input: CreateTagRelationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagRuleArgs = { input: CreateTagRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagSegmentArgs = { input: CreateSegmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagTranslationArgs = { input: CreateTagTranslationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTagsExportJobArgs = { input: CreateTagsExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTargetArgs = { input: CreateTargetInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTargetShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTaskArgs = { input: CreateTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTaskQueueArgs = { input: CreateTaskQueueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTemplateArgs = { input: BigConsoleCreateDashboardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTemplateShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTimeCampusProjectArgs = { input: CreateTimeCampusProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTimeCampusThirdPartyAppletArgs = { manifest: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTimeCampusTimeTriggerArgs = { input: CreateTimeCampusTimeTriggerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTimeEntryArgs = { input: CreateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTransactionArgs = { input: CreateAssetTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTunnelArgs = { input: CreateTunnelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateTunnelShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVaultArgs = { input: CreateVaultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVaultBackupArgs = { input: CreateVaultBackupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVaultIntegrationArgs = { input: CreateVaultIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVaultSecurityEventArgs = { input: CreateVaultSecurityEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVaultSyncConfigArgs = { input: CreateVaultSyncConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVehicleArgs = { input: CreateVehicleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeArgs = { input: CreateVibeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeCalendarTaskArgs = { input: CreateVibeCalendarTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeDeckArgs = { input: CreateVibeDeckInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeDeckButtonArgs = { input: CreateVibeDeckButtonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeDeckGrantShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeDeckShareLinkArgs = { input: CreateVibeDeckShareLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibeShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsAgentArgs = { input: CreateVibecontrolsAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsAgentProfileArgs = { input: CreateVibecontrolsAgentProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsCatalogArgs = { input: CreateCatalogInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsComponentArgs = { input: CreateComponentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsNoteShareLinkArgs = { input: CreateShareGrantLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsScorecardTemplateArgs = { input: CreateScorecardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVibecontrolsTagArgs = { input: CreateEntityTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVisibilityRuleArgs = { input: CreateVisibilityRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateVocabularyArgs = { input: CreateVocabularyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWarehouseArgs = { input: CreateWarehouseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWarehouseLocationArgs = { input: CreateWarehouseLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWebhookArgs = { input: CreateWebhookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWidgetActionArgs = { input: BigConsoleCreateWidgetActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWidgetDrilldownArgs = { maxDepth?: InputMaybe<Scalars['Int']['input']>; navigationMode?: InputMaybe<BigConsoleDrilldownNavigationMode>; parameterMapping: Scalars['JSON']['input']; passGlobalFilters?: InputMaybe<Scalars['Boolean']['input']>; sourceWidgetId: Scalars['ID']['input']; targetDashboardId: Scalars['ID']['input']; targetPageId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkOrderArgs = { input: CreateWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkerTokenArgs = { input: CreateSandboxWorkerTokenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowArgs = { input: CreateWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowDefinitionArgs = { input: CreateWorkflowDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowFolderArgs = { input: CreateWorkflowFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowProjectArgs = { input: CreateWorkflowProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowSandboxArgs = { input: CreateSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowScheduledJobArgs = { input: ScheduledJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowSearchAttributeArgs = { input: CreateWorkflowSearchAttributeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowSignalTokenArgs = { input: CreateWorkflowSignalTokenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowTestCaseArgs = { input: WorkflowTestCaseInput; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowTestCaseFromRunArgs = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowVariableArgs = { input: CreateWorkflowVariableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkflowVersionArgs = { input: CreateWorkflowVersionInput; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkspaceArgs = { input: CreateWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkspaceResourceArgs = { input: CreateWorkspaceResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkspaceSecretArgs = { rotationSchedule?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCreateWorkspacesExportJobArgs = { input: CreateWorkspacesExportJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewAcknowledgeWatchFindingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewAnalyzeSkillGapArgs = { input: CrewAnalyzeSkillGapInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewApplyAiDecisionArgs = { id: Scalars['ID']['input']; selectedIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewConfigureWatchArgs = { input: CrewConfigureWatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewDismissAiDecisionArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewProposeStaffingArgs = { input: CrewProposeStaffingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewShortlistCandidatesArgs = { input: CrewShortlistCandidatesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewSummarizeInterviewFeedbackArgs = { candidateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCrewfoundryWorkforceWatchTickArgs = { input: CrewfoundryWatchTickInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationCutoverKnowledgeBackendMigrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeactivateGgnomadBookingSlotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeactivateResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeactivateVibecontrolsAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeactivateWorkflowDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideActionPolicyApprovalArgs = { approve: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideHealthyBowlAgronomyDecisionArgs = { input: DecideAgronomyDecisionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideHealthyBowlFarmRecommendationArgs = { input: DecideHealthyBowlFarmRecommendationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideMcpToolCallApprovalArgs = { approve: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideMtwFreightInvoiceArgs = { input: DecideMtwFreightInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDecideToolApprovalArgs = { decisions: Array<ToolApprovalDecisionInput>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeclareLifeValueArgs = { input: TimeCampusLifeValueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeclineFileShareArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeclineGroupInvitationArgs = { membershipId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeclineShareArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDelegateA2ATaskArgs = { input: DelegateA2ATaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteA2AConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteA2ARegistryEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAiPromptArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteActionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteActionItemArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteActionPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteActivityPauseRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAgentDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAgentInstructionFileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAgentMessageBookmarkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAgentTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAiContextArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAllocationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAppAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAppTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteApplicationUsageArgs = { confirm?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteArtifactArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAssetAssignmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAssistantConversationArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteAvailabilityRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBatchDownloadArgs = { downloadId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBigConsoleDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBigConsoleWidgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBlackoutDateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBookingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBotAppArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBotlitAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBotmanorAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBucketArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCalendarArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCalendarResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCargoItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteChannelConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteChannelRouteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteClientPortalConfigArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCohortArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteConfigurationArgs = { key: Scalars['String']['input']; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteConfigurationItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteConnectionArgs = { deleteVaultSecret?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteContentIndexArgs = { fileId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteConversationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteCustomerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDashboardPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDashboardTranslationArgs = { dashboardId: Scalars['ID']['input']; locale: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDashboardViewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDataSinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDataSinkAlertArgs = { alertId: Scalars['ID']['input']; dataSinkId: Scalars['ID']['input']; expectedVersion: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDataTableArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDataTableRowsArgs = { ids: Array<Scalars['ID']['input']>; tableId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDeliveryJobArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDeploymentArgs = { componentId: Scalars['ID']['input']; environment: DeploymentEnvironment; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDocsBuildImageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDocsPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDocsSiteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDraftArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteDriverArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEmailTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEntityCommentArgs = { input: DeleteCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEventArgs = { id: Scalars['ID']['input']; scope?: InputMaybe<UpdateScope>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEventFilterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEventRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEventSchemaArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteEventWebhookMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteExpenseArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteExportJobArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteExportTemplateArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFileVersionArgs = { versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFilterPresetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFocusScoreArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFolderArgs = { id: Scalars['ID']['input']; recursive?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteFunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGeofenceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadAffiliateCommissionRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadChannelMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadPricingRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadTravelPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGgnomadTripPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGlobalFilterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGraphEdgeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGraphNodeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGroupArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGroupRuleArgs = { ruleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGroupSettingArgs = { settingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteGroupTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAdCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAdCreativeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAdCreativeTestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAdPlatformConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAudienceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingAutomationWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingCampaignTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingContactArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingDealArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingInfluencerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingInfluencerCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingInfluencerRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingLeadArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingPipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingPipelineStageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingSocialAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlAnimalArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlAnimalGroupArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlAnimalWeightArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlAuctionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlAuditArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlBedArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlBreedingRecordArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlBudgetArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCarbonCreditArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCertificationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlComplianceDocumentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCompostBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlContactArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCostCenterArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCrewArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCropArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlCsaPlanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlDeliveryRouteArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlDiseaseWarningRuleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlEudrStatementArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlExpertArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlFarmArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlFarmEventArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlFeedRecordArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlFieldArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlFieldObservationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGardenCareTaskArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGardenHarvestArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGardenInputArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGardenObservationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGardenPlantingArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGhgActivityArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGovernmentSchemeArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGrazingEventArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlGrowSpaceArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlHarvestRecordArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlHealthRecordArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlIcsGroupArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlIcsGrowerArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlIcsInspectionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlInputPlanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlInputPlanItemArgs = { context: ContextInput; id: Scalars['ID']['input']; planId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlInsurancePolicyArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlInvoiceArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlIrrigationAutomationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlIrrigationScheduleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlJournalEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlLabourEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlLedgerAccountArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlMapFeatureArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlMarketplaceProductArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlMedicationLibraryItemArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlMedicationTreatmentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlMentorArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlNurseryBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPestIssueArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPlantCatalogEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPlantScanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPlantingActivityArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPlantingPlanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPriceAlertRuleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlPriceWatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlProductArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlProductionRecordArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlRecipeArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlResidueTestArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlSeedLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlSensorProbeArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlSoilTestArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlStorageLocationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlStorageLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlSubstanceRuleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlSupplierArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlTerraceGardenArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlTraceBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlTransactionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlTreatmentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlVaccinationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlWholesaleOrderArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlWorkerArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHealthyBowlYieldScenarioArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaAmcContractArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaAreaInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaExpenseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaHomeLoanOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaInvestmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaLegalServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaMarketTrendArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaMarketplaceServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaPropertyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaRentalUnitArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaTransactionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteHousingvistaVerificationItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteInventoryItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteKnowledgeArticleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteKnowledgeBaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLlmModelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLlmProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLicenseEntitlementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLifeGoalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLifeValueArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLocationEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteLogStreamDestinationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMcpConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMaintenancePlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMaintenanceRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMeetingArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMessageArgs = { hard?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMetadataArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMetadataByKeyArgs = { fileId: Scalars['ID']['input']; key: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteModifiedInstanceArgs = { instanceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMtwReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMyAssistantConversationArgs = { clientConversationId?: InputMaybe<Scalars['ID']['input']>; conversationId?: InputMaybe<Scalars['ID']['input']>; productId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteMyNavViewArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteNodeArgs = { nodeType: Scalars['String']['input']; version: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteNodeEndpointConfigArgs = { nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteNoteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteOldAiToolEventsArgs = { beforeDate: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteOperationConfigArgs = { nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; operationName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteParserArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePhysicalAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePolicyReferenceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePomodoroGoalArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePromptGenerationArgs = { generationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeletePromptTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteProviderAuthMethodArgs = { key: Scalars['String']['input']; providerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteReportScheduleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteResourcePlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteRetrievalProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteRoleArgs = { id: Scalars['ID']['input']; reassignToRoleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteRouteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteRuleSetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSandboxArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSandboxRunnerArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSandboxTemplateArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSavedQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteScheduleTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteScheduledJobArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSecretArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSecurityComplianceFrameworkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSecurityGovernancePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteServiceOfferingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteServiceProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSettingsSecretArgs = { key: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteShipmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSiemDestinationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSkillArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteSoftwareAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTagArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTagRelationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTagRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTagSegmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTagTranslationArgs = { locale: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTargetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTaskQueueArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeCampusCaptureChannelArgs = { confirm?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeCampusCaptureEventArgs = { confirm?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeCampusInvoiceDraftArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeCampusProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeCampusTimeTriggerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTransactionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteTunnelDomainArgs = { domainId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVaultIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVaultSyncConfigArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVehicleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibeArgs = { deleteRelatedEntities?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibeCalendarTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibeDeckArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibeDeckButtonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibeEnvVarArgs = { key: Scalars['String']['input']; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsAgentArgs = { deleteTarget?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; uninstallFromTarget?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsAgentProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsCatalogArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsComponentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsScorecardTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVibecontrolsTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteVocabularyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWarehouseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWebhookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWidgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWidgetActionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWidgetDrilldownArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkPatternArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkerTokenArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowDefinitionArgs = { version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowFolderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowRolloutArgs = { environment?: InputMaybe<WorkflowEnvironment>; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowRunsArgs = { input: DeleteWorkflowRunsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowScheduledJobArgs = { jobId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowSearchAttributeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowTestCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkflowVariableArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkspaceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeleteWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDelistTimeCampusAppletFromMarketplaceArgs = { appletId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDenyGgnomadDamageClaimArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeployAgentViaMeshArgs = { input: AgentMeshDeployInput; rootAgentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeployWorkflowVersionToDevArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeprecateMcpToolSetArgs = { version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDeprecateTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDetachAgentFromVibeArgs = { input: DetachAgentFromVibeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDetachCrewCandidateSkillArgs = { candidateId: Scalars['ID']['input']; skillId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDetachCrewSkillArgs = { employeeId: Scalars['ID']['input']; skillId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDetachEmployeeDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDetachTunnelDomainArgs = { domainId: Scalars['ID']['input']; tunnelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDiagnoseHealthyBowlPlantScanArgs = { input: DiagnosePlantScanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisableAssistantChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisableAssistantWebsiteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisableDocsBuildImageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisableProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisableScheduleArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDiscardDlqEntryArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDiscardKnowledgeBackendMigrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectAgentFromTargetArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectExternalCalendarArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectHeadshotmarketingIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectHeadshotmarketingSocialAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectHealthyBowlAccountingIntegrationArgs = { context: ContextInput; provider: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisconnectTimeCampusCaptureChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDismissHealthyBowlComplianceFlagArgs = { input: DismissComplianceFlagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDismissOptimisationSuggestionArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; reason: OptimisationDismissReason; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDismissRecommendationArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDismissRunFailureClusterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchBotmanorSupervisorTickArgs = { input: SupervisorTickInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlAccountingSyncArgs = { input: DispatchHealthyBowlAccountingSyncInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlAuctionSweepArgs = { input: DispatchHealthyBowlAuctionSweepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlConsultReminderSweepArgs = { input: DispatchHealthyBowlConsultReminderSweepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlCsaNotificationArgs = { input: DispatchHealthyBowlCsaNotificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlDeliveryRouteArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlDiseaseWarningArgs = { input: DispatchHealthyBowlDiseaseWarningInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlMandiPriceIngestArgs = { input: DispatchHealthyBowlMandiPriceIngestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlSensorReadingArgs = { input: DispatchHealthyBowlSensorReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDispatchHealthyBowlWateringRunArgs = { input: DispatchHealthyBowlWateringRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDisposeAssetArgs = { id: Scalars['ID']['input']; input: DisposeAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateAiPromptArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateActionArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateCollectionArgs = { input: DuplicateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateDashboardPageArgs = { id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateEventArgs = { eventId: Scalars['ID']['input']; newStartTime?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateHeadshotmarketingCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicatePromptTemplateArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateVibeDeckArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateWidgetArgs = { id: Scalars['ID']['input']; newPosition?: InputMaybe<BigConsoleWidgetPositionInput>; newTitle?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationDuplicateWorkflowArgs = { input: DuplicateWorkflowInput; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAcceptCarbonEntryDraftArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAddReportLineItemArgs = { input: EcoAddReportLineItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAiDraftCarbonEntriesArgs = { input: EcoAiDraftCarbonEntriesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAiProposeThresholdArgs = { input: EcoAiProposeThresholdInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAiSuggestEmissionFactorArgs = { input: EcoAiSuggestEmissionFactorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoAiTriageAlertArgs = { input: EcoAiTriageAlertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoApplyIngestionRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoApproveReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveDataSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveEnergyAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveGrantArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveGrantFunderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveGrantMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveHabitatProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveMaterialLoopArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveSiteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveSpeciesArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoArchiveWasteStreamArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCancelCarbonCreditArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCancelDeadlineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCompleteAuditArgs = { findingsSummary?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; score?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCompleteDeadlineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateAuditArgs = { input: EcoCreateAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateCorrectiveActionArgs = { input: EcoCreateCorrectiveActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateCreditMethodologyArgs = { input: EcoCreateCreditMethodologyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateCreditVintageArgs = { input: EcoCreateCreditVintageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateDataSourceArgs = { input: EcoCreateDataSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateDeadlineArgs = { input: EcoCreateDeadlineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateDonorPortalLinkArgs = { appOrigin?: InputMaybe<Scalars['String']['input']>; grantId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateEhsPermitArgs = { input: EcoCreateEhsPermitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateEmissionFactorArgs = { input: EcoCreateEmissionFactorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateEnergyAssetArgs = { input: EcoCreateEnergyAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateGrantArgs = { input: EcoCreateGrantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateGrantFunderArgs = { input: EcoCreateGrantFunderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateGrantMilestoneArgs = { input: EcoCreateGrantMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateHabitatProjectArgs = { input: EcoCreateHabitatProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateIncidentArgs = { input: EcoCreateIncidentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateMaterialLoopArgs = { input: EcoCreateMaterialLoopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateMetricArgs = { input: EcoCreateMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateObligationArgs = { input: EcoCreateObligationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreatePermitArgs = { input: EcoCreatePermitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateReductionTargetArgs = { input: EcoCreateReductionTargetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateReportArgs = { creationKey?: InputMaybe<Scalars['String']['input']>; input: EcoCreateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateRiskArgs = { input: EcoCreateRiskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateSensorArgs = { input: EcoCreateSensorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateSiteArgs = { creationKey?: InputMaybe<Scalars['String']['input']>; input: EcoCreateSiteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateSpeciesArgs = { creationKey?: InputMaybe<Scalars['String']['input']>; input: EcoCreateSpeciesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateThresholdArgs = { input: EcoCreateThresholdInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoCreateWasteStreamArgs = { input: EcoCreateWasteStreamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoDeleteMaterialLoopFlowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoDeleteWasteRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoImportEnergyReadingsArgs = { input: EcoImportEnergyReadingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoIssueCarbonCreditsArgs = { input: EcoIssueCarbonCreditsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoLogAiPromptArgs = { input: EcoLogAiPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoLogAiResponseArgs = { input: EcoLogAiResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoLogRestorationActivityArgs = { input: EcoLogRestorationActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoPublishReportArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordCarbonEntryArgs = { input: EcoRecordCarbonEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordEnergyReadingArgs = { input: EcoRecordEnergyReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordMaterialLoopFlowArgs = { input: EcoRecordMaterialLoopFlowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordMeasurementArgs = { input: EcoRecordMeasurementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordObservationArgs = { input: EcoRecordObservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRecordWasteArgs = { input: EcoRecordWasteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRejectCarbonEntryDraftArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRejectReportArgs = { input: EcoRejectReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRenewEhsPermitArgs = { id: Scalars['ID']['input']; years: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoReportAiTokenUsageArgs = { input: EcoReportAiTokenUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRetireCarbonCreditsArgs = { input: EcoRetireCarbonCreditsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoRevokeDonorPortalLinkArgs = { grantId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetCorrectiveActionStatusArgs = { id: Scalars['ID']['input']; status: EcoCorrectiveActionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetCreditMethodologyStatusArgs = { id: Scalars['ID']['input']; status: EcoCreditMethodologyStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetEhsPermitStatusArgs = { id: Scalars['ID']['input']; status: EcoEhsPermitStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetEnergyGridBaselineArgs = { input: EcoSetEnergyGridBaselineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetIncidentStatusArgs = { id: Scalars['ID']['input']; status: EcoIncidentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetObligationStatusArgs = { id: Scalars['ID']['input']; status: EcoObligationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetPermitStatusArgs = { id: Scalars['ID']['input']; status: EcoPermitStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetReductionTargetStatusArgs = { id: Scalars['ID']['input']; status: EcoReductionTargetStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetSensorStatusArgs = { id: Scalars['ID']['input']; status: EcoSensorStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSetThresholdActiveArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoStartAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoSubmitReportForApprovalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoTransferCarbonCreditArgs = { input: EcoTransferCarbonCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoTransitionGrantArgs = { id: Scalars['ID']['input']; status: EcoGrantStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoTransitionGrantMilestoneArgs = { id: Scalars['ID']['input']; status: EcoGrantMilestoneStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoTransitionHabitatProjectArgs = { id: Scalars['ID']['input']; status: EcoHabitatProjectStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoTriggerIngestionArgs = { input: EcoTriggerIngestionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateAuditArgs = { id: Scalars['ID']['input']; input: EcoUpdateAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateCorrectiveActionArgs = { id: Scalars['ID']['input']; input: EcoUpdateCorrectiveActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateDataSourceArgs = { id: Scalars['ID']['input']; input: EcoUpdateDataSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateDeadlineArgs = { id: Scalars['ID']['input']; input: EcoUpdateDeadlineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateEhsPermitArgs = { id: Scalars['ID']['input']; input: EcoUpdateEhsPermitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateEnergyAssetArgs = { id: Scalars['ID']['input']; input: EcoUpdateEnergyAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateGrantArgs = { id: Scalars['ID']['input']; input: EcoUpdateGrantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateGrantFunderArgs = { id: Scalars['ID']['input']; input: EcoUpdateGrantFunderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateGrantMilestoneArgs = { id: Scalars['ID']['input']; input: EcoUpdateGrantMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateIncidentArgs = { id: Scalars['ID']['input']; input: EcoUpdateIncidentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateMaterialLoopArgs = { id: Scalars['ID']['input']; input: EcoUpdateMaterialLoopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateMetricArgs = { id: Scalars['ID']['input']; input: EcoUpdateMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateObligationArgs = { id: Scalars['ID']['input']; input: EcoUpdateObligationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdatePermitArgs = { id: Scalars['ID']['input']; input: EcoUpdatePermitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateRiskArgs = { id: Scalars['ID']['input']; input: EcoUpdateRiskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateSiteArgs = { id: Scalars['ID']['input']; input: EcoUpdateSiteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateSpeciesArgs = { id: Scalars['ID']['input']; input: EcoUpdateSpeciesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpdateWasteStreamArgs = { id: Scalars['ID']['input']; input: EcoUpdateWasteStreamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoUpsertMetricArgs = { input: EcoUpsertMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEcoVerifyCarbonEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEditMessageArgs = { input: EditMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEmitWidgetEventArgs = { input: BigConsoleEmitWidgetEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnableMaintenanceModeArgs = { duration?: InputMaybe<Scalars['Int']['input']>; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnableProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEndCallArgs = { callSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEndCrewShiftPatternArgs = { endDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEndHealthyBowlGrazingMoveArgs = { input: EndHealthyBowlGrazingMoveInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEndTimeCampusFocusSessionArgs = { id: Scalars['ID']['input']; status: TimeCampusFocusSessionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnrollHealthyBowlCsaMemberArgs = { input: EnrollHealthyBowlCsaMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnsureAppConnectionArgs = { providerKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnsureFolderByPathArgs = { path: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnsureHealthyBowlChartOfAccountsArgs = { context: ContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEnsureTagAssignmentArgs = { input: EnsureTagAssignmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEraseBotmanorWorkspaceDataArgs = { confirmWorkspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationErasePlanmagnetWorkspaceDataArgs = { confirmWorkspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEraseSubjectArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEscalateHealthyBowlStressedZoneArgs = { input: HbEscalateStressedZoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEscalateIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedApplyAgendaFixArgs = { eventId: Scalars['ID']['input']; input: EventfullyManagedApplyAgendaFixInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateAttendeeArgs = { input: EventfullyManagedAttendeeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateBadgeTemplateArgs = { input: EventfullyManagedBadgeTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateCheckInRecordArgs = { input: EventfullyManagedCheckInRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateCheckInStationArgs = { input: EventfullyManagedCheckInStationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateEventArgs = { input: EventfullyManagedEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateEventFromTemplateArgs = { input: EventfullyManagedCreateEventFromTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateEventSessionArgs = { input: EventfullyManagedEventSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateExhibitorArgs = { input: EventfullyManagedExhibitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateFloorPlanArgs = { input: EventfullyManagedFloorPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateIntegrationConnectorArgs = { input: EventfullyManagedCreateIntegrationConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateLeadArgs = { input: EventfullyManagedLeadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateManualCheckInArgs = { input: EventfullyManagedManualCheckInInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateMeetingArgs = { input: EventfullyManagedMeetingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateNetworkingMatchArgs = { input: EventfullyManagedNetworkingMatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateNetworkingProfileArgs = { input: EventfullyManagedNetworkingProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreatePromoCodeArgs = { input: EventfullyManagedPromoCodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateRegistrationArgs = { input: EventfullyManagedRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateSpeakerArgs = { input: EventfullyManagedSpeakerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateSponsorArgs = { input: EventfullyManagedSponsorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateTicketTypeArgs = { input: EventfullyManagedTicketTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedCreateVenueArgs = { input: EventfullyManagedVenueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteAttendeeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteAutomationRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteBadgeTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteCheckInRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteCheckInStationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteEventArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteEventSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteEventTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteExhibitorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteFloorPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteIntegrationConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteLeadArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteMeetingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteNetworkingMatchArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteNetworkingProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeletePromoCodeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteSpeakerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteSponsorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteTicketTypeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteVenueArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedDeleteWorkflowTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedEndVirtualSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedEnqueueBadgePrintArgs = { input: EventfullyManagedEnqueueBadgePrintInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedEraseAttendeePersonalDataArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedEraseLeadPersonalDataArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedEraseSpeakerPersonalDataArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedForecastAttendanceArgs = { eventId: Scalars['ID']['input']; input?: InputMaybe<EventfullyManagedForecastInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedGenerateBadgeArgs = { registrationId: Scalars['ID']['input']; templateId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedGenerateNetworkingMatchesArgs = { eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedHostVirtualSessionArgs = { eventId: Scalars['ID']['input']; eventSessionId?: InputMaybe<Scalars['ID']['input']>; mode?: EventfullyManagedVirtualSessionMode; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedJoinVirtualSessionArgs = { eventId: Scalars['ID']['input']; eventSessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedLeaveVirtualSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedMarkBadgePrintJobFailedArgs = { error?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedMarkBadgePrintJobPrintedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedPredictNoShowsArgs = { eventId: Scalars['ID']['input']; input?: InputMaybe<EventfullyManagedForecastInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedPromoteVirtualPresenterArgs = { actorId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedPublishAnnouncementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedRegisterForSessionArgs = { registrationId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedResolveAgendaConflictsArgs = { eventId: Scalars['ID']['input']; input?: InputMaybe<EventfullyManagedForecastInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedRetireAnalyticsSnapshotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedRetireAutomationRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedRetireWorkflowTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedRightSizeSessionsArgs = { eventId: Scalars['ID']['input']; input?: InputMaybe<EventfullyManagedForecastInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSaveEventTemplateArgs = { input: EventfullyManagedSaveEventTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedScanCheckInArgs = { input: EventfullyManagedScanCheckInInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSendCommunicationCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSendVirtualSignalArgs = { payload: Scalars['JSON']['input']; sessionId: Scalars['ID']['input']; signalType: EventfullyManagedVirtualSignalType; toActorId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSetVirtualMuteArgs = { muted: Scalars['Boolean']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSetVirtualVideoArgs = { sessionId: Scalars['ID']['input']; videoEnabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedSyncAttendeesToConnectorArgs = { connectorId: Scalars['ID']['input']; eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUnregisterFromSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateAttendeeArgs = { id: Scalars['ID']['input']; input: EventfullyManagedAttendeeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateBadgeTemplateArgs = { id: Scalars['ID']['input']; input: EventfullyManagedBadgeTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateCheckInRecordArgs = { id: Scalars['ID']['input']; input: EventfullyManagedCheckInRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateCheckInStationArgs = { id: Scalars['ID']['input']; input: EventfullyManagedCheckInStationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateEventArgs = { id: Scalars['ID']['input']; input: EventfullyManagedEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateEventSessionArgs = { id: Scalars['ID']['input']; input: EventfullyManagedEventSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateExhibitorArgs = { id: Scalars['ID']['input']; input: EventfullyManagedExhibitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateFloorPlanArgs = { id: Scalars['ID']['input']; input: EventfullyManagedFloorPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateLeadArgs = { id: Scalars['ID']['input']; input: EventfullyManagedLeadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateMeetingArgs = { id: Scalars['ID']['input']; input: EventfullyManagedMeetingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateNetworkingMatchArgs = { id: Scalars['ID']['input']; input: EventfullyManagedNetworkingMatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateNetworkingProfileArgs = { id: Scalars['ID']['input']; input: EventfullyManagedNetworkingProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdatePromoCodeArgs = { id: Scalars['ID']['input']; input: EventfullyManagedPromoCodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateRegistrationArgs = { id: Scalars['ID']['input']; input: EventfullyManagedRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateSpeakerArgs = { id: Scalars['ID']['input']; input: EventfullyManagedSpeakerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateSponsorArgs = { id: Scalars['ID']['input']; input: EventfullyManagedSponsorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateTicketTypeArgs = { id: Scalars['ID']['input']; input: EventfullyManagedTicketTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpdateVenueArgs = { id: Scalars['ID']['input']; input: EventfullyManagedVenueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpsertAnalyticsSnapshotArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: EventfullyManagedSimpleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpsertAnnouncementArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: EventfullyManagedSimpleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpsertAutomationRuleArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: EventfullyManagedSimpleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpsertCommunicationCampaignArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: EventfullyManagedSimpleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationEventfullyManagedUpsertWorkflowTemplateArgs = { id?: InputMaybe<Scalars['ID']['input']>; input: EventfullyManagedSimpleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteActionArgs = { id: Scalars['ID']['input']; input?: InputMaybe<ExecuteActionInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteAgentMeshRequestArgs = { destinationAgentId?: InputMaybe<Scalars['ID']['input']>; hops?: InputMaybe<Array<Scalars['ID']['input']>>; request: AgentMeshRequestInput; rootAgentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteAssistantTurnArgs = { grantToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteCalendarSyncArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteGroupActionArgs = { actionType: Scalars['String']['input']; groupId: Scalars['ID']['input']; payload: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteJobNowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteParserArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecutePipelineArgs = { input: ExecutePipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecutePromptNowArgs = { eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteScheduledPromptArgs = { agentId: Scalars['ID']['input']; profile: Scalars['String']['input']; prompt: Scalars['String']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteSharedVibeDeckButtonArgs = { buttonId: Scalars['ID']['input']; password?: InputMaybe<Scalars['String']['input']>; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteStepArgs = { input: ExecuteStepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteTransformArgs = { input: ExecuteTransformInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteVibeDeckButtonArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExecuteWorkflowArgs = { id: Scalars['ID']['input']; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExpireWorkspaceQuotaAssignmentsForSubscriptionArgs = { secret?: InputMaybe<Scalars['String']['input']>; subscriptionId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportCrewfoundryEntitiesArgs = { input: ExportCrewfoundryEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportDashboardArgs = { id: Scalars['ID']['input']; includeComments?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportGgnomadEntitiesArgs = { input: ExportGgnomadEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportGroupDataArgs = { format: GroupExportFormat; groupId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportHeadshotmarketingEntitiesArgs = { input: ExportHeadshotmarketingEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportHealthyBowlEudrStatementArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportMtwEntitiesArgs = { input: ExportMtwEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportSessionsArgs = { input: SessionExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportSubjectArgs = { subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportTimeCampusEntitiesArgs = { input: ExportTimeCampusEntitiesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportTimeCampusUserDataArgs = { input: ExportTimeCampusUserDataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportVibeAuditLogsArgs = { input: VibeAuditExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExportWorkspaceResourceConfigArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExposeConnectorOperationAsMcpToolArgs = { input: ExposeConnectorOperationAsMcpToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExposeWorkflowAsMcpToolArgs = { input: ExposeWorkflowAsMcpToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExtendFileLockArgs = { input: ExtendLockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExtendMyAssistantSandboxTtlArgs = { additionalSeconds: Scalars['Int']['input']; context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationExtendSandboxTtlArgs = { additionalSeconds: Scalars['Int']['input']; context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFailActivityAsyncArgs = { failure: WorkflowAsyncFailureInput; taskToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFailActivityByIdArgs = { activityId: Scalars['ID']['input']; failure: WorkflowAsyncFailureInput; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFgTriageFailedRunsArgs = { input?: InputMaybe<FgTriageFailedRunsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFileGgnomadDamageClaimArgs = { bookingId: Scalars['ID']['input']; input: FileGgnomadDamageClaimInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFileHealthyBowlInsuranceClaimArgs = { input: FileHealthyBowlInsuranceClaimInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationFilesEnforceQuotaArgs = { action: Scalars['String']['input']; quotaName: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationForceReleaseFileLockArgs = { lockId: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationForkInstalledPackageArgs = { input: ForkInstalledPackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationForkVibecontrolsGitHubRepoArgs = { input: VibecontrolsForkGitHubRepoInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationForwardMessageArgs = { messageId: Scalars['ID']['input']; targetConversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateAgentGraphContextUrlArgs = { expiresInMinutes?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateCrewShiftPatternShiftsArgs = { id: Scalars['ID']['input']; through?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateCustomNodeArgs = { input: GenerateCustomNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateDashboardFromPromptArgs = { input: BigConsoleGenerateDashboardFromPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateDocsSignedUrlArgs = { siteId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateDueMaintenanceRecordsArgs = { input?: InputMaybe<GenerateMaintenanceRecordsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateEncryptionKeyArgs = { input: GenerateEncryptionKeyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateGroupShareLinkArgs = { groupId: Scalars['ID']['input']; input?: InputMaybe<GenerateShareLinkInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateHeadshotmarketingAdBudgetRecommendationArgs = { adCampaignId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateHealthyBowlAnalyticsReportArgs = { context: ContextInput; endDate: Scalars['String']['input']; startDate: Scalars['String']['input']; title?: InputMaybe<Scalars['String']['input']>; type: HealthyBowlGeneratableReportType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateHealthyBowlCertificateOfOriginArgs = { input: GenerateCertificateOfOriginInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateHealthyBowlDeliveryRouteArgs = { input: GenerateHealthyBowlDeliveryRouteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateHealthyBowlMrvReportArgs = { input: GenerateHealthyBowlMrvReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateMtwReportArgs = { id: Scalars['ID']['input']; input?: InputMaybe<MtwGenerateReportInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateReportArgs = { input: GenerateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateTimeCampusInvoiceDraftArgs = { input: GenerateTimeCampusInvoiceDraftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateVibeLlmContextUrlArgs = { input?: InputMaybe<VibeLlmContextMintInput>; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGenerateWorkflowFromPromptArgs = { input: GenerateWorkflowFromPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGgnomadAcceptTripPlanProposalArgs = { itemIds?: InputMaybe<Array<Scalars['ID']['input']>>; proposalId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGgnomadGenerateTripPlanArgs = { input: GgnomadGenerateTripPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAddCaseNoteArgs = { input: GovAddCaseNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAddDocumentArgs = { input: GovAddDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAddMyDocumentArgs = { input: GovAddDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAddMyDocumentFromWalletArgs = { applicationId: Scalars['ID']['input']; requirement?: InputMaybe<Scalars['String']['input']>; walletDocumentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAddMyWalletDocumentArgs = { input: GovAddWalletDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovArchiveAgencyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovArchiveJurisdictionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovAttachPermitFileArgs = { fileId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovBulkRecordIndicatorValuesArgs = { input: Array<GovRecordIndicatorValueInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCloseConsultationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateAdminLevelArgs = { input: GovCreateAdminLevelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateAgencyArgs = { input: GovCreateAgencyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateApplicationArgs = { input: GovCreateApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateBudgetArgs = { input: GovCreateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateConsultationArgs = { input: GovCreateConsultationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateDatasetArgs = { input: GovCreateDatasetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateElectionArgs = { input: GovCreateElectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateIndicatorArgs = { input: GovCreateIndicatorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateJurisdictionArgs = { input: GovCreateJurisdictionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateJurisdictionEventArgs = { input: GovCreateJurisdictionEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateMyApplicationArgs = { input: GovCreateApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateOfficialArgs = { input: GovCreateOfficialInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateOfficialCommitmentArgs = { input: GovCreateOfficialCommitmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreatePaymentArgs = { input: GovCreatePaymentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateProjectArgs = { input: GovCreateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateProjectMilestoneArgs = { input: GovCreateProjectMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreatePublicAssetArgs = { input: GovCreatePublicAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateRoutingRuleArgs = { input: GovCreateRoutingRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateServiceArgs = { input: GovCreateServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovCreateSlaEscalationRuleArgs = { input: GovCreateSlaEscalationRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteAdminLevelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteBudgetLineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteConsultationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteElectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteIndicatorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteIndicatorValueArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteJurisdictionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteJurisdictionEventArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteMyWalletDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteOfficialArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteOfficialCommitmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteProjectMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeletePublicAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteRoutingRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovDeleteSlaEscalationRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovFollowJurisdictionArgs = { channels?: InputMaybe<Array<Scalars['String']['input']>>; jurisdictionId: Scalars['ID']['input']; topics?: InputMaybe<Array<Scalars['String']['input']>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovIssuePermitArgs = { input: GovIssuePermitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovMarkPaymentPaidArgs = { id: Scalars['ID']['input']; providerRef?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovOpenConsultationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovPublishBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovPublishConsultationResultsArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovPublishDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovPublishJurisdictionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRecordDatasetDownloadArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRecordElectionResultsArgs = { electionId: Scalars['ID']['input']; results: Array<GovElectionResultInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRecordIndicatorValueArgs = { input: GovRecordIndicatorValueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRefundPaymentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReplyToMyApplicationArgs = { applicationId: Scalars['ID']['input']; body: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReportGrievanceArgs = { input: GovReportGrievanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReportMyGrievanceArgs = { input: GovReportGrievanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReviewDataChangeProposalArgs = { decision: GovProposalStatus; id: Scalars['ID']['input']; reviewNote?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReviewDocumentArgs = { id: Scalars['ID']['input']; rejectionReason?: InputMaybe<Scalars['String']['input']>; status: GovDocumentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovReviewWalletDocumentArgs = { id: Scalars['ID']['input']; rejectionReason?: InputMaybe<Scalars['String']['input']>; status: GovWalletDocumentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRevokePermitArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovRunSlaWatchLoopArgs = { input: GovRunSlaWatchLoopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSeedAdminLevelsArgs = { countryCode: Scalars['String']['input']; preset?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSeedIndicatorCatalogArgs = { domains?: InputMaybe<Array<GovIndicatorDomain>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSubmitApplicationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSubmitConsultationResponseArgs = { input: GovSubmitConsultationResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSubmitDataChangeProposalArgs = { input: GovSubmitDataChangeProposalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovSubmitMyApplicationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovTransitionApplicationArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; status: GovApplicationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovTransitionGrievanceArgs = { id: Scalars['ID']['input']; resolution?: InputMaybe<Scalars['String']['input']>; status: GovGrievanceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovTransitionServiceArgs = { id: Scalars['ID']['input']; status: GovServiceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUnfollowJurisdictionArgs = { jurisdictionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateAdminLevelArgs = { id: Scalars['ID']['input']; input: GovUpdateAdminLevelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateAgencyArgs = { id: Scalars['ID']['input']; input: GovUpdateAgencyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateApplicationArgs = { id: Scalars['ID']['input']; input: GovUpdateApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateBudgetArgs = { id: Scalars['ID']['input']; input: GovUpdateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateConsultationArgs = { id: Scalars['ID']['input']; input: GovUpdateConsultationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateDatasetArgs = { id: Scalars['ID']['input']; input: GovUpdateDatasetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateElectionArgs = { id: Scalars['ID']['input']; input: GovUpdateElectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateGrievanceArgs = { id: Scalars['ID']['input']; input: GovUpdateGrievanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateIndicatorArgs = { id: Scalars['ID']['input']; input: GovUpdateIndicatorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateIndicatorValueArgs = { id: Scalars['ID']['input']; input: GovUpdateIndicatorValueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateJurisdictionArgs = { id: Scalars['ID']['input']; input: GovUpdateJurisdictionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateJurisdictionEventArgs = { id: Scalars['ID']['input']; input: GovUpdateJurisdictionEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateMyWalletDocumentArgs = { id: Scalars['ID']['input']; input: GovUpdateWalletDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateOfficialArgs = { id: Scalars['ID']['input']; input: GovUpdateOfficialInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateOfficialCommitmentArgs = { id: Scalars['ID']['input']; input: GovUpdateOfficialCommitmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateProjectArgs = { id: Scalars['ID']['input']; input: GovUpdateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateProjectMilestoneArgs = { id: Scalars['ID']['input']; input: GovUpdateProjectMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateProjectStatusArgs = { delayReason?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; progressPercent?: InputMaybe<Scalars['Int']['input']>; status: GovProjectStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdatePublicAssetArgs = { id: Scalars['ID']['input']; input: GovUpdatePublicAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateRoutingRuleArgs = { id: Scalars['ID']['input']; input: GovUpdateRoutingRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateServiceArgs = { id: Scalars['ID']['input']; input: GovUpdateServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateSlaEscalationRuleArgs = { id: Scalars['ID']['input']; input: GovUpdateSlaEscalationRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpdateWatchLoopConfigArgs = { input: GovUpdateWatchLoopConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovUpsertBudgetLinesArgs = { budgetId: Scalars['ID']['input']; lines: Array<GovBudgetLineInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGovWithdrawDataChangeProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGrantAgentDefinitionArgs = { agentDefinitionId: Scalars['ID']['input']; expiresInDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGrantFilePermissionArgs = { fileId: Scalars['ID']['input']; input: GrantPermissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGrantFolderPermissionArgs = { folderId: Scalars['ID']['input']; input: GrantPermissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGrantHealthyBowlFinancierAccessArgs = { input: GrantHealthyBowlFinancierAccessInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationGrantSourceConsentArgs = { mode?: InputMaybe<Scalars['String']['input']>; onDeviceOnly?: InputMaybe<Scalars['Boolean']['input']>; retentionDays?: InputMaybe<Scalars['Int']['input']>; source: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHandOffMtwFreightInvoiceSettlementArgs = { input: HandOffMtwFreightInvoiceSettlementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHandleChannelMessageArgs = { input: HandleChannelMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHandleFluidGridsWebhookArgs = { payload: FluidGridsWebhookPayloadInput; signature?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingAddLandingPageSectionArgs = { input: HeadshotmarketingAddLandingPageSectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingApplyAudienceSuggestionArgs = { input: HeadshotmarketingApplyAudienceSuggestionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCancelRegistrationArgs = { registrationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCheckInAttendeeArgs = { registrationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCheckSeoKeywordRankArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingConfigureAutonomousLoopArgs = { input: HeadshotmarketingConfigureAutonomousLoopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingConfirmAgentActionArgs = { actionId: Scalars['ID']['input']; approve: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateAiToolArgs = { input: HeadshotmarketingCreateAiToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateContentItemArgs = { input: HeadshotmarketingCreateContentItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateEventArgs = { input: HeadshotmarketingCreateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateEventRegistrationArgs = { input: HeadshotmarketingCreateEventRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateEventSpeakerArgs = { input: HeadshotmarketingCreateEventSpeakerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateLandingPageArgs = { input: HeadshotmarketingCreateLandingPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateSeoAuditArgs = { input: HeadshotmarketingCreateSeoAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateSeoKeywordArgs = { input: HeadshotmarketingCreateSeoKeywordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateSavedReportArgs = { input: HeadshotmarketingCreateSavedReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingCreateTrackedLinkArgs = { input: HeadshotmarketingCreateTrackedLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteAiToolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteContentItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteEventArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteEventSpeakerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteFileMarketingMetaArgs = { fileId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteLandingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteMonthlyGoalArgs = { month: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteSeoAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteSeoKeywordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteSavedReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDeleteSavedReportScheduleArgs = { reportId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDetectCampaignAnomalyArgs = { input: HeadshotmarketingDetectCampaignAnomalyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingDismissAudienceSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingExecuteAiToolArgs = { input: HeadshotmarketingExecuteAiToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingOptimizeCampaignBudgetArgs = { input: HeadshotmarketingOptimizeCampaignBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingPublishLandingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecommendNextActionArgs = { input: HeadshotmarketingRecommendNextActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecommendSendTimeArgs = { input: HeadshotmarketingRecommendSendTimeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecordCampaignAnalyticsArgs = { input: HeadshotmarketingRecordCampaignAnalyticsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecordChannelPerformanceArgs = { input: HeadshotmarketingRecordChannelPerformanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecordTouchpointArgs = { input: HeadshotmarketingRecordTouchpointInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRecordTouchpointsArgs = { inputs: Array<HeadshotmarketingRecordTouchpointInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRefreshSeoKeywordDataArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRegisterForEventArgs = { input: HeadshotmarketingCreateEventRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRemoveLandingPageSectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingReorderLandingPageSectionsArgs = { input: HeadshotmarketingReorderSectionsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingResolveTrackedClickArgs = { clickId: Scalars['String']['input']; contactId?: InputMaybe<Scalars['ID']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRunSeoAuditArgs = { maxDepth?: InputMaybe<Scalars['Int']['input']>; maxPages?: InputMaybe<Scalars['Int']['input']>; url: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingRunScheduledOptimizationArgs = { input: HeadshotmarketingRunScheduledOptimizationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingScoreLeadArgs = { input: HeadshotmarketingScoreLeadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingScoreLeadsBatchArgs = { input: HeadshotmarketingScoreLeadsBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSendAgentMessageArgs = { input: HeadshotmarketingSendAgentMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSendSavedReportNowArgs = { reportId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSetFileMarketingMetaArgs = { input: HeadshotmarketingSetFileMarketingMetaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSetMonthlyGoalArgs = { input: HeadshotmarketingSetMonthlyGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSetSavedReportScheduleArgs = { input: HeadshotmarketingSetSavedReportScheduleInput; reportId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingSuggestAudienceSegmentArgs = { input: HeadshotmarketingSuggestAudienceSegmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingTrackKeywordArgs = { input: HeadshotmarketingCreateSeoKeywordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingTranslateCampaignCopyArgs = { input: HeadshotmarketingTranslateCampaignCopyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUnpublishLandingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateAiToolArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateAiToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateContentItemArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateContentItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateEventArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateEventRegistrationArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateEventRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateEventSpeakerArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateEventSpeakerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateLandingPageArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateLandingPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateLandingPageSectionArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateLandingPageSectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateSeoAuditArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateSeoAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateSeoKeywordArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateSeoKeywordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeadshotmarketingUpdateSavedReportArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateSavedReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHealthybowlNotifyMentionArgs = { input: HealthyBowlNotifyMentionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeartbeatActivityAsyncArgs = { details?: InputMaybe<Scalars['JSON']['input']>; taskToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeartbeatActivityByIdArgs = { activityId: Scalars['ID']['input']; details?: InputMaybe<Scalars['JSON']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHeartbeatDashboardPresenceArgs = { connectionId: Scalars['ID']['input']; dashboardId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHideMessageArgs = { messageId: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHmTriggerAutomationWorkflowArgs = { context?: InputMaybe<Scalars['JSON']['input']>; subjectId: Scalars['ID']['input']; subjectType: HeadshotmarketingAutomationSubjectType; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAcceptGuardianInviteArgs = { token: Scalars['String']['input']; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddCreditArgs = { input: HokCreateCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddHlsPackageArgs = { input: HokAddHlsPackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddMediaRenditionArgs = { input: HokAddMediaRenditionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddProductionMemberArgs = { input: HokAddProductionMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddStoryboardFrameArgs = { input: HokAddStoryboardFrameInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokAddTalentReelItemArgs = { input: HokAddTalentReelItemInput; personId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokApplyProductionPlanArgs = { input: HokApplyProductionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokApplyShootingScheduleArgs = { days: Array<HokApplyShootDayInput>; productionId: Scalars['ID']['input']; replacePlanned?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokApplyToAuditionArgs = { input: HokApplyToAuditionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokArchiveTitleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCancelCallbackArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCastFromOfferArgs = { input: HokCastFromOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokChannelStreamHeartbeatArgs = { consent?: InputMaybe<HokAdConsentInput>; pageUrl?: InputMaybe<Scalars['String']['input']>; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCheckOfflineLicensesArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCloseAuditionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCompleteCallbackArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCompleteOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokConfirmOfferPaymentReceivedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateAdCampaignArgs = { input: HokAdCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateAuditionArgs = { input: HokCreateAuditionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateChannelArgs = { input: HokCreateChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateClipArgs = { input: HokCreateClipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateCostItemArgs = { input: HokCreateCostItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateEmbedArgs = { input: HokCreateEmbedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateEpisodeArgs = { input: HokCreateEpisodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateListArgs = { input: HokCreateListInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateLocalizationArgs = { input: HokCreateLocalizationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateLocationArgs = { input: HokLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreatePersonArgs = { input: HokCreatePersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateProductionArgs = { input: HokCreateProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateProfileArgs = { input: HokCreateProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateReviewArgs = { input: HokCreateReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateRightsWindowArgs = { input: HokCreateRightsWindowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateSavedSearchArgs = { input: HokSavedSearchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateSceneArgs = { input: HokCreateSceneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateSeasonArgs = { input: HokCreateSeasonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateShootDayArgs = { input: HokCreateShootDayInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateShotArgs = { input: HokCreateShotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateStudioArgs = { input: HokCreateStudioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateTitleArgs = { input: HokCreateTitleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokCreateWatchPartyArgs = { input: HokCreateWatchPartyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeclineGuardianInviteArgs = { token: Scalars['String']['input']; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteAdCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteClipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteCostItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteListArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteLocalizationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteLocationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeletePersonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteReviewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteSavedSearchArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteSceneArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteShootDayArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteShotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteStoryboardFrameArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDeleteStudioArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokDisableChannelHlsFeedArgs = { channelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokEnableChannelHlsFeedArgs = { channelId: Scalars['ID']['input']; ladderSlatePackageIds?: InputMaybe<Array<Scalars['ID']['input']>>; scte35?: InputMaybe<Scalars['Boolean']['input']>; slatePackageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokEndChannelStreamArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokFollowTalentArgs = { personId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokGenerateCallSheetPdfArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokGrantEntitlementArgs = { input: HokGrantEntitlementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokGrantPartnerAccessArgs = { input: HokGrantPartnerAccessInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokImportScriptArgs = { input: HokImportScriptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokIngestWatchOffersArgs = { input: HokIngestWatchOffersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokInviteGuardianArgs = { input: HokInviteGuardianInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokInviteTalentToProductionArgs = { input: HokInviteTalentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokJoinWatchPartyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokMarkOfferPaidArgs = { id: Scalars['ID']['input']; paymentReference?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokMarkSavedSearchAlertsReadArgs = { ids?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokMoveStripArgs = { input: HokMoveStripInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokPublishCallSheetArgs = { notes?: InputMaybe<Scalars['String']['input']>; shootDayId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRaiseDisputeArgs = { input: HokRaiseDisputeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRaiseProductionDisputeArgs = { input: HokRaiseDisputeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRateProductionArgs = { input: HokRateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRateTalentArgs = { input: HokRateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecalculateRoyaltyLedgerArgs = { input: HokRecalculateRoyaltyLedgerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecordAdImpressionArgs = { campaignId: Scalars['ID']['input']; decisionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecordLegalAcceptanceArgs = { checkpointType: HokLegalCheckpointType; documentVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecordPlaybackEventArgs = { input: HokRecordPlaybackEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecordProgressArgs = { input: HokRecordProgressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRecordRecommendationEventsArgs = { events: Array<HokRecommendationEventInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokReleaseOfflineLicenseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveCreditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveHlsPackageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveMediaRenditionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveProductionMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveScheduleBlockArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveTalentReelItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRemoveTasteFeedbackArgs = { titleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokReorderStoryboardFramesArgs = { frameIds: Array<Scalars['ID']['input']>; shotId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokReportContentArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokReportWatchFeedFailureArgs = { input: HokReportWatchFeedFailureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRequestAdBreakArgs = { input: HokRequestAdBreakInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRequestAdScheduleArgs = { input: HokAdScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRequestOfflineDownloadArgs = { input: HokOfflineDownloadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokResolveDisputeArgs = { input: HokResolveDisputeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokResolveModerationFlagArgs = { id: Scalars['ID']['input']; resolution?: InputMaybe<Scalars['String']['input']>; status: HokModerationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRespondToCallbackArgs = { input: HokRespondToCallbackInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRespondToOfferArgs = { input: HokRespondToOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokReviewIdentityVerificationArgs = { approve: Scalars['Boolean']['input']; id: Scalars['ID']['input']; rejectionReason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRevokeEmbedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRevokeEntitlementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRevokeGuardianLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRevokePartnerAccessArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokRotateChannelHlsFeedTokenArgs = { channelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSaveDailyReportArgs = { input: HokSaveDailyReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokScheduleBlockArgs = { input: HokScheduleBlockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokScheduleCallbackArgs = { input: HokScheduleCallbackInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokScheduleScenesArgs = { sceneIds: Array<Scalars['ID']['input']>; shootDayId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokScoreApplicationArgs = { id: Scalars['ID']['input']; score: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSendOfferArgs = { input: HokSendOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetAdCampaignStatusArgs = { id: Scalars['ID']['input']; status: HokAdCampaignStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetDefaultLocalizationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetPartnerTierArgs = { id: Scalars['ID']['input']; tier: HokPartnerTier; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetPreferencesArgs = { input: HokSetPreferencesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetProductionResultingTitleArgs = { id: Scalars['ID']['input']; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetRightsWindowOfflinePolicyArgs = { id: Scalars['ID']['input']; input: HokRightsWindowOfflinePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetRoyaltyRevenuePoolArgs = { input: HokSetRoyaltyRevenuePoolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetSceneCastArgs = { memberIds: Array<Scalars['ID']['input']>; sceneId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetTasteFeedbackArgs = { kind: HokTasteFeedbackKind; titleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSetTitleRoyaltySplitsArgs = { splits: Array<HokRoyaltySplitInput>; titleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokStartChannelStreamArgs = { channelId: Scalars['ID']['input']; consent?: InputMaybe<HokAdConsentInput>; device?: InputMaybe<Scalars['String']['input']>; pageUrl?: InputMaybe<Scalars['String']['input']>; profileId?: InputMaybe<Scalars['ID']['input']>; territory?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokStartDisputeReviewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSubmitDisputeStatementArgs = { disputeId: Scalars['ID']['input']; statement: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSubmitIdentityVerificationArgs = { input: HokSubmitIdentityVerificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokSubmitProductionDisputeStatementArgs = { disputeId: Scalars['ID']['input']; statement: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokTransitionChannelStatusArgs = { id: Scalars['ID']['input']; status: HokChannelStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokTransitionProductionArgs = { id: Scalars['ID']['input']; status: HokProductionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokTransitionRightsWindowArgs = { id: Scalars['ID']['input']; status: HokRightsWindowStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokTransitionTitleArgs = { id: Scalars['ID']['input']; status: HokTitleStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUnfollowTalentArgs = { personId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUnvoteReviewHelpfulArgs = { reviewId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateAdCampaignArgs = { id: Scalars['ID']['input']; input: HokUpdateAdCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateAdSettingsArgs = { input: HokUpdateAdSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateChannelArgs = { id: Scalars['ID']['input']; input: HokUpdateChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateCostItemArgs = { id: Scalars['ID']['input']; input: HokUpdateCostItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateListArgs = { id: Scalars['ID']['input']; input: HokUpdateListInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateLocationArgs = { id: Scalars['ID']['input']; input: HokUpdateLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdatePartyPlaybackArgs = { id: Scalars['ID']['input']; isPlaying: Scalars['Boolean']['input']; positionSeconds: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdatePersonArgs = { id: Scalars['ID']['input']; input: HokUpdatePersonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateProductionMemberArgs = { id: Scalars['ID']['input']; input: HokUpdateProductionMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateProfileArgs = { id: Scalars['ID']['input']; input: HokUpdateProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateSavedSearchArgs = { id: Scalars['ID']['input']; input: HokSavedSearchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateSceneArgs = { id: Scalars['ID']['input']; input: HokUpdateSceneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateShootDayArgs = { id: Scalars['ID']['input']; input: HokUpdateShootDayInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateShotArgs = { id: Scalars['ID']['input']; input: HokUpdateShotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateStoryboardFrameArgs = { id: Scalars['ID']['input']; input: HokUpdateStoryboardFrameInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateStudioArgs = { id: Scalars['ID']['input']; input: HokUpdateStudioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpdateTitleArgs = { id: Scalars['ID']['input']; input: HokUpdateTitleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokUpsertWatchProviderArgs = { input: HokUpsertWatchProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokVoteReviewHelpfulArgs = { reviewId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokWithdrawOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHokWithdrawTalentInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationHoldMtwContainerArgs = { input: HoldMtwContainerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIgnoreHealthyBowlStatementLineArgs = { input: HealthyBowlStatementLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportBigConsoleDashboardArgs = { input: ImportBigConsoleDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportDashboardArgs = { input: BigConsoleImportDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportDashboardTemplateArgs = { input: BigConsoleImportDashboardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlBankStatementArgs = { input: ImportHealthyBowlBankStatementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlContactsArgs = { input: ImportHealthyBowlContactsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlHealthRecordsArgs = { input: ImportHealthyBowlLivestockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlMachinerySpendArgs = { input: ImportHealthyBowlMachinerySpendInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlSuppliersArgs = { context: ContextInput; rows: Array<ImportHealthyBowlSupplierRow>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportHealthyBowlVaccinationsArgs = { input: ImportHealthyBowlLivestockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportIcsToCalendarArgs = { calendarId: Scalars['ID']['input']; icsContent: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportMtwCargoItemsArgs = { input: MtwImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportMtwCustomersArgs = { input: MtwImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportMtwDriversArgs = { input: MtwImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportMtwVehiclesArgs = { input: MtwImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportMtwWarehousesArgs = { input: MtwImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportSecretsArgs = { input: ImportSecretsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportTargetsFromConfigArgs = { agentId: Scalars['ID']['input']; hosts: Array<ConfigHostInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportWorkflowArgs = { input: ImportWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportWorkflowTemplateArgs = { input: ImportWorkflowTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationImportWorkspaceResourceConfigArgs = { config: ImportResourceConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIncrementFileDownloadCountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIncrementFileViewCountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIndexFileContentArgs = { input: ReindexFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIngestHeadshotmarketingSocialMentionArgs = { input: HeadshotmarketingIngestSocialMentionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIngestHealthyBowlMandiPricesArgs = { input: IngestHealthyBowlMandiPricesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIngestHealthyBowlNdviReadingArgs = { input: HbNdviReadingIngestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIngestHealthyBowlSensorReadingArgs = { input: IngestSensorReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIngestTimeCampusCaptureEventsArgs = { channelId?: InputMaybe<Scalars['ID']['input']>; events: Array<TimeCampusCaptureEventInput>; idlePeriods?: InputMaybe<Array<TimeCampusIdlePeriodInput>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitializeDisposableWorkspaceMembersArgs = { input: InitializeDisposableWorkspaceMembersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitializeNewWorkspaceArgs = { input: InitializeNewWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitializeWorkspaceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitializeWorkspaceRolesArgs = { ownerId: Scalars['String']['input']; workspaceId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitiateOAuthArgs = { input: InitiateOAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInitiateUploadArgs = { input: InitiateUploadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInsertDataTableRowArgs = { data: Scalars['JSON']['input']; tableId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallActionFromStoreArgs = { name?: InputMaybe<Scalars['String']['input']>; storeItemId: Scalars['String']['input']; version?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallAgentOnTargetArgs = { agentPort?: InputMaybe<Scalars['Int']['input']>; sourceAgentId: Scalars['ID']['input']; targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallAgentPluginArgs = { agentId: Scalars['ID']['input']; packageName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallAssistantWorkflowsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallCourseIngestionWorkflowsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallDashboardTemplateTypeArgs = { input: BigConsoleInstallDashboardTemplateTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallNodeArgs = { input: InstallNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallPackageArgs = { input: InstallPackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallParserTypeArgs = { input: InstallParserTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallProviderPluginArgs = { input: InstallProviderPluginInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallStorePluginOnAgentArgs = { agentId: Scalars['ID']['input']; licenseKey?: InputMaybe<Scalars['String']['input']>; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallTimeCampusAppletArgs = { key: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallTimeCampusMarketplaceAppletArgs = { grantedScopes: Array<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallTimeCampusThirdPartyAppletArgs = { grantedScopes: Array<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallWidgetTypeArgs = { input: BigConsoleInstallWidgetTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstallWorkspaceAppsArgs = { input: InstallWorkspaceAppInput; workspaceIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstantiateTemplateArgs = { input: BigConsoleInstantiateDashboardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInstantiateVibecontrolsTemplateArgs = { input: VibecontrolsCloneTemplateInput; templateId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntAddCaseEntryArgs = { input: IntAddCaseEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntAttachAlertToCaseArgs = { alertId: Scalars['ID']['input']; caseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCloseCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateCaseArgs = { input: IntCreateCaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateDetectionRuleArgs = { input: IntCreateDetectionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateEntityArgs = { input: IntCreateEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateEntityRelationshipArgs = { input: IntCreateEntityRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateFeedArgs = { input: IntCreateFeedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateIndicatorArgs = { input: IntCreateIndicatorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateMissionArgs = { input: IntCreateMissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateReportArgs = { input: IntCreateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateRequirementArgs = { input: IntCreateRequirementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateSourceArgs = { input: IntCreateSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntCreateTaskArgs = { input: IntCreateTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntDeactivateIndicatorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntDeleteDetectionRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntDeleteEntityRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntPauseFeedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntRaiseAlertArgs = { input: IntRaiseAlertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntRecallReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntRecordFeedIngestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntRecordObservationArgs = { input: IntRecordObservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntReleaseReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntReopenCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntResumeFeedArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntRetireSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntSatisfyRequirementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntTransitionAlertArgs = { id: Scalars['ID']['input']; status: IntAlertStatus; triageNotes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntTransitionMissionArgs = { id: Scalars['ID']['input']; status: IntMissionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntTransitionRequirementArgs = { id: Scalars['ID']['input']; status: IntRequirementStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntTransitionTaskArgs = { id: Scalars['ID']['input']; resultSummary?: InputMaybe<Scalars['String']['input']>; status: IntTaskStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntUpdateDetectionRuleArgs = { id: Scalars['ID']['input']; input: IntUpdateDetectionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntUpdateEntityArgs = { id: Scalars['ID']['input']; input: IntUpdateEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntUpdateFeedArgs = { id: Scalars['ID']['input']; input: IntUpdateFeedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIntUpdateSourceArgs = { id: Scalars['ID']['input']; input: IntUpdateSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInterruptPomodoroSessionArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInvalidateDataSinkCacheArgs = { id?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInviteHealthyBowlContractFarmArgs = { input: InviteHealthyBowlContractFarmInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInviteHealthyBowlCoopMemberArgs = { input: InviteHealthyBowlCoopMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInviteToGroupArgs = { groupId: Scalars['ID']['input']; invitees: Array<InviteInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationInviteWorkspaceMemberArgs = { email: Scalars['String']['input']; message?: InputMaybe<Scalars['String']['input']>; role: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotAcknowledgeAlertArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotCreateDeviceTypeArgs = { input: IotDeviceTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotCreateGeofenceArgs = { input: IotGeofenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotCreateThresholdRuleArgs = { input: IotThresholdRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotDeleteDeviceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotDeleteDeviceTypeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotDeleteGeofenceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotDeleteThresholdRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotIngestReadingArgs = { input: IotIngestReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotLinkAlertExternalRefArgs = { externalRef: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotMintIngestKeyArgs = { input: IotMintIngestKeyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotRegisterDeviceArgs = { input: IotDeviceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotRevokeIngestKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotUpdateDeviceArgs = { id: Scalars['ID']['input']; input: IotDeviceUpdateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotUpdateGeofenceArgs = { id: Scalars['ID']['input']; input: IotGeofenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIotUpdateThresholdRuleArgs = { id: Scalars['ID']['input']; input: IotThresholdRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueAgentRunTokenArgs = { input: IssueAgentRunTokenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueCrewSiteCheckInCodeArgs = { siteName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueGgnomadTicketArgs = { bookingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueGgnomadTicketAsOperatorArgs = { bookingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueTunnelSessionArgs = { ttlSeconds?: InputMaybe<Scalars['Int']['input']>; tunnelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationIssueWorkspaceTokenArgs = { input: IssueWorkspaceTokenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationJoinCallArgs = { callSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationJoinGroupArgs = { shareToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationJoinSharedSessionArgs = { input: JoinSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationJoinViaInviteLinkArgs = { code: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiAddAddressArgs = { input: KadaikodiAddAddressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiAddPaymentMethodArgs = { input: KadaikodiAddPaymentMethodInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiAwardLoyaltyPointsArgs = { input: KadaikodiAwardLoyaltyPointsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateInvestmentOpportunityArgs = { input: KadaikodiCreateInvestmentOpportunityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateMembershipPlanArgs = { input: KadaikodiCreateMembershipPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateOfferingArgs = { input: KadaikodiCreateOfferingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreatePaymentIntentArgs = { input: KadaikodiCreatePaymentIntentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateProviderWorkerArgs = { input: KadaikodiCreateProviderWorkerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateReviewArgs = { input: KadaikodiCreateReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateServiceProviderArgs = { input: KadaikodiCreateServiceProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiCreateWorkerTaskArgs = { input: KadaikodiCreateWorkerTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiDeleteAddressArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiDeleteOfferingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiInvestArgs = { input: KadaikodiInvestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiPlaceOrderArgs = { input: KadaikodiPlaceOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiRedeemLoyaltyPointsArgs = { input: KadaikodiRedeemLoyaltyPointsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiRemovePaymentMethodArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiRequestPayoutArgs = { input: KadaikodiRequestPayoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiRespondToReviewArgs = { id: Scalars['ID']['input']; response: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiSetDefaultAddressArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiSetDefaultPaymentMethodArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiSubscribeToMembershipArgs = { input: KadaikodiSubscribeToMembershipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiToggleFavoriteArgs = { providerId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateAddressArgs = { id: Scalars['ID']['input']; input: KadaikodiUpdateAddressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateMembershipPlanArgs = { id: Scalars['ID']['input']; input: KadaikodiUpdateMembershipPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateOfferingArgs = { id: Scalars['ID']['input']; input: KadaikodiUpdateOfferingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateOrderStatusArgs = { id: Scalars['ID']['input']; status: KadaikodiOrderStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateProviderWorkerArgs = { id: Scalars['ID']['input']; metadata: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateServiceProviderArgs = { id: Scalars['ID']['input']; input: KadaikodiUpdateServiceProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateWorkerTaskArgs = { notes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<KadaikodiWorkerTaskStatus>; taskId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiUpdateWorkerTaskStatusArgs = { status: KadaikodiWorkerTaskStatus; taskId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationKadaikodiWorkerClockInOutArgs = { action: KadaikodiClockAction; workerId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabAddDatasetVersionArgs = { input: LabAddDatasetVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabAddProtocolStepArgs = { input: LabAddProtocolStepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabAdjustInventoryArgs = { id: Scalars['ID']['input']; input: LabAdjustInventoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveExperimentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveInstrumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveInventoryItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveNotebookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchivePipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveProtocolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabArchiveRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabBeginRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabBookInstrumentArgs = { input: LabBookInstrumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCancelBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCompleteRunArgs = { id: Scalars['ID']['input']; input?: InputMaybe<LabRecordRunResultsInput>; status: LabRunStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateDatasetArgs = { input: LabCreateDatasetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateExperimentArgs = { input: LabCreateExperimentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateInstrumentArgs = { input: LabCreateInstrumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateInventoryItemArgs = { input: LabCreateInventoryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateNotebookEntryArgs = { input: LabCreateNotebookEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreatePipelineArgs = { input: LabCreatePipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateProjectArgs = { input: LabCreateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabCreateProtocolArgs = { input: LabCreateProtocolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabDeprecateProtocolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabOverrideAgentRunArgs = { experimentId: Scalars['ID']['input']; note: Scalars['String']['input']; recommendation: LabRunRecommendation; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabPlanRunArgs = { input: LabCreateRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabPublishProtocolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabRecommendNextRunArgs = { experimentId: Scalars['ID']['input']; requestedProvider?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabReviseProtocolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabRunPipelineArgs = { input: LabRunPipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSetDatasetStatusArgs = { id: Scalars['ID']['input']; status: LabDatasetStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSetInventoryStatusArgs = { id: Scalars['ID']['input']; input: LabSetInventoryStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSetWorkspaceAiModelArgs = { model: Scalars['String']['input']; provider: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSetWorkspaceAutoPilotArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSignNotebookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabStartRunArgs = { input: LabCreateRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSubmitNotebookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabSuggestProtocolArgs = { input: LabSuggestProtocolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabTransitionExperimentArgs = { id: Scalars['ID']['input']; status: LabExperimentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabTransitionPipelineRunArgs = { id: Scalars['ID']['input']; log?: InputMaybe<Scalars['String']['input']>; status: LabPipelineRunStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabUpdateExperimentArgs = { id: Scalars['ID']['input']; input: LabUpdateExperimentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabUpdateInstrumentArgs = { id: Scalars['ID']['input']; input: LabUpdateInstrumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabUpdateProjectArgs = { id: Scalars['ID']['input']; input: LabUpdateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabUpdateProtocolArgs = { id: Scalars['ID']['input']; input: LabUpdateProtocolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabVoidNotebookEntryArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLabWitnessNotebookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLeaveCallArgs = { callSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLeaveConversationArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLeaveDashboardPresenceArgs = { connectionId: Scalars['ID']['input']; dashboardId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLeaveSharedSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkCrewEmployeeUserArgs = { employeeId: Scalars['ID']['input']; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkDataSinkToWorkflowArgs = { input: LinkDataSinkInput; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkEntityToVibeArgs = { input: LinkEntityToVibeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkHeadshotmarketingSocialAccountConnectionArgs = { id: Scalars['ID']['input']; integrationConnectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkHealthyBowlHarvestToInventoryArgs = { input: LinkHarvestToInventoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkIntegrationToChannelArgs = { channelId: Scalars['String']['input']; connectionId: Scalars['ID']['input']; organizationId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkSandboxToVibeArgs = { context: ContextInput; id: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; visibility?: InputMaybe<VibeVisibility>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkScheduleToVibeArgs = { id: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; visibility?: InputMaybe<VibeVisibility>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLinkWorkflowGitRepositoryArgs = { input: LinkWorkflowGitRepositoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationListenForFormTestSubmissionArgs = { input: ListenForFormTestSubmissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationListenForWebhookTestEventArgs = { input: ListenForWebhookTestEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLockHealthyBowlGhgInventoryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLockVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLogHealthyBowlLabourEntryArgs = { input: LogHealthyBowlLabourEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLogHealthyBowlMedicationTreatmentArgs = { input: LogMedicationTreatmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLogHealthyBowlPlantScanToPestIssueArgs = { input: LogPlantScanToPestIssueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLogLifeTimeEntryArgs = { domain: TimeCampusLifeDomain; duration?: InputMaybe<Scalars['Int']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; note?: InputMaybe<Scalars['String']['input']>; startTime: Scalars['DateTime']['input']; title?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationLogTimeCampusFocusInterruptionArgs = { app?: InputMaybe<Scalars['String']['input']>; focusSessionId: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManAddBomLineArgs = { input: ManAddBomLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManAddOperationArgs = { input: ManCreateOperationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManArchiveWorkCenterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManAssignMaterialSerialArgs = { id: Scalars['ID']['input']; input: ManAssignMaterialSerialInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCalculateMaterialRequirementsArgs = { productionOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCompleteMaintenanceWorkOrderArgs = { id: Scalars['ID']['input']; input: ManCompleteMaintenanceWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateAssetArgs = { input: ManCreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateBomArgs = { input: ManCreateBomInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateDemandArgs = { input: ManCreateDemandInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateErpConnectionArgs = { input: ManCreateErpConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateInspectionPlanArgs = { input: ManCreateInspectionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateInventoryItemArgs = { input: ManCreateInventoryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateMachineTagMappingArgs = { input: ManCreateMachineTagMappingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateMaintenanceWorkOrderArgs = { input: ManCreateMaintenanceWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateMaterialLotArgs = { input: ManCreateMaterialLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateProductionOrderArgs = { input: ManCreateProductionOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreatePurchaseRequestArgs = { input: ManCreatePurchaseRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManCreateWorkCenterArgs = { input: ManCreateWorkCenterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManDeleteMachineTagMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManErpPullInventoryItemsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManErpPullOrdersArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManErpPushInventoryItemArgs = { connectionId: Scalars['ID']['input']; inventoryItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManErpPushOrderStatusArgs = { productionOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManIngestTagReadingArgs = { input: ManIngestTagReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManLinkMaterialLotToOrderArgs = { input: ManLinkLotToOrderInput; lotId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManLinkNonConformanceEntityArgs = { id: Scalars['ID']['input']; input: ManNonConformanceLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRaiseNonConformanceArgs = { input: ManRaiseNonConformanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManReceiveMaterialSerialsArgs = { entry: ManSerialEntryInput; lotId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRecordDowntimeArgs = { input: ManRecordDowntimeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRecordInspectionArgs = { input: ManRecordInspectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRecordLegalAcceptanceArgs = { checkpointType: ManLegalCheckpointType; documentVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRecordMeasurementArgs = { input: ManRecordMeasurementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRecordOperationArgs = { id: Scalars['ID']['input']; input: ManRecordOperationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManReleaseMaterialLotArgs = { id: Scalars['ID']['input']; input: ManReleaseMaterialLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManReleaseMaterialSerialArgs = { id: Scalars['ID']['input']; input: ManReleaseMaterialLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRemoveOperationArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManReopenNonConformanceArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRescheduleOperationArgs = { id: Scalars['ID']['input']; plannedStart: Scalars['DateTime']['input']; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManReverseMaterialLotLinkArgs = { linkId: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManRunShiftWatchArgs = { input: ManRunShiftWatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManScheduleProductionOrdersArgs = { input: ManScheduleProductionOrdersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManSetDemandStatusArgs = { id: Scalars['ID']['input']; status: ManDemandStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManSetMaterialLotStatusArgs = { id: Scalars['ID']['input']; inspectionId?: InputMaybe<Scalars['ID']['input']>; nonConformanceId?: InputMaybe<Scalars['ID']['input']>; reason?: InputMaybe<Scalars['String']['input']>; status: ManMaterialLotStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManSetMaterialSerialStatusArgs = { id: Scalars['ID']['input']; nonConformanceId?: InputMaybe<Scalars['ID']['input']>; reason?: InputMaybe<Scalars['String']['input']>; status: ManMaterialLotStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManSetPurchaseRequestStatusArgs = { id: Scalars['ID']['input']; status: ManPurchaseRequestStatus; supplierReference?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManTransitionMaintenanceWorkOrderArgs = { id: Scalars['ID']['input']; status: ManMaintenanceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManTransitionNonConformanceArgs = { comment?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; status: ManNonConformanceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManTransitionProductionOrderArgs = { id: Scalars['ID']['input']; status: ManProductionOrderStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUnassignMaterialSerialArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUnlinkNonConformanceEntityArgs = { id: Scalars['ID']['input']; linkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateAssetArgs = { id: Scalars['ID']['input']; input: ManUpdateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateDemandArgs = { id: Scalars['ID']['input']; input: ManUpdateDemandInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateErpConnectionArgs = { id: Scalars['ID']['input']; input: ManUpdateErpConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateInventoryItemArgs = { id: Scalars['ID']['input']; input: ManUpdateInventoryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateMachineTagMappingArgs = { id: Scalars['ID']['input']; input: ManUpdateMachineTagMappingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateMaterialLotArgs = { id: Scalars['ID']['input']; input: ManUpdateMaterialLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateNonConformanceArgs = { id: Scalars['ID']['input']; input: ManUpdateNonConformanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateOperationArgs = { id: Scalars['ID']['input']; input: ManUpdateOperationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateProductionOrderArgs = { id: Scalars['ID']['input']; input: ManUpdateProductionOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateWatchFindingArgs = { id: Scalars['ID']['input']; input: ManUpdateWatchFindingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateWatchLoopConfigArgs = { input: ManUpdateWatchLoopConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManUpdateWorkCenterArgs = { id: Scalars['ID']['input']; input: ManUpdateWorkCenterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManVerifyNonConformanceArgs = { id: Scalars['ID']['input']; input: ManVerifyNonConformanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationManageContainersArgs = { action: Scalars['String']['input']; nodeTypes?: InputMaybe<Array<Scalars['String']['input']>>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkConversationAsReadArgs = { conversationId: Scalars['ID']['input']; messageId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkGgnomadBookingNoShowArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkHealthyBowlAggregationLotSoldArgs = { input: MarkHealthyBowlAggregationLotSoldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkHealthyBowlAlertReadArgs = { input: MarkHealthyBowlAlertReadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkHealthyBowlGovernmentNotificationReadArgs = { input: MarkHealthyBowlGovernmentNotificationReadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkHealthyBowlWeatherAlertHandledArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMarkNoShowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMatchHealthyBowlStatementLineArgs = { input: MatchHealthyBowlStatementLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMergeCrewSkillsArgs = { sourceId: Scalars['ID']['input']; targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMergeTagArgs = { sourceId: Scalars['ID']['input']; targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMergeTagsArgs = { fromTagId: Scalars['ID']['input']; toTagId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMergeTimeCampusCaptureEventsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMintAgentCapabilityArgs = { agentId: Scalars['ID']['input']; profile: Scalars['String']['input']; resourceId?: InputMaybe<Scalars['String']['input']>; scope: AgentCapabilityScope; ttlSeconds?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationModifyRecurringInstanceArgs = { input: ModifyRecurringInstanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveFileArgs = { input: MoveFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveFolderArgs = { input: MoveFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveHeadshotmarketingDealArgs = { id: Scalars['ID']['input']; stageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveTagArgs = { id: Scalars['ID']['input']; newParentId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveVibeArgs = { id: Scalars['ID']['input']; newParentId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveVibeDeckButtonArgs = { id: Scalars['ID']['input']; input: MoveVibeDeckButtonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveWidgetToPageArgs = { position: BigConsoleWidgetPositionInput; targetPageId: Scalars['ID']['input']; widgetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveWorkflowFolderArgs = { id: Scalars['ID']['input']; parentId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMoveWorkspaceResourceArgs = { id: Scalars['ID']['input']; targetWorkspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwAcceptShipmentDecisionArgs = { decisionId: Scalars['ID']['input']; optionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwApplyDispatchPlanArgs = { accept: Array<Scalars['ID']['input']>; planId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwApplyDocumentExtractionArgs = { accept: Array<Scalars['String']['input']>; corrections?: InputMaybe<Array<MtwExtractionCorrectionInput>>; extractionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwExtractDocumentArgs = { docType: MtwDocumentType; fileId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwNarrateShipmentRiskForecastArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwPlanDispatchArgs = { input?: InputMaybe<MtwPlanDispatchInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRecommendCarrierArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRejectDispatchPlanArgs = { planId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRejectShipmentDecisionArgs = { decisionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwResolveExceptionArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRunIntegrationPollsArgs = { input?: InputMaybe<MtwRunIntegrationPollsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRunRiskSweepArgs = { input?: InputMaybe<MtwRunRiskSweepInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMtwRunScheduledReportsArgs = { input?: InputMaybe<MtwRunScheduledReportsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMuteConversationArgs = { conversationId: Scalars['ID']['input']; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybAcceptNutritionRetuningArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybAchieveGoalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybActivateNutritionPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybAddExerciseArgs = { input: MybCreateExerciseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybAddWorkoutArgs = { input: MybCreateWorkoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybArchiveProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCancelChallengeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCompleteMindfulnessSessionArgs = { input: MybCompleteMindfulnessSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCompleteSessionArgs = { id: Scalars['ID']['input']; input: MybCompleteSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybConnectDeviceArgs = { input: MybConnectDeviceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCreateChallengeArgs = { input: MybCreateChallengeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCreateCoachingArgs = { input: MybCreateCoachingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCreateGoalArgs = { input: MybCreateGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCreateNutritionPlanArgs = { input: MybCreateNutritionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybCreateProgramArgs = { input: MybCreateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybDeleteMealArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybDeleteMySocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybDisconnectDeviceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybDismissNutritionRetuningArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybExportDataArgs = { input: MybExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybGiveKudosArgs = { postId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybJoinChallengeArgs = { challengeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybLeaveChallengeArgs = { challengeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybLogMealArgs = { input: MybLogMealInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybLogRecoveryArgs = { input: MybLogRecoveryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybLogSetArgs = { input: MybLogSetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybModerateSocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybRecordBodyMetricArgs = { input: MybRecordMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybRecordLegalAcceptanceArgs = { input: MybRecordLegalAcceptanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybRemoveKudosArgs = { postId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybSetAiProcessingConsentArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybShareToFeedArgs = { input: MybShareToFeedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybStartSessionArgs = { input: MybStartSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybSyncDeviceReadingsArgs = { connectionId: Scalars['ID']['input']; readings: Array<MybSyncReadingInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybTransitionCoachingArgs = { id: Scalars['ID']['input']; status: MybCoachingStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybTransitionProgramArgs = { id: Scalars['ID']['input']; status: MybProgramStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybUpdateAiSettingsArgs = { input: MybUpdateAiSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybUpdateGoalArgs = { id: Scalars['ID']['input']; input: MybUpdateGoalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybUpdateMySocialProfileArgs = { input: MybUpdateSocialProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybUpdateNutritionPlanArgs = { id: Scalars['ID']['input']; input: MybUpdateNutritionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationMybUpdateProgramArgs = { id: Scalars['ID']['input']; input: MybUpdateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationNotifyTagAssignedArgs = { input: NotifyTagAssignedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationNotifyTagRemovedArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; key: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationNotifyVibecontrolsAgentPluginChangeArgs = { agentId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationNukeVibecontrolsAgentArgs = { agentId: Scalars['ID']['input']; all?: InputMaybe<Scalars['Boolean']['input']>; dryRun?: InputMaybe<Scalars['Boolean']['input']>; keep?: InputMaybe<Scalars['String']['input']>; removeConfig?: InputMaybe<Scalars['Boolean']['input']>; removePlugins?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOpenCircuitBreakerArgs = { scope: Scalars['String']['input']; scopeValue: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOpenMtwContainerCycleArgs = { input: OpenMtwContainerCycleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOpenMtwFreeTimeClockArgs = { input: OpenMtwFreeTimeClockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOperateGgnomadBookingArgs = { id: Scalars['ID']['input']; operation: GgnomadBookingOperation; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOptimizeRouteArgs = { id: Scalars['ID']['input']; input?: InputMaybe<OptimizeRouteInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationOverrideTimeCampusWorkspaceQuotaArgs = { input: OverrideTimeCampusWorkspaceQuotaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseActivityArgs = { reason: Scalars['String']['input']; runId?: InputMaybe<Scalars['ID']['input']>; selector: WorkflowActivitySelectorInput; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseGgnomadListingArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseHeadshotmarketingAutomationWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseScheduledJobArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseSyncArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPauseWorkflowScheduleArgs = { note?: InputMaybe<Scalars['String']['input']>; triggerNodeId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPayHealthyBowlInsurancePremiumArgs = { input: PayHealthyBowlInsurancePremiumInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPayInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPermanentlyDeleteFileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPermanentlyDeleteFolderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPinConversationArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPinEntityCommentArgs = { input: PinCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPinMessageArgs = { messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPinNodeDataArgs = { data: Scalars['JSON']['input']; id: Scalars['ID']['input']; nodeId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPinNoteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlaceHealthyBowlBidArgs = { amount: Scalars['Float']['input']; auctionId: Scalars['ID']['input']; context: ContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlaceHealthyBowlStorageLotArgs = { input: PlaceHealthyBowlStorageLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanMultiModalShipmentArgs = { input: PlanMultiModalShipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAcceptFeatureRequestArgs = { id: Scalars['ID']['input']; input?: InputMaybe<PlanmagnetAcceptFeatureRequestInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddDocCommentArgs = { input: PlanmagnetAddDocCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddMeetingActionItemArgs = { meetingId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddProductLaunchChecklistItemArgs = { input: PlanmagnetAddProductLaunchChecklistItemInput; launchId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddProjectCommentArgs = { input: PlanmagnetAddProjectCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddReleaseChecklistItemArgs = { input: PlanmagnetAddReleaseChecklistItemInput; releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddRoadmapCommentArgs = { input: PlanmagnetAddRoadmapCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddTeamMembersArgs = { id: Scalars['ID']['input']; input: PlanmagnetTeamMembersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddTeamProjectsArgs = { id: Scalars['ID']['input']; input: PlanmagnetTeamProjectsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddWorkItemCommentArgs = { input: PlanmagnetAddWorkItemCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddWorkItemsToReleaseArgs = { releaseId: Scalars['ID']['input']; workItemIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddWorkItemsToSprintArgs = { id: Scalars['ID']['input']; input: PlanmagnetSprintWorkItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAddWorkspaceEditorArgs = { userId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetApplyProductLaunchTemplateArgs = { launchId: Scalars['ID']['input']; templateKey: PlanmagnetProductLaunchTemplateKey; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetApplyTemplateArgs = { input: PlanmagnetApplyTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetApproveBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetApproveDocRevisionArgs = { revisionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetApproveTimesheetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetArchiveProductArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetArchiveProductFeatureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetArchiveProductLineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetArchiveProductPersonaArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAssignProductLineArgs = { productId: Scalars['ID']['input']; productLineId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetAssignWorkItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetAssignWorkItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetBreakDocLockArgs = { docId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetBulkUpdateWorkItemsArgs = { input: PlanmagnetBulkUpdateWorkItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCancelSprintArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCheckoutDocArgs = { docId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetClearMemberIdentityOverrideArgs = { platformUserId: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCommentFileDownloadUrlArgs = { intent: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCompleteSprintArgs = { id: Scalars['ID']['input']; input?: InputMaybe<PlanmagnetCompleteSprintInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetConfigureIntelligenceLoopArgs = { input: PlanmagnetIntelligenceLoopConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCopyReleaseChecklistArgs = { fromReleaseId: Scalars['ID']['input']; releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateAutomationRuleArgs = { input: PlanmagnetCreateAutomationRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateBoardArgs = { input: PlanmagnetCreateBoardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateBoardColumnArgs = { input: PlanmagnetCreateBoardColumnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateBoardViewArgs = { input: PlanmagnetCreateBoardViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateBudgetArgs = { input: PlanmagnetCreateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateCompetitorArgs = { input: PlanmagnetCreateCompetitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateCustomFieldDefinitionArgs = { input: PlanmagnetCreateCustomFieldDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateCustomerSatisfactionResponseArgs = { input: PlanmagnetCreateCustomerSatisfactionResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateDependencyArgs = { input: PlanmagnetCreateDependencyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateDocArgs = { input: PlanmagnetCreateDocInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateExternalSyncArgs = { input: PlanmagnetCreateExternalSyncInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateFeatureRequestArgs = { input: PlanmagnetCreateFeatureRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateKeyResultArgs = { input: PlanmagnetCreateKeyResultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateMilestoneArgs = { input: PlanmagnetCreateMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateObjectiveArgs = { input: PlanmagnetCreateObjectiveInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreatePortfolioArgs = { input: PlanmagnetCreatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductArgs = { input: PlanmagnetCreateProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductFeatureArgs = { input: PlanmagnetCreateProductFeatureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductLaunchArgs = { input: PlanmagnetCreateProductLaunchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductLineArgs = { input: PlanmagnetCreateProductLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductMarketSizingArgs = { input: PlanmagnetCreateProductMarketSizingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProductPersonaArgs = { input: PlanmagnetCreateProductPersonaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProgramArgs = { input: PlanmagnetCreateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProjectArgs = { input: PlanmagnetCreateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateProjectTemplateArgs = { input: PlanmagnetCreateProjectTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateQualityGateArgs = { input: PlanmagnetCreateQualityGateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateReleaseArgs = { input: PlanmagnetCreateReleaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateReportArgs = { input: PlanmagnetCreateReportInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateReportScheduleArgs = { input: PlanmagnetCreateReportScheduleInput; reportId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateReportShareArgs = { input: PlanmagnetCreateReportShareInput; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateRiskArgs = { input: PlanmagnetCreateRiskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateRoadmapArgs = { input: PlanmagnetCreateRoadmapInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateRoadmapItemArgs = { input: PlanmagnetCreateRoadmapItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateSprintArgs = { input: PlanmagnetCreateSprintInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateTeamArgs = { input: PlanmagnetCreateTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateTemplateFromProjectArgs = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; projectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateTimeEntryArgs = { input: PlanmagnetCreateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateTimesheetArgs = { input: PlanmagnetCreateTimesheetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateWebhookSubscriptionArgs = { input: PlanmagnetCreateWebhookSubscriptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetCreateWorkItemArgs = { input: PlanmagnetCreateWorkItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDecideDocSuggestionArgs = { accept: Scalars['Boolean']['input']; id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDecideRoadmapReviewArgs = { input: PlanmagnetDecideRoadmapReviewInput; reviewId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeclineFeatureRequestArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteAutomationRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteBoardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteBoardColumnArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteBoardViewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteCompetitorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteCustomerSatisfactionResponseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteDependencyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteDocArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteDocCommentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteExpenseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteExternalSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteFeatureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteKeyResultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteObjectiveArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeletePortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductFeatureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductLaunchArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductLaunchChecklistItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductLineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductMarketSizingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProductPersonaArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProjectCommentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteProjectTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteQualityGateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteReleaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteReportScheduleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteRiskArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteRoadmapArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteRoadmapCommentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteRoadmapItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteSprintArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteWebhookSubscriptionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteWorkItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDeleteWorkItemCommentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDisableSyncWebhookArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDispatchIntelligenceSweepArgs = { input: PlanmagnetIntelligenceDispatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDocCommentAttachmentUrlArgs = { attachmentId: Scalars['ID']['input']; docId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetDuplicateReportArgs = { id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEditDocCommentArgs = { body: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEditProjectCommentArgs = { body: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEditRoadmapCommentArgs = { body: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEditWorkItemCommentArgs = { body: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEnableSyncWebhookArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetEraseSubjectArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetExecuteAutomationRuleArgs = { id: Scalars['ID']['input']; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetExportSubjectArgs = { subjectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetExportToExternalArgs = { input: PlanmagnetExportToExternalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetGenerateReleaseNotesArgs = { id: Scalars['ID']['input']; persist?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetImportCustomerSatisfactionResponsesArgs = { input: PlanmagnetImportCustomerSatisfactionResponsesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetImportExternalIssuesArgs = { input: PlanmagnetImportExternalIssuesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetImportFromExternalArgs = { input: PlanmagnetImportFromExternalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkCompetitorToFeatureArgs = { input: PlanmagnetLinkCompetitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkDocToWorkItemArgs = { docId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkEpicToProductFeatureArgs = { productFeatureId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkFeatureRequestToProductFeatureArgs = { featureRequestId: Scalars['ID']['input']; productFeatureId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkKeyResultToWorkItemArgs = { keyResultId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkMeetingArgs = { input: PlanmagnetLinkMeetingInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductCompetitorArgs = { competitorId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductFeatureRequestArgs = { featureRequestId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductLaunchMilestoneArgs = { launchId: Scalars['ID']['input']; milestoneId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductLaunchPersonaArgs = { launchId: Scalars['ID']['input']; personaId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductObjectiveArgs = { objectiveId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductPersonaArgs = { personaId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductReleaseArgs = { productId: Scalars['ID']['input']; releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductRoadmapArgs = { productId: Scalars['ID']['input']; roadmapId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkProductTeamArgs = { productId: Scalars['ID']['input']; teamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLinkWorkItemArgs = { input: PlanmagnetCreateWorkItemLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLogExpenseArgs = { input: PlanmagnetLogExpenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetLogTimeArgs = { input: PlanmagnetLogTimeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetMergeFeatureRequestArgs = { id: Scalars['ID']['input']; intoId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetMoveCardArgs = { boardId: Scalars['ID']['input']; input: PlanmagnetMoveCardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetMoveRoadmapItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetMoveRoadmapItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetMoveWorkItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetMoveWorkItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetPauseExternalSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetPresenceHeartbeatArgs = { targetId: Scalars['ID']['input']; targetType: PlanmagnetPresenceTargetType; typing?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetPresenceLeaveArgs = { targetId: Scalars['ID']['input']; targetType: PlanmagnetPresenceTargetType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetProjectCommentAttachmentUrlArgs = { attachmentId: Scalars['ID']['input']; projectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRefreshSyncCodeLinksArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetReindexSearchArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRejectTimesheetArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetReleaseDocArgs = { docId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveCustomFieldValueArgs = { definitionId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveFeatureVoteArgs = { featureRequestId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveMeetingActionItemArgs = { meetingId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveReleaseChecklistItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveTeamMembersArgs = { id: Scalars['ID']['input']; input: PlanmagnetTeamMembersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveTeamProjectsArgs = { id: Scalars['ID']['input']; input: PlanmagnetTeamProjectsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveWorkItemsFromReleaseArgs = { releaseId: Scalars['ID']['input']; workItemIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveWorkItemsFromSprintArgs = { id: Scalars['ID']['input']; input: PlanmagnetSprintWorkItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRemoveWorkspaceEditorArgs = { userId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetReorderColumnsArgs = { boardId: Scalars['ID']['input']; input: PlanmagnetReorderColumnsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetReorderProductLaunchChecklistArgs = { itemIds: Array<Scalars['ID']['input']>; launchId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRequestRoadmapReviewArgs = { input: PlanmagnetRequestRoadmapReviewInput; roadmapId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetResolveDocCommentArgs = { id: Scalars['ID']['input']; resolved: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetResolveProjectCommentArgs = { id: Scalars['ID']['input']; resolved: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetResolveSyncConflictArgs = { id: Scalars['ID']['input']; resolution: PlanmagnetSyncConflictResolution; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetResolveWorkItemCommentArgs = { id: Scalars['ID']['input']; resolved: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetResumeExternalSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRevertDocArgs = { expectedVersion?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; toVersion: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetReviewQualityGateArgs = { id: Scalars['ID']['input']; input: PlanmagnetReviewQualityGateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRevokeReportShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRotateWebhookSubscriptionSecretArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetRunReportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSaveRoadmapVersionArgs = { input: PlanmagnetSaveRoadmapVersionInput; roadmapId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSetCustomFieldValueArgs = { input: PlanmagnetSetCustomFieldValueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSetMemberIdentityOverrideArgs = { crewEmployeeId: Scalars['String']['input']; platformUserId: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSetProductLaunchChecklistItemDoneArgs = { done: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSetReleaseChecklistItemDoneArgs = { done: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSetWorkItemDiscussionArgs = { conversationId?: InputMaybe<Scalars['ID']['input']>; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSnoozeFeatureRequestArgs = { id: Scalars['ID']['input']; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetStartSprintArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetStartSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSubmitTimesheetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSuggestDocEditArgs = { input: PlanmagnetSuggestDocEditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetSuggestWorkItemBreakdownArgs = { input: PlanmagnetSuggestWorkItemBreakdownInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetTestExternalSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetToggleAutomationRuleArgs = { id: Scalars['ID']['input']; status: PlanmagnetAutomationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnarchiveProductArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnarchiveProductFeatureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnarchiveProductLineArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnarchiveProductPersonaArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkCompetitorFromFeatureArgs = { input: PlanmagnetLinkCompetitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkDocFromWorkItemArgs = { docId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkEpicFromProductFeatureArgs = { productFeatureId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkFeatureRequestFromProductFeatureArgs = { featureRequestId: Scalars['ID']['input']; productFeatureId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkKeyResultFromWorkItemArgs = { keyResultId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkMeetingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductCompetitorArgs = { competitorId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductFeatureRequestArgs = { featureRequestId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductLaunchMilestoneArgs = { launchId: Scalars['ID']['input']; milestoneId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductLaunchPersonaArgs = { launchId: Scalars['ID']['input']; personaId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductObjectiveArgs = { objectiveId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductPersonaArgs = { personaId: Scalars['ID']['input']; productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductReleaseArgs = { productId: Scalars['ID']['input']; releaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductRoadmapArgs = { productId: Scalars['ID']['input']; roadmapId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkProductTeamArgs = { productId: Scalars['ID']['input']; teamId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUnlinkWorkItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateAutomationRuleArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateAutomationRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateBoardArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateBoardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateBoardColumnArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateBoardColumnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateBoardViewArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateBoardViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateBudgetArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateCompetitorArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateCompetitorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateCustomFieldDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateCustomerSatisfactionResponseArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateCustomerSatisfactionResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateDependencyArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateDependencyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateDocArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateDocInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateExpenseArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateExpenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateExternalSyncArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateExternalSyncInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateFeatureRequestArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateFeatureRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateKeyResultArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateKeyResultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateMeetingArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateMeetingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateMilestoneArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateObjectiveArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateObjectiveInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdatePortfolioArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdatePortfolioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductFeatureArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductFeatureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductLaunchArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductLaunchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductLaunchChecklistItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductLaunchChecklistItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductLineArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProductPersonaArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProductPersonaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProgramArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProgramInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProjectArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProjectTemplateArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateProjectTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateProjectWorkflowArgs = { input: PlanmagnetUpdateProjectWorkflowInput; projectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateQualityGateArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateQualityGateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateReleaseArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateReleaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateReleaseChecklistItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateReleaseChecklistItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateReportArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateReportScheduleArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateReportScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateRiskArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateRiskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateRoadmapArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateRoadmapInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateRoadmapItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateRoadmapItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateSprintArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateSprintInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateTeamArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateTimeEntryArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateWebhookSubscriptionArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateWebhookSubscriptionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateWorkItemArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateWorkItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetUpdateWorkItemLinkArgs = { id: Scalars['ID']['input']; input: PlanmagnetUpdateWorkItemLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetVoteOnFeatureArgs = { featureRequestId: Scalars['ID']['input']; input?: InputMaybe<PlanmagnetVoteOnFeatureInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetWithdrawDocSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetWithdrawRoadmapReviewArgs = { reviewId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPlanmagnetWorkItemCommentAttachmentUrlArgs = { attachmentId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPollIntegrationNowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPostHealthyBowlJournalEntryArgs = { input: PostHealthyBowlJournalEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPrepareCourseAssistantKnowledgeArgs = { courseId: Scalars['ID']['input']; embeddingModelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPrepareWorkflowCodeUploadArgs = { input: PrepareWorkflowCodeUploadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPresignSecurityEvidenceArgs = { scanRunId: Scalars['ID']['input']; sha256: Scalars['String']['input']; sizeBytes: Scalars['Int']['input']; type: SecurityEvidenceType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPrewarmNodeRuntimesArgs = { input: PrewarmNodeRuntimesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromoteDeploymentArgs = { componentId: Scalars['ID']['input']; fromEnvironment: DeploymentEnvironment; notes?: InputMaybe<Scalars['String']['input']>; toEnvironment: DeploymentEnvironment; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromoteSandboxScriptRunArgs = { context: ContextInput; id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptBeginInvocationAttemptV2Args = { input: PromptBeginInvocationAttemptV2Input; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateGuardrailPolicyArgs = { input: PromptGuardrailPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateMcpServerArgs = { input: PromptMcpServerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateModelArgs = { input: PromptModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateProviderArgs = { input: PromptProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateProviderCredentialArgs = { input: PromptProviderCredentialInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateTemplateArgs = { input: PromptTemplateDefInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptCreateTemplateVersionArgs = { input: PromptTemplateVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptDeleteGuardrailPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptDeleteMcpServerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptDeleteModelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptDeleteProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptDeleteTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptEvaluateGuardrailsArgs = { input: PromptGuardrailEvaluateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptPublishTemplateVersionArgs = { versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptRecordInvocationArgs = { input: PromptInvocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptRecordInvocationUsageV2Args = { input: PromptRecordInvocationUsageV2Input; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptRenderTemplateArgs = { input: PromptRenderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptRevokeProviderCredentialArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptUpdateGuardrailPolicyArgs = { id: Scalars['ID']['input']; input: PromptGuardrailPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptUpdateMcpServerArgs = { id: Scalars['ID']['input']; input: PromptMcpServerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptUpdateModelArgs = { id: Scalars['ID']['input']; input: PromptModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptUpdateProviderArgs = { id: Scalars['ID']['input']; input: PromptProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPromptUpdateTemplateArgs = { id: Scalars['ID']['input']; input: PromptTemplateDefInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPropagateTagToChildrenArgs = { assignmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProposeHealthyBowlAgronomyDecisionsArgs = { input: ProposeAgronomyDecisionsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProposeOptimisationArgs = { suggestionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProposeRunFixArgs = { input: ProposeRunFixInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProposeWorkflowChangeArgs = { input: ProposeWorkflowChangeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProposeWorkspaceCompositionArgs = { input: ProposeWorkspaceCompositionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProvisionAssistantSandboxArgs = { input: ProvisionAssistantSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationProxySandboxRequestArgs = { input: ProxySandboxRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswAddTeamAssignmentArgs = { input: PswCreateTeamAssignmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswApproveTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchiveClientArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchiveComplianceObligationArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchiveDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchiveEducationCreditArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchiveIssuingBodyArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchivePractitionerArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswArchivePractitionerCredentialArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCancelClientPortalInviteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCancelInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCancelRecurringFilingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCancelRetainerBillingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCancelSignatureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswClearCustomFieldValueArgs = { definitionId: Scalars['ID']['input']; entityId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCloseMatterArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCloseTrustAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCompleteDataErasureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCompleteMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateClientArgs = { input: PswCreateClientInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateComplianceCheckArgs = { input: PswCreateComplianceCheckInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateComplianceObligationArgs = { input: PswObligationFactsInput; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateConflictCheckArgs = { input: PswCreateConflictCheckInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateCustomFieldDefinitionArgs = { input: PswCreateCustomFieldDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateDataSubjectRequestArgs = { requestDetails?: InputMaybe<Scalars['String']['input']>; type: PswDataSubjectRequestType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateDeliverableArgs = { input: PswCreateDeliverableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateDocumentArgs = { input: PswCreateDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateEngagementArgs = { input: PswCreateEngagementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateInvoiceArgs = { input: PswCreateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateIssuingBodyArgs = { input: PswCreateIssuingBodyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateMatterArgs = { input: PswCreateMatterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateMilestoneArgs = { input: PswCreateMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreatePracticeAreaArgs = { input: PswCreatePracticeAreaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreatePractitionerArgs = { input: PswCreatePractitionerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreatePractitionerCredentialArgs = { input: PswCredentialFactsInput; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateRecurringFilingArgs = { input: PswCreateRecurringFilingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateRetainerDraftInvoiceArgs = { input: PswCreateRetainerDraftInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateSignatureRequestArgs = { input: PswCreateSignatureRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateTrustAccountArgs = { input: PswCreateTrustAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateTrustTransferArgs = { input: PswCreateTrustTransferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswCreateWriteOffArgs = { input: PswCreateWriteOffInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswDeclineSignatureRequestArgs = { reason?: InputMaybe<Scalars['String']['input']>; signerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswDeleteCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswDispatchObligationReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswExportDataArgs = { input: PswExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswInviteClientPortalContactArgs = { input: PswInviteClientPortalContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswInviteClientPortalUserArgs = { input: PswInviteClientPortalUserInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswLogTimeEntryArgs = { input: PswCreateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswMarkInvoicePaidArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswMarkTimeEntriesBilledArgs = { invoiceId: Scalars['ID']['input']; timeEntryIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswPrepareObligationReminderArgs = { input: PswPrepareObligationReminderInput; obligationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswReconcileTrustAccountArgs = { input: PswReconcileTrustAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRecordCredentialReviewArgs = { id: Scalars['ID']['input']; input: PswRecordCredentialReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRecordEducationCreditArgs = { input: PswRecordEducationCreditInput; obligationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRecordLegalAcceptanceArgs = { checkpointType: PswLegalCheckpointType; documentVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRecordTrustDepositArgs = { input: PswRecordTrustDepositInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRecordTrustWithdrawalArgs = { input: PswRecordTrustWithdrawalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRefreshObligationReminderStatusArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRejectDataErasureRequestArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRejectTimeEntryArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRemoveTeamAssignmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRequestDataErasureArgs = { input: PswRequestDataErasureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswResolveComplianceCheckArgs = { details?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; status: PswComplianceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswResolveConflictCheckArgs = { findings?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; status: PswConflictCheckStatus; waiverReason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswReviewEducationCreditArgs = { id: Scalars['ID']['input']; input: PswReviewEducationCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRevokeClientPortalUserArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRevokeObligationReminderConsentArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRunScheduledFilingReminderArgs = { filingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswRunScheduledRetainerBillingArgs = { engagementId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswScheduleObligationReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswScheduleRetainerBillingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswSendInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswSendSignatureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswSetCustomFieldValueArgs = { input: PswSetCustomFieldValueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswSignDocumentArgs = { input: PswSignDocumentInput; signerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswSubmitTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswTransitionDeliverableArgs = { id: Scalars['ID']['input']; status: PswDeliverableStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswTransitionEngagementArgs = { id: Scalars['ID']['input']; status: PswEngagementStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateClientArgs = { id: Scalars['ID']['input']; input: PswUpdateClientInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateComplianceObligationArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; input: PswObligationFactsInput; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; input: PswUpdateCustomFieldDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateDeliverableArgs = { id: Scalars['ID']['input']; input: PswUpdateDeliverableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateDocumentArgs = { id: Scalars['ID']['input']; input: PswUpdateDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateEngagementArgs = { id: Scalars['ID']['input']; input: PswUpdateEngagementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateInvoiceArgs = { id: Scalars['ID']['input']; input: PswUpdateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateMatterArgs = { id: Scalars['ID']['input']; input: PswUpdateMatterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateMilestoneArgs = { id: Scalars['ID']['input']; input: PswUpdateMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdatePracticeAreaArgs = { id: Scalars['ID']['input']; input: PswUpdatePracticeAreaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdatePractitionerCredentialArgs = { expectedRevision: Scalars['Int']['input']; id: Scalars['ID']['input']; input: PswCredentialFactsInput; requestKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateTeamAssignmentArgs = { id: Scalars['ID']['input']; input: PswUpdateTeamAssignmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswUpdateTimeEntryArgs = { id: Scalars['ID']['input']; input: PswUpdateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPswViewSignatureRequestArgs = { signerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishAgentVersionArgs = { agentId: Scalars['ID']['input']; changelog?: InputMaybe<Scalars['String']['input']>; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishAssistantWebsiteArgs = { input: PublishAssistantWebsiteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishBotAppVersionArgs = { botAppId: Scalars['ID']['input']; changelog?: InputMaybe<Scalars['String']['input']>; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishDashboardEmbedPolicyArgs = { contentSafetyAttested: Scalars['Boolean']['input']; policyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishDocsRevisionArgs = { revisionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishGgnomadOperatorStorefrontArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHealthyBowlAggregationLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHealthyBowlContractAggregationLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHealthyBowlSeedLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHealthyBowlTraceBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishHousingvistaViewingSlotsArgs = { input: HousingVistaPublishViewingSlotsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishMcpToolSetArgs = { note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishMtwProcedureVersionArgs = { input: PublishMtwProcedureVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishVibecontrolsComponentAsTemplateArgs = { componentId: Scalars['ID']['input']; input: VibecontrolsPublishTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPublishWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPurgeTimeCampusCaptureChannelEventsArgs = { confirm?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; olderThanDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPushAgentGatewayAuthArgs = { input: PushAgentGatewayAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPushHeadshotmarketingAdBudgetUpdateArgs = { adCampaignId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPushHealthyBowlJournalEntryToBillingArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPushSecurityScanRunArgs = { input: PushSecurityScanRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationPushWorkflowToGitArgs = { version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationQueueKnowledgeSourceArgs = { input: QueueKnowledgeSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRateMeetingArgs = { id: Scalars['ID']['input']; rating: Scalars['Int']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRateTemplateArgs = { input: BigConsoleRateDashboardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReactivateWorkspaceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRebuildKnowledgeBaseIndexArgs = { knowledgeBaseId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecalculateDemandForecastsArgs = { weeksOfHistory?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecallHealthyBowlTraceBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecategorizeTimeCampusCaptureEventArgs = { category: TimeCampusTimelineCategory; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReceiveChannelMessageArgs = { input: ReceiveChannelMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecomputeHealthyBowlGhgInventoryArgs = { input: RecomputeHealthyBowlGhgInventoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReconcileAssistantTurnDeliveriesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordAiPromptUsageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordActivitiesArgs = { activities: Array<RecordActivityInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordActivityArgs = { input: RecordActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordAgentToolCallArgs = { input: RecordAgentToolCallInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordApplicationUsageArgs = { input: RecordApplicationUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordConnectionActivityArgs = { input: RecordConnectionActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordFocusScoreArgs = { input: RecordFocusScoreInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordGeofenceEventArgs = { input: RecordGeofenceEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordGgnomadAffiliatePayoutArgs = { input: RecordGgnomadAffiliatePayoutInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordGgnomadAffiliateReferralArgs = { input: RecordGgnomadAffiliateReferralInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHeadshotmarketingAdMetricsSnapshotArgs = { input: HeadshotmarketingRecordAdMetricsSnapshotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlAnimalWeightArgs = { input: RecordHealthyBowlAnimalWeightInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlContactOrderArgs = { input: RecordHealthyBowlContactOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlContactPurchaseArgs = { input: RecordHealthyBowlContactPurchaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlContractDeliveryArgs = { input: RecordHealthyBowlContractDeliveryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlGrazingMoveArgs = { input: RecordHealthyBowlGrazingMoveInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlIcsInspectionArgs = { input: RecordIcsInspectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlLoanDisbursementArgs = { input: RecordHealthyBowlLoanDisbursementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlLoanRepaymentArgs = { input: RecordHealthyBowlLoanRepaymentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordHealthyBowlStockMovementArgs = { input: RecordHealthyBowlStockMovementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordKnowledgeArticleViewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwConsolidationObservationArgs = { input: RecordMtwConsolidationObservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwContainerEventArgs = { input: RecordMtwContainerEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwContainerInspectionArgs = { input: RecordMtwContainerInspectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwContainerRepairArgs = { input: RecordMtwContainerRepairInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwEmptyReturnInstructionArgs = { input: RecordMtwEmptyReturnInstructionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwEquipmentReuseApprovalArgs = { input: RecordMtwEquipmentReuseApprovalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwFreeTimeAgreementArgs = { input: RecordMtwFreeTimeAgreementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwFreeTimeExtensionDecisionArgs = { input: RecordMtwFreeTimeExtensionDecisionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwFreightInvoiceSupplierResponseArgs = { input: RecordMtwFreightInvoiceSupplierResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwProcedureDeviationArgs = { input: RecordMtwProcedureDeviationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwProcedureStepArgs = { input: RecordMtwProcedureStepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwReuseProposalArgs = { input: RecordMtwReuseProposalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwStockBindingAssessmentArgs = { input: RecordMtwStockBindingAssessmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwStockObservationArgs = { input: RecordMtwStockObservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordMtwTripUtilizationReportArgs = { input: RecordMtwTripUtilizationReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordProvenanceArgs = { input: RecordProvenanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordTimeCampusFocusBlockedAppAttemptArgs = { app: Scalars['String']['input']; bypassed: Scalars['Boolean']['input']; focusSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordTimeCampusFocusBlockedAttemptArgs = { bypassed: Scalars['Boolean']['input']; domain: Scalars['String']['input']; focusSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordTimeCampusImpersonationAuditArgs = { input: RecordTimeCampusImpersonationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordVehicleServiceArgs = { id: Scalars['ID']['input']; input: RecordVehicleServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordWorkPatternArgs = { input: RecordWorkPatternInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRecordWorkflowScheduleMissArgs = { input: RecordWorkflowScheduleMissInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRedeemGgnomadLoyaltyPointsArgs = { points: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRedeemGgnomadTicketArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRedeemGgnomadTicketAsOperatorArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefineGeneratedDashboardArgs = { input: BigConsoleRefineGeneratedDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshCohortArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshConnectionTokenArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshDataSinkArgs = { input: RefreshDataSinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshHealthyBowlFieldNdviArgs = { input: HbRefreshFieldNdviInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshMcpResourcesArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshMcpToolsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshSmartCollectionArgs = { collectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRefreshWidgetDataArgs = { widgetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegenerateClientPortalShareTokenArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegenerateDashboardArgs = { input: BigConsoleRegenerateDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegenerateEventRegistrationTokenArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterCustomTunnelDomainArgs = { input: RegisterCustomDomainInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterDashboardTemplateTypeArgs = { input: BigConsoleRegisterDashboardTemplateTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterDeploymentArgs = { componentId: Scalars['ID']['input']; environment: DeploymentEnvironment; notes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<DeploymentStatus>; version: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterDocsBuildImageArgs = { input: RegisterVibecontrolsDocsBuildImageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterGgnomadPushDeviceArgs = { input: RegisterGgnomadPushDeviceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterHealthyBowlBatchGs1Args = { input: RegisterBatchGs1Input; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterHealthyBowlSensorProbeArgs = { input: RegisterSensorProbeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterInstalledAgentArgs = { input: RegisterInstalledAgentInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterIoTDeviceArgs = { input: RegisterIoTDeviceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterMtwContainerArgs = { input: RegisterMtwContainerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterNodeArgs = { input: RegisterNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterParserTypeArgs = { input: RegisterParserTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterResourceArgs = { input: RegisterResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterUploadedPartArgs = { input: UploadPartInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterVibecontrolsAgentArgs = { input: CreateVibecontrolsAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRegisterWidgetTypeArgs = { input: BigConsoleRegisterWidgetTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReinstateTimeCampusMarketplaceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReinstateTimeCampusThirdPartyAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectBotmanorAgentActivationArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectChangeRequestArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectConnectorSubmissionArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectCrewShiftSwapArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectExpenseArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectGgnomadBookingApprovalArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectGgnomadListingArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectHandoffArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectHousingvistaVerificationItemArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectJoinRequestArgs = { membershipId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectMtwPickTaskArgs = { input: RecordMtwPickReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectRequestArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectResourceBookingArgs = { bookingId: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectTimeCampusCaptureEventSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectTransactionArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectWorkflowPromotionArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectWorkflowProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRejectWorkspaceInviteArgs = { token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseCrewEscrowRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseDurableWorkerSandboxArgs = { id: Scalars['ID']['input']; input: ReleaseDurableWorkerSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseFileLockArgs = { input: ReleaseLockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseHandoffArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseHealthyBowlLoanMilestoneArgs = { input: ReleaseHealthyBowlLoanMilestoneInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseLegalHoldArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseMtwContainerHoldArgs = { input: ReleaseMtwContainerHoldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseSessionControlArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReleaseWorkflowEditLeaseArgs = { sequence?: InputMaybe<Scalars['Int']['input']>; sessionId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveAgentPluginArgs = { agentId: Scalars['ID']['input']; packageName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveAllTagsFromEntityArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveAssetHandlerFeatureFlagOverrideArgs = { key: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveAttendeeArgs = { attendeeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveChildGroupArgs = { childGroupId: Scalars['ID']['input']; parentGroupId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCollectionItemArgs = { itemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCommentAttachmentArgs = { input: RemoveCommentAttachmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveComponentFromVibecontrolsCatalogArgs = { catalogId: Scalars['ID']['input']; componentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewAnnouncementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewCandidateArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewClientArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewDepartmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewDispatchArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewEmployeeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewInterviewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewJobPostingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewJobPostingSkillArgs = { jobPostingId: Scalars['ID']['input']; skillId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewLeaveRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewOnboardingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewOnboardingTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewOpenShiftArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewPayrollRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewPayrollRunArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewShiftArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewShiftPatternArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewSkillArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewSkillRelationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewTrainingCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveCrewVendorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveEntityCommentReactionArgs = { input: RemoveReactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveGgnomadCartItemArgs = { cartItemId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveGgnomadGroupTripMemberArgs = { groupTripId: Scalars['ID']['input']; memberId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveGgnomadStorefrontCustomDomainArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveGgnomadTripPlanItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveGroupMembersArgs = { groupId: Scalars['ID']['input']; membershipIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveHealthyBowlAggregationLotContributionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveHousingvistaShortlistArgs = { propertyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveInheritedTagsArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveKnowledgeDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveMcpToolArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveMeetingParticipantArgs = { meetingId: Scalars['ID']['input']; participantId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveMyServiceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveNodeFromWorkflowsArgs = { input: RemoveNodeFromWorkflowsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveParticipantArgs = { input: RemoveParticipantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemovePermissionOverrideArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveProjectMemberArgs = { input: RemoveProjectMemberInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveReactionArgs = { emoji: Scalars['String']['input']; messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveRoleDefaultPermissionArgs = { resourceType: Scalars['String']['input']; roleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveRoleFromActorArgs = { assignmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveRoleFromGroupArgs = { assignmentId: Scalars['ID']['input']; groupId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveRolePermissionOverrideArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveShipmentLegArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveTagAssignmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveTimeCampusFeatureFlagOverrideArgs = { key: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveUserFromWorkspaceArgs = { userId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveVibeFromVibecontrolsCatalogArgs = { catalogId: Scalars['ID']['input']; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveVibecontrolsScorecardMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveVisibilityRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveWidgetFromGeneratedSpecArgs = { generationId: Scalars['ID']['input']; pageIndex: Scalars['Int']['input']; widgetIndex: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRemoveWorkspaceMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenameWorkflowFolderArgs = { id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenameWorkflowProjectArgs = { description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenderAiPromptArgs = { id: Scalars['ID']['input']; variables?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenderPromptTemplateArgs = { id: Scalars['ID']['input']; variables?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenewDurableWorkerSandboxArgs = { id: Scalars['ID']['input']; input: RenewDurableWorkerSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenewHealthyBowlCsaMembershipArgs = { input: RenewHealthyBowlCsaMembershipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenewHousingvistaAmcContractArgs = { id: Scalars['ID']['input']; input: HousingVistaRenewAmcContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRenewHousingvistaLeaseArgs = { id: Scalars['ID']['input']; input: HousingVistaRenewLeaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReopenHealthyBowlReconciliationArgs = { input: HealthyBowlReconciliationPeriodInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderCollectionItemsArgs = { input: ReorderCollectionItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderCommentAttachmentsArgs = { input: ReorderCommentAttachmentsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderDashboardPagesArgs = { dashboardId: Scalars['ID']['input']; pageIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderDocsPagesArgs = { input: ReorderVibecontrolsDocsPagesInput; siteId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderGlobalFiltersArgs = { dashboardId: Scalars['ID']['input']; filterIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderTasksArgs = { projectId: Scalars['ID']['input']; taskIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderVibeDeckButtonsArgs = { input: ReorderVibeDeckButtonsInput; vibeDeckId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReorderWidgetActionsArgs = { actionIds: Array<Scalars['ID']['input']>; widgetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceAnalyticsDashboardTagsArgs = { input: ReplaceAnalyticsDashboardTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceAnalyticsMetricTagsArgs = { input: ReplaceAnalyticsMetricTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceAnalyticsReportTagsArgs = { input: ReplaceAnalyticsReportTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceAssetTagsArgs = { input: ReplaceAssetTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceBigconsoleEntityTagsArgs = { input: ReplaceBigConsoleEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceCommentTagsArgs = { input: ReplaceCommentTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceConnectionTagsArgs = { input: ReplaceConnectionTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceCosEntityTagsArgs = { input: ReplaceCosEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceEntityTagsArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceEventfullyManagedEntityTagsArgs = { input: EventfullyManagedReplaceEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceFileTagsArgs = { input: ReplaceFileTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceFluidgridsEntityTagsArgs = { input: ReplaceFluidgridsEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceFolderTagsArgs = { input: ReplaceFolderTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceGroupTagsArgs = { input: ReplaceGroupTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceIntelwatchtowerEntityTagsArgs = { input: IntReplaceEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceNoteTagsArgs = { input: ReplaceNoteTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceProjectTagsArgs = { input: ReplaceProjectTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceSandboxTagsArgs = { input: ReplaceSandboxTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceScheduledJobTagsArgs = { input: ReplaceScheduledJobTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceSecretTagsArgs = { input: ReplaceSecretTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceVibecontrolsEntityTagsArgs = { input: ReplaceEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceWorkflowVersionCodeArgs = { codeBundle: CodeBundleInput; verifyReplay?: InputMaybe<Scalars['Boolean']['input']>; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplaceWorkspaceTagsArgs = { input: ReplaceWorkspaceTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReplayWorkflowRunArgs = { runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportAgentMeshLinkArgs = { input: ReportAgentMeshLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportAiTokenUsageArgs = { input: ReportAiTokenUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportGovAiTokenUsageArgs = { input: ReportGovAiTokenUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportHealthyBowlAiTokenUsageArgs = { input: ReportHealthyBowlAiTokenUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportMessageArgs = { messageId: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportMyAssistantTurnTimingsArgs = { input: ReportAssistantTurnTimingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReportProactiveActivityArgs = { input: ReportProactiveActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReprocessTimeCampusTimelineArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestBotmanorAgentActivationArgs = { agentId: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestCrewShiftSwapArgs = { input: RequestCrewShiftSwapInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestHandoffArgs = { agentId: Scalars['ID']['input']; conversationKey: Scalars['String']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestHealthyBowlLoanFacilitationArgs = { input: RequestHealthyBowlLoanFacilitationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestMtwFreeTimeExtensionArgs = { input: RequestMtwFreeTimeExtensionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestRevisionArgs = { id: Scalars['ID']['input']; notes: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestSessionControlArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestTimeCampusUserDataErasureArgs = { userId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequestWorkflowPromotionArgs = { input: RequestWorkflowPromotionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRequeueFromDlqArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRescheduleBookingArgs = { id: Scalars['ID']['input']; newSlotEnd: Scalars['DateTime']['input']; newSlotStart: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRescheduleHealthyBowlSuccessionPlanArgs = { input: RescheduleHealthyBowlSuccessionPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResendInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResendWorkspaceInviteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReserveTunnelSubdomainArgs = { input: ReserveTunnelSubdomainInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetActivityArgs = { resetHeartbeat?: InputMaybe<Scalars['Boolean']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; selector: WorkflowActivitySelectorInput; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetCircuitBreakerArgs = { scope: Scalars['String']['input']; scopeValue: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetSettingsArgs = { category: SettingsCategory; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetTimeCampusDemoDataArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetVibecontrolsAgentArgs = { agentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetWebhookFailuresArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetWorkflowRunArgs = { reapplySignals?: InputMaybe<Scalars['Boolean']['input']>; reapplyUpdates?: InputMaybe<Scalars['Boolean']['input']>; reason?: InputMaybe<Scalars['String']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; to: WorkflowResetTargetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetWorkflowRunToLastCleanTaskArgs = { reason?: InputMaybe<Scalars['String']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetWorkflowStaticDataArgs = { nodeId?: InputMaybe<Scalars['String']['input']>; scope: StaticDataScope; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResetWorkspaceCompositionArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveContextConversationArgs = { input: ResolveContextConversationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveEntityCommentArgs = { input: ResolveCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveGgnomadAffiliatePayoutReviewArgs = { id: Scalars['ID']['input']; note: Scalars['String']['input']; resolution: GgnomadAffiliatePayoutReviewResolution; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveHandoffArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveHealthyBowlComplianceFlagArgs = { input: ResolveComplianceFlagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveHealthyBowlFieldObservationConflictArgs = { input: ResolveFieldObservationConflictInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveHealthyBowlStressedZoneArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveHousingvistaMaintenanceRequestArgs = { id: Scalars['ID']['input']; resolutionNotes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveIncidentArgs = { id: Scalars['ID']['input']; resolution?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveMessageReportArgs = { input: ResolveMessageReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveMtwFreightInvoiceDisputeArgs = { input: ResolveMtwFreightInvoiceDisputeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolvePhysicalAuditItemArgs = { input: ResolvePhysicalAuditItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResolveProblemArgs = { id: Scalars['ID']['input']; resolution?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondGgnomadPrivateGroupRequestArgs = { id: Scalars['ID']['input']; input: RespondGgnomadPrivateGroupRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondGgnomadReviewArgs = { id: Scalars['ID']['input']; response: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondHousingvistaOfferArgs = { id: Scalars['ID']['input']; input: HousingVistaRespondOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondToCrewShiftSwapArgs = { accept: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondToEventArgs = { eventId: Scalars['ID']['input']; status: RsvpStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondToTimeCampusFocusBlockSuggestionArgs = { input: TimeCampusFocusBlockResponseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRespondToWorkflowHumanRequestArgs = { input: RespondToWorkflowHumanRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestartSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestartSessionTerminalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestartWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreDashboardVersionArgs = { dashboardId: Scalars['ID']['input']; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreFileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreFileVersionArgs = { input: RestoreVersionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreFolderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreGroupArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreNodeEndpointConfigArgs = { nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreRecurringInstanceArgs = { instanceDate: Scalars['DateTime']['input']; seriesId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreScheduleVersionArgs = { scheduleId: Scalars['ID']['input']; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreScheduledJobArgs = { jobId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreVaultBackupArgs = { input: RestoreVaultBackupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreVibeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreWorkflowFromGitArgs = { input: RestoreWorkflowFromGitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRestoreWorkflowVersionArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResumeGgnomadListingArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResumeScheduledJobArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResumeSyncArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationResumeWorkflowRunArgs = { id: Scalars['ID']['input']; payload?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetireMyGroundedAssistantConversationArgs = { clientConversationId: Scalars['ID']['input']; productId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetireWorkspaceQuotaAssignmentsBySubscriptionsArgs = { input: RetireWorkspaceQuotaAssignmentsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryAssistantChannelDeliveryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryEventDeliveryArgs = { eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryExportJobArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryHeadshotmarketingAutomationWorkflowRunArgs = { context?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryHealthyBowlCsaBillingArgs = { context: ContextInput; csaDeliveryId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryJobExecutionArgs = { executionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryKnowledgeCleanupJobArgs = { id: Scalars['ID']['input']; kind: KnowledgeCleanupKind; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryKnowledgeSourceImportArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryMyAssistantTurnDeliveryArgs = { clientTurnId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryNodeArgs = { id: Scalars['ID']['input']; nodeId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryWebhookDeliveryArgs = { deliveryId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRetryWorkflowRunsArgs = { runIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevealWorkflowVariableValueArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReverseHealthyBowlSettlementTransactionArgs = { input: ReverseHealthyBowlSettlementTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevertTimeCampusAiCategorizationsArgs = { confirm?: InputMaybe<Scalars['Boolean']['input']>; from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReviewGgnomadAffiliatePayoutKycArgs = { decision: GgnomadAffiliateKycDecision; partnerId: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReviewHousingvistaRentalApplicationArgs = { id: Scalars['ID']['input']; input: HousingVistaReviewRentalApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReviewTimeCampusMarketplaceSubmissionArgs = { decision: TimeCampusAppletReviewDecision; notes?: InputMaybe<Scalars['String']['input']>; submissionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReviewTimeCampusThirdPartyAppletVersionArgs = { decision: TimeCampusAppletReviewDecision; notes?: InputMaybe<Scalars['String']['input']>; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationReviewVaultSecurityEventArgs = { id: Scalars['ID']['input']; reviewNotes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeActionShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeActionShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAgentGrantArgs = { agentDefinitionId: Scalars['ID']['input']; userId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAgentInstructionFileShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAgentInstructionFileShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAgentMeshLinkArgs = { meshLinkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAiContextShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAiContextShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAiPromptShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAiPromptShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAllMyVibeLlmContextTokensArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeAllSharesArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeCalendarShareArgs = { shareId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeCatalogShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeCatalogShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeCollectionShareArgs = { shareId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeComponentShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeComponentShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeConnectionArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeCrewSiteCheckInCodeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeDashboardEmbedPolicyArgs = { policyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeDashboardShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeDocsShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeDocsShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeEncryptionKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFilePermissionArgs = { input: RevokePermissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFileShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFileShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFolderPermissionArgs = { input: RevokePermissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFolderShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFolderShareGrantArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeFolderShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeGgnomadTicketArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeGgnomadTicketAsOperatorArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeGroupShareLinkArgs = { shareLinkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlCertificateOfOriginArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlConsultantAssignmentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlContractAssignmentArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlCoopMembershipArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlFinancierAccessArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeHealthyBowlLoanFacilitationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeMtwInspectorQualificationArgs = { input: RevokeMtwInspectorQualificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeMtwPickTaskReviewArgs = { input: RecordMtwPickReviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeMtwProcedureDeviationArgs = { input: RevokeMtwProcedureDeviationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeMyAgentGrantArgs = { agentDefinitionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeScorecardShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeScorecardShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSecretShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSecurityExceptionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSessionGrantShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSessionGrantShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSessionShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSessionShareLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeShareArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeSourceConsentArgs = { source: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTargetShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTargetShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTemplateShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTemplateShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTunnelPublicAccessArgs = { tunnelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTunnelSessionArgs = { reason?: InputMaybe<Scalars['String']['input']>; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTunnelShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeTunnelShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeDeckGrantShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeDeckGrantShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeDeckShareLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeLlmContextTokenArgs = { tokenId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibeShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibecontrolsNoteShareArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeVibecontrolsNoteShareLinkArgs = { input: RevokeShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeWorkflowSignalTokenArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeWorkspaceTokenArgs = { reason?: InputMaybe<Scalars['String']['input']>; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeWorkspaceTokensForSessionArgs = { reason?: InputMaybe<Scalars['String']['input']>; sessionId: Scalars['String']['input']; userId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRevokeWorkspaceTokensForUserArgs = { reason?: InputMaybe<Scalars['String']['input']>; revokedBeforeMs: Scalars['Float']['input']; userId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRollbackAgentVersionArgs = { agentId: Scalars['ID']['input']; targetVersionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRollbackBotAppVersionArgs = { botAppId: Scalars['ID']['input']; targetVersionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRollbackDocsRevisionArgs = { revisionId: Scalars['ID']['input']; siteId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRollbackSecretArgs = { id: Scalars['ID']['input']; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateAgentApiKeyArgs = { agentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateDashboardEmbedPolicyArgs = { policyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateEncryptionKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateSandboxRunnerTokenArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateSecretArgs = { id: Scalars['ID']['input']; newValue: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateTunnelCredentialsArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateVibeLlmContextUrlArgs = { input?: InputMaybe<VibeLlmContextMintInput>; tokenId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateWorkerTokenArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRotateWorkspaceSecretArgs = { gracePeriodDays?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunAgentCommandArgs = { agentId: Scalars['ID']['input']; argv: Array<Scalars['String']['input']>; timeoutMs?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunFromNodeArgs = { input: RunFromNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunGgnomadAffiliatePayoutsArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; partnerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunHealthyBowlComplianceScanArgs = { context: ContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunHealthyBowlDiseaseWarningRuleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunHealthyBowlIrrigationAutomationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunHealthyBowlWithdrawalScanArgs = { context: ContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunProactiveSweepArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunSandboxScriptArgs = { input: RunSandboxScriptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunSecurityScanArgs = { stage: SecurityStage; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunTimeCampusTimeIntelligenceSweepArgs = { input?: InputMaybe<TimeCampusTimeIntelligenceSweepInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunTimeCampusTimeTriggerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationRunWorkflowTestsArgs = { input: RunWorkflowTestsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveAssistantTurnArgs = { input: SaveAssistantTurnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveCollectionAsTemplateArgs = { collectionId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveConversationalRevisionArgs = { input: SaveConversationalRevisionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveDraftArgs = { input: SaveDraftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveGgnomadAffiliatePayoutProfileArgs = { input: SaveGgnomadAffiliatePayoutProfileOperatorInput; partnerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveHealthyBowlBatchGs1LabelToFilesArgs = { input: Gs1LabelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveHealthyBowlJournalEntryDraftArgs = { input: PostHealthyBowlJournalEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveHealthyBowlTraceBatchLabelToFilesArgs = { input: TraceLabelPdfInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveHealthyBowlYieldScenarioArgs = { input: HbSaveYieldScenarioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveHousingvistaShortlistArgs = { input: HousingVistaSaveShortlistInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMtwConsolidationManifestArgs = { input: SaveMtwConsolidationManifestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMtwConsolidationPlanArgs = { input: SaveMtwConsolidationPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMtwFreightEstimateArgs = { input: SaveMtwFreightEstimateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMyAssistantHistoryEntriesArgs = { input: SaveMyAssistantHistoryEntriesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMyGgnomadAffiliatePayoutProfileArgs = { input: SaveGgnomadAffiliatePayoutProfileInput; partnerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveMyNavPreferencesArgs = { input: SaveNavPreferencesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveSandboxArtifactToFilesArgs = { input: SaveSandboxArtifactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveSecretsProviderConfigArgs = { input: SaveSecretsProviderConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveUiSessionArgs = { input: SaveUiSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSaveWorkspaceCompositionArgs = { input: SaveWorkspaceCompositionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScanDocsBuildImageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScanPhysicalAuditTagArgs = { input: ScanPhysicalAuditTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScanSshConfigArgs = { agentId: Scalars['ID']['input']; configPath?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScheduleCommentArgs = { input: ScheduleCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScheduleHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; scheduledAt: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScheduleHealthyBowlGardenSuccessionArgs = { input: ScheduleGardenSuccessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationScheduleHealthyBowlIcsInspectionArgs = { input: ScheduleIcsInspectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSeedExportEntityConfigsArgs = { context?: InputMaybe<ContextInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSeedHealthyBowlDemoWorkspaceArgs = { input: SeedHealthyBowlDemoInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemArchiveAccessPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemArchiveConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemArchiveDataSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemArchiveModelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemArchiveQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemAskQuestionArgs = { input: SemNlQuestionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateAccessPolicyArgs = { input: SemCreateAccessPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateConnectorArgs = { input: SemCreateConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateDataSourceArgs = { input: SemCreateDataSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateDimensionArgs = { input: SemCreateDimensionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateEntityArgs = { input: SemCreateEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateMetricArgs = { input: SemCreateMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateModelArgs = { input: SemCreateModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateQueryArgs = { input: SemCreateQueryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemCreateRelationshipArgs = { input: SemCreateRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemDeleteEntityArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemDeleteMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemDeleteRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemDispatchAgentSweepArgs = { input: SemDispatchAgentSweepInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemExecuteSqlArgs = { input: SemExecuteSqlInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemPublishModelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemPublishQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemRecordConnectionArgs = { input: SemRecordConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemResolveAgentProposalArgs = { id: Scalars['ID']['input']; outcome: SemAgentProposalOutcome; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemRunQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemSetAccessPolicyActiveArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemTransitionDataSourceArgs = { id: Scalars['ID']['input']; status: SemDataSourceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateConnectorArgs = { id: Scalars['ID']['input']; input: SemUpdateConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateDataSourceArgs = { id: Scalars['ID']['input']; input: SemUpdateDataSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateEntityArgs = { id: Scalars['ID']['input']; input: SemUpdateEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateModelArgs = { id: Scalars['ID']['input']; input: SemUpdateModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateNlSettingsArgs = { input: SemUpdateNlSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSemUpdateQueryArgs = { id: Scalars['ID']['input']; input: SemUpdateQueryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendA2AMessageArgs = { input: SendA2AMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendChannelMessageArgs = { input: SendChannelMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendContextMessageArgs = { input: SendContextConversationMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendCrewShiftReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendEventReminderArgs = { reminderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendHealthyBowlSupplierMessageArgs = { input: SendHealthyBowlSupplierMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendMailboxMessageArgs = { input: SendMailboxMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendMessageArgs = { input: SendMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSendSessionInputArgs = { id: Scalars['ID']['input']; input: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetActorRolesArgs = { input: SetActorRolesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAgentApiKeyArgs = { agentId: Scalars['ID']['input']; apiKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAgentAutoUpdateArgs = { agentId: Scalars['ID']['input']; enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAgentPlaygroundConfigArgs = { agentId: Scalars['ID']['input']; graphqlUrl?: InputMaybe<Scalars['String']['input']>; openapiUrl?: InputMaybe<Scalars['String']['input']>; profile?: InputMaybe<Scalars['String']['input']>; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAgentVisibilityArgs = { input: SetAgentVisibilityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAiPredictionStatusArgs = { id: Scalars['ID']['input']; status: AiPredictionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetAssetHandlerFeatureFlagOverrideArgs = { input: SetAssetHandlerFeatureFlagOverrideInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetBalanceTargetArgs = { desiredHoursPerWeek: Scalars['Float']['input']; domain: TimeCampusLifeDomain; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetBigConsoleExternalEmbedsEnabledArgs = { enabled: Scalars['Boolean']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetConfigurationArgs = { context?: InputMaybe<ContextInput>; isSecret?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; value: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetConnectionSelfHostedReleaseArgs = { allow: Scalars['Boolean']['input']; connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetContinuousOptimisationEnabledArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetCrewJobPostingSkillArgs = { input: SetCrewJobPostingSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDashboardRlsPolicyArgs = { dashboardId: Scalars['ID']['input']; rlsPolicyId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDashboardTemplateTypeStatusArgs = { input: BigConsoleSetDashboardTemplateTypeStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDefaultCalendarArgs = { calendarId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDefaultFilterPresetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDefaultVibeDeckArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDefaultVibecontrolsAgentProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDefaultViewArgs = { viewId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetDriverVehiclesArgs = { id: Scalars['ID']['input']; vehicleIds: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetGgnomadPropertyAvailabilityArgs = { input: SetGgnomadPropertyAvailabilityInput; propertyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetGgnomadStorefrontCustomDomainArgs = { hostname: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetGgnomadStorefrontGuestCheckoutArgs = { enabled: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlConsultAvailabilityArgs = { input: SetHealthyBowlConsultAvailabilityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlEntityTagsArgs = { input: SetHealthyBowlEntityTagsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlInsuranceDocumentArgs = { input: SetHealthyBowlInsuranceDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlListingSharedArgs = { context: ContextInput; id: Scalars['ID']['input']; shared: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlLoanEscrowCommitmentArgs = { input: SetHealthyBowlLoanEscrowCommitmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlPaddockRestArgs = { input: SetHealthyBowlPaddockRestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHealthyBowlWholesalePriceTiersArgs = { input: SetHealthyBowlWholesalePriceTiersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHousingvistaInvestmentEligibilityArgs = { eligibilityVerified: Scalars['Boolean']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetHrisSyncScheduleArgs = { input: SetHrisSyncScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMailboxMessageReadArgs = { connectionId: Scalars['ID']['input']; messageId: Scalars['ID']['input']; read: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMaintenanceChecklistItemArgs = { completed: Scalars['Boolean']['input']; index: Scalars['Int']['input']; recordId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMaintenanceRecordContractArgs = { contractId?: InputMaybe<Scalars['ID']['input']>; recordId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMcpToolEnabledArgs = { enabled: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMetadataArgs = { input: SetMetadataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMultipleMetadataArgs = { input: SetMultipleMetadataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMyProactiveSettingsArgs = { input: SetMyProactiveSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetMyVibeLlmContextSettingsArgs = { input: VibeLlmContextSettingsInput; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetNodeStatusArgs = { id: Scalars['ID']['input']; status: NodeConfigStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetParserTypeStatusArgs = { input: SetParserTypeStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetRoleDefaultPermissionArgs = { input: SetRoleDefaultPermissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetRunFailureTriageEnabledArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetSandboxVisibilityArgs = { context: ContextInput; id: Scalars['ID']['input']; visibility: VibeVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetScheduleVisibilityArgs = { id: Scalars['ID']['input']; visibility: VibeVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetSecurityProviderArgs = { input: SetSecurityProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetSettingsSecretArgs = { input: SetSettingsSecretInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetTimeCampusCaptureEventProjectArgs = { id: Scalars['ID']['input']; projectId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetTimeCampusFeatureFlagOverrideArgs = { input: SetTimeCampusFeatureFlagOverrideInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetTunnelPublicAccessArgs = { ttlSeconds: Scalars['Int']['input']; tunnelId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetVibeEnvVarArgs = { isSecret?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; value: Scalars['String']['input']; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetVibeFeatureFlagArgs = { enabled: Scalars['Boolean']['input']; featureId: Scalars['String']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWidgetTypeStatusArgs = { input: BigConsoleSetWidgetTypeStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWorkOrderChecklistItemArgs = { completed: Scalars['Boolean']['input']; index: Scalars['Int']['input']; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWorkerTokenConnectionAllowlistArgs = { context: ContextInput; id: Scalars['ID']['input']; names: Array<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWorkflowRolloutArgs = { input: WorkflowRolloutInput; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWorkflowRunVersioningOverrideArgs = { override?: InputMaybe<VersioningOverrideInput>; reason?: InputMaybe<Scalars['String']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetWorkspaceAppEnabledArgs = { enabled: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSettleGgnomadOrderPaymentArgs = { billingOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSettleHealthyBowlAggregationLotArgs = { input: SettleHealthyBowlAggregationLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSettleHealthyBowlContractDeliveryArgs = { input: SettleHealthyBowlContractDeliveryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSetupAgentGatewayAuthArgs = { input: SetupAgentGatewayAuthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareActionArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareAgentInstructionFileArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareAiContextArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareAiPromptArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareCalendarArgs = { calendarId: Scalars['ID']['input']; canEdit: Scalars['Boolean']['input']; canManage: Scalars['Boolean']['input']; canView: Scalars['Boolean']['input']; teamId?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareCatalogArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareCollectionArgs = { input: ShareCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareComponentArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareConnectionArgs = { input: ShareConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareDashboardArgs = { input: BigConsoleShareDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareDocsArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareFileArgs = { input: ShareEntityInput; options?: InputMaybe<FileShareOptionsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareFolderArgs = { input: ShareEntityInput; options?: InputMaybe<FileShareOptionsInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareScorecardArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareSecretWithAccountArgs = { input: ShareSecretWithAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareSessionArgs = { input: ShareSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareSessionGrantArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareTargetArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareTemplateArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareTunnelArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareVaultArgs = { input: ShareVaultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareVibeArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareVibeDeckGrantArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareVibecontrolsNoteArgs = { input: ShareEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationShareWorkflowArgs = { input: ShareWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSignalWorkflowRunArgs = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; payload?: InputMaybe<Scalars['JSON']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSimulateScheduleOutageArgs = { id: Scalars['ID']['input']; missedTicks: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSnoozeHealthyBowlWeatherAlertArgs = { context: ContextInput; id: Scalars['ID']['input']; until: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSnoozeOptimisationSuggestionArgs = { id: Scalars['ID']['input']; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSnoozeRecommendationArgs = { id: Scalars['ID']['input']; until: Scalars['DateTime']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSplitTimeCampusCaptureEventArgs = { at: Scalars['DateTime']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartActivityArgs = { input: StartActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartAssistantTurnArgs = { input: StartAssistantTurnInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartAssistantWebsiteTurnArgs = { clientTurnId: Scalars['ID']['input']; message: Scalars['String']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartBatchExportArgs = { input: StartWorkflowBatchExportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartBatchOperationArgs = { input: StartWorkflowBatchOperationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartBatchTerminateArgs = { input: StartWorkflowBatchTerminateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartCallArgs = { input: StartCallInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartCallRecordingArgs = { callSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartCourseKnowledgeImportArgs = { input: StartCourseKnowledgeImportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartDiscoveryJobArgs = { input: StartDiscoveryJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartGgnomadDamageClaimReviewArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartHeadshotmarketingAdCreativeTestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartHealthyBowlCertificationRenewalArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartHrisSyncArgs = { input: StartHrisSyncInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartMeshAgentSessionArgs = { destinationAgentId: Scalars['ID']['input']; input: MeshSessionInput; rootAgentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartMtwProcedureExecutionArgs = { input: StartMtwProcedureExecutionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartPomodoroSessionArgs = { input: StartPomodoroSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartSandboxAgentJobArgs = { input: StartSandboxAgentJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartSessionRecordingArgs = { consentAcknowledged: Scalars['Boolean']['input']; sessionId: Scalars['ID']['input']; terminalCols?: InputMaybe<Scalars['Int']['input']>; terminalRows?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartSessionTerminalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartTerminalArgs = { shell?: InputMaybe<Scalars['String']['input']>; targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartTimeCampusFocusSessionArgs = { allowedApps?: InputMaybe<Array<Scalars['String']['input']>>; focusBlockId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; plannedDurationSeconds?: InputMaybe<Scalars['Int']['input']>; protectionLevel?: InputMaybe<TimeCampusFocusProtectionLevel>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartTimerArgs = { input: StartTimerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartTunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartTypingArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartVibecontrolsAgentArgs = { agentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartWorkflowArgs = { input: StartWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartWorkflowTerminateExistingArgs = { input: StartWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStartWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopCallRecordingArgs = { callSessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopMyAssistantSandboxArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopSandboxArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopSessionTerminalArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopTerminalArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopTimerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopTunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopTypingArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopVibecontrolsAgentArgs = { agentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopWebhookTestListenerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationStopWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubActivateWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAddNegotiationNoteArgs = { id: Scalars['ID']['input']; message: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminAssignProcurementRequestArgs = { expertId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminPurgeWorkspaceArgs = { includeSoftDeleted?: InputMaybe<Scalars['Boolean']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminRecordNegotiationOutcomeArgs = { id: Scalars['ID']['input']; input: SubRecordNegotiationOutcomeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminRecordProcurementOutcomeArgs = { id: Scalars['ID']['input']; input: SubRecordProcurementOutcomeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminRetryNegotiationFeeBillingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminRetryProcurementFeeBillingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminRunDataRetentionArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminSendProcurementMessageArgs = { id: Scalars['ID']['input']; internal?: InputMaybe<Scalars['Boolean']['input']>; message: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminSetNegotiationStatusArgs = { id: Scalars['ID']['input']; message?: InputMaybe<Scalars['String']['input']>; status: SubNegotiationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminSetProcurementStatusArgs = { id: Scalars['ID']['input']; message?: InputMaybe<Scalars['String']['input']>; status: SubProcurementStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminUpsertProcurementExpertArgs = { input: SubUpsertProcurementExpertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminWaiveNegotiationFeeArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubAdminWaiveProcurementFeeArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubApplyDecisionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubApproveAdapterArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubArchiveProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCancelNegotiationArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCancelProcurementRequestArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCancelRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCancelRenewalReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCompleteBankLinkArgs = { input: SubCompleteBankLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubConnectWorkflowNodesArgs = { input: SubConnectWorkflowNodesInput; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubConsolidateRelationshipsArgs = { input: SubConsolidateRelationshipsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateAgentArgs = { input: SubCreateAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateAssetArgs = { input: SubCreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateBankLinkSessionArgs = { aggregator: SubBankAggregator; connectionId?: InputMaybe<Scalars['ID']['input']>; customerIdentifier?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateBenchmarkDataPointArgs = { input: SubCreateBenchmarkDataPointInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateChannelArgs = { input: SubCreateChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateEntitlementArgs = { input: SubCreateEntitlementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateInvoiceArgs = { input: SubCreateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateNegotiationArgs = { input: SubCreateNegotiationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreatePaymentInstrumentArgs = { input: SubCreatePaymentInstrumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreatePlanArgs = { input: SubCreatePlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreatePolicyArgs = { input: SubCreatePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateProcurementRequestArgs = { input: SubCreateProcurementRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateProviderArgs = { input: SubCreateProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateRelationshipArgs = { input: SubCreateRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateWorkflowArgs = { input: SubCreateWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubCreateWorkflowNodeArgs = { input: SubWorkflowNodeInput; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDeleteWorkflowNodeArgs = { nodeId: Scalars['ID']['input']; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDisconnectChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDisconnectWorkflowNodesArgs = { edgeId: Scalars['ID']['input']; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDismissBundleArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDismissDecisionArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubDismissRecurringChargeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubImportBankStatementArgs = { input: SubImportBankStatementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubIngestMessageArgs = { input: SubIngestMessageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubLayoutWorkflowArgs = { positions: Array<SubWorkflowNodePositionInput>; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubMarkInvoicePaidArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubMarkMessageReadArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubMarkMessageUnreadArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubModerateListingArgs = { action: SubModerationAction; id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubPauseWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRecordNegotiationOutcomeArgs = { id: Scalars['ID']['input']; input: SubRecordNegotiationOutcomeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRejectAdapterArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRemoveBankConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRemovePaymentInstrumentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRestoreRecurringChargeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRunAgentArgs = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRunScheduledAgentSweepArgs = { input?: InputMaybe<SubRunAgentSweepInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubRunScheduledBankSyncArgs = { input?: InputMaybe<SubRunBankSyncInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSaveWorkflowGraphArgs = { input: SubSaveWorkflowGraphInput; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSendProcurementMessageArgs = { id: Scalars['ID']['input']; message: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSetAgentStatusArgs = { id: Scalars['ID']['input']; status: SubAgentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSetRenewalReminderArgs = { note?: InputMaybe<Scalars['String']['input']>; relationshipId: Scalars['ID']['input']; remindAt?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSetSpendBudgetArgs = { input: SubSetSpendBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSubmitNegotiationArgs = { id: Scalars['ID']['input']; input?: InputMaybe<SubSubmitNegotiationInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSubmitProcurementRequestArgs = { id: Scalars['ID']['input']; input: SubSubmitProcurementRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubSyncBankConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubTrackRecurringChargeArgs = { id: Scalars['ID']['input']; input?: InputMaybe<SubTrackRecurringChargeInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubTransitionRelationshipArgs = { id: Scalars['ID']['input']; status: SubRelationshipStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubUpdateNegotiationArgs = { id: Scalars['ID']['input']; input: SubUpdateNegotiationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubUpdateProcurementRequestArgs = { id: Scalars['ID']['input']; input: SubUpdateProcurementRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubUpdateProviderArgs = { id: Scalars['ID']['input']; input: SubUpdateProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubUpdateRelationshipArgs = { id: Scalars['ID']['input']; input: SubUpdateRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubUpdateWorkflowNodeArgs = { input: SubUpdateWorkflowNodeInput; nodeId: Scalars['ID']['input']; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubVerifyChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitApprovalRequestArgs = { input: SubmitApprovalRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitConnectorArgs = { input: SubmitConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitExpenseForApprovalArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitGgnomadListingForReviewArgs = { id: Scalars['ID']['input']; listingType: GgnomadListingType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitHousingvistaOfferArgs = { input: HousingVistaSubmitOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitHousingvistaRentalApplicationArgs = { input: HousingVistaSubmitRentalApplicationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitMtwInspectorQualificationArgs = { input: SubmitMtwInspectorQualificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitTimeCampusAppletToMarketplaceArgs = { appletId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubmitTimeCampusThirdPartyAppletVersionArgs = { versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSubscribeProductArgs = { input: SubscribeProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSuggestNextNodeArgs = { input: SuggestNextNodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSuggestTimeCampusCaptureEventCategoryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSuspendTimeCampusMarketplaceListingArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSuspendTimeCampusThirdPartyAppletArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSwitchProjectArgs = { projectId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncCatalogNodeEndpointArgs = { input: SyncCatalogNodeEndpointInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncFromGlobalArgs = { input: SyncFromGlobalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncGgnomadChannelMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncGgnomadOrderPaymentArgs = { orderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncGroupRuleArgs = { ruleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHeadshotmarketingAdCampaignFromPlatformArgs = { adCampaignId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHeadshotmarketingAdLeadFormsArgs = { adCampaignId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHealthyBowlAccountingIntegrationArgs = { input: SyncHealthyBowlAccountingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHealthyBowlFieldObservationsArgs = { input: SyncFieldObservationsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHealthyBowlInsurancePremiumPaymentArgs = { input: PayHealthyBowlInsurancePremiumInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHealthyBowlOrderPaymentArgs = { context: ContextInput; orderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncHealthyBowlWeatherHistoryArgs = { context: ContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncMyCrewFieldEventsArgs = { events: Array<CrewOfflineFieldEventInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationSyncTimeCampusCaptureChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagAnalyticsDashboardArgs = { input: TagAnalyticsDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagAnalyticsMetricArgs = { input: TagAnalyticsMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagAnalyticsReportArgs = { input: TagAnalyticsReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagAssetArgs = { input: TagAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagBigconsoleEntityArgs = { input: TagBigConsoleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagCommentArgs = { input: TagCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagConnectionArgs = { input: TagConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagCosEntityArgs = { input: TagCosEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagEventfullyManagedEntityArgs = { input: EventfullyManagedTagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagFileArgs = { input: TagFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagFluidgridsEntityArgs = { input: TagFluidgridsEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagFolderArgs = { input: TagFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagGroupArgs = { input: TagGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagIntelwatchtowerEntityArgs = { input: IntTagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagNoteArgs = { input: TagNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagProjectArgs = { input: TagProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagSandboxArgs = { input: TagSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagScheduledJobArgs = { input: TagScheduledJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagSecretArgs = { input: TagSecretInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagVibecontrolsEntityArgs = { input: TagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTagWorkspaceArgs = { input: TagWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTakeOverWorkflowEditLeaseArgs = { input: WorkflowEditLeaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpAddCitationArgs = { input: TcpCreateCitationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpAddStoryClaimArgs = { input: TcpCreateStoryClaimInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpArchiveArchiveItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpArchiveTopicArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpCreateArchiveItemArgs = { input: TcpCreateArchiveItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpCreateCollectionArgs = { input: TcpCreateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpCreateStoryArgs = { input: TcpCreateStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpCreateTopicArgs = { input: TcpCreateTopicInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpGenerateAiContextArgs = { input: TcpGenerateAiContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpLinkCitationToClaimArgs = { citationId: Scalars['ID']['input']; claimId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpLockDiscussionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpModerateReplyArgs = { id: Scalars['ID']['input']; status: TcpModerationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpOpenDiscussionArgs = { input: TcpCreateDiscussionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpPostReplyArgs = { input: TcpCreateReplyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpRecordOralHistoryArgs = { input: TcpCreateOralHistoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpRemoveStoryClaimArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpReviewAiContextArgs = { approved: Scalars['Boolean']['input']; id: Scalars['ID']['input']; reviewNotes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpToggleStoryBookmarkArgs = { storyId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpTransitionStoryArgs = { id: Scalars['ID']['input']; status: TcpStoryStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpUpdateArchiveItemArgs = { id: Scalars['ID']['input']; input: TcpUpdateArchiveItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpUpdateOralHistoryArgs = { id: Scalars['ID']['input']; input: TcpUpdateOralHistoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpUpdateStoryArgs = { id: Scalars['ID']['input']; input: TcpUpdateStoryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpUpdateStoryClaimArgs = { id: Scalars['ID']['input']; input: TcpUpdateStoryClaimInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpUpdateTopicArgs = { id: Scalars['ID']['input']; input: TcpUpdateTopicInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpVerifyCitationArgs = { id: Scalars['ID']['input']; verification: TcpVerificationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTcpWithdrawOralHistoryArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTeardownHealthyBowlDemoWorkspaceArgs = { input: TeardownHealthyBowlDemoInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecAddPortfolioItemArgs = { input: TecAddPortfolioItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecApproveMentorArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecArchiveAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecArchiveCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecArchiveStudyPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecBecomeMentorArgs = { input: TecCreateMentorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecBookSessionArgs = { input: TecBookSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCancelSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecClaimAssessmentCertificateArgs = { attemptId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCompleteHackathonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCompleteLessonArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCompleteSessionArgs = { feedback?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; rating?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecConfirmSessionArgs = { id: Scalars['ID']['input']; meetingUrl?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecConnectHrisArgs = { input: TecConnectHrisInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecConnectXapiLrsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateAssessmentArgs = { input: TecCreateAssessmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateCourseArgs = { input: TecCreateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateHackathonArgs = { input: TecCreateHackathonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateLessonArgs = { input: TecCreateLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateProblemArgs = { input: TecCreateProblemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecCreateProblemTestCaseArgs = { input: TecCreateProblemTestCaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecDeleteProblemTestCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecEnrollArgs = { input: TecEnrollInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecExportScormPackageArgs = { appOrigin?: InputMaybe<Scalars['String']['input']>; courseId: Scalars['ID']['input']; version?: InputMaybe<TecScormVersion>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecGenerateStudyPlanArgs = { input: TecGenerateStudyPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecGradeSubmissionArgs = { id: Scalars['ID']['input']; runtimeMs?: InputMaybe<Scalars['Int']['input']>; verdict: TecSubmissionVerdict; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecIssueCertificateArgs = { courseId: Scalars['ID']['input']; learnerId: Scalars['ID']['input']; score: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecIssueGreenhouseApiKeyArgs = { appOrigin?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecOpenRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecPublishAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecPublishCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecPublishProblemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRecordAssessmentSignalArgs = { attemptId: Scalars['ID']['input']; detail?: InputMaybe<Scalars['JSON']['input']>; signal: TecAssessmentSignal; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRecordLegalAcceptanceArgs = { input: TecRecordLegalAcceptanceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRegisterTeamArgs = { input: TecRegisterTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRegradeSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRemovePortfolioItemArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecReorderPortfolioItemsArgs = { input: TecReorderPortfolioItemsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecResendGreenhouseInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecReviewAssessmentAttemptArgs = { decision: TecAssessmentReviewDecision; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecReviewSubmissionArgs = { submissionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRevokeCertificateArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRunLessonCodeArgs = { input: TecRunLessonCodeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecRunSolutionArgs = { input: TecRunSolutionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSaveAssessmentAnswersArgs = { answers: Array<Scalars['Int']['input']>; attemptId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecScoreTeamArgs = { id: Scalars['ID']['input']; score: Scalars['Int']['input']; winner?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSetGreenhouseEnabledArgs = { enabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecShareCertificatesWithGreenhouseArgs = { certificateIds: Array<Scalars['ID']['input']>; token: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecStartAssessmentArgs = { acceptMonitoring?: InputMaybe<Scalars['Boolean']['input']>; assessmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecStartHackathonArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecStartJudgingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSubmitAssessmentArgs = { answers?: InputMaybe<Array<Scalars['Int']['input']>>; attemptId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSubmitLessonQuizArgs = { answers: Array<Scalars['Int']['input']>; lessonId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSubmitProjectArgs = { input: TecSubmitProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecSubmitSolutionArgs = { input: TecSubmitSolutionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecTestGreenhouseConnectionArgs = { apiKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateAssessmentArgs = { id: Scalars['ID']['input']; input: TecUpdateAssessmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateCourseArgs = { id: Scalars['ID']['input']; input: TecUpdateCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateHackathonArgs = { id: Scalars['ID']['input']; input: TecUpdateHackathonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateLessonArgs = { id: Scalars['ID']['input']; input: TecUpdateLessonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateMentorArgs = { id: Scalars['ID']['input']; input: TecUpdateMentorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateProblemArgs = { id: Scalars['ID']['input']; input: TecUpdateProblemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateProblemTestCaseArgs = { id: Scalars['ID']['input']; input: TecUpdateProblemTestCaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateProgressArgs = { input: TecUpdateProgressInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTecUpdateStudyPlanStepStatusArgs = { input: TecUpdateStudyPlanStepStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTerminateHousingvistaLeaseArgs = { id: Scalars['ID']['input']; input: HousingVistaTerminateLeaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTerminateMtwReuseReservationArgs = { input: TerminateMtwReuseReservationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTerminateSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTerminateWorkflowArgs = { reason?: InputMaybe<Scalars['String']['input']>; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTerminateWorkflowRunArgs = { reason?: InputMaybe<Scalars['String']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestConnectionArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestLlmConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestLogStreamDestinationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestMcpConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestPipelineArgs = { input: TestPipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestRuleSetArgs = { input: TestRuleSetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestSecretsProviderConnectionArgs = { provider: SecretProviderType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestTargetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestVaultIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestWebhookArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTestWebhookMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAddSupplierContactArgs = { input: TheAddSupplierContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAddWorkOrderPartArgs = { input: TheAddWorkOrderPartInput; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheApproveProductionAllocationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheApproveReserveValuationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAssignWorkOrderToContractorArgs = { id: Scalars['ID']['input']; input: TheAssignWorkOrderContractorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAssignWorkOrderToCrewArgs = { id: Scalars['ID']['input']; input: TheAssignWorkOrderCrewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAssignWorkOrderVendorArgs = { supplierId?: InputMaybe<Scalars['ID']['input']>; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAttachWorkOrderFileArgs = { input: TheAttachWorkOrderFileInput; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheAttributeWorkOrderDowntimeArgs = { downtimeHours?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; productionRecordId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheBulkAllocateProductionArgs = { input: TheBulkAllocateProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCancelCarbonCreditArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheClearWorkOrderExternalAssignmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCloseAllocationPeriodArgs = { input: TheCloseAllocationPeriodInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateAllocationCorrectionArgs = { input: TheCreateAllocationCorrectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateAssetArgs = { input: TheCreateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateChainNetworkArgs = { input: TheChainNetworkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateComplianceCertArgs = { input: TheCreateComplianceCertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateConditionRuleArgs = { input: TheCreateConditionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateContractArgs = { input: TheCreateOfftakeContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateContractEntitlementArgs = { input: TheCreateContractEntitlementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateCorrectiveActionArgs = { input: TheCreateCorrectiveActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateEquipmentArgs = { input: TheCreateEquipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateForecastScenarioArgs = { input: TheForecastScenarioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateInterestDeckArgs = { input: TheCreateInterestDeckInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateInventoryLotArgs = { input: TheCreateInventoryLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateMaintenanceScheduleArgs = { input: TheCreateMaintenanceScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreatePriceIndexArgs = { input: ThePriceIndexInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateProductionAllocationArgs = { input: TheCreateProductionAllocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateReserveEstimateArgs = { input: TheCreateReserveEstimateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateReserveValuationArgs = { input: TheCreateReserveValuationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateServiceContractArgs = { input: TheCreateServiceContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateSupplierArgs = { input: TheCreateSupplierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheCreateWorkOrderArgs = { input: TheCreateWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeleteChainNetworkArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeleteForecastScenarioArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeleteForecastSnapshotArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeleteInterestDeckArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeletePriceIndexArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeletePricePointArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheDeliverShipmentArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheFinalizeEsgDisclosureArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheGenerateEsgDisclosureArgs = { input: TheGenerateEsgDisclosureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheGenerateScheduledWorkOrdersArgs = { horizonDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheLinkEquipmentToAssetHandlerArgs = { assetHandlerAssetId?: InputMaybe<Scalars['ID']['input']>; equipmentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheLinkOfftakeContractSupplierArgs = { contractId: Scalars['ID']['input']; supplierId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheLinkShipmentCarrierArgs = { shipmentId: Scalars['ID']['input']; supplierId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheLinkShipmentSourceArgs = { input: TheLinkShipmentSourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheLockForecastScenarioArgs = { id: Scalars['ID']['input']; input?: InputMaybe<TheLockForecastScenarioInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRaiseWorkOrderFromProductionRecordArgs = { input: TheRaiseWorkOrderFromProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordConditionReadingArgs = { input: TheConditionReadingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordEmissionArgs = { input: TheRecordEmissionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordLegalAcceptanceArgs = { checkpointType: TheLegalCheckpointType; documentVersion: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordPricePointsArgs = { indexId: Scalars['ID']['input']; points: Array<ThePricePointInput>; source?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordProductionArgs = { input: TheRecordProductionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRecordSupplierScorecardArgs = { input: TheRecordSupplierScorecardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRegisterCarbonCreditArgs = { input: TheRegisterCarbonCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRemoveContractEntitlementArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRemoveSupplierContactArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRemoveWorkOrderAttachmentArgs = { attachmentId: Scalars['ID']['input']; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRemoveWorkOrderPartArgs = { partId: Scalars['ID']['input']; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheReopenAllocationPeriodArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheReportSafetyIncidentArgs = { input: TheReportSafetyIncidentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheResetUnitConversionArgs = { input: TheResetUnitConversionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRetireAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheRetireCarbonCreditsArgs = { input: TheRetireCarbonCreditsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheReverseProductionAllocationArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheReverseReserveValuationArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheScheduleShipmentArgs = { input: TheCreateShipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetAssetPhotoArgs = { id: Scalars['ID']['input']; photoFileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetInventoryLotStatusArgs = { id: Scalars['ID']['input']; status: TheInventoryStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetMaintenanceIntegrationsArgs = { input: TheSetMaintenanceIntegrationsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetSupplierStatusArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; status: TheSupplierStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetUnitConversionArgs = { input: TheSetUnitConversionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSetWorkOrderChecklistItemArgs = { completed: Scalars['Boolean']['input']; itemId: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; workOrderId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSyncAssetHandlerWorkOrdersArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheSyncWorkOrderWithAssetHandlerArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionAssetArgs = { id: Scalars['ID']['input']; status: TheAssetStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionComplianceCertArgs = { id: Scalars['ID']['input']; status: TheComplianceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionContractArgs = { id: Scalars['ID']['input']; status: TheContractStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionCorrectiveActionArgs = { id: Scalars['ID']['input']; status: TheCorrectiveActionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionSafetyIncidentArgs = { id: Scalars['ID']['input']; status: TheSafetyIncidentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionServiceContractArgs = { id: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; status: TheServiceContractStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionShipmentArgs = { id: Scalars['ID']['input']; status: TheShipmentStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheTransitionWorkOrderArgs = { details?: InputMaybe<TheWorkOrderTransitionInput>; id: Scalars['ID']['input']; status: TheWorkOrderStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUnlinkShipmentSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateAssetArgs = { id: Scalars['ID']['input']; input: TheUpdateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateChainNetworkArgs = { id: Scalars['ID']['input']; input: TheUpdateChainNetworkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateConditionRuleArgs = { id: Scalars['ID']['input']; input: TheUpdateConditionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateContractArgs = { id: Scalars['ID']['input']; input: TheUpdateOfftakeContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateEquipmentArgs = { id: Scalars['ID']['input']; input: TheUpdateEquipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateForecastScenarioArgs = { id: Scalars['ID']['input']; input: TheUpdateForecastScenarioInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateForecastSnapshotArgs = { id: Scalars['ID']['input']; input: TheUpdateForecastSnapshotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateIncidentInvestigationArgs = { id: Scalars['ID']['input']; investigationNotes: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateMaintenanceScheduleArgs = { id: Scalars['ID']['input']; input: TheUpdateMaintenanceScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateMaintenanceSettingsArgs = { input: TheUpdateMaintenanceSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdatePriceIndexArgs = { id: Scalars['ID']['input']; input: ThePriceIndexInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateServiceContractArgs = { id: Scalars['ID']['input']; input: TheUpdateServiceContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateShipmentArgs = { id: Scalars['ID']['input']; input: TheUpdateShipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateSupplierArgs = { id: Scalars['ID']['input']; input: TheUpdateSupplierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateSupplierContactArgs = { id: Scalars['ID']['input']; input: TheUpdateSupplierContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheUpdateWorkOrderArgs = { id: Scalars['ID']['input']; input: TheUpdateWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTheVerifyEmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleClientPortalArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleCrewOnboardingTaskArgs = { completed: Scalars['Boolean']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleEventRegistrationArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleEventWebhookMappingArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleFileStarredArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleFolderStarredArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleGeofenceArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleGgnomadFavoriteArgs = { input: ToggleGgnomadFavoriteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleNodeEnabledArgs = { id: Scalars['ID']['input']; isEnabled: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationToggleScheduleArgs = { id: Scalars['ID']['input']; isActive: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTouchWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackEntityAccessArgs = { entityId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackEventArgs = { input: TrackEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackEventBatchArgs = { events: Array<TrackEventInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackMetricArgs = { input: TrackMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackShareDownloadArgs = { shareId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrackUsageArgs = { input: TrackUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransferConnectionOwnershipArgs = { connectionId: Scalars['ID']['input']; ownerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransferGroupOwnershipArgs = { groupId: Scalars['ID']['input']; newOwnerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransferInventoryStockArgs = { input: TransferInventoryStockInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransferSessionControlArgs = { sessionId: Scalars['ID']['input']; toUserId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransferWorkflowOwnershipArgs = { ownerId: Scalars['ID']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransitionCrewDispatchArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; status: CrewDispatchStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransitionHealthyBowlCarbonCreditArgs = { input: TransitionHealthyBowlCarbonCreditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTransplantHealthyBowlNurseryBatchArgs = { context: ContextInput; cropId: Scalars['ID']['input']; fieldId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTrashMailboxThreadArgs = { connectionId: Scalars['ID']['input']; threadId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerAnalyticsScheduledReportArgs = { scheduleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerBotmanorBoundWorkflowArgs = { input: TriggerBoundWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerBoundWorkflowArgs = { input: TriggerBoundWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerScheduledCommentArgs = { input: TriggerScheduledCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerSyncArgs = { syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerVaultSyncArgs = { integrationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerVibeCalendarTaskNowArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerWebhookArgs = { id: Scalars['ID']['input']; payload: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerWorkflowArgs = { input: TriggerWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerWorkflowScheduleArgs = { overlapPolicy?: InputMaybe<WorkflowScheduleOverlapPolicy>; triggerNodeId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTriggerWorkflowTerminateExistingArgs = { input: TriggerWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationTurnHealthyBowlCompostBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnarchiveConversationArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnarchiveProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnassignWorkspaceQuotaArgs = { id: Scalars['ID']['input']; secret?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnhideMessageArgs = { messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallAgentFromTargetArgs = { targetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallDashboardTemplateTypeArgs = { input: BigConsoleUninstallDashboardTemplateTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallNodeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallPackageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallParserTypeArgs = { input: UninstallParserTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallProviderPluginArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallRemoteAgentArgs = { sshTargetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallTimeCampusAppletArgs = { key: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallTimeCampusMarketplaceAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallTimeCampusThirdPartyAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallWidgetTypeArgs = { input: BigConsoleUninstallWidgetTypeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallWorkspaceAppArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallWorkspaceAppByNameArgs = { appName: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUninstallWorkspaceAppsArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnlinkDataSinkFromWorkflowArgs = { dataSinkId: Scalars['ID']['input']; workflowId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnlinkEntityFromVibeArgs = { entityId: Scalars['ID']['input']; entityType: VibeEntityType; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnlinkSandboxFromVibeArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnlinkScheduleFromVibeArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnlockVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnmatchHealthyBowlStatementLineArgs = { input: HealthyBowlStatementLineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnmuteConversationArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpauseActivityArgs = { resetAttempts?: InputMaybe<Scalars['Boolean']['input']>; resetHeartbeat?: InputMaybe<Scalars['Boolean']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; selector: WorkflowActivitySelectorInput; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpauseWorkflowScheduleArgs = { triggerNodeId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpinConversationArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpinMessageArgs = { messageId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpinNodeDataArgs = { id: Scalars['ID']['input']; nodeId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpinNoteArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpublishGgnomadOperatorStorefrontArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpublishHealthyBowlSeedLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnpublishHealthyBowlTraceBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnregisterGgnomadPushDeviceArgs = { deviceToken: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnshareVaultArgs = { actorId: Scalars['String']['input']; actorType: Scalars['String']['input']; vaultId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnsubscribeProductArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUnsubscribeWorkspaceFromProductArgs = { productId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagAnalyticsDashboardArgs = { input: UntagAnalyticsDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagAnalyticsMetricArgs = { input: UntagAnalyticsMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagAnalyticsReportArgs = { input: UntagAnalyticsReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagAssetArgs = { input: UntagAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagBigconsoleEntityArgs = { input: UntagBigConsoleEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagCommentArgs = { input: UntagCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagConnectionArgs = { input: UntagConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagCosEntityArgs = { input: UntagCosEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagEventfullyManagedEntityArgs = { input: EventfullyManagedUntagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagFileArgs = { input: UntagFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagFluidgridsEntityArgs = { input: UntagFluidgridsEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagFolderArgs = { input: UntagFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagGroupArgs = { input: UntagGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagIntelwatchtowerEntityArgs = { input: IntUntagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagNoteArgs = { input: UntagNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagProjectArgs = { input: UntagProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagSandboxArgs = { input: UntagSandboxInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagScheduledJobArgs = { input: UntagScheduledJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagSecretArgs = { input: UntagSecretInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagVibecontrolsEntityArgs = { input: UntagEntityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUntagWorkspaceArgs = { input: UntagWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateA2AConnectionArgs = { id: Scalars['ID']['input']; input: UpdateA2AConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateA2ARegistryEntryArgs = { id: Scalars['ID']['input']; input: UpdateA2ARegistryEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAiPromptArgs = { id: Scalars['ID']['input']; input: UpdateAiPromptInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActionArgs = { id: Scalars['ID']['input']; input: UpdateActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActionItemArgs = { id: Scalars['ID']['input']; input: UpdateActionItemInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActionShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActiveSessionArgs = { sessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActiveVibeArgs = { vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateActivityOptionsArgs = { options: WorkflowActivityOptionsInput; runId?: InputMaybe<Scalars['ID']['input']>; selector: WorkflowActivitySelectorInput; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentDefinitionArgs = { id: Scalars['ID']['input']; input: AgentDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentInstructionFileArgs = { id: Scalars['ID']['input']; input: UpdateAgentInstructionFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentInstructionFileShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentMessageBookmarkArgs = { id: Scalars['ID']['input']; input: UpdateAgentMessageBookmarkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentOwnershipArgs = { input: UpdateAgentOwnershipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentPluginArgs = { agentId: Scalars['ID']['input']; packageName: Scalars['String']['input']; version?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentTemplateArgs = { id: Scalars['ID']['input']; input: UpdateAgentTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentTunnelUrlArgs = { agentId: Scalars['ID']['input']; tunnelUrl: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAgentVersionArgs = { agentId: Scalars['ID']['input']; version?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAiContextArgs = { id: Scalars['ID']['input']; input: UpdateAiContextInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAiContextShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAiPromptShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAiSpendAlertSettingsArgs = { input: UpdateAiSpendAlertSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAllocationArgs = { id: Scalars['ID']['input']; input: UpdateAllocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAppAgentArgs = { id: Scalars['ID']['input']; input: UpdateAppAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAppTemplateArgs = { id: Scalars['ID']['input']; input: UpdateAppTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateApplicationUsageArgs = { id: Scalars['ID']['input']; input: UpdateApplicationUsageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAssetArgs = { id: Scalars['ID']['input']; input: UpdateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateAvailabilityRuleArgs = { id: Scalars['ID']['input']; input: UpdateAvailabilityRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBigConsoleDashboardArgs = { input: BigConsoleUpdateDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBigConsoleSettingsArgs = { input: BigConsoleUpdateSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBigConsoleWidgetArgs = { input: BigConsoleUpdateWidgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBookingPageArgs = { id: Scalars['ID']['input']; input: UpdateBookingPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotAppArgs = { id: Scalars['ID']['input']; input: UpdateBotAppInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotlitAgentArgs = { id: Scalars['ID']['input']; input: UpdateBotlitAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotmanorAgentArgs = { id: Scalars['ID']['input']; input: UpdateBotmanorAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotmanorAgentApprovalSettingsArgs = { requireActivationApproval: Scalars['Boolean']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotmanorLlmModelArgs = { id: Scalars['ID']['input']; input: UpdateBotmanorLlmModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBotmanorLlmProviderArgs = { id: Scalars['ID']['input']; input: UpdateBotmanorLlmProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBucketArgs = { id: Scalars['ID']['input']; input: UpdateBucketInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateBudgetArgs = { id: Scalars['ID']['input']; input: AssetHandlerUpdateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCalendarArgs = { id: Scalars['ID']['input']; input: UpdateCalendarInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCalendarEventStatusArgs = { eventId: Scalars['ID']['input']; status: CalendarEventStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCalendarResourceArgs = { id: Scalars['ID']['input']; input: UpdateCalendarResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCalendarShareArgs = { canEdit?: InputMaybe<Scalars['Boolean']['input']>; canManage?: InputMaybe<Scalars['Boolean']['input']>; canView?: InputMaybe<Scalars['Boolean']['input']>; shareId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCallParticipantArgs = { input: UpdateCallParticipantInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCargoItemArgs = { id: Scalars['ID']['input']; input: UpdateCargoItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCatalogShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateChannelConnectorArgs = { id: Scalars['ID']['input']; input: UpdateChannelConnectorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateChannelRouteArgs = { id: Scalars['ID']['input']; input: UpdateChannelRouteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateClientPortalConfigArgs = { id: Scalars['ID']['input']; input: UpdateClientPortalConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCohortArgs = { id: Scalars['ID']['input']; input: UpdateCohortInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCollectionArgs = { id: Scalars['ID']['input']; input: UpdateCollectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCollectionShareArgs = { input: UpdateCollectionShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateComponentShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateConnectionArgs = { id: Scalars['ID']['input']; input: UpdateConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateConnectionPermissionsArgs = { connectionId: Scalars['ID']['input']; input: UpdateConnectionPermissionsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateConnectorSubmissionOAuthClientArgs = { id: Scalars['ID']['input']; input: ConnectorOAuthClientInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateContextSharingPolicyArgs = { input: TimeCampusContextSharingPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateConversationArgs = { input: UpdateConversationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewAnnouncementArgs = { id: Scalars['ID']['input']; input: UpdateCrewAnnouncementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewCandidateArgs = { id: Scalars['ID']['input']; input: UpdateCrewCandidateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewClientArgs = { id: Scalars['ID']['input']; input: UpdateCrewClientInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewDepartmentArgs = { id: Scalars['ID']['input']; input: UpdateCrewDepartmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewDispatchArgs = { id: Scalars['ID']['input']; input: UpdateCrewDispatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewEmployeeArgs = { id: Scalars['ID']['input']; input: UpdateCrewEmployeeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewEnrollmentStatusArgs = { id: Scalars['ID']['input']; status: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewInterviewArgs = { id: Scalars['ID']['input']; input: UpdateCrewInterviewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewJobPostingArgs = { id: Scalars['ID']['input']; input: UpdateCrewJobPostingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewLeaveRequestArgs = { id: Scalars['ID']['input']; input: UpdateCrewLeaveRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewOnboardingArgs = { id: Scalars['ID']['input']; input: UpdateCrewOnboardingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewOnboardingTaskArgs = { id: Scalars['ID']['input']; input: UpdateCrewOnboardingTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewPayrollRecordArgs = { id: Scalars['ID']['input']; input: UpdateCrewPayrollRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewProjectArgs = { id: Scalars['ID']['input']; input: UpdateCrewProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewShiftArgs = { id: Scalars['ID']['input']; input: UpdateCrewShiftInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewShiftPatternArgs = { id: Scalars['ID']['input']; input: UpdateCrewShiftPatternInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewSkillArgs = { id: Scalars['ID']['input']; input: UpdateCrewSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewTeamArgs = { id: Scalars['ID']['input']; input: UpdateCrewTeamInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewTimeEntryArgs = { id: Scalars['ID']['input']; input: UpdateCrewTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewTrainingCourseArgs = { id: Scalars['ID']['input']; input: UpdateCrewTrainingCourseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCrewVendorArgs = { id: Scalars['ID']['input']; input: UpdateCrewVendorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateCustomerArgs = { id: Scalars['ID']['input']; input: UpdateCustomerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardArgs = { id: Scalars['ID']['input']; input: UpdateDashboardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardEmbedPolicyArgs = { input: BigConsoleUpdateDashboardEmbedPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardPageArgs = { input: BigConsoleUpdateDashboardPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardRlsPolicyArgs = { input: BigConsoleUpdateDashboardRlsPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardShareArgs = { input: BigConsoleUpdateDashboardShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDashboardViewArgs = { input: BigConsoleUpdateDashboardViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDataSinkArgs = { input: UpdateDataSinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDataSinkLinkArgs = { input: UpdateDataSinkLinkInput; linkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDataTableArgs = { id: Scalars['ID']['input']; input: UpdateDataTableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDataTableRowArgs = { data: Scalars['JSON']['input']; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDeliveryJobArgs = { id: Scalars['ID']['input']; input: UpdateDeliveryJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDeliveryJobStatusArgs = { id: Scalars['ID']['input']; input: UpdateDeliveryJobStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsBuildImageArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsDocsBuildImageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsPageArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsDocsPageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsSiteArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsDocsSiteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsSiteRuntimeArgs = { buildImageId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; runtime: VibecontrolsDocsBuildRuntime; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDocsSiteVisibilityArgs = { id: Scalars['ID']['input']; visibility: VibecontrolsDocsSiteVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDriverArgs = { id: Scalars['ID']['input']; input: UpdateDriverInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateDriverStatusArgs = { id: Scalars['ID']['input']; status: DriverStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEmailTimeEntryArgs = { id: Scalars['ID']['input']; input: UpdateEmailTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEntityCommentArgs = { input: UpdateEntityCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEntityVisibilityArgs = { entityId: Scalars['ID']['input']; entityType: VibeEntityType; visibility: VibeVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEsgMetricArgs = { id: Scalars['ID']['input']; input: UpdateEsgMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEventArgs = { id: Scalars['ID']['input']; input: UpdateEventInput; scope?: InputMaybe<UpdateScope>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEventRegistrationArgs = { id: Scalars['ID']['input']; input: UpdateEventRegistrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEventSchemaArgs = { id: Scalars['ID']['input']; input: UpdateEventSchemaInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEventVisibilityArgs = { eventId: Scalars['ID']['input']; visibility: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateEventWebhookMappingArgs = { id: Scalars['ID']['input']; input: BigConsoleUpdateWidgetEventWebhookMappingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateExecutionStatusArgs = { id: Scalars['ID']['input']; input: UpdateExecutionStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateExpenseArgs = { id: Scalars['ID']['input']; input: UpdateExpenseInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateExportTemplateArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; input: UpdateExportTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFileArgs = { id: Scalars['ID']['input']; input: UpdateFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFileShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFileVisibilityArgs = { id: Scalars['ID']['input']; visibility: FileVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFilterPresetArgs = { id: Scalars['ID']['input']; input: BigConsoleUpdateFilterPresetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFocusScoreArgs = { id: Scalars['ID']['input']; input: UpdateFocusScoreInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFolderArgs = { id: Scalars['ID']['input']; input: UpdateFolderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFolderShareArgs = { id: Scalars['ID']['input']; input: FolderUpdateShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFolderShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFolderVisibilityArgs = { id: Scalars['ID']['input']; visibility: FileVisibility; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateFunnelArgs = { id: Scalars['ID']['input']; input: UpdateFunnelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGeneratedWidgetPositionArgs = { generationId: Scalars['ID']['input']; pageIndex: Scalars['Int']['input']; position: BigConsoleWidgetPositionInput; widgetIndex: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGeofenceArgs = { id: Scalars['ID']['input']; input: UpdateGeofenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadActivityArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadAffiliateCommissionRuleArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadAffiliateCommissionRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadAffiliatePartnerArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadAffiliatePartnerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadAffiliatePayoutScheduleArgs = { input: UpdateGgnomadAffiliatePayoutScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadCartItemQuantityArgs = { cartItemId: Scalars['ID']['input']; quantity: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadCheckoutSettingsArgs = { input: UpdateGgnomadCheckoutSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadEventArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadGovernancePolicyArgs = { input: UpdateGgnomadGovernancePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadOperatorStorefrontArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadOperatorStorefrontInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadPricingRuleArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadPricingRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadPropertyArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadPropertyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadProviderArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadTourArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadTourInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadTravelPolicyArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadTravelPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadTripArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadTripInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGgnomadTripPlanArgs = { id: Scalars['ID']['input']; input: UpdateGgnomadTripPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGlobalFilterArgs = { input: BigConsoleUpdateGlobalFilterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGroupArgs = { id: Scalars['ID']['input']; input: UpdateGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGroupRuleArgs = { input: GroupRuleUpdateInput; ruleId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGroupSettingArgs = { input: UpdateGroupSettingInput; settingId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateGroupTemplateArgs = { id: Scalars['ID']['input']; input: UpdateGroupTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingAdCampaignArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingAdCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingAdCreativeArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingAdCreativeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingAudienceArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingAudienceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingAutomationWorkflowArgs = { id: Scalars['ID']['input']; input: HeadshotmarketingUpdateAutomationWorkflowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingCampaignArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingCampaignTemplateArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingCampaignTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingContactArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingDealArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingDealInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingInfluencerArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingInfluencerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingInfluencerCampaignArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingInfluencerCampaignInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingInfluencerRelationshipArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingInfluencerRelationshipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingInfluencerRelationshipStatusArgs = { id: Scalars['ID']['input']; status: HeadshotmarketingInfluencerRelationshipStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingLeadArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingLeadInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingPipelineArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingPipelineInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingPipelineStageArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingPipelineStageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingSocialAccountArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingSocialAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingSocialMentionStatusArgs = { assignedTo?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; status: HeadshotmarketingSocialMentionStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; input: UpdateHeadshotmarketingSocialPostInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAccountingSyncSettingsArgs = { input: UpdateHealthyBowlAccountingSyncSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAdvisoryTaskStatusArgs = { input: UpdateHealthyBowlAdvisoryTaskStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAnimalArgs = { input: UpdateAnimalInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAnimalDepthArgs = { input: UpdateHealthyBowlAnimalDepthInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAnimalGroupArgs = { input: UpdateHealthyBowlAnimalGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAuctionArgs = { input: UpdateHealthyBowlAuctionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlAuditArgs = { input: UpdateAuditInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlBankAccountArgs = { input: UpdateHealthyBowlBankAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlBedArgs = { input: UpdateHealthyBowlBedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlBreedingRecordArgs = { input: UpdateBreedingRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlBudgetArgs = { input: UpdateBudgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCertificationArgs = { input: UpdateCertificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCertificationChecklistItemArgs = { input: UpdateChecklistItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlComplianceDocumentArgs = { input: UpdateComplianceDocumentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCompostBatchArgs = { input: UpdateCompostBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlConsultationStatusArgs = { input: UpdateHealthyBowlConsultationStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlContactArgs = { input: UpdateHealthyBowlContactInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCostCenterArgs = { input: UpdateHealthyBowlCostCenterInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCrewArgs = { input: UpdateHealthyBowlCrewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCropArgs = { input: UpdateCropInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCsaDeliveryArgs = { input: UpdateHealthyBowlCsaDeliveryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCsaMembershipArgs = { input: UpdateHealthyBowlCsaMembershipInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCsaPickupLocationArgs = { input: UpdateHealthyBowlCsaPickupLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlCsaPlanArgs = { input: UpdateHealthyBowlCsaPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlDeliveryStopArgs = { input: UpdateHealthyBowlDeliveryStopInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlDiseaseWarningRuleArgs = { input: UpdateHealthyBowlDiseaseWarningRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlExpertArgs = { input: UpdateExpertInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlFarmArgs = { input: UpdateFarmInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlFarmEventArgs = { input: UpdateFarmEventInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlFeedRecordArgs = { input: UpdateFeedRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlFieldArgs = { input: UpdateHealthyBowlFieldInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlFieldSensorThresholdsArgs = { input: UpdateFieldSensorThresholdsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlGardenCareTaskArgs = { input: UpdateGardenCareTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlGardenInputArgs = { input: UpdateGardenInputInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlGardenPlantingArgs = { input: UpdateGardenPlantingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlGovernmentSchemeArgs = { input: UpdateGovernmentSchemeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlGrowSpaceArgs = { input: UpdateGrowSpaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlHarvestRecordArgs = { input: UpdateHarvestRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlHealthRecordArgs = { input: UpdateHealthRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlIcsGroupArgs = { input: UpdateIcsGroupInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlIcsGrowerArgs = { input: UpdateIcsGrowerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlInputPlanArgs = { input: UpdateHealthyBowlInputPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlInputPlanItemArgs = { input: UpdateHealthyBowlInputPlanItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlInsuranceClaimArgs = { input: UpdateHealthyBowlInsuranceClaimInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlInsurancePolicyArgs = { input: UpdateHealthyBowlInsurancePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlInvoiceArgs = { input: UpdateInvoiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlIrrigationAutomationArgs = { input: UpdateHealthyBowlIrrigationAutomationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlIrrigationScheduleArgs = { input: UpdateHealthyBowlIrrigationScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlLabourEntryArgs = { input: UpdateHealthyBowlLabourEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlLedgerAccountArgs = { input: UpdateHealthyBowlLedgerAccountInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlLoanFacilitationArgs = { input: UpdateHealthyBowlLoanFacilitationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlMapFeatureArgs = { input: UpdateHealthyBowlMapFeatureInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlMarketplaceProductArgs = { input: UpdateMarketplaceProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlMedicationLibraryItemArgs = { input: UpdateMedicationLibraryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlMedicationTreatmentArgs = { input: UpdateMedicationTreatmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlMentorArgs = { input: UpdateMentorInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlNurseryBatchArgs = { input: UpdateHealthyBowlNurseryBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlOrderArgs = { input: UpdateMarketplaceOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlOrderPaymentStatusArgs = { billingAccountId?: InputMaybe<Scalars['ID']['input']>; currency?: InputMaybe<Scalars['String']['input']>; failureReason?: InputMaybe<Scalars['String']['input']>; isAutoRenew?: InputMaybe<Scalars['Boolean']['input']>; jurisdiction?: InputMaybe<Scalars['String']['input']>; orderId: Scalars['ID']['input']; paidAmount?: InputMaybe<Scalars['Float']['input']>; paymentId?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<Scalars['String']['input']>; providerSubscriptions?: InputMaybe<Scalars['String']['input']>; status: Scalars['String']['input']; subtotal?: InputMaybe<Scalars['Float']['input']>; taxAmount?: InputMaybe<Scalars['Float']['input']>; taxRate?: InputMaybe<Scalars['Float']['input']>; taxType?: InputMaybe<Scalars['String']['input']>; transactionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlPestIssueArgs = { input: UpdatePestIssueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlPlantCatalogEntryArgs = { input: UpdateHealthyBowlPlantCatalogInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlPlantingActivityArgs = { input: UpdateHealthyBowlPlantingActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlPlantingPlanArgs = { input: UpdatePlantingPlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlPriceAlertRuleArgs = { input: UpdateHealthyBowlPriceAlertRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlProductArgs = { input: UpdateHealthyBowlProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlProductionRecordArgs = { input: UpdateProductionRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlRecipeArgs = { input: UpdateRecipeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSatelliteSettingsArgs = { input: HbUpdateSatelliteSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSchemeApplicationStatusArgs = { input: UpdateSchemeApplicationStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSeedLotArgs = { input: UpdateHealthyBowlSeedLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSensorProbeArgs = { input: UpdateSensorProbeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSoilTestArgs = { input: UpdateSoilTestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlStorageLocationArgs = { input: UpdateHealthyBowlStorageLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlStorageLotArgs = { input: UpdateHealthyBowlStorageLotInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSubstanceRuleArgs = { input: UpdateComplianceSubstanceRuleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlSupplierArgs = { input: UpdateHealthyBowlSupplierInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlTerraceGardenArgs = { input: UpdateTerraceGardenInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlTraceBatchArgs = { input: UpdateTraceBatchInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlTracePortalSettingsArgs = { input: UpdateTracePortalSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlTransactionArgs = { input: UpdateHealthyBowlTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlTreatmentArgs = { input: UpdateTreatmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlVaccinationArgs = { input: UpdateVaccinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlWholesaleOrderArgs = { input: UpdateHealthyBowlWholesaleOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHealthyBowlWorkerArgs = { input: UpdateHealthyBowlWorkerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaAmcContractArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateAmcContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaAreaInsightArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateAreaInsightInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaAssetArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaExpenseArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateExpenseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaHomeLoanOfferArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateHomeLoanOfferInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaInvestmentArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateInvestmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaLegalServiceArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateLegalServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaMaintenanceRequestArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateMaintenanceRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaMarketTrendArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateMarketTrendInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaMarketplaceServiceArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateMarketplaceServiceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaPropertyArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdatePropertyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaPropertyReraStatusArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; status: HousingVistaReraVerificationStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaRentalUnitArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateRentalUnitInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaTransactionArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateTransactionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaVerificationItemArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateVerificationItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateHousingvistaViewingArgs = { id: Scalars['ID']['input']; input: HousingVistaUpdateViewingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateIncidentArgs = { id: Scalars['ID']['input']; input: UpdateIncidentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateInstalledPackageArgs = { id: Scalars['ID']['input']; input: UpdateInstalledPackageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateIntegrationArgs = { id: Scalars['ID']['input']; input: UpdateIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateInventoryItemArgs = { id: Scalars['ID']['input']; input: UpdateInventoryItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateInvitationArgs = { id: Scalars['ID']['input']; input: UpdateInvitationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateKnowledgeArticleArgs = { id: Scalars['ID']['input']; input: UpdateKnowledgeArticleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateKnowledgeBaseArgs = { id: Scalars['ID']['input']; input: UpdateKnowledgeBaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLlmModelArgs = { id: Scalars['ID']['input']; input: UpdateBotlitLlmModelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLlmProviderArgs = { id: Scalars['ID']['input']; input: UpdateBotlitLlmProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLifeGoalArgs = { id: Scalars['ID']['input']; input: TimeCampusLifeGoalUpdateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLifeValueArgs = { id: Scalars['ID']['input']; input: TimeCampusLifeValueUpdateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLocationEntryArgs = { id: Scalars['ID']['input']; input: UpdateLocationEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateLogStreamDestinationArgs = { id: Scalars['ID']['input']; input: UpdateLogStreamDestinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMcpConnectionArgs = { id: Scalars['ID']['input']; input: UpdateMcpConnectionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMcpToolArgs = { id: Scalars['ID']['input']; input: UpdateMcpToolInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMaintenanceContractArgs = { id: Scalars['ID']['input']; input: UpdateMaintenanceContractInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMaintenancePlanArgs = { id: Scalars['ID']['input']; input: UpdateMaintenancePlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMaintenanceRecordArgs = { id: Scalars['ID']['input']; input: UpdateMaintenanceRecordInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMeetingArgs = { id: Scalars['ID']['input']; input: UpdateMeetingInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMemberRoleArgs = { membershipId: Scalars['ID']['input']; role: MembershipRole; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMeshLinkPermissionsArgs = { input: UpdateConnectionPermissionsInput; meshLinkId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMetadataArgs = { id: Scalars['ID']['input']; input: UpdateMetadataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMetricArgs = { id: Scalars['ID']['input']; input: UpdateMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMtwCustomerNotificationSettingsArgs = { input: UpdateMtwCustomerNotificationSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMtwModuleSettingsArgs = { input: UpdateMtwModuleSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMtwReportArgs = { id: Scalars['ID']['input']; input: MtwUpdateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyAssistantConversationArgs = { input: UpdateMyAssistantConversationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyBookingStatusArgs = { id: Scalars['ID']['input']; status: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyCrewDispatchStatusArgs = { id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; status: CrewDispatchStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyLifeProfileArgs = { input: TimeCampusLifeProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyNavViewArgs = { id: Scalars['ID']['input']; input: UpdateNavViewInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyRecommendationPreferencesArgs = { input: TimeCampusRecommendationPreferenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyServiceListingArgs = { id: Scalars['ID']['input']; input: UpdateCrewServiceListingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateMyTimeCampusIdleDetectionSettingsArgs = { input: TimeCampusIdleDetectionSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateNodeEndpointArgs = { endpointUrl: Scalars['String']['input']; healthCheckUrl?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateNoteArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsNoteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateNotificationPreferencesArgs = { input: UpdateNotificationPreferencesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateNotificationSettingsArgs = { input: UpdateNotificationSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateParserArgs = { id: Scalars['ID']['input']; input: UpdateParserInput; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateParticipantRoleArgs = { input: UpdateParticipantRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateParticipantStatusArgs = { meetingId: Scalars['ID']['input']; participantId: Scalars['ID']['input']; status: MeetingParticipantStatus; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePipelineArgs = { id: Scalars['ID']['input']; input: UpdatePipelineInput; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePolicyArgs = { id: Scalars['ID']['input']; input: UpdatePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePolicyReferenceArgs = { id: Scalars['ID']['input']; input: UpdatePolicyReferenceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePomodoroGoalArgs = { id: Scalars['ID']['input']; input: UpdatePomodoroGoalInput; workspaceId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePomodoroSettingsArgs = { input: UpdatePomodoroSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePreferencesArgs = { input: UpdatePreferencesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePresenceArgs = { customStatus?: InputMaybe<Scalars['String']['input']>; status: PresenceStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateProfileArgs = { input: UpdateProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateProjectArgs = { id: Scalars['ID']['input']; input: UpdateProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePromptConfigArgs = { config: PromptConfigInput; eventId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdatePromptTemplateArgs = { id: Scalars['ID']['input']; input: UpdatePromptTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateProviderPluginArgs = { id: Scalars['ID']['input']; input: UpdateProviderPluginInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRbacConfigArgs = { input: UpdateRbacConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateReportArgs = { id: Scalars['ID']['input']; input: UpdateReportInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateReportScheduleArgs = { id: Scalars['ID']['input']; input: UpdateReportScheduleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRepositorySecurityConfigArgs = { input: UpdateRepositorySecurityConfigInput; vibeId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateResourceArgs = { id: Scalars['ID']['input']; input: UpdateResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateResourceBookingArgs = { bookingId: Scalars['ID']['input']; input: UpdateResourceBookingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateResourcePlanArgs = { id: Scalars['ID']['input']; input: UpdateResourcePlanInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRetrievalProfileArgs = { id: Scalars['ID']['input']; input: UpdateRetrievalProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRoleArgs = { id: Scalars['ID']['input']; input: UpdateRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRouteArgs = { id: Scalars['ID']['input']; input: UpdateRouteInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateRuleSetArgs = { id: Scalars['ID']['input']; input: UpdateRuleSetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSandboxConfigArgs = { input: UpdateSandboxConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSandboxTemplateArgs = { input: UpdateSandboxTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSavedQueryArgs = { id: Scalars['ID']['input']; input: UpdateSavedQueryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateScheduleTemplateArgs = { id: Scalars['ID']['input']; input: UpdateScheduleTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateScheduledCommentArgs = { input: UpdateScheduledCommentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateScheduledJobArgs = { id: Scalars['ID']['input']; input: UpdateScheduledJobInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateScorecardShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSecretArgs = { id: Scalars['ID']['input']; input: UpdateSecretInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSecretShareRoleArgs = { id: Scalars['ID']['input']; role: VaultMemberRole; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSecurityFindingStatusArgs = { id: Scalars['ID']['input']; status: SecurityFindingStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateServiceOfferingArgs = { id: Scalars['ID']['input']; input: MtwUpdateServiceOfferingInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateServiceProviderArgs = { id: Scalars['ID']['input']; input: MtwUpdateServiceProviderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSessionArgs = { id: Scalars['ID']['input']; input: UpdateSessionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSessionGrantShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSessionShareArgs = { id: Scalars['ID']['input']; input: UpdateSessionShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateShareArgs = { id: Scalars['ID']['input']; input: FileUpdateShareInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateShipmentArgs = { id: Scalars['ID']['input']; input: UpdateShipmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSiemDestinationArgs = { id: Scalars['ID']['input']; input: UpdateSiemDestinationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSkillArgs = { id: Scalars['ID']['input']; input: UpdateSkillInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSubscribedProductArgs = { id: Scalars['ID']['input']; input: UpdateSubscribedProductInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateSyncSettingsArgs = { input: UpdateSyncSettingsInput; syncId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTagArgs = { id: Scalars['ID']['input']; input: UpdateTagInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTagAssignmentArgs = { id: Scalars['ID']['input']; input: UpdateTagAssignmentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTagRelationArgs = { id: Scalars['ID']['input']; input: UpdateTagRelationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTagRuleArgs = { enabled?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTagTranslationArgs = { input: UpdateTagTranslationInput; locale: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTargetArgs = { id: Scalars['ID']['input']; input: UpdateTargetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTargetShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTaskArgs = { id: Scalars['ID']['input']; input: UpdateTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTaskQueueArgs = { id: Scalars['ID']['input']; input: UpdateTaskQueueInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTaskStatusArgs = { id: Scalars['ID']['input']; status: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTemplateArgs = { input: BigConsoleUpdateDashboardTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTemplateShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusCaptureChannelArgs = { id: Scalars['ID']['input']; input: TimeCampusUpdateCaptureChannelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusFocusPreferencesArgs = { input: TimeCampusFocusPreferencesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusInvoiceStatusArgs = { input: UpdateTimeCampusInvoiceStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusMyWidgetLayoutArgs = { widgetKeys: Array<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusProjectArgs = { id: Scalars['ID']['input']; input: UpdateTimeCampusProjectInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusThirdPartyAppletVersionArgs = { manifest: Scalars['JSON']['input']; versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeCampusTimeTriggerArgs = { id: Scalars['ID']['input']; input: UpdateTimeCampusTimeTriggerInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTimeEntryArgs = { id: Scalars['ID']['input']; input: UpdateTimeEntryInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTunnelArgs = { id: Scalars['ID']['input']; input: UpdateTunnelInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateTunnelShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVaultArgs = { id: Scalars['ID']['input']; input: UpdateVaultInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVaultIntegrationArgs = { id: Scalars['ID']['input']; input: UpdateVaultIntegrationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVaultMemberRoleArgs = { actorId: Scalars['String']['input']; actorType: Scalars['String']['input']; role: VaultMemberRole; vaultId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVaultSecurityIncidentArgs = { assignedTo?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; investigationNotes?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; severity?: InputMaybe<VaultIncidentSeverity>; status?: InputMaybe<VaultIncidentStatus>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVaultSyncConfigArgs = { id: Scalars['ID']['input']; input: UpdateVaultSyncConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVehicleArgs = { id: Scalars['ID']['input']; input: UpdateVehicleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVehicleLocationArgs = { id: Scalars['ID']['input']; location: Scalars['JSON']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVehicleStatusArgs = { id: Scalars['ID']['input']; status: VehicleStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeArgs = { id: Scalars['ID']['input']; input: UpdateVibeInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeCalendarTaskArgs = { id: Scalars['ID']['input']; input: UpdateVibeCalendarTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeDeckArgs = { id: Scalars['ID']['input']; input: UpdateVibeDeckInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeDeckButtonArgs = { id: Scalars['ID']['input']; input: UpdateVibeDeckButtonInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeDeckGrantShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeDeckShareLinkArgs = { id: Scalars['ID']['input']; input: UpdateVibeDeckShareLinkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeGitArgs = { gitBranch?: InputMaybe<Scalars['String']['input']>; gitRemote?: InputMaybe<Scalars['String']['input']>; gitStatus?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibeStatusArgs = { id: Scalars['ID']['input']; status: VibeStatus; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsAgentArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsAgentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsAgentProfileArgs = { id: Scalars['ID']['input']; input: UpdateVibecontrolsAgentProfileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsCatalogArgs = { id: Scalars['ID']['input']; input: UpdateCatalogInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsComponentArgs = { id: Scalars['ID']['input']; input: UpdateComponentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsNoteShareRoleArgs = { input: UpdateShareRoleInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsScorecardMetricArgs = { id: Scalars['ID']['input']; input: UpdateScorecardMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVibecontrolsTemplateArgs = { id: Scalars['ID']['input']; input: VibecontrolsUpdateTemplateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateVocabularyArgs = { id: Scalars['ID']['input']; input: UpdateVocabularyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWarehouseArgs = { id: Scalars['ID']['input']; input: UpdateWarehouseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWarehouseLocationArgs = { id: Scalars['ID']['input']; input: UpdateWarehouseLocationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWebhookArgs = { id: Scalars['ID']['input']; input: UpdateWebhookInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWidgetArgs = { id: Scalars['ID']['input']; input: UpdateWidgetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWidgetActionArgs = { input: BigConsoleUpdateWidgetActionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWidgetDrilldownArgs = { enabled?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; maxDepth?: InputMaybe<Scalars['Int']['input']>; navigationMode?: InputMaybe<BigConsoleDrilldownNavigationMode>; parameterMapping?: InputMaybe<Scalars['JSON']['input']>; passGlobalFilters?: InputMaybe<Scalars['Boolean']['input']>; targetDashboardId?: InputMaybe<Scalars['ID']['input']>; targetPageId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWidgetInGeneratedSpecArgs = { generationId: Scalars['ID']['input']; pageIndex: Scalars['Int']['input']; updates: BigConsoleGeneratedWidgetUpdateInput; widgetIndex: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWidgetRendererArgs = { renderer: BigConsoleWidgetRenderer; template?: InputMaybe<Scalars['JSON']['input']>; widgetId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkOrderArgs = { id: Scalars['ID']['input']; input: UpdateWorkOrderInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkPatternArgs = { id: Scalars['ID']['input']; input: UpdateWorkPatternInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowArgs = { id: Scalars['ID']['input']; input: UpdateWorkflowInput; version: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowDefinitionArgs = { id: Scalars['ID']['input']; input: UpdateWorkflowDefinitionInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowEnvironmentPolicyArgs = { input: UpdateWorkflowEnvironmentPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowExecutionSettingsArgs = { input: UpdateWorkflowExecutionSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowNotificationSettingsArgs = { input: UpdateWorkflowNotificationSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowRunArgs = { args?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; timeoutMs?: InputMaybe<Scalars['Int']['input']>; updateId: Scalars['ID']['input']; waitFor?: InputMaybe<WorkflowUpdateWaitFor>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowScheduledJobArgs = { input: WorkflowUpdateScheduledJobInput; jobId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowTestCaseArgs = { id: Scalars['ID']['input']; input: WorkflowTestCaseInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowVariableArgs = { id: Scalars['ID']['input']; input: UpdateWorkflowVariableInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkflowWorkspaceAiPolicyArgs = { input: UpdateWorkflowWorkspaceAiPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkspaceArgs = { id: Scalars['ID']['input']; input: UpdateWorkspaceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkspaceDefaultsArgs = { input: UpdateWorkspaceDefaultsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkspaceInstalledAppArgs = { id: Scalars['ID']['input']; input: UpdateWorkspaceInstalledAppInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkspaceMemberRolesArgs = { input: UpdateWorkspaceMemberRolesInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpdateWorkspaceResourceArgs = { id: Scalars['ID']['input']; input: UpdateWorkspaceResourceInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUploadFileArgs = { input: UploadFileInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertActionPolicyArgs = { input: ActionPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertConfigurationItemArgs = { input: UpsertConfigurationItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertDashboardTranslationArgs = { input: BigConsoleUpsertDashboardTranslationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertDataSinkAlertArgs = { alert: DataSinkAlertInput; dataSinkId: Scalars['ID']['input']; expectedVersion: Scalars['Int']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertEsgMetricArgs = { input: UpsertEsgMetricInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertHandoffConfigArgs = { agentId: Scalars['ID']['input']; input: BotmanorHandoffConfigInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertHealthyBowlEudrStatementArgs = { input: UpsertHealthyBowlEudrStatementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertHealthyBowlGhgActivityArgs = { input: UpsertHealthyBowlGhgActivityInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertHealthyBowlSoilCarbonEstimateArgs = { input: UpsertHealthyBowlSoilCarbonEstimateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertHealthyBowlWeatherAlertSettingsArgs = { input: UpsertHealthyBowlWeatherAlertSettingsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertLicenseEntitlementArgs = { input: UpsertLicenseEntitlementInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertProviderAuthMethodArgs = { input: UpsertProviderAuthMethodInput; providerId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertSecurityComplianceFrameworkArgs = { input: UpsertSecurityComplianceFrameworkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertSecurityGovernancePolicyArgs = { input: UpsertSecurityGovernancePolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertSoftwareAssetArgs = { input: UpsertSoftwareAssetInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertVibecontrolsScorecardArgs = { input: UpsertScorecardInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationUpsertWorkflowRunSearchAttributesArgs = { attributes: Scalars['JSON']['input']; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationValidateDocsBuildImageArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVerifyGgnomadProviderArgs = { id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVerifyGgnomadStorefrontCustomDomainArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVerifyHealthyBowlGhgInventoryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVerifyMtwInspectorQualificationArgs = { input: VerifyMtwInspectorQualificationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVerifyTunnelDomainArgs = { domainId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVibecontrolsAgentHeartbeatArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVoidGgnomadAffiliateCommissionArgs = { id: Scalars['ID']['input']; reason: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVoidHealthyBowlJournalEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVoidHealthyBowlLoanRepaymentArgs = { input: VoidHealthyBowlLoanRepaymentInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVoteGgnomadTripPlanItemArgs = { groupTripId: Scalars['ID']['input']; input: VoteGgnomadTripPlanItemInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationVotePollArgs = { optionIds: Array<Scalars['ID']['input']>; pollId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWakeMeshAgentArgs = { agentId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWithdrawConnectorSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWithdrawHousingvistaOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWithdrawRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWithdrawTimeCampusAppletFromMarketplaceArgs = { appletId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWithdrawTimeCampusThirdPartyAppletVersionArgs = { versionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerAppendRunLogsArgs = { input: WorkerAppendRunLogsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCancelHumanResponseRequestArgs = { input: WorkerCancelHumanResponseRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCompleteActivityArgs = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; result: Scalars['JSON']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCompleteQueryTaskArgs = { failure?: InputMaybe<WorkflowTaskFailureInput>; queryResults: Array<Scalars['JSON']['input']>; queryTaskId: Scalars['ID']['input']; runId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCompleteRunArgs = { input: WorkerCompleteRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCompleteWorkflowTaskArgs = { input: WorkerCompleteWorkflowTaskInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCreateChildRunArgs = { input: WorkerCreateChildRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCreateHumanResponseRequestArgs = { input: WorkerCreateHumanResponseRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCreateNodeStateArgs = { input: WorkerCreateNodeStateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerCreateToolApprovalRequestArgs = { input: WorkerCreateToolApprovalRequestInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerDataTableDeleteRowsArgs = { input: WorkerDataTableDeleteRowsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerDataTableInsertRowArgs = { input: WorkerDataTableInsertRowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerDataTableUpdateRowArgs = { input: WorkerDataTableUpdateRowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerDataTableUpsertRowArgs = { input: WorkerDataTableUpsertRowInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerDedupeCheckAndMarkArgs = { input: WorkerDedupeCheckAndMarkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerEvaluateActionPolicyArgs = { input: WorkerEvaluateActionPolicyInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerFailActivityArgs = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; failure: WorkflowActivityFailureInput; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerFailWorkflowTaskArgs = { failure: WorkflowTaskFailureInput; runId: Scalars['ID']['input']; taskId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerGetOrCreateNodeStateArgs = { input: WorkerCreateNodeStateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerMarkRunQueuedArgs = { input: WorkerMarkRunQueuedInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerNotifyHumanRespondersArgs = { input: WorkerNotifyHumanRespondersInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerParkActivityAsyncArgs = { input: WorkerActivityParkInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerPollQueryTasksArgs = { buildIds: Array<Scalars['String']['input']>; max: Scalars['Int']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerPollTasksArgs = { input: WorkerPollTasksInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRecordActivityHeartbeatArgs = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; details?: InputMaybe<Scalars['JSON']['input']>; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRecordAgentStepsArgs = { input: WorkerRecordAgentStepsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRecordRunAiInvocationsArgs = { input: WorkerRecordRunAiInvocationsInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRecordRunBudgetExceededArgs = { input: WorkerRecordRunBudgetExceededInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRecordWorkflowTaskHeartbeatArgs = { localActivities?: InputMaybe<Array<WorkflowTaskLocalActivityInput>>; runId: Scalars['ID']['input']; taskId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerReleaseWorkerTasksArgs = { reason: Scalars['String']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerResolveActivityConnectionArgs = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; name: Scalars['String']['input']; runId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRunFailureTriageArgs = { input: WorkerRunFailureTriageInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerRunOptimisationArgs = { input: WorkerRunOptimisationInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerSignalRunArgs = { input: WorkerSignalRunInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerStartActivityArgs = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; runId: Scalars['ID']['input']; workerId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerStartNodeStateArgs = { input: WorkerStartNodeStateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerStartWorkflowTaskArgs = { runId: Scalars['ID']['input']; taskId: Scalars['ID']['input']; workerId: Scalars['String']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerSyncWorkflowStaticDataArgs = { input: SyncWorkflowStaticDataInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerUpdateNodeStateArgs = { input: WorkerUpdateNodeStateInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerUpdateRunStatusArgs = { input: WorkerUpdateRunStatusInput; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkerUpsertRunSearchAttributesArgs = { attributes: Scalars['JSON']['input']; nodeStateId: Scalars['ID']['input']; runId: Scalars['ID']['input']; }; /** * Base Mutation type with placeholder field. * Extended by individual mutation files. */ export type MutationWorkspaceRecordLegalAcceptanceArgs = { checkpointType: WorkspaceLegalCheckpointType; documentVersion: Scalars['String']['input']; productKey?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type MutationResponse = { message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type MyCrewShiftFilterInput = { from?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<CrewShiftStatus>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** Lightweight result for myRoles query - returns only role information */ export type MyRolesResult = { __typename?: 'MyRolesResult'; /** Whether the actor has admin-level access in this scope */ isAdmin: Scalars['Boolean']['output']; /** Whether the actor is the owner of this scope */ isOwner: Scalars['Boolean']['output']; /** Roles assigned to the actor */ roles: Array<RoleInfo>; }; export type MybAiOperationLog = { __typename?: 'MybAiOperationLog'; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; inputTokens?: Maybe<Scalars['Int']['output']>; memberId: Scalars['ID']['output']; modelName: Scalars['String']['output']; operationType: MybAiOperationType; outputTokens?: Maybe<Scalars['Int']['output']>; provider: MybAiProvider; status: MybAiOperationStatus; workspaceId: Scalars['ID']['output']; }; export type MybAiOperationLogConnection = { __typename?: 'MybAiOperationLogConnection'; items: Array<MybAiOperationLog>; pageInfo: MybPageInfo; }; export declare enum MybAiOperationStatus { Error = "ERROR", Success = "SUCCESS" } export declare enum MybAiOperationType { GuidanceSummary = "GUIDANCE_SUMMARY" } export type MybAiProcessingConsent = { __typename?: 'MybAiProcessingConsent'; acceptedAt?: Maybe<Scalars['DateTime']['output']>; actorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; withdrawnAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum MybAiProvider { Anthropic = "ANTHROPIC", Gemini = "GEMINI", Openai = "OPENAI" } export type MybAiSettings = { __typename?: 'MybAiSettings'; allowanceResetAt: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; dailyAllowance: Scalars['Int']['output']; dailyAllowanceUsed: Scalars['Int']['output']; /** * Whether a provider key is saved. The key itself is never returned — it is * encrypted at rest and used server-side when generating AI output. */ hasProviderKey: Scalars['Boolean']['output']; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; modelName: Scalars['String']['output']; provider: MybAiProvider; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybBodyMetric = { __typename?: 'MybBodyMetric'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; measuredAt: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; /** Reference to a wspace-files-svc File (e.g. a progress photo). */ photo?: Maybe<File>; /** * MANUAL (typed by the member/coach) or DEVICE (ingested from a connected * wearable via mybSyncDeviceReadings — BOFF-4172). */ source: MybLogSource; type: MybBodyMetricType; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type MybBodyMetricConnection = { __typename?: 'MybBodyMetricConnection'; items: Array<MybBodyMetric>; pageInfo: MybPageInfo; }; export declare enum MybBodyMetricType { Arm = "ARM", BodyFat = "BODY_FAT", Chest = "CHEST", Hips = "HIPS", RestingHeartRate = "RESTING_HEART_RATE", Thigh = "THIGH", Waist = "WAIST", Weight = "WEIGHT" } export type MybChallenge = { __typename?: 'MybChallenge'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Whether the calling member has already joined this challenge. */ isJoined: Scalars['Boolean']['output']; /** Whether the calling member created this challenge (and so may cancel it). */ isMine: Scalars['Boolean']['output']; metric: MybChallengeMetric; participantCount: Scalars['Int']['output']; startDate: Scalars['DateTime']['output']; status: MybChallengeStatus; targetValue?: Maybe<Scalars['Int']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybChallengeConnection = { __typename?: 'MybChallengeConnection'; items: Array<MybChallenge>; pageInfo: MybPageInfo; }; export declare enum MybChallengeMetric { SessionCount = "SESSION_COUNT" } export type MybChallengeParticipant = { __typename?: 'MybChallengeParticipant'; challengeId: Scalars['ID']['output']; id: Scalars['ID']['output']; joinedAt: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MybChallengeStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT" } export type MybCoachingConnection = { __typename?: 'MybCoachingConnection'; items: Array<MybCoachingRelationship>; pageInfo: MybPageInfo; }; export type MybCoachingRelationship = { __typename?: 'MybCoachingRelationship'; coachId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; endedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; shareMetrics: Scalars['Boolean']['output']; shareNutrition: Scalars['Boolean']['output']; shareWorkouts: Scalars['Boolean']['output']; specialty?: Maybe<Scalars['String']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: MybCoachingStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MybCoachingStatus { Active = "ACTIVE", Ended = "ENDED", Paused = "PAUSED", Pending = "PENDING" } export type MybCompleteMindfulnessSessionInput = { completedAt: Scalars['DateTime']['input']; cyclesCompleted: Scalars['Int']['input']; durationSeconds: Scalars['Int']['input']; exerciseId: Scalars['ID']['input']; startedAt: Scalars['DateTime']['input']; }; export type MybCompleteSessionInput = { caloriesBurned?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; perceivedExertion?: InputMaybe<Scalars['Int']['input']>; }; export type MybConnectDeviceInput = { externalAccountId?: InputMaybe<Scalars['String']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; provider: MybDeviceProvider; scopes?: InputMaybe<Array<Scalars['String']['input']>>; }; export type MybCreateChallengeInput = { description?: InputMaybe<Scalars['String']['input']>; endDate: Scalars['DateTime']['input']; metric?: InputMaybe<MybChallengeMetric>; startDate: Scalars['DateTime']['input']; targetValue?: InputMaybe<Scalars['Int']['input']>; title: Scalars['String']['input']; }; export type MybCreateCoachingInput = { coachId: Scalars['ID']['input']; memberId: Scalars['ID']['input']; shareMetrics?: InputMaybe<Scalars['Boolean']['input']>; shareNutrition?: InputMaybe<Scalars['Boolean']['input']>; shareWorkouts?: InputMaybe<Scalars['Boolean']['input']>; specialty?: InputMaybe<Scalars['String']['input']>; }; export type MybCreateExerciseInput = { demoFileId?: InputMaybe<Scalars['ID']['input']>; instructions?: InputMaybe<Scalars['String']['input']>; muscleGroup?: InputMaybe<MybMuscleGroup>; name: Scalars['String']['input']; orderIndex?: InputMaybe<Scalars['Int']['input']>; reps?: InputMaybe<Scalars['Int']['input']>; restSeconds?: InputMaybe<Scalars['Int']['input']>; sets?: InputMaybe<Scalars['Int']['input']>; targetWeight?: InputMaybe<Scalars['Float']['input']>; workoutId: Scalars['ID']['input']; }; export type MybCreateGoalInput = { baselineValue?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; targetDate?: InputMaybe<Scalars['DateTime']['input']>; targetValue?: InputMaybe<Scalars['Float']['input']>; title: Scalars['String']['input']; type?: InputMaybe<MybGoalType>; unit?: InputMaybe<Scalars['String']['input']>; }; export type MybCreateNutritionPlanInput = { calorieTarget?: InputMaybe<Scalars['Int']['input']>; carbsTarget?: InputMaybe<Scalars['Int']['input']>; coachId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; fatTarget?: InputMaybe<Scalars['Int']['input']>; goalType?: InputMaybe<MybGoalType>; memberId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; proteinTarget?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type MybCreateProgramInput = { coachId?: InputMaybe<Scalars['ID']['input']>; daysPerWeek?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; goalType?: InputMaybe<MybGoalType>; level?: InputMaybe<MybFitnessLevel>; memberId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; phase?: InputMaybe<MybProgramPhase>; startDate?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; weeks?: InputMaybe<Scalars['Int']['input']>; }; export type MybCreateWorkoutInput = { dayOfWeek?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMin?: InputMaybe<Scalars['Int']['input']>; name: Scalars['String']['input']; orderIndex?: InputMaybe<Scalars['Int']['input']>; programId: Scalars['ID']['input']; type?: InputMaybe<MybWorkoutType>; weekNumber?: InputMaybe<Scalars['Int']['input']>; }; export type MybDailyMacros = { __typename?: 'MybDailyMacros'; calorieTarget: Scalars['Int']['output']; calories: Scalars['Int']['output']; carbsG: Scalars['Int']['output']; carbsTarget: Scalars['Int']['output']; date: Scalars['DateTime']['output']; fatG: Scalars['Int']['output']; fatTarget: Scalars['Int']['output']; proteinG: Scalars['Int']['output']; proteinTarget: Scalars['Int']['output']; }; export type MybDeviceConnection = { __typename?: 'MybDeviceConnection'; createdAt: Scalars['DateTime']['output']; externalAccountId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; memberId: Scalars['ID']['output']; provider: MybDeviceProvider; scopes: Array<Scalars['String']['output']>; status: MybDeviceConnectionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum MybDeviceConnectionStatus { Active = "ACTIVE", Paused = "PAUSED", Revoked = "REVOKED" } export declare enum MybDeviceProvider { AppleHealth = "APPLE_HEALTH", Garmin = "GARMIN", HealthConnect = "HEALTH_CONNECT", Oura = "OURA", Whoop = "WHOOP" } export type MybExercise = { __typename?: 'MybExercise'; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File holding the demo video/image. */ demo?: Maybe<File>; id: Scalars['ID']['output']; instructions?: Maybe<Scalars['String']['output']>; muscleGroup: MybMuscleGroup; name: Scalars['String']['output']; orderIndex: Scalars['Int']['output']; reps: Scalars['Int']['output']; restSeconds: Scalars['Int']['output']; sets: Scalars['Int']['output']; targetWeight: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workoutId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type MybExerciseConnection = { __typename?: 'MybExerciseConnection'; items: Array<MybExercise>; pageInfo: MybPageInfo; }; /** * Best-set progression for one exercise across the window: the set with the * highest Epley estimated 1RM (`weight × (1 + reps / 30)`, 0 for unloaded * bodyweight work), plus logging cadence and PR count. */ export type MybExerciseProgression = { __typename?: 'MybExerciseProgression'; bestEstimatedOneRepMax: Scalars['Float']['output']; bestReps: Scalars['Int']['output']; bestWeight: Scalars['Float']['output']; exerciseName: Scalars['String']['output']; firstLoggedAt: Scalars['DateTime']['output']; lastLoggedAt: Scalars['DateTime']['output']; personalRecordCount: Scalars['Int']['output']; setCount: Scalars['Int']['output']; }; export declare enum MybExportFormat { Csv = "CSV", Json = "JSON" } export type MybExportInput = { dateRangeEnd?: InputMaybe<Scalars['DateTime']['input']>; dateRangeStart?: InputMaybe<Scalars['DateTime']['input']>; entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; format?: InputMaybe<MybExportFormat>; }; export type MybExportResult = { __typename?: 'MybExportResult'; createdAt: Scalars['DateTime']['output']; entityTypes: Array<Scalars['String']['output']>; format: MybExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; }; export declare enum MybFitnessLevel { Advanced = "ADVANCED", Beginner = "BEGINNER", Elite = "ELITE", Intermediate = "INTERMEDIATE" } export type MybFood = { __typename?: 'MybFood'; /** * The Open Food Facts barcode (EAN/UPC) for this product, when the result * came from a barcode lookup rather than a text search. */ barcode?: Maybe<Scalars['String']['output']>; brand?: Maybe<Scalars['String']['output']>; calories: Scalars['Int']['output']; carbsG: Scalars['Int']['output']; fatG: Scalars['Int']['output']; imageUrl?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; proteinG: Scalars['Int']['output']; /** * Per-serving macro estimate. When Open Food Facts reports only per-100g * values (its native unit) and no explicit serving size, `servingG` defaults * to 100 and the values below are the as-reported per-100g figures — always * labeled by `servingG` so a caller never silently assumes "per serving". */ servingG: Scalars['Float']['output']; }; export type MybGoal = { __typename?: 'MybGoal'; achievedAt?: Maybe<Scalars['DateTime']['output']>; baselineValue: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currentValue: Scalars['Float']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; status: MybGoalStatus; targetDate?: Maybe<Scalars['DateTime']['output']>; targetValue: Scalars['Float']['output']; title: Scalars['String']['output']; type: MybGoalType; unit?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybGoalConnection = { __typename?: 'MybGoalConnection'; items: Array<MybGoal>; pageInfo: MybPageInfo; }; export declare enum MybGoalStatus { Abandoned = "ABANDONED", Achieved = "ACHIEVED", Active = "ACTIVE", Paused = "PAUSED" } export declare enum MybGoalType { Endurance = "ENDURANCE", GeneralFitness = "GENERAL_FITNESS", Mobility = "MOBILITY", MuscleGain = "MUSCLE_GAIN", Strength = "STRENGTH", WeightLoss = "WEIGHT_LOSS" } export declare enum MybGuidanceAction { IncreaseLoad = "INCREASE_LOAD", LightenSession = "LIGHTEN_SESSION", ProceedAsPlanned = "PROCEED_AS_PLANNED", Rest = "REST", ReviewNutrition = "REVIEW_NUTRITION" } export type MybGuidanceCard = { __typename?: 'MybGuidanceCard'; action: MybGuidanceAction; /** * Deterministic, rule-derived plain-language reason — always populated, never * depends on an LLM. */ reason: Scalars['String']['output']; signal: MybGuidanceSignal; /** * The actual member records this card read (BOFF-3829) — the citations behind * the `reason`. Never depends on an LLM; empty only when the card fired * without source data (e.g. INSUFFICIENT_DATA). */ sources: Array<MybGuidanceSource>; }; export declare enum MybGuidanceSignal { HighSoreness = "HIGH_SORENESS", InsufficientData = "INSUFFICIENT_DATA", LowReadiness = "LOW_READINESS", LowSleep = "LOW_SLEEP", NutritionTrend = "NUTRITION_TREND", ProgressiveOverload = "PROGRESSIVE_OVERLOAD" } /** * One source record behind a guidance card (BOFF-3829). `recordId` is the * federated id of the member's own row; the MFE deep-links it to the matching * detail route. */ export type MybGuidanceSource = { __typename?: 'MybGuidanceSource'; kind: MybGuidanceSourceKind; /** * Present for SESSION_SET: the id of the workout session the set belongs to, * since sets are inspected inside their session's detail route. */ parentId?: Maybe<Scalars['ID']['output']>; recordId: Scalars['ID']['output']; }; export declare enum MybGuidanceSourceKind { BodyMetric = "BODY_METRIC", Goal = "GOAL", RecoveryLog = "RECOVERY_LOG", Session = "SESSION", SessionSet = "SESSION_SET" } /** * Unified analytics payload — training load, body composition, recovery, nutrition, * and goals correlated over a single date range. */ export type MybInsights = { __typename?: 'MybInsights'; daily: Array<MybInsightsDay>; dateRangeEnd: Scalars['DateTime']['output']; dateRangeStart: Scalars['DateTime']['output']; goals: Array<MybGoal>; summary: MybInsightsSummary; }; /** * One daily aggregate across training, recovery, nutrition, and body composition. * Nullable fields are absent when no data was logged for that day. */ export type MybInsightsDay = { __typename?: 'MybInsightsDay'; calories: Scalars['Int']['output']; carbsG: Scalars['Int']['output']; date: Scalars['DateTime']['output']; fatG: Scalars['Int']['output']; proteinG: Scalars['Int']['output']; readiness?: Maybe<Scalars['Int']['output']>; sessions: Scalars['Int']['output']; sleepHours?: Maybe<Scalars['Float']['output']>; volumeKg: Scalars['Float']['output']; weight?: Maybe<Scalars['Float']['output']>; }; /** * Cross-domain summary KPIs for the insights page. * All values are computed over the requested date range. */ export type MybInsightsSummary = { __typename?: 'MybInsightsSummary'; averageReadiness: Scalars['Float']['output']; consistencyStreakDays: Scalars['Int']['output']; macroAdherencePercent: Scalars['Float']['output']; totalSessions: Scalars['Int']['output']; totalVolumeKg: Scalars['Float']['output']; }; /** * One row of a challenge's leaderboard — a participant ranked by the * challenge's metric, computed live from the member's logged activity within * the challenge's date window. */ export type MybLeaderboardEntry = { __typename?: 'MybLeaderboardEntry'; /** The community display name the member chose, if any. */ displayName?: Maybe<Scalars['String']['output']>; joinedAt: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; rank: Scalars['Int']['output']; value: Scalars['Int']['output']; }; export type MybLegalAcceptance = { __typename?: 'MybLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: MybLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type MybLegalAcceptanceConnection = { __typename?: 'MybLegalAcceptanceConnection'; items: Array<MybLegalAcceptance>; pageInfo: MybPageInfo; }; export declare enum MybLegalCheckpointType { /** * The "not medical advice" health & fitness disclaimer (ToS §2.2 / §11.3): * MyBodyShield is not a medical device, does not diagnose/treat/cure/prevent * any condition, and the member should consult a qualified healthcare * professional before starting any exercise or nutrition programme. */ HealthDisclaimerAccept = "HEALTH_DISCLAIMER_ACCEPT", /** MyBodyShield Privacy Policy (mybodyshield.com/privacy). */ PrivacyAccept = "PRIVACY_ACCEPT", /** MyBodyShield Terms of Service (mybodyshield.com/terms). */ TosAccept = "TOS_ACCEPT" } export type MybLogMealInput = { barcode?: InputMaybe<Scalars['String']['input']>; calories?: InputMaybe<Scalars['Int']['input']>; carbsG?: InputMaybe<Scalars['Int']['input']>; fatG?: InputMaybe<Scalars['Int']['input']>; isFavorite?: InputMaybe<Scalars['Boolean']['input']>; loggedAt?: InputMaybe<Scalars['DateTime']['input']>; mealType?: InputMaybe<MybMealType>; name: Scalars['String']['input']; photoFileId?: InputMaybe<Scalars['ID']['input']>; planId?: InputMaybe<Scalars['ID']['input']>; proteinG?: InputMaybe<Scalars['Int']['input']>; servings?: InputMaybe<Scalars['Float']['input']>; }; export type MybLogRecoveryInput = { loggedAt?: InputMaybe<Scalars['DateTime']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; metric?: InputMaybe<MybRecoveryMetric>; notes?: InputMaybe<Scalars['String']['input']>; score?: InputMaybe<Scalars['Int']['input']>; sleepHours?: InputMaybe<Scalars['Float']['input']>; }; export type MybLogSetInput = { distanceM?: InputMaybe<Scalars['Float']['input']>; durationSec?: InputMaybe<Scalars['Int']['input']>; exerciseName: Scalars['String']['input']; isPersonalRecord?: InputMaybe<Scalars['Boolean']['input']>; reps?: InputMaybe<Scalars['Int']['input']>; sessionId: Scalars['ID']['input']; setNumber?: InputMaybe<Scalars['Int']['input']>; weight?: InputMaybe<Scalars['Float']['input']>; }; export declare enum MybLogSource { Device = "DEVICE", Manual = "MANUAL" } export type MybMealLog = { __typename?: 'MybMealLog'; /** Barcode (EAN/UPC) this meal was logged from, when logged via barcode scan. */ barcode?: Maybe<Scalars['String']['output']>; calories: Scalars['Int']['output']; carbsG: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; fatG: Scalars['Int']['output']; id: Scalars['ID']['output']; isFavorite: Scalars['Boolean']['output']; loggedAt: Scalars['DateTime']['output']; mealType: MybMealType; memberId: Scalars['ID']['output']; name: Scalars['String']['output']; /** Reference to a wspace-files-svc File — a photo of the meal (BOFF-4173). */ photo?: Maybe<File>; planId?: Maybe<Scalars['ID']['output']>; proteinG: Scalars['Int']['output']; servings: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybMealLogConnection = { __typename?: 'MybMealLogConnection'; items: Array<MybMealLog>; pageInfo: MybPageInfo; }; export declare enum MybMealType { Breakfast = "BREAKFAST", Dinner = "DINNER", Lunch = "LUNCH", Snack = "SNACK" } export type MybMindfulnessExercise = { __typename?: 'MybMindfulnessExercise'; contentSource: Scalars['String']['output']; cycles: Scalars['Int']['output']; description: Scalars['String']['output']; durationSeconds: Scalars['Int']['output']; exhaleSeconds: Scalars['Int']['output']; holdSeconds: Scalars['Int']['output']; id: Scalars['ID']['output']; inhaleSeconds: Scalars['Int']['output']; kind: Scalars['String']['output']; slug: Scalars['String']['output']; title: Scalars['String']['output']; }; export type MybMindfulnessSession = { __typename?: 'MybMindfulnessSession'; completedAt: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; cyclesCompleted: Scalars['Int']['output']; durationSeconds: Scalars['Int']['output']; exercise: MybMindfulnessExercise; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybMindfulnessSessionConnection = { __typename?: 'MybMindfulnessSessionConnection'; items: Array<MybMindfulnessSession>; pageInfo: MybPageInfo; }; export declare enum MybMuscleGroup { Arms = "ARMS", Back = "BACK", Chest = "CHEST", Core = "CORE", FullBody = "FULL_BODY", Legs = "LEGS", Shoulders = "SHOULDERS" } /** * Body-composition ↔ nutrition link over the window. All values are null when * the underlying data is too thin to compute them (fewer than 3 paired days * for the correlation, fewer than 2 weight measurements for the trend). * `averageCalorieAdherencePct` is * `100 × (1 − |calories − target| / target)` per day, averaged over days with * logged meals; null when there is no active nutrition plan. */ export type MybNutritionCorrelation = { __typename?: 'MybNutritionCorrelation'; averageCalorieAdherencePct?: Maybe<Scalars['Float']['output']>; dataPoints: Scalars['Int']['output']; weightCalorieCorrelation?: Maybe<Scalars['Float']['output']>; weightTrendSlopeKgPerWeek?: Maybe<Scalars['Float']['output']>; }; export type MybNutritionPlan = { __typename?: 'MybNutritionPlan'; calorieTarget: Scalars['Int']['output']; carbsTarget: Scalars['Int']['output']; coachId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; endDate?: Maybe<Scalars['DateTime']['output']>; fatTarget: Scalars['Int']['output']; goalType: MybGoalType; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; meals: MybMealLogConnection; memberId: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; proteinTarget: Scalars['Int']['output']; startDate?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybNutritionPlanMealsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MybNutritionRetuningProposal = { __typename?: 'MybNutritionRetuningProposal'; adherencePercent: Scalars['Float']['output']; calorieTarget: Scalars['Int']['output']; carbsTarget: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; decidedBy?: Maybe<Scalars['ID']['output']>; direction: MybRetuningDirection; fatTarget: Scalars['Int']['output']; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; planId: Scalars['ID']['output']; proposedCalorieTarget: Scalars['Int']['output']; proposedCarbsTarget: Scalars['Int']['output']; proposedFatTarget: Scalars['Int']['output']; proposedProteinTarget: Scalars['Int']['output']; proteinTarget: Scalars['Int']['output']; reason: Scalars['String']['output']; status: MybRetuningProposalStatus; weightTrendKgpWeek: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type MybPageInfo = { __typename?: 'MybPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type MybProgram = { __typename?: 'MybProgram'; coachId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; daysPerWeek: Scalars['Int']['output']; description?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; goalType: MybGoalType; id: Scalars['ID']['output']; level: MybFitnessLevel; memberId: Scalars['ID']['output']; name: Scalars['String']['output']; phase: MybProgramPhase; startDate?: Maybe<Scalars['DateTime']['output']>; status: MybProgramStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; weeks: Scalars['Int']['output']; workouts: MybWorkoutConnection; workspaceId: Scalars['ID']['output']; }; export type MybProgramWorkoutsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MybProgramConnection = { __typename?: 'MybProgramConnection'; items: Array<MybProgram>; pageInfo: MybPageInfo; }; export declare enum MybProgramPhase { Build = "BUILD", Deload = "DELOAD", Maintenance = "MAINTENANCE", Peak = "PEAK" } export declare enum MybProgramStatus { Active = "ACTIVE", Archived = "ARCHIVED", Completed = "COMPLETED", Draft = "DRAFT" } /** * Central progression aggregates for the calling member: weekly volume, * consistency percentage, per-exercise best-set progression, estimated * strength curves, and the weight-trend ↔ calorie-adherence correlation. * Purely computed from existing logged data — nothing is persisted. */ export type MybProgressionAggregates = { __typename?: 'MybProgressionAggregates'; consistencyPct: Scalars['Float']['output']; exerciseProgressions: Array<MybExerciseProgression>; generatedAt: Scalars['DateTime']['output']; nutritionCorrelation: MybNutritionCorrelation; strengthCurves: Array<MybStrengthCurve>; weeklyVolumes: Array<MybWeeklyTrainingVolume>; weeks: Scalars['Int']['output']; windowEnd: Scalars['DateTime']['output']; windowStart: Scalars['DateTime']['output']; }; export type MybRecordLegalAcceptanceInput = { checkpointType: MybLegalCheckpointType; documentVersion: Scalars['String']['input']; ipAddress?: InputMaybe<Scalars['String']['input']>; userAgent?: InputMaybe<Scalars['String']['input']>; }; export type MybRecordMetricInput = { measuredAt?: InputMaybe<Scalars['DateTime']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; photoFileId?: InputMaybe<Scalars['ID']['input']>; type: MybBodyMetricType; unit?: InputMaybe<Scalars['String']['input']>; value: Scalars['Float']['input']; }; export type MybRecoveryLog = { __typename?: 'MybRecoveryLog'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; loggedAt: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; metric: MybRecoveryMetric; notes?: Maybe<Scalars['String']['output']>; score: Scalars['Int']['output']; sleepHours: Scalars['Float']['output']; source: MybLogSource; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybRecoveryLogConnection = { __typename?: 'MybRecoveryLogConnection'; items: Array<MybRecoveryLog>; pageInfo: MybPageInfo; }; export declare enum MybRecoveryMetric { Mood = "MOOD", Readiness = "READINESS", Sleep = "SLEEP", Soreness = "SORENESS", Stress = "STRESS" } export declare enum MybRetuningDirection { DecreaseCalories = "DECREASE_CALORIES", IncreaseCalories = "INCREASE_CALORIES", Maintain = "MAINTAIN" } export declare enum MybRetuningProposalStatus { Accepted = "ACCEPTED", Dismissed = "DISMISSED", Pending = "PENDING" } export type MybSessionSet = { __typename?: 'MybSessionSet'; createdAt: Scalars['DateTime']['output']; distanceM: Scalars['Float']['output']; durationSec: Scalars['Int']['output']; exerciseName: Scalars['String']['output']; id: Scalars['ID']['output']; isPersonalRecord: Scalars['Boolean']['output']; reps: Scalars['Int']['output']; sessionId: Scalars['ID']['output']; setNumber: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; weight: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type MybSessionSetConnection = { __typename?: 'MybSessionSetConnection'; items: Array<MybSessionSet>; pageInfo: MybPageInfo; }; export declare enum MybSessionStatus { Completed = "COMPLETED", InProgress = "IN_PROGRESS", Scheduled = "SCHEDULED", Skipped = "SKIPPED" } export type MybShareToFeedInput = { caption?: InputMaybe<Scalars['String']['input']>; kind: MybSocialPostKind; sourceId: Scalars['ID']['input']; visibility?: InputMaybe<MybSocialPostVisibility>; }; /** A recent session or achievement of the calling member that can be shared. */ export type MybShareableItem = { __typename?: 'MybShareableItem'; alreadyShared: Scalars['Boolean']['output']; kind: MybSocialPostKind; occurredAt: Scalars['DateTime']['output']; sourceId: Scalars['ID']['output']; title: Scalars['String']['output']; }; export type MybSocialHighlight = { __typename?: 'MybSocialHighlight'; label: Scalars['String']['output']; value: Scalars['String']['output']; }; export type MybSocialPost = { __typename?: 'MybSocialPost'; authorDisplayName?: Maybe<Scalars['String']['output']>; authorId: Scalars['ID']['output']; caption?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; hasGivenKudos: Scalars['Boolean']['output']; highlights: Array<MybSocialHighlight>; id: Scalars['ID']['output']; isMine: Scalars['Boolean']['output']; kind: MybSocialPostKind; kudosCount: Scalars['Int']['output']; sourceId: Scalars['ID']['output']; title: Scalars['String']['output']; visibility: MybSocialPostVisibility; workspaceId: Scalars['ID']['output']; }; export type MybSocialPostConnection = { __typename?: 'MybSocialPostConnection'; items: Array<MybSocialPost>; pageInfo: MybPageInfo; }; export declare enum MybSocialPostKind { ChallengeTarget = "CHALLENGE_TARGET", GoalAchieved = "GOAL_ACHIEVED", Session = "SESSION" } /** * Who can see a feed post. COACHES limits it to the author and the coaches * the author actively shares workouts with. */ export declare enum MybSocialPostVisibility { Coaches = "COACHES", Workspace = "WORKSPACE" } /** * The calling member's community profile in this workspace. shareActivity is * the opt-in switch for the feed: publishing requires it, and turning it off * hides the member's existing posts until they opt back in. */ export type MybSocialProfile = { __typename?: 'MybSocialProfile'; createdAt: Scalars['DateTime']['output']; displayName?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; shareActivity: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type MybStartSessionInput = { notes?: InputMaybe<Scalars['String']['input']>; programId?: InputMaybe<Scalars['ID']['input']>; scheduledFor?: InputMaybe<Scalars['DateTime']['input']>; workoutId?: InputMaybe<Scalars['ID']['input']>; }; /** * Estimated strength curve for one exercise over the window — one point per * day the exercise was trained, so the client can render progression without * re-deriving it from raw sets. */ export type MybStrengthCurve = { __typename?: 'MybStrengthCurve'; exerciseName: Scalars['String']['output']; points: Array<MybStrengthCurvePoint>; }; /** * One point of an exercise's estimated strength curve: the best Epley 1RM * logged for that exercise on one calendar day. */ export type MybStrengthCurvePoint = { __typename?: 'MybStrengthCurvePoint'; bestReps: Scalars['Int']['output']; bestWeight: Scalars['Float']['output']; date: Scalars['DateTime']['output']; estimatedOneRepMax: Scalars['Float']['output']; }; export type MybSyncReadingInput = { metricType: MybWearableMetricType; recordedAt: Scalars['DateTime']['input']; unit?: InputMaybe<Scalars['String']['input']>; value: Scalars['Float']['input']; }; export type MybTodayGuidance = { __typename?: 'MybTodayGuidance'; /** * An optional, richer plain-language coaching summary generated by the * platform LLM gateway. Null when no LLM provider key is configured for this * workspace/environment — the rule-based `cards` above are never blocked on * this, so guidance is still fully usable with zero AI configuration. */ aiSummary?: Maybe<Scalars['String']['output']>; cards: Array<MybGuidanceCard>; date: Scalars['DateTime']['output']; memberId: Scalars['ID']['output']; readinessScore?: Maybe<Scalars['Int']['output']>; }; export type MybUpdateAiSettingsInput = { dailyAllowance?: InputMaybe<Scalars['Int']['input']>; modelName?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<MybAiProvider>; providerKey?: InputMaybe<Scalars['String']['input']>; }; export type MybUpdateGoalInput = { baselineValue?: InputMaybe<Scalars['Float']['input']>; currentValue?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; targetDate?: InputMaybe<Scalars['DateTime']['input']>; targetValue?: InputMaybe<Scalars['Float']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<MybGoalType>; unit?: InputMaybe<Scalars['String']['input']>; }; export type MybUpdateNutritionPlanInput = { calorieTarget?: InputMaybe<Scalars['Int']['input']>; carbsTarget?: InputMaybe<Scalars['Int']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; fatTarget?: InputMaybe<Scalars['Int']['input']>; goalType?: InputMaybe<MybGoalType>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; proteinTarget?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type MybUpdateProgramInput = { coachId?: InputMaybe<Scalars['ID']['input']>; daysPerWeek?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; goalType?: InputMaybe<MybGoalType>; level?: InputMaybe<MybFitnessLevel>; name?: InputMaybe<Scalars['String']['input']>; phase?: InputMaybe<MybProgramPhase>; startDate?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; weeks?: InputMaybe<Scalars['Int']['input']>; }; export type MybUpdateSocialProfileInput = { displayName?: InputMaybe<Scalars['String']['input']>; shareActivity?: InputMaybe<Scalars['Boolean']['input']>; }; export declare enum MybWearableMetricType { ActiveEnergy = "ACTIVE_ENERGY", Hrv = "HRV", ReadinessScore = "READINESS_SCORE", RestingHeartRate = "RESTING_HEART_RATE", SleepDuration = "SLEEP_DURATION", Steps = "STEPS", WorkoutCompleted = "WORKOUT_COMPLETED" } export type MybWearableReading = { __typename?: 'MybWearableReading'; connectionId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metricType: MybWearableMetricType; /** Set when this reading was normalized into a MybBodyMetric row. */ normalizedBodyMetricId?: Maybe<Scalars['ID']['output']>; /** Set when this reading was normalized into a MybRecoveryLog row. */ normalizedRecoveryLogId?: Maybe<Scalars['ID']['output']>; recordedAt: Scalars['DateTime']['output']; unit: Scalars['String']['output']; value: Scalars['Float']['output']; }; /** * One week of training volume. Weeks are bucketed Monday → Sunday. * `totalVolumeKg` is tonnage (Σ weight × reps) over the logged sets of the * week's completed sessions; bodyweight sets (weight 0) contribute 0. */ export type MybWeeklyTrainingVolume = { __typename?: 'MybWeeklyTrainingVolume'; sessionsCompleted: Scalars['Int']['output']; totalSets: Scalars['Int']['output']; totalVolumeKg: Scalars['Float']['output']; weekStart: Scalars['DateTime']['output']; }; export type MybWorkout = { __typename?: 'MybWorkout'; createdAt: Scalars['DateTime']['output']; dayOfWeek: Scalars['Int']['output']; description?: Maybe<Scalars['String']['output']>; durationMin: Scalars['Int']['output']; exercises: MybExerciseConnection; id: Scalars['ID']['output']; name: Scalars['String']['output']; orderIndex: Scalars['Int']['output']; programId: Scalars['ID']['output']; type: MybWorkoutType; updatedAt: Scalars['DateTime']['output']; weekNumber: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type MybWorkoutExercisesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MybWorkoutConnection = { __typename?: 'MybWorkoutConnection'; items: Array<MybWorkout>; pageInfo: MybPageInfo; }; export type MybWorkoutSession = { __typename?: 'MybWorkoutSession'; caloriesBurned: Scalars['Int']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; memberId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; perceivedExertion?: Maybe<Scalars['Int']['output']>; programId?: Maybe<Scalars['ID']['output']>; scheduledFor?: Maybe<Scalars['DateTime']['output']>; sets: MybSessionSetConnection; startedAt?: Maybe<Scalars['DateTime']['output']>; status: MybSessionStatus; updatedAt: Scalars['DateTime']['output']; workoutId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type MybWorkoutSessionSetsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type MybWorkoutSessionConnection = { __typename?: 'MybWorkoutSessionConnection'; items: Array<MybWorkoutSession>; pageInfo: MybPageInfo; }; export declare enum MybWorkoutType { Cardio = "CARDIO", Hiit = "HIIT", Mobility = "MOBILITY", Recovery = "RECOVERY", Strength = "STRENGTH", Yoga = "YOGA" } export type NatsCleanupInput = { batchSize?: InputMaybe<Scalars['Int']['input']>; dryRun?: InputMaybe<Scalars['Boolean']['input']>; filterType: NatsFilterType; identifier?: InputMaybe<Scalars['String']['input']>; maxMessagesToProcess?: InputMaybe<Scalars['Int']['input']>; }; export type NatsCleanupSummary = { __typename?: 'NatsCleanupSummary'; actionsLogPreview: Array<Scalars['String']['output']>; dryRun: Scalars['Boolean']['output']; filterApplied: Scalars['JSON']['output']; message: Scalars['String']['output']; messagesDeletedOrWouldBeDeleted: Scalars['Int']['output']; messagesMatchedFilter: Scalars['Int']['output']; totalMessagesInspected: Scalars['Int']['output']; }; export declare enum NatsFilterType { AllPending = "ALL_PENDING", ByJobIdSubstring = "BY_JOB_ID_SUBSTRING", ByRunId = "BY_RUN_ID" } /** * A user-created navigation view: a named set of visible nav item ids with the * same semantics as a product-defined persona surface. Private to its owner. */ export type NavCustomView = { __typename?: 'NavCustomView'; createdAt: Scalars['DateTime']['output']; /** Optional landing path for the view. */ homePath?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; productSlug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** Nav item ids visible by default in this view. */ visibleItems: Array<Scalars['String']['output']>; }; /** * The calling user's navigation preferences for one product in one workspace: * the active view plus per-view item overrides, and their custom views. */ export type NavPreferences = { __typename?: 'NavPreferences'; /** * Active view id: a product surface id, a NavCustomView id, "everything", * or null to follow the user's role-resolved default. */ activeViewId?: Maybe<Scalars['String']['output']>; customViews: Array<NavCustomView>; /** * Per-view item visibility overrides as a JSON string: * Record<viewId, Record<navItemId, "shown" | "hidden">>. */ overridesJson: Scalars['String']['output']; }; export declare enum NodeConfigStatus { Available = "AVAILABLE", Deprecated = "DEPRECATED", Disabled = "DISABLED" } /** * NodeEndpointConfig: Node type registry - stores metadata and endpoint configuration * Federated entity identified by id */ export type NodeEndpointConfig = { __typename?: 'NodeEndpointConfig'; adapterOutputType?: Maybe<Scalars['String']['output']>; alias?: Maybe<Scalars['String']['output']>; author?: Maybe<Scalars['String']['output']>; category?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; docsUrl?: Maybe<Scalars['String']['output']>; endpointUrl: Scalars['String']['output']; favicon?: Maybe<Scalars['String']['output']>; healthCheckUrl?: Maybe<Scalars['String']['output']>; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isLatest: Scalars['Boolean']['output']; keywords: Array<Scalars['String']['output']>; kind: Array<Scalars['String']['output']>; logo?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; nodeAdapters?: Maybe<Scalars['JSON']['output']>; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; operations: Scalars['JSON']['output']; publishType: PublishType; status: NodeConfigStatus; supportsAdapterMode?: Maybe<Scalars['Boolean']['output']>; updatedAt: Scalars['DateTime']['output']; }; export type NodeEndpointConfigInput = { alias?: InputMaybe<Scalars['String']['input']>; endpointUrl: Scalars['String']['input']; kind?: InputMaybe<Array<Scalars['String']['input']>>; metaInfo?: InputMaybe<Scalars['JSON']['input']>; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; publishType?: InputMaybe<PublishType>; username?: InputMaybe<Scalars['String']['input']>; }; export type NodeEndpointConfigResponse = MutationResponse & { __typename?: 'NodeEndpointConfigResponse'; config?: Maybe<NodeEndpointConfig>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type NodeEndpointsListResponse = { __typename?: 'NodeEndpointsListResponse'; configs: Array<NodeEndpointConfig>; pagination?: Maybe<PaginationInfo>; }; /** Node execution metrics */ export type NodeExecutionMetrics = { __typename?: 'NodeExecutionMetrics'; averageDurationSeconds: Scalars['Float']['output']; failedNodes: Scalars['Int']['output']; nodeTypeBreakdown: Scalars['JSON']['output']; skippedNodes: Scalars['Int']['output']; successfulNodes: Scalars['Int']['output']; totalDurationSeconds: Scalars['Float']['output']; totalNodes: Scalars['Int']['output']; }; /** Node introspection result */ export type NodeIntrospection = { __typename?: 'NodeIntrospection'; capabilities?: Maybe<Scalars['JSON']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; operations: Scalars['JSON']['output']; }; /** * A single selectable option for a dynamic ("load options") node parameter * dropdown — e.g. one Slack channel returned by the Slack node's listChannels * operation. */ export type NodeLoadOption = { __typename?: 'NodeLoadOption'; label: Scalars['String']['output']; value: Scalars['String']['output']; }; export type NodeLogsResponse = { __typename?: 'NodeLogsResponse'; logCount: Scalars['Int']['output']; logs: Array<Scalars['JSON']['output']>; nodeType: Scalars['String']['output']; timeRange: WorkflowTimeRange; }; /** How much of each operation `nodeManifests` returns (BOFF-13066). */ export declare enum NodeManifestDetail { /** Every operation as stored: forms, input and output fields, connection adapters. */ Full = "FULL", /** * Each operation reduced to what a node palette needs to list, classify and search * it: `name`, `type`, `role`, `delivery`, `internal`, `isAdapterOperation`, * `triggerKey`, `eventSource`, `eventType` and `outputHandles`. The rest of the * manifest is unchanged. A store node's operations are most of its manifest, so a * summary is a few kilobytes where the full manifest can be hundreds. */ Summary = "SUMMARY" } /** One node for `nodeManifests`: a node type and, optionally, an exact version. */ export type NodeManifestRefInput = { nodeType: Scalars['String']['input']; /** Exact version. Omit for the newest AVAILABLE version this workspace's palette offers. */ version?: InputMaybe<Scalars['String']['input']>; }; export type NodeResourceUsage = { __typename?: 'NodeResourceUsage'; avgExecutionTimeMs: Scalars['Float']['output']; cpuUsagePercent?: Maybe<Scalars['Float']['output']>; currentRunning: Scalars['Int']['output']; errorRate: Scalars['Float']['output']; last24hExecutions: Scalars['Int']['output']; maxExecutionTimeMs: Scalars['Float']['output']; memoryUsageMb?: Maybe<Scalars['Float']['output']>; minExecutionTimeMs: Scalars['Float']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; totalExecutions: Scalars['Int']['output']; }; /** * NodeState: Execution state of individual nodes within a run * Federated entity identified by id */ export type NodeState = { __typename?: 'NodeState'; attemptCount: Scalars['Int']['output']; childRun?: Maybe<WorkflowRun>; childRunId?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; duration?: Maybe<Scalars['Float']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; errorType?: Maybe<ErrorType>; id: Scalars['ID']['output']; inputArgs?: Maybe<Scalars['JSON']['output']>; instanceKey?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; output?: Maybe<Scalars['JSON']['output']>; resumeTime?: Maybe<Scalars['DateTime']['output']>; /** * Set when `runFromNode` copied this node's state from an earlier run instead * of executing it in this one (BOFF-7511). */ reusedFromRunId?: Maybe<Scalars['String']['output']>; run?: Maybe<WorkflowRun>; runId: Scalars['String']['output']; startTime?: Maybe<Scalars['DateTime']['output']>; status: NodeStatus; /** * True when a saved test case's connection mock answered this node instead of a * real call (BOFF-9960). Always false on a PRODUCTION run. */ usedMock: Scalars['Boolean']['output']; /** * True when this node's output came from pinned data instead of a real call * (BOFF-7511). Always false on a PRODUCTION run. */ usedPinnedData: Scalars['Boolean']['output']; }; /** Node relationship statistics */ export type NodeStatistics = { __typename?: 'NodeStatistics'; /** Connected entity types */ connectedEntityTypes: Array<Scalars['String']['output']>; /** Breakdown by edge type */ edgeTypeBreakdown: Scalars['JSON']['output']; /** Total incoming edges */ incomingCount: Scalars['Int']['output']; /** Total outgoing edges */ outgoingCount: Scalars['Int']['output']; }; export declare enum NodeStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Delayed = "DELAYED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING", Skipped = "SKIPPED", Timeout = "TIMEOUT", Waiting = "WAITING", WaitingSubworkflow = "WAITING_SUBWORKFLOW" } export type NodeUsageStats = { __typename?: 'NodeUsageStats'; avgExecutionTime?: Maybe<Scalars['Float']['output']>; failureCount: Scalars['Int']['output']; nodeType: Scalars['String']['output']; successCount: Scalars['Int']['output']; totalExecutions: Scalars['Int']['output']; }; /** * Node usage status — shows which workflows use a specific node type * Used by stores to check before uninstalling a node */ export type NodeUsageStatus = { __typename?: 'NodeUsageStatus'; isInUse: Scalars['Boolean']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; workflowCount: Scalars['Int']['output']; workflows: Array<NodeWorkflowReference>; }; /** Reference to a workflow that uses a node */ export type NodeWorkflowReference = { __typename?: 'NodeWorkflowReference'; workflowId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; workflowName: Scalars['String']['output']; }; /** Response wrapper for paginated node lists */ export type NodesPaginatedResponse = { __typename?: 'NodesPaginatedResponse'; items: Array<NodeEndpointConfig>; pagination: PaginationMeta; }; export type NoteAnalytics = { __typename?: 'NoteAnalytics'; /** Notes created over time */ createdOverTime: Array<AnalyticsTimeSeriesPoint>; pinned: Scalars['Int']['output']; total: Scalars['Int']['output']; unpinned: Scalars['Int']['output']; }; /** * A tag assignment linking a UniversalTag to a note. * Delegated to wspace-tags-svc via the NoteTagAdapter. */ export type NoteTagAssignment = { __typename?: 'NoteTagAssignment'; /** When the tag was assigned */ assignedAt?: Maybe<Scalars['DateTime']['output']>; /** User who assigned the tag */ assignedBy?: Maybe<Scalars['ID']['output']>; /** ID of the tagged note */ entityId: Scalars['ID']['output']; /** Entity type (always VIBECONTROLS_NOTE) */ entityType: Scalars['String']['output']; /** Unique assignment identifier */ id: Scalars['ID']['output']; /** Additional metadata for the assignment */ metadata?: Maybe<Scalars['JSON']['output']>; /** How the tag was assigned (MANUAL, AUTOMATIC, IMPORTED, INHERITED, COMPUTED, MIGRATED) */ source: Scalars['String']['output']; /** The assigned tag (resolved via federation from wspace-tags-svc) */ tag?: Maybe<UniversalTag>; /** ID of the assigned tag */ tagId: Scalars['ID']['output']; /** Start of temporal validity */ validFrom?: Maybe<Scalars['DateTime']['output']>; /** End of temporal validity (null = permanent) */ validTo?: Maybe<Scalars['DateTime']['output']>; }; /** Controls who can see a note. */ export declare enum NoteVisibility { Private = "PRIVATE", Workspace = "WORKSPACE" } export declare enum NotificationLevel { All = "ALL", Direct = "DIRECT", Mentions = "MENTIONS", None = "NONE" } /** User notification preferences */ export type NotificationPreferences = { __typename?: 'NotificationPreferences'; /** Notify when an agent goes offline */ agentOffline: Scalars['Boolean']['output']; /** Email digest frequency: daily, weekly, or none */ digestFrequency?: Maybe<Scalars['String']['output']>; /** Receive email digest summaries */ emailDigest: Scalars['Boolean']['output']; /** * Notify when a security scan reports new critical or high severity findings * on a vibe you own. Defaults to on. */ securityFinding: Scalars['Boolean']['output']; /** Notify when a session encounters an error */ sessionError: Scalars['Boolean']['output']; /** * Notify when someone shares a VibeControls resource with you (in-app and push; * the invitation email is always sent). Defaults to on. */ shareReceived: Scalars['Boolean']['output']; /** Notify when a vibe changes status */ vibeStatusChange: Scalars['Boolean']['output']; }; export type NotifyTagAssignedInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; key: Scalars['String']['input']; source?: InputMaybe<AssignmentSource>; }; /** A nursery raising batch grown from a SeedLot, tracked through to transplant. */ export type NurseryBatch = { __typename?: 'NurseryBatch'; batchCode: Scalars['String']['output']; /** Loose link to a Crop, populated on transplant (no FK). */ cropId?: Maybe<Scalars['ID']['output']>; /** Loose link to a Field, populated on transplant (no FK). */ fieldId?: Maybe<Scalars['ID']['output']>; germinationPct?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; quantity?: Maybe<Scalars['Int']['output']>; seedLotId: Scalars['ID']['output']; /** Sow date as an ISO-8601 string (yyyy-mm-dd). */ sowDate?: Maybe<Scalars['String']['output']>; /** One of: sown, growing, hardening, ready_to_transplant, transplanted. */ status: Scalars['String']['output']; trayCount?: Maybe<Scalars['Int']['output']>; }; export type OAuthInitiationResult = { __typename?: 'OAuthInitiationResult'; redirectUrl: Scalars['String']['output']; state: Scalars['String']['output']; }; export declare enum ObjectiveStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT" } export declare enum OceanContainerType { Fcl_20Ft = "FCL_20FT", Fcl_40Ft = "FCL_40FT", Fcl_40FtHc = "FCL_40FT_HC", Lcl = "LCL" } /** Offset pagination metadata for list responses that still use bounded offset windows. */ export type OffsetPageInfo = { __typename?: 'OffsetPageInfo'; hasNextPage: Scalars['Boolean']['output']; hasPreviousPage: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; offset: Scalars['Int']['output']; totalCount: Scalars['Int']['output']; }; export type OpenMtwContainerCycleInput = { bookingReference?: InputMaybe<Scalars['String']['input']>; containerId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; openedAt: Scalars['DateTime']['input']; shipmentId?: InputMaybe<Scalars['ID']['input']>; }; export type OpenMtwFreeTimeClockInput = { agreement: MtwFreeTimeAgreementInput; chargeKind: MtwFreeTimeChargeKind; cycleId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; obligationReference: Scalars['String']['input']; }; export type OperationConfig = { __typename?: 'OperationConfig'; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; operationName: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type OperationConfigInput = { config: Scalars['JSON']['input']; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; operationName: Scalars['String']['input']; }; export type OperationConfigResponse = MutationResponse & { __typename?: 'OperationConfigResponse'; config?: Maybe<OperationConfig>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type OperationConfigsListResponse = { __typename?: 'OperationConfigsListResponse'; configs: Array<OperationConfig>; pagination?: Maybe<PaginationInfo>; }; /** * Operation context output type. * Returns the stored context for each record. * Marked as @shareable since this common type may be defined across multiple services. */ export type OperationContext = { __typename?: 'OperationContext'; /** App ID for app-level scoping */ appId?: Maybe<Scalars['ID']['output']>; /** Additional custom context as JSON */ custom?: Maybe<Scalars['JSON']['output']>; /** Project ID for project-level scoping */ projectId?: Maybe<Scalars['ID']['output']>; /** User ID for user-level scoping */ userId?: Maybe<Scalars['ID']['output']>; /** Workspace ID for workspace-level scoping */ workspaceId?: Maybe<Scalars['ID']['output']>; }; /** Why a suggestion was dismissed. NOT_APPLICABLE lowers the ranking of the same kind in this workspace. */ export declare enum OptimisationDismissReason { AcceptedCost = "ACCEPTED_COST", NotApplicable = "NOT_APPLICABLE", Other = "OTHER", WillFixLater = "WILL_FIX_LATER" } /** What a suggestion proposes. */ export declare enum OptimisationKind { /** A node fails on temporary errors (TRANSIENT, DEPENDENCY, TIMEOUT) and never retries. */ AddRetry = "ADD_RETRY", /** A cheaper model class scores as well on the workflow's evaluation set. Not detected yet. */ CheaperModel = "CHEAPER_MODEL", /** Most of a model node's calls repeat an earlier input. Evidence only until model nodes can cache responses. */ EnableCache = "ENABLE_CACHE", /** A production agent node has no guardrail policy. Not detected yet. */ MissingGuardrail = "MISSING_GUARDRAIL", /** A node fails on its own configured timeout often enough that a longer one would let it finish. */ RaiseTimeout = "RAISE_TIMEOUT", /** A node of the active version never ran across many completed production runs. */ UnusedNode = "UNUSED_NODE" } export type OptimisationScanResult = { __typename?: 'OptimisationScanResult'; created: Scalars['Int']['output']; /** New suggestions held back by the per-scan cap of 50; a later scan stores them. */ deferred: Scalars['Int']['output']; openSuggestions: Scalars['Int']['output']; /** not_enabled or flag_off when skipped. */ reason?: Maybe<Scalars['String']['output']>; reopened: Scalars['Int']['output']; resolved: Scalars['Int']['output']; skipped: Scalars['Boolean']['output']; updated: Scalars['Int']['output']; workflowsScanned: Scalars['Int']['output']; }; /** One suggestion for one node of one workflow, shared by the workspace's members. */ export type OptimisationSuggestion = { __typename?: 'OptimisationSuggestion'; /** What was seen and what the change does, in one sentence. */ advice: Scalars['String']['output']; /** Whether Apply can build a canvas proposal for this kind now. */ applicable: Scalars['Boolean']['output']; appliedAt?: Maybe<Scalars['DateTime']['output']>; appliedVersion?: Maybe<Scalars['String']['output']>; /** Why Apply is unavailable, when applicable is false. */ applyBlockedReason?: Maybe<Scalars['String']['output']>; dismissNote?: Maybe<Scalars['String']['output']>; dismissReason?: Maybe<OptimisationDismissReason>; dismissedAt?: Maybe<Scalars['DateTime']['output']>; /** Estimated saving over a month in micro-USD; null when the change saves no model spend or the calls were unpriced. */ estimatedMonthlySavingMicroUsd?: Maybe<Scalars['Float']['output']>; /** * The numbers behind the suggestion over the window (windowDays): for example executions, timeouts, * timeoutRate, currentTimeoutMs, p95CompletedMs and suggestedTimeoutMs (RAISE_TIMEOUT); * transientFailures, failuresByType and proposedRetry (ADD_RETRY); completedRuns and removedNodeIds * (UNUSED_NODE); calls, distinctInputs, repeatShare and costMicroUsd (ENABLE_CACHE). Never run data. */ evidence: Scalars['JSON']['output']; firstSeenAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** Impact before this workspace's dismiss feedback: 1 point per cent saved a month, 5 per failed run avoided, 2 per node removed. */ impact: Scalars['Float']['output']; kind: OptimisationKind; lastSeenAt: Scalars['DateTime']['output']; /** The node the suggestion is about (for UNUSED_NODE, the first node of the unused part). */ nodeId: Scalars['String']['output']; nodeType?: Maybe<Scalars['String']['output']>; productId: Scalars['String']['output']; /** The latest OPTIMISE proposal made for it. Read it with workflowProposal(id); only the member who asked can. */ proposalId?: Maybe<Scalars['ID']['output']>; proposedAt?: Maybe<Scalars['DateTime']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; /** The newest runs behind the evidence, at most ten. */ sampleRunIds: Array<Scalars['ID']['output']>; /** Ranking: impact lowered for kinds this workspace recently dismissed as not applicable. */ score: Scalars['Float']['output']; snoozedUntil?: Maybe<Scalars['DateTime']['output']>; status: OptimisationSuggestionStatus; /** A short title for the kind. */ title: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workflowName?: Maybe<Scalars['String']['output']>; /** The ACTIVE version the evidence was read from. */ workflowVersion: Scalars['String']['output']; }; export type OptimisationSuggestionFilter = { kind?: InputMaybe<Array<OptimisationKind>>; /** Defaults to every status. */ status?: InputMaybe<Array<OptimisationSuggestionStatus>>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; export type OptimisationSuggestionList = { __typename?: 'OptimisationSuggestionList'; items: Array<OptimisationSuggestion>; total: Scalars['Int']['output']; }; export declare enum OptimisationSuggestionStatus { /** Its proposal was applied as a new DRAFT version. */ Applied = "APPLIED", /** Dismissed with a reason. A scan reopens it only when the evidence at least doubles. */ Dismissed = "DISMISSED", Open = "OPEN", /** The last scan no longer saw the condition. */ Resolved = "RESOLVED", /** Hidden until snoozedUntil. */ Snoozed = "SNOOZED" } export type OptimizeRouteInput = { strategy?: InputMaybe<RouteOptimizationStrategy>; }; export type Order = { __typename?: 'Order'; /** Sales channel: CSA_SUBSCRIPTION | WHOLESALE | FARMERS_MARKET | DIRECT */ channel: Scalars['String']['output']; date: Scalars['String']['output']; deliveryDate?: Maybe<Scalars['String']['output']>; discountAmount: Scalars['Float']['output']; id: Scalars['ID']['output']; items: Array<CartItem>; orderNumber: Scalars['String']['output']; paidAmount?: Maybe<Scalars['Float']['output']>; paidAt?: Maybe<Scalars['String']['output']>; /** RAZORPAY / STRIPE for a gateway-verified payment; MANUAL for an offline sale marked paid by the seller. */ paymentProvider?: Maybe<Scalars['String']['output']>; /** The gateway's own payment reference (e.g. Razorpay pay_xxx). Null for a MANUAL/offline sale. */ paymentReference?: Maybe<Scalars['String']['output']>; paymentStatus: Scalars['String']['output']; promoCode?: Maybe<Scalars['String']['output']>; /** The SELLING farm's workspace on a cross-farm order; null on an ordinary same-farm order. */ sellerWorkspaceId?: Maybe<Scalars['ID']['output']>; shipping: Scalars['Float']['output']; shippingAddress?: Maybe<Scalars['JSON']['output']>; shippingAddressLabel?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; subtotal: Scalars['Float']['output']; tax: Scalars['Float']['output']; total: Scalars['Float']['output']; }; export declare enum OrderDirection { Asc = "ASC", Desc = "DESC" } export type OverrideTimeCampusWorkspaceQuotaInput = { limit?: InputMaybe<Scalars['Float']['input']>; noLimit?: InputMaybe<Scalars['Boolean']['input']>; productId: Scalars['String']['input']; quotaName: Scalars['String']['input']; resetPeriod?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; /** Override types for permission exceptions */ export declare enum OverrideType { /** Explicitly deny permission (overrides grant) */ Deny = "DENY", /** Explicitly grant permission (overrides denial) */ Grant = "GRANT" } /** * The business's own vehicle cost for the same lane. Nothing is assumed: the * estimate exists only when the caller supplies its own cost per km, because * inventing a fleet's costs would make the comparison meaningless. */ export type OwnFleetInput = { /** The business's own cost to run a vehicle one km (fuel, driver, wear), in INR. */ costPerKm: Scalars['Float']['input']; /** Road distance between pickup and delivery, in km. */ distanceKm: Scalars['Float']['input']; /** Fixed cost per trip (loading, dispatch), in INR. */ fixedCost?: InputMaybe<Scalars['Float']['input']>; }; export declare enum PackageKind { A2AAgent = "A2A_AGENT", Agent = "AGENT", App = "APP", ChannelTemplate = "CHANNEL_TEMPLATE", Integration = "INTEGRATION", KbTemplate = "KB_TEMPLATE", KnowledgeBase = "KNOWLEDGE_BASE", McpPack = "MCP_PACK", PolicyBundle = "POLICY_BUNDLE", Prompt = "PROMPT", PromptTemplate = "PROMPT_TEMPLATE", RetrievalProfile = "RETRIEVAL_PROFILE", Skill = "SKILL", Template = "TEMPLATE", Tool = "TOOL", Workflow = "WORKFLOW" } /** Standard pagination info */ export type PageInfo = { __typename?: 'PageInfo'; /** Cursor for the last edge in this page */ endCursor?: Maybe<Scalars['String']['output']>; /** Whether there are more pages after this one */ hasNextPage: Scalars['Boolean']['output']; /** Whether there are more pages before this one */ hasPreviousPage: Scalars['Boolean']['output']; /** Cursor for the first edge in this page */ startCursor?: Maybe<Scalars['String']['output']>; /** Total count of items (for compatibility with other subgraphs) */ totalCount?: Maybe<Scalars['Int']['output']>; }; export type PaginationInfo = { __typename?: 'PaginationInfo'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; offset: Scalars['Int']['output']; total: Scalars['Int']['output']; }; /** Standard pagination input */ export type PaginationInput = { /** Shared federation compatibility field. workspaceDirectory is offset-only and rejects non-empty cursors. */ cursor?: InputMaybe<Scalars['String']['input']>; /** Maximum number of entries to return (clamped server-side). */ limit?: InputMaybe<Scalars['Int']['input']>; /** Number of entries to skip from the start of the result set. */ offset?: InputMaybe<Scalars['Int']['input']>; }; /** Pagination metadata */ export type PaginationMeta = { __typename?: 'PaginationMeta'; hasNext: Scalars['Boolean']['output']; hasPrev: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; total: Scalars['Int']['output']; totalPages: Scalars['Int']['output']; }; /** What happens to an open child run when its parent closes. */ export declare enum ParentClosePolicy { Abandon = "ABANDON", RequestCancel = "REQUEST_CANCEL", Terminate = "TERMINATE" } export type Parser = { __typename?: 'Parser'; console?: Maybe<BigConsoleDashboard>; consoleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; expression: Scalars['String']['output']; id: Scalars['ID']['output']; /** The DataSink that this parser reads from (resolved from inputSinkKey) */ inputDataSink?: Maybe<DataSink>; /** DataSink key that this parser reads from */ inputSinkKey: Scalars['String']['output']; name: Scalars['String']['output']; /** Output key for parsed data (used in widget bindings) */ outputKey: Scalars['String']['output']; /** The widget that receives output from this parser (resolved from outputWidgetId) */ outputWidget?: Maybe<BigConsoleWidget>; /** Optional target widget ID (v2.1 - parser pushes output to this widget) */ outputWidgetId?: Maybe<Scalars['ID']['output']>; status: ParserStatus; tagAssignments: Array<BigConsoleTagAssignment>; ttl?: Maybe<Scalars['Int']['output']>; type: ParserType; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['ID']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type ParserConnection = { __typename?: 'ParserConnection'; edges: Array<ParserEdge>; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type ParserEdge = { __typename?: 'ParserEdge'; cursor: Scalars['String']['output']; node: Parser; }; export type ParserExecutionResult = { __typename?: 'ParserExecutionResult'; cachedAt?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; executionTimeMs?: Maybe<Scalars['Int']['output']>; output?: Maybe<Scalars['JSON']['output']>; parserId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type ParserFilterInput = { consoleId?: InputMaybe<Scalars['ID']['input']>; inputSinkKey?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ParserStatus>; type?: InputMaybe<ParserType>; }; export declare enum ParserStatus { active = "active", inactive = "inactive" } export type ParserTestResult = { __typename?: 'ParserTestResult'; error?: Maybe<Scalars['String']['output']>; executionTimeMs?: Maybe<Scalars['Int']['output']>; output?: Maybe<Scalars['JSON']['output']>; /** * BOFF-5518: when the test ran against a DataSink reference, whether the sink's * payload was truncated to a sample (i.e. `hasMore` from the paginated read). * A saved parser executes over the full sink, so a `true` here means this test * result may differ from real execution. Null for the inline sampleData path. */ sampled?: Maybe<Scalars['Boolean']['output']>; /** Rows the expression was evaluated against when sampling a DataSink array payload. */ sampledRows?: Maybe<Scalars['Int']['output']>; success: Scalars['Boolean']['output']; /** Total rows available in the referenced DataSink array payload. */ totalRows?: Maybe<Scalars['Int']['output']>; }; export declare enum ParserType { jq = "jq", jsonata = "jsonata", spark = "spark" } /** Result of a parser-type registry mutation. */ export type ParserTypeRegistration = { __typename?: 'ParserTypeRegistration'; /** Transform engine declared by the manifest (jq or jsonata). */ engine: ParserType; /** * True when this version is the enabled (active) version of parserTypeKey in * the request workspace. */ installedInWorkspace: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** Namespaced registry key, e.g. "store/revenue-rollup". */ parserTypeKey: Scalars['String']['output']; /** Registered version, e.g. "1.0" or "1.2.0". */ parserVersion: Scalars['String']['output']; /** STORE | CUSTOM */ publishType: Scalars['String']['output']; /** AVAILABLE | DEPRECATED | DISABLED */ status: Scalars['String']['output']; }; export declare enum ParticipantChangeType { Banned = "BANNED", Joined = "JOINED", Left = "LEFT", Removed = "REMOVED", RoleChanged = "ROLE_CHANGED" } export type ParticipantChangedPayload = { __typename?: 'ParticipantChangedPayload'; changeType: ParticipantChangeType; conversation: Conversation; membership: ConversationMembership; }; export declare enum ParticipantRole { Admin = "ADMIN", Guest = "GUEST", Member = "MEMBER", Moderator = "MODERATOR", Observer = "OBSERVER", Owner = "OWNER" } export type PathNode = { __typename?: 'PathNode'; averageTimeFromPrevious?: Maybe<Scalars['Float']['output']>; count: Scalars['Int']['output']; dropoffCount?: Maybe<Scalars['Int']['output']>; eventName: Scalars['String']['output']; percentage: Scalars['Float']['output']; }; /** Path query output type (echoes query parameters) */ export type PathQuery = { __typename?: 'PathQuery'; endDate: Scalars['DateTime']['output']; endEvent?: Maybe<Scalars['String']['output']>; maxDepth?: Maybe<Scalars['Int']['output']>; minOccurrences?: Maybe<Scalars['Int']['output']>; startDate: Scalars['DateTime']['output']; startEvent?: Maybe<Scalars['String']['output']>; }; export type PathQueryInput = { endDate: Scalars['DateTime']['input']; endEvent?: InputMaybe<Scalars['String']['input']>; filters?: InputMaybe<Array<PropertyFilterInput>>; maxDepth?: InputMaybe<Scalars['Int']['input']>; minOccurrences?: InputMaybe<Scalars['Int']['input']>; startDate: Scalars['DateTime']['input']; startEvent?: InputMaybe<Scalars['String']['input']>; }; export type PathQueryResult = { __typename?: 'PathQueryResult'; cached: Scalars['Boolean']['output']; executedAt: Scalars['DateTime']['output']; executionTimeMs: Scalars['Int']['output']; query: PathQuery; sequences: Array<PathSequence>; totalPaths: Scalars['Int']['output']; totalUsers: Scalars['Int']['output']; }; export type PathSequence = { __typename?: 'PathSequence'; averageCompletionTime?: Maybe<Scalars['Float']['output']>; conversionRate?: Maybe<Scalars['Float']['output']>; path: Array<PathNode>; percentage: Scalars['Float']['output']; userCount: Scalars['Int']['output']; }; export type PayHealthyBowlInsurancePremiumInput = { context: ContextInput; id: Scalars['ID']['input']; /** Optional saved global-billing PaymentMethod id (server-side completion). */ paymentMethodId?: InputMaybe<Scalars['String']['input']>; }; /** One tool call the agent proposed, awaiting (or already given) a decision. */ export type PendingToolCall = { __typename?: 'PendingToolCall'; /** JSON-encoded arguments the agent proposed for this call. */ argsJson: Scalars['String']['output']; callId: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** Permission audit log entry */ export type PermissionAuditLog = { __typename?: 'PermissionAuditLog'; action: Scalars['String']['output']; actorId: Scalars['String']['output']; actorType: ActorType; allowed: Scalars['Boolean']['output']; context?: Maybe<Scalars['JSON']['output']>; decisionPath: Scalars['String']['output']; evaluatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; opaInput?: Maybe<Scalars['JSON']['output']>; opaOutput?: Maybe<Scalars['JSON']['output']>; resourceId?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; scopeId: Scalars['String']['output']; }; export type PermissionAuditLogPage = { __typename?: 'PermissionAuditLogPage'; items: Array<PermissionAuditLog>; pageInfo: OffsetPageInfo; }; /** Input for checking a single permission */ export type PermissionCheckInput = { /** Action being performed (e.g., "read", "write", "delete") */ action: Scalars['String']['input']; /** Opaque actor ID from auth-svc */ actorId: Scalars['String']['input']; /** Type of actor */ actorType: ActorType; /** Optional: Additional attributes for OPA policies */ attributes?: InputMaybe<Scalars['JSON']['input']>; /** Optional: Specific resource ID */ resourceId?: InputMaybe<Scalars['String']['input']>; /** Resource type being accessed (e.g., "project", "task", "document") */ resourceType: Scalars['String']['input']; /** Scope ID - workspaceId for workspace layer */ scopeId: Scalars['String']['input']; }; /** Result of permission check */ export type PermissionCheckResult = { __typename?: 'PermissionCheckResult'; /** Whether the action is allowed */ allowed: Scalars['Boolean']['output']; /** Path taken to reach the decision (for debugging) */ decisionPath: Scalars['String']['output']; opaPolicy?: Maybe<Scalars['String']['output']>; overrideType?: Maybe<Scalars['String']['output']>; /** Additional details about the decision */ roleLevel?: Maybe<Scalars['String']['output']>; roleName?: Maybe<Scalars['String']['output']>; }; /** Actor-level permission override (exception to role-based permissions) */ export type PermissionOverride = { __typename?: 'PermissionOverride'; action: Scalars['String']['output']; actorId: Scalars['String']['output']; actorType: ActorType; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; overrideType: OverrideType; priority: Scalars['Int']['output']; reason?: Maybe<Scalars['String']['output']>; /** Optional: Scope to specific resource instance */ resourceId?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; scopeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; }; export type PermissionOverridePage = { __typename?: 'PermissionOverridePage'; items: Array<PermissionOverride>; pageInfo: OffsetPageInfo; }; export type PestIssue = { __typename?: 'PestIssue'; affectedCrop: Scalars['String']['output']; affectedField: Scalars['String']['output']; detectedDate: Scalars['String']['output']; id: Scalars['ID']['output']; pest: Scalars['String']['output']; severity: Scalars['String']['output']; status: Scalars['String']['output']; treatment?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; }; /** A reproducible physical stocktake with a snapshotted expected inventory. */ export type PhysicalAudit = { __typename?: 'PhysicalAudit'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; expectedCount: Scalars['Int']['output']; expectedLocation?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; items: Array<PhysicalAuditItem>; missingCount: Scalars['Int']['output']; movedCount: Scalars['Int']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; presentCount: Scalars['Int']['output']; scannedCount: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: PhysicalAuditStatus; unexpectedCount: Scalars['Int']['output']; unresolvedCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type PhysicalAuditItem = { __typename?: 'PhysicalAuditItem'; assetId?: Maybe<Scalars['ID']['output']>; assetName?: Maybe<Scalars['String']['output']>; assetNumber?: Maybe<Scalars['String']['output']>; auditId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; expectedLocation?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; observedLocation?: Maybe<Scalars['String']['output']>; outcome: PhysicalAuditItemOutcome; resolutionNotes?: Maybe<Scalars['String']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; resolvedBy?: Maybe<Scalars['String']['output']>; scannedAt?: Maybe<Scalars['DateTime']['output']>; scannedBy?: Maybe<Scalars['String']['output']>; scannedTagId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum PhysicalAuditItemOutcome { Missing = "MISSING", Moved = "MOVED", Pending = "PENDING", Present = "PRESENT", Unexpected = "UNEXPECTED" } export declare enum PhysicalAuditStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS" } /** Input for pinning a comment */ export type PinCommentInput = { id: Scalars['ID']['input']; isPinned: Scalars['Boolean']['input']; pinnedBy?: InputMaybe<Scalars['ID']['input']>; }; export type Pipeline = { __typename?: 'Pipeline'; console?: Maybe<BigConsoleDashboard>; consoleId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastExecutedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; outputSinkId?: Maybe<Scalars['ID']['output']>; /** Key of the derived DataSink that receives this pipeline's output */ outputSinkKey?: Maybe<Scalars['String']['output']>; stages: Array<PipelineStage>; status: PipelineStatus; tagAssignments: Array<BigConsoleTagAssignment>; updatedAt: Scalars['DateTime']['output']; updatedBy: Scalars['ID']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type PipelineConnection = { __typename?: 'PipelineConnection'; edges: Array<PipelineEdge>; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type PipelineEdge = { __typename?: 'PipelineEdge'; cursor: Scalars['String']['output']; node: Pipeline; }; export type PipelineExecution = { __typename?: 'PipelineExecution'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; error?: Maybe<Scalars['String']['output']>; executedBy: Scalars['ID']['output']; id: Scalars['ID']['output']; inputData?: Maybe<Scalars['JSON']['output']>; outputData?: Maybe<Scalars['JSON']['output']>; pipelineId: Scalars['ID']['output']; pipelineVersion: Scalars['Int']['output']; stageResults: Array<PipelineStageResult>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: PipelineExecutionStatus; totalExecutionTimeMs?: Maybe<Scalars['Int']['output']>; }; export declare enum PipelineExecutionStatus { completed = "completed", failed = "failed", pending = "pending", running = "running" } export type PipelineFilterInput = { consoleId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<PipelineStatus>; }; export type PipelineStage = { __typename?: 'PipelineStage'; description?: Maybe<Scalars['String']['output']>; enabled: Scalars['Boolean']['output']; expression?: Maybe<Scalars['String']['output']>; fallbackValue?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; inputKey: Scalars['String']['output']; onError: StageErrorHandling; outputKey: Scalars['String']['output']; parser?: Maybe<Parser>; parserId: Scalars['ID']['output']; parserName?: Maybe<Scalars['String']['output']>; parserType?: Maybe<ParserType>; pipelineId: Scalars['ID']['output']; position: Scalars['Int']['output']; }; export type PipelineStageResult = { __typename?: 'PipelineStageResult'; error?: Maybe<Scalars['String']['output']>; executionTimeMs?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; output?: Maybe<Scalars['JSON']['output']>; stageId: Scalars['ID']['output']; stageName?: Maybe<Scalars['String']['output']>; status: StageExecutionStatus; }; export declare enum PipelineStatus { active = "active", draft = "draft", error = "error", inactive = "inactive" } export type PlaceHealthyBowlStorageLotInput = { context: ContextInput; expiryDate?: InputMaybe<Scalars['String']['input']>; harvestRecordId?: InputMaybe<Scalars['ID']['input']>; /** Bin (or warehouse) the lot is placed into. */ locationId: Scalars['ID']['input']; lotCode: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; produce: Scalars['String']['input']; productId?: InputMaybe<Scalars['ID']['input']>; productionBatchId?: InputMaybe<Scalars['ID']['input']>; /** Initial stored quantity — recorded as an opening IN movement. */ quantity: Scalars['Float']['input']; receivedAt?: InputMaybe<Scalars['String']['input']>; traceBatchId?: InputMaybe<Scalars['ID']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type PlanMultiModalShipmentInput = { cargoDetails?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; customerId?: InputMaybe<Scalars['ID']['input']>; deliveryJobId?: InputMaybe<Scalars['ID']['input']>; destination: Scalars['JSON']['input']; estimatedDelivery?: InputMaybe<Scalars['DateTime']['input']>; legs: Array<CreateShipmentLegInput>; origin: Scalars['JSON']['input']; shipmentNumber: Scalars['String']['input']; storeOrderId?: InputMaybe<Scalars['ID']['input']>; }; /** Accept a request out of triage */ export type PlanmagnetAcceptFeatureRequestInput = { /** The project that will deliver it */ projectId?: InputMaybe<Scalars['String']['input']>; /** UNDER_REVIEW or PLANNED (the default) */ status?: InputMaybe<FeatureRequestStatus>; }; /** The kind of event a PlanmagnetActivityFeedEvent carries. */ export declare enum PlanmagnetActivityEventType { /** A comment was posted (commentId/excerpt are set) */ Commented = "COMMENTED", /** A work item was created */ Created = "CREATED", /** A tracked field changed (field/fromValue/toValue are set) */ FieldChanged = "FIELD_CHANGED", /** A work item's status changed (fromStatus/toStatus are set) */ StatusChanged = "STATUS_CHANGED" } /** One event in the workspace activity feed (CWF-09). Only the fields for its own `type` are set; the rest are null. */ export type PlanmagnetActivityFeedEvent = { __typename?: 'PlanmagnetActivityFeedEvent'; /** Actor who did it */ actorId?: Maybe<Scalars['String']['output']>; at: Scalars['DateTime']['output']; /** The automation rule that made the change (transitionSource AUTOMATION only) */ automationRuleId?: Maybe<Scalars['String']['output']>; /** The comment (COMMENTED) */ commentId?: Maybe<Scalars['String']['output']>; /** The start of the comment, at most 200 characters (COMMENTED) */ excerpt?: Maybe<Scalars['String']['output']>; /** The tracked field that changed (FIELD_CHANGED) */ field?: Maybe<Scalars['String']['output']>; /** Status before (STATUS_CHANGED) */ fromStatus?: Maybe<Scalars['String']['output']>; /** The field's value before the change (FIELD_CHANGED); null means it was unset */ fromValue?: Maybe<Scalars['String']['output']>; /** Stable id, prefixed by source (created:, status:, comment:, field:) */ id: Scalars['ID']['output']; /** Status after (STATUS_CHANGED) */ toStatus?: Maybe<Scalars['String']['output']>; /** The field's value after the change (FIELD_CHANGED); null means it became unset */ toValue?: Maybe<Scalars['String']['output']>; /** * Who or what made the change (CREATED and STATUS_CHANGED — ANR-12). Null for every other event and for changes * recorded before 2026-10-02, whose origin was never captured. */ transitionSource?: Maybe<PlanmagnetStatusTransitionSource>; type: PlanmagnetActivityEventType; /** The work item this event is about — always a live item of a live project (deleted ones are left out of the feed) */ workItem: PlanmagnetActivityFeedWorkItemRef; }; /** Filters for the workspace activity feed. Every field is optional; the ones given are AND-ed together. */ export type PlanmagnetActivityFeedFilter = { /** Only events done by one of these actors */ actorIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Only events at or after this moment (a calendar date is taken as UTC midnight) */ from?: InputMaybe<Scalars['DateTime']['input']>; /** * Only events BY the caller, or on a work item currently assigned to the caller. The caller is always * `x-actor-id` — there is no separate identity argument, so this can never page through someone else's feed. */ mine?: InputMaybe<Scalars['Boolean']['input']>; /** Only events on work items of these projects */ projectIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Only events whose actor is a live member of this team (of this workspace) */ teamId?: InputMaybe<Scalars['ID']['input']>; /** Only events at or before this moment */ to?: InputMaybe<Scalars['DateTime']['input']>; /** Only events of these kinds */ types?: InputMaybe<Array<PlanmagnetActivityEventType>>; /** Only events on this one work item */ workItemId?: InputMaybe<Scalars['ID']['input']>; }; export type PlanmagnetActivityFeedPage = { __typename?: 'PlanmagnetActivityFeedPage'; /** Newest first */ items: Array<PlanmagnetActivityFeedEvent>; pageInfo: PlanmagnetActivityFeedPageInfo; }; /** * Keyset pageInfo for the merged feed. No totalCount: a count across four sources — several of them effectively * unbounded scans over a workspace's whole history — is too expensive to compute on every page, so it is not * offered. No hasPreviousPage/startCursor either: the feed is consumed forward-only, newest first. */ export type PlanmagnetActivityFeedPageInfo = { __typename?: 'PlanmagnetActivityFeedPageInfo'; endCursor?: Maybe<Scalars['String']['output']>; hasNextPage: Scalars['Boolean']['output']; }; /** * The work item an activity feed event is about. Deliberately narrow (not the full WorkItem) — the feed is a list of * events, not a work-item browser; open the item itself for the rest. */ export type PlanmagnetActivityFeedWorkItemRef = { __typename?: 'PlanmagnetActivityFeedWorkItemRef'; id: Scalars['ID']['output']; key: Scalars['String']['output']; projectId: Scalars['String']['output']; title: Scalars['String']['output']; }; export type PlanmagnetAddDocCommentInput = { /** * Files already uploaded to this workspace via the platform files module (CWF-12), referenced by id. Each must * belong to this exact workspace or the whole mutation is refused (fail closed) — at most * MAX_ATTACHMENTS_PER_COMMENT (10) per comment. */ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Comment text (1 to 10,000 characters after trimming). Accepts a constrained rich-text subset — bold, italic, * inline/fenced code, @mentions, https:// links and fileId-referenced images — sanitized on write; see * CommentService.requireBody / src/utils/rich-text-sanitizer.ts. */ body: Scalars['String']['input']; docId: Scalars['ID']['input']; /** Reply to this comment (CWF-02). A reply to a reply attaches to ITS top-level parent, not this id. */ parentId?: InputMaybe<Scalars['ID']['input']>; }; /** Text is trimmed. */ export type PlanmagnetAddProductLaunchChecklistItemInput = { category: PlanmagnetProductLaunchChecklistCategory; /** Between 2000-01-01 and 2100-12-31. */ dueDate?: InputMaybe<Scalars['DateTime']['input']>; /** Default true. */ isRequired?: InputMaybe<Scalars['Boolean']['input']>; /** Required, at most 200 characters. */ label: Scalars['String']['input']; /** An actor id, at most 128 characters. */ ownerId?: InputMaybe<Scalars['ID']['input']>; }; export type PlanmagnetAddProjectCommentInput = { /** * Files already uploaded to this workspace via the platform files module (CWF-12), referenced by id. Each must * belong to this exact workspace or the whole mutation is refused (fail closed) — at most * MAX_ATTACHMENTS_PER_COMMENT (10) per comment. */ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Comment text (1 to 10,000 characters after trimming). Accepts a constrained rich-text subset — bold, italic, * inline/fenced code, @mentions, https:// links and fileId-referenced images — sanitized on write; see * CommentService.requireBody / src/utils/rich-text-sanitizer.ts. */ body: Scalars['String']['input']; /** Reply to this comment (CWF-02). A reply to a reply attaches to ITS top-level parent, not this id. */ parentId?: InputMaybe<Scalars['ID']['input']>; projectId: Scalars['ID']['input']; }; export type PlanmagnetAddReleaseChecklistItemInput = { /** Default true: a required item blocks RELEASED while open */ isRequired?: InputMaybe<Scalars['Boolean']['input']>; label: Scalars['String']['input']; note?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetAddRoadmapCommentInput = { /** Comment text (1 to 5,000 characters after trimming) */ body: Scalars['String']['input']; roadmapId: Scalars['ID']['input']; /** Omit (or send null) to comment on the roadmap itself rather than one item */ roadmapItemId?: InputMaybe<Scalars['ID']['input']>; }; export type PlanmagnetAddWorkItemCommentInput = { /** * Files already uploaded to this workspace via the platform files module (CWF-12), referenced by id. Each must * belong to this exact workspace or the whole mutation is refused (fail closed) — at most * MAX_ATTACHMENTS_PER_COMMENT (10) per comment. */ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Comment text (1 to 10,000 characters after trimming). Accepts a constrained rich-text subset — bold, italic, * inline/fenced code, @mentions, https:// links and fileId-referenced images — sanitized on write; see * WorkItemCommentService.requireBody / src/utils/rich-text-sanitizer.ts. */ body: Scalars['String']['input']; /** Reply to this comment (CWF-02). A reply to a reply attaches to ITS top-level parent, not this id. */ parentId?: InputMaybe<Scalars['ID']['input']>; workItemId: Scalars['ID']['input']; }; /** * One recorded AI call. Every call is written, success or failure, by * AiGatewayService.completeWithDecision. * * `inputRefs` is deliberately NOT exposed: the column is classified L3 in the * Prisma schema, and a ledger read should not become the easiest way to pull * classified input back out. */ export type PlanmagnetAgentRun = { __typename?: 'PlanmagnetAgentRun'; actorId: Scalars['String']['output']; actorType: Scalars['String']['output']; /** * The shared prompts-ledger operation key when this call was recorded there * (rubric 6.2); null when accounting was held or off. */ correlationId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** What the model decided (e.g. the suggestions it returned), as recorded. */ decision?: Maybe<Scalars['JSON']['output']>; error?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; latencyMs?: Maybe<Scalars['Int']['output']>; model: Scalars['String']['output']; promptSummary: Scalars['String']['output']; provider: Scalars['String']['output']; /** * Groups related runs (rubric 6.2): the credit-charge grouping id today; * assistant sessions populate their own session id. */ sessionId?: Maybe<Scalars['String']['output']>; status: PlanmagnetAgentRunStatus; tokensIn?: Maybe<Scalars['Int']['output']>; tokensOut?: Maybe<Scalars['Int']['output']>; trigger: PlanmagnetAgentRunTrigger; workspaceId: Scalars['ID']['output']; }; export type PlanmagnetAgentRunFilter = { status?: InputMaybe<PlanmagnetAgentRunStatus>; }; export type PlanmagnetAgentRunList = { __typename?: 'PlanmagnetAgentRunList'; items: Array<PlanmagnetAgentRun>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Values mirror the Prisma enum exactly. Enum drift between the two layers is * how every dependency write in this service 500'd for months — see * 20260924130000 — so do not add a value here without the migration. */ export declare enum PlanmagnetAgentRunStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum PlanmagnetAgentRunTrigger { Manual = "MANUAL" } /** Delivered work per portfolio strategic theme (Portfolio.alignment). */ export type PlanmagnetAlignmentTheme = { __typename?: 'PlanmagnetAlignmentTheme'; completedCount: Scalars['Int']['output']; completedPoints: Scalars['Int']['output']; /** Null for work in projects outside any portfolio, or in a portfolio without a theme. */ theme?: Maybe<StrategicAlignment>; /** The CUSTOM theme's label. */ themeLabel?: Maybe<Scalars['String']['output']>; }; /** * ANR-19: aggregate analytics for one project within a workspace — a thin composition over the EXISTING narrow * analytics queries in this module (never a second computation engine). * * `projectMetrics` composes planmagnetVelocity + planmagnetCycleTime + planmagnetThroughput + * planmagnetCumulativeFlow (its latest day's open-item count, as a "wip" reading) + the project's currently * ACTIVE/REVIEW sprint's planmagnetSprintBurndown (its latest day's remainingPoints — omitted when the project * has no such sprint) into generic PlanmagnetMetric rows. Empty when `projectId` was not given — there is * nothing project-scoped to compose. * * `teamMetrics` composes planmagnetTeamVelocity for the ONE team linked to the project (TeamProject, BOFF-8044). * Zero or more-than-one linked team: empty — which team "the project's" team metric means is ambiguous with more * than one, and there is nothing to compose with none. * * `individualMetrics` and `portfolioMetrics` are deliberately empty today: there is no per-assignee breakdown * (ANR-08) yet, and the portfolio side is planmagnetPortfolioRollup (ANR-12 MVP, portfolio.gql) — a different, * richer type than this generic Metric list, not duplicated here. An honest gap, not a fabricated zero. * * `predictions` is deliberately empty today: the Monte Carlo forecast queries (forecast.gql) return their own * typed shape, not a generic Metric row, and no other prediction source feeds this field yet. */ export type PlanmagnetAnalytics = { __typename?: 'PlanmagnetAnalytics'; individualMetrics: Array<PlanmagnetMetric>; portfolioMetrics: Array<PlanmagnetMetric>; predictions: Array<PlanmagnetMetric>; projectMetrics: Array<PlanmagnetMetric>; teamMetrics: Array<PlanmagnetMetric>; }; export type PlanmagnetAnalyticsWindow = { __typename?: 'PlanmagnetAnalyticsWindow'; /** The start of the first UTC day counted. */ from: Scalars['DateTime']['output']; preset: PlanmagnetAnalyticsWindowPreset; /** The end (23:59:59.999) of the last UTC day counted. */ to: Scalars['DateTime']['output']; }; /** The window a figure covers: events whose moment is in [from, to], both ends included. */ export type PlanmagnetAnalyticsWindowInput = { /** CUSTOM only (required there). Any other preset with from/to is BAD_USER_INPUT. */ from?: InputMaybe<Scalars['DateTime']['input']>; /** Defaults to LAST_90_DAYS. */ preset?: InputMaybe<PlanmagnetAnalyticsWindowPreset>; /** CUSTOM only (required there). Not before `from`. */ to?: InputMaybe<Scalars['DateTime']['input']>; }; /** A trailing window: the N UTC calendar days ending today (today included), or CUSTOM. */ export declare enum PlanmagnetAnalyticsWindowPreset { /** From the start of `from`'s UTC day to the end of `to`'s — both required. */ Custom = "CUSTOM", Last_30Days = "LAST_30_DAYS", Last_90Days = "LAST_90_DAYS", Last_180Days = "LAST_180_DAYS", Last_365Days = "LAST_365_DAYS" } export type PlanmagnetApplyTemplateInput = { ownerId: Scalars['String']['input']; projectDescription?: InputMaybe<Scalars['String']['input']>; projectName: Scalars['String']['input']; templateId: Scalars['String']['input']; }; export type PlanmagnetAssignWorkItemInput = { assigneeId: Scalars['String']['input']; }; /** A work item with one or more at-risk flags (AI-10). */ export type PlanmagnetAtRiskWorkItem = { __typename?: 'PlanmagnetAtRiskWorkItem'; /** At most one flag per kind (deduped) — a work item can carry several DIFFERENT kinds at once. */ flags: Array<PlanmagnetWorkItemRiskFlag>; workItem: WorkItem; }; export type PlanmagnetAtRiskWorkItemList = { __typename?: 'PlanmagnetAtRiskWorkItemList'; items: Array<PlanmagnetAtRiskWorkItem>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** A record of an automation rule execution. */ export type PlanmagnetAutomationExecution = { __typename?: 'PlanmagnetAutomationExecution'; /** Completion timestamp */ completedAt?: Maybe<Scalars['DateTime']['output']>; /** Execution duration in milliseconds */ durationMs?: Maybe<Scalars['Int']['output']>; /** Error message if failed */ errorMessage?: Maybe<Scalars['String']['output']>; /** Execution timestamp */ executedAt: Scalars['DateTime']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Execution result / output */ result?: Maybe<Scalars['JSON']['output']>; /** Parent rule */ rule?: Maybe<PlanmagnetAutomationRule>; /** Parent automation rule ID */ ruleId: Scalars['String']['output']; /** Execution status */ status: PlanmagnetAutomationExecutionStatus; /** Trigger data that initiated this execution */ triggerData?: Maybe<Scalars['JSON']['output']>; }; export type PlanmagnetAutomationExecutionFilter = { executedAfter?: InputMaybe<Scalars['DateTime']['input']>; executedBefore?: InputMaybe<Scalars['DateTime']['input']>; ruleId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetAutomationExecutionStatus>; }; export type PlanmagnetAutomationExecutionList = { __typename?: 'PlanmagnetAutomationExecutionList'; items: Array<PlanmagnetAutomationExecution>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * The outcome of one automation run. * * PARTIAL_FAILURE exists because a run that dispatched some actions and could not * dispatch others is neither a success nor a plain failure, and an operator needs * to tell those apart. Before the status column existed the backing store was a * single boolean, so this distinction could not be represented at all. */ export declare enum PlanmagnetAutomationExecutionStatus { Failure = "FAILURE", /** Some actions ran, others failed or could not be dispatched. */ PartialFailure = "PARTIAL_FAILURE", Pending = "PENDING", Running = "RUNNING", /** Nothing ran — no action the rule declared is supported by this engine. */ Skipped = "SKIPPED", Success = "SUCCESS" } /** * (a) Automation rule failure rates — rules of the project scope (with a portfolio or project filter, rules bound to * one of those projects; workspace-wide rules only without one). Not product-scoped: failureRate reports * FILTER_NOT_APPLICABLE with a productId. * (b) The most frequent MANUAL status moves no active rule actually performed in this window: matching the same * project and the exact from→to pair in an AUTOMATION transition with that rule's id. A configured SET_STATUS target * alone is not evidence that its trigger and conditions can perform a particular move. Only source USER counts as * manual; transitions written before the source marker existed are excluded, never guessed. The section's * notEnoughData/reason describe (b). */ export type PlanmagnetAutomationOpportunities = { __typename?: 'PlanmagnetAutomationOpportunities'; /** Manual moves with an exact from→to match to an observed transition by a rule that is still active; null when capped. */ coveredByRuleCount?: Maybe<Scalars['Int']['output']>; failureRate: PlanmagnetBusinessIntelligenceRatio; /** Manual moves between two statuses in the window — the sample manualMoves is drawn from. */ manualMoveCount: Scalars['Int']['output']; /** Most frequent first, at most 10. */ manualMoves: Array<PlanmagnetManualStatusMove>; notEnoughData: Scalars['Boolean']['output']; /** Moves by AUTOMATION, SYSTEM, IMPORT or AI. */ otherSourceCount: Scalars['Int']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** Rules with at least one execution in the window, highest failure rate first (at most 1,000 rules read). */ ruleFailureRates: Array<PlanmagnetAutomationRuleFailure>; /** More than 1,000 rules: failureRate is null with TRUNCATED; listed per-rule rates remain individually exact. */ ruleFailuresTruncated: Scalars['Boolean']['output']; /** Moves with no source marker (written before 2026-10-02) — excluded from 'manual'. */ unknownSourceCount: Scalars['Int']['output']; }; /** * A rule that automates project management tasks based on triggers, * conditions, and actions. */ export type PlanmagnetAutomationRule = { __typename?: 'PlanmagnetAutomationRule'; /** Actions to execute (JSON array) */ actions: Scalars['JSON']['output']; /** Conditions that must be met (JSON array) */ conditions?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this rule */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Rule description */ description?: Maybe<Scalars['String']['output']>; /** * Number of times this rule's actions have actually been dispatched — bumped * by the real engine (BOFF-4445) on a matched run, whether triggered * automatically (WORK_ITEM_CREATED/STATUS_CHANGED) or manually via * `planmagnetExecuteAutomationRule`. A manual run whose conditions did not * match does NOT increment this — see that mutation's description. */ executionCount: Scalars['Int']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Last execution timestamp */ lastExecutedAt?: Maybe<Scalars['DateTime']['output']>; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Rule name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** * Parent project ID. Nullable: the backing column is optional and is set to * NULL when the parent project is deleted (`onDelete: SetNull`). */ projectId?: Maybe<Scalars['String']['output']>; /** Current status */ status: PlanmagnetAutomationStatus; /** Trigger configuration (JSON) */ triggerConfig: Scalars['JSON']['output']; /** Trigger type */ triggerType: PlanmagnetAutomationTriggerType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this rule */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** Audit snapshot of an automation rule for admin review. */ export type PlanmagnetAutomationRuleAudit = { __typename?: 'PlanmagnetAutomationRuleAudit'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Total execution count */ executionCount: Scalars['Int']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Last execution timestamp */ lastRunAt?: Maybe<Scalars['DateTime']['output']>; /** Rule name */ name: Scalars['String']['output']; /** Current status */ status: PlanmagnetAutomationStatus; /** Trigger type */ trigger: PlanmagnetAutomationTriggerType; }; /** Paginated list of automation rule audit entries. */ export type PlanmagnetAutomationRuleAuditConnection = { __typename?: 'PlanmagnetAutomationRuleAuditConnection'; items: Array<PlanmagnetAutomationRuleAudit>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetAutomationRuleFailure = { __typename?: 'PlanmagnetAutomationRuleFailure'; /** Executions recorded with success = false ÷ executions, in the window. */ failureRate: PlanmagnetBusinessIntelligenceRatio; projectId?: Maybe<Scalars['ID']['output']>; ruleId: Scalars['ID']['output']; ruleName: Scalars['String']['output']; }; export type PlanmagnetAutomationRuleFilter = { projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetAutomationStatus>; triggerType?: InputMaybe<PlanmagnetAutomationTriggerType>; }; export type PlanmagnetAutomationRuleList = { __typename?: 'PlanmagnetAutomationRuleList'; items: Array<PlanmagnetAutomationRule>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetAutomationStatus { Active = "ACTIVE", Disabled = "DISABLED", Error = "ERROR", Paused = "PAUSED" } export declare enum PlanmagnetAutomationTriggerType { Manual = "MANUAL", /** * AUT-27 — a rule's own Milestone falls due TODAY (UTC calendar day), checked once per automation-scheduler.ts * tick, same job as SCHEDULE below (`runMilestoneDueRule`). Real dispatcher as of this pass for BOTH AutomationRule * execution and PlanmagnetWebhookSubscription delivery (AUT-33) — idempotent per (rule, milestone, due day); a * WebhookSubscription fires once per matching rule's candidate scan, not once globally, since this is the one * trigger type with no single rule-independent occurrence to fan out from (see automation-scheduler.ts's header). */ MilestoneDue = "MILESTONE_DUE", /** * A release's status moves to RELEASED (CWF-05). Added 2026-09-30 alongside POST_TO_CHANNEL — the other nine * values already existed. */ ReleaseReleased = "RELEASE_RELEASED", /** * AUT-27 — a rule's own staleness window (`{ status: [...], notUpdatedForDays: N }`) matches a work item on an * automation-scheduler.ts tick. Real dispatcher as of this pass for BOTH AutomationRule execution and * PlanmagnetWebhookSubscription delivery (AUT-33), same shape as MILESTONE_DUE above — idempotent per * (rule, item, day). Because "stale" is defined per-rule (there is no single staleness window for the whole * workspace), a WebhookSubscription fires once per matching rule's candidate match, which can mean more than one * delivery for the same work item on the same day if more than one ACTIVE SCHEDULE rule matches it. */ Schedule = "SCHEDULE", SprintCompleted = "SPRINT_COMPLETED", SprintStarted = "SPRINT_STARTED", /** * AUT-02/AUT-27/AUT-33 — fires when this service's own inbound GitHub webhook receiver * (`POST /rest/webhooks/github/:syncId`) processes a delivery. The dispatch call site now exists * (github-webhook.service.ts's `processWebhookDelivery`), but it is CODED, NOT YET LIVE in production: that * receiver is reachable only from inside this cluster until Platform ticket BOFF-8238 adds the public-gateway * route, so no external GitHub delivery can reach it yet and this trigger cannot really fire outside this * service's own tests until that route ships. A rule saved with this trigger type today is accepted (so a * customer can prepare it ahead of time) but will not see a real delivery before BOFF-8238 lands. */ Webhook = "WEBHOOK", WorkItemAssigned = "WORK_ITEM_ASSIGNED", WorkItemCreated = "WORK_ITEM_CREATED", WorkItemStatusChanged = "WORK_ITEM_STATUS_CHANGED", /** * AUT-27 — any field edit through WorkItemService.update()'s general path, distinct from (and not mutually * exclusive with) WORK_ITEM_STATUS_CHANGED/WORK_ITEM_ASSIGNED: a single update() call touching both status and * another field fires WORK_ITEM_STATUS_CHANGED AND WORK_ITEM_UPDATED. Real dispatcher as of this value's own * AUT-27 pass — see automation-engine.ts's header for the full trigger-by-trigger dispatch map. */ WorkItemUpdated = "WORK_ITEM_UPDATED" } /** Card fields a view shows on each card (the title is always shown) */ export declare enum PlanmagnetBoardCardField { Assignee = "ASSIGNEE", DueDate = "DUE_DATE", Epic = "EPIC", Key = "KEY", Labels = "LABELS", Milestone = "MILESTONE", Priority = "PRIORITY", Sprint = "SPRINT", StoryPoints = "STORY_POINTS", Type = "TYPE" } /** * Which cards to show. Every list is OR-within and AND-across: assignee A or B, and type Bug or Story. Empty or * omitted fields filter nothing */ export type PlanmagnetBoardCardFilter = { assigneeIds?: InputMaybe<Array<Scalars['String']['input']>>; /** Due on or after this UTC day */ dueFrom?: InputMaybe<Scalars['DateTime']['input']>; /** Due on or before this UTC day */ dueTo?: InputMaybe<Scalars['DateTime']['input']>; /** Cards carrying ANY of these labels */ labels?: InputMaybe<Array<Scalars['String']['input']>>; milestoneId?: InputMaybe<Scalars['String']['input']>; priorities?: InputMaybe<Array<WorkItemPriority>>; /** Case-insensitive match on the key or title */ search?: InputMaybe<Scalars['String']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; types?: InputMaybe<Array<WorkItemType>>; /** Also include cards with no assignee (with assigneeIds, 'these people or nobody') */ unassigned?: InputMaybe<Scalars['Boolean']['input']>; }; export type PlanmagnetBoardCardFilterValue = { __typename?: 'PlanmagnetBoardCardFilterValue'; assigneeIds: Array<Scalars['String']['output']>; dueFrom?: Maybe<Scalars['DateTime']['output']>; dueTo?: Maybe<Scalars['DateTime']['output']>; labels: Array<Scalars['String']['output']>; milestoneId?: Maybe<Scalars['String']['output']>; priorities: Array<WorkItemPriority>; search?: Maybe<Scalars['String']['output']>; sprintId?: Maybe<Scalars['String']['output']>; types: Array<WorkItemType>; unassigned: Scalars['Boolean']['output']; }; export type PlanmagnetBoardCardSort = { direction?: InputMaybe<PlanmagnetSortDirection>; field: PlanmagnetBoardCardSortField; }; export declare enum PlanmagnetBoardCardSortField { CreatedAt = "CREATED_AT", DueDate = "DUE_DATE", Priority = "PRIORITY", /** The board's own drag-and-drop order */ Rank = "RANK", StoryPoints = "STORY_POINTS", UpdatedAt = "UPDATED_AT" } export type PlanmagnetBoardCardSortValue = { __typename?: 'PlanmagnetBoardCardSortValue'; direction: PlanmagnetSortDirection; field: PlanmagnetBoardCardSortField; }; export type PlanmagnetBoardFilter = { projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<BoardType>; }; /** How a view splits a board into swimlanes */ export declare enum PlanmagnetBoardGroupBy { Assignee = "ASSIGNEE", Epic = "EPIC", Milestone = "MILESTONE", None = "NONE", Priority = "PRIORITY", Sprint = "SPRINT", Type = "TYPE" } export type PlanmagnetBoardList = { __typename?: 'PlanmagnetBoardList'; items: Array<Board>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** A saved board view: what it filters, how it groups and sorts, and which card fields it shows */ export type PlanmagnetBoardView = { __typename?: 'PlanmagnetBoardView'; board?: Maybe<Board>; /** The board it opens on, when it names one — null if it names none or that board was deleted */ boardId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; filter: PlanmagnetBoardCardFilterValue; groupBy: PlanmagnetBoardGroupBy; id: Scalars['ID']['output']; /** True when the caller owns it (and so may change it) */ isMine: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** Who created it — the only person who can change or delete it */ ownerId: Scalars['String']['output']; projectId: Scalars['String']['output']; sort: PlanmagnetBoardCardSortValue; updatedAt: Scalars['DateTime']['output']; visibility: PlanmagnetBoardViewVisibility; /** Card fields to show; empty means the board's default card */ visibleFields: Array<PlanmagnetBoardCardField>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetBoardViewConfigInput = { filter?: InputMaybe<PlanmagnetBoardCardFilter>; groupBy?: InputMaybe<PlanmagnetBoardGroupBy>; sort?: InputMaybe<PlanmagnetBoardCardSort>; visibleFields?: InputMaybe<Array<PlanmagnetBoardCardField>>; }; export type PlanmagnetBoardViewFilter = { boardId?: InputMaybe<Scalars['String']['input']>; /** Only the caller's own views (otherwise own + shared) */ mine?: InputMaybe<Scalars['Boolean']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetBoardViewList = { __typename?: 'PlanmagnetBoardViewList'; items: Array<PlanmagnetBoardView>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetBoardViewVisibility { /** Only its owner sees it */ Private = "PRIVATE", /** Listed for everyone who can read this workspace's boards; only the owner can change it */ Shared = "SHARED" } /** * The bottleneck is the status with the longest median dwell among the statuses whose queue grew, considering only * statuses with at least minimumSample dwell samples. When no queue grew there is no bottleneck — one is never forced. */ export type PlanmagnetBottleneckAnalysis = { __typename?: 'PlanmagnetBottleneckAnalysis'; bottleneck?: Maybe<WorkItemStatus>; minimumSample: Scalars['Int']['output']; /** True when no open status's queue grew in the window. */ noBottleneck: Scalars['Boolean']['output']; /** True when queues grew but none has minimumSample dwell samples (BELOW_MINIMUM_SAMPLE). */ notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; statuses: Array<PlanmagnetStatusQueue>; /** The dwell samples come from a capped history read: medians and bottleneck are null (queue counts remain exact). */ truncated: Scalars['Boolean']['output']; }; /** * A financial budget allocated to a project, tracking planned versus * actual spending. */ export type PlanmagnetBudget = { __typename?: 'PlanmagnetBudget'; /** Approval timestamp */ approvedAt?: Maybe<Scalars['DateTime']['output']>; /** Approver actor ID */ approverId?: Maybe<Scalars['String']['output']>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** spentAmount / deliverablesDone. Null when deliverablesDone is 0. */ costPerDeliverable?: Maybe<Scalars['Float']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this budget */ createdBy: Scalars['String']['output']; /** Currency code (e.g. USD, EUR) */ currency: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * Live work items of this budget's project that reached DONE — by their DONE transition timestamp — within * periodStart..periodEnd (whichever side is set; unbounded on the side that is not), or across all time when * neither is set. Batched per request (DataLoader grouped by project, not one query per budget) — see * budgetDeliverablesDoneLoader in budget.service.ts. */ deliverablesDone: Scalars['Int']['output']; /** Budget description */ description?: Maybe<Scalars['String']['output']>; /** Expenses logged against this budget */ expenses: Array<BudgetExpense>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Budget name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Budget period end */ periodEnd?: Maybe<Scalars['DateTime']['output']>; /** Budget period start */ periodStart?: Maybe<Scalars['DateTime']['output']>; /** Total planned amount */ plannedAmount: Scalars['Float']['output']; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** Remaining amount */ remainingAmount: Scalars['Float']['output']; /** Total spent amount */ spentAmount: Scalars['Float']['output']; /** Current status */ status: BudgetStatus; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this budget */ updatedBy?: Maybe<Scalars['String']['output']>; /** spentAmount - totalAmount. Positive means over budget, negative means under. ANR-22. */ varianceAmount: Scalars['Float']['output']; /** * (spentAmount - totalAmount) / totalAmount * 100. Null when totalAmount is 0 — nothing to compare spend * against. */ variancePercent?: Maybe<Scalars['Float']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export type PlanmagnetBudgetExpenseFilter = { budgetId?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; /** Expenses dated on or after this UTC day */ dateFrom?: InputMaybe<Scalars['DateTime']['input']>; /** Expenses dated on or before this UTC day (the whole day is included) */ dateTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type PlanmagnetBudgetExpenseList = { __typename?: 'PlanmagnetBudgetExpenseList'; items: Array<BudgetExpense>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetBudgetFilter = { projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<BudgetStatus>; }; export type PlanmagnetBudgetList = { __typename?: 'PlanmagnetBudgetList'; items: Array<PlanmagnetBudget>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Burn-rate projection for one budget of the project (ANR-10). null fields mean the projection could not * be computed from real data (see the parent PlanmagnetProjectOutlook.timelineDeviationDays doc) — never * a guess. */ export type PlanmagnetBudgetProjection = { __typename?: 'PlanmagnetBudgetProjection'; budgetId: Scalars['ID']['output']; /** spentAmount / days elapsed since the budget's period start (or its creation date, if no period start is set). */ burnRatePerDay: Scalars['Float']['output']; name: Scalars['String']['output']; /** projectedSpendAtForecastDate - totalAmount. Positive means projected to run over. Null under the same condition as projectedSpendAtForecastDate. */ projectedOverage?: Maybe<Scalars['Float']['output']>; /** burnRatePerDay extrapolated forward to the delivery forecast's p85 completion date. Null when that date is unavailable (insufficientHistory, or no target/milestone date to forecast against). */ projectedSpendAtForecastDate?: Maybe<Scalars['Float']['output']>; spentAmount: Scalars['Float']['output']; totalAmount: Scalars['Float']['output']; }; /** * One budget's run rate as of today: spent ÷ elapsed days × total days of its own period (whole UTC days, both ends * included), compared with its plan (totalAmount). Spent is the budget's spentAmount — the figure the portfolio rollup * sums. */ export type PlanmagnetBudgetRunRate = { __typename?: 'PlanmagnetBudgetRunRate'; budgetId: Scalars['ID']['output']; currency: Scalars['String']['output']; elapsedDays?: Maybe<Scalars['Int']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; notEnoughData: Scalars['Boolean']['output']; planned: Scalars['String']['output']; projectId: Scalars['ID']['output']; /** Rounded to 2 decimal places. */ projectedSpend?: Maybe<Scalars['String']['output']>; /** projectedSpend − planned: above 0 the budget is on pace to exceed its plan by this much. */ projectedVariance?: Maybe<Scalars['String']['output']>; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; spent: Scalars['String']['output']; startDate?: Maybe<Scalars['DateTime']['output']>; totalDays?: Maybe<Scalars['Int']['output']>; /** spent ÷ planned (a ratio); null when planned is 0. */ utilization?: Maybe<Scalars['Float']['output']>; }; export type PlanmagnetBulkUpdateWorkItemsInput = { assigneeId?: InputMaybe<Scalars['String']['input']>; ids: Array<Scalars['ID']['input']>; labels?: InputMaybe<Array<Scalars['String']['input']>>; /** Group every selected item under this milestone (all must be in its project), or null to remove them from theirs */ milestoneId?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<WorkItemPriority>; /** * Replaces every selected item's required skills (same rules as on create); null or [] clears them, leaving it out * keeps them */ requiredSkills?: InputMaybe<Array<Scalars['String']['input']>>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; }; /** * One day's burndown reading for a sprint: how many items/points remained * un-resolved, and how many had reached DONE, as of the end of that day. */ export type PlanmagnetBurndownPoint = { __typename?: 'PlanmagnetBurndownPoint'; /** Work item count DONE as of end of this day. */ completedCount: Scalars['Int']['output']; /** Story points DONE as of end of this day. */ completedPoints: Scalars['Int']['output']; /** Calendar day (UTC midnight) this reading is as-of. */ date: Scalars['DateTime']['output']; /** Work item count not yet DONE/CANCELLED as of end of this day. */ remainingCount: Scalars['Int']['output']; /** Story points not yet DONE/CANCELLED as of end of this day. */ remainingPoints: Scalars['Int']['output']; }; /** ANR-12 business intelligence for one scope and window. Each section is computed only when selected. */ export type PlanmagnetBusinessIntelligence = { __typename?: 'PlanmagnetBusinessIntelligence'; /** 8. Automation rule failure rates and the most frequent manual status moves. */ automationOpportunities: PlanmagnetAutomationOpportunities; /** 7. Queue growth and dwell time per open status. */ bottleneck: PlanmagnetBottleneckAnalysis; calculatedAt: Scalars['DateTime']['output']; /** 5. Descriptive parity against competitors' structured capabilities. */ competitiveAdvantage: PlanmagnetCompetitiveAdvantage; /** 10. Run-rate cost projection against plan, and spend by expense category. */ costProjection: PlanmagnetCostProjection; /** 4. Opening-cohort fulfillment of feature requests. */ marketImpact: PlanmagnetMarketImpact; portfolioId?: Maybe<Scalars['ID']['output']>; /** 6. Flow efficiency and cycle time of completed work. */ processEfficiency: PlanmagnetProcessEfficiency; productId?: Maybe<Scalars['ID']['output']>; projectId?: Maybe<Scalars['ID']['output']>; /** 9. Reopen rate, bug flow and quality-gate failure rate by phase. */ qualityAreas: PlanmagnetQualityAreas; /** 3. Uncovered required skills and urgent work left unassigned. */ resourceOptimization: PlanmagnetResourceOptimization; /** 1. ROI per project and per currency. */ roi: PlanmagnetRoiAnalysis; /** 2. Share of completed work that contributes to an ACTIVE objective. */ strategicAlignment: PlanmagnetStrategicAlignment; window: PlanmagnetAnalyticsWindow; workspaceId: Scalars['ID']['output']; }; export type PlanmagnetBusinessIntelligenceFilter = { /** Only the live projects of this portfolio. */ portfolioId?: InputMaybe<Scalars['ID']['input']>; /** Only this product's work, feature requests and competitors. */ productId?: InputMaybe<Scalars['ID']['input']>; /** Only this project. */ projectId?: InputMaybe<Scalars['ID']['input']>; /** Defaults to the trailing 90 days. */ window?: InputMaybe<PlanmagnetAnalyticsWindowInput>; }; /** A share with the two counts it was computed from: value = numerator ÷ denominator (a ratio, 0.25 = 25%). */ export type PlanmagnetBusinessIntelligenceRatio = { __typename?: 'PlanmagnetBusinessIntelligenceRatio'; /** The sample size. */ denominator: Scalars['Int']['output']; notEnoughData: Scalars['Boolean']['output']; numerator: Scalars['Int']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** Null when the denominator is 0, evidence is incomplete/truncated, or the figure does not apply. */ value?: Maybe<Scalars['Float']['output']>; }; /** Why a figure is null (or, for ZERO_COST, mathematically undefined). */ export declare enum PlanmagnetBusinessIntelligenceReason { /** Fewer samples than the stated minimum (minimumSample). */ BelowMinimumSample = "BELOW_MINIMUM_SAMPLE", /** No realized benefit is recorded. */ BenefitNotRecorded = "BENEFIT_NOT_RECORDED", /** The budget has no start or end date (or ends before it starts), so it has no run rate. */ BudgetDatesMissing = "BUDGET_DATES_MISSING", /** The budget's period has not started yet. */ BudgetNotStarted = "BUDGET_NOT_STARTED", /** No live budget records the cost in the benefit's currency. */ CostNotRecorded = "COST_NOT_RECORDED", /** Spend is recorded in a currency other than the benefit's; currencies are never converted. */ CurrencyMismatch = "CURRENCY_MISMATCH", /** This evidence is not recorded at the level of a filter that was set (see the schema header). */ FilterNotApplicable = "FILTER_NOT_APPLICABLE", /** A required historical state or event is not recorded; a partial ratio is never presented as complete. */ IncompleteHistory = "INCOMPLETE_HISTORY", /** Nothing in the scope and window to measure. */ NoData = "NO_DATA", /** The window's status changes carry no source marker (written before 2026-10-02), so manual moves cannot be told apart. */ NoSourceHistory = "NO_SOURCE_HISTORY", /** CrewFoundry or the workspace member directory could not be read, so skill coverage is unknown. */ SkillDataUnavailable = "SKILL_DATA_UNAVAILABLE", /** A bounded read omitted rows needed for an exact figure; no partial result is presented as complete. */ Truncated = "TRUNCATED", /** Actual spend is 0, so ROI is undefined (never infinite). The inputs are complete: notEnoughData is false. */ ZeroCost = "ZERO_COST" } /** * The forecast capacity vs demand for one upcoming sprint in the horizon (ANR-11). demandPoints is the * current open backlog split evenly across every sprint in the horizon (NOT a burndown simulation — every * sprint in the horizon carries the same demand figure); forecastCapacityPoints is the same velocityP50 * in every row (no trend is modelled). gapPoints = demandPoints - forecastCapacityPoints; positive means * short-staffed for that sprint. */ export type PlanmagnetCapacityGapSprint = { __typename?: 'PlanmagnetCapacityGapSprint'; demandPoints: Scalars['Int']['output']; forecastCapacityPoints: Scalars['Float']['output']; gapPoints: Scalars['Float']['output']; /** 1-indexed: the 1st, 2nd, ... sprint of the horizon from now. */ sprintNumber: Scalars['Int']['output']; }; /** Expense spend in the window per category, as a share of that currency's spend in the window. */ export type PlanmagnetCategorySpend = { __typename?: 'PlanmagnetCategorySpend'; amount: Scalars['String']['output']; /** Null for uncategorized expenses. */ category?: Maybe<Scalars['String']['output']>; currency: Scalars['String']['output']; expenseCount: Scalars['Int']['output']; /** Null when the currency's spend in the window is 0. */ share?: Maybe<Scalars['Float']['output']>; }; /** One day's cumulative-flow reading: item counts broken down by status. */ export type PlanmagnetCfdPoint = { __typename?: 'PlanmagnetCfdPoint'; date: Scalars['DateTime']['output']; statuses: Array<PlanmagnetCfdStatusCount>; }; /** Work item count for one status, on one day, in a CFD reading. */ export type PlanmagnetCfdStatusCount = { __typename?: 'PlanmagnetCfdStatusCount'; count: Scalars['Int']['output']; status: WorkItemStatus; }; /** AUT-12 — planmagnetRefreshSyncCodeLinks's result: a dedicated, on-demand code-link discovery pass. */ export type PlanmagnetCodeLinkRefreshResult = { __typename?: 'PlanmagnetCodeLinkRefreshResult'; durationMs: Scalars['Int']['output']; errors?: Maybe<Array<Scalars['String']['output']>>; linksUpserted: Scalars['Int']['output']; syncId: Scalars['ID']['output']; syncedAt: Scalars['DateTime']['output']; /** * Work items actually moved by ExternalSync.prMergedStatus during this pass (0 when it is unset, or every * candidate move was disallowed by the project's workflow) */ workItemsTransitioned: Scalars['Int']['output']; }; /** * A comment on a project or a doc (CWF-12), or a reply to one. Everything here means exactly what it means on * PlanmagnetWorkItemComment — see that type's doc comment. */ export type PlanmagnetComment = { __typename?: 'PlanmagnetComment'; /** * Files attached to this comment (CWF-12), oldest first. Bounded at the same per-comment cap the add mutations * enforce — not separately paginated. */ attachments: Array<PlanmagnetCommentAttachment>; /** Actor who posted the comment */ authorId: Scalars['String']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Set when the author changed the body after posting */ editedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** * Actor ids mentioned in the body via `@[Name](actorId)` (CWF-13). Recorded and returned here; notification * delivery is blocked on BOFF-7927, so nobody is paged/emailed/pushed for a mention yet. */ mentions: Array<Scalars['String']['output']>; /** The top-level comment this is a reply to; null for a top-level comment (CWF-02) */ parentId?: Maybe<Scalars['ID']['output']>; /** * Direct replies, oldest first, bounded rather than separately paginated (CWF-02) — a thread this deep is read in * full, not paged. */ replies: Array<PlanmagnetComment>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; /** Who last resolved it; set together with resolvedAt, cleared back to null on reopen */ resolvedBy?: Maybe<Scalars['String']['output']>; /** OPEN or RESOLVED (CWF-14) — only meaningful, and only settable, on a top-level comment */ status: PlanmagnetCommentStatus; targetId: Scalars['String']['output']; targetType: PlanmagnetCommentTargetType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** * A file reference attached to a project/doc comment (CWF-12) — same shape and validation contract as * PlanmagnetWorkItemCommentAttachment (see that type's doc comment in workitem.gql). */ export type PlanmagnetCommentAttachment = { __typename?: 'PlanmagnetCommentAttachment'; commentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; /** The platform files-module File this points at */ fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; /** Bytes, snapshotted at attach time */ size: Scalars['Int']['output']; }; export type PlanmagnetCommentList = { __typename?: 'PlanmagnetCommentList'; items: Array<PlanmagnetComment>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A comment's resolution state (CWF-14). Only a top-level comment carries a meaningful one — a reply's `status` * stays OPEN, and resolving/reopening a reply is refused (only its own top-level parent can be resolved). */ export declare enum PlanmagnetCommentStatus { Open = "OPEN", Resolved = "RESOLVED" } export declare enum PlanmagnetCommentTargetType { Doc = "DOC", Project = "PROJECT" } /** * With productId: the competitors linked to that product, and only that product's live features match. Without it: * every live competitor, matched by any live feature of the workspace. The free-form `features` JSON is never read. * As recorded now — not windowed. */ export type PlanmagnetCompetitiveAdvantage = { __typename?: 'PlanmagnetCompetitiveAdvantage'; /** Live competitors in scope (with or without capabilities). */ competitorCount: Scalars['Int']['output']; /** Competitors with at least one structured capability, by name. */ competitors: Array<PlanmagnetCompetitorParity>; notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** More than 200 competitors in scope: the first 200 by name are compared. */ truncated: Scalars['Boolean']['output']; }; /** * ANR-12: one structured capability of a competitor — the stored input of the competitive-parity analysis. Each entry * reads as exactly one of: the competitor has it and we match it (competitorHas, productFeatureId set), they have it and * we don't (competitorHas, no productFeatureId), or only we have it (productFeatureId set, not competitorHas). */ export type PlanmagnetCompetitorCapability = { __typename?: 'PlanmagnetCompetitorCapability'; /** Whether this competitor offers it */ competitorHas: Scalars['Boolean']['output']; /** What the capability is — unique per competitor, ignoring letter case and spacing */ name: Scalars['String']['output']; /** * Our matching product feature (a PlanmagnetProductFeature id), or null when we have nothing that matches. It was a * live feature of this workspace when written; one deleted since still shows its id here. */ productFeatureId?: Maybe<Scalars['String']['output']>; }; /** ANR-12: one structured capability, as written. Needs competitorHas, a productFeatureId, or both. */ export type PlanmagnetCompetitorCapabilityInput = { /** Whether this competitor offers it */ competitorHas: Scalars['Boolean']['input']; /** 1-200 characters; unique per competitor, ignoring letter case and spacing */ name: Scalars['String']['input']; /** * Our matching product feature: a live PlanmagnetProductFeature of this workspace. An archived feature can't be newly * linked (a link made before it was archived is kept when the list is saved again). Omit or null when nothing matches. */ productFeatureId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCompetitorFilter = { search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCompetitorList = { __typename?: 'PlanmagnetCompetitorList'; items: Array<Competitor>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Descriptive parity against one competitor's structured capabilities (Competitor.capabilities, PRM-31). A capability * is matched when the competitor has it and it is linked to one of our live product features. No composite score. */ export type PlanmagnetCompetitorParity = { __typename?: 'PlanmagnetCompetitorParity'; competitorId: Scalars['ID']['output']; competitorName: Scalars['String']['output']; /** Capabilities the competitor has that no live feature of ours matches. */ competitorOnlyGaps: Array<Scalars['String']['output']>; /** Capabilities linked to our live feature that the competitor does not have. */ differentiators: Array<Scalars['String']['output']>; /** Matched ÷ capabilities the competitor has. */ parity: PlanmagnetBusinessIntelligenceRatio; }; export type PlanmagnetCompleteSprintInput = { /** Defaults to KEEP_IN_SPRINT. */ openItems?: InputMaybe<PlanmagnetSprintOpenItemsAction>; /** Required with MOVE_TO_SPRINT; must not be the sprint being completed. */ targetSprintId?: InputMaybe<Scalars['ID']['input']>; }; export type PlanmagnetCostProjection = { __typename?: 'PlanmagnetCostProjection'; /** Live budgets in scope. */ budgetCount: Scalars['Int']['output']; /** * By currency, highest projected variance first (variances in different currencies are never compared); budgets * without a projection last. At most 1,000 — see truncated. */ budgets: Array<PlanmagnetBudgetRunRate>; /** Scope totals by currency, withheld when more than 1,000 budgets are in scope. */ byCurrency: Array<PlanmagnetCurrencyRunRate>; /** Expense categories use a separate exact database aggregate, even when the budget list is capped. */ categorySpend: Array<PlanmagnetCategorySpend>; notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** More than 1,000 budgets: the first 1,000 are listed, but run-rate totals are withheld (TRUNCATED). */ truncated: Scalars['Boolean']['output']; }; export type PlanmagnetCreateAutomationRuleInput = { actions: Scalars['JSON']['input']; conditions?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; projectId: Scalars['String']['input']; triggerConfig: Scalars['JSON']['input']; triggerType: PlanmagnetAutomationTriggerType; }; export type PlanmagnetCreateBoardColumnInput = { boardId: Scalars['String']['input']; mappedStatus?: InputMaybe<WorkItemStatus>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; sortOrder?: InputMaybe<Scalars['Int']['input']>; type: BoardColumnType; wipLimit?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetCreateBoardInput = { description?: InputMaybe<Scalars['String']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; projectId: Scalars['String']['input']; type: BoardType; /** Also create one column per status of the default workflow (Backlog, To Do, In Progress, In Review, Testing, Done), each mapped to its status */ withDefaultColumns?: InputMaybe<Scalars['Boolean']['input']>; }; export type PlanmagnetCreateBoardViewInput = { /** A board of the same project to open the view on */ boardId?: InputMaybe<Scalars['String']['input']>; config: PlanmagnetBoardViewConfigInput; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; projectId: Scalars['String']['input']; /** PRIVATE when omitted */ visibility?: InputMaybe<PlanmagnetBoardViewVisibility>; }; export type PlanmagnetCreateBudgetInput = { currency: Scalars['String']['input']; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; plannedAmount: Scalars['Float']['input']; projectId: Scalars['String']['input']; }; export type PlanmagnetCreateCompetitorInput = { /** ANR-12: the structured capability list (at most 100 entries) — see PlanmagnetCompetitorCapabilityInput. */ capabilities?: InputMaybe<Array<PlanmagnetCompetitorCapabilityInput>>; description?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; pricing?: InputMaybe<Scalars['JSON']['input']>; strengths?: InputMaybe<Array<Scalars['String']['input']>>; tags?: InputMaybe<Array<Scalars['String']['input']>>; weaknesses?: InputMaybe<Array<Scalars['String']['input']>>; website?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateCustomFieldDefinitionInput = { defaultValue?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; fieldType: CustomFieldType; isRequired?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; options?: InputMaybe<Scalars['JSON']['input']>; projectId: Scalars['String']['input']; sortOrder?: InputMaybe<Scalars['Int']['input']>; validationRules?: InputMaybe<Scalars['JSON']['input']>; }; /** * Shared rules (create and every import row): `score` on the metric type's scale (CSAT 1-5, NPS 0-10); `respondedAt` * not in the future (a date picked as today in any time zone is accepted) and not before 2000-01-01; at least one of * productId/releaseId/projectId, each a live row of this workspace (else NOT_FOUND); a release that belongs to a product * must belong to the given productId (else BAD_USER_INPUT); an anonymous response takes no respondent name or email * (else BAD_USER_INPUT). An archived product still takes responses. */ export type PlanmagnetCreateCustomerSatisfactionResponseInput = { /** At most 5000 characters. Blank is stored as null. */ comment?: InputMaybe<Scalars['String']['input']>; /** Optional (at most 200 characters). Another live MANUAL response with the same externalId is CONFLICT. */ externalId?: InputMaybe<Scalars['String']['input']>; /** Defaults to false. */ isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; metricType: PlanmagnetSatisfactionMetricType; productId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; releaseId?: InputMaybe<Scalars['ID']['input']>; respondedAt: Scalars['DateTime']['input']; /** At most 254 characters. */ respondentEmail?: InputMaybe<Scalars['String']['input']>; /** At most 200 characters. */ respondentName?: InputMaybe<Scalars['String']['input']>; score: Scalars['Int']['input']; }; export type PlanmagnetCreateDependencyInput = { description?: InputMaybe<Scalars['String']['input']>; lagMinutes?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; predecessorId: Scalars['String']['input']; successorId: Scalars['String']['input']; type: DependencyType; }; export type PlanmagnetCreateDocInput = { content: Scalars['String']['input']; status?: InputMaybe<DocStatus>; title: Scalars['String']['input']; }; export type PlanmagnetCreateExternalSyncInput = { conflictStrategy?: InputMaybe<PlanmagnetSyncConflictResolution>; /** * @deprecated(reason: "Provide integrationConnectionId instead — third-party credentials must live in * wspace-integrations-svc's credential vault, not in a PlanMagnet-local blob (BOFF-5258). When * integrationConnectionId is set, credential keys passed here are stripped before storage; only non-credential * planmagnet-domain fields (owner/repo for GitHub) are kept. Required for legacy syncs with no connection * reference until the backfill removes this path.") */ connectionConfig?: InputMaybe<Scalars['JSON']['input']>; direction: PlanmagnetSyncDirection; externalProjectId: Scalars['String']['input']; externalProjectUrl?: InputMaybe<Scalars['String']['input']>; fieldMapping?: InputMaybe<Scalars['JSON']['input']>; /** * Opaque reference to a wspace-integrations-svc IntegrationConnection (BOFF-5258). When set, the connection's * credential is resolved at sync time and credential keys in connectionConfig are stripped before storage. */ integrationConnectionId?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** AUT-12 — GITHUB only. See ExternalSync.prMergedStatus. */ prMergedStatus?: InputMaybe<WorkItemStatus>; projectId: Scalars['String']['input']; provider: PlanmagnetSyncProvider; syncFilters?: InputMaybe<Scalars['JSON']['input']>; /** * AUT-23/20 — probe the connection before writing anything; the create is refused with BAD_USER_INPUT when the * test fails. */ testConnection?: InputMaybe<Scalars['Boolean']['input']>; }; export type PlanmagnetCreateFeatureRequestInput = { businessValue?: InputMaybe<Scalars['Int']['input']>; /** CWF-15: freeform, e.g. "bug", "ui", "performance" */ category?: InputMaybe<Scalars['String']['input']>; /** PRM-26 RICE: 1-10 */ confidence?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; effortEstimate?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10 */ effortScore?: InputMaybe<Scalars['Int']['input']>; /** PRM-26 RICE: 1-10 */ impact?: InputMaybe<Scalars['Int']['input']>; /** CWF-15: hide the requester from non-moderator reads. Defaults to false. */ isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; /** PRM-27 */ kano?: InputMaybe<PlanmagnetKano>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** PRM-27 */ moscow?: InputMaybe<PlanmagnetMoscow>; productId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; /** CWF-15: 1-5 */ rating?: InputMaybe<Scalars['Int']['input']>; /** PRM-26 RICE: 1-10 */ reach?: InputMaybe<Scalars['Int']['input']>; /** A live initiative on a roadmap of this workspace — of the request's product, when both have one (PRM-24) */ roadmapItemId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<FeatureRequestStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; /** PRM-27: 1-10 */ valueScore?: InputMaybe<Scalars['Int']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateKeyResultInput = { currentValue?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; metricType?: InputMaybe<KeyResultMetricType>; objectiveId: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['String']['input']>; /** Default MANUAL. With LINKED_WORK_ITEMS a currentValue is refused — the server computes it */ progressSource?: InputMaybe<KeyResultProgressSource>; startValue?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<KeyResultStatus>; targetValue: Scalars['Float']['input']; title: Scalars['String']['input']; unit?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateMilestoneInput = { description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['String']['input']; sortOrder?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<MilestoneStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; }; export type PlanmagnetCreateObjectiveInput = { description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; periodLabel: Scalars['String']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<ObjectiveStatus>; title: Scalars['String']['input']; }; export type PlanmagnetCreatePortfolioInput = { alignment?: InputMaybe<StrategicAlignment>; alignmentLabel?: InputMaybe<Scalars['String']['input']>; budgetTotal?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; fiscalPeriod?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId: Scalars['String']['input']; status?: InputMaybe<PortfolioStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetCreateProductFeatureInput = { description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['String']['input']>; /** A live, non-archived product of this workspace. */ productId: Scalars['ID']['input']; /** Defaults to BACKLOG. */ status?: InputMaybe<PlanmagnetProductFeatureStatus>; }; export type PlanmagnetCreateProductInput = { /** PRM-02: at most 2000 characters */ businessModel?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; lifecycleStage?: InputMaybe<PlanmagnetProductLifecycleStage>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** PRM-02: at most 2000 characters */ mission?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; northStar?: InputMaybe<PlanmagnetProductNorthStarInput>; ownerId: Scalars['String']['input']; /** PRM-02: at most 20 entries, each at most 120 characters */ targetSegments?: InputMaybe<Array<Scalars['String']['input']>>; /** PRM-02: at most 2000 characters */ valueProposition?: InputMaybe<Scalars['String']['input']>; vision: Scalars['String']['input']; }; /** Text is trimmed. A new launch is PLANNING. */ export type PlanmagnetCreateProductLaunchInput = { /** Required, at most 200 characters. */ name: Scalars['String']['input']; /** A live, non-archived product of this workspace. */ productId: Scalars['ID']['input']; /** A live release of this workspace whose product is this one or none. */ releaseId?: InputMaybe<Scalars['ID']['input']>; /** A live roadmap item of a live roadmap in this workspace, attached to this Product or no Product. */ roadmapItemId?: InputMaybe<Scalars['ID']['input']>; /** At most 10000 characters. Blank is stored as null. */ strategySummary?: InputMaybe<Scalars['String']['input']>; /** At most 20. Defaults to none. */ successCriteria?: InputMaybe<Array<PlanmagnetProductLaunchSuccessCriterionInput>>; /** Between 2000-01-01 and 2100-12-31. */ targetLaunchDate: Scalars['DateTime']['input']; }; export type PlanmagnetCreateProductLineInput = { description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['String']['input']>; }; /** * Every field is required and checked exactly — nothing is filled in or rounded. Amounts are decimal strings of digits * with an optional decimal point (no sign, grouping separators or exponent): at most 20 digits before the point and 2 * after it, and 0 <= som <= sam <= tam. The currency is a three-letter ISO 4217 code (lowercase is accepted and stored * uppercase). The as-of date may not be in the future (a date picked as today in any time zone is accepted) or before * 2000-01-01. */ export type PlanmagnetCreateProductMarketSizingInput = { asOfDate: Scalars['DateTime']['input']; /** Never blank, at most 5000 characters. */ assumptions: Scalars['String']['input']; currency: Scalars['String']['input']; method: PlanmagnetProductMarketSizingMethod; /** A live, non-archived product of this workspace. */ productId: Scalars['ID']['input']; sam: Scalars['String']['input']; som: Scalars['String']['input']; /** 1 to 20 sources. */ sources: Array<PlanmagnetProductMarketSizingSourceInput>; tam: Scalars['String']['input']; }; /** Text is trimmed. Every list drops blank entries and keeps the order given. */ export type PlanmagnetCreateProductPersonaInput = { /** At most 20 entries of at most 500 characters each. Defaults to empty. */ goals?: InputMaybe<Array<Scalars['String']['input']>>; /** Required, at most 120 characters. */ name: Scalars['String']['input']; /** Same bounds as goals. */ needs?: InputMaybe<Array<Scalars['String']['input']>>; /** Same bounds as goals. */ painPoints?: InputMaybe<Array<Scalars['String']['input']>>; /** A live, non-archived product of this workspace. */ productId: Scalars['ID']['input']; /** At most 120 characters. Blank is stored as null. */ roleTitle?: InputMaybe<Scalars['String']['input']>; /** At most 120 characters. Blank is stored as null. */ segment?: InputMaybe<Scalars['String']['input']>; /** DRAFT (the default) or VALIDATED. ARCHIVED is refused — use planmagnetArchiveProductPersona. */ status?: InputMaybe<PlanmagnetProductPersonaStatus>; /** Required, at most 2000 characters. */ summary: Scalars['String']['input']; }; export type PlanmagnetCreateProgramInput = { budgetTotal?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId: Scalars['String']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetCreateProjectInput = { defaultAssigneeId?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; key: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; methodology?: InputMaybe<ProjectMethodology>; name: Scalars['String']['input']; ownerId: Scalars['String']['input']; /** Parent portfolio ID. Must exist in the same workspace and not be soft-deleted (BOFF-8047). */ portfolioId?: InputMaybe<Scalars['String']['input']>; programId?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; }; export type PlanmagnetCreateProjectTemplateInput = { boardConfig?: InputMaybe<Scalars['JSON']['input']>; category?: InputMaybe<Scalars['String']['input']>; configuration: Scalars['JSON']['input']; customFieldsConfig?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isPublished?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; sprintConfig?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetCreateQualityGateInput = { criteria: Scalars['JSON']['input']; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; milestoneId?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; phase?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['String']['input']; /** The release this gate holds (a release of the same project, or one with no projects) */ releaseId?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetCreateReleaseInput = { description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['String']['input']>; plannedDate?: InputMaybe<Scalars['DateTime']['input']>; productId?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['String']['input']; releaseNotes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ReleaseStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; version: Scalars['String']['input']; }; export type PlanmagnetCreateReportInput = { definition: PlanmagnetReportDefinitionInput; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; templateKey?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<PlanmagnetReportVisibility>; }; export type PlanmagnetCreateReportScheduleInput = { cadence: PlanmagnetReportScheduleCadence; dayOfMonth?: InputMaybe<Scalars['Int']['input']>; dayOfWeek?: InputMaybe<Scalars['Int']['input']>; format?: InputMaybe<PlanmagnetReportExportFormat>; hourUtc: Scalars['Int']['input']; recipientIds?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetCreateReportShareInput = { /** Required; at most 90 days out. */ expiresAt: Scalars['DateTime']['input']; /** Optional password gate, hashed (Bun.password, bcrypt) — never stored or returned in the clear. */ password?: InputMaybe<Scalars['String']['input']>; /** * Defaults to "Shared via PlanMagnet on <date>" if omitted — deliberately NOT the owner's name or actor id (no * display-name lookup exists in this service, and the public view below promises never to leak one). Set this * explicitly to put a real, human name on the watermark. */ watermark?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateRiskInput = { category?: InputMaybe<Scalars['String']['input']>; contingencyPlan?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; impact: Scalars['Int']['input']; likelihood: Scalars['Int']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; mitigationPlan?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['String']['input']; severity: RiskSeverity; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type PlanmagnetCreateRoadmapInput = { description?: InputMaybe<Scalars['String']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; ownerId: Scalars['String']['input']; planningFocus?: InputMaybe<RoadmapPlanningFocus>; productId?: InputMaybe<Scalars['String']['input']>; type: RoadmapType; }; export type PlanmagnetCreateRoadmapItemInput = { color?: InputMaybe<Scalars['String']['input']>; confidence?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10 */ effortScore?: InputMaybe<Scalars['Int']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; horizon?: InputMaybe<PlanmagnetRoadmapHorizon>; /** PRM-27 */ kano?: InputMaybe<PlanmagnetKano>; metadata?: InputMaybe<Scalars['JSON']['input']>; milestoneId?: InputMaybe<Scalars['String']['input']>; /** PRM-27 */ moscow?: InputMaybe<PlanmagnetMoscow>; projectId?: InputMaybe<Scalars['String']['input']>; riskLevel?: InputMaybe<PlanmagnetRoadmapRiskLevel>; riskNote?: InputMaybe<Scalars['String']['input']>; roadmapId: Scalars['String']['input']; sortOrder?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<RoadmapItemStatus>; swimlane?: InputMaybe<Scalars['String']['input']>; title: Scalars['String']['input']; /** PRM-27: 1-10 */ valueScore?: InputMaybe<Scalars['Int']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateSprintInput = { capacity?: InputMaybe<Scalars['Int']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; goal?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; /** * Exactly one of projectId/teamId is required (BOFF-8044) — enforced server-side * (sprint.errors.scopeConflict / sprint.errors.scopeRequired). */ projectId?: InputMaybe<Scalars['String']['input']>; /** * Accepted for API compatibility but not honored: sort position is always * the auto-assigned, per-project-unique `sequenceNumber` — see * sprint.service.ts. */ sortOrder?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; teamId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCreateTeamInput = { capacity?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; leadId?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; }; export type PlanmagnetCreateTimeEntryInput = { billingRate?: InputMaybe<Scalars['Float']['input']>; billingType?: InputMaybe<BillingType>; date: Scalars['DateTime']['input']; description?: InputMaybe<Scalars['String']['input']>; durationMinutes: Scalars['Int']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; projectId: Scalars['String']['input']; timesheetId?: InputMaybe<Scalars['String']['input']>; workItemId: Scalars['String']['input']; }; export type PlanmagnetCreateTimesheetInput = { metadata?: InputMaybe<Scalars['JSON']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; export type PlanmagnetCreateWebhookSubscriptionInput = { events: Array<PlanmagnetAutomationTriggerType>; /** * Must be an absolute https:// URL. Validated against an SSRF guard (private/loopback/link-local/metadata * address ranges refused, both at create time and again at every delivery attempt) — see * utils/outbound-http-guard.ts. */ url: Scalars['String']['input']; }; export type PlanmagnetCreateWorkItemInput = { assigneeId?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; estimateMinutes?: InputMaybe<Scalars['Int']['input']>; labels?: InputMaybe<Array<Scalars['String']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** A milestone of the same project (PDM-22) */ milestoneId?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<WorkItemPriority>; projectId: Scalars['String']['input']; reporterId?: InputMaybe<Scalars['String']['input']>; /** * Skills this item needs: normalized (trimmed, whitespace collapsed, case-insensitive duplicates dropped keeping the * first spelling); at most 20, each 1 to 64 characters. An empty or over-long skill is refused, not dropped */ requiredSkills?: InputMaybe<Array<Scalars['String']['input']>>; sortOrder?: InputMaybe<Scalars['Int']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; storyPoints?: InputMaybe<Scalars['Int']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; type: WorkItemType; }; export type PlanmagnetCreateWorkItemLinkInput = { deepLinkSnapshot?: InputMaybe<Scalars['String']['input']>; displayNameSnapshot?: InputMaybe<Scalars['String']['input']>; entityId: Scalars['String']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; relationType?: InputMaybe<WorkItemLinkRelation>; sourceProduct: Scalars['String']['input']; workItemId: Scalars['String']['input']; }; /** * Critical path through the dependency graph: the longest chain of * constrained work items, weighted by `lagDays`. Any delay on the nodes * returned in `path` pushes the project end date. */ export type PlanmagnetCriticalPath = { __typename?: 'PlanmagnetCriticalPath'; path: Array<PlanmagnetDependencyNode>; /** Per-node slack in days. Nodes on the critical path have slack 0. */ slack: Scalars['JSON']['output']; /** * Length of the critical chain in MINUTES — WORK PLUS LAG. * * This field has been wrong twice, in two different ways. As `totalLagDays` it * summed lag expressed in days; the column rename made it minutes without * renaming the field, so a two-day lag read as 2880 "days". And summing lag at * all was the deeper error: A(5d) → B(3d) with FINISH_TO_START and no lag is an * eight-day chain, and a lag-only total reports ZERO. It now measures what the * name says. No consumer in the repo, MFE, SDK or CLI selects it. */ totalDurationMinutes: Scalars['Int']['output']; }; /** CSAT over a scope and window. `score` is exact (no server-side rounding). */ export type PlanmagnetCsatScore = { __typename?: 'PlanmagnetCsatScore'; /** 5: fewer responses than this give no score. */ minimumResponses: Scalars['Int']['output']; /** True when responseCount < minimumResponses (score is then null). */ notEnoughResponses: Scalars['Boolean']['output']; /** CSAT responses counted. */ responseCount: Scalars['Int']['output']; /** Of those, the 4s and 5s. */ satisfiedCount: Scalars['Int']['output']; /** satisfiedCount * 100 / responseCount, 0-100. Null when responseCount < minimumResponses — never 0. */ score?: Maybe<Scalars['Float']['output']>; }; /** Cumulative flow diagram data for a project over a date range. */ export type PlanmagnetCumulativeFlow = { __typename?: 'PlanmagnetCumulativeFlow'; endDate: Scalars['DateTime']['output']; points: Array<PlanmagnetCfdPoint>; projectId: Scalars['ID']['output']; startDate: Scalars['DateTime']['output']; }; /** * Scope ROI in one currency: realized benefits are summed and costs are summed FIRST, then divided — ROIs are never * averaged. Only projects with both a benefit and a cost in this currency count. */ export type PlanmagnetCurrencyRoi = { __typename?: 'PlanmagnetCurrencyRoi'; actualSpend: Scalars['String']['output']; currency: Scalars['String']['output']; projectCount: Scalars['Int']['output']; realizedBenefit: Scalars['String']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** Null when actualSpend is 0 (reason ZERO_COST). */ roi?: Maybe<Scalars['Float']['output']>; }; /** Totals over the budgets of one currency that have a projection. */ export type PlanmagnetCurrencyRunRate = { __typename?: 'PlanmagnetCurrencyRunRate'; budgetCount: Scalars['Int']['output']; currency: Scalars['String']['output']; planned: Scalars['String']['output']; projectedSpend: Scalars['String']['output']; projectedVariance: Scalars['String']['output']; }; export type PlanmagnetCustomFieldDefinitionFilter = { fieldType?: InputMaybe<CustomFieldType>; isRequired?: InputMaybe<Scalars['Boolean']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCustomFieldDefinitionList = { __typename?: 'PlanmagnetCustomFieldDefinitionList'; items: Array<CustomFieldDefinition>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetCustomFieldValueFilter = { definitionId?: InputMaybe<Scalars['String']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetCustomFieldValueList = { __typename?: 'PlanmagnetCustomFieldValueList'; items: Array<CustomFieldValue>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Customer satisfaction for one scope and window — CSAT and NPS side by side, each with its own response count and its * own minimum. The scope fields echo the filter (null = not filtered on). */ export type PlanmagnetCustomerSatisfaction = { __typename?: 'PlanmagnetCustomerSatisfaction'; /** The default delivery KPI. */ csat: PlanmagnetCsatScore; nps: PlanmagnetNpsScore; productId?: Maybe<Scalars['ID']['output']>; projectId?: Maybe<Scalars['ID']['output']>; releaseId?: Maybe<Scalars['ID']['output']>; window: PlanmagnetSatisfactionWindow; workspaceId: Scalars['ID']['output']; }; /** * Which responses a figure (or a list) covers. Filters combine (AND). `productId` matches responses linked to that * product, and responses linked to one of its releases that name no product of their own (read through the release at * query time). `releaseId` and `projectId` match that link only. */ export type PlanmagnetCustomerSatisfactionFilter = { productId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; releaseId?: InputMaybe<Scalars['ID']['input']>; /** Defaults to the trailing 90 days. */ window?: InputMaybe<PlanmagnetSatisfactionWindowInput>; }; export type PlanmagnetCustomerSatisfactionImportResult = { __typename?: 'PlanmagnetCustomerSatisfactionImportResult'; /** Responses written by this call. */ createdCount: Scalars['Int']['output']; /** * Rows whose externalId this workspace had already imported — including a response deleted since, which stays * deleted. Skipped: never updated, never duplicated. */ skippedCount: Scalars['Int']['output']; /** The skipped rows' externalIds, in row order. */ skippedExternalIds: Array<Scalars['String']['output']>; }; /** * One row of an import — the create rules, plus a required externalId (the key that makes re-importing the same file a * no-op). */ export type PlanmagnetCustomerSatisfactionImportRow = { comment?: InputMaybe<Scalars['String']['input']>; /** 1-200 characters, unique within the import. */ externalId: Scalars['String']['input']; isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; metricType: PlanmagnetSatisfactionMetricType; productId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; releaseId?: InputMaybe<Scalars['ID']['input']>; respondedAt: Scalars['DateTime']['input']; respondentEmail?: InputMaybe<Scalars['String']['input']>; respondentName?: InputMaybe<Scalars['String']['input']>; score: Scalars['Int']['input']; }; /** * One customer's answer. Links to a product, a release and/or a project — at least one. Deleting (soft) a linked * product, release or project leaves the response in place: it is the customer's answer, and the link reads as null. */ export type PlanmagnetCustomerSatisfactionResponse = { __typename?: 'PlanmagnetCustomerSatisfactionResponse'; /** Plain text, at most 5000 characters. Never rendered as HTML server-side. */ comment?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; /** The answer's id in the system it came from. Unique per workspace and source among live responses. */ externalId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** When true, no respondent identity is stored — respondentName and respondentEmail are always null. */ isAnonymous: Scalars['Boolean']['output']; metricType: PlanmagnetSatisfactionMetricType; /** Null if there is no product link, or that product has since been deleted. */ product?: Maybe<Product>; productId?: Maybe<Scalars['String']['output']>; /** Null if there is no project link, or that project has since been deleted. */ project?: Maybe<PlanmagnetProject>; projectId?: Maybe<Scalars['String']['output']>; /** Null if there is no release link, or that release has since been deleted. */ release?: Maybe<Release>; releaseId?: Maybe<Scalars['String']['output']>; /** When the customer answered — what every window filters on. */ respondedAt: Scalars['DateTime']['output']; /** The respondent's email as recorded, or null. Never set on an anonymous response. */ respondentEmail?: Maybe<Scalars['String']['output']>; /** The respondent's name as recorded, or null. Never set on an anonymous response. */ respondentName?: Maybe<Scalars['String']['output']>; /** CSAT 1-5, NPS 0-10. */ score: Scalars['Int']['output']; source: PlanmagnetSatisfactionResponseSource; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetCustomerSatisfactionResponseFilter = { metricType?: InputMaybe<PlanmagnetSatisfactionMetricType>; /** Same product rule as PlanmagnetCustomerSatisfactionFilter.productId. */ productId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; releaseId?: InputMaybe<Scalars['ID']['input']>; source?: InputMaybe<PlanmagnetSatisfactionResponseSource>; /** Omitted: every response, whenever it was given. */ window?: InputMaybe<PlanmagnetSatisfactionWindowInput>; }; export type PlanmagnetCustomerSatisfactionResponseList = { __typename?: 'PlanmagnetCustomerSatisfactionResponseList'; items: Array<PlanmagnetCustomerSatisfactionResponse>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Cycle-time distribution for a project over a date range. Only work items * with a recorded transition INTO DONE within the range are counted — an item * that already sat at DONE before status-transition recording began * contributes no sample (see analytics.service.ts). */ export type PlanmagnetCycleTime = { __typename?: 'PlanmagnetCycleTime'; averageCycleTimeHours?: Maybe<Scalars['Float']['output']>; items: Array<PlanmagnetCycleTimeItem>; medianCycleTimeHours?: Maybe<Scalars['Float']['output']>; projectId: Scalars['ID']['output']; sampleSize: Scalars['Int']['output']; }; /** Cycle time for a single work item that reached DONE in the queried range. */ export type PlanmagnetCycleTimeItem = { __typename?: 'PlanmagnetCycleTimeItem'; /** Hours from first IN_PROGRESS transition (or creation) to DONE. */ cycleTimeHours: Scalars['Float']['output']; key: Scalars['String']['output']; title: Scalars['String']['output']; workItemId: Scalars['ID']['output']; }; export type PlanmagnetDecideRoadmapReviewInput = { decision: PlanmagnetRoadmapReviewDecisionKind; note?: InputMaybe<Scalars['String']['input']>; }; /** A statistical delivery forecast (ANR-02). NEVER an AI/LLM call — see `method` and `confidenceNote`. */ export type PlanmagnetDeliveryForecast = { __typename?: 'PlanmagnetDeliveryForecast'; /** Always set — explains the method, the trial count and the sample size in plain language. */ confidenceNote: Scalars['String']['output']; /** Null when insufficientHistory is true. */ dates?: Maybe<PlanmagnetForecastDates>; /** The trailing completed sprints the simulation resampled velocity from, oldest first. */ inputRefs: Array<PlanmagnetForecastInputRef>; /** * True when there are fewer than 3 completed sprints with a non-zero velocity to resample from * (workspace-wide floor used by every forecast in this service). When true, sprintsNeeded and dates are * null — this never fabricates a forecast date from a sample it does not trust. */ insufficientHistory: Scalars['Boolean']['output']; method: PlanmagnetForecastMethod; /** Human-readable reason, set only when insufficientHistory is true. */ reason?: Maybe<Scalars['String']['output']>; /** The remaining scope this forecast is for, in story points. */ remainingPoints: Scalars['Int']['output']; /** * True when the resolved sprintId/default (project-wide) scope hit its safety-cap row limit: this * scan stopped early, so remainingPoints and unestimatedItems reflect only the first items found, not * every open item in scope. Always false for an explicit scope.remainingPoints or scope.workItemIds * (bounded by the caller's own list, never this cap). */ scopeTruncated: Scalars['Boolean']['output']; /** Null when insufficientHistory is true. */ sprintsNeeded?: Maybe<PlanmagnetForecastSprintsNeeded>; /** * Open items within the resolved scope that have no story-point estimate — counted here, not silently * dropped from remainingPoints (they simply contribute 0 points to it). Always 0 when * scope.remainingPoints was given directly (there is no item set to count). */ unestimatedItems: Scalars['Int']['output']; }; /** * On-time delivery and scope-adherence KPIs across sprints, releases and milestones COMPLETED within a date * range (default: the trailing 30 days), for a workspace or one project (ANR-21), plus customer satisfaction * (CSAT, the default delivery KPI, and NPS) from recorded customer responses — see `customerSatisfaction`. */ export type PlanmagnetDeliveryKpis = { __typename?: 'PlanmagnetDeliveryKpis'; /** * ANR-21: CSAT (the default delivery KPI) and NPS from customer-satisfaction responses about this scope — the * workspace, or responses linked to `projectId` — exactly as planmagnetCustomerSatisfaction computes them (a * score needs at least 5 responses per metric; below that it is null, never 0). Its window: when this query was * given startDate and/or endDate, the same UTC days as every other KPI here (startDate..endDate); when it was * given neither, the satisfaction default — the trailing 90 days — not this query's 30-day default. * `customerSatisfaction.window` always states which. Computed only when selected. */ customerSatisfaction: PlanmagnetCustomerSatisfaction; endDate: Scalars['DateTime']['output']; /** Milestones (status COMPLETED) whose completedDate fell in range. */ milestoneCount: Scalars['Int']['output']; /** milestonesOnTime / (milestoneCount - milestonesWithoutDueDate). Null when that denominator is 0. */ milestoneOnTimeRate?: Maybe<Scalars['Float']['output']>; /** Of those, completedDate's UTC calendar day was on or before dueDate's. */ milestonesOnTime: Scalars['Int']['output']; /** Of those, dueDate was never set. */ milestonesWithoutDueDate: Scalars['Int']['output']; projectId?: Maybe<Scalars['ID']['output']>; /** Releases (status RELEASED) whose actualDate fell in range. */ releaseCount: Scalars['Int']['output']; /** releasesOnTime / (releaseCount - releasesWithoutPlannedDate). Null when that denominator is 0. */ releaseOnTimeRate?: Maybe<Scalars['Float']['output']>; /** Of those, actualDate's UTC calendar day was on or before plannedDate's. */ releasesOnTime: Scalars['Int']['output']; /** Of those, plannedDate was never set. */ releasesWithoutPlannedDate: Scalars['Int']['output']; /** Committed vs delivered points, over the same completed sprints that had a committed plan. */ scopeAdherence: PlanmagnetScopeAdherence; /** Sprints (status COMPLETED) whose completedAt fell in range. */ sprintCount: Scalars['Int']['output']; /** sprintsOnTime / (sprintCount - sprintsWithoutPlan). Null when that denominator is 0. */ sprintOnTimeRate?: Maybe<Scalars['Float']['output']>; /** Of those, completedAt was on or before the end of the UTC day of baselineEndDate (falling back to endDate). */ sprintsOnTime: Scalars['Int']['output']; /** Of those, neither baselineEndDate nor endDate was ever set to measure against — counted here, never as late. */ sprintsWithoutPlan: Scalars['Int']['output']; startDate: Scalars['DateTime']['output']; }; /** * One ISO week of the caller's own delivery (ANR-08): work items assigned to them whose transition INTO DONE * fell in that week. `weekStart` is the Monday (UTC) that starts the week. * * Assignment is read as it stands NOW: WorkItemStatusTransition does not snapshot the assignee at transition * time (only status/project/sprint/points), so an item reassigned away from the caller after being completed * no longer counts here, and one reassigned TO the caller after completion does. Same class of documented * limitation as AnalyticsService's "current sprint/project membership, not historical membership". */ export type PlanmagnetDeliveryWeek = { __typename?: 'PlanmagnetDeliveryWeek'; itemsCompleted: Scalars['Int']['output']; pointsCompleted: Scalars['Int']['output']; weekStart: Scalars['DateTime']['output']; }; /** * A single chain of dependencies rooted at a starting work item. The chain * is built by following outgoing `BLOCKS` / `BLOCKED_BY` edges until the * graph ends (or a cycle is reached). */ export type PlanmagnetDependencyChain = { __typename?: 'PlanmagnetDependencyChain'; chain: Array<PlanmagnetDependencyNode>; depth: Scalars['Int']['output']; workItemId: Scalars['ID']['output']; }; /** * A detected cycle in the dependency graph. Each cycle is the list of * work-item ids in traversal order. */ export type PlanmagnetDependencyCycle = { __typename?: 'PlanmagnetDependencyCycle'; length: Scalars['Int']['output']; workItemIds: Array<Scalars['ID']['output']>; }; export type PlanmagnetDependencyFilter = { predecessorId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<DependencyStatus>; successorId?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<DependencyType>; }; /** * A node participating in a dependency chain / critical path. Holds the * resolved work-item title and key so the client can render the chain * without a follow-up N+1 query. */ export type PlanmagnetDependencyNode = { __typename?: 'PlanmagnetDependencyNode'; id: Scalars['ID']['output']; key?: Maybe<Scalars['String']['output']>; title?: Maybe<Scalars['String']['output']>; }; /** * A workspace-scoped, versioned markdown doc. `title`/`content`/`version` * always reflect the latest revision — use `revisions` for full history. */ export type PlanmagnetDoc = { __typename?: 'PlanmagnetDoc'; /** * GAP-07: the currently-approved revision (the spec-of-record), or null when none has ever been approved. Set * only by `planmagnetApproveDocRevision`; a later edit does NOT move it — it keeps pointing at the approved * revision while `title`/`content`/`version` above move on to a new, unapproved one. */ approvedRevision?: Maybe<PlanmagnetDocRevision>; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; /** Work items this doc is currently linked to. */ linkedWorkItems: Array<WorkItem>; /** * The checkout lock currently held on this doc (CWF-18 §1), or null when it is free — never acquired, released, * or expired (an expired row is treated as free everywhere, never returned here). */ lock?: Maybe<PlanmagnetDocLock>; onBehalfOf?: Maybe<Scalars['String']['output']>; /** * Full version history, including the current version, oldest first. `approvedOnly: true` returns only the * revisions that have been approved (GAP-07) — see `approvedRevision` for just the current one. */ revisions: Array<PlanmagnetDocRevision>; status: DocStatus; /** Proposed edits against this doc (CWF-18 §2), newest first. */ suggestions: PlanmagnetDocSuggestionList; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; version: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; /** * A workspace-scoped, versioned markdown doc. `title`/`content`/`version` * always reflect the latest revision — use `revisions` for full history. */ export type PlanmagnetDocRevisionsArgs = { approvedOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * A workspace-scoped, versioned markdown doc. `title`/`content`/`version` * always reflect the latest revision — use `revisions` for full history. */ export type PlanmagnetDocSuggestionsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; status?: InputMaybe<PlanmagnetDocSuggestionStatus>; }; export type PlanmagnetDocDiffHunk = { __typename?: 'PlanmagnetDocDiffHunk'; kind: PlanmagnetDocDiffHunkKind; text: Scalars['String']['output']; }; /** * One line of a `PlanmagnetDocRevisionDiff`. ADDED/REMOVED lines belong to only one side (`toVersion`/ * `fromVersion` respectively); UNCHANGED lines are shown for context on both. */ export declare enum PlanmagnetDocDiffHunkKind { Added = "ADDED", Removed = "REMOVED", Unchanged = "UNCHANGED" } /** * A thin, workspace-scoped real-time notification that a doc changed (CWF-18) — NEVER the record itself. A * subscriber re-reads `planmagnetDoc(id)` under its own permissions instead of trusting this payload. */ export type PlanmagnetDocEvent = { __typename?: 'PlanmagnetDocEvent'; /** Who made the change — the editor for UPDATED, the (un)locking actor for LOCKED/UNLOCKED */ actorId: Scalars['String']['output']; at: Scalars['DateTime']['output']; /** Names of the fields that changed (UPDATED only); empty for LOCKED/UNLOCKED */ changedFields: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: PlanmagnetDocEventKind; workspaceId: Scalars['ID']['output']; }; /** * What kind of change a real-time doc event represents. UPDATED covers a content/title/status change (from either * `planmagnetUpdateDoc` or an accepted suggestion) — see `changedFields`; LOCKED/UNLOCKED carry no fields (the * lock itself is the whole change). */ export declare enum PlanmagnetDocEventKind { Locked = "LOCKED", Unlocked = "UNLOCKED", Updated = "UPDATED" } export type PlanmagnetDocFilter = { search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<DocStatus>; }; export type PlanmagnetDocList = { __typename?: 'PlanmagnetDocList'; items: Array<PlanmagnetDoc>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Who currently holds the checkout lock on a doc (CWF-18 §1), and until when. See `Doc.lock` — null there means * no unexpired lock exists (never acquired, released, or expired). */ export type PlanmagnetDocLock = { __typename?: 'PlanmagnetDocLock'; acquiredAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; holderId: Scalars['String']['output']; }; /** An immutable snapshot of a PlanmagnetDoc at a given version. */ export type PlanmagnetDocRevision = { __typename?: 'PlanmagnetDocRevision'; /** GAP-07: when this revision was approved. Null until approved; immutable afterwards. See `approvedBy`. */ approvedAt?: Maybe<Scalars['DateTime']['output']>; /** * GAP-07: who approved this revision as the spec-of-record. Null until `planmagnetApproveDocRevision` is called; * immutable afterwards in the sense that a later DOC EDIT never clears it (it creates a new, unapproved * revision instead) — but calling `planmagnetApproveDocRevision` again on this SAME revision re-stamps this to * the new caller, overwriting whoever approved it first. That overwrite is a deliberate product choice * (approving is idempotent, not a one-way state transition — see that mutation's own doc comment), not a bug; * nothing here preserves the original approver once a second approval has landed. */ approvedBy?: Maybe<Scalars['String']['output']>; changeNote?: Maybe<Scalars['String']['output']>; content: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; docId: Scalars['String']['output']; id: Scalars['ID']['output']; title: Scalars['String']['output']; version: Scalars['Int']['output']; }; /** A line-based diff between two revisions of a doc (CWF-18 §3), computed server-side with a bounded algorithm. */ export type PlanmagnetDocRevisionDiff = { __typename?: 'PlanmagnetDocRevisionDiff'; docId: Scalars['ID']['output']; fromVersion: Scalars['Int']['output']; hunks: Array<PlanmagnetDocDiffHunk>; /** The version actually compared against — the doc's current version when the caller omitted `toVersion` */ toVersion: Scalars['Int']['output']; /** * True when either revision's line count exceeded the diff's line cap — the hunks above still form a valid * PREFIX of the real diff, just not the whole thing. */ truncated: Scalars['Boolean']['output']; }; /** * A proposed edit to a doc that has not (yet, or ever) been applied (CWF-18 §2). Accepting one applies * `proposedTitle`/`proposedContent` through the SAME write path as an ordinary edit — a new PlanmagnetDocRevision * and version bump — so accepted history is indistinguishable from a direct edit except for this row's own record * of who proposed it and who decided it. */ export type PlanmagnetDocSuggestion = { __typename?: 'PlanmagnetDocSuggestion'; authorId: Scalars['String']['output']; /** The doc version this was proposed against — accepting is refused CONFLICT if the doc has moved on since. */ baseVersion: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; /** Who accepted or rejected it; null while OPEN or if withdrawn */ decidedBy?: Maybe<Scalars['String']['output']>; docId: Scalars['String']['output']; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; proposedContent: Scalars['String']['output']; /** Null means the suggestion proposes no title change */ proposedTitle?: Maybe<Scalars['String']['output']>; status: PlanmagnetDocSuggestionStatus; workspaceId: Scalars['String']['output']; }; export type PlanmagnetDocSuggestionList = { __typename?: 'PlanmagnetDocSuggestionList'; /** Newest first */ items: Array<PlanmagnetDocSuggestion>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A suggestion's lifecycle (CWF-18 §2). OPEN is the only state a decision or a withdrawal can act on; the other * three are terminal. */ export declare enum PlanmagnetDocSuggestionStatus { Accepted = "ACCEPTED", Open = "OPEN", Rejected = "REJECTED", Withdrawn = "WITHDRAWN" } /** * Which due-date bucket a work item falls into, server-computed (see utils/my-work.ts) so the "My * Work" grouping can never disagree between two clients or two requests. */ export declare enum PlanmagnetDueGroup { DueLater = "DUE_LATER", DueThisWeek = "DUE_THIS_WEEK", DueToday = "DUE_TODAY", NoDueDate = "NO_DUE_DATE", Overdue = "OVERDUE" } /** * One epic's rollup within a project's work breakdown: DIRECT children only (live items whose `parentId` is this * epic's id). This model has no materialized ancestor path (no closure table, no rollup column), so a sub-task * nested under a story under this epic is NOT walked up through the story and is not counted here — it falls into * `PlanmagnetProjectWorkBreakdown.noEpic` instead, same as an item with no parent at all. Walking the full chain * would need a recursive query per project; deferred rather than silently approximated without saying so. */ export type PlanmagnetEpicWorkBreakdown = { __typename?: 'PlanmagnetEpicWorkBreakdown'; doneCount: Scalars['Int']['output']; donePoints: Scalars['Int']['output']; epicId: Scalars['ID']['output']; epicTitle: Scalars['String']['output']; openCount: Scalars['Int']['output']; openPoints: Scalars['Int']['output']; }; export type PlanmagnetEraseResult = { __typename?: 'PlanmagnetEraseResult'; /** Id columns replaced by a one-way tombstone or cleared (authorship, ownership, history, assignments) */ anonymised: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; notes?: Maybe<Scalars['String']['output']>; /** Rows deleted (the person's own: votes, editor seats, time nobody signed off) */ purged: Scalars['Int']['output']; retainedForLegalReason?: Maybe<Scalars['String']['output']>; service: Scalars['String']['output']; }; export type PlanmagnetExportToExternalInput = { exportAll?: InputMaybe<Scalars['Boolean']['input']>; internalIds?: InputMaybe<Array<Scalars['String']['input']>>; syncId: Scalars['String']['input']; }; export type PlanmagnetExternalMappingFilter = { externalId?: InputMaybe<Scalars['String']['input']>; externalType?: InputMaybe<Scalars['String']['input']>; internalId?: InputMaybe<Scalars['String']['input']>; internalType?: InputMaybe<Scalars['String']['input']>; syncId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetExternalMappingList = { __typename?: 'PlanmagnetExternalMappingList'; items: Array<ExternalMapping>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetExternalSyncFilter = { direction?: InputMaybe<PlanmagnetSyncDirection>; projectId?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<PlanmagnetSyncProvider>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetSyncStatus>; }; export type PlanmagnetExternalSyncList = { __typename?: 'PlanmagnetExternalSyncList'; items: Array<ExternalSync>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** Feature-request demand behind a roadmap initiative (PRM-24). */ export type PlanmagnetFeatureDemand = { __typename?: 'PlanmagnetFeatureDemand'; /** Live feature requests linked to the initiative (duplicates excluded) */ requests: Scalars['Int']['output']; /** Votes cast on those requests */ votes: Scalars['Int']['output']; }; /** Feature request list order */ export declare enum PlanmagnetFeatureOrder { /** Most votes first */ MostVoted = "MOST_VOTED", /** Newest first (the default) */ Newest = "NEWEST" } export type PlanmagnetFeatureRequestFilter = { /** CWF-15: exact match on the freeform category */ category?: InputMaybe<Scalars['String']['input']>; /** PRM-27 */ kano?: InputMaybe<PlanmagnetKano>; /** PRM-27 */ moscow?: InputMaybe<PlanmagnetMoscow>; productId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; /** PRM-27: matches PlanmagnetValueEffortQuadrant's boundaries, computed from valueScore/effortScore */ quadrant?: InputMaybe<PlanmagnetValueEffortQuadrant>; /** Only the requests linked to this roadmap initiative (PRM-24) */ roadmapItemId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; /** true: SUBMITTED and snoozed into the future. false: not currently snoozed */ snoozed?: InputMaybe<Scalars['Boolean']['input']>; status?: InputMaybe<FeatureRequestStatus>; submittedBy?: InputMaybe<Scalars['String']['input']>; /** true: the triage queue — SUBMITTED and not snoozed (or its snooze has passed). false: everything else */ triage?: InputMaybe<Scalars['Boolean']['input']>; }; export type PlanmagnetFeatureRequestList = { __typename?: 'PlanmagnetFeatureRequestList'; items: Array<FeatureRequest>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetForecastDates = { __typename?: 'PlanmagnetForecastDates'; /** End of the Nth future sprint (N = sprintsNeeded.p50) from the current/last sprint cadence — see PlanmagnetDeliveryForecast.confidenceNote. */ p50: Scalars['DateTime']['output']; p85: Scalars['DateTime']['output']; p95: Scalars['DateTime']['output']; }; /** One trailing completed sprint the simulation resampled velocity from. */ export type PlanmagnetForecastInputRef = { __typename?: 'PlanmagnetForecastInputRef'; completedPoints: Scalars['Int']['output']; endDate?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; sprintId: Scalars['ID']['output']; }; export declare enum PlanmagnetForecastMethod { /** Monte Carlo simulation resampling the trailing completed sprints' real velocities. */ MonteCarloVelocity = "MONTE_CARLO_VELOCITY" } /** * What to forecast delivery of, and what velocity history to resample from. Every field is optional. * * Precedence when more than one of remainingPoints/workItemIds/sprintId is set: remainingPoints (an * explicit override) wins outright; otherwise workItemIds wins over sprintId. With none set, the scope * defaults to the project's own open, estimated work items. * * teamId does NOT change what work is being forecast (still this project's scope) — it changes which * VELOCITY SAMPLES the simulation resamples from: the given team's trailing completed sprints * (whole-sprint throughput) instead of the project's own sprints. Use it when this project's work is * actually delivered through a team sprint cadence (BOFF-8044) rather than sprints of its own. */ export type PlanmagnetForecastScopeInput = { /** Override the remaining points outright. Skips every resolution rule below; unestimatedItems reads 0. */ remainingPoints?: InputMaybe<Scalars['Int']['input']>; /** Forecast the OPEN (not DONE/CANCELLED) items of this one sprint of the project. */ sprintId?: InputMaybe<Scalars['ID']['input']>; /** Resample velocity from this team's trailing completed sprints instead of the project's own. Must be a live team of the workspace. */ teamId?: InputMaybe<Scalars['ID']['input']>; /** Forecast exactly these work items — each must be a live item of this project. */ workItemIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; export type PlanmagnetForecastSprintsNeeded = { __typename?: 'PlanmagnetForecastSprintsNeeded'; p50: Scalars['Int']['output']; p85: Scalars['Int']['output']; p95: Scalars['Int']['output']; }; export type PlanmagnetGatePhaseFailure = { __typename?: 'PlanmagnetGatePhaseFailure'; /** FAILED ÷ gates reviewed in the window. */ failureRate: PlanmagnetBusinessIntelligenceRatio; /** Null for gates without a phase. */ phase?: Maybe<Scalars['String']['output']>; }; /** * Result of `planmagnetGenerateReleaseNotes`: the generated markdown, the * counts the UI needs to render a "X features / Y bug fixes" summary, and the * release row in its post-update state (or pre-update state when `persist` * was false). */ export type PlanmagnetGenerateReleaseNotesPayload = { __typename?: 'PlanmagnetGenerateReleaseNotesPayload'; counts: PlanmagnetReleaseNotesCounts; markdown: Scalars['String']['output']; release: Release; }; export type PlanmagnetImportCustomerSatisfactionResponsesInput = { /** 1 to 500 rows, parsed from a CSV by the client. */ rows: Array<PlanmagnetCustomerSatisfactionImportRow>; }; /** * Import issues exported from an external tool (e.g. Linear) as WorkItems. * The caller supplies the exported payload directly (no external API credentials). */ export type PlanmagnetImportExternalIssuesInput = { /** The exported file contents (CSV text or JSON). */ data: Scalars['String']['input']; /** Preview only: report what WOULD be imported and what would be lost, and write nothing (not even the sync). */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** * Explicit field mapping, our field -> their column, e.g. { "title": "Summary", "status": "State" }. Fields: * externalId, title, description, status, priority, labels, assigneeEmail, dueDate, externalUrl. Outranks the * sync's stored mapping, which outranks the built-in column aliases. */ fieldMapping?: InputMaybe<Scalars['JSON']['input']>; /** Format of the exported payload. */ format: PlanmagnetImportFormat; /** Target PlanMagnet project the imported WorkItems are created in. */ projectId: Scalars['String']['input']; /** Source tool the export came from (e.g. LINEAR). */ provider: PlanmagnetSyncProvider; /** Optional existing ExternalSync to attach to; auto-created per project if omitted. */ syncId?: InputMaybe<Scalars['String']['input']>; }; export declare enum PlanmagnetImportFormat { Csv = "CSV", Json = "JSON" } export type PlanmagnetImportFromExternalInput = { externalIds?: InputMaybe<Array<Scalars['String']['input']>>; importAll?: InputMaybe<Scalars['Boolean']['input']>; syncId: Scalars['String']['input']; }; /** One issue of an import, with what could not be carried over from it */ export type PlanmagnetImportIssueReport = { __typename?: 'PlanmagnetImportIssueReport'; externalId: Scalars['String']['output']; /** Link back to the issue in the source tool */ externalUrl?: Maybe<Scalars['String']['output']>; /** What was lost or changed on the way (unmapped state or priority, unmatched assignee, bad due date) */ notes: Array<Scalars['String']['output']>; outcome: PlanmagnetImportOutcome; title: Scalars['String']['output']; /** The work item it became (or already is) */ workItemId?: Maybe<Scalars['String']['output']>; }; /** What happened to one issue of an import */ export declare enum PlanmagnetImportOutcome { /** Imported by an earlier run; this run left it alone (reruns are duplicate-safe) */ AlreadyImported = "ALREADY_IMPORTED", /** Could not be created (see the run's errors) */ Failed = "FAILED", /** Created as a work item */ Imported = "IMPORTED", /** Preview: would be created */ WouldImport = "WOULD_IMPORT" } /** Summary of an external-issue import run. */ export type PlanmagnetImportResult = { __typename?: 'PlanmagnetImportResult'; /** True when this was a preview and nothing was written */ dryRun: Scalars['Boolean']['output']; errors: Array<Scalars['String']['output']>; failed: Scalars['Int']['output']; imported: Scalars['Int']['output']; /** Every issue in the export, in order, with its outcome and notes */ issues: Array<PlanmagnetImportIssueReport>; /** * The discrepancy report: each kind of loss, counted (unmapped states, unmatched assignees, rejected rows, columns * nothing reads) */ notCarriedOver: Array<Scalars['String']['output']>; skipped: Scalars['Int']['output']; workItemIds: Array<Scalars['String']['output']>; }; /** * A candidate initiative for planmagnetSuggestInitiativeLinks (BOFF-3893). Deterministic, explainable * suggestions only — the query never links anything; a human confirms via the existing * planmagnetUpdateFeatureRequest(roadmapItemId) link. The embedding-based semantic half of BOFF-3893 * (find-similar / merge-suggestions / creation-time duplicate warning) is a separate slice gated on the * shared AI runtime growing an embedding seam; see planmagnet-specs product/specs/foundations/ * 17-feedback-intelligence-decisions.md. */ export type PlanmagnetInitiativeLinkSuggestion = { __typename?: 'PlanmagnetInitiativeLinkSuggestion'; /** One human-readable, i18n-localised reason per contributing signal — never empty when score > 0. */ reasons: Array<Scalars['String']['output']>; /** The candidate initiative. Scoped to the caller's workspace through its roadmap before it is returned. */ roadmapItem: RoadmapItem; /** * Additive score across the contributing signals; ranked descending. Not normalised — meaningful only * relative to the other suggestions in the same response. */ score: Scalars['Float']['output']; }; export type PlanmagnetIntelligenceDispatchInput = { /** HMAC(INTERNAL_SERVICE_TOKEN, 'planmagnet-intelligence-sweep:<workspaceId>:<kind>'). */ dispatchSecret: Scalars['String']['input']; kind: PlanmagnetIntelligenceSweepKind; /** The workspace this run is for — comes from the committed workflow definition, never from caller headers. */ workspaceId: Scalars['ID']['input']; }; /** The per-workspace autonomous loop switch and schedule wiring. */ export type PlanmagnetIntelligenceLoop = { __typename?: 'PlanmagnetIntelligenceLoop'; /** 5-field cron (UTC) of the daily at-risk sweep. */ dailyCron: Scalars['String']['output']; /** The workspace off switch. Runs never fire while false — honoured within one cadence. */ enabled: Scalars['Boolean']['output']; /** The human who turned the loop on last. */ enabledById?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** The last provisioning error (a workflow-engine outage surfaces here, never as a failed toggle). */ lastError?: Maybe<Scalars['String']['output']>; /** The last run state per sweep kind. */ runs: Array<PlanmagnetIntelligenceLoopRun>; /** 5-field cron (UTC) of the mid-sprint health check (evaluated daily; speaks only at/past the midpoint). */ sprintCron: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** 5-field cron (UTC) of the weekly roadmap-drift check. */ weeklyCron: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type PlanmagnetIntelligenceLoopConfigInput = { /** Optional 5-field cron overrides (UTC), validated before anything is provisioned. */ dailyCron?: InputMaybe<Scalars['String']['input']>; /** Turn the loop on (requires the planmagnet.intelligence-loop flag for this workspace) or off. */ enabled: Scalars['Boolean']['input']; sprintCron?: InputMaybe<Scalars['String']['input']>; weeklyCron?: InputMaybe<Scalars['String']['input']>; }; /** Per-(loop, kind) run state: the de-duplication record and the observability record of the last run. */ export type PlanmagnetIntelligenceLoopRun = { __typename?: 'PlanmagnetIntelligenceLoopRun'; /** Sweep wall-clock latency in milliseconds. */ durationMs: Scalars['Int']['output']; /** sha256 over the canonical finding list — unchanged since a notified run means UNCHANGED. */ fingerprint: Scalars['String']['output']; /** How many findings the last evaluation produced. */ itemCount: Scalars['Int']['output']; kind: PlanmagnetIntelligenceSweepKind; /** True when the run was written to the shared AgentRun ledger (trigger: scheduled). */ ledgerRecorded: Scalars['Boolean']['output']; /** True only when this run produced a notification. */ notified: Scalars['Boolean']['output']; /** How many recipients accepted the last digest. */ notifiedCount: Scalars['Int']['output']; outcome: PlanmagnetIntelligenceSweepOutcome; /** Why the run skipped/failed — null on a clean run. */ reason?: Maybe<Scalars['String']['output']>; runAt: Scalars['DateTime']['output']; }; export declare enum PlanmagnetIntelligenceSweepKind { /** Standup beat: at-risk work items across the workspace's active projects. */ DailyAtRisk = "DAILY_AT_RISK", /** Mid-sprint: active sprints past their midpoint whose forecast p85 lands after the sprint end. */ MidSprint = "MID_SPRINT", /** Weekly: roadmap items whose linked project/milestone forecast p85 lands after the item's target. */ WeeklyRoadmapDrift = "WEEKLY_ROADMAP_DRIFT" } export declare enum PlanmagnetIntelligenceSweepOutcome { /** The sweep failed (invalid dispatch secret, evaluation error, unconfigured loop). */ Failed = "FAILED", /** The per-workspace feature flag is off (the tenant kill switch). */ FlagDisabled = "FLAG_DISABLED", /** The workspace off switch is off — honoured before anything else. */ LoopDisabled = "LOOP_DISABLED", /** The sweep ran and found nothing to flag. */ NothingFound = "NOTHING_FOUND", /** The workspace AI credits are exhausted — skipped cleanly, never retried in a storm. */ QuotaExhausted = "QUOTA_EXHAUSTED", /** The sweep ran and notified. */ Ran = "RAN", /** The finding list is unchanged since the last notified run — no re-notification. */ Unchanged = "UNCHANGED" } /** Kano model classification of a feature/initiative's effect on satisfaction. */ export declare enum PlanmagnetKano { Basic = "BASIC", Delighter = "DELIGHTER", Indifferent = "INDIFFERENT", Performance = "PERFORMANCE", Reverse = "REVERSE" } /** A measurable target belonging to exactly one Objective. */ export type PlanmagnetKeyResult = { __typename?: 'PlanmagnetKeyResult'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currentValue: Scalars['Float']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Live rollup of linked work item completion. It drives `currentValue` when progressSource is LINKED_WORK_ITEMS. */ linkedWorkItemRollup: PlanmagnetKeyResultRollup; /** Work items currently linked to this key result. */ linkedWorkItems: Array<WorkItem>; metricType: KeyResultMetricType; objectiveId: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; ownerId?: Maybe<Scalars['String']['output']>; /** * Progress (0-100) computed live from startValue/currentValue/targetValue (the computed currentValue when the * progress source is LINKED_WORK_ITEMS). */ progress: Scalars['Float']['output']; /** * MANUAL, or LINKED_WORK_ITEMS: currentValue is then start + (target - start) x the linked work items' completion * (done / linked, cancelled items left out); for a BOOLEAN key result 1 once every counted item is done, else 0. */ progressSource: KeyResultProgressSource; startValue: Scalars['Float']['output']; status: KeyResultStatus; targetValue: Scalars['Float']['output']; title: Scalars['String']['output']; unit?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetKeyResultRollup = { __typename?: 'PlanmagnetKeyResultRollup'; /** Linked items that were cancelled — neither done nor still to do, so left out of completionRatio */ cancelledCount: Scalars['Int']['output']; /** doneCount / (totalLinked - cancelledCount); 0 when nothing is left to count */ completionRatio: Scalars['Float']['output']; doneCount: Scalars['Int']['output']; /** Live linked work items */ totalLinked: Scalars['Int']['output']; }; export type PlanmagnetLinkCompetitorInput = { competitorId: Scalars['String']['input']; featureRequestId: Scalars['String']['input']; }; export type PlanmagnetLinkMeetingInput = { agenda?: InputMaybe<Scalars['String']['input']>; /** The platform Calendar's CalendarEvent.id — created by the UI first, through the calendar's own createEvent mutation. */ calendarEventId: Scalars['ID']['input']; endsAt: Scalars['DateTime']['input']; kind: PlanmagnetMeetingKind; milestoneId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['ID']['input']; /** A snapshot of the calendar event's RRULE, for display only. */ recurrenceRule?: InputMaybe<Scalars['String']['input']>; sprintId?: InputMaybe<Scalars['ID']['input']>; startsAt: Scalars['DateTime']['input']; title: Scalars['String']['input']; }; export type PlanmagnetLogExpenseInput = { amount: Scalars['Float']['input']; budgetId: Scalars['String']['input']; category?: InputMaybe<Scalars['String']['input']>; date: Scalars['DateTime']['input']; description: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; referenceUrl?: InputMaybe<Scalars['String']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetLogTimeInput = { billingType?: InputMaybe<BillingType>; date: Scalars['DateTime']['input']; description?: InputMaybe<Scalars['String']['input']>; durationMinutes: Scalars['Int']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; projectId: Scalars['String']['input']; workItemId: Scalars['String']['input']; }; /** A status move people made by hand (transition source USER) — from → to, in one project. */ export type PlanmagnetManualStatusMove = { __typename?: 'PlanmagnetManualStatusMove'; count: Scalars['Int']['output']; fromStatus: WorkItemStatus; projectId: Scalars['ID']['output']; toStatus: WorkItemStatus; }; /** * Opening-cohort fulfillment: live feature requests with a recorded OPEN status and recorded feature link at window.from. * A migration-time BASELINE proves only the status and link observed from then on. The linked feature at window.to * (or calculatedAt for an ongoing window) determines delivery, not today's mutable link for a historical window. * For an earlier window, missing link evidence or a missing release timestamp, both ratios are null with * INCOMPLETE_HISTORY. Delivered means that end-of-window feature is currently RELEASED with releasedAt in the window. * Requests created at or after window.from never join the cohort. PlanMagnet holds no revenue, adoption or market-share * data. */ export type PlanmagnetMarketImpact = { __typename?: 'PlanmagnetMarketImpact'; /** Known closed at window.from (COMPLETED, DECLINED or DUPLICATE), excluded from the opening cohort. */ closedAtWindowStartCount: Scalars['Int']['output']; /** Already delivered before the window start, excluded from the opening cohort. */ deliveredBeforeWindowCount: Scalars['Int']['output']; /** Delivered ÷ the complete opening cohort, by request count. */ fulfillment: PlanmagnetBusinessIntelligenceRatio; notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** More than 10,000 requests were created before the window start, or the project scope was capped: ratios are null. */ truncated: Scalars['Boolean']['output']; /** Requests with a linked RELEASED feature whose actual release moment was never captured. */ unknownDeliveryMomentCount: Scalars['Int']['output']; /** Open requests missing a recorded feature-link state at either window boundary; both ratios are null if any are unknown. */ unknownFeatureLinkHistoryCount: Scalars['Int']['output']; /** Requests without a recorded state at window.from; both ratios are null if any are unknown. */ unknownOpeningStatusCount: Scalars['Int']['output']; /** * The same opening cohort weighted by the CURRENT vote totals at calculatedAt, NOT votes as of the window start. * Adding, changing, moving or removing votes can change a prior window's weighted result. No vote history is inferred. */ voteWeightedFulfillment: PlanmagnetBusinessIntelligenceRatio; }; /** * A meeting tied to PlanMagnet delivery work, scheduled through the platform * Calendar module. See this file's header comment for the full "who creates * the calendar event" split. */ export type PlanmagnetMeeting = { __typename?: 'PlanmagnetMeeting'; /** Real work items this meeting produced. The join only records that fact — see PlanmagnetMeetingActionItem. */ actionItems: Array<PlanmagnetMeetingActionItem>; /** Plain text / markdown. Length-capped; never rendered as HTML server-side. */ agenda?: Maybe<Scalars['String']['output']>; /** * The platform Calendar's `CalendarEvent.id` this meeting is scheduled * through. Format-validated, and unique per workspace among live (non- * unlinked) meetings — see MeetingService.assertCalendarEventId. */ calendarEventId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; endsAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: PlanmagnetMeetingKind; milestone?: Maybe<Milestone>; milestoneId?: Maybe<Scalars['String']['output']>; /** Plain text / markdown. Length-capped; never rendered as HTML server-side. */ notes?: Maybe<Scalars['String']['output']>; project: PlanmagnetProject; projectId: Scalars['String']['output']; /** A snapshot of the calendar event's RRULE, for display only. */ recurrenceRule?: Maybe<Scalars['String']['output']>; sprint?: Maybe<Sprint>; sprintId?: Maybe<Scalars['String']['output']>; /** Snapshot for listing/sorting — the calendar event is the source of truth for the real schedule. */ startsAt: Scalars['DateTime']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; /** * An action item a meeting produced. The join only records that fact — an * action item IS a real WorkItem (create it with the ordinary work-item * mutations first, then link it here with planmagnetAddMeetingActionItem). */ export type PlanmagnetMeetingActionItem = { __typename?: 'PlanmagnetMeetingActionItem'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; meetingId: Scalars['String']['output']; /** * Null if the work item behind this link has since been soft-deleted — the * `relation()` loader (utils/relation-loader.ts) filters `deletedAt: null` * and resolves to null rather than throwing, same contract as every other * relation field it serves (`timetracking.gql`/`worklink.gql`/`sync.gql`'s * `workItem`). This join is append-only (no `deletedAt` of its own), so a * deleted work item's link can outlive it; MeetingService.listActionItems * also excludes links to a dead work item at the source, so in practice a * client only ever sees this null transiently between the two reads. */ workItem?: Maybe<WorkItem>; workItemId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type PlanmagnetMeetingFilter = { /** Only meetings whose startsAt is on or after this instant. */ from?: InputMaybe<Scalars['DateTime']['input']>; kind?: InputMaybe<PlanmagnetMeetingKind>; milestoneId?: InputMaybe<Scalars['ID']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; sprintId?: InputMaybe<Scalars['ID']['input']>; /** Only meetings whose startsAt is on or before this instant. */ to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * What kind of meeting this is (CWF-22/CWF-23). TEXT-backed in Prisma * (`planmagnet_meetings.kind`), not a Postgres enum — a future value never * needs `ALTER TYPE`, which fails on alpha/prod with `42501 must be owner of * type` (same convention as PlanmagnetReportVisibility). This GraphQL enum is * the only validator — see MeetingService. */ export declare enum PlanmagnetMeetingKind { Demo = "DEMO", /** Requires `milestoneId` — see planmagnetLinkMeeting's validation. */ MilestoneCelebration = "MILESTONE_CELEBRATION", Other = "OTHER", Planning = "PLANNING", Retrospective = "RETROSPECTIVE", Review = "REVIEW", Standup = "STANDUP" } export type PlanmagnetMeetingList = { __typename?: 'PlanmagnetMeetingList'; items: Array<PlanmagnetMeeting>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * CWF-30 — an admin override pinning one workspace member (a platform actor id) directly to one CrewFoundry * `CrewEmployee`, for when the default best-effort e-mail match (see `planmagnetSprintCapacity`) cannot find — or * finds the wrong — employee for them. "Unified SSO identity" was the spec's original, overstated wording; there * is no SSO-linked identity, only this best-effort match plus a manual correction. */ export type PlanmagnetMemberIdentityOverride = { __typename?: 'PlanmagnetMemberIdentityOverride'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; crewEmployeeId: Scalars['String']['output']; id: Scalars['ID']['output']; platformUserId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; /** * A single named KPI/metric reading (ANR-18) — the generic shape every planmagnetMetrics/planmagnetAnalytics row * is returned as. `trend`/`target`/`threshold` are null until this service has a source for them (no metric * below sets them today — never a fabricated value). */ export type PlanmagnetMetric = { __typename?: 'PlanmagnetMetric'; calculatedAt: Scalars['DateTime']['output']; category: Scalars['String']['output']; target?: Maybe<Scalars['Float']['output']>; threshold?: Maybe<Scalars['Float']['output']>; trend?: Maybe<Scalars['Float']['output']>; unit: Scalars['String']['output']; value: Scalars['Float']['output']; }; export type PlanmagnetMilestoneFilter = { /** Due on or after this UTC day */ dueFrom?: InputMaybe<Scalars['DateTime']['input']>; /** Due on or before this UTC day */ dueTo?: InputMaybe<Scalars['DateTime']['input']>; /** Only milestones still open (PENDING or IN_PROGRESS) */ open?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<MilestoneStatus>; }; export type PlanmagnetMilestoneList = { __typename?: 'PlanmagnetMilestoneList'; items: Array<Milestone>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** Milestone list order */ export declare enum PlanmagnetMilestoneOrder { /** Nearest due date first; milestones with no due date last */ DueSoonest = "DUE_SOONEST", /** Newest first (the default) */ Newest = "NEWEST" } /** * Progress of the work items grouped under a milestone (PDM-22). Cancelled items are counted but do not count towards * the percentage: they are neither done nor still to do. */ export type PlanmagnetMilestoneProgress = { __typename?: 'PlanmagnetMilestoneProgress'; /** Items in CANCELLED */ cancelled: Scalars['Int']['output']; /** Items in DONE */ done: Scalars['Int']['output']; /** Items still to do (neither DONE nor CANCELLED) */ open: Scalars['Int']['output']; /** done / (total - cancelled) as a whole percentage; null when nothing is left to count */ percentComplete?: Maybe<Scalars['Int']['output']>; /** Live work items grouped under the milestone, cancelled ones included */ total: Scalars['Int']['output']; }; /** MoSCoW prioritization: MUST have, SHOULD have, COULD have, WON'T have (this time). */ export declare enum PlanmagnetMoscow { Could = "COULD", Must = "MUST", Should = "SHOULD", Wont = "WONT" } export type PlanmagnetMoveCardInput = { sortOrder?: InputMaybe<Scalars['Int']['input']>; targetColumnId: Scalars['ID']['input']; workItemId: Scalars['ID']['input']; }; /** * Placement for planmagnetMoveRoadmapItem (PRM-09): the destination horizon (null/absent = unplaced), optionally a * lane, and the 0-based position within that destination group. Out-of-range positions are clamped, never refused. */ export type PlanmagnetMoveRoadmapItemInput = { horizon?: InputMaybe<PlanmagnetRoadmapHorizon>; /** 0-based position in the destination group (same roadmap, same horizon, same lane). Clamped to the group's size. */ index: Scalars['Int']['input']; /** * When given (including null, to clear the lane), the item also moves to this swimlane. Omitted keeps its current * lane. */ swimlane?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetMoveWorkItemInput = { sortOrder?: InputMaybe<Scalars['Int']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; }; export type PlanmagnetMyWorkItemFilter = { /** Default false: DONE/CANCELLED items are left out. Set true to also see recently-closed work. */ includeClosed?: InputMaybe<Scalars['Boolean']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; }; /** * Open/done totals for live items with no epic parent, by the same direct-children rule as * PlanmagnetEpicWorkBreakdown: items with no parent, AND items whose parent is not (directly) an EPIC. */ export type PlanmagnetNoEpicWorkBreakdown = { __typename?: 'PlanmagnetNoEpicWorkBreakdown'; doneCount: Scalars['Int']['output']; donePoints: Scalars['Int']['output']; openCount: Scalars['Int']['output']; openPoints: Scalars['Int']['output']; }; /** NPS over a scope and window. `score` is exact (no server-side rounding) and is never an average of the answers. */ export type PlanmagnetNpsScore = { __typename?: 'PlanmagnetNpsScore'; /** 0s to 6s. */ detractorCount: Scalars['Int']['output']; /** 5: fewer responses than this give no score. */ minimumResponses: Scalars['Int']['output']; /** True when responseCount < minimumResponses (score is then null). */ notEnoughResponses: Scalars['Boolean']['output']; /** 7s and 8s. */ passiveCount: Scalars['Int']['output']; /** 9s and 10s. */ promoterCount: Scalars['Int']['output']; /** NPS responses counted (promoters + passives + detractors). */ responseCount: Scalars['Int']['output']; /** (promoterCount - detractorCount) * 100 / responseCount, -100 to 100. Null when responseCount < minimumResponses. */ score?: Maybe<Scalars['Float']['output']>; }; /** * A workspace-scoped goal for a given time period. `progress` is the average * of its non-deleted KeyResults' progress (0 when it has none). */ export type PlanmagnetObjective = { __typename?: 'PlanmagnetObjective'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; keyResults: Array<PlanmagnetKeyResult>; onBehalfOf?: Maybe<Scalars['String']['output']>; ownerId: Scalars['String']['output']; periodLabel: Scalars['String']['output']; /** * Average progress (0-100) across this objective's non-deleted key results. * Computed live -- never stored. */ progress: Scalars['Float']['output']; startDate?: Maybe<Scalars['DateTime']['output']>; status: ObjectiveStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetObjectiveFilter = { ownerId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ObjectiveStatus>; }; export type PlanmagnetObjectiveList = { __typename?: 'PlanmagnetObjectiveList'; items: Array<PlanmagnetObjective>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetOutlookMethod { /** Explicit rule-based heuristics over real data — no AI/LLM call. */ Heuristic = "HEURISTIC" } export type PlanmagnetPageInfo = { __typename?: 'PlanmagnetPageInfo'; endCursor?: Maybe<Scalars['String']['output']>; hasNextPage: Scalars['Boolean']['output']; hasPreviousPage: Scalars['Boolean']['output']; startCursor?: Maybe<Scalars['String']['output']>; totalCount: Scalars['Int']['output']; }; export type PlanmagnetPaginationInput = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; last?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetPortfolioFilter = { alignment?: InputMaybe<StrategicAlignment>; ownerId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PortfolioStatus>; }; export type PlanmagnetPortfolioList = { __typename?: 'PlanmagnetPortfolioList'; items: Array<Portfolio>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** Aggregated health and metrics overview for a portfolio. */ export type PlanmagnetPortfolioOverview = { __typename?: 'PlanmagnetPortfolioOverview'; /** Number of at-risk projects */ atRiskCount: Scalars['Int']['output']; /** Budget utilization percentage */ budgetUtilization?: Maybe<Scalars['Float']['output']>; /** Overall health score (0-100) */ healthScore?: Maybe<Scalars['Float']['output']>; /** Number of overdue milestones */ overdueMilestones: Scalars['Int']['output']; /** Portfolio ID */ portfolioId: Scalars['ID']['output']; /** Projects by status */ projectsByStatus: Scalars['JSON']['output']; /** Total budget allocated */ totalBudget?: Maybe<Scalars['Float']['output']>; /** Total number of programs */ totalPrograms: Scalars['Int']['output']; /** Total number of projects */ totalProjects: Scalars['Int']['output']; /** Total budget spent */ totalSpent?: Maybe<Scalars['Float']['output']>; }; /** * ANR-12 MVP rollup across a portfolio's live projects. totalBudget/totalSpent reuse the EXACT semantics * PlanmagnetPortfolioOverview.totalBudget/totalSpent already define (planned vs. actual spend, summed across the * same live projects). budgetUtilization intentionally does NOT reuse PlanmagnetPortfolioOverview's semantics at * the totalBudget == 0 edge: Overview reports 0% there, this type reports null (see its own field doc) — never * fabricating a 0% from a $0 budget. This is an additive, ANR-12-specific view alongside the pre-existing * Overview, not a replacement for it. */ export type PlanmagnetPortfolioRollup = { __typename?: 'PlanmagnetPortfolioRollup'; /** Mean planmagnetDeliveryKpis.milestoneOnTimeRate, same averaging rule. */ averageMilestoneOnTimeRate?: Maybe<Scalars['Float']['output']>; /** Mean planmagnetDeliveryKpis.releaseOnTimeRate, same averaging rule. */ averageReleaseOnTimeRate?: Maybe<Scalars['Float']['output']>; /** * Mean planmagnetDeliveryKpis.sprintOnTimeRate across live projects that had at least one COMPLETED sprint in * the default (trailing 30 days) window. Null when none did — never a fabricated 0% or 100%. */ averageSprintOnTimeRate?: Maybe<Scalars['Float']['output']>; /** totalSpent / totalBudget * 100. Null when totalBudget is 0 or null. */ budgetUtilization?: Maybe<Scalars['Float']['output']>; /** When this rollup was computed — recomputed on every call, never a stored snapshot. */ calculatedAt: Scalars['DateTime']['output']; portfolioId: Scalars['ID']['output']; /** Live project count grouped by status. */ projectsByStatus: Scalars['JSON']['output']; /** Sum of every live project's budgets' totalAmount (planned spend). Null when none have a budget. */ totalBudget?: Maybe<Scalars['Float']['output']>; /** Live projects currently linked to this portfolio. */ totalProjects: Scalars['Int']['output']; /** Sum of every live project's budgets' spentAmount (actual spend). Null when none have a budget. */ totalSpent?: Maybe<Scalars['Float']['output']>; }; /** One actor's live presence on a target (CWF-24). */ export type PlanmagnetPresenceEntry = { __typename?: 'PlanmagnetPresenceEntry'; actorId: Scalars['String']['output']; lastSeenAt: Scalars['DateTime']['output']; /** * True only when this actor's most recent heartbeat both said `typing: true` AND landed within the last 8 * seconds — a client that stopped sending heartbeats (closed the tab, lost connection) stops showing as typing * within 8 seconds even if it never explicitly said so, without waiting for the full 30-second presence window. */ typing: Scalars['Boolean']['output']; }; /** * A thin, target-scoped real-time notification that presence changed (CWF-24) — NEVER the full presence list. A * subscriber re-reads `planmagnetPresence(targetType, targetId)` under its own permissions instead of trusting * this payload, same discipline as every other real-time event in this service. */ export type PlanmagnetPresenceEvent = { __typename?: 'PlanmagnetPresenceEvent'; actorId: Scalars['String']['output']; at: Scalars['DateTime']['output']; kind: PlanmagnetPresenceEventKind; targetId: Scalars['ID']['output']; targetType: PlanmagnetPresenceTargetType; }; /** * What changed. JOINED/LEFT are presence itself; TYPING/STOPPED_TYPING are a typing-state flip on an actor already * present. A heartbeat that repeats the actor's CURRENT joined/typing state publishes nothing at all — see * `planmagnetPresenceHeartbeat`. */ export declare enum PlanmagnetPresenceEventKind { Joined = "JOINED", Left = "LEFT", StoppedTyping = "STOPPED_TYPING", Typing = "TYPING" } export declare enum PlanmagnetPresenceTargetType { Doc = "DOC", Project = "PROJECT", Roadmap = "ROADMAP", WorkItem = "WORK_ITEM" } /** * One bucket of one prioritization method's breakdown. `bucket` is that method's value as a string (MUST, BASIC, * QUICK_WIN, …) — untyped because MoSCoW/Kano/Value-vs-Effort each use a different enum and this type is shared * across all three. Items are capped (see `truncated`); `count` is the true total regardless of the cap. * * Exactly one of `featureRequests`/`roadmapItems` is ever non-null, matching the query's `source` argument — same * "populated only for one branch" shape as PlanmagnetVelocitySprintPoint's teamId/teamName (PROJECT vs TEAM). */ export type PlanmagnetPrioritizationBucket = { __typename?: 'PlanmagnetPrioritizationBucket'; bucket: Scalars['String']['output']; count: Scalars['Int']['output']; /** Populated when source is FEATURE_REQUEST. */ featureRequests?: Maybe<Array<FeatureRequest>>; /** Populated when source is ROADMAP_ITEM. */ roadmapItems?: Maybe<Array<RoadmapItem>>; /** True when more items matched this bucket than were returned. */ truncated: Scalars['Boolean']['output']; }; export type PlanmagnetPrioritizationMatrix = { __typename?: 'PlanmagnetPrioritizationMatrix'; kano: PlanmagnetPrioritizationMethodResult; moscow: PlanmagnetPrioritizationMethodResult; source: PlanmagnetPrioritizationSource; valueEffort: PlanmagnetPrioritizationMethodResult; }; export declare enum PlanmagnetPrioritizationMethod { Kano = "KANO", Moscow = "MOSCOW", ValueEffort = "VALUE_EFFORT" } /** * One method's full breakdown: every bucket the method defines (even empty ones, all zero/empty — a chart never * has to guess a bucket is missing vs. genuinely empty), plus how many in-scope live items have not been scored * by this method at all. */ export type PlanmagnetPrioritizationMethodResult = { __typename?: 'PlanmagnetPrioritizationMethodResult'; buckets: Array<PlanmagnetPrioritizationBucket>; method: PlanmagnetPrioritizationMethod; /** Live items in scope with this method's field(s) unset — excluded from every bucket above. */ unscored: Scalars['Int']['output']; }; export declare enum PlanmagnetPrioritizationSource { FeatureRequest = "FEATURE_REQUEST", RoadmapItem = "ROADMAP_ITEM" } /** * Flow efficiency of items completed in the window, from real status-transition history only. Cycle time runs from * the first commitment (the first move into a To-do or In-progress-category status — the project's own categories) to * the item's last move into DONE in the window; active time is the part spent in In-progress-category statuses. An item * whose history is not complete (no creation row, or a gap where a change was not recorded) is left out — never * reconstructed from updatedAt. */ export type PlanmagnetProcessEfficiency = { __typename?: 'PlanmagnetProcessEfficiency'; /** Live items observed in the bounded read with a transition into DONE in the window. */ completedCount: Scalars['Int']['output']; /** Σ active time ÷ Σ cycle time over the sample (a ratio). */ flowEfficiency?: Maybe<Scalars['Float']['output']>; incompleteHistoryCount: Scalars['Int']['output']; medianCycleTimeHours?: Maybe<Scalars['Float']['output']>; /** Median of the items' own active ÷ cycle ratios. */ medianFlowEfficiency?: Maybe<Scalars['Float']['output']>; minimumSample: Scalars['Int']['output']; /** Completed without a measurable commitment-to-done period (never committed, or committed and done at once). */ noCycleCount: Scalars['Int']['output']; notEnoughData: Scalars['Boolean']['output']; /** 85th percentile (linear interpolation). */ p85CycleTimeHours?: Maybe<Scalars['Float']['output']>; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** Completed items with a complete history and a measurable cycle — the sample. */ sampleSize: Scalars['Int']['output']; /** More than 5,000 items changed status, or their history exceeded 50,000 rows: all flow figures are null. */ truncated: Scalars['Boolean']['output']; }; /** * A product's own feature (PRM-01) — what the product team decided to build. Distinct from a FeatureRequest (customer * demand/feedback), which may point at the feature that addresses it. */ export type PlanmagnetProductFeature = { __typename?: 'PlanmagnetProductFeature'; /** * Domain lifecycle marker, distinct from deletedAt. Null = active. An archived feature keeps its links but gains no * new ones. */ archivedAt?: Maybe<Scalars['DateTime']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; /** * The EPIC work items linked to this feature, newest first. Stories reach a feature through their epic * (WorkItem.children). A link whose work item was deleted, or is no longer an EPIC, is left out. Batched per request. */ epics: Array<WorkItem>; /** Live feature requests that point at this feature, newest first. Batched per request. */ featureRequests: Array<FeatureRequest>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owning actor id, or null. */ ownerId?: Maybe<Scalars['String']['output']>; /** The product this feature belongs to. Null only once that product has been deleted. */ product?: Maybe<Product>; productId: Scalars['String']['output']; /** * ANR-12: when this feature's status last became RELEASED — set by the service when it is created as RELEASED or * moves to RELEASED, kept while it stays RELEASED, cleared when it leaves RELEASED. Null for a feature not RELEASED, * and for one already RELEASED before 2026-10-02 (never backfilled: that moment was not recorded). */ releasedAt?: Maybe<Scalars['DateTime']['output']>; status: PlanmagnetProductFeatureStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetProductFeatureFilter = { /** false: only archived; true: only active; omitted: both. */ isActive?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; /** Matches the name or description, case-insensitively. */ search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetProductFeatureStatus>; }; export type PlanmagnetProductFeatureList = { __typename?: 'PlanmagnetProductFeatureList'; items: Array<PlanmagnetProductFeature>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Lifecycle of a product feature (PRM-01). Terms from spec 04: BACKLOG is the spec's `features.status` default; * DISCOVERY and PLANNING are its "Feature Discovery" and "Feature Planning" stages; its "Feature Tracking" stage is * split at the release boundary into IN_DEVELOPMENT ("development progress monitoring") and RELEASED (shipped — "user * adoption tracking", cf. the spec's `features.target_release_id`). TEXT-backed in Prisma; this enum is the only * validator. Retiring a feature is archiving it (`archivedAt`), not a status. */ export declare enum PlanmagnetProductFeatureStatus { Backlog = "BACKLOG", Discovery = "DISCOVERY", InDevelopment = "IN_DEVELOPMENT", Planning = "PLANNING", Released = "RELEASED" } export type PlanmagnetProductFilter = { /** false: only archived; true: only active; omitted: both. */ isActive?: InputMaybe<Scalars['Boolean']['input']>; lifecycleStage?: InputMaybe<PlanmagnetProductLifecycleStage>; ownerId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetProductLaunch = { __typename?: 'PlanmagnetProductLaunch'; /** The readiness checklist, in its order. Batched. */ checklist: Array<PlanmagnetProductLaunchChecklistItem>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** Set exactly while the status is LAUNCHED: when it became LAUNCHED. */ launchedAt?: Maybe<Scalars['DateTime']['output']>; /** The launch's timeline: the linked milestones, by due date (undated last). Deleted ones are left out. Batched. */ milestones: Array<Milestone>; /** At most 200 characters. */ name: Scalars['String']['output']; /** The product this launch belongs to. */ product?: Maybe<Product>; productId: Scalars['String']['output']; readiness: PlanmagnetProductLaunchReadiness; /** The release that ships this launch; null when none is linked or it was deleted. */ release?: Maybe<Release>; releaseId?: Maybe<Scalars['String']['output']>; /** The roadmap item this launch delivers; null when none is linked or it was deleted. */ roadmapItem?: Maybe<RoadmapItem>; roadmapItemId?: Maybe<Scalars['String']['output']>; status: PlanmagnetProductLaunchStatus; /** Positioning and messaging. At most 10000 characters; null when not written yet. */ strategySummary?: Maybe<Scalars['String']['output']>; /** At most 20, in the order they were given. */ successCriteria: Array<PlanmagnetProductLaunchSuccessCriterion>; /** The planned launch date. Template checklist due dates are counted back from it when a template is applied. */ targetLaunchDate: Scalars['DateTime']['output']; /** Only Personas still linked to this launch's Product, archived ones included, by name. Batched. */ targetPersonas: Array<PlanmagnetProductPersona>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; /** The team a readiness checklist item belongs to. TEXT-backed in Prisma; this enum (and the service) validates it. */ export declare enum PlanmagnetProductLaunchChecklistCategory { Legal = "LEGAL", Marketing = "MARKETING", Operations = "OPERATIONS", Product = "PRODUCT", Sales = "SALES", Support = "SUPPORT" } export type PlanmagnetProductLaunchChecklistItem = { __typename?: 'PlanmagnetProductLaunchChecklistItem'; category: PlanmagnetProductLaunchChecklistCategory; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** When the item was completed; null while it is open. */ doneAt?: Maybe<Scalars['DateTime']['output']>; /** Who completed it; null while it is open. */ doneBy?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** True while doneAt is set. */ isDone: Scalars['Boolean']['output']; /** Required items count towards readiness; optional ones never block it. */ isRequired: Scalars['Boolean']['output']; /** The template item it came from; null for an item added by hand. */ itemKey?: Maybe<Scalars['String']['output']>; /** At most 200 characters. A template item's label is written in the language of whoever applied the template. */ label: Scalars['String']['output']; launchId: Scalars['String']['output']; /** Who is responsible (an actor id); null when nobody is. */ ownerId?: Maybe<Scalars['String']['output']>; /** Order on the checklist, ascending (gaps are normal). */ position: Scalars['Int']['output']; /** The built-in template this item came from; null for an item added by hand. */ templateKey?: Maybe<PlanmagnetProductLaunchTemplateKey>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetProductLaunchFilter = { /** Matches the name or the strategy summary, case-insensitively. */ search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetProductLaunchStatus>; }; export type PlanmagnetProductLaunchList = { __typename?: 'PlanmagnetProductLaunchList'; items: Array<PlanmagnetProductLaunch>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** Required items done over required items, and the same for optional ones. Deleted items do not count. */ export type PlanmagnetProductLaunchReadiness = { __typename?: 'PlanmagnetProductLaunchReadiness'; /** True when no required item is open — also when the checklist has no required item. */ allRequiredDone: Scalars['Boolean']['output']; optionalDone: Scalars['Int']['output']; optionalTotal: Scalars['Int']['output']; requiredDone: Scalars['Int']['output']; requiredTotal: Scalars['Int']['output']; }; /** * PLANNING: being planned. READY: ready to launch. LAUNCHED: it happened (launchedAt says when). CANCELLED: called off. * TEXT-backed in Prisma; this enum (and the service) is the only validator. */ export declare enum PlanmagnetProductLaunchStatus { Cancelled = "CANCELLED", Launched = "LAUNCHED", Planning = "PLANNING", Ready = "READY" } /** * How the launch's success is judged — the team's own figures, stored exactly as entered and never computed. `target` * and `actual` are exact decimal numbers carried as strings (e.g. "500", "2.5", "-3"), never floats. */ export type PlanmagnetProductLaunchSuccessCriterion = { __typename?: 'PlanmagnetProductLaunchSuccessCriterion'; /** The measured figure, same format as target; null until measured. */ actual?: Maybe<Scalars['String']['output']>; /** When the actual figure was measured; only with an actual figure. */ measuredAt?: Maybe<Scalars['DateTime']['output']>; /** At most 200 characters. */ name: Scalars['String']['output']; /** The figure the launch aims for. At most 15 digits before the decimal point and 4 after. */ target: Scalars['String']['output']; /** What the figures count, e.g. sign-ups or %. At most 40 characters; null when not set. */ unit?: Maybe<Scalars['String']['output']>; }; /** * `target` and `actual` are exact decimal numbers as strings: an optional minus sign, at most 15 digits before the decimal * point and 4 after it — no grouping separators, no exponent. Stored in canonical form ("007.50" is stored as "7.5"). */ export type PlanmagnetProductLaunchSuccessCriterionInput = { actual?: InputMaybe<Scalars['String']['input']>; /** Not in the future, not before 2000-01-01, and only with an actual figure. */ measuredAt?: InputMaybe<Scalars['DateTime']['input']>; /** Required, at most 200 characters. */ name: Scalars['String']['input']; target: Scalars['String']['input']; /** At most 40 characters. Blank is stored as null. */ unit?: InputMaybe<Scalars['String']['input']>; }; /** A built-in go-to-market template, in the caller's language. */ export type PlanmagnetProductLaunchTemplate = { __typename?: 'PlanmagnetProductLaunchTemplate'; description: Scalars['String']['output']; /** In due order. */ items: Array<PlanmagnetProductLaunchTemplateItem>; key: PlanmagnetProductLaunchTemplateKey; name: Scalars['String']['output']; }; export type PlanmagnetProductLaunchTemplateApplyResult = { __typename?: 'PlanmagnetProductLaunchTemplateApplyResult'; /** Items this call added. */ createdCount: Scalars['Int']['output']; /** The launch, whose checklist and readiness now include the added items. */ launch: PlanmagnetProductLaunch; /** Template items already on the checklist (same template and item), left exactly as they were. */ skippedCount: Scalars['Int']['output']; }; /** One item of a built-in template, in the caller's language. */ export type PlanmagnetProductLaunchTemplateItem = { __typename?: 'PlanmagnetProductLaunchTemplateItem'; category: PlanmagnetProductLaunchChecklistCategory; /** Due this many days before the target launch date. */ daysBeforeLaunch: Scalars['Int']['output']; isRequired: Scalars['Boolean']['output']; itemKey: Scalars['String']['output']; label: Scalars['String']['output']; }; /** The built-in go-to-market templates — see planmagnetProductLaunchTemplates. */ export declare enum PlanmagnetProductLaunchTemplateKey { BetaProgram = "BETA_PROGRAM", FeatureLaunch = "FEATURE_LAUNCH", MajorLaunch = "MAJOR_LAUNCH" } export declare enum PlanmagnetProductLifecycleStage { Beta = "BETA", Concept = "CONCEPT", Deprecated = "DEPRECATED", Development = "DEVELOPMENT", Launched = "LAUNCHED", Mature = "MATURE" } /** A group of products (PRM-01): one line, many products. A product belongs to at most one line. */ export type PlanmagnetProductLine = { __typename?: 'PlanmagnetProductLine'; /** * Domain lifecycle marker, distinct from deletedAt. Null = active. An archived line keeps its products but accepts no * new ones. */ archivedAt?: Maybe<Scalars['DateTime']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owning actor id, or null. */ ownerId?: Maybe<Scalars['String']['output']>; /** Live products in this line (archived products included), newest first. Batched per request. */ products: Array<Product>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetProductLineFilter = { /** false: only archived; true: only active; omitted: both. */ isActive?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; /** Matches the name or description, case-insensitively. */ search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetProductLineList = { __typename?: 'PlanmagnetProductLineList'; items: Array<PlanmagnetProductLine>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetProductList = { __typename?: 'PlanmagnetProductList'; items: Array<Product>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetProductMarketSizing = { __typename?: 'PlanmagnetProductMarketSizing'; /** The date the figures describe. */ asOfDate: Scalars['DateTime']['output']; /** The reasoning behind the figures, as written. At most 5000 characters. */ assumptions: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** ISO 4217 currency code of all three figures, e.g. USD. */ currency: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; method: PlanmagnetProductMarketSizingMethod; /** The product this estimate is for. */ product?: Maybe<Product>; productId: Scalars['String']['output']; /** Serviceable addressable market — the part of the TAM the product can serve. Same format as tam; at most tam. */ sam: Scalars['String']['output']; /** Serviceable obtainable market — the part of the SAM the product can realistically win. Same format; at most sam. */ som: Scalars['String']['output']; /** 1 to 20 sources, in the order given. */ sources: Array<PlanmagnetProductMarketSizingSource>; /** * Total addressable market in `currency`, as an exact decimal string in plain notation (e.g. "1250000000" or * "1250000000.5"): at least 0, at most 20 digits before the decimal point and 2 after it. Parse it with a decimal or * bigint type when exactness matters — never assume it fits a float. */ tam: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export type PlanmagnetProductMarketSizingList = { __typename?: 'PlanmagnetProductMarketSizingList'; items: Array<PlanmagnetProductMarketSizing>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * How the figures were reached: TOP_DOWN (narrowed down from a larger, published market), BOTTOM_UP (built up from * customer counts and prices) or VALUE_THEORY (from the value the product delivers to its customers). TEXT-backed in * Prisma; this enum (and the service) is the only validator. */ export declare enum PlanmagnetProductMarketSizingMethod { BottomUp = "BOTTOM_UP", TopDown = "TOP_DOWN", ValueTheory = "VALUE_THEORY" } /** Where a figure comes from. */ export type PlanmagnetProductMarketSizingSource = { __typename?: 'PlanmagnetProductMarketSizingSource'; /** What the source is, e.g. a report title and its publisher. */ label: Scalars['String']['output']; /** An https:// link to it, or null. */ url?: Maybe<Scalars['String']['output']>; }; export type PlanmagnetProductMarketSizingSourceInput = { /** Required, at most 200 characters. */ label: Scalars['String']['input']; /** Optional: an absolute https:// URL of at most 2048 characters, without a user name or password. */ url?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetProductNorthStar = { __typename?: 'PlanmagnetProductNorthStar'; current: Scalars['Float']['output']; measuredAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; /** * Server-computed: current/target clamped to [0,1], null when target is 0 (a zero target is an unset/degenerate * state, not "0% progress"). Never stored. */ progressRatio?: Maybe<Scalars['Float']['output']>; target: Scalars['Float']['output']; unit: Scalars['String']['output']; window: Scalars['String']['output']; }; export type PlanmagnetProductNorthStarInput = { current: Scalars['Float']['input']; measuredAt?: InputMaybe<Scalars['DateTime']['input']>; name: Scalars['String']['input']; target: Scalars['Float']['input']; unit: Scalars['String']['input']; window: Scalars['String']['input']; }; export type PlanmagnetProductPersona = { __typename?: 'PlanmagnetProductPersona'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; /** What the persona wants to achieve. At most 20 entries of at most 500 characters each. */ goals: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; /** At most 120 characters. */ name: Scalars['String']['output']; /** What the persona needs from the product. Same bounds as goals. */ needs: Array<Scalars['String']['output']>; /** What gets in the persona's way. Same bounds as goals. */ painPoints: Array<Scalars['String']['output']>; /** The deprecated primary Product when it is still live, otherwise null. Use products for the full set. */ product?: Maybe<Product>; /** * Deprecated primary Product pointer, not the complete membership set. Product deletion clears it even if another * live membership remains; explicit unlink can rehome it to another linked Product or clear it after the last unlink. * Never use it for authorization or infer the membership set from it. * @deprecated Use products for current workspace-scoped memberships */ productId?: Maybe<Scalars['String']['output']>; /** Live Products sharing this Persona, in association order. Empty for an unlinked library Persona. */ products: Array<Product>; /** Job title or role, e.g. Head of Operations. At most 120 characters; null when not set. */ roleTitle?: Maybe<Scalars['String']['output']>; /** * The customer segment this persona represents — free text, at most 120 characters. Not tied to * Product.targetSegments. */ segment?: Maybe<Scalars['String']['output']>; status: PlanmagnetProductPersonaStatus; /** The persona in a few sentences. At most 2000 characters. */ summary: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; /** * When the persona last became VALIDATED. Null while it is a DRAFT; kept while it is archived (unarchiving a persona * that has one restores VALIDATED). */ validatedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetProductPersonaFilter = { /** Without a status: true lists archived personas too. Default false. */ includeArchived?: InputMaybe<Scalars['Boolean']['input']>; /** Matches the name, summary, role title or segment, case-insensitively. */ search?: InputMaybe<Scalars['String']['input']>; /** Only this status. Asking for ARCHIVED returns archived personas whatever includeArchived says. */ status?: InputMaybe<PlanmagnetProductPersonaStatus>; }; export type PlanmagnetProductPersonaList = { __typename?: 'PlanmagnetProductPersonaList'; items: Array<PlanmagnetProductPersona>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * DRAFT: being written. VALIDATED: confirmed with real customers. ARCHIVED: kept for reference, read-only, left out of * lists by default. TEXT-backed in Prisma; this enum (and the service) is the only validator. */ export declare enum PlanmagnetProductPersonaStatus { Archived = "ARCHIVED", Draft = "DRAFT", Validated = "VALIDATED" } export type PlanmagnetProgramFilter = { ownerId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; }; export type PlanmagnetProgramList = { __typename?: 'PlanmagnetProgramList'; items: Array<Program>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * The primary planning unit containing work items, sprints, boards, * milestones, and all associated planning artifacts. */ export type PlanmagnetProject = { __typename?: 'PlanmagnetProject'; /** Automation rules in this project */ automationRules: Array<PlanmagnetAutomationRule>; /** ISO 4217 currency code of `realizedBenefitAmount` (e.g. "USD"). Always set together with it. */ benefitCurrency?: Maybe<Scalars['String']['output']>; /** When the realized benefit was measured (never in the future). Optional; exists only alongside an amount. */ benefitMeasuredAt?: Maybe<Scalars['DateTime']['output']>; /** How the benefit was measured, or its source (at most 2000 characters). Optional; exists only alongside an amount. */ benefitNote?: Maybe<Scalars['String']['output']>; /** Boards in this project */ boards: Array<Board>; /** Budgets in this project */ budgets: Array<PlanmagnetBudget>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this project */ createdBy: Scalars['String']['output']; /** Custom field definitions in this project */ customFieldDefinitions: Array<CustomFieldDefinition>; /** Default assignee actor ID */ defaultAssigneeId?: Maybe<Scalars['String']['output']>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Project description */ description?: Maybe<Scalars['String']['output']>; /** Planned end date */ endDate?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Project key/prefix for work item IDs (e.g. PROJ) */ key: Scalars['String']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Project methodology */ methodology: ProjectMethodology; /** Milestones in this project */ milestones: Array<Milestone>; /** Project name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId: Scalars['String']['output']; /** Parent portfolio */ portfolio?: Maybe<Portfolio>; /** * Parent portfolio ID. Set directly on the project (BOFF-8047) — independent of `programId`: * a project may carry both at once, and neither implies the other. */ portfolioId?: Maybe<Scalars['String']['output']>; /** Parent program */ program?: Maybe<Program>; /** Parent program ID */ programId?: Maybe<Scalars['String']['output']>; /** Quality gates in this project */ qualityGates: Array<QualityGate>; /** * ANR-12: the project's realized (measured) benefit — the team's own figure, which the ROI analysis compares with * actual spend. An exact decimal string with up to 2 decimals (e.g. "125000.5"), in `benefitCurrency`; never * estimated or converted. Null until someone records it. */ realizedBenefitAmount?: Maybe<Scalars['String']['output']>; /** Risks in this project */ risks: Array<Risk>; /** Sprints in this project */ sprints: Array<Sprint>; /** Planned start date */ startDate?: Maybe<Scalars['DateTime']['output']>; /** Current status */ status: PlanmagnetProjectStatus; /** Tags for categorization. */ tags: Array<Scalars['String']['output']>; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this project */ updatedBy?: Maybe<Scalars['String']['output']>; /** Work items in this project */ workItems: Array<WorkItem>; /** This project's workflow (labels, hidden statuses, categories, transition rules) */ workflow: PlanmagnetProjectWorkflow; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** * A thin, workspace-scoped real-time notification that a project changed * (PDM-05). Carries identifiers and the names of the fields that changed — * NEVER the record itself — so a subscriber re-reads `planmagnetProject(id)` * under its own permissions instead of trusting a payload that bypassed RBAC * and row-level scoping. */ export type PlanmagnetProjectEvent = { __typename?: 'PlanmagnetProjectEvent'; /** Actor who made the change */ actorId: Scalars['String']['output']; /** When the change was made */ at: Scalars['DateTime']['output']; /** Names of the fields that changed. Empty for CREATED/DELETED. */ changedFields: Array<Scalars['String']['output']>; /** The changed project's id */ id: Scalars['ID']['output']; /** What kind of change this is */ kind: PlanmagnetProjectEventKind; /** The project's workspace */ workspaceId: Scalars['ID']['output']; }; /** What kind of change a real-time project event represents. */ export declare enum PlanmagnetProjectEventKind { Created = "CREATED", Deleted = "DELETED", Updated = "UPDATED" } export type PlanmagnetProjectFilter = { methodology?: InputMaybe<ProjectMethodology>; ownerId?: InputMaybe<Scalars['String']['input']>; portfolioId?: InputMaybe<Scalars['String']['input']>; programId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; }; export type PlanmagnetProjectList = { __typename?: 'PlanmagnetProjectList'; items: Array<PlanmagnetProject>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A heuristic project health summary (ANR-10). Never an AI/LLM call, never a made-up percentage — see * `method`, and `successLikelihoodRule` for exactly which rule produced `successLikelihood`. */ export type PlanmagnetProjectOutlook = { __typename?: 'PlanmagnetProjectOutlook'; /** * One entry per budget of the project, burn-rate extrapolated to the forecast's p85 date. Null when the * project has no budgets at all (not an empty list — there is nothing to project). */ budgetProjection?: Maybe<Array<PlanmagnetBudgetProjection>>; /** Plain-language notes on what data each field above did or did not have available. */ inputs: Array<Scalars['String']['output']>; method: PlanmagnetOutlookMethod; projectId: Scalars['ID']['output']; /** Defect ratio trend over the trailing 8 weeks, from the same data planmagnetQualityMetrics reads. */ qualityTrend: PlanmagnetQualityTrend; /** Sum of likelihood x impact over the project's open risks, with the top 3. */ riskExposure: PlanmagnetRiskExposure; /** * LOW/MEDIUM/HIGH by the explicit rule in successLikelihoodRule — see that field. Never a numeric * percentage: a rule-based LOW/MEDIUM/HIGH is honest about how little precision this heuristic actually * has. */ successLikelihood: PlanmagnetSuccessLikelihood; /** * The exact rule that produced successLikelihood, in plain language — e.g. "HIGH: the forecast p85 * completion date is on or before the target date and no HIGH-severity at-risk flags are open." */ successLikelihoodRule: Scalars['String']['output']; /** * planmagnetForecastDelivery's p85 completion date (for the project's own open, estimated items) minus * the project's target date — Project.endDate, falling back to the latest live milestone's dueDate when * endDate is unset. Positive means the forecast is running late; negative, early. Null when either the * forecast (insufficientHistory) or a target date is unavailable. */ timelineDeviationDays?: Maybe<Scalars['Int']['output']>; }; export type PlanmagnetProjectQuality = { __typename?: 'PlanmagnetProjectQuality'; bugsCreated: Scalars['Int']['output']; bugsResolved: Scalars['Int']['output']; projectId: Scalars['ID']['output']; reopenRate: PlanmagnetBusinessIntelligenceRatio; }; /** * At-risk flag counts for a project (AI-10), over the same rule set * planmagnetAtRiskWorkItems uses. */ export type PlanmagnetProjectRiskSummary = { __typename?: 'PlanmagnetProjectRiskSummary'; /** Flag counts by kind — one work item with 2 different-kind flags contributes to 2 rows here. */ byKind: Array<PlanmagnetRiskFlagKindCount>; bySeverity: Array<PlanmagnetRiskFlagSeverityCount>; projectId: Scalars['ID']['output']; /** Distinct work items carrying at least one flag. */ totalFlaggedItems: Scalars['Int']['output']; }; /** * One project's ROI = (realized benefit − actual spend) ÷ actual spend. Actual spend is the sum of the project's live * budgets' spentAmount — the figure planmagnetPortfolioRollup sums — and only budgets in the benefit's currency count. */ export type PlanmagnetProjectRoi = { __typename?: 'PlanmagnetProjectRoi'; /** Exact decimal sum of spentAmount over the live budgets in `currency`; null when there is no such budget. */ actualSpend?: Maybe<Scalars['String']['output']>; benefitMeasuredAt?: Maybe<Scalars['DateTime']['output']>; /** Live budgets counted in actualSpend. */ budgetCount: Scalars['Int']['output']; /** The benefit's ISO 4217 currency; null when no benefit is recorded. */ currency?: Maybe<Scalars['String']['output']>; notEnoughData: Scalars['Boolean']['output']; /** Live budgets in other currencies. Spend recorded on any of them makes the ROI CURRENCY_MISMATCH. */ otherCurrencyBudgetCount: Scalars['Int']['output']; projectId: Scalars['ID']['output']; projectName: Scalars['String']['output']; /** Exact decimal string; null when not recorded. */ realizedBenefit?: Maybe<Scalars['String']['output']>; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** A ratio (0.5 = 50%). Null when not computable — see reason. */ roi?: Maybe<Scalars['Float']['output']>; }; export declare enum PlanmagnetProjectStatus { Active = "ACTIVE", Archived = "ARCHIVED", Cancelled = "CANCELLED", Completed = "COMPLETED", OnHold = "ON_HOLD", Planning = "PLANNING" } export type PlanmagnetProjectTemplateFilter = { category?: InputMaybe<Scalars['String']['input']>; isBuiltIn?: InputMaybe<Scalars['Boolean']['input']>; isPublished?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetProjectTemplateList = { __typename?: 'PlanmagnetProjectTemplateList'; items: Array<ProjectTemplate>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * One project's slice of the work breakdown. `open`/`done` above are totals across EVERY live work item in the * project (every type, epics themselves included) — the epic rollups below are a further breakdown of that same * total, not an additional count. CANCELLED items count toward neither `open` nor `done` anywhere in this type — * same precedent as MilestoneService's progress rollup leaving cancelled items out of both buckets. */ export type PlanmagnetProjectWorkBreakdown = { __typename?: 'PlanmagnetProjectWorkBreakdown'; doneCount: Scalars['Int']['output']; donePoints: Scalars['Int']['output']; /** Capped at 200 (see truncatedEpics), ordered by title. The rollup totals reflect every live epic regardless. */ epics: Array<PlanmagnetEpicWorkBreakdown>; noEpic: PlanmagnetNoEpicWorkBreakdown; openCount: Scalars['Int']['output']; openPoints: Scalars['Int']['output']; projectId: Scalars['ID']['output']; projectName: Scalars['String']['output']; /** True when this project has more than 200 live epics. */ truncatedEpics: Scalars['Boolean']['output']; }; /** A project's workflow: all seven statuses in canonical order, and its transition rules */ export type PlanmagnetProjectWorkflow = { __typename?: 'PlanmagnetProjectWorkflow'; /** When false, any move between visible statuses is allowed */ enforceTransitions: Scalars['Boolean']['output']; projectId: Scalars['String']['output']; statuses: Array<PlanmagnetWorkflowStatus>; /** Allowed moves (read only when enforceTransitions is true) */ transitions: Array<PlanmagnetWorkflowTransition>; }; /** * Reopen rate = items completed in the window that later moved from DONE back to an open status (anything but DONE or * CANCELLED) within the window ÷ items completed in the window. Bugs: created in the window, and resolved in the window * (BUG transitions into DONE — the planmagnetQualityMetrics definition). Gates: reviewed in the window (reviewedAt — * the planmagnetQualityMetrics definition), failure rate by phase; gates are per project, so a productId makes * gateFailureRate FILTER_NOT_APPLICABLE. */ export type PlanmagnetQualityAreas = { __typename?: 'PlanmagnetQualityAreas'; bugsCreated: Scalars['Int']['output']; bugsResolved: Scalars['Int']['output']; gateFailureRate: PlanmagnetBusinessIntelligenceRatio; /** Highest failure rate first. */ gatePhases: Array<PlanmagnetGatePhaseFailure>; notEnoughData: Scalars['Boolean']['output']; /** * Open bugs at the window end minus open bugs at its start, from the recorded transitions (each records the status * before and after the move). Null when the history read was truncated. */ openBugChange?: Maybe<Scalars['Int']['output']>; /** Projects with completed work or bugs in the window, highest reopen rate first. */ projects: Array<PlanmagnetProjectQuality>; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; reopenRate: PlanmagnetBusinessIntelligenceRatio; /** More than 5,000 items or 50,000 history rows: reopen rates and openBugChange are null; bug/gate aggregates remain exact. */ truncated: Scalars['Boolean']['output']; }; export type PlanmagnetQualityGateFilter = { milestoneId?: InputMaybe<Scalars['String']['input']>; phase?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<QualityGateStatus>; }; export type PlanmagnetQualityGateList = { __typename?: 'PlanmagnetQualityGateList'; items: Array<QualityGate>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Bug/defect and quality-gate metrics for a workspace or one project, within a date range (default: the * trailing 30 days) — ANR-20. Every count scopes to LIVE (not soft-deleted) rows. */ export type PlanmagnetQualityMetrics = { __typename?: 'PlanmagnetQualityMetrics'; /** BUG work items created within the range. */ bugsOpened: Scalars['Int']['output']; /** * BUG work items whose transition INTO DONE fell within the range. An item resolved more than once in range * (reopened, then redone) counts once per DONE transition — the same transition-event counting * planmagnetCycleTime/planmagnetThroughput already use, not a per-item dedupe. */ bugsResolved: Scalars['Int']['output']; /** * bugsOpened divided by non-BUG work items whose transition INTO DONE fell in the same range. Null when that * denominator is 0 — never divides by zero, never invents a rate. */ defectRatio?: Maybe<Scalars['Float']['output']>; endDate: Scalars['DateTime']['output']; /** qualityGatesPassed / qualityGatesReviewed. Null when nothing was reviewed in range. */ gatePassRate?: Maybe<Scalars['Float']['output']>; /** Mean hours from a bug's creation to its DONE transition, over bugsResolved. Null when bugsResolved is 0. */ meanTimeToResolveHours?: Maybe<Scalars['Float']['output']>; /** * Live BUG work items not currently DONE or CANCELLED, as of now. NOT range-bound — the present backlog, * like planmagnetWorkItemCounts. */ openBugs: Scalars['Int']['output']; /** openBugs broken down by priority. A priority with zero open bugs is omitted, not zeroed. */ openBugsByPriority: Array<PlanmagnetQualityPriorityCount>; projectId?: Maybe<Scalars['ID']['output']>; /** Of those, how many currently read PASSED (the outcome recorded by that same review). */ qualityGatesPassed: Scalars['Int']['output']; /** Quality gates whose reviewedAt fell within the range (their latest review, whatever the outcome). */ qualityGatesReviewed: Scalars['Int']['output']; startDate: Scalars['DateTime']['output']; }; export type PlanmagnetQualityPriorityCount = { __typename?: 'PlanmagnetQualityPriorityCount'; count: Scalars['Int']['output']; priority: WorkItemPriority; }; /** * Defect ratio (bugsOpened / non-bug items reaching DONE, same definition planmagnetQualityMetrics uses) * for the last 4 weeks vs the 4 weeks before that. */ export type PlanmagnetQualityTrend = { __typename?: 'PlanmagnetQualityTrend'; priorDefectRatio?: Maybe<Scalars['Float']['output']>; recentDefectRatio?: Maybe<Scalars['Float']['output']>; trend: PlanmagnetQualityTrendDirection; }; export declare enum PlanmagnetQualityTrendDirection { /** recentDefectRatio is at least 10% below priorDefectRatio. */ Improving = "IMPROVING", /** Within 10% of the prior 4-week ratio. */ Stable = "STABLE", /** Either ratio is null (no DONE work / no bugs in that window to compute a ratio from). */ Unknown = "UNKNOWN", /** recentDefectRatio is at least 10% above priorDefectRatio. */ Worsening = "WORSENING" } /** * Workspace-level quota usage and limits for PlanMagnet. Each limit is the one * enforced for that quota: the sum of the workspace's active billing assignments * for it. A limit is null when none is known: an assignment is unlimited, the * workspace holds no assignment for the quota, or billing could not be reached. */ export type PlanmagnetQuotaOverview = { __typename?: 'PlanmagnetQuotaOverview'; /** Number of active automation rules in the workspace */ automationRuleCount: Scalars['Int']['output']; /** * Automation runs the workspace may execute per month * (`planmagnet.automation.runs_monthly`, the limit the run gate checks). Null * when unlimited, unassigned, or billing could not be reached. Unlike the other * limits, unassigned does not mean uncapped: the run gate refuses every run * while the workspace holds no assignment for this quota. */ automationRunsMonthlyLimit?: Maybe<Scalars['Int']['output']>; /** Number of active boards across all projects */ boardCount: Scalars['Int']['output']; /** * Most active boards the workspace may hold (`planmagnet.boards.count`, the * limit board creation is checked against). Null when unlimited, unassigned, or * billing could not be reached; board creation is not capped in any of those * cases. */ boardLimit?: Maybe<Scalars['Int']['output']>; /** Number of active editor seats in the workspace (BOFF-5094) */ editorCount: Scalars['Int']['output']; /** * Most editor seats the workspace may hold (`planmagnet.editors.count`, the * limit editor grants are checked against). Null when unlimited, unassigned, or * billing could not be reached; editor grants are not capped in any of those * cases. */ editorLimit?: Maybe<Scalars['Int']['output']>; /** Number of active projects in the workspace */ projectCount: Scalars['Int']['output']; /** * Most active projects the workspace may hold (`planmagnet.projects.count`, * the limit project creation is checked against). Null when unlimited, * unassigned, or billing could not be reached; project creation is not capped * in any of those cases. */ projectLimit?: Maybe<Scalars['Int']['output']>; /** Workspace identifier */ workspaceId: Scalars['ID']['output']; }; /** Result of a planmagnetReindexSearch backfill run. */ export type PlanmagnetReindexResult = { __typename?: 'PlanmagnetReindexResult'; /** Rows re-emitted, broken down by entity type */ counts: Array<PlanmagnetReindexTypeCount>; /** Total live rows re-emitted across every indexed entity type */ totalReindexed: Scalars['Int']['output']; }; /** Rows re-emitted to globalSearch for one entity type by planmagnetReindexSearch. */ export type PlanmagnetReindexTypeCount = { __typename?: 'PlanmagnetReindexTypeCount'; /** Live rows of this type re-emitted, in the caller's workspace */ count: Scalars['Int']['output']; /** * The graph entity type name (Program, Project, WorkItem, FeatureRequest, Doc, Release, Objective, Portfolio, * Risk, RoadmapItem, Sprint, Milestone, Roadmap, Team, Product) */ entityType: Scalars['String']['output']; }; export type PlanmagnetReleaseBlocker = { __typename?: 'PlanmagnetReleaseBlocker'; /** * Unfinished (or, for START_* dependencies, unstarted) predecessors holding * it back. They may belong to another release or project. */ waitingOn: Array<WorkItem>; workItem: WorkItem; }; /** One criterion on a release's readiness checklist (PRM-19): something the team checks off before shipping. */ export type PlanmagnetReleaseChecklistItem = { __typename?: 'PlanmagnetReleaseChecklistItem'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; doneAt?: Maybe<Scalars['DateTime']['output']>; /** Who ticked it, and when — cleared when it is unticked */ doneBy?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isDone: Scalars['Boolean']['output']; /** Required items block RELEASED while open; optional ones never do */ isRequired: Scalars['Boolean']['output']; label: Scalars['String']['output']; note?: Maybe<Scalars['String']['output']>; position: Scalars['Int']['output']; releaseId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; export type PlanmagnetReleaseFilter = { ownerId?: InputMaybe<Scalars['String']['input']>; productId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ReleaseStatus>; }; export type PlanmagnetReleaseList = { __typename?: 'PlanmagnetReleaseList'; items: Array<Release>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetReleaseNotesCounts = { __typename?: 'PlanmagnetReleaseNotesCounts'; bugFixes: Scalars['Int']['output']; features: Scalars['Int']['output']; improvements: Scalars['Int']['output']; other: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type PlanmagnetReleaseReadiness = { __typename?: 'PlanmagnetReleaseReadiness'; blockers: Array<PlanmagnetReleaseBlocker>; /** Checklist items ticked */ checklistDone: Scalars['Int']['output']; /** Checklist items on the release (PRM-19) */ checklistTotal: Scalars['Int']['output']; doneItems: Scalars['Int']['output']; /** Labels of the required checklist items still open — what blocks shipping */ openRequiredChecklist: Array<Scalars['String']['output']>; /** Ids of the open (not DONE or CANCELLED) items in scope. */ openWorkItemIds: Array<Scalars['ID']['output']>; releaseId: Scalars['ID']['output']; scope: PlanmagnetReleaseScope; /** * Items in scope. For PROJECTS scope only open items are in scope, so this * equals the open count. */ totalItems: Scalars['Int']['output']; }; /** * How a release's scope was chosen. * - WORK_ITEMS: the release's own work items * - PROJECTS: it has none of its own, so every open item in its projects * - NONE: it has neither work items nor projects */ export declare enum PlanmagnetReleaseScope { None = "NONE", Projects = "PROJECTS", WorkItems = "WORK_ITEMS" } export type PlanmagnetReorderColumnsInput = { columnIds: Array<Scalars['ID']['input']>; }; /** A saved report. */ export type PlanmagnetReport = { __typename?: 'PlanmagnetReport'; createdAt: Scalars['DateTime']['output']; definition: PlanmagnetReportDefinition; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** The actor who owns this report — the only actor who may update, delete, run or share it. */ ownerId: Scalars['String']['output']; /** Set when this report was created from a standard template (planmagnetReportTemplates) — informational only. */ templateKey?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; visibility: PlanmagnetReportVisibility; workspaceId: Scalars['String']['output']; }; export type PlanmagnetReportDefinition = { __typename?: 'PlanmagnetReportDefinition'; /** At most 24 widgets (report.service.ts's MAX_WIDGETS); each `id` unique within the report. */ widgets: Array<PlanmagnetReportWidget>; }; export type PlanmagnetReportDefinitionInput = { widgets: Array<PlanmagnetReportWidgetInput>; }; /** * Set only on a SCHEDULE run's persisted ReportRun.deliveryStatus (ANR-15), null for MANUAL runs. It records what the * schedule's in-app notification step did. NOTIFIED means the notification service ACCEPTED every notification — not that * anyone opened it; recipients always read the run in-app (planmagnetReportRuns / planmagnetReportRun) either way. */ export declare enum PlanmagnetReportDeliveryStatus { /** There were recipients to notify but none was accepted (or the workspace member list could not be read). */ NotificationFailed = "NOTIFICATION_FAILED", /** Every still-active recipient's in-app notification was accepted by the notification service. */ Notified = "NOTIFIED", /** The schedule names no recipient who is still an active workspace member — nothing to deliver. */ NoRecipients = "NO_RECIPIENTS", /** Some, but not all, recipients' notifications were accepted. */ PartiallyNotified = "PARTIALLY_NOTIFIED", /** The run exists but no delivery was attempted (notifications are not configured in this environment, or the run predates delivery). */ PendingNotifications = "PENDING_NOTIFICATIONS" } export type PlanmagnetReportExport = { __typename?: 'PlanmagnetReportExport'; content: Scalars['String']['output']; contentType: Scalars['String']['output']; filename: Scalars['String']['output']; }; /** Also reused by planmagnetExportReportRun (ANR-16) — the same three text export formats either way. */ export declare enum PlanmagnetReportExportFormat { Csv = "CSV", Json = "JSON", Xml = "XML" } export type PlanmagnetReportFilter = { /** Only the caller's own reports — narrower than the default own+WORKSPACE-visible set. */ mine?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<PlanmagnetReportVisibility>; }; export type PlanmagnetReportList = { __typename?: 'PlanmagnetReportList'; items: Array<PlanmagnetReport>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * One persisted execution of a Report — a snapshot, not a live view. Re-running the same report produces a NEW * ReportRun; nothing here changes if the underlying data changes afterwards. */ export type PlanmagnetReportRun = { __typename?: 'PlanmagnetReportRun'; deliveryStatus?: Maybe<PlanmagnetReportDeliveryStatus>; generatedAt: Scalars['DateTime']['output']; /** The actor this run executed AS — the caller for MANUAL, the report's owner for SCHEDULE. */ generatedBy: Scalars['String']['output']; id: Scalars['ID']['output']; reportId: Scalars['ID']['output']; trigger: PlanmagnetReportRunTrigger; widgets: Array<PlanmagnetWidgetRunResult>; workspaceId: Scalars['String']['output']; }; export type PlanmagnetReportRunList = { __typename?: 'PlanmagnetReportRunList'; items: Array<PlanmagnetReportRun>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetReportRunTrigger { /** A person ran this report themselves (planmagnetRunReport). */ Manual = "MANUAL", /** A ReportSchedule ran this report as its report's owner (ANR-15). */ Schedule = "SCHEDULE" } export type PlanmagnetReportSchedule = { __typename?: 'PlanmagnetReportSchedule'; /** Paused schedules (active: false) are never picked up by the scheduler tick, but are not deleted. */ active: Scalars['Boolean']['output']; cadence: PlanmagnetReportScheduleCadence; createdAt: Scalars['DateTime']['output']; /** Set only when cadence is MONTHLY. 1-28. */ dayOfMonth?: Maybe<Scalars['Int']['output']>; /** Set only when cadence is WEEKLY. 0 = Sunday .. 6 = Saturday (DateTime.getUTCDay()). */ dayOfWeek?: Maybe<Scalars['Int']['output']>; format: PlanmagnetReportExportFormat; /** UTC hour of day, 0-23, this schedule runs at. */ hourUtc: Scalars['Int']['output']; id: Scalars['ID']['output']; /** Set when the most recent tick failed to run this schedule — e.g. its report was deleted. */ lastError?: Maybe<Scalars['String']['output']>; lastRunAt?: Maybe<Scalars['DateTime']['output']>; lastRunId?: Maybe<Scalars['ID']['output']>; nextRunAt: Scalars['DateTime']['output']; /** Workspace actor ids who can read this report's runs in-app — see this file's header on delivery. */ recipientIds: Array<Scalars['String']['output']>; reportId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; export declare enum PlanmagnetReportScheduleCadence { Daily = "DAILY", /** Runs on `dayOfMonth` (required for this cadence, capped 1-28 so every month has that day — no month-length edge cases). */ Monthly = "MONTHLY", /** Runs on `dayOfWeek` (required for this cadence). */ Weekly = "WEEKLY" } /** * A share link the report's owner created. Never carries the raw token (returned * ONCE, only from planmagnetCreateReportShare) or the password hash. */ export type PlanmagnetReportShare = { __typename?: 'PlanmagnetReportShare'; accessCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; /** True when a password was set at creation — never the password or its hash. */ hasPassword: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; reportId: Scalars['ID']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; runId: Scalars['ID']['output']; /** * The raw share token — set ONLY on the response of planmagnetCreateReportShare. It is never stored (only its * sha256 hash is) and is never returned again by any other field or query. */ token?: Maybe<Scalars['String']['output']>; watermark: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; /** * Which real PlanMagnet read-side function backs a widget. See report-sources.ts * for the full source -> service-function -> RBAC-resource mapping this enum's * values are drawn from 1:1 — nothing here is a bespoke reports-only query. */ export declare enum PlanmagnetReportSource { BudgetVariance = "BUDGET_VARIANCE", Burndown = "BURNDOWN", CumulativeFlow = "CUMULATIVE_FLOW", CycleTime = "CYCLE_TIME", DeliveryKpis = "DELIVERY_KPIS", ProjectStatus = "PROJECT_STATUS", QualityMetrics = "QUALITY_METRICS", Risks = "RISKS", StatusFlow = "STATUS_FLOW", TeamWorkload = "TEAM_WORKLOAD", Throughput = "THROUGHPUT", TimeByPerson = "TIME_BY_PERSON", Velocity = "VELOCITY", WorkBreakdown = "WORK_BREAKDOWN", WorkItems = "WORK_ITEMS" } /** * ANR-14: one of the 5 standard report templates — a real, runnable definition over REPORT_SOURCE_SPECS' sources, * shipped with each widget's `params` empty (a template is customised — project, team, date range — before it is * saved and run; see report-templates.ts). */ export type PlanmagnetReportTemplate = { __typename?: 'PlanmagnetReportTemplate'; definition: PlanmagnetReportDefinition; description: Scalars['String']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; }; export declare enum PlanmagnetReportVisibility { /** Only the owner can read, update, delete, run or share this report. */ Private = "PRIVATE", /** * Readable by anyone who can read reports in this workspace (gated the same * as every other report read — `planmagnet-workitem` read). Only the owner * may still update, delete, run or share it. */ Workspace = "WORKSPACE" } export type PlanmagnetReportWidget = { __typename?: 'PlanmagnetReportWidget'; id: Scalars['ID']['output']; layout: PlanmagnetWidgetLayout; params: PlanmagnetWidgetParams; source: PlanmagnetReportSource; title: Scalars['String']['output']; type: PlanmagnetWidgetType; }; export type PlanmagnetReportWidgetInput = { id: Scalars['ID']['input']; layout: PlanmagnetWidgetLayoutInput; params: PlanmagnetWidgetParamsInput; source: PlanmagnetReportSource; title: Scalars['String']['input']; type: PlanmagnetWidgetType; }; export type PlanmagnetRequestRoadmapReviewInput = { note?: InputMaybe<Scalars['String']['input']>; /** Workspace actors asked to decide. At least one is required */ reviewerIds: Array<Scalars['String']['input']>; }; /** * A statistical resource/capacity forecast for one team or one project (ANR-11). Never an AI/LLM call — * see confidenceNote. */ export type PlanmagnetResourceForecast = { __typename?: 'PlanmagnetResourceForecast'; /** * True when the open-backlog scan hit its safety-cap row limit: this scan stopped early, so * openEstimatedPoints and unestimatedOpenItems reflect only the first items found, not the whole * backlog in scope. */ backlogTruncated: Scalars['Boolean']['output']; /** One row per sprint of the horizon. Empty when insufficientHistory (no capacity to forecast against). */ capacityGaps: Array<PlanmagnetCapacityGapSprint>; /** Always set — explains the method and what demand/capacity assume in plain language. */ confidenceNote: Scalars['String']['output']; /** Echoes the horizonSprints argument. Must be a whole number from 1 to 12 — the query refuses anything outside that range with BAD_USER_INPUT rather than clamping it. */ horizonSprints: Scalars['Int']['output']; /** Fewer than 3 completed sprints with a non-zero velocity. When true, velocityP50, sprintsToClear and capacityGaps are all null/empty — never a guessed capacity. */ insufficientHistory: Scalars['Boolean']['output']; /** * Sum of storyPoints over live, open (not DONE/CANCELLED), ESTIMATED work items in scope — for TEAM, * across every one of the team's live member projects; for PROJECT, that project's own items. */ openEstimatedPoints: Scalars['Int']['output']; /** Set only when scopeType is PROJECT. */ projectId?: Maybe<Scalars['ID']['output']>; scopeType: PlanmagnetResourceForecastScopeType; /** openEstimatedPoints / velocityP50. Null when insufficientHistory, or when velocityP50 is 0. */ sprintsToClear?: Maybe<Scalars['Float']['output']>; /** Set only when scopeType is TEAM. */ teamId?: Maybe<Scalars['ID']['output']>; /** Open items in scope with no story-point estimate — counted, never silently dropped. */ unestimatedOpenItems: Scalars['Int']['output']; /** * Median (p50) of the trailing completed sprints' velocities — see planmagnetForecastDelivery, which * this reuses the same resolution for (a team's own sprints, or a project's own sprints). Null when * insufficientHistory. */ velocityP50?: Maybe<Scalars['Float']['output']>; }; export declare enum PlanmagnetResourceForecastScopeType { Project = "PROJECT", Team = "TEAM" } /** * Two flags, each naming the rule that fired: a required skill with open demand and no qualified active member * (planmagnetSkillCoverage UNCOVERED), and urgent work left unassigned. "Qualified people idle" is NOT reported until * CWF-28 supplies real availability. Both are as of now, not windowed. */ export type PlanmagnetResourceOptimization = { __typename?: 'PlanmagnetResourceOptimization'; /** True when skill coverage is unknown (SKILL_DATA_UNAVAILABLE); the urgent-unassigned rule is still evaluated. */ notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** More than 5,000 open items in scope require a skill: demand covers the 5,000 oldest. */ skillDemandTruncated: Scalars['Boolean']['output']; /** Skills that open work in scope requires — the sample uncoveredSkills is drawn from. */ skillsWithDemand: Scalars['Int']['output']; uncoveredSkills: Array<PlanmagnetSkillCoverage>; /** Open CRITICAL/HIGH items in scope — the sample urgentUnassignedCount is drawn from. */ urgentOpenCount: Scalars['Int']['output']; urgentThresholdDays: Scalars['Int']['output']; /** CRITICAL before HIGH, oldest first; at most 100 (urgentUnassignedCount is the full count). */ urgentUnassigned: Array<PlanmagnetUrgentUnassignedItem>; urgentUnassignedCount: Scalars['Int']['output']; }; export type PlanmagnetReviewQualityGateInput = { reviewNotes?: InputMaybe<Scalars['String']['input']>; status: QualityGateStatus; }; /** * Sum of likelihood x impact over the project's OPEN risks (status not RESOLVED/CLOSED), with the top 3 * by exposure. */ export type PlanmagnetRiskExposure = { __typename?: 'PlanmagnetRiskExposure'; topRisks: Array<PlanmagnetRiskExposureItem>; totalExposure: Scalars['Int']['output']; }; /** One risk's contribution to riskExposure — the Risk's own stored likelihood x impact (riskScore). */ export type PlanmagnetRiskExposureItem = { __typename?: 'PlanmagnetRiskExposureItem'; exposure: Scalars['Int']['output']; impact?: Maybe<Scalars['Int']['output']>; likelihood?: Maybe<Scalars['Int']['output']>; riskId: Scalars['ID']['output']; title: Scalars['String']['output']; }; export type PlanmagnetRiskFilter = { category?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<RiskSeverity>; status?: InputMaybe<RiskStatus>; }; export declare enum PlanmagnetRiskFlagKind { /** * On a milestone due within 7 days whose open items' delivery forecast * (planmagnetForecastDelivery) puts the p85 completion date after the * milestone's due date. Never raised when that forecast itself is * insufficientHistory. The forecast always resamples from the milestone's * FULL remaining scope (every one of its own live open items across the * whole project) — independent of any sprintId this query was narrowed by; * a sprintId narrows which flagged ITEMS can appear in the result, never * what a milestone's own remaining-scope forecast is computed from. */ AtRiskMilestone = "AT_RISK_MILESTONE", /** * An open BLOCKED_BY issue link (see WorkItemLink) to another work item that * is itself not DONE/CANCELLED. */ Blocked = "BLOCKED", /** * In the item's active sprint, its assignee's total open story points exceed * their fair share of the sprint's capacity (Sprint.capacity, or the sprint's * Team.capacity for a team-scoped sprint, split evenly across that sprint's * distinct assignees). Never raised when neither capacity figure is set. */ OvercommittedAssignee = "OVERCOMMITTED_ASSIGNEE", /** dueDate has passed and the item is not DONE/CANCELLED. */ Overdue = "OVERDUE", /** Added to its (now active) sprint after that sprint started. */ ScopeCreep = "SCOPE_CREEP", /** * A started (IN_PROGRESS/IN_REVIEW/TESTING) item that has not had a status * update for max(5 days, 2x the project's median cycle time). */ Stale = "STALE" } export type PlanmagnetRiskFlagKindCount = { __typename?: 'PlanmagnetRiskFlagKindCount'; count: Scalars['Int']['output']; kind: PlanmagnetRiskFlagKind; }; export declare enum PlanmagnetRiskFlagSeverity { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type PlanmagnetRiskFlagSeverityCount = { __typename?: 'PlanmagnetRiskFlagSeverityCount'; count: Scalars['Int']['output']; severity: PlanmagnetRiskFlagSeverity; }; export type PlanmagnetRiskList = { __typename?: 'PlanmagnetRiskList'; items: Array<Risk>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Aggregated risk matrix data for a project showing risk distribution * across likelihood and impact dimensions. */ export type PlanmagnetRiskMatrix = { __typename?: 'PlanmagnetRiskMatrix'; /** Average risk score */ averageRiskScore?: Maybe<Scalars['Float']['output']>; /** Risks by severity */ bySeverity: Scalars['JSON']['output']; /** Risks by status */ byStatus: Scalars['JSON']['output']; /** Risk distribution matrix (likelihood x impact) */ matrix: Scalars['JSON']['output']; /** Project ID */ projectId: Scalars['ID']['output']; /** Total number of risks */ totalRisks: Scalars['Int']['output']; }; /** * A comment on a roadmap, or on one specific item of it (PRM-11). Visible to * everyone who can read the roadmap; only its author can edit or delete it — * same shape as PlanmagnetWorkItemComment. */ export type PlanmagnetRoadmapComment = { __typename?: 'PlanmagnetRoadmapComment'; /** Actor who posted the comment */ authorId: Scalars['String']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Set when the author changed the body after posting */ editedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; roadmapId: Scalars['ID']['output']; /** * Null when the comment is on the roadmap itself; set when it is on one item * of it. */ roadmapItemId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; }; export type PlanmagnetRoadmapCommentList = { __typename?: 'PlanmagnetRoadmapCommentList'; items: Array<PlanmagnetRoadmapComment>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A thin, workspace- and roadmap-scoped real-time notification that a roadmap or one of its items changed (PRM-11). * Carries identifiers and the names of the fields that changed — NEVER the record itself — so a subscriber re-reads * `planmagnetRoadmap(id)` (when `id` equals `roadmapId`, meaning the roadmap itself changed) or * `planmagnetRoadmapItem(id)` (any other `id` names one of its items) under its own permissions, instead of trusting * a payload that bypassed RBAC and row-level scoping. */ export type PlanmagnetRoadmapEvent = { __typename?: 'PlanmagnetRoadmapEvent'; /** Actor who made the change */ actorId: Scalars['String']['output']; /** When the change was made */ at: Scalars['DateTime']['output']; /** Names of the fields that changed. Empty for CREATED/DELETED. */ changedFields: Array<Scalars['String']['output']>; /** * The id of whatever changed: the roadmap's own id for a roadmap-level change, or one of its items' id otherwise — * compare against `roadmapId` to tell the two apart. */ id: Scalars['ID']['output']; /** What kind of change this is */ kind: PlanmagnetRoadmapEventKind; /** The roadmap this change belongs to. Equal to `id` when the change is to the roadmap itself. */ roadmapId: Scalars['ID']['output']; /** The roadmap's workspace */ workspaceId: Scalars['ID']['output']; }; /** * What kind of change a real-time roadmap event represents (PRM-11). `MOVED` is a Now/Next/Later placement or * reorder on a RoadmapItem — it never applies to the roadmap itself, which is only ever CREATED/UPDATED/DELETED. */ export declare enum PlanmagnetRoadmapEventKind { Created = "CREATED", Deleted = "DELETED", Moved = "MOVED", Updated = "UPDATED" } export type PlanmagnetRoadmapFilter = { /** false: only roadmaps with no planning focus set; true: only roadmaps that have one */ hasPlanningFocus?: InputMaybe<Scalars['Boolean']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; planningFocus?: InputMaybe<RoadmapPlanningFocus>; productId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<RoadmapType>; }; /** * Which Now/Next/Later horizon a roadmap item is placed in (PRM-06). This is a VIEW over any roadmap's items, not a * roadmap type — a roadmap keeps one `type` (its display) regardless of whether any of its items carry a horizon. */ export declare enum PlanmagnetRoadmapHorizon { Later = "LATER", Next = "NEXT", Now = "NOW" } export type PlanmagnetRoadmapItemFilter = { /** Now/Next/Later horizon (PRM-06). Matches only items placed in this horizon; does not select unplaced items. */ horizon?: InputMaybe<PlanmagnetRoadmapHorizon>; milestoneId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; roadmapId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<RoadmapItemStatus>; }; export type PlanmagnetRoadmapItemList = { __typename?: 'PlanmagnetRoadmapItemList'; items: Array<RoadmapItem>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetRoadmapList = { __typename?: 'PlanmagnetRoadmapList'; items: Array<Roadmap>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** A stakeholder review request against a roadmap's current state (PRM-11). */ export type PlanmagnetRoadmapReview = { __typename?: 'PlanmagnetRoadmapReview'; createdAt: Scalars['DateTime']['output']; /** Set once the review leaves OPEN (every reviewer approved, or one requested changes) */ decidedAt?: Maybe<Scalars['DateTime']['output']>; /** Each reviewer's decision so far, in the order they decided */ decisions: Array<PlanmagnetRoadmapReviewDecision>; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; /** Actor who asked for review */ requestedBy: Scalars['String']['output']; /** Workspace actors asked to decide */ reviewerIds: Array<Scalars['String']['output']>; roadmapId: Scalars['ID']['output']; status: PlanmagnetRoadmapReviewStatus; updatedAt: Scalars['DateTime']['output']; }; /** * One reviewer's decision on a RoadmapReview (PRM-11). Immutable — a reviewer * decides at most once per review. */ export type PlanmagnetRoadmapReviewDecision = { __typename?: 'PlanmagnetRoadmapReviewDecision'; decidedAt: Scalars['DateTime']['output']; decision: PlanmagnetRoadmapReviewDecisionKind; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; reviewId: Scalars['ID']['output']; reviewerId: Scalars['String']['output']; }; /** One reviewer's decision on a RoadmapReview (PRM-11). */ export declare enum PlanmagnetRoadmapReviewDecisionKind { Approved = "APPROVED", ChangesRequested = "CHANGES_REQUESTED" } /** * Lifecycle of a stakeholder review request (PRM-11). * - OPEN: waiting on one or more of `reviewerIds` * - APPROVED: every listed reviewer approved * - CHANGES_REQUESTED: at least one reviewer asked for changes (final — a fresh * round is a NEW review request, not a re-opened one) * - WITHDRAWN: the requester pulled it before every reviewer decided */ export declare enum PlanmagnetRoadmapReviewStatus { Approved = "APPROVED", ChangesRequested = "CHANGES_REQUESTED", Open = "OPEN", Withdrawn = "WITHDRAWN" } /** Risk level recorded against a roadmap item (PRM-10). */ export declare enum PlanmagnetRoadmapRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } /** * A named, point-in-time snapshot of a roadmap and its live items (PRM-11): * the roadmap plus each item's horizon, confidence, risk, sort order, dates * and status at the moment it was saved. Immutable once written. There is no * restore mutation in this release — only listing, reading and diffing. */ export type PlanmagnetRoadmapVersion = { __typename?: 'PlanmagnetRoadmapVersion'; createdAt: Scalars['DateTime']['output']; /** Actor who saved this version */ createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; note?: Maybe<Scalars['String']['output']>; roadmapId: Scalars['ID']['output']; /** The roadmap + its live items at save time. Bounded to 2000 items per version. */ snapshot: Scalars['JSON']['output']; }; /** * Server-computed difference between two roadmap states (PRM-11): a saved * version, or the roadmap's CURRENT live items when `toVersionId` is omitted. */ export type PlanmagnetRoadmapVersionDiff = { __typename?: 'PlanmagnetRoadmapVersionDiff'; added: Array<PlanmagnetRoadmapVersionDiffItem>; changed: Array<PlanmagnetRoadmapVersionItemChange>; fromVersionId: Scalars['ID']['output']; removed: Array<PlanmagnetRoadmapVersionDiffItem>; /** Null when diffed against the roadmap's current live items */ toVersionId?: Maybe<Scalars['ID']['output']>; }; /** An item present on one side of a diff but not the other (PRM-11). */ export type PlanmagnetRoadmapVersionDiffItem = { __typename?: 'PlanmagnetRoadmapVersionDiffItem'; itemId: Scalars['ID']['output']; title: Scalars['String']['output']; }; /** * An item present on both sides of a diff with at least one changed field * (PRM-11). `from`/`to` are JSON objects keyed by the names in `changedFields`, * e.g. `{ "status": "PLANNED" }` / `{ "status": "IN_PROGRESS" }`. */ export type PlanmagnetRoadmapVersionItemChange = { __typename?: 'PlanmagnetRoadmapVersionItemChange'; changedFields: Array<Scalars['String']['output']>; from: Scalars['JSON']['output']; itemId: Scalars['ID']['output']; title: Scalars['String']['output']; to: Scalars['JSON']['output']; }; export type PlanmagnetRoadmapVersionList = { __typename?: 'PlanmagnetRoadmapVersionList'; items: Array<PlanmagnetRoadmapVersionSummary>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A named version of a roadmap, without its snapshot — what * `planmagnetRoadmapVersions` lists. Fetch `planmagnetRoadmapVersion(id)` for * the full snapshot. */ export type PlanmagnetRoadmapVersionSummary = { __typename?: 'PlanmagnetRoadmapVersionSummary'; createdAt: Scalars['DateTime']['output']; /** Actor who saved this version */ createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; note?: Maybe<Scalars['String']['output']>; roadmapId: Scalars['ID']['output']; }; /** ROI to date — not windowed: the realized benefit as recorded, against everything spent so far. */ export type PlanmagnetRoiAnalysis = { __typename?: 'PlanmagnetRoiAnalysis'; /** One row per currency only when the project read is complete; never a sum over a capped subset. */ byCurrency: Array<PlanmagnetCurrencyRoi>; notEnoughData: Scalars['Boolean']['output']; projectCount: Scalars['Int']['output']; /** Live projects in scope, by name (at most 1,000 — see truncated). */ projects: Array<PlanmagnetProjectRoi>; /** Projects with a benefit in the complete scope; null when the project read is capped. */ projectsWithBenefit?: Maybe<Scalars['Int']['output']>; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** More than 1,000 projects: projects contains the first 1,000; scope totals are withheld (TRUNCATED). */ truncated: Scalars['Boolean']['output']; }; /** * CSAT: a 1-5 answer, 4-5 counted as satisfied. NPS: a 0-10 answer, 9-10 promoters, 7-8 passives, 0-6 detractors. * TEXT-backed in Prisma; this enum (and the service) is the only validator. */ export declare enum PlanmagnetSatisfactionMetricType { Csat = "CSAT", Nps = "NPS" } /** * Where a response came from: MANUAL (entered one at a time by a team member) or IMPORT (a batch from a file). Set by * the mutation used — never by the caller. */ export declare enum PlanmagnetSatisfactionResponseSource { Import = "IMPORT", Manual = "MANUAL" } export type PlanmagnetSatisfactionWindow = { __typename?: 'PlanmagnetSatisfactionWindow'; /** The start of the first UTC day counted. */ from: Scalars['DateTime']['output']; preset: PlanmagnetSatisfactionWindowPreset; /** The end (23:59:59.999) of the last UTC day counted. */ to: Scalars['DateTime']['output']; }; /** The window a figure covers. Responses count when their respondedAt is in [from, to], both ends included. */ export type PlanmagnetSatisfactionWindowInput = { /** CUSTOM only (required there). Any other preset with from/to is BAD_USER_INPUT. */ from?: InputMaybe<Scalars['DateTime']['input']>; /** Defaults to LAST_90_DAYS. */ preset?: InputMaybe<PlanmagnetSatisfactionWindowPreset>; /** CUSTOM only (required there). Not before `from`. */ to?: InputMaybe<Scalars['DateTime']['input']>; }; /** A satisfaction window: the N UTC calendar days ending today (today included), or CUSTOM. */ export declare enum PlanmagnetSatisfactionWindowPreset { /** From the start of `from`'s UTC day to the end of `to`'s — both required. */ Custom = "CUSTOM", Last_30Days = "LAST_30_DAYS", Last_90Days = "LAST_90_DAYS", Last_180Days = "LAST_180_DAYS", Last_365Days = "LAST_365_DAYS" } export type PlanmagnetSaveRoadmapVersionInput = { /** At most 120 characters */ name: Scalars['String']['input']; note?: InputMaybe<Scalars['String']['input']>; }; /** * Committed (velocityPlanned) vs delivered points, over completed sprints in range that had velocityPlanned > * 0. `delivered` reads the same single BOFF-7944 velocity definition `Sprint.velocity`/`planmagnetVelocity` * already use (the completion snapshot when there is one, else the DONE-at-completion reconstruction) — never * a bare read of velocityActual, which is 0/unset for every sprint completed before that snapshot existed. */ export type PlanmagnetScopeAdherence = { __typename?: 'PlanmagnetScopeAdherence'; /** deliveredPoints / committedPoints. Null when committedPoints is 0. */ adherenceRate?: Maybe<Scalars['Float']['output']>; committedPoints: Scalars['Int']['output']; deliveredPoints: Scalars['Int']['output']; sprints: Array<PlanmagnetScopeAdherenceSprint>; }; export type PlanmagnetScopeAdherenceSprint = { __typename?: 'PlanmagnetScopeAdherenceSprint'; committed: Scalars['Int']['output']; delivered: Scalars['Int']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; export type PlanmagnetSetCustomFieldValueInput = { definitionId: Scalars['String']['input']; value: Scalars['JSON']['input']; workItemId: Scalars['String']['input']; }; /** * The public, read-only view a share link resolves to — deliberately minimal: never a workspace/report/run id, * never any actor id beyond what the snapshot's widget data already shows. */ export type PlanmagnetSharedReport = { __typename?: 'PlanmagnetSharedReport'; generatedAt: Scalars['DateTime']['output']; reportName: Scalars['String']['output']; watermark: Scalars['String']['output']; /** FORBIDDEN widgets stay FORBIDDEN — exactly as the run recorded them; this endpoint grants no new access. */ widgets: Array<PlanmagnetWidgetRunResult>; }; /** One skill's coverage in the requested scope. */ export type PlanmagnetSkillCoverage = { __typename?: 'PlanmagnetSkillCoverage'; /** The part of openDemand that has an assignee — anyone, qualified or not */ assignedDemand: PlanmagnetSkillDemand; /** Open work items in scope (not DONE or CANCELLED, not deleted, in a live project) that require the skill */ openDemand: PlanmagnetSkillDemand; /** The number of qualifiedMembers */ qualifiedMemberCount: Scalars['Int']['output']; /** Qualified members, ordered by name. Empty when status is UNKNOWN */ qualifiedMembers: Array<PlanmagnetSkillQualifiedMember>; /** * The skill tag, in the first spelling found — open work items (oldest first) before CrewFoundry. Matching ignores * case and surrounding/repeated whitespace */ skill: Scalars['String']['output']; status: PlanmagnetSkillCoverageStatus; /** Qualified members assigned none of this skill's open demand in scope (assignedDemandCount = 0) */ unassignedQualifiedCount: Scalars['Int']['output']; }; /** * Narrows planmagnetSkillCoverage. Every field is optional; the ones given are AND-ed together. A given id must be a * live project / team / sprint of this workspace (NOT_FOUND otherwise). */ export type PlanmagnetSkillCoverageFilter = { /** Only open work items of this project */ projectId?: InputMaybe<Scalars['ID']['input']>; /** Only open work items in this sprint */ sprintId?: InputMaybe<Scalars['ID']['input']>; /** * Only open work items of this team's live projects — and only this team's live members (who are active workspace * members) count as qualified. Without a team, every active workspace member counts */ teamId?: InputMaybe<Scalars['ID']['input']>; }; /** * Skill coverage for a workspace, optionally narrowed (ANR-07 skill view, ANR-28 skill utilization). Utilization is * counts and story points only — hours-based skill utilization is NOT computed until CrewFoundry has a per-person * capacity baseline (CWF-28). */ export type PlanmagnetSkillCoverageResult = { __typename?: 'PlanmagnetSkillCoverageResult'; /** * True when the CrewFoundry roster could not be read in full (unreachable, or failing part-way through paging). * Qualified members are then not counted and every skill with open demand is UNKNOWN. An empty roster is NOT * unavailable */ crewfoundryUnavailable: Scalars['Boolean']['output']; /** * True when the workspace member directory (or the members' e-mail identities) could not be read in full. Qualified * members are then not counted and every skill with open demand is UNKNOWN */ membersUnavailable: Scalars['Boolean']['output']; /** * One row per skill that open work in scope requires or a qualified member has: UNCOVERED first, then UNKNOWN, * COVERED and NO_DEMAND; within each, most open work items first, then by skill */ skills: Array<PlanmagnetSkillCoverage>; /** * True when more than 5,000 open work items in scope require a skill: the demand figures then cover the 5,000 * oldest only */ truncated: Scalars['Boolean']['output']; }; /** How well a skill's open demand is covered by qualified members. */ export declare enum PlanmagnetSkillCoverageStatus { /** Open work in scope requires the skill and at least one qualified member exists */ Covered = "COVERED", /** No open work in scope requires the skill — it is listed because a qualified member has it */ NoDemand = "NO_DEMAND", /** Open work in scope requires the skill and no qualified member exists */ Uncovered = "UNCOVERED", /** * Open work in scope requires the skill, but qualified members could not be counted: CrewFoundry or the workspace * member directory could not be read (see crewfoundryUnavailable / membersUnavailable). Never reported as UNCOVERED */ Unknown = "UNKNOWN" } /** * Open work items requiring a skill: how many, and the sum of their story points (an item with no estimate counts as * 0 — the same rule as planmagnetWorkItemCounts and the sprint analytics). */ export type PlanmagnetSkillDemand = { __typename?: 'PlanmagnetSkillDemand'; storyPoints: Scalars['Int']['output']; workItemCount: Scalars['Int']['output']; }; /** * A workspace member whose matched, ACTIVE CrewFoundry employee record lists the skill. The member is matched the * same way sprint capacity matches an assignee: the CWF-30 identity override first, else the workspace e-mail. */ export type PlanmagnetSkillQualifiedMember = { __typename?: 'PlanmagnetSkillQualifiedMember'; /** Platform actor id (the same value as WorkItem.assigneeId) */ actorId: Scalars['String']['output']; /** Open work items in scope that require this skill and are assigned to this member */ assignedDemandCount: Scalars['Int']['output']; /** The matched CrewFoundry CrewEmployee.id */ employeeId: Scalars['ID']['output']; /** The CrewFoundry employee's full name */ employeeName: Scalars['String']['output']; }; export declare enum PlanmagnetSortDirection { Asc = "ASC", Desc = "DESC" } /** Burndown series for a single sprint, scoped to items currently in it. */ export type PlanmagnetSprintBurndown = { __typename?: 'PlanmagnetSprintBurndown'; endDate?: Maybe<Scalars['DateTime']['output']>; /** One reading per calendar day of the sprint (or to today, if still active). */ points: Array<PlanmagnetBurndownPoint>; sprintId: Scalars['ID']['output']; startDate?: Maybe<Scalars['DateTime']['output']>; /** Total work item count currently in the sprint. */ totalCount: Scalars['Int']['output']; /** Total story points across all items currently in the sprint. */ totalPoints: Scalars['Int']['output']; }; /** Cross-layer sprint capacity snapshot (BOFF-4444). */ export type PlanmagnetSprintCapacity = { __typename?: 'PlanmagnetSprintCapacity'; /** * True when the CrewFoundry roster could not be read in full — the service * unreachable or timing out, or failing part-way through paging the roster. * Callers render "capacity data unavailable" instead of an empty list. A * workspace whose CrewFoundry roster is readable but EMPTY is NOT unavailable: * its assignees are listed in `unmatchedAssigneeIds`, like any other assignee * with no matching CrewFoundry employee. */ crewfoundryUnavailable: Scalars['Boolean']['output']; /** * One entry per work-item assignee who was successfully matched to a real * CrewFoundry employee record */ members: Array<PlanmagnetSprintCapacityMember>; rangeEnd: Scalars['DateTime']['output']; /** * Window the capacity figures were computed over — the sprint's own * startDate/endDate, or a trailing 14-day default when the sprint has no * dates set (e.g. still PLANNING) */ rangeStart: Scalars['DateTime']['output']; sprintId: Scalars['ID']['output']; /** * Work-item assignees (actor ids) who could NOT be matched to a CrewFoundry * employee — no workspace identity, or no CrewFoundry roster match by * e-mail. This is the expected outcome for a workspace with no CrewFoundry * module provisioned, or for a non-employee collaborator, not an error. */ unmatchedAssigneeIds: Array<Scalars['String']['output']>; /** `unmatchedAssigneeIds.length` (CWF-30) — a named count so the UI can show it without counting the array itself. */ unmatchedCount: Scalars['Int']['output']; }; /** * Real CrewFoundry capacity/allocation for one sprint work-item assignee * (BOFF-4444) — sourced live, cross-layer, from `wspace-crewfoundry-svc`. */ export type PlanmagnetSprintCapacityMember = { __typename?: 'PlanmagnetSprintCapacityMember'; /** Platform actor id (the same value as `WorkItem.assigneeId`) */ actorId: Scalars['String']['output']; /** * Real CrewFoundry-tracked hours allocated across all projects over the * sprint's date window (`crewEmployeeAllocation.totalHours`) */ allocatedHours: Scalars['Float']['output']; /** Sum of story points on this person's assigned work items in this sprint */ assignedStoryPoints: Scalars['Int']['output']; /** Work items in this sprint assigned to this person */ assignedWorkItemCount: Scalars['Int']['output']; /** * Real CrewFoundry-tracked billable hours over the same window * (`crewEmployeeAllocation.billableHours`) */ billableHours: Scalars['Float']['output']; /** CrewFoundry department */ department: Scalars['String']['output']; /** Matched CrewFoundry `CrewEmployee.id` */ employeeId: Scalars['ID']['output']; /** CrewFoundry employee's full name */ employeeName: Scalars['String']['output']; /** CrewFoundry position/title */ position: Scalars['String']['output']; /** * The employee's skill tags as CrewFoundry records them (tidied: trimmed, whitespace collapsed, case-insensitive * duplicates dropped). Read-only — CrewFoundry is canonical for person skills and PlanMagnet never writes them; * edit them in CrewFoundry. Empty when CrewFoundry lists none. */ skills: Array<Scalars['String']['output']>; /** * `billableHours / allocatedHours * 100`, rounded to 1 decimal place. Null * when `allocatedHours` is 0 (nothing to divide by). */ utilizationPercent?: Maybe<Scalars['Float']['output']>; }; /** * A thin, workspace-scoped real-time notification that a sprint changed * (PDM-21). Carries identifiers and the names of the fields that changed — * NEVER the record itself — so a subscriber re-reads `planmagnetSprint(id)` * under its own permissions instead of trusting a payload that bypassed RBAC * and row-level scoping. */ export type PlanmagnetSprintEvent = { __typename?: 'PlanmagnetSprintEvent'; /** Actor who made the change */ actorId: Scalars['String']['output']; /** When the change was made */ at: Scalars['DateTime']['output']; /** Names of the fields that changed. Empty for CREATED/DELETED. */ changedFields: Array<Scalars['String']['output']>; /** The changed sprint's id */ id: Scalars['ID']['output']; /** What kind of change this is */ kind: PlanmagnetSprintEventKind; /** The sprint's project. Null for a team-scoped sprint (BOFF-8044) — it has no single owning project. */ projectId?: Maybe<Scalars['ID']['output']>; /** The sprint's workspace */ workspaceId: Scalars['ID']['output']; }; /** * What kind of change a real-time sprint event represents. Start/complete/ * cancel all report `STATUS_CHANGED`; adding or removing work items reports * `UPDATED` (the sprint itself did not move status). */ export declare enum PlanmagnetSprintEventKind { Created = "CREATED", Deleted = "DELETED", StatusChanged = "STATUS_CHANGED", Updated = "UPDATED" } export type PlanmagnetSprintFilter = { projectId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SprintStatus>; /** Team-scoped sprints of this team (BOFF-8044). */ teamId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetSprintList = { __typename?: 'PlanmagnetSprintList'; items: Array<Sprint>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** What completing a sprint does with its unfinished work items. */ export declare enum PlanmagnetSprintOpenItemsAction { /** Keep them recorded in the completed sprint (they can no longer be changed from it). Used when no choice is sent. */ KeepInSprint = "KEEP_IN_SPRINT", /** Return them to the backlog (no sprint). */ MoveToBacklog = "MOVE_TO_BACKLOG", /** Carry them into targetSprintId: a sprint that is not finished and accepts every one of them. */ MoveToSprint = "MOVE_TO_SPRINT" } /** One change to a sprint's planned start or end date (BOFF-7918). */ export type PlanmagnetSprintPlanChange = { __typename?: 'PlanmagnetSprintPlanChange'; changedAt: Scalars['DateTime']['output']; changedBy: Scalars['String']['output']; /** "startDate" or "endDate" */ field: Scalars['String']['output']; fromValue?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** * The sprint's status when the plan changed: PLANNING is planning; ACTIVE is a * replan of a commitment. */ sprintStatus: SprintStatus; toValue?: Maybe<Scalars['DateTime']['output']>; }; export declare enum PlanmagnetSprintScope { Project = "PROJECT", Team = "TEAM" } export type PlanmagnetSprintWorkItemsInput = { workItemIds: Array<Scalars['ID']['input']>; }; /** Reporting group of a status. DONE and CANCELLED never change category. */ export declare enum PlanmagnetStatusCategory { Backlog = "BACKLOG", Cancelled = "CANCELLED", Done = "DONE", Started = "STARTED", Unstarted = "UNSTARTED" } /** * One aggregated status-to-status transition edge for a project's live work items within a date window — Sankey * source data. Only real transitions count: the genesis row every create() writes (`fromStatus` null) is * excluded, since it is not a flow between two statuses. */ export type PlanmagnetStatusFlowEdge = { __typename?: 'PlanmagnetStatusFlowEdge'; count: Scalars['Int']['output']; fromStatus: WorkItemStatus; toStatus: WorkItemStatus; }; /** One open status in the window: how many items entered and left it, and how long items waited in it before leaving. */ export type PlanmagnetStatusQueue = { __typename?: 'PlanmagnetStatusQueue'; /** Exits in the window whose entry is recorded — the dwell sample. */ dwellSampleSize: Scalars['Int']['output']; /** Transitions into the status in the window (creation into it included). */ entered: Scalars['Int']['output']; /** entered − left; above 0 the queue grew. */ growth: Scalars['Int']['output']; /** Transitions out of the status in the window. */ left: Scalars['Int']['output']; /** Null below minimumSample or when dwell history was capped. */ medianDwellHours?: Maybe<Scalars['Float']['output']>; notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; status: WorkItemStatus; }; /** ANR-12: who or what made a recorded status change — decided by the server-side write path, never by the caller. */ export declare enum PlanmagnetStatusTransitionSource { /** An AI action (reserved: no AI path changes a status yet) */ Ai = "AI", /** An automation rule's SET_STATUS action (automationRuleId names the rule) */ Automation = "AUTOMATION", /** A status taken from an external tool by a sync or an accepted sync conflict */ Import = "IMPORT", /** The platform itself, reacting to an integration event (e.g. the linked pull request merged) */ System = "SYSTEM", /** A person's direct change: create, update, move, bulk update, or a board card move */ User = "USER" } /** * Work completed in the window (a live item with a transition into DONE in the window, counted once) that contributes * to an ACTIVE objective: the item, or its epic (its parent or grandparent of type EPIC), is linked to a live key result * of an ACTIVE objective. Unlinked completed work stays in the denominator. Story points are the items' current * estimates; an item without one counts 0 points. */ export type PlanmagnetStrategicAlignment = { __typename?: 'PlanmagnetStrategicAlignment'; /** Aligned items ÷ completed items. */ byCount: PlanmagnetBusinessIntelligenceRatio; /** Aligned story points ÷ completed story points. */ byPoints: PlanmagnetBusinessIntelligenceRatio; notEnoughData: Scalars['Boolean']['output']; reason?: Maybe<PlanmagnetBusinessIntelligenceReason>; /** Theme totals are withheld when the completed-item read is capped. */ themes: Array<PlanmagnetAlignmentTheme>; /** More than 5,000 items completed: ratios are null and themes withheld; no partial figure is presented. */ truncated: Scalars['Boolean']['output']; /** Completed items without an estimate among the bounded rows (0 points in byPoints). */ unestimatedCount: Scalars['Int']['output']; }; export declare enum PlanmagnetSuccessLikelihood { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type PlanmagnetSuggestDocEditInput = { baseVersion: Scalars['Int']['input']; docId: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; proposedContent: Scalars['String']['input']; /** Null/omitted proposes no title change — only the content */ proposedTitle?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetSuggestWorkItemBreakdownInput = { /** Plain-text feature request or description to break down. */ description: Scalars['String']['input']; /** * Optional explicit provider override ("gemini" | "openai" | "anthropic"). * Omit to use the platform's default provider chain. */ requestedProvider?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetSyncConflictList = { __typename?: 'PlanmagnetSyncConflictList'; items: Array<SyncConflict>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Which side wins a conflict (AUT-10). "Source" is always PlanMagnet, "target" is always the external provider, * regardless of which sync leg (import/export) detected the conflict. Used both as ExternalSync.conflictStrategy * (the automatic default) and as the resolution recorded on a SyncConflict / passed to * planmagnetResolveSyncConflict. */ export declare enum PlanmagnetSyncConflictResolution { Manual = "MANUAL", /** * AUT-24 — a field-level merge over the retained remote payload rather than a whole-side pick: each sync leg * keeps whichever side's title/description it is NOT overwriting, while status/priority/dueDate/labels still * follow that leg's normal direction. A manual `planmagnetResolveSyncConflict(resolution: MERGE)` call instead * pulls the external issue's structured fields onto the WorkItem while leaving both sides' title/description * untouched. See `shouldProceedOnConflict`/`applyConflictResolution` in sync.service.ts for the exact policy. */ Merge = "MERGE", SourceWins = "SOURCE_WINS", TargetWins = "TARGET_WINS" } /** * Status of a detected SyncConflict (AUT-10): OPEN until resolved, RESOLVED once a resolution is applied * (automatically by ExternalSync.conflictStrategy, or manually via planmagnetResolveSyncConflict). */ export declare enum PlanmagnetSyncConflictStatus { Open = "OPEN", Resolved = "RESOLVED" } /** Result of planmagnetTestExternalSync (AUT-23/20): writes nothing, just probes the connection. */ export type PlanmagnetSyncConnectionTestResult = { __typename?: 'PlanmagnetSyncConnectionTestResult'; message: Scalars['String']['output']; ok: Scalars['Boolean']['output']; /** The provider's own remaining-calls counter for this credential, when the provider and the probe both expose one */ rateLimitRemaining?: Maybe<Scalars['Int']['output']>; }; export declare enum PlanmagnetSyncDirection { Bidirectional = "BIDIRECTIONAL", Inbound = "INBOUND", Outbound = "OUTBOUND" } export declare enum PlanmagnetSyncProvider { Asana = "ASANA", AzureDevops = "AZURE_DEVOPS", Clickup = "CLICKUP", Custom = "CUSTOM", Github = "GITHUB", Gitlab = "GITLAB", Jira = "JIRA", Linear = "LINEAR", Shortcut = "SHORTCUT", Trello = "TRELLO" } /** * AUT-23/20 — one provider's real capabilities, derived from the connector code itself, never a hard-coded wish * list: see planmagnetSupportedSyncProviders. */ export type PlanmagnetSyncProviderCapability = { __typename?: 'PlanmagnetSyncProviderCapability'; provider: PlanmagnetSyncProvider; supportsBidirectional: Scalars['Boolean']['output']; /** Whether planmagnetTestExternalSync can reach a real authenticated endpoint for this provider */ supportsConnectionTest: Scalars['Boolean']['output']; supportsExport: Scalars['Boolean']['output']; /** The provider-agnostic planmagnetImportExternalIssues (CSV/JSON export upload) path */ supportsFileImport: Scalars['Boolean']['output']; supportsImport: Scalars['Boolean']['output']; }; /** Result of a sync operation. */ export type PlanmagnetSyncResult = { __typename?: 'PlanmagnetSyncResult'; /** Number of items skipped because they were a detected conflict (AUT-10) — also counted within itemsSkipped */ conflictCount: Scalars['Int']['output']; /** Sync duration in milliseconds */ durationMs?: Maybe<Scalars['Int']['output']>; /** Number of errors */ errorCount: Scalars['Int']['output']; /** Error details */ errors?: Maybe<Array<Scalars['String']['output']>>; /** Number of items created */ itemsCreated: Scalars['Int']['output']; /** Number of items skipped */ itemsSkipped: Scalars['Int']['output']; /** Number of items updated */ itemsUpdated: Scalars['Int']['output']; /** Whether the sync was successful */ success: Scalars['Boolean']['output']; /** Sync configuration ID */ syncId: Scalars['ID']['output']; /** Sync timestamp */ syncedAt: Scalars['DateTime']['output']; }; /** AUT-22/09 — ExternalSync.runHealth: a summary computed from its SyncRun history. */ export type PlanmagnetSyncRunHealth = { __typename?: 'PlanmagnetSyncRunHealth'; /** * How many of the most recent runs (capped — see SyncService.getRunHealthForSyncs) failed in a row, counting * back from the latest. 0 once the latest run did not fail. */ consecutiveFailures: Scalars['Int']['output']; lastRunAt?: Maybe<Scalars['DateTime']['output']>; lastStatus?: Maybe<PlanmagnetSyncRunStatus>; runsLast7Days: Scalars['Int']['output']; }; export type PlanmagnetSyncRunList = { __typename?: 'PlanmagnetSyncRunList'; items: Array<SyncRun>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Outcome of one run recorded in SyncRun (AUT-22): SUCCEEDED when nothing errored, FAILED when nothing succeeded * either, PARTIAL when both happened. */ export declare enum PlanmagnetSyncRunStatus { Failed = "FAILED", Partial = "PARTIAL", Succeeded = "SUCCEEDED" } export declare enum PlanmagnetSyncStatus { Disabled = "DISABLED", Failed = "FAILED", Idle = "IDLE", Paused = "PAUSED", Success = "SUCCESS", Syncing = "SYNCING" } /** * AUT-02 — planmagnetEnableSyncWebhook's response. `secret` is returned in PLAINTEXT exactly once: store it in the * repo's GitHub webhook settings immediately, it cannot be read back from this API again. */ export type PlanmagnetSyncWebhookSecret = { __typename?: 'PlanmagnetSyncWebhookSecret'; /** * The path deliveries are POSTed to: /rest/webhooks/github/{syncId}. NOTE: not reachable from the public internet * until the gateway route ships (Platform ticket BOFF-8238) — this mutation and the secret are safe to call ahead * of that. */ deliveryPath: Scalars['String']['output']; secret: Scalars['String']['output']; }; export type PlanmagnetTeamFilter = { search?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetTeamList = { __typename?: 'PlanmagnetTeamList'; items: Array<Team>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetTeamMembersInput = { actorIds: Array<Scalars['ID']['input']>; }; export type PlanmagnetTeamProjectsInput = { projectIds: Array<Scalars['ID']['input']>; }; /** Velocity across the trailing N completed sprints of a team (BOFF-8044). */ export type PlanmagnetTeamVelocity = { __typename?: 'PlanmagnetTeamVelocity'; averageVelocity: Scalars['Float']['output']; forecastNextSprintPoints: Scalars['Float']['output']; sprints: Array<PlanmagnetTeamVelocitySprintPoint>; teamId: Scalars['ID']['output']; }; /** * One project's share of a team sprint's completed points (BOFF-8044) — shares always sum to that sprint's team * total by construction (see analytics.service.ts / utils/sprint-velocity.ts). */ export type PlanmagnetTeamVelocityProjectShare = { __typename?: 'PlanmagnetTeamVelocityProjectShare'; count: Scalars['Int']['output']; points: Scalars['Int']['output']; projectId: Scalars['ID']['output']; projectName: Scalars['String']['output']; }; /** * One completed team sprint's velocity reading, with its per-project split (BOFF-8044). The split is the * snapshot captured at completion (sprint_project_velocities) — a later work-item reassignment across the * team's projects cannot rewrite it. */ export type PlanmagnetTeamVelocitySprintPoint = { __typename?: 'PlanmagnetTeamVelocitySprintPoint'; byProject: Array<PlanmagnetTeamVelocityProjectShare>; completedCount: Scalars['Int']['output']; completedPoints: Scalars['Int']['output']; plannedPoints?: Maybe<Scalars['Int']['output']>; sequenceNumber: Scalars['Int']['output']; sprintId: Scalars['ID']['output']; sprintName: Scalars['String']['output']; }; /** * Throughput (items/points completed per period) for a project over a date range — the sibling * metric to planmagnetCycleTime, same data source (WorkItemStatusTransition into DONE). Every bucket * in range is emitted, including empty ones (0/0), so a chart never silently skips a dead period. */ export type PlanmagnetThroughput = { __typename?: 'PlanmagnetThroughput'; bucket: PlanmagnetThroughputBucket; endDate: Scalars['DateTime']['output']; points: Array<PlanmagnetThroughputPoint>; projectId: Scalars['ID']['output']; startDate: Scalars['DateTime']['output']; }; export declare enum PlanmagnetThroughputBucket { Day = "DAY", Week = "WEEK" } /** One bucket's completed work: item count and story points that reached DONE within it. */ export type PlanmagnetThroughputPoint = { __typename?: 'PlanmagnetThroughputPoint'; completedCount: Scalars['Int']['output']; completedPoints: Scalars['Int']['output']; /** Bucket start (UTC midnight; for WEEK, the Monday that starts the bucket). */ periodStart: Scalars['DateTime']['output']; }; /** The caller's own logged hours within a date range, broken down by project and by work item type (ANR-08). */ export type PlanmagnetTimeAllocation = { __typename?: 'PlanmagnetTimeAllocation'; byProject: Array<PlanmagnetTimeAllocationProject>; byWorkItemType: Array<PlanmagnetTimeAllocationType>; endDate: Scalars['DateTime']['output']; startDate: Scalars['DateTime']['output']; totalHours: Scalars['Float']['output']; }; export type PlanmagnetTimeAllocationProject = { __typename?: 'PlanmagnetTimeAllocationProject'; hours: Scalars['Float']['output']; projectId: Scalars['ID']['output']; projectName: Scalars['String']['output']; }; /** * One work-item-type bucket of the caller's hours. `type` is null for the "no work item" bucket — hours logged * with no `workItemId` (both planmagnetLogTime and planmagnetCreateTimeEntry allow that). */ export type PlanmagnetTimeAllocationType = { __typename?: 'PlanmagnetTimeAllocationType'; hours: Scalars['Float']['output']; type?: Maybe<WorkItemType>; }; /** * An individual time record capturing work performed on a specific * work item during a time period. */ export type PlanmagnetTimeEntry = { __typename?: 'PlanmagnetTimeEntry'; /** Billing rate per hour */ billingRate?: Maybe<Scalars['Float']['output']>; /** Billing type */ billingType: BillingType; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this entry */ createdBy: Scalars['String']['output']; /** Date the work was performed */ date: Scalars['DateTime']['output']; /** Description of work performed */ description?: Maybe<Scalars['String']['output']>; /** Duration in minutes */ durationMinutes: Scalars['Int']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Project ID */ projectId: Scalars['String']['output']; /** Current status */ status: TimeEntryStatus; /** Timesheet this entry belongs to */ timesheetId?: Maybe<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who performed the work */ userId: Scalars['String']['output']; /** Work item reference */ workItem?: Maybe<WorkItem>; /** Work item this time was logged against */ workItemId: Scalars['String']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export type PlanmagnetTimeEntryFilter = { billingType?: InputMaybe<BillingType>; /** Entries dated on or after this UTC day */ dateFrom?: InputMaybe<Scalars['DateTime']['input']>; /** Entries dated on or before this UTC day (the whole day is included) */ dateTo?: InputMaybe<Scalars['DateTime']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<TimeEntryStatus>; timesheetId?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['String']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetTimeEntryList = { __typename?: 'PlanmagnetTimeEntryList'; items: Array<PlanmagnetTimeEntry>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * An optional date window shared by the generic metrics/analytics queries below — the same startDate/endDate * shape every other analytics query in this file already takes as plain arguments, named for reuse here. */ export type PlanmagnetTimeRangeInput = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * A timesheet aggregating time entries for a user over a specific period, * used for approval and billing workflows. */ export type PlanmagnetTimesheet = { __typename?: 'PlanmagnetTimesheet'; /** Approval timestamp */ approvedAt?: Maybe<Scalars['DateTime']['output']>; /** Approver actor ID */ approverId?: Maybe<Scalars['String']['output']>; /** Total billable minutes */ billableMinutes: Scalars['Int']['output']; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this timesheet */ createdBy: Scalars['String']['output']; /** Time entries in this timesheet */ entries: Array<PlanmagnetTimeEntry>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Period end date */ periodEnd: Scalars['DateTime']['output']; /** Period start date */ periodStart: Scalars['DateTime']['output']; /** Rejection reason */ rejectionReason?: Maybe<Scalars['String']['output']>; /** Current status */ status: TimeEntryStatus; /** Total duration in minutes */ totalMinutes: Scalars['Int']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor this timesheet belongs to */ userId: Scalars['String']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export type PlanmagnetTimesheetFilter = { /** With periodStart: timesheets whose period OVERLAPS the window (inclusive by UTC day). Alone: periods starting on or before this day */ periodEnd?: InputMaybe<Scalars['DateTime']['input']>; /** With periodEnd: timesheets whose period OVERLAPS the window (inclusive by UTC day). Alone: periods ending on or after this day */ periodStart?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<TimeEntryStatus>; userId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetTimesheetList = { __typename?: 'PlanmagnetTimesheetList'; items: Array<PlanmagnetTimesheet>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A workspace member with a live work-item assignment that could not be matched to a CrewFoundry employee — no * manual override, and no e-mail match against the CrewFoundry roster. Scanned across every live work item in the * workspace, not one sprint, so an admin can get ahead of it instead of discovering it sprint by sprint. */ export type PlanmagnetUnmatchedCrewIdentity = { __typename?: 'PlanmagnetUnmatchedCrewIdentity'; /** Workspace display name, when the workspace identity lookup resolved one. */ displayName?: Maybe<Scalars['String']['output']>; /** Workspace e-mail, when the workspace identity lookup resolved one. */ email?: Maybe<Scalars['String']['output']>; /** Platform actor id (the same value as `WorkItem.assigneeId`). */ platformUserId: Scalars['ID']['output']; }; export type PlanmagnetUpdateAutomationRuleInput = { actions?: InputMaybe<Scalars['JSON']['input']>; conditions?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; triggerConfig?: InputMaybe<Scalars['JSON']['input']>; triggerType?: InputMaybe<PlanmagnetAutomationTriggerType>; }; export type PlanmagnetUpdateBoardColumnInput = { mappedStatus?: InputMaybe<WorkItemStatus>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; type?: InputMaybe<BoardColumnType>; wipLimit?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetUpdateBoardInput = { description?: InputMaybe<Scalars['String']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<BoardType>; }; export type PlanmagnetUpdateBoardViewInput = { /** A board of the same project; null clears it */ boardId?: InputMaybe<Scalars['String']['input']>; /** Replaces the whole configuration */ config?: InputMaybe<PlanmagnetBoardViewConfigInput>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<PlanmagnetBoardViewVisibility>; }; export type PlanmagnetUpdateBudgetInput = { currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; plannedAmount?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<BudgetStatus>; }; export type PlanmagnetUpdateCompetitorInput = { /** * ANR-12: the structured capability list, replaced as a whole (at most 100 entries). Null clears it; omit it to leave * it alone. */ capabilities?: InputMaybe<Array<PlanmagnetCompetitorCapabilityInput>>; description?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; pricing?: InputMaybe<Scalars['JSON']['input']>; strengths?: InputMaybe<Array<Scalars['String']['input']>>; tags?: InputMaybe<Array<Scalars['String']['input']>>; weaknesses?: InputMaybe<Array<Scalars['String']['input']>>; website?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateCustomFieldDefinitionInput = { defaultValue?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; fieldType?: InputMaybe<CustomFieldType>; isRequired?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; options?: InputMaybe<Scalars['JSON']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; validationRules?: InputMaybe<Scalars['JSON']['input']>; }; /** * `source` and `externalId` are absent: they identify where the answer came from and never change. An omitted field * keeps its value. A new metricType is checked against the stored score (and a new score against the stored type). * Sending any of productId/releaseId/projectId re-checks the whole resulting link set (null clears a link; one must * remain). isAnonymous true clears any stored respondent identity. */ export type PlanmagnetUpdateCustomerSatisfactionResponseInput = { /** Null clears it. */ comment?: InputMaybe<Scalars['String']['input']>; /** Cannot be cleared. */ isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; /** Cannot be cleared. */ metricType?: InputMaybe<PlanmagnetSatisfactionMetricType>; /** Null clears it. */ productId?: InputMaybe<Scalars['ID']['input']>; /** Null clears it. */ projectId?: InputMaybe<Scalars['ID']['input']>; /** Null clears it. */ releaseId?: InputMaybe<Scalars['ID']['input']>; /** Cannot be cleared. */ respondedAt?: InputMaybe<Scalars['DateTime']['input']>; /** Null clears it. */ respondentEmail?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ respondentName?: InputMaybe<Scalars['String']['input']>; /** Cannot be cleared. */ score?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetUpdateDependencyInput = { description?: InputMaybe<Scalars['String']['input']>; lagMinutes?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<DependencyStatus>; type?: InputMaybe<DependencyType>; }; export type PlanmagnetUpdateDocInput = { /** Optional note recorded on the new revision this update creates. */ changeNote?: InputMaybe<Scalars['String']['input']>; content?: InputMaybe<Scalars['String']['input']>; /** * The version this edit started from. When set, the save is refused (CONFLICT) * if the doc has moved on since — someone else saved in between — instead of * silently overwriting their change. */ expectedVersion?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<DocStatus>; title?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateExpenseInput = { amount?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; date?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; referenceUrl?: InputMaybe<Scalars['String']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateExternalSyncInput = { conflictStrategy?: InputMaybe<PlanmagnetSyncConflictResolution>; /** * @deprecated(reason: "Provide integrationConnectionId instead (BOFF-5258). Credential keys are stripped before * storage whenever the sync references (or is being associated with) an IntegrationConnection.") */ connectionConfig?: InputMaybe<Scalars['JSON']['input']>; direction?: InputMaybe<PlanmagnetSyncDirection>; externalProjectId?: InputMaybe<Scalars['String']['input']>; externalProjectUrl?: InputMaybe<Scalars['String']['input']>; fieldMapping?: InputMaybe<Scalars['JSON']['input']>; /** * Opaque reference to a wspace-integrations-svc IntegrationConnection (BOFF-5258). Pass null to detach the * reference and return to the legacy locally-stored credential path. */ integrationConnectionId?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** AUT-12 — GITHUB only. See ExternalSync.prMergedStatus. Pass null to turn it back off. */ prMergedStatus?: InputMaybe<WorkItemStatus>; syncFilters?: InputMaybe<Scalars['JSON']['input']>; }; export type PlanmagnetUpdateFeatureRequestInput = { businessValue?: InputMaybe<Scalars['Int']['input']>; /** CWF-15: freeform. Null clears it. */ category?: InputMaybe<Scalars['String']['input']>; /** PRM-26 RICE: 1-10. Null clears it. */ confidence?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; effortEstimate?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10. Null clears it. */ effortScore?: InputMaybe<Scalars['Int']['input']>; /** PRM-26 RICE: 1-10. Null clears it. */ impact?: InputMaybe<Scalars['Int']['input']>; /** CWF-15: hide the requester from non-moderator reads. */ isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; /** PRM-27. Null clears it. */ kano?: InputMaybe<PlanmagnetKano>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** PRM-27. Null clears it. */ moscow?: InputMaybe<PlanmagnetMoscow>; /** * Null clears it. While the request is linked to a product feature (productFeatureId), only that feature's product is * accepted — any other is BAD_USER_INPUT and nothing is written (PRM-01); clearing it is always allowed. */ productId?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['String']['input']>; /** CWF-15: 1-5. Null clears it. */ rating?: InputMaybe<Scalars['Int']['input']>; /** PRM-26 RICE: 1-10. Null clears it. */ reach?: InputMaybe<Scalars['Int']['input']>; /** Link to the initiative that addresses this request, or null to unlink (PRM-24) */ roadmapItemId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<FeatureRequestStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10. Null clears it. */ valueScore?: InputMaybe<Scalars['Int']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateKeyResultInput = { /** Refused while the (resulting) progress source is LINKED_WORK_ITEMS */ currentValue?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; /** Switching LINKED_WORK_ITEMS -> MANUAL keeps the last computed value as the starting currentValue */ progressSource?: InputMaybe<KeyResultProgressSource>; startValue?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<KeyResultStatus>; targetValue?: InputMaybe<Scalars['Float']['input']>; title?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; /** * `calendarEventId` is deliberately absent: re-pointing a meeting at a * different calendar event is a new link, not an edit of this one — unlink * and link again instead. `projectId`/`sprintId`/`milestoneId` are likewise * absent: moving a meeting between projects/sprints/milestones is out of * scope for this phase (see this module's resolvers for the full deferred * list). */ export type PlanmagnetUpdateMeetingInput = { agenda?: InputMaybe<Scalars['String']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; kind?: InputMaybe<PlanmagnetMeetingKind>; notes?: InputMaybe<Scalars['String']['input']>; recurrenceRule?: InputMaybe<Scalars['String']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateMilestoneInput = { completedAt?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<MilestoneStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; }; export type PlanmagnetUpdateObjectiveInput = { description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; periodLabel?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<ObjectiveStatus>; title?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdatePortfolioInput = { alignment?: InputMaybe<StrategicAlignment>; alignmentLabel?: InputMaybe<Scalars['String']['input']>; budgetTotal?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; fiscalPeriod?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PortfolioStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** `productId` is deliberately absent: a feature stays with the product it was created under. */ export type PlanmagnetUpdateProductFeatureInput = { /** Null clears it. */ description?: InputMaybe<Scalars['String']['input']>; /** Null clears it to an empty object. */ metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ ownerId?: InputMaybe<Scalars['String']['input']>; /** Cannot be cleared: a feature always has a status. */ status?: InputMaybe<PlanmagnetProductFeatureStatus>; }; export type PlanmagnetUpdateProductInput = { /** PRM-02: at most 2000 characters. Null clears it. */ businessModel?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; lifecycleStage?: InputMaybe<PlanmagnetProductLifecycleStage>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** PRM-02: at most 2000 characters. Null clears it. */ mission?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; northStar?: InputMaybe<PlanmagnetProductNorthStarInput>; ownerId?: InputMaybe<Scalars['String']['input']>; /** PRM-02: at most 20 entries, each at most 120 characters. Omitted leaves it unchanged; null or [] both clear it (the Prisma column is non-null). */ targetSegments?: InputMaybe<Array<Scalars['String']['input']>>; /** PRM-02: at most 2000 characters. Null clears it. */ valueProposition?: InputMaybe<Scalars['String']['input']>; vision?: InputMaybe<Scalars['String']['input']>; }; /** * An omitted field keeps its value. Reorder with planmagnetReorderProductLaunchChecklist; complete or reopen with * planmagnetSetProductLaunchChecklistItemDone. */ export type PlanmagnetUpdateProductLaunchChecklistItemInput = { /** Cannot be cleared. */ category?: InputMaybe<PlanmagnetProductLaunchChecklistCategory>; /** Null clears it. */ dueDate?: InputMaybe<Scalars['DateTime']['input']>; isRequired?: InputMaybe<Scalars['Boolean']['input']>; /** Cannot be cleared. */ label?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ ownerId?: InputMaybe<Scalars['ID']['input']>; }; /** * `productId` is deliberately absent: a launch stays with the product it was created under. An omitted field keeps its * value. */ export type PlanmagnetUpdateProductLaunchInput = { /** Cannot be cleared. */ name?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ releaseId?: InputMaybe<Scalars['ID']['input']>; /** Null clears it. */ roadmapItemId?: InputMaybe<Scalars['ID']['input']>; /** * Cannot be cleared. LAUNCHED stamps launchedAt; PLANNING or READY clears it. LAUNCHED -> CANCELLED and * CANCELLED -> LAUNCHED are refused. A status that changed meanwhile is CONFLICT. */ status?: InputMaybe<PlanmagnetProductLaunchStatus>; /** Null clears it. */ strategySummary?: InputMaybe<Scalars['String']['input']>; /** Replaces the whole list; null empties it. */ successCriteria?: InputMaybe<Array<PlanmagnetProductLaunchSuccessCriterionInput>>; /** Cannot be cleared. Due dates already on the checklist are not moved. */ targetLaunchDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type PlanmagnetUpdateProductLineInput = { /** Null clears it. */ description?: InputMaybe<Scalars['String']['input']>; /** Null clears it to an empty object. */ metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ ownerId?: InputMaybe<Scalars['String']['input']>; }; /** * `productId` is absent: use the dedicated link/unlink mutations to change memberships. An omitted field keeps its value. * Refused while the persona is archived — unarchive it first. */ export type PlanmagnetUpdateProductPersonaInput = { /** Null clears it to an empty list. */ goals?: InputMaybe<Array<Scalars['String']['input']>>; /** Cannot be cleared. */ name?: InputMaybe<Scalars['String']['input']>; /** Null clears it to an empty list. */ needs?: InputMaybe<Array<Scalars['String']['input']>>; /** Null clears it to an empty list. */ painPoints?: InputMaybe<Array<Scalars['String']['input']>>; /** Null clears it. */ roleTitle?: InputMaybe<Scalars['String']['input']>; /** Null clears it. */ segment?: InputMaybe<Scalars['String']['input']>; /** * DRAFT or VALIDATED; cannot be cleared. Becoming VALIDATED stamps validatedAt, going back to DRAFT clears it. ARCHIVED * is refused — use planmagnetArchiveProductPersona. */ status?: InputMaybe<PlanmagnetProductPersonaStatus>; /** Cannot be cleared. */ summary?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateProgramInput = { budgetTotal?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetUpdateProjectInput = { /** ISO 4217 code of `realizedBenefitAmount` (three letters, e.g. "USD"). Sent together with it. */ benefitCurrency?: InputMaybe<Scalars['String']['input']>; /** When the benefit was measured — not in the future. Needs an amount: in this update, or already stored. Null clears it. */ benefitMeasuredAt?: InputMaybe<Scalars['DateTime']['input']>; /** * How the benefit was measured, or its source — at most 2000 characters. Needs an amount, like `benefitMeasuredAt`. * Null or blank clears it. */ benefitNote?: InputMaybe<Scalars['String']['input']>; defaultAssigneeId?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; key?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; methodology?: InputMaybe<ProjectMethodology>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; /** * Parent portfolio ID. Must exist in the same workspace and not be soft-deleted (BOFF-8047); pass `null` to * clear it. Only fields the caller actually sends are written — omit this to leave the current value alone. */ portfolioId?: InputMaybe<Scalars['String']['input']>; programId?: InputMaybe<Scalars['String']['input']>; /** * ANR-12: the realized benefit — a plain decimal string, 0 or more, at most 20 digits before the point and 2 after * (no sign, grouping separator or exponent). Send it TOGETHER with `benefitCurrency`: both set, or both null to clear * the realized benefit (which also clears `benefitMeasuredAt` and `benefitNote`). Omit both to leave them alone. */ realizedBenefitAmount?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PlanmagnetProjectStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; }; export type PlanmagnetUpdateProjectTemplateInput = { boardConfig?: InputMaybe<Scalars['JSON']['input']>; category?: InputMaybe<Scalars['String']['input']>; configuration?: InputMaybe<Scalars['JSON']['input']>; customFieldsConfig?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isPublished?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; sprintConfig?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** Omitted fields keep their current value; a list that is sent replaces the whole list */ export type PlanmagnetUpdateProjectWorkflowInput = { enforceTransitions?: InputMaybe<Scalars['Boolean']['input']>; /** Statuses not listed return to their defaults */ statuses?: InputMaybe<Array<PlanmagnetWorkflowStatusInput>>; transitions?: InputMaybe<Array<PlanmagnetWorkflowTransitionInput>>; }; export type PlanmagnetUpdateQualityGateInput = { criteria?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; milestoneId?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; phase?: InputMaybe<Scalars['String']['input']>; /** The release this gate holds (a release of the same project, or one with no projects) */ releaseId?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<QualityGateStatus>; }; export type PlanmagnetUpdateReleaseChecklistItemInput = { isRequired?: InputMaybe<Scalars['Boolean']['input']>; label?: InputMaybe<Scalars['String']['input']>; /** null clears it */ note?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetUpdateReleaseInput = { description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; plannedDate?: InputMaybe<Scalars['DateTime']['input']>; productId?: InputMaybe<Scalars['String']['input']>; releaseNotes?: InputMaybe<Scalars['String']['input']>; releasedAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<ReleaseStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; version?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateReportInput = { definition?: InputMaybe<PlanmagnetReportDefinitionInput>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<PlanmagnetReportVisibility>; }; export type PlanmagnetUpdateReportScheduleInput = { active?: InputMaybe<Scalars['Boolean']['input']>; cadence?: InputMaybe<PlanmagnetReportScheduleCadence>; dayOfMonth?: InputMaybe<Scalars['Int']['input']>; dayOfWeek?: InputMaybe<Scalars['Int']['input']>; format?: InputMaybe<PlanmagnetReportExportFormat>; hourUtc?: InputMaybe<Scalars['Int']['input']>; recipientIds?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PlanmagnetUpdateRiskInput = { category?: InputMaybe<Scalars['String']['input']>; contingencyPlan?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; impact?: InputMaybe<Scalars['Int']['input']>; likelihood?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; mitigationPlan?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; resolvedAt?: InputMaybe<Scalars['DateTime']['input']>; severity?: InputMaybe<RiskSeverity>; status?: InputMaybe<RiskStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateRoadmapInput = { description?: InputMaybe<Scalars['String']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; planningFocus?: InputMaybe<RoadmapPlanningFocus>; /** * Reassigning a roadmap to a Product is refused when one of its items is linked to another live Product's launch. * Unset (null) leaves a legacy roadmap available to any Product's launch; no launch item is copied or deleted. */ productId?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<RoadmapType>; }; export type PlanmagnetUpdateRoadmapItemInput = { color?: InputMaybe<Scalars['String']['input']>; confidence?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10. Null clears it. */ effortScore?: InputMaybe<Scalars['Int']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; horizon?: InputMaybe<PlanmagnetRoadmapHorizon>; /** PRM-27. Null clears it. */ kano?: InputMaybe<PlanmagnetKano>; metadata?: InputMaybe<Scalars['JSON']['input']>; milestoneId?: InputMaybe<Scalars['String']['input']>; /** PRM-27. Null clears it. */ moscow?: InputMaybe<PlanmagnetMoscow>; projectId?: InputMaybe<Scalars['String']['input']>; riskLevel?: InputMaybe<PlanmagnetRoadmapRiskLevel>; riskNote?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<RoadmapItemStatus>; swimlane?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; /** PRM-27: 1-10. Null clears it. */ valueScore?: InputMaybe<Scalars['Int']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateSprintInput = { capacity?: InputMaybe<Scalars['Int']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; goal?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * Accepted for API compatibility but not honored: sort position is always * the auto-assigned, per-project-unique `sequenceNumber` — see * sprint.service.ts. */ sortOrder?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; velocity?: InputMaybe<Scalars['Int']['input']>; }; export type PlanmagnetUpdateTeamInput = { capacity?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; leadId?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateTimeEntryInput = { billingRate?: InputMaybe<Scalars['Float']['input']>; billingType?: InputMaybe<BillingType>; date?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<TimeEntryStatus>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateWebhookSubscriptionInput = { events?: InputMaybe<Array<PlanmagnetAutomationTriggerType>>; /** * PAUSED/ACTIVE are the owner's own choice; setting DISABLED by hand is also accepted (same effect as the * automatic auto-disable, just operator-initiated). `consecutiveFailures` is reset to 0 whenever this call moves * `status` back to ACTIVE, so re-activating a subscription gives it a fresh run at the auto-disable threshold. */ status?: InputMaybe<PlanmagnetWebhookSubscriptionStatus>; url?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetUpdateWorkItemInput = { assigneeId?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; estimateMinutes?: InputMaybe<Scalars['Int']['input']>; labels?: InputMaybe<Array<Scalars['String']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** A milestone of the item's project; null removes the item from its milestone (PDM-22) */ milestoneId?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<WorkItemPriority>; reporterId?: InputMaybe<Scalars['String']['input']>; /** Replaces the item's required skills (same rules as on create); null or [] clears them, leaving it out keeps them */ requiredSkills?: InputMaybe<Array<Scalars['String']['input']>>; sortOrder?: InputMaybe<Scalars['Int']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; storyPoints?: InputMaybe<Scalars['Int']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; timeSpentMinutes?: InputMaybe<Scalars['Int']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<WorkItemType>; }; export type PlanmagnetUpdateWorkItemLinkInput = { deepLinkSnapshot?: InputMaybe<Scalars['String']['input']>; displayNameSnapshot?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; relationType?: InputMaybe<WorkItemLinkRelation>; }; /** An open CRITICAL or HIGH item with no assignee for more than urgentThresholdDays. */ export type PlanmagnetUrgentUnassignedItem = { __typename?: 'PlanmagnetUrgentUnassignedItem'; key: Scalars['String']['output']; priority: WorkItemPriority; projectId: Scalars['ID']['output']; title: Scalars['String']['output']; /** * The later of the item's creation and its last recorded un-assignment (assignment changes are recorded from * 2026-09-30 on). */ unassignedSince: Scalars['DateTime']['output']; workItemId: Scalars['ID']['output']; }; /** * Value-vs-Effort quadrant, derived server-side from valueScore/effortScore (never stored — see * FeatureRequest.valueEffortQuadrant). Boundaries (both scores are 1..10): QUICK_WIN = value >= 6 & effort <= 5; * MAJOR_PROJECT = value >= 6 & effort >= 6; FILL_IN = value <= 5 & effort <= 5; TIME_SINK = value <= 5 & effort >= 6. */ export declare enum PlanmagnetValueEffortQuadrant { FillIn = "FILL_IN", MajorProject = "MAJOR_PROJECT", QuickWin = "QUICK_WIN", TimeSink = "TIME_SINK" } /** Velocity across the trailing N completed sprints of a project. */ export type PlanmagnetVelocity = { __typename?: 'PlanmagnetVelocity'; /** Mean completed points across the returned sprints. */ averageVelocity: Scalars['Float']['output']; /** * Statistical forecast (not AI-generated) for the next sprint's likely capacity: the MEDIAN of the * returned sprints' completed points — robust to one outlier sprint in a way the mean (averageVelocity * above) is not. See forecastRange for the plausible band around it, and insufficientHistory for * whether this sample is large enough to trust. See analytics.service.ts for why median over a trend * line or a full Monte Carlo resample. */ forecastNextSprintPoints: Scalars['Float']['output']; /** * Empirical p15/p85 band around forecastNextSprintPoints, from the same sprint sample. Null only when * `sprints` is empty (nothing to compute a range from). */ forecastRange?: Maybe<PlanmagnetVelocityForecastRange>; /** * True when fewer than 3 of the returned sprints have a non-zero completedPoints — not enough signal * to trust forecastNextSprintPoints/forecastRange with confidence. The fields above are still populated * from whatever history exists (never nulled out or replaced with a guess); this is a confidence signal * for the caller to surface alongside them. */ insufficientHistory: Scalars['Boolean']['output']; projectId: Scalars['ID']['output']; sprints: Array<PlanmagnetVelocitySprintPoint>; }; /** * The plausible p15–p85 range around forecastNextSprintPoints (ANR-02): the empirical 15th/85th * percentile of the SAME sprint sample forecastNextSprintPoints is the median of. Not a Monte Carlo * simulation — for a single next-period estimate, the sample's own percentiles already answer "what's * the range of outcomes"; multi-sprint compounding uncertainty is what planmagnetForecastDelivery's * Monte Carlo is for. */ export type PlanmagnetVelocityForecastRange = { __typename?: 'PlanmagnetVelocityForecastRange'; p15: Scalars['Float']['output']; p85: Scalars['Float']['output']; }; /** Completed-points reading for one historical (COMPLETED) sprint. */ export type PlanmagnetVelocitySprintPoint = { __typename?: 'PlanmagnetVelocitySprintPoint'; /** Work item count that reached DONE by the sprint's end date (or now). */ completedCount: Scalars['Int']['output']; /** Story points that reached DONE by the sprint's end date (or now). */ completedPoints: Scalars['Int']['output']; /** Planned/committed points for the sprint, if set. */ plannedPoints?: Maybe<Scalars['Int']['output']>; /** * PROJECT when this point is the project's own sprint; TEAM when it is this * project's share of a completed team sprint (BOFF-8044). The two are never * summed together anywhere. */ scope: PlanmagnetSprintScope; sequenceNumber: Scalars['Int']['output']; sprintId: Scalars['ID']['output']; sprintName: Scalars['String']['output']; /** Set only when scope is TEAM. */ teamId?: Maybe<Scalars['ID']['output']>; /** Set only when scope is TEAM. */ teamName?: Maybe<Scalars['String']['output']>; }; export type PlanmagnetVoteOnFeatureInput = { comment?: InputMaybe<Scalars['String']['input']>; /** CWF-15: hide this vote's voterId from non-moderator reads. Defaults to false. */ isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; /** Whole number from 1 to 100 (default 1) */ weight?: InputMaybe<Scalars['Int']['input']>; }; /** * AUT-02 — one inbound GitHub webhook delivery (`X-GitHub-Delivery`), recorded for dedupe and audit. Never updated * after it is written — see WebhookDelivery's schema.prisma doc comment. */ export type PlanmagnetWebhookDelivery = { __typename?: 'PlanmagnetWebhookDelivery'; deliveryId: Scalars['String']['output']; error?: Maybe<Scalars['String']['output']>; /** GitHub's `X-GitHub-Event` header (ping/issues/pull_request/push/release/...) */ event: Scalars['String']['output']; id: Scalars['ID']['output']; processedAt?: Maybe<Scalars['DateTime']['output']>; receivedAt: Scalars['DateTime']['output']; status: PlanmagnetWebhookDeliveryStatus; sync?: Maybe<ExternalSync>; syncId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type PlanmagnetWebhookDeliveryList = { __typename?: 'PlanmagnetWebhookDeliveryList'; items: Array<PlanmagnetWebhookDelivery>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** AUT-02: one inbound GitHub webhook delivery's processing outcome. */ export declare enum PlanmagnetWebhookDeliveryStatus { Failed = "FAILED", Ignored = "IGNORED", Processed = "PROCESSED", Received = "RECEIVED" } export type PlanmagnetWebhookSubscription = { __typename?: 'PlanmagnetWebhookSubscription'; /** * How many consecutive deliveries have failed. Reset to 0 by the next successful delivery; reaching * webhook-dispatch.ts's MAX_CONSECUTIVE_WEBHOOK_FAILURES moves `status` to DISABLED automatically. */ consecutiveFailures: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; disabledAt?: Maybe<Scalars['DateTime']['output']>; /** * Which PlanmagnetAutomationTriggerType values this subscription is delivered for. Every value delivers a real * webhook today EXCEPT `WEBHOOK` itself: it is a valid, acceptable value here the same as any other, but see its * own doc comment on PlanmagnetAutomationTriggerType — it is coded, not yet live, pending Platform ticket * BOFF-8238's public-gateway route for inbound GitHub deliveries. `SCHEDULE` and `MILESTONE_DUE` deliver from * automation-scheduler.ts's periodic job rather than from a synchronous write (see their own doc comments for * the once-per-matching-rule delivery shape that follows from that). */ events: Array<PlanmagnetAutomationTriggerType>; id: Scalars['ID']['output']; lastDeliveryAt?: Maybe<Scalars['DateTime']['output']>; lastDeliveryStatus?: Maybe<PlanmagnetWebhookSubscriptionDeliveryStatus>; status: PlanmagnetWebhookSubscriptionStatus; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; url: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; /** * AUT-33 — one attempted delivery of one event to one subscription, after webhook-dispatch.ts's bounded retry is * exhausted. Append-only — never updated after it is written. */ export type PlanmagnetWebhookSubscriptionDelivery = { __typename?: 'PlanmagnetWebhookSubscriptionDelivery'; attempts: Scalars['Int']['output']; deliveredAt: Scalars['DateTime']['output']; error?: Maybe<Scalars['String']['output']>; event: PlanmagnetAutomationTriggerType; id: Scalars['ID']['output']; /** * The HTTP status the final attempt actually received, when it got far enough to receive one at all (null for a * connection-level failure — DNS/SSRF refusal, timeout, connection reset). */ responseStatus?: Maybe<Scalars['Int']['output']>; status: PlanmagnetWebhookSubscriptionDeliveryStatus; subscriptionId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type PlanmagnetWebhookSubscriptionDeliveryList = { __typename?: 'PlanmagnetWebhookSubscriptionDeliveryList'; items: Array<PlanmagnetWebhookSubscriptionDelivery>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetWebhookSubscriptionDeliveryStatus { Failed = "FAILED", Success = "SUCCESS" } export type PlanmagnetWebhookSubscriptionList = { __typename?: 'PlanmagnetWebhookSubscriptionList'; items: Array<PlanmagnetWebhookSubscription>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PlanmagnetWebhookSubscriptionStatus { Active = "ACTIVE", Disabled = "DISABLED", Paused = "PAUSED" } /** * planmagnetCreateWebhookSubscription / planmagnetRotateWebhookSubscriptionSecret's response. `secret` is returned * in PLAINTEXT exactly once: store it in the receiving endpoint's own config immediately, it cannot be read back * from this API again — same "shown once" precedent as PlanmagnetSyncWebhookSecret (AUT-02, inbound direction). */ export type PlanmagnetWebhookSubscriptionWithSecret = { __typename?: 'PlanmagnetWebhookSubscriptionWithSecret'; secret: Scalars['String']['output']; subscription: PlanmagnetWebhookSubscription; }; /** A widget's grid position on a 12-column canvas. `x + w` must not exceed 12. */ export type PlanmagnetWidgetLayout = { __typename?: 'PlanmagnetWidgetLayout'; h: Scalars['Int']['output']; w: Scalars['Int']['output']; x: Scalars['Int']['output']; y: Scalars['Int']['output']; }; export type PlanmagnetWidgetLayoutInput = { h: Scalars['Int']['input']; w: Scalars['Int']['input']; x: Scalars['Int']['input']; y: Scalars['Int']['input']; }; /** * The generic parameter bag every source reads a SUBSET of — see * report-sources.ts's `allowedParams` per source. A param a widget's source does * not use is rejected at save time (field-scoped BAD_USER_INPUT); a param its * source DOES use but that is left unset fails only at run time, scoped to that * one widget (`status: ERROR`) — see planmagnetRunReport. */ export type PlanmagnetWidgetParams = { __typename?: 'PlanmagnetWidgetParams'; from?: Maybe<Scalars['DateTime']['output']>; limit?: Maybe<Scalars['Int']['output']>; projectId?: Maybe<Scalars['ID']['output']>; sprintId?: Maybe<Scalars['ID']['output']>; teamId?: Maybe<Scalars['ID']['output']>; to?: Maybe<Scalars['DateTime']['output']>; }; export type PlanmagnetWidgetParamsInput = { from?: InputMaybe<Scalars['DateTime']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; sprintId?: InputMaybe<Scalars['ID']['input']>; teamId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * One widget's outcome within a ReportRun. `result` is set only when `status` is OK; a TEXT widget's `result` is * always null (it fetches no data — see PlanmagnetWidgetType.TEXT). */ export type PlanmagnetWidgetRunResult = { __typename?: 'PlanmagnetWidgetRunResult'; /** Set when status is FORBIDDEN (why) or ERROR (what went wrong). */ message?: Maybe<Scalars['String']['output']>; result?: Maybe<Scalars['JSON']['output']>; source: PlanmagnetReportSource; status: PlanmagnetWidgetRunStatus; widgetId: Scalars['ID']['output']; }; export declare enum PlanmagnetWidgetRunStatus { /** The RBAC check passed, but resolving the widget's data failed (e.g. a required param was never filled in, or the referenced project/sprint/team no longer exists). */ Error = "ERROR", /** The running actor lacked read access to this widget's source — no data was fetched. */ Forbidden = "FORBIDDEN", /** The widget's RBAC check passed and its data resolved. */ Ok = "OK" } export declare enum PlanmagnetWidgetType { Chart = "CHART", Kpi = "KPI", Table = "TABLE", /** * A non-data-bearing label/section header. Still carries a `source` (kept * mandatory for a uniform shape and a uniform per-widget RBAC check — see * report-run.service.ts), but a run never fetches data for it. */ Text = "TEXT" } export type PlanmagnetWorkBreakdown = { __typename?: 'PlanmagnetWorkBreakdown'; projects: Array<PlanmagnetProjectWorkBreakdown>; /** True when more than 50 live projects matched — see planmagnetWorkBreakdown's projectIds argument. */ truncatedProjects: Scalars['Boolean']['output']; }; export type PlanmagnetWorkItemActivity = { __typename?: 'PlanmagnetWorkItemActivity'; /** Newest first */ items: Array<PlanmagnetWorkItemActivityEvent>; /** Every recorded event */ totalCount: Scalars['Int']['output']; /** True when more events exist than were returned */ truncated: Scalars['Boolean']['output']; }; /** * One recorded event in a work item's history: creation, status changes, comments, and tracked field edits * (assignment and the other properties WorkItemFieldChange records — CWF-09). */ export type PlanmagnetWorkItemActivityEvent = { __typename?: 'PlanmagnetWorkItemActivityEvent'; /** Actor who did it */ actorId?: Maybe<Scalars['String']['output']>; at: Scalars['DateTime']['output']; /** The automation rule that made the change (transitionSource AUTOMATION only) */ automationRuleId?: Maybe<Scalars['String']['output']>; /** The comment (COMMENTED) */ commentId?: Maybe<Scalars['String']['output']>; /** The start of the comment (COMMENTED) */ excerpt?: Maybe<Scalars['String']['output']>; /** The tracked field that changed (FIELD_CHANGED) — see PlanmagnetActivityFeedEventType's field-change fields */ field?: Maybe<Scalars['String']['output']>; /** Status before (STATUS_CHANGED) */ fromStatus?: Maybe<Scalars['String']['output']>; /** The field's value before the change (FIELD_CHANGED); null means it was unset */ fromValue?: Maybe<Scalars['String']['output']>; /** Stable id, prefixed by source (transition:, comment:, created:, fieldchange:) */ id: Scalars['ID']['output']; /** CREATED, STATUS_CHANGED, COMMENTED or FIELD_CHANGED */ kind: Scalars['String']['output']; /** Status after (CREATED from the transition log, STATUS_CHANGED) */ toStatus?: Maybe<Scalars['String']['output']>; /** The field's value after the change (FIELD_CHANGED); null means it became unset */ toValue?: Maybe<Scalars['String']['output']>; /** * Who or what made the change (CREATED from the transition log, STATUS_CHANGED — ANR-12). Null for every other event * and for changes recorded before 2026-10-02, whose origin was never captured. */ transitionSource?: Maybe<PlanmagnetStatusTransitionSource>; }; export type PlanmagnetWorkItemBreakdownResult = { __typename?: 'PlanmagnetWorkItemBreakdownResult'; /** Id of the PlanmagnetAgentRun ledger row this call was recorded as. */ agentRunId: Scalars['ID']['output']; provider: Scalars['String']['output']; suggestions: Array<PlanmagnetWorkItemSuggestion>; }; /** * AUT-12 — a PR, commit or release discovered to reference a work item's key, via polling (planmagnetStartSync et * al., planmagnetRefreshSyncCodeLinks — GITHUB only today) or the AUT-02 inbound webhook. */ export type PlanmagnetWorkItemCodeLink = { __typename?: 'PlanmagnetWorkItemCodeLink'; /** A provider handle (e.g. a GitHub login) — never a PlanMagnet actor id */ authorLogin?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** The provider's id for the object: a PR number (as text), a commit sha, or a release id */ externalId: Scalars['String']['output']; id: Scalars['ID']['output']; kind: PlanmagnetWorkItemCodeLinkKind; /** Set only for a PULL_REQUEST once GitHub reports it merged */ mergedAt?: Maybe<Scalars['DateTime']['output']>; /** The PR/issue number, when this kind has one (null for COMMIT and RELEASE) */ number?: Maybe<Scalars['Int']['output']>; provider: PlanmagnetSyncProvider; /** The PR's head branch name (null for COMMIT/RELEASE) */ ref?: Maybe<Scalars['String']['output']>; /** * The object's own last-updated time as the provider reports it (a PR's updated_at, a commit's author date, a * release's published_at) — what "newest first" and "newly merged" are measured against */ remoteUpdatedAt: Scalars['DateTime']['output']; state?: Maybe<PlanmagnetWorkItemCodeLinkState>; sync?: Maybe<ExternalSync>; syncId: Scalars['String']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; url: Scalars['String']['output']; workItem?: Maybe<WorkItem>; workItemId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; /** * AUT-12: what kind of GitHub object a WorkItemCodeLink points at. TEXT-backed, like the other sync enums * (BOFF-4446 house pattern). */ export declare enum PlanmagnetWorkItemCodeLinkKind { Commit = "COMMIT", PullRequest = "PULL_REQUEST", Release = "RELEASE" } export type PlanmagnetWorkItemCodeLinkList = { __typename?: 'PlanmagnetWorkItemCodeLinkList'; items: Array<PlanmagnetWorkItemCodeLink>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * AUT-12: a PULL_REQUEST's lifecycle state as GitHub reports it. A COMMIT or RELEASE link leaves this null — DRAFT/ * OPEN/CLOSED/MERGED describe a pull request, RELEASED describes a release, and the two never apply to the same row. */ export declare enum PlanmagnetWorkItemCodeLinkState { Closed = "CLOSED", Draft = "DRAFT", Merged = "MERGED", Open = "OPEN", Released = "RELEASED" } /** * A comment on a work item, or a reply to one (CWF-02). Visible to everyone who can read the work item; only its * author can edit or delete it (resolving is different — see `planmagnetResolveWorkItemComment`). Replies are ONE * level deep: replying to a reply attaches to THAT reply's own top-level parent, so `parentId` on every row is * either null (a top-level comment) or a top-level comment's id, never another reply's id. */ export type PlanmagnetWorkItemComment = { __typename?: 'PlanmagnetWorkItemComment'; /** * Files attached to this comment (CWF-12), oldest first. Bounded at the same per-comment cap the add mutation * enforces — not separately paginated. */ attachments: Array<PlanmagnetWorkItemCommentAttachment>; /** Actor who posted the comment */ authorId: Scalars['String']['output']; body: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Set when the author changed the body after posting */ editedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** * Actor ids mentioned in the body via `@[Name](actorId)` (CWF-13). Recorded and returned here; notification * delivery is blocked on BOFF-7927, so nobody is paged/emailed/pushed for a mention yet. */ mentions: Array<Scalars['String']['output']>; /** The top-level comment this is a reply to; null for a top-level comment (CWF-02) */ parentId?: Maybe<Scalars['ID']['output']>; /** * Direct replies, oldest first, bounded rather than separately paginated (CWF-02) — a thread this deep is read in * full, not paged. */ replies: Array<PlanmagnetWorkItemComment>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; /** Who last resolved it; set together with resolvedAt, cleared back to null on reopen */ resolvedBy?: Maybe<Scalars['String']['output']>; /** OPEN or RESOLVED (CWF-14) — only meaningful, and only settable, on a top-level comment */ status: PlanmagnetCommentStatus; updatedAt: Scalars['DateTime']['output']; workItemId: Scalars['String']['output']; }; /** * A file reference attached to a work item comment (CWF-12). Bytes live in the platform `files` module — * `fileId` is the only pointer kept here; `name`/`mimeType`/`size` are a snapshot captured, server-side, from a * workspace-scoped `getFile` lookup at the moment the attachment was added (never client-supplied, never * re-validated on read — see wspace-planmagnet-svc's src/clients/files-client.ts for the validation contract). */ export type PlanmagnetWorkItemCommentAttachment = { __typename?: 'PlanmagnetWorkItemCommentAttachment'; commentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; /** The platform files-module File this points at */ fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; mimeType: Scalars['String']['output']; name: Scalars['String']['output']; /** Bytes, snapshotted at attach time */ size: Scalars['Int']['output']; }; export type PlanmagnetWorkItemCommentList = { __typename?: 'PlanmagnetWorkItemCommentList'; items: Array<PlanmagnetWorkItemComment>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * Server-side counts of the work items matching a filter. The list query returns * at most 100 rows per page, so a count taken from a page undercounts any * workspace with more than 100 items. */ export type PlanmagnetWorkItemCounts = { __typename?: 'PlanmagnetWorkItemCounts'; /** Open matching work items held back by an active dependency whose predecessor is not done (the release readiness definition of blocked) */ blocked: Scalars['Int']['output']; /** Matching work items per project and status */ byProject: Array<PlanmagnetWorkItemProjectStatusCount>; /** Matching work items per status (statuses with no items are omitted) */ byStatus: Array<PlanmagnetWorkItemStatusCount>; /** Sum of story points over every matching work item */ points: Scalars['Int']['output']; /** Every matching work item */ total: Scalars['Int']['output']; }; export type PlanmagnetWorkItemDependencyList = { __typename?: 'PlanmagnetWorkItemDependencyList'; items: Array<WorkItemDependency>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; /** * A thin, workspace-scoped real-time notification that a work item changed * (PDM-11). Carries identifiers and the names of the fields that changed — * NEVER the record itself — so a subscriber re-reads `planmagnetWorkItem(id)` * under its own permissions instead of trusting a payload that bypassed RBAC * and row-level scoping. */ export type PlanmagnetWorkItemEvent = { __typename?: 'PlanmagnetWorkItemEvent'; /** Actor who made the change */ actorId: Scalars['String']['output']; /** When the change was made */ at: Scalars['DateTime']['output']; /** Names of the fields that changed. Empty for CREATED/DELETED. */ changedFields: Array<Scalars['String']['output']>; /** The changed work item's id */ id: Scalars['ID']['output']; /** What kind of change this is */ kind: PlanmagnetWorkItemEventKind; /** The work item's project */ projectId: Scalars['ID']['output']; /** The work item's workspace */ workspaceId: Scalars['ID']['output']; }; /** * What kind of change a real-time work item event represents. `MOVED` is a * board/sprint/position change that does NOT change status; `STATUS_CHANGED` * covers every path (edit, board drag, bulk update) that does. */ export declare enum PlanmagnetWorkItemEventKind { Created = "CREATED", Deleted = "DELETED", Moved = "MOVED", StatusChanged = "STATUS_CHANGED", Updated = "UPDATED" } export type PlanmagnetWorkItemFilter = { assigneeId?: InputMaybe<Scalars['String']['input']>; /** Leave these work items out (e.g. the ones already in a sprint or release), so a picker never pages first and excludes afterwards */ excludeIds?: InputMaybe<Array<Scalars['String']['input']>>; /** Only the work items grouped under this milestone (PDM-22) */ milestoneId?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<WorkItemPriority>; projectId?: InputMaybe<Scalars['String']['input']>; reporterId?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; sprintId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<WorkItemStatus>; type?: InputMaybe<WorkItemType>; }; /** * One issue link as seen from a work item (PDM-24): the relation is phrased from THIS item's side, so a row stored as * "A BLOCKS B" reads BLOCKS on A and BLOCKED_BY on B. */ export type PlanmagnetWorkItemIssueLink = { __typename?: 'PlanmagnetWorkItemIssueLink'; /** OUTGOING: stored on this item. INCOMING: stored on the other item, pointing here */ direction: Scalars['String']['output']; /** The stored link — pass it to planmagnetUnlinkWorkItem / planmagnetUpdateWorkItemLink */ linkId: Scalars['ID']['output']; /** The relation from this work item's side */ relation: WorkItemLinkRelation; /** The other work item */ workItem?: Maybe<WorkItem>; }; export type PlanmagnetWorkItemLinkFilter = { entityId?: InputMaybe<Scalars['String']['input']>; entityType?: InputMaybe<Scalars['String']['input']>; relationType?: InputMaybe<WorkItemLinkRelation>; sourceProduct?: InputMaybe<Scalars['String']['input']>; workItemId?: InputMaybe<Scalars['String']['input']>; }; export type PlanmagnetWorkItemLinkList = { __typename?: 'PlanmagnetWorkItemLinkList'; items: Array<WorkItemLink>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetWorkItemList = { __typename?: 'PlanmagnetWorkItemList'; items: Array<WorkItem>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetWorkItemProjectStatusCount = { __typename?: 'PlanmagnetWorkItemProjectStatusCount'; count: Scalars['Int']['output']; /** Sum of story points of these work items (items without an estimate count as 0) */ points: Scalars['Int']['output']; projectId: Scalars['String']['output']; status: Scalars['String']['output']; }; /** * One at-risk flag on a work item, with the concrete numbers behind it — never * a bare label. */ export type PlanmagnetWorkItemRiskFlag = { __typename?: 'PlanmagnetWorkItemRiskFlag'; /** The ids/numbers the reason is built from (e.g. { staleDays, thresholdDays } or { blockerIds, blockerKeys }). */ evidence: Scalars['JSON']['output']; kind: PlanmagnetRiskFlagKind; /** A human sentence with the concrete numbers, e.g. "In progress for 9 days with no update (project median cycle time 3 days)". */ reason: Scalars['String']['output']; severity: PlanmagnetRiskFlagSeverity; }; export type PlanmagnetWorkItemStatusCount = { __typename?: 'PlanmagnetWorkItemStatusCount'; count: Scalars['Int']['output']; /** Sum of story points of these work items (items without an estimate count as 0) */ points: Scalars['Int']['output']; /** A WorkItemStatus value. A String, not the enum, so a stored status the API does not expose yet (BLOCKED) cannot fail the whole query */ status: Scalars['String']['output']; }; export type PlanmagnetWorkItemSuggestion = { __typename?: 'PlanmagnetWorkItemSuggestion'; description?: Maybe<Scalars['String']['output']>; estimatedHours?: Maybe<Scalars['Float']['output']>; priority: WorkItemPriority; title: Scalars['String']['output']; type: WorkItemType; }; /** How one canonical status appears and behaves in a project */ export type PlanmagnetWorkflowStatus = { __typename?: 'PlanmagnetWorkflowStatus'; category: PlanmagnetStatusCategory; /** Hidden statuses cannot be chosen for new moves; items already in one stay readable */ hidden: Scalars['Boolean']['output']; /** The project's name for it */ label: Scalars['String']['output']; status: WorkItemStatus; }; export type PlanmagnetWorkflowStatusInput = { /** Defaults to the status's standard category */ category?: InputMaybe<PlanmagnetStatusCategory>; hidden?: InputMaybe<Scalars['Boolean']['input']>; label: Scalars['String']['input']; status: WorkItemStatus; }; /** An allowed status change */ export type PlanmagnetWorkflowTransition = { __typename?: 'PlanmagnetWorkflowTransition'; from: WorkItemStatus; to: WorkItemStatus; }; export type PlanmagnetWorkflowTransitionInput = { from: WorkItemStatus; to: WorkItemStatus; }; /** * A user who currently holds billable "editor" access to a PlanMagnet * workspace -- counted against the Free-tier `planmagnet.editors.count` * quota (10 editors). Viewers/commenters are not tracked here and are free. */ export type PlanmagnetWorkspaceEditor = { __typename?: 'PlanmagnetWorkspaceEditor'; /** Timestamp when this editor seat was granted */ createdAt: Scalars['DateTime']['output']; /** Actor who granted this editor seat */ createdBy: Scalars['ID']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** User ID granted editor access */ userId: Scalars['ID']['output']; /** Workspace ID */ workspaceId: Scalars['ID']['output']; }; /** Paginated list of workspace editor seats. */ export type PlanmagnetWorkspaceEditorList = { __typename?: 'PlanmagnetWorkspaceEditorList'; items: Array<PlanmagnetWorkspaceEditor>; pageInfo: PlanmagnetPageInfo; totalCount: Scalars['Int']['output']; }; export type PlanmagnetWorkspaceErasure = { __typename?: 'PlanmagnetWorkspaceErasure'; /** Per-model row counts removed, keyed by Prisma model name */ counts?: Maybe<Scalars['JSON']['output']>; eraseAfter: Scalars['DateTime']['output']; erasedAt?: Maybe<Scalars['DateTime']['output']>; failureCount: Scalars['Int']['output']; lastError?: Maybe<Scalars['String']['output']>; nextAttemptAt: Scalars['DateTime']['output']; requestedAt: Scalars['DateTime']['output']; requestedBy: Scalars['String']['output']; source: Scalars['String']['output']; status: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; /** An entry in the Master Plant List (editable variety catalog with spacing). */ export type PlantCatalogEntry = { __typename?: 'PlantCatalogEntry'; category?: Maybe<Scalars['String']['output']>; daysToMaturity?: Maybe<Scalars['Int']['output']>; /** Germination rate as a fraction in [0, 1] (e.g. 0.85 = 85%). */ germinationRate?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Whether the variety is suitable for organic production. */ organicSuitable?: Maybe<Scalars['Boolean']['output']>; plantSpacingCm?: Maybe<Scalars['Int']['output']>; rowSpacingCm?: Maybe<Scalars['Int']['output']>; /** Seeds sown per nursery cell/plug when raising transplants. */ seedsPerCell?: Maybe<Scalars['Int']['output']>; /** Approximate seed count per gram (I-4 seed-rate input). */ seedsPerGram?: Maybe<Scalars['Int']['output']>; variety?: Maybe<Scalars['String']['output']>; }; /** One ranked pest/disease candidate returned for a scan. */ export type PlantDiagnosisCandidate = { __typename?: 'PlantDiagnosisCandidate'; affectedPart?: Maybe<Scalars['String']['output']>; /** Confidence as a 0..100 percentage. */ confidence: Scalars['Float']['output']; name: Scalars['String']['output']; scientificName?: Maybe<Scalars['String']['output']>; /** One of: LOW | MEDIUM | HIGH | CRITICAL. */ severity: Scalars['String']['output']; symptoms?: Maybe<Scalars['String']['output']>; /** One of: INSECT | DISEASE | FUNGUS | WEED | HEALTHY. */ type: Scalars['String']['output']; }; /** A single AI plant scan: the uploaded photo plus its ranked diagnosis and advisory. */ export type PlantScan = { __typename?: 'PlantScan'; /** * Honest attribution of the diagnosis/advisory: MODEL (a real vision-model call) * or HEURISTIC (rule-based fallback). */ advisorySource: Scalars['String']['output']; advisoryText?: Maybe<Scalars['String']['output']>; /** * Actions the organic guardrail removed because they name a prohibited substance. * Empty when the guardrail did not apply or nothing was blocked. */ blockedActions: Array<PlantScanBlockedAction>; candidates: Array<PlantDiagnosisCandidate>; capturedAt: Scalars['DateTime']['output']; classesConsidered?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; /** * The Crop this scan is linked to, when one was selected. Null when no crop was chosen * or the supplied crop did not belong to this workspace. `cropName` is the display snapshot. */ cropId?: Maybe<Scalars['ID']['output']>; cropName?: Maybe<Scalars['String']['output']>; fieldId?: Maybe<Scalars['ID']['output']>; fieldName?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isHealthy: Scalars['Boolean']['output']; isPlant: Scalars['Boolean']['output']; latitude?: Maybe<Scalars['Float']['output']>; /** The PestIssue created from this scan, if it was logged into the pest workflow. */ loggedPestIssueId?: Maybe<Scalars['ID']['output']>; longitude?: Maybe<Scalars['Float']['output']>; /** * The MIN_CONFIDENCE threshold (0..100) this scan was gated against: a top match * below it yields status INCONCLUSIVE. Persisted at diagnosis time. */ minConfidence?: Maybe<Scalars['Float']['output']>; modelName?: Maybe<Scalars['String']['output']>; modelProvider?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; /** * True when the organic guardrail screened this scan's recommended actions (i.e. the * operation is organic-certified and the rule catalog was reachable). */ organicGuardrailApplied: Scalars['Boolean']['output']; /** * Opaque wspace-files-svc file ids for the scanned photo(s); resolve display URLs * via the federated `getFileDownloadUrl(id)` query. */ photoFileIds: Array<Scalars['String']['output']>; processingMs?: Maybe<Scalars['Int']['output']>; /** * Organic-safe recommended actions for the top match. For an organic-certified * operation these are screened against the prohibited-substance catalog before * persistence (BOFF-6082); see `blockedActions`. */ recommendedActions: Array<Scalars['String']['output']>; /** One of: LOW | MEDIUM | HIGH | CRITICAL. */ severity?: Maybe<Scalars['String']['output']>; /** * One of: PENDING | DIAGNOSED | INCONCLUSIVE | FAILED. INCONCLUSIVE means the top * candidate scored below the MIN_CONFIDENCE threshold — the candidates are kept but * must NOT be presented as a confirmed diagnosis (offer a consultant hand-off). */ status: Scalars['String']['output']; /** Confidence of the top match as a 0..100 percentage. */ topConfidence?: Maybe<Scalars['Float']['output']>; topDiagnosis?: Maybe<Scalars['String']['output']>; topScientificName?: Maybe<Scalars['String']['output']>; /** One of: INSECT | DISEASE | FUNGUS | WEED | HEALTHY. */ topType?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; }; /** * A recommended action the organic guardrail blocked because it names a prohibited * substance (BOFF-6082). Rendered struck-through with its rule source, never hidden. */ export type PlantScanBlockedAction = { __typename?: 'PlantScanBlockedAction'; action: Scalars['String']['output']; /** Where the blocking rule came from (built-in organic prohibition or a workspace rule). */ source: Scalars['String']['output']; substanceName: Scalars['String']['output']; }; export type PlantScanFilterInput = { /** Filter to scans linked to a specific Crop record (the mockup's Crop dropdown). */ cropId?: InputMaybe<Scalars['ID']['input']>; cropName?: InputMaybe<Scalars['String']['input']>; /** Substring match against the top diagnosis name. */ diagnosis?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type PlantScanListResult = { __typename?: 'PlantScanListResult'; scans: Array<PlantScan>; stats: PlantScanStats; updatedAt: Scalars['DateTime']['output']; }; export type PlantScanStats = { __typename?: 'PlantScanStats'; /** Average top-match confidence across diagnosed scans, as a 0..100 percentage. */ avgConfidence: Scalars['Float']['output']; /** * Scans whose top match scored below the MIN_CONFIDENCE threshold (excluded from * avgConfidence). */ inconclusiveScans: Scalars['Int']['output']; issuesCaughtEarly: Scalars['Int']['output']; scansThisSeason: Scalars['Int']['output']; totalScans: Scalars['Int']['output']; }; /** * I-7 — a hands-on operation logged against a plan/bed/field (watering, tilling, * fertilizing, weeding, transplanting, scouting…). Tracks plan execution, not intent. */ export type PlantingActivity = { __typename?: 'PlantingActivity'; activityDate: Scalars['String']['output']; bedId?: Maybe<Scalars['ID']['output']>; cropId?: Maybe<Scalars['ID']['output']>; fieldId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; laborHours?: Maybe<Scalars['Float']['output']>; notes?: Maybe<Scalars['String']['output']>; plantingPlanId?: Maybe<Scalars['ID']['output']>; quantity?: Maybe<Scalars['Float']['output']>; /** One of: WATERING, TILLING, FERTILIZING, WEEDING, TRANSPLANT, SCOUTING, MULCHING, PEST_CONTROL, THINNING, OTHER. */ type: Scalars['String']['output']; unit?: Maybe<Scalars['String']['output']>; }; export type PlantingPlan = { __typename?: 'PlantingPlan'; /** Optional loose link to a Bed (no FK). */ bedId?: Maybe<Scalars['ID']['output']>; cropId?: Maybe<Scalars['ID']['output']>; cropName: Scalars['String']['output']; /** BOFF-6100 — authoritative plants-per-square-metre derived with the seed figures. */ density?: Maybe<Scalars['Float']['output']>; endDate?: Maybe<Scalars['String']['output']>; expectedYield?: Maybe<Scalars['Float']['output']>; fertilizers: Array<Scalars['String']['output']>; fieldId: Scalars['ID']['output']; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; /** Optional loose link to a PlantCatalog entry (no FK). */ plantCatalogId?: Maybe<Scalars['ID']['output']>; /** I-5 seed-rate result — total plants required for the plan. */ plantsNeeded?: Maybe<Scalars['Int']['output']>; priority?: Maybe<Scalars['String']['output']>; season: Scalars['String']['output']; /** I-5 seed-rate result — grams of seed required. */ seedGrams?: Maybe<Scalars['Float']['output']>; seedRequired?: Maybe<Scalars['Float']['output']>; /** I-5 seed-rate result — seedlings/transplants to raise in the nursery. */ seedlingsToRaise?: Maybe<Scalars['Int']['output']>; /** Sow/nursery-start date (ISO); distinct from the transplant startDate. */ sowDate?: Maybe<Scalars['String']['output']>; startDate: Scalars['String']['output']; status: Scalars['String']['output']; /** Succession-series id shared by every plan in the same series (I-6). */ successionGroupId?: Maybe<Scalars['ID']['output']>; /** 0-based position of this plan within its succession series (I-6). */ successionIndex?: Maybe<Scalars['Int']['output']>; /** I-7 — transplant date (ISO): nursery seedlings moved out to the bed. */ transplantDate?: Maybe<Scalars['String']['output']>; weatherRisk?: Maybe<Scalars['String']['output']>; }; /** A record type a platform module publishes events for (BOFF-9659). */ export type PlatformEventRecordType = { __typename?: 'PlatformEventRecordType'; /** The changes the module has published for this type: created, updated and/or deleted. */ actions: Array<Scalars['String']['output']>; /** The record type exactly as the module publishes it, e.g. UniversalTag. */ name: Scalars['String']['output']; }; /** * A platform module whose records can start Record Changed and State Changed triggers (BOFF-9659), * read from the graph event subject registry. Modules excluded from triggers (workflow, auth, RBAC, * security) are never listed. */ export type PlatformEventSource = { __typename?: 'PlatformEventSource'; /** The module graph name exactly as published, e.g. wspace-tags. */ module: Scalars['String']['output']; recordTypes: Array<PlatformEventRecordType>; }; /** * A File Uploaded, Record Changed or State Changed trigger of a workflow, as the * platform-event consumer sees it (BOFF-4310). */ export type PlatformEventTrigger = { __typename?: 'PlatformEventTrigger'; /** The changes that fire it: created, updated and/or deleted (for timecampus, the TimeCampus event, e.g. trigger.fired). */ eventActions: Array<Scalars['String']['output']>; /** file, record, state or timecampus. */ eventCategory: Scalars['String']['output']; /** The trigger's filters (record type, state field, MIME types, ...). */ filters?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; /** The platform module whose records or events it watches, e.g. wspace-tags or wspace-timecampus. */ sourceModule?: Maybe<Scalars['String']['output']>; /** ACTIVE, or DISABLED when its configuration could not form a trigger. */ status: Scalars['String']['output']; /** The event subject (pattern) it listens to, e.g. graph.wspace-tags.UniversalTag.* or timecampus.trigger.fired */ subject: Scalars['String']['output']; /** Node id of the trigger inside the workflow definition. */ triggerNodeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** Workflow version the trigger was last synced from. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export declare enum PluginStatus { Available = "AVAILABLE", Deprecated = "DEPRECATED", Disabled = "DISABLED", Installed = "INSTALLED" } export type Policy = { __typename?: 'Policy'; bucketId?: Maybe<Scalars['ID']['output']>; config?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; revision: Scalars['Int']['output']; status: EntityStatus; tags: Array<Scalars['String']['output']>; type: PolicyType; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: Visibility; workspaceId: Scalars['ID']['output']; }; export type PolicyFilterInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; type?: InputMaybe<PolicyType>; visibility?: InputMaybe<Visibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** OPA policy reference */ export type PolicyReference = { __typename?: 'PolicyReference'; action: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; opaPackage: Scalars['String']['output']; priority: Scalars['Int']['output']; resourceType: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type PolicyReferenceFilterInput = { action?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; resourceType?: InputMaybe<Scalars['String']['input']>; }; export type PolicyReferencePage = { __typename?: 'PolicyReferencePage'; items: Array<PolicyReference>; pageInfo: OffsetPageInfo; }; export declare enum PolicyType { Budget = "BUDGET", Content = "CONTENT", Data = "DATA", RateLimit = "RATE_LIMIT", Response = "RESPONSE", Retention = "RETENTION", Tool = "TOOL" } export type Poll = { __typename?: 'Poll'; allowAddOptions: Scalars['Boolean']['output']; allowMultipleChoice: Scalars['Boolean']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; isClosed: Scalars['Boolean']['output']; options: Array<PollOption>; question: Scalars['String']['output']; totalVotes: Scalars['Int']['output']; }; export type PollOption = { __typename?: 'PollOption'; id: Scalars['ID']['output']; percentage: Scalars['Float']['output']; text: Scalars['String']['output']; voteCount: Scalars['Int']['output']; voters: Array<Scalars['ID']['output']>; }; /** * Runtime state of one polling trigger (RSS feed, HTTP poll, database poll or * IMAP email) in a workflow. The trigger's configuration and its cursor are not * exposed: configuration can hold request headers, and the cursor is internal. */ export type PollTriggerState = { __typename?: 'PollTriggerState'; consecutiveErrors: Scalars['Int']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; /** Items delivered by the last successful poll (0 when nothing was new). */ lastItemCount?: Maybe<Scalars['Int']['output']>; lastPollAt?: Maybe<Scalars['DateTime']['output']>; nextPollAt?: Maybe<Scalars['DateTime']['output']>; pollIntervalSeconds: Scalars['Int']['output']; /** Which poller runs: rss_feed, http_poll, database_query, email_imap or gmail. */ pollType: Scalars['String']['output']; /** * True once the first poll has recorded what the source already holds. Only * items that appear after seeding start runs. */ seeded: Scalars['Boolean']['output']; /** ACTIVE, PAUSED, ERROR (switched off after repeated failures) or DISABLED. */ status: Scalars['String']['output']; /** Node id of the trigger inside the workflow definition. */ triggerNodeId: Scalars['String']['output']; /** Workflow version the trigger was last synced from. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export type PomodoroGoal = { __typename?: 'PomodoroGoal'; createdAt: Scalars['DateTime']['output']; current: Scalars['Int']['output']; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; period: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; target: Scalars['Int']['output']; type: PomodoroGoalType; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum PomodoroGoalPeriod { Daily = "DAILY", Monthly = "MONTHLY", Weekly = "WEEKLY" } export declare enum PomodoroGoalType { Daily = "DAILY", Monthly = "MONTHLY", Weekly = "WEEKLY" } export type PomodoroSession = { __typename?: 'PomodoroSession'; completed: Scalars['Boolean']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; duration?: Maybe<Scalars['Int']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; interrupted: Scalars['Boolean']['output']; interruptions: Scalars['Int']['output']; notes?: Maybe<Scalars['String']['output']>; projectId?: Maybe<Scalars['ID']['output']>; startTime: Scalars['DateTime']['output']; taskId?: Maybe<Scalars['ID']['output']>; type: PomodoroSessionType; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type PomodoroSessionFilterInput = { completed?: InputMaybe<Scalars['Boolean']['input']>; interrupted?: InputMaybe<Scalars['Boolean']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; startDateFrom?: InputMaybe<Scalars['DateTime']['input']>; startDateTo?: InputMaybe<Scalars['DateTime']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<PomodoroSessionType>; userId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum PomodoroSessionOrderByField { CreatedAt = "createdAt", duration = "duration", EndTime = "endTime", StartTime = "startTime", UpdatedAt = "updatedAt" } export type PomodoroSessionOrderByInput = { direction: TimeCampusSortDirection; field: PomodoroSessionOrderByField; }; export declare enum PomodoroSessionType { Focus = "FOCUS", LongBreak = "LONG_BREAK", ShortBreak = "SHORT_BREAK" } export type PomodoroSettings = { __typename?: 'PomodoroSettings'; autoStartBreaks: Scalars['Boolean']['output']; autoStartFocus: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; focusDuration: Scalars['Int']['output']; id: Scalars['ID']['output']; longBreakDuration: Scalars['Int']['output']; notificationsEnabled: Scalars['Boolean']['output']; sessionsBeforeLongBreak: Scalars['Int']['output']; shortBreakDuration: Scalars['Int']['output']; soundEnabled: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type PomodoroStats = { __typename?: 'PomodoroStats'; averageSessionMinutes: Scalars['Float']['output']; completedSessions: Scalars['Int']['output']; completionRate: Scalars['Float']['output']; streakDays: Scalars['Int']['output']; totalFocusMinutes: Scalars['Float']['output']; totalSessions: Scalars['Int']['output']; }; /** * A strategic grouping of programs and projects for executive-level * oversight, resource allocation, and alignment tracking. */ export type Portfolio = { __typename?: 'Portfolio'; /** Strategic alignment category */ alignment?: Maybe<StrategicAlignment>; /** Custom alignment label (when alignment is CUSTOM) */ alignmentLabel?: Maybe<Scalars['String']['output']>; /** Total allocated budget */ budgetTotal?: Maybe<Scalars['Float']['output']>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this portfolio */ createdBy: Scalars['String']['output']; /** Budget currency code */ currency?: Maybe<Scalars['String']['output']>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Portfolio description */ description?: Maybe<Scalars['String']['output']>; /** Fiscal year or planning period */ fiscalPeriod?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Portfolio name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId: Scalars['String']['output']; /** Programs in this portfolio */ programs: Array<Program>; /** Projects directly in this portfolio (without a program) */ projects: Array<PlanmagnetProject>; /** Current status */ status: PortfolioStatus; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this portfolio */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum PortfolioStatus { Active = "ACTIVE", Archived = "ARCHIVED", Closed = "CLOSED", OnHold = "ON_HOLD" } export type PostHealthyBowlJournalEntryInput = { context: ContextInput; date?: InputMaybe<Scalars['String']['input']>; lines: Array<HealthyBowlJournalLineInput>; memo: Scalars['String']['input']; reference?: InputMaybe<Scalars['String']['input']>; /** MANUAL | TRANSACTION | INVOICE | SYSTEM. Default MANUAL. */ source?: InputMaybe<Scalars['String']['input']>; sourceRefId?: InputMaybe<Scalars['String']['input']>; }; export type PrepareWorkflowCodeUploadInput = { /** `sha256:<hex>` of the bundle (one ES module). */ buildId: Scalars['String']['input']; /** UTF-8 bytes of the bundle, at most 8 MiB. The presigned PUT signs this length. */ bundleBytes: Scalars['Int']['input']; /** * Phase C: the bundle's language. `python` stages a deterministic zipapp (`.pyz`, `application/zip`) * and needs fluidgrids.python-durable-functions. */ language?: InputMaybe<Scalars['String']['input']>; /** Bytes of the gzipped source archive, at most 32 MiB. Give it with `sourceHash`. */ sourceBytes?: InputMaybe<Scalars['Int']['input']>; /** `sha256:<hex>` of the source archive's files and vendored packages (what `buildBundle` reports). */ sourceHash?: InputMaybe<Scalars['String']['input']>; /** The workflow the version will be created for; the ticket is consumed by that version. */ workflowKey: Scalars['String']['input']; }; export type Presence = { __typename?: 'Presence'; customStatus?: Maybe<Scalars['String']['output']>; lastSeenAt?: Maybe<Scalars['DateTime']['output']>; status: PresenceStatus; userId: Scalars['ID']['output']; }; export declare enum PresenceStatus { Away = "AWAY", DoNotDisturb = "DO_NOT_DISTURB", Offline = "OFFLINE", Online = "ONLINE" } export type PresignedPartUrl = { __typename?: 'PresignedPartUrl'; expiresAt: Scalars['DateTime']['output']; partNumber: Scalars['Int']['output']; url: Scalars['String']['output']; }; export type PreviewMtwFreightInvoiceInput = { estimateVersionId: Scalars['ID']['input']; evidence?: InputMaybe<Array<MtwContainerEvidenceInput>>; facts: MtwFreightInvoiceFactsInput; shipmentId: Scalars['ID']['input']; }; /** Input for previewing schedule times */ export type PreviewScheduleInput = { count?: InputMaybe<Scalars['Int']['input']>; cronExpression?: InputMaybe<Scalars['String']['input']>; interval?: InputMaybe<Scalars['Int']['input']>; intervalUnit?: InputMaybe<Scalars['String']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; scheduleType: CommentScheduleType; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; }; export type PrewarmNodeRuntimesInput = { context?: InputMaybe<ContextInput>; /** The ECR image the version was published as, by tag or digest. */ image: Scalars['String']['input']; /** FluidGrids node type, e.g. `store/http-tool`. */ nodeType: Scalars['String']['input']; /** Node version, e.g. `1.0.1`. */ nodeVersion: Scalars['String']['input']; }; export type PrewarmNodeRuntimesResult = { __typename?: 'PrewarmNodeRuntimesResult'; /** Index digest the snapshots are built from. */ imageDigest: Scalars['String']['output']; /** Platforms a snapshot was requested on (queued, building or already ready). */ platforms: Array<Scalars['String']['output']>; }; /** A fired price alert — a view over the HB Alert table tagged context.kind='mandi_price_alert'. */ export type PriceAlert = { __typename?: 'PriceAlert'; actionUrl?: Maybe<Scalars['String']['output']>; commodity?: Maybe<Scalars['String']['output']>; /** ABOVE | BELOW — the direction the rule watched. */ comparator?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; marketName?: Maybe<Scalars['String']['output']>; message: Scalars['String']['output']; read: Scalars['Boolean']['output']; severity: Scalars['String']['output']; /** ACTIVE (unread) | ACKNOWLEDGED (read/resolved). */ status: Scalars['String']['output']; threshold?: Maybe<Scalars['Float']['output']>; timestamp: Scalars['DateTime']['output']; title: Scalars['String']['output']; /** The price that crossed the threshold. */ value?: Maybe<Scalars['Float']['output']>; }; /** A workspace-scoped alert rule: notify when a commodity's modal price crosses a threshold. */ export type PriceAlertRule = { __typename?: 'PriceAlertRule'; commodity: Scalars['String']['output']; /** ABOVE | BELOW. */ comparator: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** Optional market; when null the rule watches the commodity across every mandi. */ marketName?: Maybe<Scalars['String']['output']>; threshold: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; }; /** A commodity+market a workspace follows (workspace-scoped). */ export type PriceWatch = { __typename?: 'PriceWatch'; commodity: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; district?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; marketName?: Maybe<Scalars['String']['output']>; state?: Maybe<Scalars['String']['output']>; }; export declare enum Priority { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } /** How suggestions reach the user when they are not in the app. */ export declare enum ProactiveFrequency { DailyDigest = "DAILY_DIGEST", Immediate = "IMMEDIATE", WeeklyDigest = "WEEKLY_DIGEST" } /** The caller's proactive settings for one product in the current workspace. */ export type ProactiveSettings = { __typename?: 'ProactiveSettings'; /** When the consent runs out; null when not opted in. */ consentExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** Opted in, with a live read-only consent. */ enabled: Scalars['Boolean']['output']; /** IMMEDIATE unless the user chose a digest. */ frequency: ProactiveFrequency; }; export type Problem = { __typename?: 'Problem'; assignedTo?: Maybe<Scalars['String']['output']>; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; priority: Priority; relatedIncidents: Array<Scalars['String']['output']>; resolution?: Maybe<Scalars['String']['output']>; rootCause?: Maybe<Scalars['String']['output']>; status: ProblemStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workaround?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum ProblemStatus { Closed = "CLOSED", Investigating = "INVESTIGATING", KnownError = "KNOWN_ERROR", Open = "OPEN", Resolved = "RESOLVED" } /** Result of a produce-withdrawal gate check (used by the UI to disable produce actions). */ export type ProduceWithdrawalCheck = { __typename?: 'ProduceWithdrawalCheck'; animalId: Scalars['ID']['output']; blocked: Scalars['Boolean']['output']; clearDate?: Maybe<Scalars['String']['output']>; daysLeft: Scalars['Int']['output']; /** MILK | MEAT | EGGS */ produceType: Scalars['String']['output']; reason?: Maybe<Scalars['String']['output']>; }; /** Per-produce withdrawal state (milk / meat / eggs). */ export type ProduceWithdrawalStatus = { __typename?: 'ProduceWithdrawalStatus'; /** True while the produce cannot be sold / harvested / trace-batched. */ blocked: Scalars['Boolean']['output']; /** Date the produce becomes safe to sell/harvest; null = not applicable (never withdrawn). */ clearDate?: Maybe<Scalars['String']['output']>; /** Whole days until the clear date (0 once cleared / not applicable). */ daysLeft: Scalars['Int']['output']; /** MILK | MEAT | EGGS */ produceType: Scalars['String']['output']; /** NOT_APPLICABLE | CLEARED | UNDER_WITHDRAWAL | BLOCKED */ status: Scalars['String']['output']; /** Applied withdrawal days for this produce; null = not applicable. */ withdrawalDays?: Maybe<Scalars['Int']['output']>; }; export type Product = { __typename?: 'Product'; /** Domain lifecycle marker, distinct from deletedAt. Null = active. */ archivedAt?: Maybe<Scalars['DateTime']['output']>; /** How the product makes money (PRM-02). At most 2000 characters. Null when never set. */ businessModel?: Maybe<Scalars['String']['output']>; /** * Competitive landscape (PRM-02): competitors tracked against this product. Batched per request — see * ProductService#listCompetitorsForProducts. */ competitors: Array<Competitor>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; featureRequests: Array<FeatureRequest>; /** * PRM-01: this product's own features (not its feature requests), newest first. Archived features are left out * unless `includeArchived` is true. Batched per request. */ features: Array<PlanmagnetProductFeature>; id: Scalars['ID']['output']; /** * PRM-04: this product's latest market-size estimate — the newest as-of date, then the most recently recorded. Null * when none has been recorded. Batched per request. */ latestMarketSizing?: Maybe<PlanmagnetProductMarketSizing>; /** PRM-04: this product's launch plans, soonest target launch date first. Batched per request. */ launches: Array<PlanmagnetProductLaunch>; lifecycleStage: PlanmagnetProductLifecycleStage; metadata?: Maybe<Scalars['JSON']['output']>; /** Product strategy narrative (PRM-02). At most 2000 characters. Null when never set. */ mission?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; northStar?: Maybe<PlanmagnetProductNorthStar>; objectives: Array<PlanmagnetObjective>; onBehalfOf?: Maybe<Scalars['String']['output']>; ownerId: Scalars['String']['output']; /** * PRM-04: who this product is for, newest first, from authoritative workspace-constrained memberships. * Archived Personas are left out unless `includeArchived` is true. Batched per request. */ personas: Array<PlanmagnetProductPersona>; /** PRM-01: the product line, when set and not deleted. Still returned while the line is archived. */ productLine?: Maybe<PlanmagnetProductLine>; /** * PRM-01: the product line this product belongs to. Null until someone assigns one (planmagnetAssignProductLine) — * never inferred. */ productLineId?: Maybe<Scalars['String']['output']>; releases: Array<Release>; roadmaps: Array<Roadmap>; /** Target customer segments (PRM-02). At most 20 entries, each at most 120 characters. Empty when never set. */ targetSegments: Array<Scalars['String']['output']>; /** * PRM-01: teams that own, plan or report on this product. The link grants NO access to anything — see * planmagnetLinkProductTeam. A team deleted since is left out. Batched per request. */ teams: Array<Team>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; /** What makes this product worth choosing (PRM-02). At most 2000 characters. Null when never set. */ valueProposition?: Maybe<Scalars['String']['output']>; vision: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type ProductFeaturesArgs = { includeArchived?: InputMaybe<Scalars['Boolean']['input']>; }; export type ProductPersonasArgs = { includeArchived?: InputMaybe<Scalars['Boolean']['input']>; }; export type ProductFacet = { __typename?: 'ProductFacet'; count: Scalars['Int']['output']; product: Scalars['String']['output']; }; export declare enum ProductType { Workspace = "WORKSPACE" } export type ProductionBatch = { __typename?: 'ProductionBatch'; batchNumber: Scalars['String']['output']; cost: Scalars['Float']['output']; endDate?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** * Product name for display. Falls back to the linked recipe's own product text before * giving up, so a batch created from a recipe no longer reads "Unknown" (BOFF-6369). */ product: Scalars['String']['output']; /** The real FK. Resolve a batch's product by this, never by matching `product`. */ productId?: Maybe<Scalars['ID']['output']>; qualityScore?: Maybe<Scalars['Float']['output']>; quantity: Scalars['Float']['output']; recipe?: Maybe<Scalars['String']['output']>; /** The real FK. Resolve a batch's recipe by this — renaming a recipe must not re-point it. */ recipeId?: Maybe<Scalars['ID']['output']>; startDate: Scalars['String']['output']; status: Scalars['String']['output']; unit: Scalars['String']['output']; }; export type ProductionRecord = { __typename?: 'ProductionRecord'; animalId: Scalars['String']['output']; animalName: Scalars['String']['output']; date: Scalars['String']['output']; id: Scalars['ID']['output']; quality: Scalars['String']['output']; quantity: Scalars['Float']['output']; type: Scalars['String']['output']; unit: Scalars['String']['output']; }; /** * A high-level container grouping related projects together for portfolio * visibility and cross-project budget tracking. */ export type Program = { __typename?: 'Program'; /** Total allocated budget */ budgetTotal?: Maybe<Scalars['Float']['output']>; /** Contextual information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this program */ createdBy: Scalars['String']['output']; /** Budget currency code (e.g. USD, EUR) */ currency?: Maybe<Scalars['String']['output']>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Program description */ description?: Maybe<Scalars['String']['output']>; /** Planned end date */ endDate?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Program name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId: Scalars['String']['output']; /** Projects within this program */ projects: Array<PlanmagnetProject>; /** Planned start date */ startDate?: Maybe<Scalars['DateTime']['output']>; /** Current status */ status: PlanmagnetProjectStatus; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this program */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** * Project entity representing a work organizational unit within a workspace. * Projects contain tasks, issues, and team members. */ export type Project = { __typename?: 'Project'; /** Whether the project is archived */ archived: Scalars['Boolean']['output']; /** Project configuration and settings */ config?: Maybe<Scalars['JSON']['output']>; /** Timestamp when project was created */ createdAt: Scalars['DateTime']['output']; /** User ID who created the project (opaque reference) */ creatorId: Scalars['ID']['output']; /** Timestamp when project was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * Optional human-readable description of the project. Surfaced for the MCP * `workspace_projects_get` selection (mcp-libs#28). Column is nullable; a * project created before the `20261013125000_add_project_description` * migration reads back as `null` here. */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier for the project */ id: Scalars['ID']['output']; /** Unique project key/code for identification (e.g., PROJ, ENG) */ key: Scalars['String']['output']; /** Display name of the project */ name: Scalars['String']['output']; /** Current operational status */ status: ProjectStatus; /** Structured tag assignments via wspace-tags-svc (preferred) */ tagAssignments?: Maybe<Array<ProjectTagAssignment>>; /** Flat JSON tags for project metadata and filters. */ tags: Scalars['JSON']['output']; /** Timestamp when project was last updated */ updatedAt: Scalars['DateTime']['output']; /** Parent workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** Authentication response with JWT token for project context */ export type ProjectAuthResponse = { __typename?: 'ProjectAuthResponse'; /** Token expiration timestamp */ expiresAt: Scalars['DateTime']['output']; /** Project that was switched to */ project: Project; /** JWT token with project context embedded */ token: Scalars['String']['output']; }; /** Filter input for querying projects */ export type ProjectFilterInput = { /** Filter archived projects */ archived?: InputMaybe<Scalars['Boolean']['input']>; /** Filter by creator user ID */ creatorId?: InputMaybe<Scalars['ID']['input']>; /** When hierarchy paths are provided, include descendants below them */ includeDescendants?: InputMaybe<Scalars['Boolean']['input']>; /** Require all provided tags/paths to match instead of any */ matchAllTags?: InputMaybe<Scalars['Boolean']['input']>; /** Search by name or key (partial match) */ search?: InputMaybe<Scalars['String']['input']>; /** Filter by project status */ status?: InputMaybe<ProjectStatus>; /** * Filter by tag hierarchy paths stored on the project entity. * Useful for parent-tag filtering with descendant expansion. */ tagHierarchyPaths?: InputMaybe<Array<Scalars['String']['input']>>; /** Filter by exact tag IDs stored on the project entity */ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Filter by exact tag keys stored on the project entity */ tagKeys?: InputMaybe<Array<Scalars['String']['input']>>; /** Filter by workspace ID */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Paginated list of projects */ export type ProjectList = { __typename?: 'ProjectList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of project items */ items: Array<Project>; /** Total count of projects matching the filter */ total: Scalars['Int']['output']; }; /** * ProjectMember entity representing a user's membership in a project. * Associates users with projects for access control and collaboration. */ export type ProjectMember = { __typename?: 'ProjectMember'; /** Timestamp when member was added to project */ createdAt: Scalars['DateTime']['output']; /** Timestamp when member was removed from project (soft delete) */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier for the project member relationship */ id: Scalars['ID']['output']; /** Project ID (opaque reference) */ projectId: Scalars['ID']['output']; /** Timestamp when member relationship was last updated */ updatedAt: Scalars['DateTime']['output']; /** User ID (opaque reference) */ userId: Scalars['ID']['output']; }; /** Filter input for querying project members */ export type ProjectMemberFilterInput = { /** Filter by project ID */ projectId?: InputMaybe<Scalars['ID']['input']>; /** Filter by user ID */ userId?: InputMaybe<Scalars['ID']['input']>; }; /** Paginated list of project members */ export type ProjectMemberList = { __typename?: 'ProjectMemberList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of project member items */ items: Array<ProjectMember>; /** Total count of project members matching the filter */ total: Scalars['Int']['output']; }; export declare enum ProjectMethodology { Agile = "AGILE", Custom = "CUSTOM", Hybrid = "HYBRID", Kanban = "KANBAN", Scrum = "SCRUM", Waterfall = "WATERFALL" } export declare enum ProjectOrderField { Budget = "BUDGET", CreatedAt = "CREATED_AT", Name = "NAME", Status = "STATUS", TrackedHours = "TRACKED_HOURS" } export type ProjectStats = { __typename?: 'ProjectStats'; budgetRemaining?: Maybe<Scalars['Float']['output']>; budgetUsed?: Maybe<Scalars['Float']['output']>; completedTasks: Scalars['Int']['output']; totalHours: Scalars['Float']['output']; totalTasks: Scalars['Int']['output']; }; export declare enum ProjectStatus { /** Project is active and operational */ Active = "ACTIVE", /** Project is archived but not deleted */ Archived = "ARCHIVED", /** Project is temporarily inactive */ Inactive = "INACTIVE" } /** Structured tag assignment for a Project entity */ export type ProjectTagAssignment = { __typename?: 'ProjectTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; /** * A reusable project template that captures project configuration, * work item types, board layouts, and default settings. */ export type ProjectTemplate = { __typename?: 'ProjectTemplate'; /** Board layout configuration */ boardConfig?: Maybe<Scalars['JSON']['output']>; /** Template category */ category?: Maybe<Scalars['String']['output']>; /** Template configuration (JSON - project settings, work item types, etc.) */ configuration: Scalars['JSON']['output']; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this template */ createdBy: Scalars['String']['output']; /** Custom field definitions to create */ customFieldsConfig?: Maybe<Scalars['JSON']['output']>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Template description */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this is a built-in system template */ isBuiltIn: Scalars['Boolean']['output']; /** Whether this template is published and available */ isPublished: Scalars['Boolean']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Template name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Default sprint configuration */ sprintConfig?: Maybe<Scalars['JSON']['output']>; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this template */ updatedBy?: Maybe<Scalars['String']['output']>; /** Number of times this template has been applied */ usageCount: Scalars['Int']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** * Who pays the model provider for a call. Platform-key calls spend AI credits. * Bring-your-own-key calls (the workspace's own provider credentials) are recorded * for visibility but never charged. */ export declare enum PromptAiCredentialSource { ByoKey = "BYO_KEY", Platform = "PLATFORM" } /** CHARGED, SKIPPED (not charged; see reason) or BYO_KEY (recorded, not charged). */ export type PromptAiCreditCharge = { __typename?: 'PromptAiCreditCharge'; /** Estimated USD cost in micro-dollars, derived from the credits (1 credit = 3 micro-USD). */ costMicroUsd?: Maybe<Scalars['String']['output']>; /** Cost-weighted credits for the call, when it could be priced. */ credits?: Maybe<Scalars['Float']['output']>; /** Whether an AI-ledger row was written for the call. */ ledgerRecorded: Scalars['Boolean']['output']; productKey: Scalars['String']['output']; quotaName: Scalars['String']['output']; /** NOT_PRICED | ZERO_COST | RECORD_FAILED | GUARD_REFUSED | NOT_PROVISIONED, when not charged. */ reason?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; }; /** How the workspace stands against `<productKey>.ai.credits`. */ export type PromptAiCreditStatus = { __typename?: 'PromptAiCreditStatus'; /** True when the workspace is provisioned, limited and has no credits left. */ exhausted: Scalars['Boolean']['output']; /** Credits granted for the current cycle. Null when not provisioned or unlimited. */ limit?: Maybe<Scalars['Float']['output']>; /** True when the assignment carries no limit. */ noLimit: Scalars['Boolean']['output']; productKey: Scalars['String']['output']; /** * False when the workspace holds no assignment for this quota (the product has * no AI-credit plan, or the workspace predates it). Such a workspace is not * gated and its calls are not charged. */ provisioned: Scalars['Boolean']['output']; quotaName: Scalars['String']['output']; /** Credits left. Null when not provisioned or unlimited. */ remaining?: Maybe<Scalars['Float']['output']>; /** Credits consumed in the current cycle. Null when not provisioned. */ used?: Maybe<Scalars['Float']['output']>; }; /** Quick preview of prompt analysis */ export type PromptAnalysisPreview = { __typename?: 'PromptAnalysisPreview'; /** Confidence score */ confidence: Scalars['Float']['output']; /** Detected data requirements */ dataRequirements: Array<Scalars['String']['output']>; /** Detected intent/purpose */ detectedIntent: Scalars['String']['output']; /** Key metrics/KPIs detected */ detectedMetrics: Array<Scalars['String']['output']>; /** Estimated number of widgets */ estimatedWidgetCount: Scalars['Int']['output']; /** Suggested dashboard category */ suggestedCategory: BigConsoleDashboardCategory; /** Suggested refinements to the prompt */ suggestedRefinements?: Maybe<Array<Scalars['String']['output']>>; /** Suggested widget types */ suggestedWidgetTypes: Array<BigConsoleWidgetType>; }; /** * Attribution fields are optional. Service and app callers must send subjectType * and subjectId. Unreported fields are not part of the attempt fingerprint. * No prompt or completion text is accepted anywhere in this input. */ export type PromptBeginInvocationAttemptV2Input = { attemptKey: Scalars['String']['input']; modelKey: Scalars['String']['input']; operationKey: Scalars['String']['input']; productKey: Scalars['String']['input']; providerKey: Scalars['String']['input']; sequence?: InputMaybe<Scalars['Int']['input']>; startedAt: Scalars['DateTime']['input']; subjectId?: InputMaybe<Scalars['String']['input']>; subjectPartId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; /** interactive | scheduled | event | api | webhook | test */ trigger?: InputMaybe<Scalars['String']['input']>; }; /** One completed model call to charge. */ export type PromptChargeAiInvocationInput = { cacheReadTokens?: InputMaybe<Scalars['Int']['input']>; cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>; /** * Default PLATFORM. Only a service caller may declare BYO_KEY: a browser * cannot opt itself out of being charged. */ credentialSource?: InputMaybe<PromptAiCredentialSource>; inputTokens: Scalars['Int']['input']; /** * The call's own id inside the session. With sessionId it forms the idempotency * key, so a replayed report is never charged twice. */ messageId: Scalars['String']['input']; /** "provider/model" id, for example `anthropic/claude-sonnet-4-6`. */ model: Scalars['String']['input']; /** * The AI surface that made the call, for example `assistant.turn` or * `ai-studio.create-prompt`. Stored with the usage record and the ledger row. * Default `assistant.turn`. */ operationKey?: InputMaybe<Scalars['String']['input']>; outputTokens: Scalars['Int']['input']; /** Product registry key, for example `fluidgrids`. Selects `<productKey>.ai.credits`. */ productKey: Scalars['String']['input']; /** * Write an AI-ledger row for this call. Default true. A caller that already * records the call in the ledger itself (AI Studio) passes false. */ recordLedger?: InputMaybe<Scalars['Boolean']['input']>; /** Session (assistant session, AI Studio operation, workflow run) the call belongs to. */ sessionId: Scalars['String']['input']; /** * What started the call: interactive | scheduled | event | api | webhook | test. * Stored with the usage record and the ledger row. A user or app caller is * always recorded as interactive whatever it reports; a service caller reports * the trigger of the work it runs (for example a scheduled workflow run). */ trigger?: InputMaybe<Scalars['String']['input']>; }; export type PromptConfig = { __typename?: 'PromptConfig'; autoExecute: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; event: CalendarEvent; eventId: Scalars['String']['output']; id: Scalars['ID']['output']; maxTokens?: Maybe<Scalars['Int']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; model?: Maybe<Scalars['String']['output']>; priority: PromptPriority; promptText: Scalars['String']['output']; results: Array<PromptResult>; temperature?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; vibeControlAgentId?: Maybe<Scalars['String']['output']>; }; export type PromptConfigInput = { autoExecute?: InputMaybe<Scalars['Boolean']['input']>; executeBeforeMinutes?: InputMaybe<Scalars['Int']['input']>; executeOnEventStart?: InputMaybe<Scalars['Boolean']['input']>; maxTokens?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; model?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<PromptPriority>; promptText: Scalars['String']['input']; temperature?: InputMaybe<Scalars['Float']['input']>; vibeControlAgentId?: InputMaybe<Scalars['String']['input']>; }; /** A prompt generation request and its result */ export type PromptGeneration = { __typename?: 'PromptGeneration'; /** Actor who initiated the generation */ actorId: Scalars['ID']['output']; /** Completion timestamp */ completedAt?: Maybe<Scalars['DateTime']['output']>; /** Generation configuration used */ config: BigConsoleDashboardPromptConfig; /** Contextual information for tracking and audit */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Generated dashboard (when completed) */ dashboard?: Maybe<BigConsoleDashboard>; /** Generated dashboard ID */ dashboardId?: Maybe<Scalars['ID']['output']>; /** Error message if generation failed */ errorMessage?: Maybe<Scalars['String']['output']>; /** AI-generated dashboard specification */ generatedSpec?: Maybe<BigConsoleGeneratedDashboardSpec>; /** Server-computed v1 digest of decoded stored specification and configured category. Not human approval or storage bytes. */ generatedSpecDigest?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** The generation this one revises (set by Refine and Regenerate; null for a first generation) */ parentGenerationId?: Maybe<Scalars['ID']['output']>; /** Processing metadata (tokens, latency, model) */ processingMetadata?: Maybe<Scalars['JSON']['output']>; /** Original prompt text */ prompt: Scalars['String']['output']; /** Current status of generation */ status: PromptGenerationStatus; tagAssignments: Array<BigConsoleTagAssignment>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Workspace context */ workspaceId: Scalars['ID']['output']; }; /** Prompt generation connection for pagination */ export type PromptGenerationConnection = { __typename?: 'PromptGenerationConnection'; edges: Array<PromptGenerationEdge>; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; export type PromptGenerationEdge = { __typename?: 'PromptGenerationEdge'; cursor: Scalars['String']['output']; node: PromptGeneration; }; /** Status of prompt generation request */ export declare enum PromptGenerationStatus { /** Generation cancelled by user */ Cancelled = "CANCELLED", /** Dashboard created successfully */ Completed = "COMPLETED", /** Generation failed */ Failed = "FAILED", /** Dashboard generation in progress */ Generating = "GENERATING", /** Generation request received */ Pending = "PENDING", /** AI is processing the prompt */ Processing = "PROCESSING" } /** The outcome of evaluating every active policy against a body of text. */ export type PromptGuardrailDecision = { __typename?: 'PromptGuardrailDecision'; /** allowed | blocked | redacted */ decision: Scalars['String']['output']; /** Keys of the policies that matched. */ matchedPolicyKeys: Array<Scalars['String']['output']>; /** Human-readable explanation, safe to surface to an operator. */ reason?: Maybe<Scalars['String']['output']>; /** Populated when the decision is `redacted`. */ redactedBody?: Maybe<Scalars['String']['output']>; }; export type PromptGuardrailEvaluateInput = { body: Scalars['String']['input']; /** input | output — which side of the call is being checked. */ side: Scalars['String']['input']; templateKey?: InputMaybe<Scalars['String']['input']>; }; /** * A guardrail applied before or after a model call. * * Named PromptGuardrailPolicy rather than Policy because `Policy` is owned by the * botlit subgraph and two subgraphs cannot own the same federated type. */ export type PromptGuardrailPolicy = { __typename?: 'PromptGuardrailPolicy'; /** block | redact | flag */ action: Scalars['String']['output']; /** input | output | both */ appliesTo: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; rule: Scalars['JSON']['output']; /** regex | keyword | pii | max_tokens | model_allowlist | custom */ ruleKind: Scalars['String']['output']; severity: Scalars['String']['output']; templateKeys: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptGuardrailPolicyConnection = { __typename?: 'PromptGuardrailPolicyConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptGuardrailPolicy>; total: Scalars['Int']['output']; }; export type PromptGuardrailPolicyInput = { action?: InputMaybe<Scalars['String']['input']>; appliesTo?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; rule: Scalars['JSON']['input']; ruleKind: Scalars['String']['input']; severity?: InputMaybe<Scalars['String']['input']>; templateKeys?: InputMaybe<Array<Scalars['String']['input']>>; }; /** * One row per model call recorded through the platform. This is what every * product's AI spend, latency and failure reporting reads from, so it carries its * own copies of the provider and model keys: a later rename of a catalog row must * not rewrite history. */ export type PromptInvocation = { __typename?: 'PromptInvocation'; blockedByPolicyKey?: Maybe<Scalars['String']['output']>; completionTokens?: Maybe<Scalars['Int']['output']>; /** Micro-USD. Integer, because float money drifts in a rollup. */ costMicroUsd?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; errorCode?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; latencyMs?: Maybe<Scalars['Int']['output']>; model?: Maybe<PromptModel>; modelId?: Maybe<Scalars['ID']['output']>; modelKey: Scalars['String']['output']; productKey?: Maybe<Scalars['String']['output']>; promptTokens?: Maybe<Scalars['Int']['output']>; providerKey: Scalars['String']['output']; render?: Maybe<PromptRender>; renderId?: Maybe<Scalars['ID']['output']>; requestId?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; /** succeeded | failed | blocked | timed_out */ status: Scalars['String']['output']; subjectId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; template?: Maybe<PromptTemplateDef>; templateId?: Maybe<Scalars['ID']['output']>; templateKey?: Maybe<Scalars['String']['output']>; totalTokens?: Maybe<Scalars['Int']['output']>; workspaceId: Scalars['ID']['output']; }; /** * V2 canonical recorded attempt. Beginning an attempt neither authorizes inference * nor proves that a provider was called. No revision means pending/unknown usage. * V1 records are not migrated or included in V2 summaries. */ export type PromptInvocationAttemptV2 = { __typename?: 'PromptInvocationAttemptV2'; attemptKey: Scalars['String']['output']; correlationId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; fingerprint: Scalars['String']['output']; hasMoreRevisions: Scalars['Boolean']['output']; id: Scalars['ID']['output']; modelKey: Scalars['String']['output']; operationKey: Scalars['String']['output']; origin: Scalars['String']['output']; productKey: Scalars['String']['output']; providerKey: Scalars['String']['output']; revisions: Array<PromptInvocationUsageRevisionV2>; sandboxId?: Maybe<Scalars['String']['output']>; /** Order of the call within the subject part, for example the agent iteration. */ sequence?: Maybe<Scalars['Int']['output']>; startedAt: Scalars['DateTime']['output']; subjectId?: Maybe<Scalars['String']['output']>; /** Part of the subject that made the call, for example a workflow node id. */ subjectPartId?: Maybe<Scalars['String']['output']>; /** Product object the call was made for, for example workflow_run. Null when not reported. */ subjectType?: Maybe<Scalars['String']['output']>; /** interactive | scheduled | event | api | webhook | test; null when not reported. */ trigger?: Maybe<Scalars['String']['output']>; /** Gateway-verified relay provenance only; caller-reported subject dimensions never populate these fields. */ via?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type PromptInvocationConnection = { __typename?: 'PromptInvocationConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptInvocation>; total: Scalars['Int']['output']; }; export type PromptInvocationFilter = { from?: InputMaybe<Scalars['DateTime']['input']>; modelKey?: InputMaybe<Scalars['String']['input']>; productKey?: InputMaybe<Scalars['String']['input']>; providerKey?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; templateKey?: InputMaybe<Scalars['String']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; export type PromptInvocationInput = { blockedByPolicyKey?: InputMaybe<Scalars['String']['input']>; completionTokens?: InputMaybe<Scalars['Int']['input']>; costMicroUsd?: InputMaybe<Scalars['Int']['input']>; errorCode?: InputMaybe<Scalars['String']['input']>; errorMessage?: InputMaybe<Scalars['String']['input']>; finishedAt?: InputMaybe<Scalars['DateTime']['input']>; latencyMs?: InputMaybe<Scalars['Int']['input']>; modelId?: InputMaybe<Scalars['ID']['input']>; modelKey: Scalars['String']['input']; productKey?: InputMaybe<Scalars['String']['input']>; promptTokens?: InputMaybe<Scalars['Int']['input']>; providerKey: Scalars['String']['input']; renderId?: InputMaybe<Scalars['ID']['input']>; /** Idempotency key. A retry with the same value must not double-count spend. */ requestId?: InputMaybe<Scalars['String']['input']>; startedAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; templateId?: InputMaybe<Scalars['ID']['input']>; templateKey?: InputMaybe<Scalars['String']['input']>; }; /** * Immutable caller-reported observation, not proof of provider billing. Nullable * canonical integer strings are exact, nonnegative and bounded to signed BIGINT. * Cached input is included in inputTokens; totalTokens requires both components. * Cost is an estimated USD micro-unit subtotal with immutable pricing reference. */ export type PromptInvocationUsageRevisionV2 = { __typename?: 'PromptInvocationUsageRevisionV2'; attemptId: Scalars['ID']['output']; cachedInputTokens?: Maybe<Scalars['String']['output']>; costKind: Scalars['String']['output']; costMicroUsd?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; eventKey: Scalars['String']['output']; fingerprint: Scalars['String']['output']; finishedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; inputTokens?: Maybe<Scalars['String']['output']>; origin: Scalars['String']['output']; outcome: Scalars['String']['output']; outputTokens?: Maybe<Scalars['String']['output']>; predecessorId?: Maybe<Scalars['ID']['output']>; pricingReference?: Maybe<Scalars['String']['output']>; revision: Scalars['Int']['output']; totalTokens?: Maybe<Scalars['String']['output']>; }; /** * A record of which MCP servers a workspace's agents may connect to. A pointer, * not a proxy: nothing here executes a tool call. */ export type PromptMcpServer = { __typename?: 'PromptMcpServer'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; endpoint?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; toolNames: Array<Scalars['String']['output']>; /** stdio | http | sse */ transport: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptMcpServerConnection = { __typename?: 'PromptMcpServerConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptMcpServer>; total: Scalars['Int']['output']; }; export type PromptMcpServerInput = { description?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; endpoint?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; toolNames?: InputMaybe<Array<Scalars['String']['input']>>; transport?: InputMaybe<Scalars['String']['input']>; }; /** * A specific model, with the facts a caller needs in order to pick one. * * Pricing is carried here for same-layer cost rollups on the invocation ledger. * `global-billing-svc` owns `AiModelPrice` for billing purposes; this is a * workspace-layer copy so recording an invocation does not require a cross-layer * call per write, and the two are reconciled rather than merged. */ export type PromptModel = { __typename?: 'PromptModel'; contextWindow?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; deprecatedAt?: Maybe<Scalars['DateTime']['output']>; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; /** @deprecated Not a price source: ledger cost comes from global-billing AiModelPrice (BOFF-9935). */ inputCostPerMTokens?: Maybe<Scalars['Int']['output']>; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; maxOutputTokens?: Maybe<Scalars['Int']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; /** chat | completion | embedding | rerank | image | audio */ modality: Scalars['String']['output']; /** @deprecated Not a price source: ledger cost comes from global-billing AiModelPrice (BOFF-9935). */ outputCostPerMTokens?: Maybe<Scalars['Int']['output']>; provider?: Maybe<PromptProvider>; providerId: Scalars['ID']['output']; supportsStreaming: Scalars['Boolean']['output']; supportsTools: Scalars['Boolean']['output']; supportsVision: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type PromptModelConnection = { __typename?: 'PromptModelConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptModel>; total: Scalars['Int']['output']; }; export type PromptModelInput = { contextWindow?: InputMaybe<Scalars['Int']['input']>; deprecatedAt?: InputMaybe<Scalars['DateTime']['input']>; displayName: Scalars['String']['input']; inputCostPerMTokens?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; maxOutputTokens?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; modality?: InputMaybe<Scalars['String']['input']>; outputCostPerMTokens?: InputMaybe<Scalars['Int']['input']>; providerId: Scalars['ID']['input']; supportsStreaming?: InputMaybe<Scalars['Boolean']['input']>; supportsTools?: InputMaybe<Scalars['Boolean']['input']>; supportsVision?: InputMaybe<Scalars['Boolean']['input']>; }; export declare enum PromptPriority { High = "HIGH", Low = "LOW", Medium = "MEDIUM", Urgent = "URGENT" } /** * A model vendor. Rows with a null `workspaceId` are the platform catalog, * readable by every workspace; a workspace may also register a private provider. */ export type PromptProvider = { __typename?: 'PromptProvider'; baseUrl?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; displayName: Scalars['String']['output']; docsUrl?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; /** hosted | self_hosted | gateway */ kind: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; models: Array<PromptModel>; updatedAt: Scalars['DateTime']['output']; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type PromptProviderConnection = { __typename?: 'PromptProviderConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptProvider>; total: Scalars['Int']['output']; }; /** * A workspace's API key for a provider. * * The secret is stored as AES-256-GCM ciphertext and there is deliberately NO * field on this type that returns it. `keyHint` is the last four characters, so a * human can tell two keys apart without the key ever leaving the service. */ export type PromptProviderCredential = { __typename?: 'PromptProviderCredential'; allowedModelKeys: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; keyHint: Scalars['String']['output']; label: Scalars['String']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; provider?: Maybe<PromptProvider>; providerId: Scalars['ID']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptProviderCredentialConnection = { __typename?: 'PromptProviderCredentialConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptProviderCredential>; total: Scalars['Int']['output']; }; export type PromptProviderCredentialInput = { allowedModelKeys?: InputMaybe<Array<Scalars['String']['input']>>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; label: Scalars['String']['input']; providerId: Scalars['ID']['input']; /** Write-only. Never returned by any field on PromptProviderCredential. */ secret: Scalars['String']['input']; }; export type PromptProviderInput = { baseUrl?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; docsUrl?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; kind?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; }; /** * The calling workspace's AI prompt-generation quota for the current calendar * month. `limit`/`remaining` are null for ENTERPRISE (unlimited). */ export type PromptQuota = { __typename?: 'PromptQuota'; limit?: Maybe<Scalars['Int']['output']>; plan: BillingPlan; remaining?: Maybe<Scalars['Int']['output']>; /** Start of the next calendar month (UTC), when `used` resets to 0. */ resetAt: Scalars['DateTime']['output']; used: Scalars['Int']['output']; }; export type PromptRecordInvocationUsageV2Input = { attemptKey: Scalars['String']['input']; cachedInputTokens?: InputMaybe<Scalars['String']['input']>; costMicroUsd?: InputMaybe<Scalars['String']['input']>; eventKey: Scalars['String']['input']; finishedAt: Scalars['DateTime']['input']; inputTokens?: InputMaybe<Scalars['String']['input']>; /** succeeded | failed | blocked | timed_out */ outcome: Scalars['String']['input']; outputTokens?: InputMaybe<Scalars['String']['input']>; predecessorId?: InputMaybe<Scalars['ID']['input']>; pricingReference?: InputMaybe<Scalars['String']['input']>; revision: Scalars['Int']['input']; /** * When true and costMicroUsd is null, the server prices the observation from * global-billing AiModelPrice (exact provider/model row only, never a default) * and stores the cost with a billing.ai_model_prices pricing reference. An * unknown model or a billing outage leaves the cost null. Not fingerprinted. */ serverPricing?: InputMaybe<Scalars['Boolean']['input']>; }; /** * A materialised prompt: a template version with its variables filled in. Kept so * an invocation can be reproduced exactly — the version text alone is not enough, * because the variable values are what made it this prompt. */ export type PromptRender = { __typename?: 'PromptRender'; bodyHash: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; renderedBody: Scalars['String']['output']; variableValues?: Maybe<Scalars['JSON']['output']>; versionId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptRenderInput = { /** Persist the render so an invocation can reference it. Default true. */ persist?: InputMaybe<Scalars['Boolean']['input']>; /** Render the published version unless a specific one is named. */ templateKey: Scalars['String']['input']; variableValues?: InputMaybe<Scalars['JSON']['input']>; versionId?: InputMaybe<Scalars['ID']['input']>; }; export type PromptResult = { __typename?: 'PromptResult'; config?: Maybe<PromptConfig>; cost?: Maybe<Scalars['Float']['output']>; duration?: Maybe<Scalars['Int']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; event: CalendarEvent; eventId: Scalars['String']['output']; executedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; model?: Maybe<Scalars['String']['output']>; promptText: Scalars['String']['output']; result?: Maybe<Scalars['String']['output']>; status: CalendarExecutionStatus; tokensUsed?: Maybe<Scalars['Int']['output']>; }; export type PromptResultConnection = { __typename?: 'PromptResultConnection'; hasMore: Scalars['Boolean']['output']; results: Array<PromptResult>; total: Scalars['Int']['output']; }; /** Example prompt suggestion */ export type PromptSuggestion = { __typename?: 'PromptSuggestion'; /** Category of suggestion */ category: Scalars['String']['output']; /** Example output description */ exampleDescription?: Maybe<Scalars['String']['output']>; /** Suggestion ID */ id: Scalars['ID']['output']; /** Full prompt text */ prompt: Scalars['String']['output']; /** Tags for filtering */ tags: Array<Scalars['String']['output']>; /** Short title */ title: Scalars['String']['output']; }; export type PromptTemplate = { __typename?: 'PromptTemplate'; bucketId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; exampleInputs: Scalars['JSON']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; revision: Scalars['Int']['output']; slug: Scalars['String']['output']; status: EntityStatus; tags: Array<Scalars['String']['output']>; templateText: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; variables: Scalars['JSON']['output']; version: Scalars['String']['output']; visibility: Visibility; workspaceId: Scalars['ID']['output']; }; /** * A named, versioned prompt. The text lives in versions — editing in place would * make the invocation ledger unreadable, because a recorded call could no longer * be tied to the prompt that actually ran. */ export type PromptTemplateDef = { __typename?: 'PromptTemplateDef'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; productKey?: Maybe<Scalars['String']['output']>; publishedVersion?: Maybe<PromptTemplateVersion>; publishedVersionId?: Maybe<Scalars['ID']['output']>; subjectId?: Maybe<Scalars['String']['output']>; /** * Loose binding to the owning product entity. Deliberately not a federated * reference — the owning product resolves its own side. */ subjectType?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; versions: Array<PromptTemplateVersion>; workspaceId: Scalars['ID']['output']; }; export type PromptTemplateDefConnection = { __typename?: 'PromptTemplateDefConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptTemplateDef>; total: Scalars['Int']['output']; }; export type PromptTemplateDefInput = { description?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; productKey?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PromptTemplateFilter = { isActive?: InputMaybe<Scalars['Boolean']['input']>; productKey?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; tag?: InputMaybe<Scalars['String']['input']>; }; export type PromptTemplateFilterInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; visibility?: InputMaybe<Visibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** One immutable revision of a template. */ export type PromptTemplateVersion = { __typename?: 'PromptTemplateVersion'; body: Scalars['String']['output']; changeNote?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; defaultMaxTokens?: Maybe<Scalars['Int']['output']>; defaultModelKey?: Maybe<Scalars['String']['output']>; defaultTemperature?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; templateId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** * Declared variables. A render fails loudly on a missing one rather than * shipping a literal {{placeholder}} to a model. */ variables?: Maybe<Scalars['JSON']['output']>; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptTemplateVersionConnection = { __typename?: 'PromptTemplateVersionConnection'; hasMore: Scalars['Boolean']['output']; items: Array<PromptTemplateVersion>; total: Scalars['Int']['output']; }; export type PromptTemplateVersionInput = { body: Scalars['String']['input']; changeNote?: InputMaybe<Scalars['String']['input']>; defaultMaxTokens?: InputMaybe<Scalars['Int']['input']>; defaultModelKey?: InputMaybe<Scalars['String']['input']>; defaultTemperature?: InputMaybe<Scalars['Float']['input']>; templateId: Scalars['ID']['input']; variables?: InputMaybe<Scalars['JSON']['input']>; }; /** One group of a usage breakdown. Group fields that were not requested are null. */ export type PromptUsageBreakdownRowV2 = { __typename?: 'PromptUsageBreakdownRowV2'; attempts: Scalars['String']['output']; costMicroUsd: PromptUsageComponentV2; inputTokens: PromptUsageComponentV2; modelKey?: Maybe<Scalars['String']['output']>; operationKey?: Maybe<Scalars['String']['output']>; outputTokens: PromptUsageComponentV2; pendingAttempts: Scalars['String']['output']; productKey?: Maybe<Scalars['String']['output']>; providerKey?: Maybe<Scalars['String']['output']>; subjectId?: Maybe<Scalars['String']['output']>; subjectPartId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; totalTokens: PromptUsageComponentV2; trigger?: Maybe<Scalars['String']['output']>; }; /** * Latest observations for recorded V2 attempts in [from,to), grouped by the * requested dimensions, highest known cost first. At most 500 rows; truncated is * true when more groups exist. Same estimate semantics as PromptUsageSummaryV2. */ export type PromptUsageBreakdownV2 = { __typename?: 'PromptUsageBreakdownV2'; costKind: Scalars['String']['output']; currency: Scalars['String']['output']; from: Scalars['DateTime']['output']; groupBy: Array<PromptUsageDimensionV2>; operationKey?: Maybe<Scalars['String']['output']>; origin: Scalars['String']['output']; productKey?: Maybe<Scalars['String']['output']>; rows: Array<PromptUsageBreakdownRowV2>; scope: Scalars['String']['output']; subjectId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; to: Scalars['DateTime']['output']; trigger?: Maybe<Scalars['String']['output']>; truncated: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptUsageByProvider = { __typename?: 'PromptUsageByProvider'; costMicroUsd: Scalars['Int']['output']; invocations: Scalars['Int']['output']; modelKey: Scalars['String']['output']; providerKey: Scalars['String']['output']; totalTokens: Scalars['Int']['output']; }; export type PromptUsageComponentV2 = { __typename?: 'PromptUsageComponentV2'; knownAttempts: Scalars['String']['output']; /** Null when no attempts report this component, including an empty window. */ knownSubtotal?: Maybe<Scalars['String']['output']>; missingAttempts: Scalars['String']['output']; }; export declare enum PromptUsageDimensionV2 { /** Groups by provider and model together. */ Model = "MODEL", Operation = "OPERATION", Product = "PRODUCT", Provider = "PROVIDER", /** Groups by subjectType and subjectId. */ Subject = "SUBJECT", /** Groups by subjectType, subjectId and subjectPartId. */ SubjectPart = "SUBJECT_PART", Trigger = "TRIGGER" } /** Aggregated spend and usage, for a dashboard that must not scan the ledger. */ export type PromptUsageSummary = { __typename?: 'PromptUsageSummary'; blocked: Scalars['Int']['output']; byProvider: Array<PromptUsageByProvider>; completionTokens: Scalars['Int']['output']; costMicroUsd: Scalars['Int']['output']; failed: Scalars['Int']['output']; from: Scalars['DateTime']['output']; invocations: Scalars['Int']['output']; promptTokens: Scalars['Int']['output']; succeeded: Scalars['Int']['output']; to: Scalars['DateTime']['output']; totalTokens: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** * Latest observations for recorded V2 attempts in [from,to), not all provider * traffic. Counts and SQL numeric subtotals are exact decimal strings. Caller * reports and cost estimates are not authoritative billing. V1 is excluded. */ export type PromptUsageSummaryV2 = { __typename?: 'PromptUsageSummaryV2'; attempts: Scalars['String']['output']; costKind: Scalars['String']['output']; costMicroUsd: PromptUsageComponentV2; currency: Scalars['String']['output']; from: Scalars['DateTime']['output']; inputTokens: PromptUsageComponentV2; knownAttempts: Scalars['String']['output']; operationKey?: Maybe<Scalars['String']['output']>; operations: Scalars['String']['output']; origin: Scalars['String']['output']; outputTokens: PromptUsageComponentV2; partialAttempts: Scalars['String']['output']; pendingAttempts: Scalars['String']['output']; productKey?: Maybe<Scalars['String']['output']>; scope: Scalars['String']['output']; to: Scalars['DateTime']['output']; totalTokens: PromptUsageComponentV2; unknownAttempts: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type PromptVariable = { __typename?: 'PromptVariable'; defaultValue?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; required: Scalars['Boolean']['output']; type: Scalars['String']['output']; }; export type PropertyFilterInput = { operator: ComparisonOperator; property: Scalars['String']['input']; value?: InputMaybe<Scalars['JSON']['input']>; }; export type ProposeAgronomyDecisionsInput = { context: ContextInput; /** IRRIGATION | TREATMENT. */ decisionType: Scalars['String']['input']; }; /** Input for proposing a fix for a failed run */ export type ProposeRunFixInput = { model?: InputMaybe<Scalars['String']['input']>; /** Optional extra guidance for the fix */ prompt?: InputMaybe<Scalars['String']['input']>; runId: Scalars['ID']['input']; }; /** Input for proposing a new workflow or a change to an existing one */ export type ProposeWorkflowChangeInput = { /** Version to change. Defaults to the latest version of workflowKey. */ baseVersion?: InputMaybe<Scalars['String']['input']>; /** Optional model id override (for example claude-opus-5-5) */ model?: InputMaybe<Scalars['String']['input']>; /** * What to emit. TYPESCRIPT and PYTHON need the `fluidgrids.code-first` and `fluidgrids.ai-code` * features (FEATURE_DISABLED before any model call otherwise); read the code from `code`. */ output?: InputMaybe<WorkflowCodeOutput>; /** What the workflow should do, or what to change (up to 4000 characters) */ prompt: Scalars['String']['input']; /** Optional starting pattern id from `workflowGenerationTemplates` */ template?: InputMaybe<Scalars['String']['input']>; /** Workflow to change. Omit to propose a new workflow. */ workflowKey?: InputMaybe<Scalars['String']['input']>; }; export type ProposeWorkspaceCompositionInput = { /** When false, skip the LLM and use the deterministic composer only. */ preferAi?: InputMaybe<Scalars['Boolean']['input']>; profile: WorkspaceBusinessProfileInput; workspaceId: Scalars['ID']['input']; }; export type ProvenanceRecord = { __typename?: 'ProvenanceRecord'; assetId: Scalars['ID']['output']; attestedAt: Scalars['DateTime']['output']; attestedBy: Scalars['String']['output']; blockNumber?: Maybe<Scalars['Int']['output']>; chainNetwork: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; hash: Scalars['String']['output']; id: Scalars['ID']['output']; metadata: Scalars['JSONObject']['output']; txHash?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum ProviderCategory { Accounting = "ACCOUNTING", Analytics = "ANALYTICS", Calendar = "CALENDAR", CloudStorage = "CLOUD_STORAGE", Communication = "COMMUNICATION", Crm = "CRM", Custom = "CUSTOM", Development = "DEVELOPMENT", Email = "EMAIL", Payment = "PAYMENT", Productivity = "PRODUCTIVITY", Social = "SOCIAL" } export type ProviderFilterInput = { authType?: InputMaybe<AuthType>; category?: InputMaybe<ProviderCategory>; isBuiltIn?: InputMaybe<Scalars['Boolean']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; pluginStatus?: InputMaybe<PluginStatus>; search?: InputMaybe<Scalars['String']['input']>; }; export type ProviderList = { __typename?: 'ProviderList'; hasMore: Scalars['Boolean']['output']; items: Array<IntegrationProvider>; total: Scalars['Int']['output']; }; /** An assistant sandbox for the caller, built by the service. */ export type ProvisionAssistantSandboxInput = { context: ContextInput; /** At most AI_ASSISTANT_PRODUCT, HOSTNAME and WORKSPACE_ID, each with the value the request implies. Never a token. */ env?: InputMaybe<Array<EnvVarInput>>; /** An org-published ai-assistant runtime image. */ image: Scalars['String']['input']; mode: SandboxAssistantMode; /** The product whose docs and persona the assistant uses (e.g. vibecontrols). */ product: Scalars['String']['input']; /** Requested lifetime; bounded by the plan and the workspace maximum. */ ttlSeconds?: InputMaybe<Scalars['Int']['input']>; /** Take action only; Ask ignores it. */ writeApproval?: InputMaybe<SandboxAssistantWriteApproval>; }; export type ProxySandboxRequestInput = { /** Request body as JSON (for POST/PUT/PATCH) */ body?: InputMaybe<Scalars['JSON']['input']>; /** Optional container name if sandbox has multiple containers */ containerName?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** * Read-only ("assistant") sandboxes authenticate with the caller's OWN tokens * rather than a minted OAuth app. The FE forwards its current access + workspace * tokens here so the in-sandbox agent always has a fresh, non-stale token (the * gateway strips the raw Authorization/X-Workspace-Authorization before the * subgraph, so they cannot be recovered from request headers). Ignored for the * app-credential ("Take action") mode. */ forwardedAuthToken?: InputMaybe<Scalars['String']['input']>; forwardedWorkspaceToken?: InputMaybe<Scalars['String']['input']>; /** HTTP method: GET, POST, PUT, PATCH, DELETE */ method: Scalars['String']['input']; /** Path to forward (e.g., /sessions, /sessions/:id/prompt) */ path: Scalars['String']['input']; sandboxId: Scalars['ID']['input']; }; export type ProxySandboxResponse = { __typename?: 'ProxySandboxResponse'; body?: Maybe<Scalars['JSON']['output']>; status: Scalars['Int']['output']; }; export type PswAgedReceivableBucket = { __typename?: 'PswAgedReceivableBucket'; amount: Scalars['Float']['output']; count: Scalars['Int']['output']; }; export type PswAgedReceivables = { __typename?: 'PswAgedReceivables'; current: PswAgedReceivableBucket; ninetyPlus: PswAgedReceivableBucket; sixty: PswAgedReceivableBucket; thirty: PswAgedReceivableBucket; }; /** * One slice of a revenue distribution (practice area, client or engagement). * id is null for the unassigned bucket (invoices with no engagement/practice area). */ export type PswAnalyticsDistributionRow = { __typename?: 'PswAnalyticsDistributionRow'; amount: Scalars['Float']['output']; id?: Maybe<Scalars['ID']['output']>; invoiceCount: Scalars['Int']['output']; label: Scalars['String']['output']; /** Share of totalInvoiced in the window, 0-100. */ sharePct: Scalars['Float']['output']; }; export type PswClient = { __typename?: 'PswClient'; address?: Maybe<Scalars['String']['output']>; contactEmail?: Maybe<Scalars['String']['output']>; contactName?: Maybe<Scalars['String']['output']>; contactPhone?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** * Firm-defined custom field values for this client (BOFF-5883). Empty when * the firm has no active CLIENT custom field definitions or none are set. */ customFields: Array<PswCustomFieldValue>; /** * Deprecated: use engagementsList for paginated access. This array is capped * at the service max limit (100) and will not return larger result sets. */ engagements: Array<PswEngagement>; engagementsList: PswEngagementConnection; id: Scalars['ID']['output']; industry?: Maybe<Scalars['String']['output']>; /** * Deprecated: use mattersList for paginated access. This array is capped at * the service max limit (100) and will not return larger result sets. */ matters: Array<PswMatter>; mattersList: PswMatterConnection; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; relationshipOwnerId?: Maybe<Scalars['ID']['output']>; status: PswClientStatus; tags: Array<Scalars['String']['output']>; type: PswClientType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswClientEngagementsListArgs = { pagination?: InputMaybe<PaginationInput>; }; export type PswClientMattersListArgs = { pagination?: InputMaybe<PaginationInput>; }; export type PswClientConnection = { __typename?: 'PswClientConnection'; items: Array<PswClient>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; /** * Pending self-service portal invite. `claimedAt`/`claimedBy` are null until * the invitee authenticated and the portal link materialized. */ export type PswClientPortalInvite = { __typename?: 'PswClientPortalInvite'; claimedAt?: Maybe<Scalars['DateTime']['output']>; claimedBy?: Maybe<Scalars['ID']['output']>; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; email: Scalars['String']['output']; id: Scalars['ID']['output']; invitedAt: Scalars['DateTime']['output']; invitedBy: Scalars['ID']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswClientPortalInviteConnection = { __typename?: 'PswClientPortalInviteConnection'; items: Array<PswClientPortalInvite>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswClientPortalUser = { __typename?: 'PswClientPortalUser'; actorId: Scalars['ID']['output']; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; email: Scalars['String']['output']; id: Scalars['ID']['output']; invitedAt: Scalars['DateTime']['output']; invitedBy: Scalars['ID']['output']; name: Scalars['String']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; status: PswClientPortalUserStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswClientPortalUserConnection = { __typename?: 'PswClientPortalUserConnection'; items: Array<PswClientPortalUser>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswClientPortalUserStatus { Active = "ACTIVE", Revoked = "REVOKED" } export declare enum PswClientStatus { Active = "ACTIVE", Archived = "ARCHIVED", Inactive = "INACTIVE", Prospect = "PROSPECT" } export declare enum PswClientType { Individual = "INDIVIDUAL", Organization = "ORGANIZATION" } export type PswCollectionMonth = { __typename?: 'PswCollectionMonth'; collected: Scalars['Float']['output']; collectionRate: Scalars['Float']['output']; invoiced: Scalars['Float']['output']; /** YYYY-MM */ month: Scalars['String']['output']; }; export type PswComplianceCheck = { __typename?: 'PswComplianceCheck'; createdAt: Scalars['DateTime']['output']; details?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; evidenceFileId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; resolvedAt?: Maybe<Scalars['DateTime']['output']>; reviewerId?: Maybe<Scalars['ID']['output']>; status: PswComplianceStatus; subjectId: Scalars['ID']['output']; subjectType: Scalars['String']['output']; title: Scalars['String']['output']; type: PswComplianceType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswComplianceCheckConnection = { __typename?: 'PswComplianceCheckConnection'; items: Array<PswComplianceCheck>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswComplianceObligation = { __typename?: 'PswComplianceObligation'; acceptedUnits: Scalars['String']['output']; /** Null is unclassified. It does not prove a match to another missing category. */ category?: Maybe<Scalars['String']['output']>; credentialId?: Maybe<Scalars['ID']['output']>; credits: Array<PswEducationCredit>; dueAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: PswObligationKind; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; policyDescription: Scalars['String']['output']; policySourceUrl: Scalars['String']['output']; practitionerId: Scalars['ID']['output']; reminderState: Scalars['String']['output']; requiredUnits: Scalars['String']['output']; revision: Scalars['Int']['output']; sourceTimezone: Scalars['String']['output']; state: Scalars['String']['output']; title: Scalars['String']['output']; unitKind: PswEducationUnit; unitLabel: Scalars['String']['output']; }; export type PswComplianceObligationPage = { __typename?: 'PswComplianceObligationPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswComplianceObligation>; totalCount: Scalars['Int']['output']; }; export declare enum PswComplianceStatus { Failed = "FAILED", InReview = "IN_REVIEW", Passed = "PASSED", Pending = "PENDING", Waived = "WAIVED" } export declare enum PswComplianceType { ContinuingEducation = "CONTINUING_EDUCATION", DataRetention = "DATA_RETENTION", EngagementAcceptance = "ENGAGEMENT_ACCEPTANCE", Independence = "INDEPENDENCE", LegalHold = "LEGAL_HOLD", Licensing = "LICENSING" } export type PswConflictCheck = { __typename?: 'PswConflictCheck'; clearedById?: Maybe<Scalars['ID']['output']>; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; findings?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; matterId?: Maybe<Scalars['ID']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; searchedParties: Array<Scalars['String']['output']>; status: PswConflictCheckStatus; updatedAt: Scalars['DateTime']['output']; waiverReason?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type PswConflictCheckConnection = { __typename?: 'PswConflictCheckConnection'; items: Array<PswConflictCheck>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswConflictCheckStatus { Clear = "CLEAR", Conflict = "CONFLICT", Pending = "PENDING", PotentialConflict = "POTENTIAL_CONFLICT", Waived = "WAIVED" } export type PswCreateClientInput = { address?: InputMaybe<Scalars['String']['input']>; contactEmail?: InputMaybe<Scalars['String']['input']>; contactName?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; industry?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; relationshipOwnerId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<PswClientStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<PswClientType>; }; export type PswCreateComplianceCheckInput = { details?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; reviewerId?: InputMaybe<Scalars['ID']['input']>; subjectId: Scalars['ID']['input']; subjectType: Scalars['String']['input']; title: Scalars['String']['input']; type: PswComplianceType; }; export type PswCreateConflictCheckInput = { clientId: Scalars['ID']['input']; findings?: InputMaybe<Scalars['String']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; searchedParties: Array<Scalars['String']['input']>; }; export type PswCreateCustomFieldDefinitionInput = { entityType: PswCustomFieldEntityType; key: Scalars['String']['input']; label: Scalars['String']['input']; options?: InputMaybe<Array<Scalars['String']['input']>>; required?: InputMaybe<Scalars['Boolean']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; type: PswCustomFieldType; }; export type PswCreateDeliverableInput = { acceptanceCriteria?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; engagementId: Scalars['ID']['input']; fileId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; }; export type PswCreateDocumentInput = { classification?: InputMaybe<PswDocumentClassification>; description?: InputMaybe<Scalars['String']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; legalHold?: InputMaybe<Scalars['Boolean']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; retainUntil?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PswDocumentStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PswCreateEngagementInput = { clientId: Scalars['ID']['input']; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; feeAmount?: InputMaybe<Scalars['Float']['input']>; feeArrangement?: InputMaybe<PswFeeArrangement>; name: Scalars['String']['input']; nextRetainerRunAt?: InputMaybe<Scalars['DateTime']['input']>; practiceAreaId?: InputMaybe<Scalars['ID']['input']>; responsiblePartnerId?: InputMaybe<Scalars['ID']['input']>; retainerAmount?: InputMaybe<Scalars['Float']['input']>; retainerCadence?: InputMaybe<PswRetainerCadence>; retainerEndDate?: InputMaybe<Scalars['DateTime']['input']>; retainerStartDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PswCreateInvoiceInput = { clientId: Scalars['ID']['input']; currency?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; issueDate?: InputMaybe<Scalars['DateTime']['input']>; /** * Manually entered lines: [{ description, quantity, rate, amount? }]. When * supplied, subtotal and total are derived from the lines (a supplied subtotal * or total must match). Cannot be combined with timeEntryIds or milestoneIds. */ lineItems?: InputMaybe<Scalars['JSON']['input']>; milestoneIds?: InputMaybe<Array<Scalars['ID']['input']>>; notes?: InputMaybe<Scalars['String']['input']>; number: Scalars['String']['input']; subtotal?: InputMaybe<Scalars['Float']['input']>; taxAmount?: InputMaybe<Scalars['Float']['input']>; timeEntryIds?: InputMaybe<Array<Scalars['ID']['input']>>; total?: InputMaybe<Scalars['Float']['input']>; }; export type PswCreateIssuingBodyInput = { credentialCategory: Scalars['String']['input']; displayName: Scalars['String']['input']; jurisdiction: Scalars['String']['input']; requestKey: Scalars['String']['input']; sourceUrl: Scalars['String']['input']; }; export type PswCreateMatterInput = { clientId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; isPrivileged?: InputMaybe<Scalars['Boolean']['input']>; leadPractitionerId?: InputMaybe<Scalars['ID']['input']>; practiceAreaId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<PswMatterPriority>; reference?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type PswCreateMilestoneInput = { description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; engagementId: Scalars['ID']['input']; name: Scalars['String']['input']; triggerAmount?: InputMaybe<Scalars['Float']['input']>; triggersInvoice?: InputMaybe<Scalars['Boolean']['input']>; }; export type PswCreatePracticeAreaInput = { code?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; }; export type PswCreatePractitionerInput = { displayName: Scalars['String']['input']; practiceArea: Scalars['String']['input']; requestKey: Scalars['String']['input']; }; export type PswCreateRecurringFilingInput = { cadence: PswRetainerCadence; engagementId: Scalars['ID']['input']; nextDueAt: Scalars['DateTime']['input']; reminderDaysBefore?: InputMaybe<Scalars['Int']['input']>; title: Scalars['String']['input']; }; export type PswCreateRetainerDraftInvoiceInput = { engagementId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; export type PswCreateSignatureRequestInput = { documentId: Scalars['ID']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; message?: InputMaybe<Scalars['String']['input']>; signers: Array<PswSignatureSignerInput>; }; export type PswCreateTeamAssignmentInput = { allocationPct?: InputMaybe<Scalars['Int']['input']>; billingRate?: InputMaybe<Scalars['Float']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; isLead?: InputMaybe<Scalars['Boolean']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; practitionerId: Scalars['ID']['input']; role?: InputMaybe<PswTeamRole>; }; export type PswCreateTimeEntryInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; date: Scalars['DateTime']['input']; engagementId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; minutes: Scalars['Int']['input']; narrative?: InputMaybe<Scalars['String']['input']>; rate?: InputMaybe<Scalars['Float']['input']>; }; export type PswCreateTrustAccountInput = { accountNumberLast4?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; institutionName?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; }; export type PswCreateTrustTransferInput = { amount: Scalars['Float']['input']; clientId: Scalars['ID']['input']; invoiceId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; reason?: InputMaybe<Scalars['String']['input']>; trustAccountId: Scalars['ID']['input']; }; export type PswCreateWriteOffInput = { amount: Scalars['Float']['input']; invoiceId?: InputMaybe<Scalars['ID']['input']>; reason: Scalars['String']['input']; timeEntryId?: InputMaybe<Scalars['ID']['input']>; }; export type PswCredentialEvidenceInput = { fileId: Scalars['ID']['input']; sha256: Scalars['String']['input']; versionId: Scalars['ID']['input']; }; export type PswCredentialFactsInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; identifier: Scalars['String']['input']; issuingBodyId: Scalars['ID']['input']; jurisdiction: Scalars['String']['input']; practiceScope: Scalars['String']['input']; practitionerId: Scalars['ID']['input']; renewalDueAt?: InputMaybe<Scalars['DateTime']['input']>; sourceTimezone: Scalars['String']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validityKind: PswRecordedValidity; }; /** Comparison of recorded facts, without an inferred legal authorization or freshness rule. */ export type PswCredentialRecordedReadiness = { __typename?: 'PswCredentialRecordedReadiness'; asOf: Scalars['DateTime']['output']; id: Scalars['ID']['output']; legalAuthorizationCertified: Scalars['Boolean']['output']; observation: PswSourceObservation; observedAt?: Maybe<Scalars['DateTime']['output']>; recordedState: Scalars['String']['output']; reviewIsForCurrentRevision: Scalars['Boolean']['output']; revision: Scalars['Int']['output']; }; /** A committed local request receipt references the record; it is not an immutable current-record snapshot. Absence remains unconfirmed. */ export type PswCredentialRequestOutcome = { __typename?: 'PswCredentialRequestOutcome'; committedAt?: Maybe<Scalars['DateTime']['output']>; operation: PswCredentialWriteOperation; receiptId?: Maybe<Scalars['ID']['output']>; recordId?: Maybe<Scalars['ID']['output']>; requestKey: Scalars['String']['output']; status: PswCredentialRequestStatus; zeroEffectsCertified: Scalars['Boolean']['output']; }; export declare enum PswCredentialRequestStatus { Committed = "COMMITTED", Unconfirmed = "UNCONFIRMED" } export type PswCredentialReview = { __typename?: 'PswCredentialReview'; checkedAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; credentialId: Scalars['ID']['output']; credentialRevision: Scalars['Int']['output']; credentialSnapshot: Scalars['JSON']['output']; evidenceFileId: Scalars['ID']['output']; evidenceSha256: Scalars['String']['output']; evidenceVersionId: Scalars['ID']['output']; id: Scalars['ID']['output']; note: Scalars['String']['output']; observation: PswSourceObservation; sequence: Scalars['Int']['output']; sourceUrl: Scalars['String']['output']; }; export type PswCredentialReviewPage = { __typename?: 'PswCredentialReviewPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswCredentialReview>; totalCount: Scalars['Int']['output']; }; export declare enum PswCredentialWriteOperation { ArchiveCredential = "ARCHIVE_CREDENTIAL", ArchiveEducationCredit = "ARCHIVE_EDUCATION_CREDIT", ArchiveIssuingBody = "ARCHIVE_ISSUING_BODY", ArchiveObligation = "ARCHIVE_OBLIGATION", ArchivePractitioner = "ARCHIVE_PRACTITIONER", CreateCredential = "CREATE_CREDENTIAL", CreateIssuingBody = "CREATE_ISSUING_BODY", CreateObligation = "CREATE_OBLIGATION", CreatePractitioner = "CREATE_PRACTITIONER", PrepareReminder = "PREPARE_REMINDER", RecordCredentialReview = "RECORD_CREDENTIAL_REVIEW", RecordEducationCredit = "RECORD_EDUCATION_CREDIT", ReviewEducationCredit = "REVIEW_EDUCATION_CREDIT", UpdateCredential = "UPDATE_CREDENTIAL", UpdateObligation = "UPDATE_OBLIGATION" } export type PswCustomFieldDefinition = { __typename?: 'PswCustomFieldDefinition'; createdAt: Scalars['DateTime']['output']; entityType: PswCustomFieldEntityType; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; options: Array<Scalars['String']['output']>; required: Scalars['Boolean']['output']; sortOrder: Scalars['Int']['output']; type: PswCustomFieldType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswCustomFieldDefinitionConnection = { __typename?: 'PswCustomFieldDefinitionConnection'; items: Array<PswCustomFieldDefinition>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswCustomFieldEntityType { Client = "CLIENT", Engagement = "ENGAGEMENT", Matter = "MATTER" } export declare enum PswCustomFieldType { Boolean = "BOOLEAN", Date = "DATE", MultiSelect = "MULTI_SELECT", Number = "NUMBER", SingleSelect = "SINGLE_SELECT", Text = "TEXT", Url = "URL" } export type PswCustomFieldValue = { __typename?: 'PswCustomFieldValue'; createdAt: Scalars['DateTime']['output']; definition: PswCustomFieldDefinition; definitionId: Scalars['ID']['output']; entityId: Scalars['ID']['output']; id: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; /** * JSON payload validated against the definition's type at write time: * text / number / ISO-8601 date string / boolean / URL string scalars; an * option string (SINGLE_SELECT) or a list of option strings (MULTI_SELECT). */ value: Scalars['JSON']['output']; workspaceId: Scalars['ID']['output']; }; /** * Practice dashboard aggregates. Counts and hours cover the whole workspace; * every monetary figure (invoice totals, revenue by month, trust funds held, * worked/billed value, realization, aged receivables and write-offs) covers only * `currency`, with no implicit FX conversion. */ export type PswDashboardStats = { __typename?: 'PswDashboardStats'; activeClients: Scalars['Int']['output']; activeEngagements: Scalars['Int']['output']; activeTrustAccounts: Scalars['Int']['output']; agedReceivables: PswAgedReceivables; billedHours: Scalars['Float']['output']; billedValue: Scalars['Float']['output']; /** ISO 4217 currency code (upper-case) of every monetary figure in this result. */ currency: Scalars['String']['output']; engagementsByStatus: Array<PswStatusCount>; invoicesByStatus: Array<PswStatusCount>; mattersByStatus: Array<PswStatusCount>; openConflictChecks: Scalars['Int']['output']; openMatters: Scalars['Int']['output']; outstandingInvoiceTotal: Scalars['Float']['output']; paidInvoiceTotal: Scalars['Float']['output']; pendingComplianceChecks: Scalars['Int']['output']; realizationPct: Scalars['Float']['output']; revenueByMonth: Array<PswMonthlyAmount>; totalClients: Scalars['Int']['output']; /** * Total client funds currently held across all ACTIVE trust accounts in the * reporting currency (sum of every non-deleted trust transaction's signed * amount) — compliance/audit reporting for IOLTA/trust accounting, never * fabricated in the client. */ trustHeldTotal: Scalars['Float']['output']; unbilledHours: Scalars['Float']['output']; workedValue: Scalars['Float']['output']; writeOffTotal: Scalars['Float']['output']; }; export type PswDataErasureRequest = { __typename?: 'PswDataErasureRequest'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; reason: Scalars['String']['output']; recordCounts?: Maybe<Scalars['JSON']['output']>; requestorId: Scalars['ID']['output']; status: PswErasureRequestStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswDataErasureRequestConnection = { __typename?: 'PswDataErasureRequestConnection'; items: Array<PswDataErasureRequest>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswDataSubjectRequest = { __typename?: 'PswDataSubjectRequest'; actorId: Scalars['ID']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; requestDetails?: Maybe<Scalars['String']['output']>; requestedAt: Scalars['DateTime']['output']; responseDetails?: Maybe<Scalars['String']['output']>; status: PswDataSubjectRequestStatus; type: PswDataSubjectRequestType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswDataSubjectRequestConnection = { __typename?: 'PswDataSubjectRequestConnection'; items: Array<PswDataSubjectRequest>; pageInfo: PswPageInfo; }; export declare enum PswDataSubjectRequestStatus { Completed = "COMPLETED", Pending = "PENDING", Processing = "PROCESSING", Rejected = "REJECTED" } export declare enum PswDataSubjectRequestType { Access = "ACCESS", Correction = "CORRECTION", Deletion = "DELETION", Portability = "PORTABILITY", Restriction = "RESTRICTION" } export type PswDeliverable = { __typename?: 'PswDeliverable'; acceptanceCriteria?: Maybe<Scalars['String']['output']>; acceptedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; engagementId: Scalars['ID']['output']; /** Reference to a wspace-files-svc File (blobs live there, not here). */ file?: Maybe<File>; id: Scalars['ID']['output']; name: Scalars['String']['output']; status: PswDeliverableStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type PswDeliverableConnection = { __typename?: 'PswDeliverableConnection'; items: Array<PswDeliverable>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswDeliverableStatus { Accepted = "ACCEPTED", ClientReview = "CLIENT_REVIEW", Draft = "DRAFT", InternalReview = "INTERNAL_REVIEW", Rejected = "REJECTED" } export type PswDocument = { __typename?: 'PswDocument'; classification: PswDocumentClassification; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; engagementId?: Maybe<Scalars['ID']['output']>; /** Reference to a wspace-files-svc File; the Files service owns storage + signed URLs. */ file?: Maybe<File>; id: Scalars['ID']['output']; legalHold: Scalars['Boolean']['output']; matterId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; retainUntil?: Maybe<Scalars['DateTime']['output']>; /** * Status of the most recent (by createdAt) signature request against this * document, or null if none was ever created — compliance evidence surfaced * directly in document listings (BOFF-4212). */ signatureStatus?: Maybe<PswSignatureRequestStatus>; status: PswDocumentStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum PswDocumentClassification { Confidential = "CONFIDENTIAL", Internal = "INTERNAL", Privileged = "PRIVILEGED", Public = "PUBLIC" } export type PswDocumentConnection = { __typename?: 'PswDocumentConnection'; items: Array<PswDocument>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswDocumentStatus { Archived = "ARCHIVED", Draft = "DRAFT", Final = "FINAL" } export type PswEducationCredit = { __typename?: 'PswEducationCredit'; activityReference?: Maybe<Scalars['String']['output']>; amount: Scalars['String']['output']; /** Null is unclassified. It does not prove a match to another missing category. */ category?: Maybe<Scalars['String']['output']>; completedAt: Scalars['DateTime']['output']; duplicateReviewRequired: Scalars['Boolean']['output']; evidenceFileId: Scalars['ID']['output']; evidenceSha256: Scalars['String']['output']; evidenceVersionId: Scalars['ID']['output']; id: Scalars['ID']['output']; obligationId: Scalars['ID']['output']; obligationRevision: Scalars['Int']['output']; predecessorId?: Maybe<Scalars['ID']['output']>; provider: Scalars['String']['output']; reviewNote?: Maybe<Scalars['String']['output']>; reviewState: Scalars['String']['output']; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewerId?: Maybe<Scalars['ID']['output']>; revision: Scalars['Int']['output']; unitKind: PswEducationUnit; unitLabel: Scalars['String']['output']; }; export type PswEducationCreditPage = { __typename?: 'PswEducationCreditPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswEducationCredit>; totalCount: Scalars['Int']['output']; }; export declare enum PswEducationUnit { Credits = "CREDITS", Hours = "HOURS", Other = "OTHER" } export type PswEngagement = { __typename?: 'PswEngagement'; client?: Maybe<PswClient>; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** * Firm-defined custom field values for this engagement (BOFF-5883). Empty * when the firm has no active ENGAGEMENT custom field definitions or none * are set. */ customFields: Array<PswCustomFieldValue>; /** * Deprecated: use deliverablesList for paginated access. This array is capped * at the service max limit (100) and will not return larger result sets. */ deliverables: Array<PswDeliverable>; deliverablesList: PswDeliverableConnection; description?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; feeAmount: Scalars['Float']['output']; feeArrangement: PswFeeArrangement; id: Scalars['ID']['output']; /** * Deprecated: use milestonesList for paginated access. This array is capped * at the service max limit (100) and will not return larger result sets. */ milestones: Array<PswMilestone>; milestonesList: PswMilestoneConnection; name: Scalars['String']['output']; nextRetainerRunAt?: Maybe<Scalars['DateTime']['output']>; practiceAreaId?: Maybe<Scalars['ID']['output']>; /** Recurring compliance filings/reviews for this engagement (BOFF-8790). */ recurringFilings: Array<PswRecurringFiling>; responsiblePartnerId?: Maybe<Scalars['ID']['output']>; retainerAmount?: Maybe<Scalars['Float']['output']>; retainerCadence?: Maybe<PswRetainerCadence>; retainerEndDate?: Maybe<Scalars['DateTime']['output']>; /** * Scheduler job id of the recurring billing cron, set by * pswScheduleRetainerBilling. Null when no cadence is scheduled yet. */ retainerScheduleId?: Maybe<Scalars['String']['output']>; retainerStartDate?: Maybe<Scalars['DateTime']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: PswEngagementStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswEngagementDeliverablesListArgs = { pagination?: InputMaybe<PaginationInput>; }; export type PswEngagementMilestonesListArgs = { pagination?: InputMaybe<PaginationInput>; }; export type PswEngagementConnection = { __typename?: 'PswEngagementConnection'; items: Array<PswEngagement>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswEngagementStatus { Accepted = "ACCEPTED", Cancelled = "CANCELLED", Closed = "CLOSED", Delivered = "DELIVERED", Invoiced = "INVOICED", InProgress = "IN_PROGRESS", Proposal = "PROPOSAL", Review = "REVIEW" } export declare enum PswErasureRequestStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Processing = "PROCESSING" } export declare enum PswExportFormat { Csv = "CSV", Json = "JSON" } export type PswExportInput = { dateRangeEnd?: InputMaybe<Scalars['DateTime']['input']>; dateRangeStart?: InputMaybe<Scalars['DateTime']['input']>; entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; format?: InputMaybe<PswExportFormat>; }; export type PswExportResult = { __typename?: 'PswExportResult'; createdAt: Scalars['DateTime']['output']; entityTypes: Array<Scalars['String']['output']>; format: PswExportFormat; id: Scalars['ID']['output']; status: Scalars['String']['output']; }; export declare enum PswFeeArrangement { Fixed = "FIXED", Hourly = "HOURLY", Retainer = "RETAINER", ValueBased = "VALUE_BASED" } export type PswFindPrecedentsInput = { clientId?: InputMaybe<Scalars['ID']['input']>; entityTypes?: InputMaybe<Array<PswPrecedentEntityType>>; /** * Matter id to derive the query from ("have we done a matter like this * before?"). The referenced matter itself is excluded from results. */ matterId?: InputMaybe<Scalars['ID']['input']>; practiceAreaId?: InputMaybe<Scalars['ID']['input']>; /** * Free-text query. Omit only when `matterId` is given — a matter-derived * search builds the query text from that matter's title, description, * reference, and practice area. */ query?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Self-service email invite (BOFF-5888): the invitee needs NO existing platform * account. A pending `PswClientPortalInvite` is recorded for the normalized * email and global-auth-svc sends its magic-link email, which auto-provisions a * passwordless account on first use. The invite is claimed into an ACTIVE * `PswClientPortalUser` link the first time the invitee calls any self-scoped * portal query (`pswMyClientPortalClients` and friends). */ export type PswInviteClientPortalContactInput = { clientId: Scalars['ID']['input']; email: Scalars['String']['input']; name: Scalars['String']['input']; }; export type PswInviteClientPortalUserInput = { /** * auth-svc user id of the client contact — must already be an authenticated * platform actor (e.g. invited to the workspace via the existing * wspace-workspace-svc invitation flow). For a contact with NO platform * account yet, use `pswInviteClientPortalContact` instead — the self-service * email/magic-link flow (BOFF-5888). */ actorId: Scalars['ID']['input']; clientId: Scalars['ID']['input']; email: Scalars['String']['input']; name: Scalars['String']['input']; }; export type PswInvoice = { __typename?: 'PswInvoice'; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dueDate?: Maybe<Scalars['DateTime']['output']>; engagementId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; issueDate?: Maybe<Scalars['DateTime']['output']>; lineItems?: Maybe<Scalars['JSON']['output']>; notes?: Maybe<Scalars['String']['output']>; number: Scalars['String']['output']; paidAt?: Maybe<Scalars['DateTime']['output']>; sentAt?: Maybe<Scalars['DateTime']['output']>; status: PswInvoiceStatus; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswInvoiceConnection = { __typename?: 'PswInvoiceConnection'; items: Array<PswInvoice>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswInvoiceStatus { Cancelled = "CANCELLED", Draft = "DRAFT", Overdue = "OVERDUE", Paid = "PAID", Sent = "SENT" } export type PswIssuingBody = { __typename?: 'PswIssuingBody'; /** Null is unclassified historical data; record an explicit sourced category before relying on it. */ credentialCategory?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; jurisdiction: Scalars['String']['output']; revision: Scalars['Int']['output']; sourceUrl: Scalars['String']['output']; }; export type PswIssuingBodyPage = { __typename?: 'PswIssuingBodyPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswIssuingBody>; totalCount: Scalars['Int']['output']; }; export type PswLegalAcceptance = { __typename?: 'PswLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: PswLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type PswLegalAcceptanceConnection = { __typename?: 'PswLegalAcceptanceConnection'; items: Array<PswLegalAcceptance>; pageInfo: PswPageInfo; }; export declare enum PswLegalCheckpointType { /** Acceptance of the AI-feature usage terms before first AI-assisted action. */ AiFirstUse = "AI_FIRST_USE", /** Sign-up acceptance of the ProServiceWorld Terms of Service and Privacy Policy. */ Signup = "SIGNUP", /** Acceptance of the workspace tenant Data Processing Addendum. */ TenantDpaAccept = "TENANT_DPA_ACCEPT" } export type PswMatter = { __typename?: 'PswMatter'; client?: Maybe<PswClient>; clientId: Scalars['ID']['output']; closedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; /** * Firm-defined custom field values for this matter (BOFF-5883). Empty when * the firm has no active MATTER custom field definitions or none are set. */ customFields: Array<PswCustomFieldValue>; description?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; engagementId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; isPrivileged: Scalars['Boolean']['output']; leadPractitionerId?: Maybe<Scalars['ID']['output']>; practiceAreaId?: Maybe<Scalars['ID']['output']>; priority: PswMatterPriority; reference?: Maybe<Scalars['String']['output']>; status: PswMatterStatus; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswMatterConnection = { __typename?: 'PswMatterConnection'; items: Array<PswMatter>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswMatterPriority { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum PswMatterStatus { Archived = "ARCHIVED", Closed = "CLOSED", OnHold = "ON_HOLD", Open = "OPEN" } export type PswMilestone = { __typename?: 'PswMilestone'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; engagementId: Scalars['ID']['output']; id: Scalars['ID']['output']; invoiceId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; status: PswMilestoneStatus; triggerAmount: Scalars['Float']['output']; triggersInvoice: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswMilestoneConnection = { __typename?: 'PswMilestoneConnection'; items: Array<PswMilestone>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswMilestoneStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Pending = "PENDING" } export type PswMonthlyAmount = { __typename?: 'PswMonthlyAmount'; amount: Scalars['Float']['output']; month: Scalars['String']['output']; }; export type PswObligationFactsInput = { category: Scalars['String']['input']; credentialId?: InputMaybe<Scalars['ID']['input']>; dueAt: Scalars['DateTime']['input']; kind: PswObligationKind; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; policyDescription: Scalars['String']['input']; policySourceUrl: Scalars['String']['input']; practitionerId: Scalars['ID']['input']; requiredUnits: Scalars['String']['input']; sourceTimezone: Scalars['String']['input']; title: Scalars['String']['input']; unitKind: PswEducationUnit; unitLabel: Scalars['String']['input']; }; export declare enum PswObligationKind { CeCpe = "CE_CPE", LicenceRenewal = "LICENCE_RENEWAL" } /** A consented shared-service attempt; ACK/status is not recipient delivery or legal certification. */ export type PswObligationReminder = { __typename?: 'PswObligationReminder'; attemptStartedAt?: Maybe<Scalars['DateTime']['output']>; consentGrantedAt: Scalars['DateTime']['output']; consentRevokedAt?: Maybe<Scalars['DateTime']['output']>; credentialRevision?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; notificationId?: Maybe<Scalars['ID']['output']>; notificationStatus?: Maybe<Scalars['String']['output']>; obligationId: Scalars['ID']['output']; obligationRevision: Scalars['Int']['output']; recipientId: Scalars['ID']['output']; revision: Scalars['Int']['output']; scheduleId?: Maybe<Scalars['ID']['output']>; scheduledAt: Scalars['DateTime']['output']; state: Scalars['String']['output']; }; export type PswPageInfo = { __typename?: 'PswPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type PswPracticeAnalytics = { __typename?: 'PswPracticeAnalytics'; activePractitioners: Scalars['Int']['output']; agedReceivables: PswAgedReceivables; /** Every currency the workspace has invoiced in (any status, all time), most-used first. */ availableCurrencies: Array<Scalars['String']['output']>; billableHours: Scalars['Float']['output']; /** billableHours / totalHours, 0-100. */ billableMixPct: Scalars['Float']['output']; /** activePractitioners x weeks in window x capacityHoursPerWeek. */ capacityHours: Scalars['Float']['output']; capacityHoursPerWeek: Scalars['Float']['output']; collectionByMonth: Array<PswCollectionMonth>; /** totalCollected / totalInvoiced, 0-100. */ collectionRate: Scalars['Float']['output']; /** Currency of every monetary figure; rows in other currencies are excluded (no FX conversion). */ currency: Scalars['String']['output']; invoiceCount: Scalars['Int']['output']; months: Scalars['Int']['output']; nonBillableHours: Scalars['Float']['output']; outstandingInWindow: Scalars['Float']['output']; /** Top 10 clients by billed amount. */ revenueByClient: Array<PswAnalyticsDistributionRow>; /** Top 10 engagements by billed amount. */ revenueByEngagement: Array<PswAnalyticsDistributionRow>; revenueByPracticeArea: Array<PswAnalyticsDistributionRow>; timeToPayment: PswTimeToPayment; totalCollected: Scalars['Float']['output']; totalHours: Scalars['Float']['output']; /** Total of SENT, OVERDUE and PAID invoices issued in the window. */ totalInvoiced: Scalars['Float']['output']; /** billableHours / capacityHours, 0-100. */ utilizationRate: Scalars['Float']['output']; windowStart: Scalars['DateTime']['output']; workInProgress: PswWorkInProgress; }; export type PswPracticeArea = { __typename?: 'PswPracticeArea'; code?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswPracticeAreaConnection = { __typename?: 'PswPracticeAreaConnection'; items: Array<PswPracticeArea>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswPractitioner = { __typename?: 'PswPractitioner'; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; practiceArea: Scalars['String']['output']; revision: Scalars['Int']['output']; }; export type PswPractitionerCredential = { __typename?: 'PswPractitionerCredential'; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; identifier: Scalars['String']['output']; issuingBodyId: Scalars['ID']['output']; jurisdiction: Scalars['String']['output']; practiceScope: Scalars['String']['output']; practitionerId: Scalars['ID']['output']; renewalDueAt?: Maybe<Scalars['DateTime']['output']>; reviews: Array<PswCredentialReview>; revision: Scalars['Int']['output']; sourceTimezone: Scalars['String']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validityKind: PswRecordedValidity; }; export type PswPractitionerCredentialPage = { __typename?: 'PswPractitionerCredentialPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswPractitionerCredential>; totalCount: Scalars['Int']['output']; }; export type PswPractitionerPage = { __typename?: 'PswPractitionerPage'; hasMore: Scalars['Boolean']['output']; items: Array<PswPractitioner>; totalCount: Scalars['Int']['output']; }; export declare enum PswPrecedentEntityType { Deliverable = "DELIVERABLE", Document = "DOCUMENT", Engagement = "ENGAGEMENT", Matter = "MATTER" } /** * A single ranked precedent result with cited evidence: which source entity * matched, which matter/engagement/client it belongs to, which fields matched, * and an excerpt snippet. Access is enforced at query time — a caller scoped * away from a matter never receives its rows. */ export type PswPrecedentMatch = { __typename?: 'PswPrecedentMatch'; clientId?: Maybe<Scalars['ID']['output']>; engagementId?: Maybe<Scalars['ID']['output']>; isPrivileged: Scalars['Boolean']['output']; matchedFields: Array<Scalars['String']['output']>; matterId?: Maybe<Scalars['ID']['output']>; score: Scalars['Float']['output']; snippet: Scalars['String']['output']; sourceId: Scalars['ID']['output']; sourceType: PswPrecedentEntityType; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type PswPrecedentSearchConnection = { __typename?: 'PswPrecedentSearchConnection'; items: Array<PswPrecedentMatch>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswPrepareObligationReminderInput = { consent: Scalars['Boolean']['input']; expectedRevision: Scalars['Int']['input']; recipientId: Scalars['ID']['input']; requestKey: Scalars['String']['input']; scheduledAt: Scalars['DateTime']['input']; }; export type PswQuotaCountMetric = { __typename?: 'PswQuotaCountMetric'; currentValue: Scalars['Int']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type PswReconcileTrustAccountInput = { asOf?: InputMaybe<Scalars['DateTime']['input']>; statementBalance?: InputMaybe<Scalars['Float']['input']>; trustAccountId: Scalars['ID']['input']; }; export type PswRecordCredentialReviewInput = { checkedAt: Scalars['DateTime']['input']; evidence: PswCredentialEvidenceInput; expectedRevision: Scalars['Int']['input']; note: Scalars['String']['input']; observation: PswSourceObservation; requestKey: Scalars['String']['input']; sourceUrl: Scalars['String']['input']; }; export type PswRecordEducationCreditInput = { activityReference: Scalars['String']['input']; amount: Scalars['String']['input']; category: Scalars['String']['input']; completedAt: Scalars['DateTime']['input']; evidence: PswCredentialEvidenceInput; expectedObligationRevision: Scalars['Int']['input']; expectedPredecessorRevision?: InputMaybe<Scalars['Int']['input']>; predecessorId?: InputMaybe<Scalars['ID']['input']>; provider: Scalars['String']['input']; requestKey: Scalars['String']['input']; unitKind: PswEducationUnit; unitLabel: Scalars['String']['input']; }; export type PswRecordTrustDepositInput = { amount: Scalars['Float']['input']; clientId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; reference?: InputMaybe<Scalars['String']['input']>; trustAccountId: Scalars['ID']['input']; }; export type PswRecordTrustWithdrawalInput = { amount: Scalars['Float']['input']; clientId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; reference?: InputMaybe<Scalars['String']['input']>; trustAccountId: Scalars['ID']['input']; }; /** Recorded validity is a firm fact, never a legal right to practise. */ export declare enum PswRecordedValidity { NoExpiryReported = "NO_EXPIRY_REPORTED", ReportedInterval = "REPORTED_INTERVAL", Unknown = "UNKNOWN" } export type PswRecurringFiling = { __typename?: 'PswRecurringFiling'; active: Scalars['Boolean']['output']; cadence: PswRetainerCadence; createdAt: Scalars['DateTime']['output']; engagementId: Scalars['ID']['output']; id: Scalars['ID']['output']; lastReminderSentAt?: Maybe<Scalars['DateTime']['output']>; nextDueAt: Scalars['DateTime']['output']; reminderDaysBefore: Scalars['Int']['output']; /** * Scheduler job id of the recurring reminder cron, set by * pswCreateRecurringFiling. Null when not scheduled (e.g. after cancel). */ reminderScheduleId?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswRequestDataErasureInput = { /** Reason for the erasure request; required for the compliance audit trail. */ reason: Scalars['String']['input']; }; export declare enum PswRetainerCadence { Annual = "ANNUAL", Monthly = "MONTHLY", Quarterly = "QUARTERLY" } export type PswReviewEducationCreditInput = { accept: Scalars['Boolean']['input']; expectedRevision: Scalars['Int']['input']; note: Scalars['String']['input']; requestKey: Scalars['String']['input']; }; export type PswSearchIndexRebuildResult = { __typename?: 'PswSearchIndexRebuildResult'; deliverables: Scalars['Int']['output']; documents: Scalars['Int']['output']; engagements: Scalars['Int']['output']; matters: Scalars['Int']['output']; }; export type PswSetCustomFieldValueInput = { definitionId: Scalars['ID']['input']; entityId: Scalars['ID']['input']; value: Scalars['JSON']['input']; }; export type PswSignDocumentInput = { /** * Required when signatureType = DRAWN — an inline image data URI (e.g. PNG * exported from a `<canvas>` pad). */ signatureImage?: InputMaybe<Scalars['String']['input']>; signatureType: PswSignatureType; /** Required when signatureType = TYPED. */ typedName?: InputMaybe<Scalars['String']['input']>; }; export type PswSignatureAuditEvent = { __typename?: 'PswSignatureAuditEvent'; actorId: Scalars['ID']['output']; actorLabel: Scalars['String']['output']; contentHash?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; documentVersion?: Maybe<Scalars['Int']['output']>; eventType: PswSignatureAuditEventType; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; signatureRequestId: Scalars['ID']['output']; signerId?: Maybe<Scalars['ID']['output']>; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type PswSignatureAuditEventConnection = { __typename?: 'PswSignatureAuditEventConnection'; items: Array<PswSignatureAuditEvent>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswSignatureAuditEventType { Cancelled = "CANCELLED", Created = "CREATED", Declined = "DECLINED", Expired = "EXPIRED", Sent = "SENT", Signed = "SIGNED", Viewed = "VIEWED" } export type PswSignatureRequest = { __typename?: 'PswSignatureRequest'; completedAt?: Maybe<Scalars['DateTime']['output']>; /** * SHA-256 hex digest of the document's canonical signed content, snapshotted * at SENT time — null while still DRAFT. */ contentHash?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; document?: Maybe<PswDocument>; documentId: Scalars['ID']['output']; /** Document `version` snapshotted at SENT time — null while still DRAFT. */ documentVersion?: Maybe<Scalars['Int']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; sentAt?: Maybe<Scalars['DateTime']['output']>; signers: Array<PswSignatureSigner>; status: PswSignatureRequestStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswSignatureRequestConnection = { __typename?: 'PswSignatureRequestConnection'; items: Array<PswSignatureRequest>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswSignatureRequestStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Declined = "DECLINED", Draft = "DRAFT", Expired = "EXPIRED", PartiallySigned = "PARTIALLY_SIGNED", Sent = "SENT", Viewed = "VIEWED" } export type PswSignatureSigner = { __typename?: 'PswSignatureSigner'; actorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; declineReason?: Maybe<Scalars['String']['output']>; declinedAt?: Maybe<Scalars['DateTime']['output']>; email: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; order: Scalars['Int']['output']; /** * Canvas-drawn signature capture (signatureType = DRAWN), inline as an image * data URI (e.g. PNG exported from a `<canvas>` pad). */ signatureImage?: Maybe<Scalars['String']['output']>; signatureRequest?: Maybe<PswSignatureRequest>; signatureRequestId: Scalars['ID']['output']; signatureType?: Maybe<PswSignatureType>; signedAt?: Maybe<Scalars['DateTime']['output']>; signedIp?: Maybe<Scalars['String']['output']>; status: PswSignatureSignerStatus; typedName?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; viewedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type PswSignatureSignerConnection = { __typename?: 'PswSignatureSignerConnection'; items: Array<PswSignatureSigner>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export type PswSignatureSignerInput = { /** * auth-svc user id of the signer — a workspace member or an ACTIVE * PswClientPortalUser-linked client contact. Not a bare email address. */ actorId: Scalars['ID']['input']; email: Scalars['String']['input']; name: Scalars['String']['input']; order?: InputMaybe<Scalars['Int']['input']>; }; export declare enum PswSignatureSignerStatus { Declined = "DECLINED", Pending = "PENDING", Signed = "SIGNED", Viewed = "VIEWED" } export declare enum PswSignatureType { Drawn = "DRAWN", Typed = "TYPED" } export declare enum PswSourceObservation { Conflicting = "CONFLICTING", CurrentStatusReported = "CURRENT_STATUS_REPORTED", InactiveStatusReported = "INACTIVE_STATUS_REPORTED", Unknown = "UNKNOWN" } export type PswStatusCount = { __typename?: 'PswStatusCount'; count: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type PswTeamAssignment = { __typename?: 'PswTeamAssignment'; allocationPct: Scalars['Int']['output']; billingRate: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; engagementId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; isLead: Scalars['Boolean']['output']; matterId?: Maybe<Scalars['ID']['output']>; practitionerId: Scalars['ID']['output']; role: PswTeamRole; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswTeamAssignmentConnection = { __typename?: 'PswTeamAssignmentConnection'; items: Array<PswTeamAssignment>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswTeamRole { Associate = "ASSOCIATE", Manager = "MANAGER", Partner = "PARTNER", Specialist = "SPECIALIST", Support = "SUPPORT" } export type PswTimeEntry = { __typename?: 'PswTimeEntry'; billable: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; engagementId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; invoiceId?: Maybe<Scalars['ID']['output']>; matterId?: Maybe<Scalars['ID']['output']>; minutes: Scalars['Int']['output']; narrative?: Maybe<Scalars['String']['output']>; practitionerId: Scalars['ID']['output']; rate: Scalars['Float']['output']; rejectionReason?: Maybe<Scalars['String']['output']>; status: PswTimeEntryStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswTimeEntryConnection = { __typename?: 'PswTimeEntryConnection'; items: Array<PswTimeEntry>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswTimeEntryStatus { Approved = "APPROVED", Billed = "BILLED", Draft = "DRAFT", Rejected = "REJECTED", Submitted = "SUBMITTED" } export type PswTimeToPayment = { __typename?: 'PswTimeToPayment'; /** Average days from sending (or issue) to payment; null when nothing was paid in the window. */ averageDays?: Maybe<Scalars['Float']['output']>; medianDays?: Maybe<Scalars['Float']['output']>; paidInvoiceCount: Scalars['Int']['output']; }; export type PswTrustAccount = { __typename?: 'PswTrustAccount'; accountNumberLast4?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; institutionName?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; status: PswTrustAccountStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswTrustAccountConnection = { __typename?: 'PswTrustAccountConnection'; items: Array<PswTrustAccount>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswTrustAccountStatus { Active = "ACTIVE", Closed = "CLOSED" } export type PswTrustClientBalance = { __typename?: 'PswTrustClientBalance'; balance: Scalars['Float']['output']; clientId: Scalars['ID']['output']; matterId?: Maybe<Scalars['ID']['output']>; }; export type PswTrustReconciliationReport = { __typename?: 'PswTrustReconciliationReport'; asOf: Scalars['DateTime']['output']; bookBalance: Scalars['Float']['output']; clientBalances: Array<PswTrustClientBalance>; difference?: Maybe<Scalars['Float']['output']>; inBalance: Scalars['Boolean']['output']; reconciledCount: Scalars['Int']['output']; statementBalance?: Maybe<Scalars['Float']['output']>; trustAccountId: Scalars['ID']['output']; }; export type PswTrustTransaction = { __typename?: 'PswTrustTransaction'; amount: Scalars['Float']['output']; balanceAfter: Scalars['Float']['output']; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; matterId?: Maybe<Scalars['ID']['output']>; reconciled: Scalars['Boolean']['output']; reconciledAt?: Maybe<Scalars['DateTime']['output']>; reference?: Maybe<Scalars['String']['output']>; transferId?: Maybe<Scalars['ID']['output']>; trustAccountId: Scalars['ID']['output']; type: PswTrustTransactionType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswTrustTransactionConnection = { __typename?: 'PswTrustTransactionConnection'; items: Array<PswTrustTransaction>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswTrustTransactionType { Adjustment = "ADJUSTMENT", Deposit = "DEPOSIT", TransferOut = "TRANSFER_OUT", Withdrawal = "WITHDRAWAL" } export type PswTrustTransfer = { __typename?: 'PswTrustTransfer'; amount: Scalars['Float']['output']; clientId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; invoiceId?: Maybe<Scalars['ID']['output']>; matterId?: Maybe<Scalars['ID']['output']>; reason?: Maybe<Scalars['String']['output']>; status: PswTrustTransferStatus; transferredAt: Scalars['DateTime']['output']; trustAccountId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type PswTrustTransferConnection = { __typename?: 'PswTrustTransferConnection'; items: Array<PswTrustTransfer>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; export declare enum PswTrustTransferStatus { Completed = "COMPLETED", Reversed = "REVERSED" } export type PswUpdateClientInput = { address?: InputMaybe<Scalars['String']['input']>; contactEmail?: InputMaybe<Scalars['String']['input']>; contactName?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; industry?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; relationshipOwnerId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<PswClientStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<PswClientType>; }; export type PswUpdateCustomFieldDefinitionInput = { isActive?: InputMaybe<Scalars['Boolean']['input']>; label?: InputMaybe<Scalars['String']['input']>; options?: InputMaybe<Array<Scalars['String']['input']>>; required?: InputMaybe<Scalars['Boolean']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; }; export type PswUpdateDeliverableInput = { acceptanceCriteria?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswDeliverableStatus>; }; export type PswUpdateDocumentInput = { classification?: InputMaybe<PswDocumentClassification>; description?: InputMaybe<Scalars['String']['input']>; legalHold?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; retainUntil?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<PswDocumentStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type PswUpdateEngagementInput = { currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; feeAmount?: InputMaybe<Scalars['Float']['input']>; feeArrangement?: InputMaybe<PswFeeArrangement>; name?: InputMaybe<Scalars['String']['input']>; nextRetainerRunAt?: InputMaybe<Scalars['DateTime']['input']>; practiceAreaId?: InputMaybe<Scalars['ID']['input']>; responsiblePartnerId?: InputMaybe<Scalars['ID']['input']>; retainerAmount?: InputMaybe<Scalars['Float']['input']>; retainerCadence?: InputMaybe<PswRetainerCadence>; retainerEndDate?: InputMaybe<Scalars['DateTime']['input']>; retainerStartDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; /** * Replaces the manually entered line items of a DRAFT invoice. Each line is * { description, quantity, rate } (an optional amount must equal quantity x rate * rounded to cents); subtotal and total are recomputed server-side. Omit taxAmount * to keep the current tax. */ export type PswUpdateInvoiceInput = { lineItems: Scalars['JSON']['input']; taxAmount?: InputMaybe<Scalars['Float']['input']>; }; export type PswUpdateMatterInput = { description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; isPrivileged?: InputMaybe<Scalars['Boolean']['input']>; leadPractitionerId?: InputMaybe<Scalars['ID']['input']>; practiceAreaId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<PswMatterPriority>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type PswUpdateMilestoneInput = { description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; name?: InputMaybe<Scalars['String']['input']>; triggerAmount?: InputMaybe<Scalars['Float']['input']>; triggersInvoice?: InputMaybe<Scalars['Boolean']['input']>; }; export type PswUpdatePracticeAreaInput = { code?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type PswUpdateTeamAssignmentInput = { allocationPct?: InputMaybe<Scalars['Int']['input']>; billingRate?: InputMaybe<Scalars['Float']['input']>; isLead?: InputMaybe<Scalars['Boolean']['input']>; role?: InputMaybe<PswTeamRole>; }; export type PswUpdateTimeEntryInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; date?: InputMaybe<Scalars['DateTime']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; minutes?: InputMaybe<Scalars['Int']['input']>; narrative?: InputMaybe<Scalars['String']['input']>; rate?: InputMaybe<Scalars['Float']['input']>; }; /** Billable, unbilled, non-rejected time not yet attached to an invoice (current balance). */ export type PswWorkInProgress = { __typename?: 'PswWorkInProgress'; entryCount: Scalars['Int']['output']; hours: Scalars['Float']['output']; oldestEntryDate?: Maybe<Scalars['DateTime']['output']>; value: Scalars['Float']['output']; }; export type PswWriteOff = { __typename?: 'PswWriteOff'; actorId: Scalars['ID']['output']; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; invoiceId?: Maybe<Scalars['ID']['output']>; onBehalfOf: Scalars['ID']['output']; reason: Scalars['String']['output']; timeEntryId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type PswWriteOffConnection = { __typename?: 'PswWriteOffConnection'; items: Array<PswWriteOff>; pageInfo: PswPageInfo; totalCount: Scalars['Int']['output']; }; /** * The anonymous, read-only view of a published seed lot (BOFF-6335) — what an inspector or a * seed buyer sees after scanning a carton at `/s/{publicSlug}`. * * A SECOND public type rather than a reuse of `PublicTraceBatch`: a seed lot sits upstream of a * trace batch and shares almost none of its fields. Every nullable field here is null either * because the lot never carried it, or because the workspace switched it off in Trace Portal * settings. There is no setting that can surface a field absent from this type — notably * `quantity`/`unit` (which would reveal planted area) and every internal identifier. */ export type PublicSeedLot = { __typename?: 'PublicSeedLot'; certExpiry?: Maybe<Scalars['String']['output']>; certStandard?: Maybe<Scalars['String']['output']>; /** * Whether the cited certificate is still in force AT SCAN TIME — the fact the scan is for. * * `certifiedOrganic` is a boolean typed in once and never revisited, so a consumer MUST NOT * render an organic badge on it alone: a lot whose `certExpiry` has passed is not currently * certified however that boolean reads. Null when no expiry is cited — unknown is not expired. */ certificationCurrent?: Maybe<Scalars['Boolean']['output']>; /** The farm's organic claim. False whenever the certification block is switched off. */ certifiedOrganic: Scalars['Boolean']['output']; cropVariety: Scalars['String']['output']; /** Always present. Printed on the carton being scanned, so the page can be checked against it. */ lotNumber: Scalars['String']['output']; portal: PublicSeedLotPortal; publicSlug: Scalars['String']['output']; publishedAt: Scalars['String']['output']; purchaseDate?: Maybe<Scalars['String']['output']>; /** The seed supplier, when the farm opted in. Null by default. */ supplier?: Maybe<Scalars['String']['output']>; }; /** Branding the farmer controls for their public seed-lot pages. */ export type PublicSeedLotPortal = { __typename?: 'PublicSeedLotPortal'; tagline?: Maybe<Scalars['String']['output']>; }; /** * The anonymous, read-only view of a published trace batch. * * Every nullable field is null either because the batch never had that date, or * because the workspace switched it off in Trace Portal settings. There is no * setting that can surface a field absent from this type. */ export type PublicTraceBatch = { __typename?: 'PublicTraceBatch'; batchCode: Scalars['String']['output']; certifications: Array<Scalars['String']['output']>; /** Best-before date. Already printed on the carton, so no incremental disclosure. */ expiryDate?: Maybe<Scalars['String']['output']>; harvestDate?: Maybe<Scalars['String']['output']>; origin?: Maybe<Scalars['String']['output']>; packagingDate?: Maybe<Scalars['String']['output']>; portal: PublicTracePortal; processingDate?: Maybe<Scalars['String']['output']>; product: Scalars['String']['output']; publicSlug: Scalars['String']['output']; publishedAt: Scalars['String']['output']; /** The farmer's public-safe recall reason, when supplied. Null even when `recalled` is true. */ recallNotice?: Maybe<Scalars['String']['output']>; /** * True when this batch has been RECALLED (BOFF-6044). A recalled batch still resolves — the * printed QR must not 404 — but the consumer view renders an unmistakable recall notice instead * of a clean farm-to-fork page, and the "Verified Organic" banner is force-suppressed. */ recalled: Scalars['Boolean']['output']; supplyChainSteps: Array<PublicTraceStep>; }; /** Branding the farmer controls for their public pages. */ export type PublicTracePortal = { __typename?: 'PublicTracePortal'; /** True only when the farmer opted in AND the batch actually cites a certification. */ showVerifiedOrganicBanner: Scalars['Boolean']['output']; tagline?: Maybe<Scalars['String']['output']>; }; /** * One leg of a batch's journey as a shopper sees it. * * Deliberately narrower than the internal `SupplyChainStep`: `handler` (a named * person or firm) and `temperature` (a cold-chain internal) are never public. */ export type PublicTraceStep = { __typename?: 'PublicTraceStep'; date?: Maybe<Scalars['String']['output']>; location?: Maybe<Scalars['String']['output']>; step: Scalars['String']['output']; verified: Scalars['Boolean']['output']; }; export type PublishAssistantWebsiteInput = { agentId: Scalars['ID']['input']; allowedOrigins: Array<Scalars['String']['input']>; approvedKnowledgeBaseIds: Array<Scalars['ID']['input']>; name: Scalars['String']['input']; }; export type PublishMtwProcedureVersionInput = { effectiveAt: Scalars['DateTime']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedPreviousId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; kind: MtwProcedureVersionKind; reason: Scalars['String']['input']; scope: MtwProcedureScopeInput; templateReference: Scalars['String']['input']; title: Scalars['String']['input']; validUntil?: InputMaybe<Scalars['DateTime']['input']>; }; export declare enum PublishType { Builtin = "BUILTIN", Custom = "CUSTOM", Store = "STORE" } /** Input for pushing gateway auth config to an agent. */ export type PushAgentGatewayAuthInput = { /** Agent ID */ agentId: Scalars['ID']['input']; /** OAuth2 client ID */ clientId: Scalars['String']['input']; /** OAuth2 client secret */ clientSecret: Scalars['String']['input']; /** Global gateway URL (public) — used by the agent for authenticateApp. */ globalGatewayUrl: Scalars['String']['input']; /** OAuth2 scopes */ scopes: Array<Scalars['String']['input']>; /** * Workspace gateway URL (public) — used by the agent for issueWorkspaceToken * and the encryption-key fetch. Must be distinct from globalGatewayUrl. */ workspaceGatewayUrl: Scalars['String']['input']; /** Workspace UUID — required for the agent's issueWorkspaceToken step. */ workspaceId: Scalars['String']['input']; }; export type PushSecurityFindingInput = { category: SecurityFindingCategory; col?: InputMaybe<Scalars['Int']['input']>; cve?: InputMaybe<Scalars['String']['input']>; cwe?: InputMaybe<Array<Scalars['String']['input']>>; description?: InputMaybe<Scalars['String']['input']>; file?: InputMaybe<Scalars['String']['input']>; fingerprint: Scalars['String']['input']; fixedVersion?: InputMaybe<Scalars['String']['input']>; line?: InputMaybe<Scalars['Int']['input']>; packageName?: InputMaybe<Scalars['String']['input']>; packageVersion?: InputMaybe<Scalars['String']['input']>; rawProviderRef?: InputMaybe<Scalars['String']['input']>; redactedSample?: InputMaybe<Scalars['String']['input']>; remediation?: InputMaybe<Scalars['String']['input']>; ruleId: Scalars['String']['input']; severity: SecuritySeverity; title: Scalars['String']['input']; }; export type PushSecurityScanRunInput = { commit: Scalars['String']['input']; conclusion?: InputMaybe<SecurityScanConclusion>; durationMs?: InputMaybe<Scalars['Int']['input']>; errorReason?: InputMaybe<Scalars['String']['input']>; evidenceRefs: Array<SecurityEvidenceRefInput>; findings: Array<PushSecurityFindingInput>; finishedAt?: InputMaybe<Scalars['DateTime']['input']>; policyLevel: SecurityPolicyLevel; providerName: Scalars['String']['input']; repoUrl: Scalars['String']['input']; runId: Scalars['ID']['input']; stage: SecurityStage; startedAt?: InputMaybe<Scalars['DateTime']['input']>; status: SecurityScanStatus; summary: Scalars['JSON']['input']; vibeId: Scalars['ID']['input']; }; /** * A quality checkpoint that must be passed before proceeding to the * next project phase, ensuring deliverables meet defined standards. */ export type QualityGate = { __typename?: 'QualityGate'; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this gate */ createdBy: Scalars['String']['output']; /** Criteria that must be met (JSON array) */ criteria: Scalars['JSON']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Gate description */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Linked milestone ID */ milestoneId?: Maybe<Scalars['String']['output']>; /** Gate name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Phase or stage this gate belongs to */ phase?: Maybe<Scalars['String']['output']>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** * The release this gate holds. The release cannot become RELEASED until this * gate is PASSED or WAIVED */ releaseId?: Maybe<Scalars['String']['output']>; /** Review results and notes */ reviewNotes?: Maybe<Scalars['String']['output']>; /** Review timestamp */ reviewedAt?: Maybe<Scalars['DateTime']['output']>; /** Reviewer actor ID */ reviewerId?: Maybe<Scalars['String']['output']>; /** Sort order */ sortOrder: Scalars['Int']['output']; /** Current status */ status: QualityGateStatus; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this gate */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum QualityGateStatus { Failed = "FAILED", InReview = "IN_REVIEW", Passed = "PASSED", Pending = "PENDING", Waived = "WAIVED" } /** * Base Query type with placeholder field. * Extended by individual query files. */ export type Query = { __typename?: 'Query'; /** * Placeholder field to allow empty Query type extension. * Must be @shareable since it exists in multiple subgraphs. */ _empty?: Maybe<Scalars['String']['output']>; _planmagnetService?: Maybe<Scalars['String']['output']>; _planmagnetVersion?: Maybe<Scalars['String']['output']>; _serviceHealth: Scalars['String']['output']; /** * Who a person is reached through when a service shares its own resources with chosen people, * groups or projects (service-only): the groups and projects they belong to in the calling * service's workspace, and whether they administer the resource type there */ accessPrincipals: AccessPrincipals; /** Anonymously reveal the credential(s) behind a signed share link. */ accessSharedSecret: SharedSecretView; /** Get a specific action by ID */ action?: Maybe<Action>; /** Get action definitions for a resource type */ actionDefinitions: Array<ActionDefinition>; /** Get a specific action execution by ID */ actionExecution?: Maybe<ActionExecution>; /** List action execution history */ actionExecutions: ActionExecutionList; /** The workspace's action policies, in evaluation order. */ actionPolicies: Array<ActionPolicy>; /** One action policy, or null. */ actionPolicy?: Maybe<ActionPolicy>; /** Every policy decision recorded for a run, oldest first. */ actionPolicyDecisions: Array<ActionPolicyDecision>; /** List actions in the workspace with optional filters and search */ actions: ActionList; activeCall?: Maybe<CallSession>; activeDeliveries: Array<MtwShipment>; activeLocationEntry?: Maybe<LocationEntry>; activePomodoroSession?: Maybe<PomodoroSession>; /** Get active sessions */ activeSessions: SessionList; /** Get active webhooks */ activeWebhooks: WebhookList; /** Get list of currently active workflow instances */ activeWorkflows: Array<WorkflowInstanceInfo>; /** * Count activity logs matching the filter (resourceType, workspaceId, action, etc.), scoped to the * authenticated workspace. Lets a service migrating its local audit table verify exact parity * (local table count == owner count for its slice) before dropping the local table. The `category` * filter is derived in-memory and NOT applied here — filter by `resourceType`/`action` for parity. */ activityCount: Scalars['Int']['output']; /** Get permission overrides for an actor in a workspace */ actorPermissionOverrides: Array<PermissionOverride>; /** Get permission overrides for an actor with bounded offset metadata. */ actorPermissionOverridesPage: PermissionOverridePage; /** Get full RBAC summary for a specific actor */ actorRbacSummary: ActorRbacSummary; /** Get role assignments for an actor in a workspace */ actorRoleAssignments: Array<ActorRoleAssignment>; /** Get role assignments for an actor with bounded offset metadata. */ actorRoleAssignmentsPage: ActorRoleAssignmentPage; /** List actors with RBAC context in a scope (roles, overrides) */ actors: Array<ActorRbacSummary>; /** List actors with RBAC context and bounded offset metadata. */ actorsPage: ActorRbacSummaryPage; adaAdapter?: Maybe<AdaAdapter>; adaChargebackReport: AdaChargebackReport; adaConnection?: Maybe<AdaConnection>; /** Aggregate spend grouped by cost service across the whole workspace. */ adaCostSummary: AdaCostSummary; /** Liveness/identity probe for the AdapterCloud subgraph. */ adaHealth: Scalars['String']['output']; adaListAdapters: AdaAdapterConnectionPage; adaListConnections: AdaConnectionPage; adaListCostRecords: AdaCostRecordConnection; /** Workspace-wide data-subject request queue, for compliance review. */ adaListDataSubjectRequests: AdaDataSubjectRequestPage; adaListDriftRecords: AdaDriftRecordConnection; /** Workspace-wide legal-acceptance audit trail, for compliance review. */ adaListLegalAcceptances: AdaLegalAcceptancePage; adaListPolicies: AdaPolicyPage; adaListResources: AdaResourcePage; adaListSyncRuns: AdaSyncRunPage; adaListTopologyEdges: AdaTopologyEdgeConnection; adaListViolations: AdaPolicyViolationPage; /** * Data-subject (export/erasure) requests filed by the CALLING actor. * Self-scoped (Type C). */ adaMyDataSubjectRequests: AdaDataSubjectRequestPage; /** * Legal-acceptance checkpoints recorded by the CALLING actor. Self-scoped * (Type C): the ctx.actorId filter IS the access control, no identity arg. */ adaMyLegalAcceptances: AdaLegalAcceptancePage; adaPartnerCapabilityStatus: Array<AdaPartnerCapabilityStatus>; /** * Public lookup used by a reseller's white-label portal frontend to resolve a * visitor's hostname to branding before any workspace session exists. Returns * null for any domain that is not both VERIFIED and portalEnabled. */ adaPartnerPortalBranding?: Maybe<AdaPartnerPortalBranding>; adaPartnerProfile?: Maybe<AdaPartnerProfile>; adaPolicy?: Maybe<AdaPolicy>; adaResellerInvitations: Array<AdaResellerInvitation>; adaResource?: Maybe<AdaResource>; adaSyncRun?: Maybe<AdaSyncRun>; adminAnalyticsModules: Array<AdminAnalyticsModuleSummary>; adminAnalyticsOverview: AdminAnalyticsOverview; adminAnalyticsTimeline: AdminAnalyticsTimelineResult; adminEntityCounts: AdminEntityCounts; /** * Proxy a GET request to an agent AI API route via the backend. * Path MUST match the strict AI allowlist: it must start with `/api/ai/` * or `/api/profiles/<name>/ai/`. Any other path (e.g. `/api/plugins/...`, * `/api/profiles/<name>/code-server/...`) is rejected at the resolver * edge. The backend also re-validates the agent's stored tunnelUrl * against the SSRF guard on every call. */ agentAiGet: AgentProxyResponse; /** Read-only status proxy: GETs /api/profiles/<profile>/code-server/<name>/status on the agent. */ agentCodeServerStatus: AgentProxyResponse; /** * List every command the agent's command-runner accepts (core + plugin). * Proxies GET /api/agent/commands. `data` = { commands: [...], count }. */ agentCommands: AgentProxyResponse; agentConnectionConfig: AgentConnectionConfig; /** One agent definition, or null. */ agentDefinition?: Maybe<AgentDefinition>; /** The active grants of an agent: who it may act for and until when. */ agentDefinitionGrants: Array<AgentGrant>; /** The workspace's agent definitions, by name. */ agentDefinitions: Array<AgentDefinition>; /** The agents whose connection scope includes a connection (the connection's 'used by agents'). */ agentDefinitionsUsingConnection: Array<AgentDefinition>; /** * Aggregated fleet health for the current workspace. Drives the dashboard * "Agent Fleet" widget. Counts agents by current status — does NOT probe * live agents on every request, so it's safe to poll. */ agentFleetSummary: AgentFleetSummary; /** * Narrow GitOps read proxy. Forwards GET to the agent's * `/api/profiles/<profile>/gitops/<pathTail>` route. `pathTail` must start * with `/` and may contain only `[A-Za-z0-9._\\-/?=&%]` so URL-encoded * provider/repo segments + query strings pass through. Path traversal * (`..`) and backslash are rejected. */ agentGitopsProxy: AgentProxyResponse; agentGraph: AgentGraph; agentInstructionFile?: Maybe<AgentInstructionFile>; agentInstructionFiles: AgentInstructionFileList; /** * Read the current lifecycle state of an agent via the backend proxy. * Calls GET /api/agent/lifecycle/state on the agent. */ agentLifecycleState: AgentLifecycleStateResult; /** * Dedicated read-only proxy to the agent's `/api/profiles/<name>/logs` * endpoint. Separate from agentAiGet so the F9 AI-proxy allowlist stays * narrow — logs are not AI calls and forcing them through agentAiGet * meant either widening the AI allowlist (defeating the F9 hardening) * or 400-ing every UI log fetch. * * `query` accepts the agent's standard filter shape: { level, source, * limit, since }. Returns the same AgentProxyResponse shape as * agentAiGet so consumers can reuse error handling. */ agentLogsGet: AgentProxyResponse; /** * Mesh graph (agent → agent). If rootAgentId is given, returns only agents * reachable from it via mesh links (BFS over destinationAgentId). */ agentMeshGraph: AgentMeshGraph; /** * F4 Wave C — narrow svc-side proxy for playground (GraphiQL) config reads. * GETs `/api/profiles/<profile>/graphiql/config/<vibeId>` on the agent. * Replaces direct browser fetches that used the deprecated `agentApiKey`. */ agentPlaygroundConfig: AgentProxyResponse; /** * List installed and available plugins on an agent. * * Plugins are agent-wide: the npm package install (`bun install -g`) * and the "available" catalog are shared across all profiles on the * daemon. Only plugin DATA (notes/sessions/etc.) stays per-profile. * The backend proxies through the agent's `default` profile path. * [BOFF-2612] */ agentPlugins: AgentPluginListResult; /** * Narrow security-scan proxy: forwards GET requests to * `/api/profiles/<p>/security/<...>`. `pathTail` MUST start with `/` and * match `/^\\/[A-Za-z0-9._\\-\\/?=&%]+$/`. Browser parses `.data` per the * vibe-plugin-security response shape. */ agentSecurityScanProxy: AgentProxyResponse; /** * List `vibe-*` sessions on the agent host that are NOT currently * tracked in agent storage. These are orphan tmux/wezterm/zellij * sessions that survived an agent kill or storage wipe and can be * reconnected via `adoptAgentSession`. */ agentSessionOrphans: Array<AgentSessionOrphan>; /** * The step-by-step trace of a run's AI Agent loops (BOFF-9936). Null when the run is not visible to * the caller. */ agentTrace?: Maybe<AgentTrace>; /** * Is a newer @vibecontrols/agent published? Proxies GET * /api/agent/update/check. `data` = { current, latest, hasUpdate }. */ agentUpdateCheck: AgentProxyResponse; /** * Background-autoupdate enablement + last check/run. Proxies GET * /api/agent/update/status. */ agentUpdateStatus: AgentProxyResponse; /** Raised watch findings, newest first. */ ahListWatchAlerts: AhWatchAlertConnection; /** Recent watch sweeps of the workspace, newest first. */ ahListWatchSweeps: AhWatchSweepConnection; /** Grounded natural-language asset search (BOFF-3825). Matches are scored against real fields — name, identifiers, category, supplier, location, department, description, tags, condition/status, custom attributes, purchase year and service history — and every result carries why it matched. Workspace-filtered at query time; additive to the filter-based `assets` list (criterion 9.2). */ ahSemanticAssetSearch: AhAssetSearchResults; /** The workspace's watch-loop registration, if any. */ ahWatchSchedule?: Maybe<AhWatchSchedule>; /** Whether this schema accepts separate cache counts in assistant usage reports. */ aiCacheTokensSupported: Scalars['Boolean']['output']; aiContext?: Maybe<AiContext>; aiContexts: AiContextList; /** * Remaining AI credits for a product in the caller's workspace, for showing the * balance before an AI action. Never throws on an exhausted budget. */ aiCreditStatus: PromptAiCreditStatus; aiPrediction?: Maybe<AiPrediction>; aiPredictions: AiPredictionConnection; aiPrompt?: Maybe<AiPrompt>; aiPrompts: AiPromptList; aiSpendAlertSettings: AiSpendAlertSettings; /** Spend alerts raised in [from,to), newest first (at most 100). */ aiSpendAlerts: Array<AiSpendAlert>; /** Get specific AI tool event by ID */ aiToolEvent?: Maybe<AiToolEvent>; /** Get all AI tool events in a workspace */ aiToolEvents: AiToolEventList; allSecurityScans: SecurityScanRunList; allVibeLlmContextTokens: Array<VibeLlmContextToken>; allWebhookDeliveries: Array<WebhookDeliveryLog>; analytics: MtwAnalyticsSeries; /** Get application configuration */ appConfig: AppConfig; appUsageSummary: AppUsageSummary; applicationUsage?: Maybe<ApplicationUsage>; applicationUsages: Array<ApplicationUsage>; approvalRequest?: Maybe<TimeApprovalRequest>; approvalRequests: ApprovalRequestListResponse; approvalStats: ApprovalStats; /** Adobe availability and the caller's usable Adobe connections. */ artAdobeIntegration: ArtAdobeIntegration; /** Creative Cloud libraries the Adobe account owns or has been shared (newest first, up to 50). */ artAdobeLibraries: Array<ArtAdobeLibrary>; /** Elements in one Creative Cloud library (newest first, up to 100). */ artAdobeLibraryElements: Array<ArtAdobeElement>; artApprovalWorkflow?: Maybe<ArtApprovalWorkflow>; /** Browse ACTIVE listings: PUBLIC ones from every workspace plus the caller's own. */ artBrowseMarketplace: ArtMarketplaceListingConnection; artCollection?: Maybe<ArtCollection>; /** * The calling creator's analytics. Always scoped to the caller: there is no * argument to read another creator's numbers. */ artCreatorAnalytics: ArtCreatorAnalytics; /** * Facet counts (media, top tags, top creators) for the discovery filters. No * authentication required. */ artDiscoverFacets: ArtDiscoverFacets; /** * Personalised recommendations for the calling actor, from the tags of works * they appreciated and the creators whose portfolios they follow. Falls back to * trending works when there is no history yet. */ artDiscoverForYou: Array<ArtPublicWork>; /** * Works related to a published work (shared tags, same creator, same medium). * No authentication required. */ artDiscoverRelated: Array<ArtPublicWork>; /** Trending works, optionally for one medium. No authentication required. */ artDiscoverTrending: Array<ArtPublicWork>; /** * A single published PUBLIC work, or null when it does not exist or is not * public. No authentication required. */ artDiscoverWork?: Maybe<ArtPublicWork>; /** * The cross-medium discovery feed: a workspace's published PUBLIC works, * searchable and filterable by medium, tag and creator. No authentication * required. */ artDiscoverWorks: ArtPublicWorkConnection; artDistribution?: Maybe<ArtDistribution>; /** Export the audit report covering every review round of a production's works. */ artExportProductionReviewReport: ArtReportFile; /** Export the audit report for one review round. */ artExportReviewReport: ArtReportFile; /** Guest review session for a secret review link. Public: the link secret is the credential. */ artGuestReview: ArtGuestReviewSession; /** Liveness/identity probe for the Artistrybase subgraph. */ artHealth: Scalars['String']['output']; /** The most recent poster-frame job for a video asset, if any. */ artLatestPosterFrameJob?: Maybe<ArtPosterFrameJob>; /** Publish/import history for a work (newest first). */ artListAdobeSyncs: Array<ArtAdobeSync>; artListApprovalSignatures: Array<ArtApprovalSignature>; /** * Workspace-wide workflow templates plus, when productionId is given, that * production's own workflows. */ artListApprovalWorkflows: Array<ArtApprovalWorkflow>; artListAssets: ArtAssetConnection; artListCollections: ArtCollectionConnection; artListDistributions: ArtDistributionConnection; artListGuestReviewers: Array<ArtReviewGuest>; artListLicenses: ArtLicenseConnection; /** The caller's workspace's own listings, in every status. */ artListMarketplaceListings: ArtMarketplaceListingConnection; /** Paid orders for the caller's workspace's listings. */ artListMarketplaceSales: ArtMarketplaceOrderConnection; /** Licences the calling actor bought or claimed in this workspace. */ artListMyMarketplacePurchases: ArtMarketplaceOrderConnection; artListPortfolios: ArtPortfolioConnection; artListProductionMembers: ArtProductionMemberConnection; artListProductionTemplates: Array<ArtProductionTemplate>; artListProductions: ArtProductionConnection; artListReferences: ArtReferenceConnection; artListReleases: ArtReleaseConnection; artListReviewRounds: ArtReviewRoundConnection; artListReviewerGroups: Array<ArtReviewerGroup>; artListWebhookSubscriptions: Array<ArtWebhookSubscription>; artListWorkVersions: ArtWorkVersionConnection; artListWorks: ArtWorkConnection; /** One listing: any listing of the caller's workspace, or an ACTIVE PUBLIC/UNLISTED one. */ artMarketplaceListing?: Maybe<ArtMarketplaceListing>; /** One order the calling actor bought (sellers read their sales through artListMarketplaceSales). */ artMarketplaceOrder?: Maybe<ArtMarketplaceOrder>; /** Revenue, fees and net earnings for the caller's workspace, per currency. */ artMarketplaceSellerSummary: ArtMarketplaceSellerSummary; /** Marketplace rules: commission, payout hold, currencies and when paid checkout opens. */ artMarketplaceSettings: ArtMarketplaceSettings; /** The calling actor's registered signing keys in this workspace. */ artMySignerKeys: Array<ArtSignerKey>; artPortfolio?: Maybe<ArtPortfolio>; /** One poster-frame job of a work. */ artPosterFrameJob?: Maybe<ArtPosterFrameJob>; artProduction?: Maybe<ArtProduction>; /** * The PUBLIC portfolio whose VERIFIED custom domain is `hostname`, for the * public portfolio site served on that domain (BOFF-10558). Null when no live * public portfolio holds the domain. No authentication required; * rate-limited per client IP. */ artPublicPortfolioByHost?: Maybe<ArtPublicPortfolio>; artReviewRound?: Maybe<ArtReviewRound>; /** Works in this workspace most related to the given work, across every medium. */ artSimilarWorks: ArtSimilarWorks; /** * Tags suggested for a work from similar works, the workspace's tag vocabulary * and the work's own text. Tags already on the work are never suggested. */ artSuggestWorkTags: ArtTagSuggestions; /** Re-verify every signature on a review round (crypto, manifest, hash chain, key state). */ artVerifyApprovalSignatures: ArtSignatureVerificationReport; /** The ArtistryBase events a webhook can subscribe to. */ artWebhookEventTypes: Array<ArtWebhookEventType>; artWebhookSubscription?: Maybe<ArtWebhookSubscription>; artWork?: Maybe<ArtWork>; /** Get specific artifact by ID */ artifact?: Maybe<GeneratedArtifact>; /** * Ask a natural-language question over the calling actor's own TimeCampus time * data (time entries, work patterns, focus scores) for the last `days` days * (default 30, clamped to 7..90). Self-scoped: takes no user argument and only * ever reads the caller's rows. Returns the model's answer, or a structured * `fallbackReason` when the model path is unavailable — the query never fails * because of AI. */ askTimeCampus: TimeCampusAiAnswer; asset?: Maybe<Asset>; assetAssignments: Array<AssetAssignment>; /** Resolve an active workspace asset by canonical tag ID, then a unique asset number or record ID. Ambiguous aliases return null. */ assetByTag?: Maybe<Asset>; /** Warranty, licence, replacement, and maintenance deadlines within the planning window. */ assetDeadlineAlerts: Array<AssetDeadlineAlert>; assetHandlerAdminWorkspaceState: AssetHandlerAdminWorkspaceState; assetHandlerConfigurationItem?: Maybe<ConfigurationItem>; assetHandlerDigitalTwin?: Maybe<DigitalTwin>; assetHandlerDiscoveryJob?: Maybe<DiscoveryJob>; assetHandlerFeatureFlags: AssetHandlerFeatureFlagList; /** Active AssetHandler overlay by ID; archived, missing and foreign rows return null. */ assetHandlerIoTDevice?: Maybe<IoTDevice>; assetHandlerLicenseEntitlement?: Maybe<LicenseEntitlement>; assetHandlerProvenanceRecord?: Maybe<ProvenanceRecord>; assetHandlerSoftwareAsset?: Maybe<SoftwareAsset>; assetHandlerWorkspaceQuotaOverview: AssetHandlerWorkspaceQuotaOverview; assetRegister: Array<Asset>; assets: Array<Asset>; assignmentSuggestions: MtwAssignmentSuggestions; assistantChannelDeliveries: Array<AssistantChannelDelivery>; assistantChannelInstallations: Array<AssistantChannelInstallation>; /** * The transcript of one of my assistant chats, oldest first. * @deprecated Use the my* assistant-history fields (BOFF-7335). */ assistantConversationMessages: Array<AssistantHistoryMessage>; /** * My assistant chats for one product, newest first. * @deprecated Use the my* assistant-history fields (BOFF-7335). */ assistantConversations: Array<AssistantConversation>; /** Run one GraphQL query as the owner of the session the capability names. Queries only. */ assistantSessionQuery: AssistantSessionRelayResult; assistantWebsiteInstallations: Array<AssistantWebsiteInstallation>; assistantWebsiteOriginAllowed: Scalars['Boolean']['output']; assistantWebsiteTranscript: Array<AssistantWebsiteHistoryMessage>; assistantWebsiteTurn?: Maybe<AssistantTurnExecution>; /** A single AI decision execution log entry by id, scoped to the caller's workspace. */ athAgentRun?: Maybe<AthAgentRun>; /** * Paginated, workspace-scoped AI decision execution log, most recent first. * `filter` (optional) narrows it to one athlete, team, program or status. */ athAgentRuns: AthAgentRunConnection; /** * The full list of selectable (provider, model) pairs — Gemini first/default * per the platform's provider-chain convention. */ athAiModelCatalog: Array<AthAiModelInfo>; /** Audit trail for the workspace, newest first. Staff-only, never viewer-level. */ athAuditLogs: AthAuditLogConnection; athFixture?: Maybe<AthFixture>; /** Liveness/identity probe for the AthleteBridge subgraph. */ athHealth: Scalars['String']['output']; /** * List availability responses for a fixture OR a session. Exactly one of * `fixtureId` / `sessionId` must be supplied. */ athListAvailability: AthAvailabilityConnection; athListFixtures: AthFixtureConnection; athListMembers: AthMemberConnection; athListPrograms: AthProgramConnection; athListRegistrationForms: AthRegistrationFormConnection; /** The payment ledger of one submission, newest first. */ athListRegistrationPayments: Array<AthRegistrationPayment>; athListRegistrationSubmissions: AthRegistrationSubmissionConnection; athListSessions: AthSessionConnection; athListTeams: AthTeamConnection; athListWorkoutLogs: AthWorkoutLogConnection; /** Family-facing: the registrations the calling user has submitted. */ athMyRegistrations: AthMyRegistrationConnection; /** The club's online-payment setup. */ athOnlinePaymentsStatus: AthOnlinePaymentsStatus; athPerformanceMetrics: AthPerformanceMetricConnection; athProgram?: Maybe<AthProgram>; athRegistrationForm?: Maybe<AthRegistrationForm>; /** Family-facing: a PUBLISHED form by its share-link slug (null otherwise). */ athRegistrationFormBySlug?: Maybe<AthPublicRegistrationForm>; /** Fee reconciliation for one form, or for every form in the workspace. */ athRegistrationPaymentSummary: AthRegistrationPaymentSummary; athRegistrationSubmission?: Maybe<AthRegistrationSubmission>; athSession?: Maybe<AthSession>; athStandings: AthStandingConnection; athTeam?: Maybe<AthTeam>; /** The workspace's saved default AI model, or null if it has not set one. */ athWorkspaceAiConfig?: Maybe<AthWorkspaceAiConfig>; availableAssetTags: Array<AssetAvailableTag>; availableBigconsoleTags: Array<BigConsoleAvailableTag>; /** List assignable tags in the workspace */ availableCosTags: Array<CosAvailableTag>; availableEventfullyManagedTags: Array<EventfullyManagedAvailableTag>; /** List assignable tags in the workspace */ availableFluidgridsTags: Array<FluidgridsAvailableTag>; availableIntelwatchtowerTags: Array<IntAvailableTag>; /** Get available tags for selection (from wspace-tags-svc) */ availableNoteTags: Array<AvailableTag>; /** Get available tags for selection (from wspace-tags-svc) */ availableSandboxTags: Array<SandboxAvailableTag>; /** List assignable tags in the workspace */ availableVibecontrolsTags: Array<AvailableTag>; /** * The caller's BigConsole settings in the request workspace. Self-scoped: the * owner is always the calling actor and the workspace is always the request * workspace, so the field takes no identity arguments. */ bigConsoleSettings: BigConsoleSettings; bigconsoleEntityTags: Array<BigConsoleTagAssignment>; blockedKnowledgeCleanupJobs: Array<KnowledgeCleanupJob>; botmanorAgentApprovalSettings: BotmanorAgentApprovalSettings; /** Retention settings in force for the calling workspace and its last 20 passes. */ botmanorRetentionStatus: BotmanorRetentionStatus; /** The calling workspace's end-of-term erasure record, if one exists. */ botmanorWorkspaceErasure?: Maybe<BotmanorWorkspaceErasure>; braAccount?: Maybe<BraAccount>; braAccountFeeReport: BraAccountFeeReport; /** Admin firm supervision dashboard: AUM, advisors, and household status breakdown. FIRM_ADMIN only. */ braAdminFirmSummary: BraAdminFirmSummary; braAggregationLink?: Maybe<BraAggregationLink>; braAggregationProviders: Array<BraAggregationProviderStatus>; /** Budget against actual spending for one calendar month. */ braBudgetStatus: BraBudgetStatus; /** Households the caller can open on the cashflow page (ones they advise and ones they are a member of), sorted by name. */ braCashflowHouseholds: Array<BraCashflowHousehold>; /** Income, spending and savings rate by month and by category for the caller's own accounts or one household. */ braCashflowSummary: BraCashflowSummary; /** The caller's recent transactions with the category each one was given and why. */ braCashflowTransactions: BraCashflowTransactionList; /** The calling client's own portfolio summary, branded with their advisor's client-portal branding when one exists. */ braClientPortalSummary: BraClientPortalSummary; /** * Creates a real Plaid Link session token (Sandbox by default) to start the * account-linking consent flow. Throws PROVIDER_NOT_CONFIGURED when * PLAID_CLIENT_ID/PLAID_SECRET are not set. */ braCreatePlaidLinkToken: BraPlaidLinkToken; braEntitySummary: BraEntitySummary; /** Firm-wide aggregate AUM + per-advisor breakdown. FIRM_ADMIN only. */ braFirmReport: BraFirmReport; /** The caller's saved base-currency preference for braNetWorthSummary (defaults to USD when unset). */ braFxPreference: BraFxPreference; /** Real live (cached, ~daily-refreshed) exchange rates for baseCurrency, from open.er-api.com. */ braFxRates: BraFxRateSnapshot; braGoal?: Maybe<BraGoal>; /** Liveness/identity probe for the Brainyrich subgraph. */ braHealth: Scalars['String']['output']; braHousehold?: Maybe<BraHousehold>; braInsight?: Maybe<BraInsight>; /** Informational insurance needs analysis and coverage gaps for one owner in one currency. */ braInsuranceNeedsAnalysis: BraInsuranceNeedsAnalysis; braInsurancePolicy?: Maybe<BraInsurancePolicy>; /** Average monthly surplus, emergency-fund top-up, and how the rest funds active goals. */ braInvestableSurplus: BraInvestableSurplus; braListAccounts: BraAccountConnection; /** The full firm roster. FIRM_ADMIN only — see BraAdvisor scope note above. */ braListAdvisors: Array<BraAdvisor>; braListAggregationLinks: BraAggregationLinkConnection; /** The caller's monthly budgets, or a household's when householdId is given. */ braListBudgets: Array<BraBudget>; /** The caller's categorization rules, or a household's when householdId is given. */ braListCashflowRules: Array<BraCashflowRule>; /** Entities share household permissions. Keyset pagination: pass the last ID as after; pages contain at most 100 entities. */ braListEntities: Array<BraEntity>; braListGoalFundings: BraGoalFundingConnection; braListGoals: BraGoalConnection; braListHoldings: BraHoldingConnection; braListHouseholds: BraHouseholdConnection; braListInsights: BraInsightConnection; braListInsurancePolicies: BraInsurancePolicyConnection; braListModelPortfolios: BraModelPortfolioConnection; braListPortfolios: BraPortfolioConnection; braListRebalanceProposals: BraRebalanceProposalConnection; /** * Detect recurring patterns across every transaction visible to the caller * (owner, or advisor of the linked household) within the given look-back * window. Returns patterns sorted by descending confidence — the most * obvious subscriptions first. */ braListRecurringPatterns: BraRecurringPatternConnection; braListReportRuns: Array<BraReportRun>; braListScheduledReports: Array<BraScheduledReport>; braListTradeInstructions: Array<BraTradeInstruction>; braListTransactions: BraTransactionConnection; /** A real, live current quote for one symbol from a public market-data feed. */ braMarketQuote: BraMarketQuote; braModelPortfolio?: Maybe<BraModelPortfolio>; /** The calling advisor's own client-portal branding, or null if not yet configured. */ braMyAdvisorBranding?: Maybe<BraAdvisorBranding>; /** The calling actor's own firm-roster row, or null if they are not on the roster yet. */ braMyAdvisorProfile?: Maybe<BraAdvisor>; braMyCrmLink: BraCrmLink; braMyCrmLinks: BraCrmLinkPage; braMyCrmRecords: BraCrmRecordPage; /** Recipient-owned invitation page, ordered newest first. Use limit/offset to inspect further invitations. */ braMyVaultInvitations: Array<BraVaultInvitation>; braMyVaults: Array<BraDocumentVault>; /** * Aggregate accounts + holdings visible to the caller into a net-worth summary, * broken out by asset class. For a delegated owner, only accounts in households * assigned to the caller contribute. `baseCurrency` overrides the caller's saved * BraFxPreference for this call; omit to use that preference (default USD). */ braNetWorthSummary: BraNetWorthSummary; braPortfolio?: Maybe<BraPortfolio>; /** Live KPI roll-up (total value, average live drift, YTD return) over the caller's visible portfolios. */ braPortfolioOverview: BraPortfolioOverview; braPortfolioRiskSignals: BraPortfolioRiskReport; braPortfolioRiskSummary: BraRiskSummary; /** Audit trail (oldest first) of one rebalance proposal the caller can see. */ braRebalanceProposalAuditTrail: Array<BraRebalanceProposalAuditEntry>; /** Real, regenerated-on-demand PDF for one report run, base64-encoded (same pattern as timeCampusInvoicePdf). */ braReportRunPdf: Scalars['String']['output']; /** Lot-level tax-loss-harvest candidates across the holdings the actor can see. Read-only. */ braTaxHarvestCandidates: BraTaxHarvestReport; /** Preview tax-loss-harvesting candidates for a portfolio without persisting anything. */ braTaxLossOpportunities: BraTaxLossReport; /** Recorded tax lots for one holding, oldest first. */ braTaxLots: Array<BraTaxLot>; braVault: BraVaultDetail; braVaultGrantedDocuments: Array<BraVaultGrantedDocument>; budget?: Maybe<AssetBudget>; budgets: Array<AssetBudget>; /** * The workspace's admin copilot proposals and their outcomes, newest first — * the audit trail of what was proposed, who confirmed or dismissed it, and * what ran. Same gate as `buiAdminCopilotAsk`. */ buiAdminCopilotActions: Array<BuiAdminCopilotProposedAction>; /** The workspace's AI content controls (block-list applied to every AI authoring and tutor call). */ buiAiSettings: BuiAiSettings; buiAssessment?: Maybe<BuiAssessment>; /** Machine-only: the block-list the BotManor course assistant masks in its answers. */ buiAssistantContentControls: BuiAssistantContentControls; /** Recent automation runs, newest first, optionally for one template. */ buiAutomationRuns: BuiAutomationRunConnection; /** All automation templates and their state in this workspace. */ buiAutomations: Array<BuiAutomation>; buiBadge?: Maybe<BuiBadge>; /** The workspace badge catalog. */ buiBadges: BuiBadgeConnection; buiCatalogPublicationConsentVersion: Scalars['String']['output']; /** * Checks draft content an author is writing (before it is saved) against the * WCAG 2.1 source rules. Stateless: reads and writes nothing. */ buiCheckContentAccessibility: BuiAccessibilityReport; buiCourse?: Maybe<BuiCourse>; /** * Checks every saved piece of authored content in one course: its summary and * description, lesson bodies, assessment descriptions, and question prompts, * options and explanations. */ buiCourseAccessibilityReport: BuiCourseAccessibilityReport; buiCourseAssistantSettings: BuiCourseAssistantSettings; /** * M2M system-of-record point read (OVL-24): resolve a single learner's * canonical enrollment in a specific BuildMyIQ course — returns the learner's * most recent non-deleted enrollment, or null if they have never enrolled in * that course. * * This is the composition primitive a consuming subgraph * (e.g. wspace-technospam-svc) uses once it references a `BuiCourse` via * `@key`: it needs the learner's canonical enrollment / progress / completion * state (BuildMyIQ is the system of record) without enumerating every * enrollment in the workspace and filtering client-side (cf. * `buiListEnrollments`, which is the cross-learner instructor/admin list). * Gated on the same `buildmyiq-enrollment` read action as `buiEnrollment`, so * it reuses the existing RBAC grants (no new seed). */ buiCourseEnrollment?: Maybe<BuiEnrollment>; buiCourseKnowledgeSnapshotSources: BuiCourseKnowledgeSnapshotSourcePage; /** Machine-only published course source export; not a learner access grant. */ buiCourseKnowledgeSources: BuiCourseKnowledgeSourcePage; /** The workspace's early-warning opt-in and settings. */ buiEarlyWarning: BuiEarlyWarning; /** Recent early-warning runs, newest first — the per-invocation ledger an admin audits. */ buiEarlyWarningRuns: BuiEarlyWarningRunConnection; buiEnrollment?: Maybe<BuiEnrollment>; /** * Service-only (BOFF-10480): the canonical state of the given source records, * for the source product's parity check. Ids with no canonical row are simply * absent from the result. */ buiExternalSyncRecords: Array<BuiExternalSyncRecord>; /** Liveness/identity probe for the Buildmyiq subgraph. */ buiHealth: Scalars['String']['output']; /** The lesson's activity for the in-browser editor, with the answer key. Null when none is attached. */ buiInteractiveActivityDraft?: Maybe<BuiInteractiveActivityDraft>; /** Questions of an interactive lesson for playback, without the answer key. Null when no package is attached. */ buiInteractivePlayer?: Maybe<BuiInteractivePlayerConfig>; buiLearningObject?: Maybe<BuiLearningObject>; /** One version of a repository object, or null when it does not exist. */ buiLearningObjectVersion?: Maybe<BuiLearningObjectVersion>; /** * Browse the workspace repository, most recently updated first. `search` * matches the title and description; `tag` and `skillId` filter exactly. */ buiLearningObjects: BuiLearningObjectConnection; /** The H5P package attached to a lesson, with validation details (authoring view). */ buiLessonInteractivePackage?: Maybe<BuiInteractivePackage>; /** The SCORM package attached to a lesson, with its items and validation notes (authoring view). */ buiLessonScormPackage?: Maybe<BuiScormPackage>; buiListAssessments: BuiAssessmentConnection; /** * Live-scored at-risk enrollments in one cohort: ACTIVE enrollments whose * deterministic risk score is at or above the workspace threshold, each with * the signals and the decision engine's suggested intervention. */ buiListAtRiskEnrollments: BuiAtRiskEnrollmentConnection; /** * Workspace-wide badge awards (credential issuers only, like * `buiListCertificates`). Learners read their own awards through * `buiMyBadgeAwards`. */ buiListBadgeAwards: BuiBadgeAwardConnection; /** * Workspace-wide certificate list (instructors/facilitators/admins only — * see `buildmyiq-certificate` action defaults, `viewerDefault: false` on * `list`/`read`). Learners viewing their own credentials MUST use * `buiMyCertificates` instead. * * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin * list shows the whole workspace; a learner's own credentials come from the * self-scoped `buiMyCertificates`. * * `source` (BOFF-10481) narrows the list to the certificates mirrored from one * product; omit it to list native and mirrored certificates alike. */ buiListCertificates: BuiCertificateConnection; buiListCertifications: BuiCertificationConnection; buiListCohorts: BuiCohortConnection; /** * Courses in the workspace. `source` (BOFF-10481) narrows the list to the * courses mirrored from one product, so a product's own catalog (for example * TechnoSpam's) never lists the workspace's native BuildMyIQ courses. Omit it * to list every course, native and mirrored alike. */ buiListCourses: BuiCourseConnection; /** * Workspace-wide enrollment list (instructors/facilitators/admins only — see * `buildmyiq-enrollment` action defaults in wspace-rbac-svc's seed, which set * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot * enumerate every learner's enrollments). Learners viewing their own * enrollments MUST use `buiMyEnrollments`/`buiMyEnrollment` instead. * * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated instructor/admin * list shows the whole workspace and is filtered client-side; a learner's own * enrollments come from the self-scoped `buiMyEnrollments`. The single-learner * M2M point read remains available via `buiCourseEnrollment` for consuming * subgraphs. * * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one * product; omit it to list native and mirrored enrollments alike. */ buiListEnrollments: BuiEnrollmentConnection; buiListLessons: BuiLessonConnection; buiListModules: BuiModuleConnection; /** * BOFF-4431: workspace-wide proctoring review queue (instructor/admin only — * same FERPA-style shape as `buildmyiq-submission`). Learners checking their * own session status MUST use `buiMyProctoringSession` instead. */ buiListProctoringSessions: BuiProctoringSessionConnection; buiListSkillStandards: BuiSkillStandardConnection; buiListSkills: BuiSkillConnection; /** * Workspace-wide submission list (instructors/graders/admins only — see * `buildmyiq-submission` action defaults in wspace-rbac-svc's seed, which set * `viewerDefault: false` on `list`/`read` so a plain workspace Viewer cannot * enumerate every learner's answers/scores/feedback). Learners viewing their * own results MUST use `buiMySubmissions` instead. * * No `learnerId` arg (BOFF FERPA/IDOR hardening): a caller who holds the * elevated instructor/admin `list` grant sees the whole workspace queue and * filters client-side; a learner who needs their own results uses the * self-scoped `buiMySubmissions`, whose identity comes from the authenticated * actor. Removing the per-learner filter here closes the targeted * "give me learner X's answers" enumeration vector at the schema boundary. */ buiListSubmissions: BuiSubmissionConnection; /** * Workspace-wide tutor session list for instructors/admins reviewing AI * tutor conversations (educator-review checklist item). Restricted to * EDITOR+ roles — see wspace-rbac-svc action-catalog `buildmyiq-tutor:list` * (viewerDefault: false), same restriction shape as `buiListSubmissions`. * * No `learnerId` arg (BOFF FERPA/IDOR hardening): the elevated reviewer list * shows the whole workspace; a learner's own sessions come from the * self-scoped `buiMyTutorSessions`/`buiMyTutorSession`. */ buiListTutorSessions: BuiTutorSessionConnection; /** AGS grade-sync attempt history for one placement — instructor-facing diagnostics. */ buiLtiGradeSyncs: Array<BuiLtiGradeSync>; /** * Type-B self-scoped read of a pending launch ticket — any authenticated * workspace member who was just redirected here from an LMS may read it * (there is no "owner" yet; the ticket itself is the capability), but it is * always scoped to the CALLER's own workspace, never any other. */ buiLtiLaunchContext?: Maybe<BuiLtiLaunchContext>; /** Workspace admin: every registered LTI platform (active or not). */ buiLtiPlatforms: Array<BuiLtiPlatform>; /** * Workspace admin: the LMS placements (resource links) recorded by launches, * newest first, optionally for one platform. Feeds grade and roster sync. */ buiLtiResourceLinks: Array<BuiLtiResourceLink>; /** Last-synced NRPS roster for one LTI placement's course context. */ buiLtiRoster: Array<BuiLtiRosterMember>; /** One migration job, e.g. to follow an import's media upload. */ buiMigrationJob?: Maybe<BuiMigrationJob>; /** The workspace's migration audit trail, newest first. */ buiMigrationJobs: BuiMigrationJobConnection; /** * Type-C self-scoped list: the calling learner's own badge awards. No * `learnerId` arg; identity comes from the authenticated actor. */ buiMyBadgeAwards: BuiBadgeAwardConnection; buiMyCatalogConnectors: Array<BuiCatalogConnector>; buiMyCatalogItems: Array<BuiExternalCatalogItem>; buiMyCatalogSyncRun: BuiCatalogSyncRun; /** * Type-B self-scoped single lookup (BOFF-10481): `id` identifies the * certificate, but the resolver owner-filters by `ctx.actor.id` (`learnerId`) * and returns null (never FORBIDDEN) when it does not exist or belongs to * someone else, so existence is never leaked. */ buiMyCertificate?: Maybe<BuiCertificate>; /** * Type-C self-scoped list: the calling learner's own certificates. No * `learnerId` arg — see `buiListCertificates` for the workspace-wide/ * instructor equivalent. * * `source` (BOFF-10481) narrows the list to the certificates mirrored from one * product. */ buiMyCertificates: BuiCertificateConnection; /** Live course access for the authenticated learner; unavailable courses return false. */ buiMyCourseAccess: BuiLearnerCourseAccess; buiMyCourseAssistantConversation?: Maybe<BuiCourseAssistantConversation>; buiMyCourseAssistantConversations: BuiCourseAssistantConversationPage; buiMyCourseAssistantMessages: BuiCourseAssistantMessagePage; buiMyCourseAssistantTarget: BuiCourseAssistantTarget; buiMyCourseAssistantTurn?: Maybe<BuiCourseAssistantTurn>; /** * Type-B self-scoped single lookup: `id` identifies the enrollment, but the * resolver owner-filters by `ctx.actor.id` (`learnerId`) and returns null * (never leaks FORBIDDEN) if the caller doesn't own it. */ buiMyEnrollment?: Maybe<BuiEnrollment>; /** * Type-C self-scoped list: the calling learner's own enrollments. No * `learnerId` arg — identity comes from the authenticated actor * (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — see * `buiListEnrollments` for the workspace-wide/instructor equivalent). * * `source` (BOFF-10481) narrows the list to the enrollments mirrored from one * product (for example the learner's TechnoSpam enrollments). */ buiMyEnrollments: BuiEnrollmentConnection; /** The caller's recent attempts on an interactive lesson in their own enrollment, newest first. */ buiMyInteractiveAttempts: Array<BuiInteractiveAttemptSummary>; /** Type-A self read: the caller's own learner profile, or null before they set one. */ buiMyLearnerProfile?: Maybe<BuiLearnerProfile>; /** * Type-C self-scoped lookup: the calling learner's own current (most recent, * unexpired) proctoring session for an assessment. No `learnerId` arg — * identity comes from the authenticated actor, never client input. */ buiMyProctoringSession?: Maybe<BuiProctoringSession>; /** * Type-C self-scoped list: the calling learner's saved courses, newest first. * No `learnerId` arg — identity comes from the authenticated actor. * `courseId` narrows the list to one course, which is how a course page asks * "has the caller saved this course?" (an empty list means no). */ buiMySavedCourses: BuiSavedCourseConnection; /** * Launch a SCORM lesson in the caller's own enrollment: the package link and * the stored run-time state of every item. Null when the lesson has no SCORM * package. */ buiMyScormLaunch?: Maybe<BuiScormLaunch>; /** * Type-C self-scoped list: the calling learner's own submissions across * assessments. No `learnerId` arg — identity comes from the authenticated * actor (`ctx.actor.id`), never from client input (BOFF FERPA/IDOR fix — * see `buiListSubmissions` for the workspace-wide/instructor equivalent). */ buiMySubmissions: BuiSubmissionConnection; /** * Type-B self-scoped read: owner-filters by the authenticated actor in the * primary query and returns null (never FORBIDDEN) when the session is not * owned by the caller or does not exist. */ buiMyTutorSession?: Maybe<BuiTutorSession>; /** * Type-C self-scoped list: the calling learner's own tutor sessions. No * `learnerId` arg — identity comes exclusively from the authenticated actor, * mirroring `buiMySubmissions` (BOFF FERPA/IDOR pattern). */ buiMyTutorSessions: BuiTutorSessionConnection; /** The workspace's getting-started checklist. */ buiOnboardingStatus: BuiOnboardingStatus; buiPendingCourseKnowledgeChange?: Maybe<BuiCourseKnowledgeChange>; /** * Read an uploaded package (IMS Common Cartridge or Moodle backup, detected * from the file) and describe the course an import * would create, with every skipped or converted item. Writes nothing. */ buiPreviewCourseImport: BuiCourseImportPreview; /** Read an uploaded gradebook CSV and describe the grades an import would write. Writes nothing. */ buiPreviewGradebookImport: BuiGradebookImportPreview; /** Read an uploaded roster CSV and describe the enrollments an import would create. Writes nothing. */ buiPreviewRosterImport: BuiRosterImportPreview; /** * BOFF-9691: open the learner's identity photo/ID for a session in the review * queue (instructor/admin only — the same permission as the queue itself). * Null when the session has no identity file, or the file is gone or is not * the learner's own upload. */ buiProctoringIdentityFile?: Maybe<BuiProctoringIdentityFile>; /** * BOFF-9690: reviewer timeline of one proctoring session's signals, oldest * first. Instructor/admin only (same directive as the review queue); signals * past the retention period are never returned. Paginated with explicit * `limit` (default 50, max 100) and `after` (the previous page's * `pageInfo.cursor`) rather than `PaginationInput`, whose composed * supergraph shape carries only `limit`. */ buiProctoringSessionSignals: BuiProctoringSignalConnection; buiPublishedCatalogItems: Array<BuiPublishedCatalogItem>; buiPublishedCatalogPage: BuiPublishedCatalogPage; /** * Skill journeys the caller has not started, best match first, computed from * the caller's learner profile, their enrollments and the published catalog. * `limit` defaults to 3 (maximum 10). */ buiRecommendPaths: BuiPathRecommendations; /** An author's preview launch of a lesson's SCORM package. Nothing is stored. */ buiScormPreviewLaunch: BuiScormLaunch; buiSubmission?: Maybe<BuiSubmission>; buiSuggestCertifications: Array<BuiCertificationSuggestion>; buiSuggestSkillMappings: Array<BuiSkillMappingSuggestion>; /** Statement counts by delivery state. */ buiXapiDeliveryCounts: BuiXapiDeliveryCounts; /** The workspace's LRS settings, or null when none are saved. */ buiXapiLrsConfig?: Maybe<BuiXapiLrsConfig>; /** Recorded learning statements, newest first. They hold learners' scores, so this needs submission access. */ buiXapiStatements: BuiXapiStatementConnection; /** Turn a live dashboard into a portable template document for the store. */ buildDashboardTemplateContent: BigConsoleBuildDashboardTemplateContentResult; calculateFreightRate: MtwFreightRateQuote; calendar?: Maybe<Calendar>; calendars: CalendarConnection; callHistory: CallSessionConnection; callSession?: Maybe<CallSession>; capacityOverview: CapacityOverview; cargoItem?: Maybe<MtwCargoItem>; cargoItemStats: MtwCargoItemStats; cargoItems: Array<MtwCargoItem>; cargoItemsCount: Scalars['Int']['output']; changeRequest?: Maybe<ChangeRequest>; changeRequests: Array<ChangeRequest>; checkAvailability: Scalars['Boolean']['output']; /** Check if file is locked and if current user can acquire lock */ checkFileLock: LockCheckResult; /** Check if user has a specific permission on a file */ checkFilePermission: FilePermissionCheckResult; /** Check if user has a specific permission on a folder */ checkFolderPermission: FilePermissionCheckResult; /** Gate check for a produce action (list/harvest/trace) — is this animal's produce currently blocked? */ checkHealthyBowlProduceWithdrawal: ProduceWithdrawalCheck; /** Check if an actor has permission to perform an action */ checkPermission: PermissionCheckResult; /** Check multiple permissions at once (max 50) */ checkPermissions: Array<PermissionCheckResult>; /** * Whether a requester may grant roles workspace-wide — the checks setActorRoles applies to added * roles, with no target actor and no write (service-only) */ checkRoleGrant: RoleGrantCheckResult; /** Check if an actor can see a resource */ checkVisibility: VisibilityCheckResult; /** * Check whether a specific workspace quota has remaining capacity. * Returns the check result including the assignment ID (needed by the gateway * for the subsequent trackUsage call). */ checkWorkspaceQuota: WorkspaceQuotaCheckResult; circuitBreakerState?: Maybe<CircuitBreakerState>; circuitBreakerStates: Array<CircuitBreakerState>; circuitBreakerStatus?: Maybe<CircuitBreakerState>; clientPortalConfig?: Maybe<ClientPortalConfig>; clientPortalConfigs: ClientPortalConfigListResponse; clientPortalStats: ClientPortalStats; /** * Public read-only portal view for external clients, resolved by the opaque * share token from the portal config. Only active portals resolve and the * exposed fields are gated by the config's permissions. */ clientPortalView?: Maybe<TimeCampusClientPortalView>; /** * The Insights "Code workflows" panel (gap G21): runs by kind, replay cost and determinism * violations of the caller's workspace over a window. */ codeWorkflowInsights: CodeWorkflowInsights; cohort?: Maybe<Cohort>; cohortMembers: CohortMembersResult; cohorts: Array<Cohort>; /** * A person's ancestors, grouped by generation (1 = parents, 2 = * grandparents, …), followed along recorded PARENT relationships. */ colAncestors: ColLineage; /** * A person's descendants, grouped by generation (1 = children, 2 = * grandchildren, …), followed along recorded PARENT relationships. */ colDescendants: ColLineage; /** * Export a family tree as GEDCOM 5.5.1 text (BOFF-4162). When * `excludeLivingSensitive` is true (the default), living relatives' birth * date/place are left out of the export — an explicit, caller-visible * privacy control, never a silent omission (see * `ColGedcomExport.excludedLivingSensitive`). */ colExportGedcom: ColGedcomExport; colFamilyTree?: Maybe<ColFamilyTree>; colGetFamilyTreeTags: Array<ColFamilyTreeTagAssignment>; colGetMemoryTags: Array<ColMemoryTagAssignment>; colGetPersonTags: Array<ColPersonTagAssignment>; colGetStoryTags: Array<ColStoryTagAssignment>; /** Liveness/identity probe for the Collabkin subgraph. */ colHealth: Scalars['String']['output']; colKeepsakeBook?: Maybe<ColKeepsakeBook>; colKeepsakeBookPdf: ColKeepsakeBookPdfDocument; /** * The AI-assistant-preview call ledger for a tree — audit/cost visibility * for tree members, not a chat history (no raw prompts/completions stored). */ colListAssistantSuggestions: ColAssistantSuggestionConnection; colListFamilyTrees: ColFamilyTreeConnection; /** * Guardian correction/removal review queue for a tree — restricted in the * service layer to that tree's OWNER/STEWARD (the requests carry sensitive * free text about a minor, so tree-wide read access is deliberately not * granted here the way it is for e.g. colListMemberships). */ colListGuardianRequests: ColGuardianRequestConnection; colListKeepsakeBooks: ColKeepsakeBookConnection; colListMemberships: ColMembershipConnection; colListMemories: ColMemoryConnection; colListPeople: ColPersonConnection; colListRelationships: ColRelationshipConnection; colListStories: ColStoryConnection; colMemory?: Maybe<ColMemory>; /** * The caller's own filed guardian requests, across every tree in the * workspace. Self-scoped: the resolver filters by the caller's actor id and * never accepts an identity argument (Type C self-list). */ colMyGuardianRequests: ColGuardianRequestConnection; colPerson?: Maybe<ColPerson>; /** * Shortest relationship path between two people in the same family tree * (BOFF-4163), with a human-readable possessive-chain description and, for * common short patterns, a plain-English kinship term. */ colRelationshipPath: ColRelationshipPath; colStory?: Maybe<ColStory>; /** * The curated guided story-prompt library (BOFF-4164), optionally filtered by * life-stage category and/or interviewer relationship. Static content — no * tree/workspace scoping needed to read it. */ colStoryPrompts: Array<ColStoryPrompt>; /** * The family timeline — dated events for a tree (optionally one person), * ordered most-recent first. */ colTimeline: ColEventConnection; /** * Who is present on this family tree right now (heartbeats within the last * 30 s; `typing` narrowed to the last 8 s). Includes the caller's own row — * the UI filters itself out. Scoped to the caller's own workspace and to a * tree that exists there, exactly like `colFamilyTree(id:)`. */ colTreePresence: Array<ColPresenceEntry>; /** The caller's analytics report and alert subscriptions in the current workspace. */ comAnalyticsSubscriptions: Array<ComAnalyticsSubscription>; comCircle?: Maybe<ComCircle>; /** * Activity summary for a circle over the last N days (default 7). Requires * MODERATOR+ in the circle. This is the deterministic, non-LLM summary used * until the shared AI gateway (BOFF-3601) provides a real summarisation model. */ comCircleActivitySummary?: Maybe<ComCircleActivitySummary>; /** * Growth, engagement and health analytics for one circle. Requires MODERATOR or * above in the circle. */ comCircleAnalytics: ComCircleAnalytics; /** * Portfolio view across every circle the caller organizes (MODERATOR or above) * in the current workspace. */ comCommunityAnalytics: ComCommunityAnalytics; /** * A course with its outline. DRAFT courses are visible to the circle's * organizers only. */ comCourse?: Maybe<ComCourse>; /** * Enrollment roster of a course with each member's progress — circle * organizers only. */ comCourseEnrollments: ComCourseEnrollmentConnection; /** A lesson with its content — enrolled members and circle organizers only. */ comCourseLesson?: Maybe<ComCourseLessonContent>; /** * Courses in a circle. Members see PUBLISHED courses; the circle's organizers * may pass includeDrafts to also see DRAFT courses. ARCHIVED courses are never * listed. */ comCourses: ComCourseConnection; /** * Always false today (BOFF-4454 billing boundary — catalog/calculation only, * no live payment processor is wired). Lets the fan-facing UI render an * honest "Payment integration pending" state on every purchase CTA instead * of guessing. */ comCreatorHasPaymentsEnabled: Scalars['Boolean']['output']; comDigitalProduct?: Maybe<ComDigitalProduct>; comEvent?: Maybe<ComEvent>; /** A member's points, level, rank and badges in a circle. Omit memberId for the calling member. */ comGamificationProfile: ComGamificationProfile; /** Whether gamification is on for a circle, plus the public points rules and level ladder. */ comGamificationSettings: ComGamificationSettings; /** Liveness/identity probe for the Comradecircle subgraph. */ comHealth: Scalars['String']['output']; /** Whether the calling actor has blocked `memberId`. */ comIsMemberBlocked: Scalars['Boolean']['output']; comLeaderboard: ComLeaderboard; comListBadges: Array<ComBadge>; comListChallenges: Array<ComChallenge>; comListChannels: ComChannelConnection; comListCircles: ComCircleConnection; comListComments: ComCommentConnection; comListDigitalProducts: ComDigitalProductConnection; comListEvents: ComEventConnection; /** * Fan-facing browse of a creator's published membership tiers. Omitting * creatorId browses every ACTIVE tier in the workspace. */ comListMembershipTiers: ComCreatorMembershipTierConnection; comListMemberships: ComMembershipConnection; comListPaidEvents: ComPaidEventConnection; comListPolls: ComPollConnection; comListPosts: ComPostConnection; comListProfiles: ComProfileConnection; /** * Moderator queue — reports in the workspace, newest first. Requires the * calling actor to hold MODERATOR+ in at least one circle in the workspace * (enforced in the resolver; the @rbac directive is the coarse gateway gate). */ comListReports: ComReportConnection; /** * Moderator queue for triage verdicts. Requires MODERATOR+ in at least one * circle in the workspace (enforced in the resolver). */ comListVerdicts: ComModerationVerdictConnection; /** Get a single live stream by id. */ comLiveStream?: Maybe<ComLiveStream>; /** A single recording. Circle members only. */ comLiveStreamRecording?: Maybe<ComLiveStreamRecording>; /** A short-lived presigned URL to replay a READY recording. Circle members only. */ comLiveStreamRecordingReplay: ComLiveStreamRecordingReplay; /** Recording limits for this workspace and the minutes recorded this month. */ comLiveStreamRecordingSettings: ComLiveStreamRecordingSettings; /** Recordings of a circle's live stages, newest first. Circle members only. */ comLiveStreamRecordings: ComLiveStreamRecordingConnection; /** List live streams for a circle, optionally filtered by status. */ comLiveStreams: ComLiveStreamConnection; /** * A member's course completion certificates for their profile's "Courses * completed" section: empty when the member's profile is not discoverable, and * limited to courses in circles the caller can see. */ comMemberCourseCertificates: ComCourseCertificateConnection; comMembershipTier?: Maybe<ComCreatorMembershipTier>; /** * Read the auto-moderation rule for a circle. Requires MODERATOR+ in the * circle. A missing rule is seeded with the default (enabled, empty terms). */ comModerationRule?: Maybe<ComModerationRule>; /** The members the calling actor has blocked in this workspace, newest first. */ comMyBlockedMembers: ComMemberBlockConnection; /** * The calling member's course completion certificates, newest first (Type C * self-list). */ comMyCourseCertificates: ComCourseCertificateConnection; /** * The calling member's course enrollments (Type C self-list), most recent * activity first. DROPPED enrollments are excluded unless asked for. */ comMyCourseEnrollments: ComCourseEnrollmentConnection; /** List the calling member's own registered push-notification devices. */ comMyDeviceTokens: Array<ComDeviceToken>; comMyDigitalProducts: ComDigitalProductConnection; /** * The calling member's unified home feed — published posts from every channel, * member, and circle they follow, newest first. */ comMyFeed: ComPostConnection; comMyFollows: ComFeedFollowConnection; /** The calling creator's own membership tiers, including ARCHIVED ones. */ comMyMembershipTiers: ComCreatorMembershipTierConnection; comMyPaidEvents: ComPaidEventConnection; /** * Tip intents the calling creator has received (Type C self-list — the * ctx.actorId filter on creatorId IS the access control). */ comMyReceivedTips: ComTipIntentConnection; /** Tip intents the calling member has sent. */ comMySentTips: ComTipIntentConnection; comPaidEvent?: Maybe<ComPaidEvent>; comPoll?: Maybe<ComPoll>; comPost?: Maybe<ComPost>; comProfile?: Maybe<ComProfile>; /** * ICE servers (STUN/TURN) and the participant/viewer caps for voice channels * and live streams. */ comRtcConfiguration: ComRtcConfiguration; comVerdict?: Maybe<ComModerationVerdict>; /** * Public, read-only certificate verification by code. Returns null for an * unknown code. No ids and no member data beyond the display name. */ comVerifyCourseCertificate?: Maybe<ComCourseCertificateVerification>; /** * The current ACTIVE voice session for a VOICE-type channel, or null if the * channel is silent right now. */ comVoiceSession?: Maybe<ComVoiceSession>; /** Leaderboard across every non-secret circle with gamification on. */ comWorkspaceLeaderboard: ComLeaderboard; /** Compare two versions of the same file */ compareFileVersions: FileVersionComparison; /** All deployment records for a single component (one per environment it has reached). */ componentDeployments: Array<ComponentDeployment>; /** * Live per-workspace counts for ComradeCircle's workspace slot quotas * (circles.count, channels.per_workspace) across every workspace. Service * actors only (wspace-activity-svc count reconciler); any other caller gets * FORBIDDEN. */ comradecircleCountMetrics: Array<ComQuotaCountMetric>; /** Get specific configuration by key */ configuration?: Maybe<Configuration>; configurationItems: Array<ConfigurationItem>; /** Get configuration value */ configurationValue?: Maybe<Scalars['JSON']['output']>; /** Get configurations in a scope */ configurations: ConfigurationList; /** Get all configurations for a scope instance */ configurationsByScope: ConfigurationList; /** * Connections of the caller's workspace (x-workspace-id) that expire, or already * need re-authorising, within withinDays (1-90, default 14), soonest first. * Internal: FluidGrids' weekly automation digest reads it through the internal * gateway (BOFF-3698). Service actors only; returns metadata, never a token. */ connectionsExpiringSoon: Array<ExpiringConnection>; /** * Of connectionIds (at most 200), the live connections in the caller's workspace that principalId * cannot use: RESTRICTED and not shared with them. Unknown and deleted ids are not listed; they fail * when a run asks for them. Service-only; wspace-workflow-svc checks a workflow's connections against * its owner before saving it (BOFF-9726). */ connectionsNotUsableBy: Array<Scalars['ID']['output']>; /** Pending and overdue counts for the review queue. Platform reviewers only. */ connectorSubmissionReviewStats: ConnectorSubmissionReviewStats; /** Review queue: every submission, oldest pending first. Platform reviewers only. */ connectorSubmissions: ConnectorSubmissionList; /** Whether continuous optimisation is on for this workspace, and the system workflows it seeded. */ continuousOptimisationSettings: ContinuousOptimisationSettings; conversation?: Maybe<Conversation>; conversationCapabilities: ConversationFeatures; /** The active (or most recent) handoff for one conversation thread, for the UI banner. */ conversationHandoff?: Maybe<BotmanorConversationHandoff>; conversations: ConversationConnection; /** At most 100 card IDs; private or missing items are omitted and currencies are never converted. */ cooBestPrices: Array<CooBestPriceSummary>; cooBrand?: Maybe<CooBrand>; /** * One paid order as the brand sees it. Returns null when the order holds none of the brand's * pieces. */ cooBrandOrder?: Maybe<CooBrandOrder>; /** Order counts per fulfilment state for the brand. */ cooBrandOrderSummary: CooBrandOrderSummary; /** * The paid (including partly or fully refunded) orders that contain the brand's pieces, newest * first, optionally filtered by the brand's fulfilment state. */ cooBrandOrders: CooBrandOrderConnection; /** The brand's return requests, newest first, optionally filtered by status. */ cooBrandReturnRequests: CooReturnRequestConnection; cooCollaboration?: Maybe<CooCollaboration>; cooCollection?: Maybe<CooCollection>; /** Approved, fresh, in-stock offers ordered by actual integer price, without currency conversion. */ cooComparePrices: Array<CooComparedRetailerOffer>; cooCreatorRateCard?: Maybe<CooCreatorRateCard>; cooEditorialFeatureOptions: CooEditorialFeatureConnection; /** Liveness/identity probe for the Coolandlovely subgraph. */ cooHealth: Scalars['String']['output']; /** Whether the calling actor currently follows the given user. */ cooIsFollowing: Scalars['Boolean']['output']; cooListBrands: CooBrandConnection; cooListCollaborations: CooCollaborationConnection; cooListCollections: CooCollectionConnection; /** Workspace-wide legal-acceptance audit trail, for compliance review. */ cooListLegalAcceptances: CooLegalAcceptanceConnection; cooListLookbooks: CooLookbookConnection; cooListLooks: CooLookConnection; cooListStyleItems: CooStyleItemConnection; cooListWardrobeItems: CooWardrobeItemConnection; cooLook?: Maybe<CooLook>; cooLookbook?: Maybe<CooLookbook>; /** Author-owned article, with a primary owner-filtered lookup. */ cooMyArticle?: Maybe<CooEditorialArticle>; /** Author-owned drafts and published articles in the active workspace. */ cooMyArticles: CooEditorialArticleConnection; /** The calling shopper's cart in this workspace. */ cooMyCart: CooCart; /** * The calling creator's collaboration fees, newest first: fees awaiting the brand's payment and * fees already paid into their earnings. */ cooMyCollaborationPayouts: CooCollaborationPayoutConnection; /** * The authenticated creator's analytics. Monetary statistics use only the requested * three-letter currency; currencies are never combined or converted. */ cooMyCreatorAnalytics: CooCreatorAnalytics; /** The calling creator's look commissions, newest first. */ cooMyCreatorEarnings: CooCreatorEarningConnection; /** The calling creator's commission balance, from global-billing's earnings ledger. */ cooMyCreatorEarningsSummary: CooCreatorEarningsSummary; cooMyCreatorRateCards: CooCreatorRateCardConnection; /** Style profiles of the people who follow the calling actor. */ cooMyFollowers: CooStyleProfileConnection; /** Style profiles of the people the calling actor follows. */ cooMyFollowing: CooStyleProfileConnection; /** * Legal-acceptance checkpoints recorded by the CALLING actor. Self-scoped * (Type C): the ctx.actorId filter IS the access control, no identity arg. * Used by the app shell to decide whether to show the acceptance gate before * letting the actor into core flows. */ cooMyLegalAcceptances: CooLegalAcceptanceConnection; /** One of the calling shopper's orders. Returns null for an order the caller did not place. */ cooMyOrder?: Maybe<CooOrder>; /** The calling shopper's orders, newest first. */ cooMyOrders: CooOrderConnection; cooMyPriceAlertDeliveries: CooPriceAlertDeliveryConnection; cooMyPriceAlerts: CooPriceAlertConnection; /** Only brands created by the caller can be used to send a rate-card proposal. */ cooMyProposalBrands: CooBrandConnection; cooMyProposalInbox: CooCollaborationConnection; /** The caller's exact create-request result, including its later archived state; NOT_FOUND never acknowledges withdrawal. */ cooMyResaleListingByRequest: CooResaleListing; cooMyResaleListings: CooResaleListingConnection; cooMyResaleReports: CooResaleMyReportConnection; cooMyResaleShop?: Maybe<CooResaleShop>; cooMyRetailerFeeds: CooRetailerFeedConnection; /** The calling shopper's own style profile (workspace-scoped, self). */ cooMyStyleProfile?: Maybe<CooStyleProfile>; cooMyTrendReports: CooTrendReportConnection; cooPriceHistory: Array<CooObservedPriceDay>; cooPublishedArticle?: Maybe<CooEditorialArticle>; /** Explicitly published articles only. Workspace is a public publisher selector. */ cooPublishedArticles: CooEditorialArticleConnection; cooPublishedCreatorRateCards: CooCreatorRateCardConnection; cooPublishedTrendReport?: Maybe<CooTrendReport>; cooPublishedTrendReports: CooTrendReportConnection; cooResaleListing: CooResalePublicListing; cooResaleListingForReview: CooResaleListingReview; cooResaleListingReviewQueue: CooResaleListingReviewConnection; /** Only published approved listings from approved sellers accepting the current policy are public. */ cooResaleListings: CooResalePublicListingConnection; cooResaleReportQueue: CooResaleModerationReportConnection; cooResaleShopReviewQueue: CooResaleShopReviewConnection; cooSearchLooks: CooLookConnection; cooSearchRetailerOffers: Array<CooComparedRetailerOffer>; cooSearchStyleItems: CooStyleItemConnection; /** * Only the exact gateway-authenticated global-billing-svc service can read this * projection. The order is scoped to the gateway workspace and must still be * pending, with its original buyer/audit binding. Store purchases are refused * because their native context records merchant organization rather than buyer * organization. Billing must compare any returned native Billing link with its * own authoritative order; the external key is a distinct value. * No buyer or workspace override is accepted from the query arguments. */ cooServicePendingCheckoutAuthority?: Maybe<CooPendingCheckoutAuthority>; /** * A piece listed in the Burdenoff store, readable from any workspace. Null unless the piece is on * sale in a published brand storefront right now (drafts, retired pieces and pieces of unpublished * brands read as null). */ cooStoreListedPiece?: Maybe<CooStoreListedPiece>; cooStyleItem?: Maybe<CooStyleItem>; /** * A style profile by its own id, honoring CooVisibility (PRIVATE never leaks; * FOLLOWERS requires a follow edge to the owner; PUBLIC is open to any * workspace member). The owner always sees their own profile. Returns null * when the profile does not exist or is not visible to the caller. Powers the * public profile page reached from an author's name/avatar on a Look/Discover * card. */ cooStyleProfile?: Maybe<CooStyleProfile>; /** * Same visibility gate as cooStyleProfile, looked up by the profile owner's * actor id rather than the profile's own id. */ cooStyleProfileByOwner?: Maybe<CooStyleProfile>; /** * One analysis by id, independent of list paging and filters, so a deep link * (e.g. the command palette's Recent entry) can always reopen it. Null when the * analysis does not exist in this workspace or was archived. */ cosAnalysis?: Maybe<CosAnalysis>; /** Missions currently exposed by the MAST archive connector. */ cosArchiveMissions: Array<CosArchiveMission>; cosCollection?: Maybe<CosCollection>; cosDataset?: Maybe<CosDataset>; /** Tags currently assigned to a CosmicIntersection entity */ cosEntityTags: Array<CosTagAssignment>; /** * Live reachability + credential-configuration status for the DataCite and * Zenodo integrations. Never fails — a probe failure is a reported `false`. */ cosExternalRegistryHealth: CosExternalRegistryHealth; /** Liveness/identity probe for the Cosmicintersection subgraph. */ cosHealth: Scalars['String']['output']; cosListAccessGrants: Array<CosDataAccessGrant>; cosListAnalyses: Array<CosAnalysis>; /** List the file products of one MAST observation (by product group id from `cosSearchArchive`). */ cosListArchiveProducts: Array<CosArchiveProduct>; cosListCollections: Array<CosCollection>; /** * List datasets in the workspace with faceted discovery filters. `q` is a * case-insensitive substring match over name + description; `accessLevel` and * `format` narrow the result set. All filters AND together and never widen the * workspace / soft-delete guard. */ cosListDatasets: CosDatasetConnection; cosListDoiRecords: Array<CosDoiRecord>; /** Only the calling actor's external executions in this workspace/run. */ cosListExternalCompute: CosExternalComputeConnection; cosListNotebooks: CosNotebookConnection; cosListPipelines: CosPipelineConnection; cosListReleases: CosReleaseConnection; cosListRunSteps: Array<CosPipelineStep>; cosListRuns: CosPipelineRunConnection; cosListSchemaFields: Array<CosSchemaField>; cosListSources: CosSourceConnection; cosListZenodoMirrors: Array<CosZenodoMirror>; cosNotebook?: Maybe<CosNotebook>; cosPipeline?: Maybe<CosPipeline>; /** * One release by id, independent of list paging and filters, so a deep link * (e.g. the command palette's Recent entry) can always reopen it. Null when the * release does not exist in this workspace or was archived. */ cosRelease?: Maybe<CosRelease>; cosRun?: Maybe<CosPipelineRun>; /** * Mission-specific search across MAST-hosted archives (Hubble, JWST, TESS, Kepler, * Pan-STARRS, ...). Provide a target name or explicit coordinates plus optional * mission and column filters; returns ranked CAOM observations with preview and * data links. At least one of targetName, ra+dec, missions or filters is required. */ cosSearchArchive: CosArchiveSearchResults; /** * Natural-language search across the catalog: datasets (name, description, * coverage, instrument metadata), schema fields (name, unit, provenance note), * sources, collections, analyses, releases and notebooks. Returns ranked hits * with the evidence that matched and, for datasets, the lineage that produced * them. Embargoed / restricted datasets never appear without an active grant. */ cosSemanticSearch: CosSearchResults; cosSource?: Maybe<CosSource>; courseAssistantCandidates: Array<CourseAssistantCandidate>; courseAssistantConfiguration: CourseAssistantConfiguration; courseAssistantIngestionProgress?: Maybe<CourseAssistantIngestionProgress>; courseKnowledgeImport: CourseKnowledgeImportReceipt; crewAiDecision?: Maybe<CrewAiDecision>; /** Newest first. */ crewAiDecisions: Array<CrewAiDecision>; crewAnnouncement?: Maybe<CrewAnnouncement>; crewAttritionForecast: CrewAttritionForecast; crewAttritionRisks: Array<CrewAttritionRisk>; crewAvailableEmployees: Array<CrewEmployee>; crewBooking?: Maybe<CrewBooking>; crewBookings: Array<CrewBooking>; crewCandidate?: Maybe<CrewCandidate>; crewCandidates: Array<CrewCandidate>; crewClient?: Maybe<CrewClient>; crewCostProjection: Array<CrewCostProjection>; crewDepartment?: Maybe<CrewDepartment>; crewDispatch?: Maybe<CrewDispatch>; crewDispatches: Array<CrewDispatch>; crewEmployee?: Maybe<CrewEmployee>; crewEmployeeAllocation: CrewEmployeeAllocation; crewEmployees: Array<CrewEmployee>; /** Employees who can do a skill: exact holders plus holders of skills that imply or supersede it. */ crewEmployeesBySkill: Array<CrewSkillHolderMatch>; crewEnrollment?: Maybe<CrewEnrollment>; crewEnrollments: Array<CrewEnrollment>; crewEscrowRecord?: Maybe<CrewEscrowRecord>; crewEscrowRecords: Array<CrewEscrowRecord>; crewExecutiveDashboard: CrewExecutiveDashboard; /** Field-operations limits (retention window, offline sync age). Holds no caller data. */ crewFieldOpsPolicy: CrewFieldOpsPolicy; crewHeadcountForecast: CrewHeadcountForecast; crewHeadcountGap: Array<CrewHeadcountGap>; crewInterview?: Maybe<CrewInterview>; crewInterviews: Array<CrewInterview>; crewJobPosting?: Maybe<CrewJobPosting>; /** * Ranked candidate matches for a job posting (BOFF-4195), highest score first. * RBAC-scoped via `jobPostingId` to the posting's own workspace (its * employer) — the resolver returns an empty list (never another workspace's * data) when the posting does not belong to the caller's workspace. */ crewJobPostingMatches: Array<CrewCandidateMatch>; crewLeaveRequest?: Maybe<CrewLeaveRequest>; crewLeaveRequests: Array<CrewLeaveRequest>; crewOnboarding?: Maybe<CrewOnboarding>; crewOnboardings: Array<CrewOnboarding>; crewOpenShift?: Maybe<CrewOpenShift>; crewOpenShifts: Array<CrewOpenShift>; crewPayrollRecord?: Maybe<CrewPayrollRecord>; crewPayrollRecords: Array<CrewPayrollRecord>; crewPayrollRun?: Maybe<CrewPayrollRun>; crewPayrollRuns: Array<CrewPayrollRun>; crewPayslip?: Maybe<CrewPayslip>; crewPayslips: Array<CrewPayslip>; crewPerformanceRollup?: Maybe<CrewPerformanceRollup>; crewProject?: Maybe<CrewProject>; crewProjects: Array<CrewProject>; crewServiceListing?: Maybe<CrewServiceListing>; crewServiceListings: Array<CrewServiceListing>; crewShift?: Maybe<CrewShift>; crewShiftPattern?: Maybe<CrewShiftPattern>; crewShiftPatterns: Array<CrewShiftPattern>; crewShiftSwapRequests: Array<CrewShiftSwapRequest>; crewShifts: Array<CrewShift>; /** Active QR check-in codes (managers only: reading a code lets anyone check in with it). */ crewSiteCheckInCodes: Array<CrewSiteCheckInCode>; crewSkill?: Maybe<CrewSkill>; /** Category keys accepted by createCrewSkill / updateCrewSkill. */ crewSkillCategories: Array<Scalars['String']['output']>; /** Implied, implied-by and related skills around a skill, up to `depth` hops (max 4). */ crewSkillGraph?: Maybe<CrewSkillGraph>; /** Workspace skills taxonomy. Seeds the starter taxonomy on first use. */ crewSkills: Array<CrewSkill>; crewSkillsGap: Array<CrewSkillsGap>; crewTeam?: Maybe<CrewTeam>; crewTimeEntries: Array<CrewTimeEntry>; crewTimeEntry?: Maybe<CrewTimeEntry>; /** * Manager-facing completion dashboard (BOFF-4201): one row per course with * not-started/in-progress/completed counts and a completion rate, optionally * scoped to a single manager's direct reports via `filter.managerId`. */ crewTrainingCompletionDashboard: Array<CrewTrainingCourseCompletion>; crewTrainingCourse?: Maybe<CrewTrainingCourse>; crewTrainingCourses: Array<CrewTrainingCourse>; crewVendor?: Maybe<CrewVendor>; /** The workspace watch configuration, null until a workspace admin enables it. */ crewWatchConfig?: Maybe<CrewWatchConfig>; /** Watch findings, newest first. Managers track OPEN; auditors read RESOLVED. */ crewWatchFindings: Array<CrewWatchFinding>; crewfoundryBootstrap: CrewfoundryBootstrap; /** * Live per-workspace counts for CrewFoundry's count-style quotas (profiles, * departments, projects, job postings, candidates, employee documents, * onboarding workflows, authored courses, service listings) across every * workspace. Service actors only (wspace-activity-svc count reconciler); any * other caller gets FORBIDDEN. */ crewfoundryCountMetrics: Array<CrewfoundryQuotaCountMetric>; /** * Public health probe endpoint for CrewFoundry. * * Owned by wspace-crewfoundry-svc and exposed without authentication so that * black-box monitors (Gatus) can verify the full gateway -> subgraph * delegation path is alive. A locally-answered `/health` or `__typename` * probe cannot see a jammed subgraph; this field forces real delegation. */ crewfoundryHealth: Scalars['String']['output']; customNodes: NodesPaginatedResponse; customer?: Maybe<MtwCustomer>; customerStats: MtwCustomerStats; customers: Array<MtwCustomer>; customersCount: Scalars['Int']['output']; dashboard?: Maybe<AnalyticsDashboard>; dashboardMetrics: MtwDashboardMetrics; dashboardOverview: DashboardOverview; /** Active viewer roster for a dashboard the caller can read */ dashboardPresence: BigConsoleDashboardPresence; dashboardSummary: DashboardSummary; dashboards: Array<AnalyticsDashboard>; dataSinkAlertChannels: Array<DataSinkAlertConfiguredChannel>; dataSinkAlertExecutions: Array<DataSinkAlertExecution>; dataTable?: Maybe<DataTable>; dataTableRows: DataTableRowsResponse; /** * List the workspace's data tables. `tagIds` keeps only tables carrying those * wspace-tags-svc tags (FLUIDGRIDS_DATA_TABLE assignments): any of them by * default, every one with `tagMatchAll: true`. Empty or omitted is no tag filter. */ dataTables: DataTableListResponse; deadLetterQueueEntries: DeadLetterQueueConnection; deadLetterQueueEntry?: Maybe<DeadLetterQueue>; decryptSecret?: Maybe<DecryptedSecret>; defaultVibeDeck?: Maybe<VibeDeck>; deliveryJob?: Maybe<MtwDeliveryJob>; deliveryJobStats: MtwDeliveryJobStats; deliveryJobTracking: Array<MtwTrackingEvent>; deliveryJobs: Array<MtwDeliveryJob>; deliveryJobsCount: Scalars['Int']['output']; demandForecastByCustomer: Array<MtwDemandForecastPoint>; demandForecastByLane: Array<MtwDemandForecastPoint>; /** Model choice and back-test errors per lane or customer, most history first. `limit` caps lanes / customers (1-200). */ demandForecastModelChoices: Array<MtwDemandForecastModelChoice>; /** Null until the workspace's forecast has been calculated once. */ demandForecastRunStatus?: Maybe<MtwDemandForecastRunStatus>; demandForecastVariance: Array<MtwDemandForecastVariance>; /** Compare what-if scenarios on the lane forecast side by side, each against fleet capacity. */ demandScenarioComparison: MtwDemandScenarioComparison; /** Check the health status of all system dependencies */ dependenciesHealth: HealthCheckResponse; /** * Get detailed node-level execution statistics * Provides per-node-type breakdown with success rates and duration metrics */ detailedNodeUsage: Array<DetailedNodeUsage>; /** Detect anomalies in a numeric series using the chosen method. */ detectAnomalies: BigConsoleAnomalyReport; /** Detect anomalies over a numeric series in a sink payload. Read-only; field masking applies. */ detectDataSinkAnomalies: BigConsoleDataSinkAnomalyResult; digitalTwins: Array<DigitalTwin>; discoveryJobs: Array<DiscoveryJob>; docsBuildImage?: Maybe<VibecontrolsDocsBuildImage>; docsBuildImages: VibecontrolsDocsBuildImageList; /** * Get rendered docs HTML content for a specific file path. * Used by the frontend to render docs in an iframe via srcdoc. */ docsContent?: Maybe<VibecontrolsDocsContentPayload>; /** Get a single docs page by ID */ docsPage?: Maybe<VibecontrolsDocsPage>; /** List pages for a docs site */ docsPages: Array<VibecontrolsDocsPage>; /** Get a docs revision by ID */ docsRevision?: Maybe<VibecontrolsDocsRevision>; /** List revisions for a docs site */ docsRevisions: VibecontrolsDocsRevisionList; /** Get docs site by vibe ID (backward-compatible) */ docsSite?: Maybe<VibecontrolsDocsSite>; /** List all docs sites in workspace */ docsSites: VibecontrolsDocsSiteList; /** Download artifact content */ downloadArtifact: Scalars['String']['output']; draft?: Maybe<DraftMessage>; driver?: Maybe<MtwDriver>; drivers: Array<MtwDriver>; driversCount: Scalars['Int']['output']; /** Replay the outbound actions of recent runs against the policies with a draft applied. */ dryRunActionPolicy: ActionPolicyDryRunResult; /** * What needs servicing — the question the farm could not previously ask. * * Soonest first, overdue at the top. `withinDays` widens the horizon so upcoming * work can be planned; it defaults to 0, meaning due right now. */ dueMaintenancePlans: Array<DueMaintenancePlan>; /** * eDiscovery: cross-field search over the immutable ActivityLog stream for * legal/regulatory/compliance-officer use. */ eDiscoverySearch: EDiscoverySearchResult; ecoAiAuditLog?: Maybe<EcoAiAuditLog>; ecoAiAuditLogs: EcoAiAuditLogConnection; /** * Reads the calling workspace (from the workspace token). The workspaceId * argument is deprecated and optional; a value naming another workspace is * rejected with NOT_FOUND. */ ecoAiCheckAnomalousSpend: Scalars['Boolean']['output']; /** * Reads the calling workspace (from the workspace token). The workspaceId * argument is deprecated and optional; a value naming another workspace is * rejected with NOT_FOUND. */ ecoAiCreditUsage: EcoAiCreditUsage; /** * Detect anomalies (spikes, drops, stuck-sensor flatlines) in one parameter's * readings at a site over a period. Every anomaly cites the measurement ids * behind it; fewer than 12 readings returns INSUFFICIENT_DATA. */ ecoAiDetectAnomalies: EcoAnomalyDetectionResult; ecoAudit?: Maybe<EcoAudit>; /** * Total CO2e (kg) recorded in the workspace, optionally narrowed by scope or site. * Unaccepted AI drafts (status DRAFT) are excluded until a reviewer accepts them. */ ecoCarbonTotalKg: Scalars['Float']['output']; ecoCorrectiveAction?: Maybe<EcoCorrectiveAction>; /** Portfolio rollup across all methodologies, vintages and credits of the workspace. */ ecoCreditPortfolioSummary: EcoCreditPortfolioSummary; ecoDataSource?: Maybe<EcoDataSource>; ecoDeadline?: Maybe<EcoDeadline>; /** * Donor-facing read-only portal. `public: true` — the donor holds no workspace * session; the unguessable link secret IS the authorization. The resolver * resolves the secret to exactly one grant and scopes every returned field to * it. An invalid, revoked, or unknown token is NOT_FOUND. */ ecoDonorPortal: EcoDonorPortalView; ecoEhsPermit?: Maybe<EcoEhsPermit>; ecoEnergyAsset?: Maybe<EcoEnergyAsset>; /** * Energy mix (grid vs on-site generation, renewable share) and avoided * emissions against the grid baseline for the period. Readings are bucketed * by their asset's kind over [periodStart, periodEnd]. */ ecoEnergyMixDashboard: EcoEnergyMixDashboard; ecoGrant?: Maybe<EcoGrant>; ecoGrantFunder?: Maybe<EcoGrantFunder>; ecoGrantMilestone?: Maybe<EcoGrantMilestone>; ecoHabitatProject?: Maybe<EcoHabitatProject>; /** Liveness/identity probe for the EcoImpactHub subgraph. */ ecoHealth: Scalars['String']['output']; ecoIncident?: Maybe<EcoIncident>; ecoIngestionJob?: Maybe<EcoIngestionJob>; ecoListAudits: EcoAuditConnection; ecoListCarbonCredits: EcoCarbonCreditConnection; ecoListCarbonEntries: EcoCarbonEntryConnection; ecoListCorrectiveActions: EcoCorrectiveActionConnection; ecoListCreditMethodologies: EcoCreditMethodologyConnection; /** The workspace retirement ledger, newest first. Optionally narrowed to one credit. */ ecoListCreditRetirements: EcoCreditRetirementConnection; ecoListCreditVintages: EcoCreditVintageConnection; ecoListDataSources: EcoDataSourceConnection; /** * Deadlines due inside a window — the calendar view passes the visible * month/week range via dueFrom/dueTo. Pass openOnly=true to hide completed * and canceled deadlines. */ ecoListDeadlines: EcoDeadlineConnection; ecoListEhsPermits: EcoEhsPermitConnection; ecoListEmissionFactors: EcoEmissionFactorConnection; ecoListEnergyAssets: EcoEnergyAssetConnection; /** The grid baselines of the workspace, most recently valid first. */ ecoListEnergyGridBaselines: EcoEnergyGridBaselineConnection; ecoListEnergyReadings: EcoEnergyReadingConnection; ecoListGrantFunders: EcoGrantFunderConnection; ecoListGrantMilestones: EcoGrantMilestoneConnection; ecoListGrants: EcoGrantConnection; ecoListHabitatProjects: EcoHabitatProjectConnection; ecoListIncidents: EcoIncidentConnection; ecoListIngestionJobs: EcoIngestionJobConnection; ecoListIngestionRecords: EcoIngestionRecordConnection; /** Flow quantities per loop stage for one material loop, newest period first. */ ecoListMaterialLoopFlows: EcoMaterialLoopFlowConnection; ecoListMaterialLoops: EcoMaterialLoopConnection; ecoListMeasurements: EcoMeasurementConnection; /** * Cross-product rollup over the metrics library: values grouped by * metricKey/category/unit/period across all source products, so a figure * contributed by several products shows one reconciled total with provenance. * Accepts the same filters as `ecoListMetrics`. */ ecoListMetricRollups: Array<EcoMetricRollup>; ecoListMetrics: EcoMetricConnection; ecoListObligations: EcoComplianceObligationConnection; /** * General-access observation list. Observations of ENDANGERED/CRITICALLY_ * ENDANGERED species (Level-5 Confidential per the product SOP) are * included, but their latitude/longitude are generalized to ~1 km — never * null, never denied, just coarsened — so this remains a usable list for * every workspace member without exposing exact sighting coordinates. For * precise coordinates, use `ecoListRestrictedObservations` (a separately- * permissioned elevated query). */ ecoListObservations: EcoObservationConnection; ecoListPermits: EcoPermitConnection; ecoListReductionTargets: EcoReductionTargetConnection; ecoListReports: EcoReportConnection; /** * Elevated read: precise (unmasked) coordinates for observations of * ENDANGERED/CRITICALLY_ENDANGERED species only — BOFF-4940, gated by the * separate `ecoimpacthub-observation-restricted` permission — holding the * base `ecoimpacthub-observation` permission is not sufficient. An * observation of a non-sensitive species is not returned here — use * `ecoListObservations` for those. */ ecoListRestrictedObservations: EcoObservationConnection; /** * Elevated read: precise (unmasked) coordinates for priority sites only — * BOFF-4940, gated by the separate `ecoimpacthub-site-restricted` permission — * holding the base `ecoimpacthub-site` permission is not sufficient. Returns * only sites flagged `isPriority: true`; a non-priority site is not returned * here — use `ecoListSites` for those. */ ecoListRestrictedSites: EcoSiteConnection; ecoListRisks: EcoRiskConnection; ecoListSensors: EcoSensorConnection; /** * General-access site list. Priority sites (protected/priority conservation * sites — Level-5 Confidential per the product SOP) are included, but their * latitude/longitude are generalized to ~1 km — never null, never denied, just * coarsened — so this remains a usable list for every workspace member without * exposing exact coordinates. For precise coordinates on priority sites, use * `ecoListRestrictedSites` (a separately-permissioned elevated query). */ ecoListSites: EcoSiteConnection; ecoListSpecies: EcoSpeciesConnection; ecoListThresholds: EcoAlertThresholdConnection; /** Waste records (quantities per disposal route), newest period first. */ ecoListWasteRecords: EcoWasteRecordConnection; /** * Waste streams recorded for the workspace, optionally narrowed to a site or * active streams only. */ ecoListWasteStreams: EcoWasteStreamConnection; /** * Aggregated input / use / recovery / reuse quantities and the circularity * rate (reuse / input) for one material loop. */ ecoMaterialLoopSummary: EcoMaterialLoopSummary; ecoMetric?: Maybe<EcoMetric>; ecoObligation?: Maybe<EcoComplianceObligation>; /** * Same generalization as `ecoListObservations` applies here for sensitive * species (no non-disclosure as an out-of-workspace id). Use * `ecoRestrictedObservation` for the precise coordinate. */ ecoObservation?: Maybe<EcoObservation>; ecoPermit?: Maybe<EcoPermit>; ecoReport?: Maybe<EcoReport>; /** * Elevated read: a single sensitive-species observation with precise * coordinates — null if the observation's species is not ENDANGERED/ * CRITICALLY_ENDANGERED or is absent from this workspace. */ ecoRestrictedObservation?: Maybe<EcoObservation>; /** * Elevated read: a single priority site with precise coordinates — null if the * site is not flagged `isPriority` or is absent from this workspace. */ ecoRestrictedSite?: Maybe<EcoSite>; ecoRisk?: Maybe<EcoRisk>; /** * Same generalization as `ecoListSites` applies here for priority sites (no * non-disclosure as an out-of-workspace id — the row still returns, just with * a coarsened location). Use `ecoRestrictedSite` for the precise coordinate. */ ecoSite?: Maybe<EcoSite>; ecoSpecies?: Maybe<EcoSpecies>; /** * Diversion-rate tracking: waste quantities bucketed by unit and split by * disposal route (recycled / composted / recovered / reused vs landfilled), * optionally narrowed to one stream, site or period range. */ ecoWasteDiversionSummary: EcoWasteDiversionSummary; effectiveLicensePosition: EffectiveLicensePosition; /** Get effective permissions for an actor in a workspace */ effectivePermissions: EffectivePermissions; emailTimeEntries: Array<EmailTimeEntry>; emailTimeEntry?: Maybe<EmailTimeEntry>; emailTrackingStats: EmailTrackingStats; emissionsSummary: MtwEmissionsSummary; employeeDocuments: Array<CrewEmployeeDocument>; entityGroups: GroupConnection; /** The environment-topology matrix: every component with its current version per environment. */ envTopology: Array<EnvTopologyRow>; /** * The completed ePOD record for a delivery job — for the shipper/customer to * view or download once capture is complete. Returns null if no capture * exists yet. */ epod?: Maybe<MtwProofOfDelivery>; /** * Error analytics (breakdown by type/workflow/node + a daily trend) for the * Error Analytics screen (BOFF-7519). */ errorAnalytics: ErrorAnalytics; esgMetric?: Maybe<EcoMetric>; /** * Workspace-level ESG metrics delegated to wspace-ecoimpacthub-svc. * Filters to AssetHandler-sourced metrics when no category is supplied so the * page shows the same estate-scoped view it did before the migration. */ esgMetrics: Array<EcoMetric>; event?: Maybe<CalendarEvent>; eventFilters: Array<EventFilter>; eventRegistration?: Maybe<EventRegistration>; eventRegistrations: Array<EventRegistration>; eventSchema?: Maybe<EventSchema>; eventSchemas: Array<EventSchema>; /** The most recent persisted decision of one kind for an event, or null when none has been generated. */ eventfullyManagedAiDecision?: Maybe<EventfullyManagedAiDecisionRecord>; eventfullyManagedAnalyticsSnapshots: EventfullyManagedSimpleEntityList; eventfullyManagedAnnouncements: EventfullyManagedSimpleEntityList; eventfullyManagedAttendeeHistory: Array<EventfullyManagedAttendeeHistoryEntry>; eventfullyManagedAttendees: EventfullyManagedAttendeeList; eventfullyManagedAutomationRuleRuns: EventfullyManagedAutomationRuleRunList; eventfullyManagedAutomationRules: EventfullyManagedSimpleEntityList; /** * Self-contained HTML preview of a registration's badge, rendered on demand * from the registration + attendee + BadgeTemplate (falls back to the * event's default template when `templateId` is omitted). Does not require * the badge to have been generated yet and does not bump the print count — * use `eventfullyManagedBadgePdf` for the actual on-demand print/download. */ eventfullyManagedBadgeHtml: Scalars['String']['output']; /** * Base64-encoded PDF of a registration's badge (`application/pdf` bytes), * rendered on demand — the on-demand print/download endpoint. Auto-generates * the tracking `Badge` row if one does not exist yet (same effect as calling * `eventfullyManagedGenerateBadge` first) and always bumps `printCount` / * `lastPrintedAt`, so every render — kiosk auto-print or a manual reprint — * is reflected in the audit trail. Caller decodes and prints/downloads * client-side. */ eventfullyManagedBadgePdf: Scalars['String']['output']; eventfullyManagedBadgePrintJobs: EventfullyManagedBadgePrintJobList; eventfullyManagedBadgeTemplates: EventfullyManagedBadgeTemplateList; eventfullyManagedCheckInRecords: EventfullyManagedCheckInRecordList; eventfullyManagedCheckInStations: EventfullyManagedSimpleEntityList; eventfullyManagedCheckInThroughput: Array<EventfullyManagedCheckInThroughputPoint>; eventfullyManagedCheckInToken: EventfullyManagedCheckInToken; eventfullyManagedCommunicationCampaigns: EventfullyManagedSimpleEntityList; eventfullyManagedDashboardSummary: EventfullyManagedDashboardSummary; eventfullyManagedEntityTags: Array<EventfullyManagedEntityTagAssignment>; eventfullyManagedEvent?: Maybe<EventfullyManagedEvent>; /** BOFF-5891: per-event revenue, refunds and net revenue, grouped by currency. */ eventfullyManagedEventFinanceSummary: EventfullyManagedEventFinanceBreakdown; eventfullyManagedEventPortfolio: EventfullyManagedEventPortfolio; eventfullyManagedEventSessions: EventfullyManagedEventSessionList; eventfullyManagedEventTemplate?: Maybe<EventfullyManagedEventTemplate>; eventfullyManagedEventTemplates: EventfullyManagedEventTemplateList; eventfullyManagedEvents: EventfullyManagedEventList; eventfullyManagedExhibitor?: Maybe<EventfullyManagedExhibitor>; eventfullyManagedExhibitorSummary: EventfullyManagedExhibitorSummary; eventfullyManagedExhibitors: EventfullyManagedExhibitorList; eventfullyManagedFinanceSummary: EventfullyManagedFinanceSummary; eventfullyManagedFloorPlans: EventfullyManagedFloorPlanList; eventfullyManagedIntegrationConnector?: Maybe<EventfullyManagedIntegrationConnector>; eventfullyManagedIntegrationConnectors: Array<EventfullyManagedIntegrationConnector>; eventfullyManagedIntegrationSyncRuns: Array<EventfullyManagedIntegrationSyncRun>; eventfullyManagedKioskSearchAttendees: Array<EventfullyManagedAttendee>; eventfullyManagedLeads: EventfullyManagedLeadList; /** BOFF-11357: real by-ID lookup, for the Edit Meeting form — eventfullyManagedMeetings only returns a capped, generic projection. */ eventfullyManagedMeeting?: Maybe<EventfullyManagedMeeting>; eventfullyManagedMeetings: EventfullyManagedSimpleEntityList; eventfullyManagedNetworkingMatches: EventfullyManagedNetworkingMatchList; eventfullyManagedNetworkingProfiles: EventfullyManagedNetworkingProfileList; eventfullyManagedPromoCodes: EventfullyManagedPromoCodeList; /** * BOFF-3764 — personalized session recommendations for one attendee at an * event. Deterministic and explainable (see SessionRecommendationService): * ranks upcoming sessions by overlap between the attendee's networking-profile * interests/asks/industry and each session's track, title, description and * speakers, boosted by tracks the attendee has checked into before. Read-only. */ eventfullyManagedRecommendSessions: EventfullyManagedSessionRecommendationList; eventfullyManagedRegistrations: EventfullyManagedRegistrationList; eventfullyManagedSessionConflicts: Array<EventfullyManagedSessionConflict>; eventfullyManagedSessionRegistrations: EventfullyManagedSessionRegistrationList; eventfullyManagedSpeaker?: Maybe<EventfullyManagedSpeaker>; eventfullyManagedSpeakers: EventfullyManagedSpeakerList; eventfullyManagedSponsor?: Maybe<EventfullyManagedSponsor>; /** BOFF-5891: sponsor contract value vs leads captured, per sponsor and grouped by currency. */ eventfullyManagedSponsorRoiReport: EventfullyManagedSponsorRoiReport; eventfullyManagedSponsors: EventfullyManagedSponsorList; /** BOFF-11362: real totals over every matching sponsor, not just the current page. */ eventfullyManagedSponsorsPortfolioTotals: EventfullyManagedSponsorsPortfolioTotals; /** * Top-N deterministic matches for one attendee's networking profile at an * event (interest/lookingFor overlap scoring — see NetworkingMatchingService). * Computes fresh against every other opted-in (non-private) profile at the * event and persists the results as EventfullyManagedNetworkingMatch rows, so * they are bookable into a Meeting and visible in the organizer's match list. * Returns an empty list if the attendee has no profile, has opted out * (visibility "private"), or no other opted-in profiles exist yet. */ eventfullyManagedSuggestedConnections: EventfullyManagedNetworkingMatchList; eventfullyManagedTicketTypes: EventfullyManagedTicketTypeList; eventfullyManagedVenue?: Maybe<EventfullyManagedVenue>; eventfullyManagedVenues: EventfullyManagedVenueList; /** * The current ACTIVE virtual session for an event, or null if none is live. * Optionally scoped to a specific event session (for hybrid multi-track * events where different tracks stream independently). */ eventfullyManagedVirtualSession?: Maybe<EventfullyManagedVirtualSession>; /** List virtual sessions for an event (live + ended), most recent first. */ eventfullyManagedVirtualSessions: Array<EventfullyManagedVirtualSession>; eventfullyManagedWorkflowTemplates: EventfullyManagedSimpleEntityList; eventfullymanagedCountMetrics: Array<EventfullyManagedQuotaCountMetric>; events: EventConnection; eventsInRange: Array<CalendarEvent>; executeDashboardQueries: Array<WidgetQueryResult>; executeWidgetQuery: WidgetQueryResult; expandRecurrence: Array<CalendarEvent>; expense?: Maybe<ExpenseEntry>; expenseCategories: Array<Scalars['String']['output']>; expenseStats: ExpenseStats; expenses: Array<ExpenseEntry>; /** Explain a whole dashboard: one narrative spanning every widget's bound sinks. */ explainDashboard: BigConsoleNarrative; /** * Explain why a run failed: the failing node, the cause, evidence log lines * and suggested fixes. Read-only; no model call. */ explainRun: WorkflowRunExplanation; /** * Explain one widget: assemble its bound DataSink rows + recent history, * produce a grounded summary in which every factual claim carries a citation * to the sink/parser/widget (and field) that supports it. * * The narrative is persisted (one AgentRun-equivalent ledger row per run) and * metered against bigconsole.ai.credits. */ explainWidget: BigConsoleNarrative; /** * Pull-based SIEM export: returns formatted (CEF/LEEF/JSON) lines for the * given date range. For push-based delivery, register a SiemDestination * instead. */ exportActivityLogsSiem: Array<Scalars['String']['output']>; /** * Export a calendar to a single iCal (.ics, RFC 5545) document. Returns the * raw ICS payload as a string; the gateway / REST shim is responsible for * Content-Disposition handling when serving as a file download. */ exportCalendarToIcs: Scalars['String']['output']; /** Export a dashboard as JSON string */ exportDashboard: Scalars['String']['output']; /** Export comments for an entity. */ exportEntityComments: Scalars['String']['output']; /** Export a single calendar event to an iCal (.ics, RFC 5545) document. */ exportEventToIcs: Scalars['String']['output']; /** * Export every active secret in a vault as a passphrase-encrypted blob. The * passphrase must be at least 8 characters and is used as the only key * needed to decrypt the returned payload — it is never persisted server-side. */ exportSecrets: SecretExportResult; /** * Export a workflow version. JSON (the default) returns the portable document exactly as before; * TYPESCRIPT and PYTHON return a tier-1 module with a fidelity report and need the * `fluidgrids.code-first` feature. Literal secrets are always masked. */ exportWorkflow: WorkflowExport; /** The providers the caller can reference in connection fields: those in vaults they can view (BOFF-9741). */ externalSecretProviders: Array<ExternalSecretProvider>; /** Pre-login preview of a file/folder share invite by token. */ fileShareGrantByToken?: Maybe<ShareGrantPreview>; /** File/folder grants where the current user is the accepted grantee. */ fileSharesSharedWithMe: ShareGrantList; /** * Returns ground-truth per-workspace counts for all count-based file quotas * (storage_bytes, folders). Values come directly from DB aggregates so they * are always accurate — including after file/folder deletions. * * Used exclusively by wspace-activity-svc count reconciler to keep * WorkspaceQuotaAssignment.used in sync with actual state. */ filesCountMetrics: Array<WorkspaceCountMetric>; financeMetrics: MtwFinanceMetrics; financialSummary: AssetHandlerFinancialSummary; /** Find shortest path between two nodes */ findShortestPath?: Maybe<GraphPath>; findSynonyms: Array<UniversalTag>; /** Fleet-wide AI spend in [from, to) for platform administrators only. */ fleetAiSpend: FleetAiSpend; fleetAlerts: Array<MtwFleetAlert>; /** * Fleet-wide operational snapshot: active runs per workspace, queue depth, durable worker * leases, failures by error type and the busiest node types over the last `windowHours` * (1-168, default 24). */ fleetOperations: FleetOperationsSummary; fleetStats: MtwFleetStats; /** Tags currently assigned to a FluidGrids entity */ fluidgridsEntityTags: Array<FluidgridsTagAssignment>; focusScore?: Maybe<FocusScore>; focusScoreSummary: FocusScoreSummary; focusScoreTrend: Array<FocusScoreTrend>; focusScores: Array<FocusScore>; funnel?: Maybe<Funnel>; funnels: Array<Funnel>; /** Get generated artifacts */ generatedArtifacts: GeneratedArtifactList; geofence?: Maybe<Geofence>; geofenceEvents: Array<GeofenceEvent>; geofences: GeofenceListResponse; getA2AConnection?: Maybe<A2AConnection>; getA2AMessage?: Maybe<A2AMessage>; getA2ARegistryEntry?: Maybe<A2ARegistryEntry>; getActiveSandboxes: Array<Sandbox>; /** Get activity logs with filtering and pagination */ getActivities: Array<ActivityLog>; getAgentStats?: Maybe<AgentStats>; /** Get logs for a task executed on an agent */ getAgentTaskLogs?: Maybe<AgentTaskExecution>; /** Get the result of a task executed on an agent */ getAgentTaskResult?: Maybe<AgentTaskExecution>; getAgentTemplate?: Maybe<AgentTemplate>; getAgentVersion?: Maybe<AgentVersion>; getAnalyticsDashboardTags: Array<AnalyticsDashboardTagAssignment>; getAnalyticsMetricTags: Array<AnalyticsMetricTagAssignment>; getAnalyticsReportTags: Array<AnalyticsReportTagAssignment>; getAppAgent?: Maybe<AppAgent>; getAppTemplate?: Maybe<AppTemplate>; getAssetTags: Array<AssetTagAssignment>; getAssignmentStats: AssignmentStatsResponse; getAvailabilityRules: Array<AvailabilityRule>; getAvailableExportEntities: ExportAvailableEntityConnection; /** Get available renderers with metadata */ getAvailableRenderers: Array<BigConsoleWidgetRendererInfo>; getAvailableSlots: Array<AvailableSlot>; /** Get a batch download by ID */ getBatchDownload?: Maybe<BatchDownload>; /** Get download URL for a ready batch download */ getBatchDownloadUrl: Scalars['String']['output']; /** Get all batch downloads for a workspace */ getBatchDownloads: BatchDownloadList; /** Get multiple presigned URLs for batch upload */ getBatchPartUploadUrls: Array<PresignedPartUrl>; /** * Aggregate one billing account's quota assignment across workspaces. * Only global-billing-svc may call this field. Both scope identifiers are required; * this does not grant access to the ordinary workspace usage APIs. */ getBillingQuotaUsageSummary: Array<UsageSummary>; /** * Get token blacklist statistics. * For monitoring and administrative purposes. */ getBlacklistStatistics: BlacklistStatistics; getBlackoutDates: Array<BlackoutDate>; getBookingPage?: Maybe<BookingPage>; getBookingPageBySlug?: Maybe<BookingPagePublic>; getBookings: Array<Booking>; getBotApp?: Maybe<BotApp>; /** * Exact bot counts by status for the request workspace. Unlike `listBotApps` * this is not capped by pagination, so a dashboard can show real totals. */ getBotAppCounts: BotAppCounts; getBotAppStats?: Maybe<BotAppStats>; getBotAppVersion?: Maybe<BotAppVersion>; /** @deprecated use getBotmanorAgent */ getBotlitAgent?: Maybe<BotlitAgent>; getBotmanorAgent?: Maybe<BotmanorAgent>; getBotmanorAgentApprovalRequest?: Maybe<BotmanorAgentApprovalRequest>; /** * Exact agent counts by status for the request workspace. Unlike * `listBotmanorAgents` this is not capped by pagination, so a dashboard can show * real totals. */ getBotmanorAgentCounts: BotmanorAgentCounts; getBotmanorLLMModel?: Maybe<BotmanorLlmModel>; getBotmanorLLMProvider?: Maybe<BotmanorLlmProvider>; getBroaderTags: Array<UniversalTag>; getBucket?: Maybe<Bucket>; getCalendarResource?: Maybe<CalendarResource>; getCalendarResources: Array<CalendarResource>; getChannelConnector?: Maybe<ChannelConnector>; getChannelRoute?: Maybe<ChannelRoute>; /** Get a specific collection by ID */ getCollection?: Maybe<Collection>; /** Get recent collection activity */ getCollectionActivity: Array<CollectionActivity>; /** Get items in a collection */ getCollectionItems: CollectionItemList; /** Get collection statistics */ getCollectionStats: CollectionStats; /** Get collection templates available in workspace */ getCollectionTemplates: CollectionList; /** Get attachment count for a comment */ getCommentAttachmentCount: Scalars['Int']['output']; /** Get file attachments for a comment */ getCommentAttachments: Array<EntityCommentFile>; /** Get total attachment size for a comment */ getCommentAttachmentsTotalSize: Scalars['BigInt']['output']; /** Get tags assigned to a comment */ getCommentTags: Array<CommentTagAssignment>; getConnection?: Maybe<IntegrationConnection>; /** * Find the most recent active connection for a given channel + user + provider combination. * Used by global-channel-svc to check if a user already has a connection for a channel * before initiating a new OAuth flow. */ getConnectionByChannelAndUser?: Maybe<IntegrationConnection>; getConnectionLogs: LogList; getConnectionTags: Array<IntegrationConnectionTagAssignment>; /** * Get decrypted connection token for workflow execution. * This is an internal query used by workflow-svc to resolve credentials at runtime. * Auto-refreshes expired tokens when a refresh token is available. * Workspace ID is required to validate the connection belongs to the requesting workspace. * Resolver enforcement is stricter than generic read RBAC: only service actors * (M2M) may call this query, and the argument workspaceId must match x-workspace-id. * super_admin support access to decrypted credentials is explicitly prohibited. */ getConnectionToken: ConnectionTokenResult; getConnections: ConnectionList; getConnectionsByProvider: ConnectionList; /** Get indexing statistics for a workspace */ getContentIndexStats: ContentIndexStats; /** Get all content indexes for a workspace */ getContentIndexes: FileContentIndexList; /** Get a dashboard by ID */ getDashboard?: Maybe<BigConsoleDashboard>; /** Get one embed policy the caller owns (owner-checked in the resolver). */ getDashboardEmbedPolicy?: Maybe<BigConsoleDashboardEmbedPolicy>; /** Get a dashboard RLS policy by ID. */ getDashboardRlsPolicy?: Maybe<BigConsoleDashboardRlsPolicy>; /** Get a dashboard share by ID */ getDashboardShare?: Maybe<BigConsoleDashboardShare>; /** Get a saved view by ID */ getDashboardView?: Maybe<BigConsoleDashboardView>; /** Get a data sink by ID or key */ getDataSink?: Maybe<DataSink>; /** Get data from a data sink with JQ/JSONata extraction */ getDataSinkData?: Maybe<DataSinkData>; /** Get the default view for a dashboard */ getDefaultDashboardView?: Maybe<BigConsoleDashboardView>; /** * Get the caller's default filter preset for a dashboard in the request * workspace. Returns null when there is none, or when the dashboard does not * exist in the request workspace or the caller may not read it. */ getDefaultFilterPreset?: Maybe<BigConsoleFilterPreset>; getEncryptionKey?: Maybe<EncryptionKey>; getEncryptionKeys: EncryptionKeyList; getEntitiesByTag: EntityList; getEntitiesByTags: EntityList; getEntityAuditTrail: Array<VaultAuditLog>; /** * Get a single comment by ID * @rbac(public: true, scopeType: "wspace") */ getEntityComment?: Maybe<EntityComment>; /** Get edit history for a comment */ getEntityCommentEditHistory: Array<EntityCommentEdit>; /** Get comment statistics for an entity */ getEntityCommentStats: EntityCommentStats; /** Get a comment thread (all replies to a root comment) */ getEntityCommentThread: Array<EntityComment>; /** Get comments for an entity with pagination and filtering */ getEntityComments: EntityCommentConnection; getEntityTagHistory: Array<UniversalTagHistory>; getEntityTags: Array<UniversalTagAssignment>; getEntityTagsByVocabulary: Array<UniversalTagAssignment>; /** Get event log entry */ getEventLog?: Maybe<BigConsoleWidgetEventLog>; /** Get event webhook mapping */ getEventWebhookMapping?: Maybe<BigConsoleWidgetEventWebhookMapping>; getExcludedTags: Array<UniversalTag>; getExecution?: Maybe<Execution>; getExecutionMetrics?: Maybe<ExecutionMetrics>; getExportJob?: Maybe<ExportJob>; getExportPart?: Maybe<ExportPart>; getExportTemplate?: Maybe<ExportTemplate>; getExternalCalendarSyncs: Array<ExternalCalendarSync>; /** Get a single file by ID */ getFile?: Maybe<File>; /** Get collections containing a specific file */ getFileCollections: CollectionList; /** Get content index status for a file */ getFileContentIndex?: Maybe<FileContentIndex>; /** Get file download URL (pre-signed URL) */ getFileDownloadUrl: Scalars['String']['output']; /** Get a file lock by ID */ getFileLock?: Maybe<FileLock>; /** Get active lock for a specific file */ getFileLockForFile?: Maybe<FileLock>; /** Get all locks for a file (including expired) */ getFileLocks: FileLockList; /** Get all metadata for a specific file */ getFileMetadata: Array<FileMetadata>; /** Get all permissions for a file */ getFilePermissions: Array<FilePermission>; getFileTags: Array<FileTagAssignment>; /** Get a specific file version by ID */ getFileVersion?: Maybe<FileVersion>; /** Get download URL for a specific version */ getFileVersionDownloadUrl: Scalars['String']['output']; /** Get all versions for a file with pagination */ getFileVersions: FileVersionList; /** Get files with filtering, sorting, and pagination */ getFiles: FileList; /** Get files in a specific folder */ getFilesInFolder: FileList; /** * Get one of the caller's filter presets by ID. * Returns null when the preset does not exist in the request workspace or * belongs to another profile. Dashboard access is not re-checked: a preset * stays readable by its owner. */ getFilterPreset?: Maybe<BigConsoleFilterPreset>; /** * Get the caller's filter presets for a dashboard in the request workspace. * Returns an empty list when the dashboard does not exist in the request * workspace or the caller may not read it. */ getFilterPresets: Array<BigConsoleFilterPreset>; /** Get a single folder by ID */ getFolder?: Maybe<Folder>; /** Get folder path (breadcrumb) */ getFolderPath: FolderPath; /** Get all permissions for a folder */ getFolderPermissions: Array<FolderPermission>; getFolderTags: Array<FolderTagAssignment>; /** Get folder tree structure (hierarchical) */ getFolderTree: Array<FolderTree>; /** Get folder with its contents (files and subfolders) */ getFolderWithContents: FolderWithContents; /** Get folders with filtering, sorting, and pagination */ getFolders: FolderList; /** Get subfolders of a specific folder */ getFoldersInFolder: FolderList; /** Get an edge by ID */ getGraphEdge?: Maybe<GraphEdge>; /** Get a node by ID */ getGraphNode?: Maybe<GraphNode>; /** Get group-specific activities */ getGroupActivities: Array<ActivityLog>; getHealthyBowlAccountingIntegrations: HealthyBowlAccountingIntegrationsPayload; /** Active/recent withdrawal periods for the alerts dashboard table. Filter by status (BLOCKED|UNDER_WITHDRAWAL|CLEARED). */ getHealthyBowlActiveWithdrawals: Array<MedicationTreatment>; getHealthyBowlAggregationLotDetail: HealthyBowlAggregationLotDetail; getHealthyBowlAggregationLots: Array<HealthyBowlAggregationLot>; /** Decisions in this workspace, newest first. */ getHealthyBowlAgronomyDecisions: Array<AgronomyDecision>; getHealthyBowlAnalyticsData: HealthyBowlAnalyticsDataPayload; /** * BOFF-6022 — download a generated analytics report as a PDF. * * Re-rendered from the snapshot stored on the report row, never from live data: a report * downloaded next month must carry the numbers it was generated with, not today's re-derived * under an old title. A report belonging to another workspace answers NOT_FOUND, so its * existence is not observable. */ getHealthyBowlAnalyticsReportExport: HealthyBowlAccountingExport; /** Per-animal withdrawal roll-up + treatment history (animal detail / block gates). */ getHealthyBowlAnimalWithdrawalStatus: AnimalWithdrawalStatus; /** BOFF-6026 — what the farm owns, owes and is worth as of a date. The document a lender asks for. */ getHealthyBowlBalanceSheet: HealthyBowlBalanceSheet; getHealthyBowlBankAccounts: Array<HealthyBowlBankAccount>; /** Statement lines for an account, optionally narrowed by status and date. */ getHealthyBowlBankStatementLines: Array<HealthyBowlBankStatementLine>; /** Printable GS1 batch label PDF (QR + AI table + chain-integrity stamp). Rendered on demand. */ getHealthyBowlBatchGs1Label: HealthyBowlTraceLabelPdf; /** Scannable GS1 QR PNG encoding the batch's GS1 element string (not the public URL). */ getHealthyBowlBatchGs1QrPng: HealthyBowlTraceQrImage; getHealthyBowlCarbonCredit: HbCarbonCredit; /** Sustainability dashboard: KPI cards, scope breakdown, soil-carbon trend, credits + EUDR summary. Picks the first farm when farmId is omitted. */ getHealthyBowlCarbonOverview: HbCarbonOverview; /** BOFF-6026 — where the cash went, by the direct method, reconciled to the cash accounts. */ getHealthyBowlCashFlowStatement: HealthyBowlCashFlowStatement; getHealthyBowlCertificateOfOriginPdf: CertificateOfOriginPdf; getHealthyBowlCertificatesOfOrigin: Array<CertificateOfOrigin>; getHealthyBowlCertificationDetail: CertificationDetail; getHealthyBowlCertificationStandards: Array<CertificationStandardTemplate>; /** Channel-filtered order list. Offset pagination only (this fleet's gateway strips cursors). */ getHealthyBowlChannelOrders: Array<Order>; getHealthyBowlChartOfAccounts: Array<HealthyBowlLedgerAccount>; getHealthyBowlComplianceData: HealthyBowlComplianceDataPayload; /** Filter by status (OPEN | ACKNOWLEDGED | RESOLVED | DISMISSED) and/or type. */ getHealthyBowlComplianceFlags: Array<ComplianceFlag>; getHealthyBowlComplianceOverview: HealthyBowlComplianceOverviewPayload; /** * BOFF-6043 — the whole audit evidence bundle as one PDF: certifications with their checklists, * compliance documents and audit history. * * Says so plainly when it is truncated. A compliance document that quietly omits rows is worse than * one that refuses — an auditor reads absence as "this farm has none". */ getHealthyBowlCompliancePack: ComplianceExportFile; getHealthyBowlCompostBatches: Array<CompostBatch>; getHealthyBowlConsultantAssignments: Array<HealthyBowlConsultantAssignment>; getHealthyBowlConsultations: Array<Consultation>; /** Sponsor: one aggregation lot by id, with its contributing lines. */ getHealthyBowlContractAggregationLot?: Maybe<HealthyBowlContractAggregationLot>; /** Sponsor: all aggregation lots for one contract. */ getHealthyBowlContractAggregationLots: Array<HealthyBowlContractAggregationLot>; /** Sponsor: assignments (invited/accepted/revoked) for one contract. */ getHealthyBowlContractAssignments: Array<HealthyBowlContractAssignment>; /** Sponsor: programme rollup across contracts with an accepted farm. */ getHealthyBowlContractDashboard: HealthyBowlContractDashboard; /** Sponsor: deliveries recorded against one contract. */ getHealthyBowlContractDeliveries: Array<HealthyBowlContractDelivery>; /** One member farm: plots, deliveries to the co-op, and what it has earned. */ getHealthyBowlCoopMemberDetail: HealthyBowlCoopMemberDetail; /** The member roster, joined to grower records. */ getHealthyBowlCoopMembers: Array<HealthyBowlCoopMemberRow>; /** The co-op overview — member farms, hectares, pooled volume, certification counts. */ getHealthyBowlCoopOverview: HealthyBowlCoopOverview; getHealthyBowlCostByCrop: HealthyBowlCostByCropReport; getHealthyBowlCostCenters: Array<HealthyBowlCostCenter>; getHealthyBowlCrewTimesheet: HealthyBowlCrewTimesheet; getHealthyBowlCrews: Array<HealthyBowlCrew>; /** Return an active crop by its actual ID in the current workspace, or null when unavailable. */ getHealthyBowlCrop?: Maybe<Crop>; /** Fields-list table: every field with its NDVI health score, trend, stressed-zone count and yield estimate. */ getHealthyBowlCropHealthOverview: HbCropHealthOverview; getHealthyBowlCropsData: HealthyBowlCropsDataPayload; /** * Browse active workspace crops in createdAt/id order. Search matches name, variety and * category case-insensitively before paging. Category is an exact raw label; * uncategorized: true matches missing/trim-blank labels. Default 50, maximum 100. * Status uses the existing exposed crop values; growthStage remains exact free text. */ getHealthyBowlCropsPage: HealthyBowlCropsPage; getHealthyBowlCsaDeliveries: Array<CsaDelivery>; getHealthyBowlCsaMembership: CsaMembership; getHealthyBowlCsaMemberships: Array<CsaMembership>; getHealthyBowlCsaPickupLocation: HealthyBowlPickupLocation; /** * Pickup locations with their live member counts and capacity headroom. * ARCHIVED locations are excluded unless asked for — they still hold the history of past boxes. */ getHealthyBowlCsaPickupLocations: Array<HealthyBowlPickupLocation>; /** * The collection manifest for one date: who is collecting, which box, and whether the gate is even * open. Omit `pickupLocationId` for every location with boxes that day — which is what a farmer * packing on Friday for Saturday actually needs. * * A location with boxes but no opening window that day is still returned, with `open: false` and a * `closedReason`: dropping it would hide the boxes nobody can collect. */ getHealthyBowlCsaPickupManifest: Array<HealthyBowlPickupManifest>; getHealthyBowlCsaPlan: CsaPlan; getHealthyBowlCsaPlans: Array<CsaPlan>; getHealthyBowlDashboardData: HealthyBowlDashboardDataPayload; getHealthyBowlDeliveryRoute: DeliveryRoute; getHealthyBowlDeliveryRoutes: Array<DeliveryRoute>; /** Distribution dashboard summary (KPI cards + per-channel breakdown). */ getHealthyBowlDistributionSummary: DistributionSummary; getHealthyBowlEudrStatement: HbEudrStatement; /** * BOFF-6030 — bookable slots for a consultant, taken ones marked unavailable. * * Derived from the consultant's weekly rules minus what is already booked, rather than read from a * materialised calendar: materialising forward needs a horizon, and a horizon silently runs out. */ getHealthyBowlExpertAvailability: Array<ConsultSlot>; /** * Everything on this farm that wants a human, in one ranked list. * `horizonDays` bounds the DATED signals (withdrawal clear dates, scheme deadlines); omitted it * defaults to 7 and it is clamped to 1–90. Live signals (sensor alerts, weather events, stressed * zones) are not horizon-filtered — they are already now. */ getHealthyBowlFarmAttentionDigest: HealthyBowlAttentionDigest; /** Sponsor: one contract by id. */ getHealthyBowlFarmingContract?: Maybe<HealthyBowlFarmingContract>; /** Sponsor: all forward contracts in this workspace. */ getHealthyBowlFarmingContracts: Array<HealthyBowlFarmingContract>; /** Field-capture screen data: fields to attach observations to, plus recent observations + rollups. */ getHealthyBowlFieldCaptureData: FieldCaptureData; /** Everything the Satellite Crop Health detail page needs for one field in a single round-trip. */ getHealthyBowlFieldCropHealth: HbFieldCropHealth; /** List field observations (server-synced), newest first. */ getHealthyBowlFieldObservations: Array<FieldObservation>; getHealthyBowlFieldSensorThresholds: Array<FieldSensorThreshold>; getHealthyBowlFinancialData: HealthyBowlFinancialDataPayload; /** Farmer-side: list the financiers granted read access to this workspace. */ getHealthyBowlFinancierGrants: Array<HealthyBowlFinancierGrant>; /** Month-view frost/storm/heat/disease-window risk calendar for the farm. */ getHealthyBowlFrostRiskCalendar: FrostRiskCalendar; getHealthyBowlGardenCareLogs: Array<GardenCareLog>; getHealthyBowlGardenCareSchedule: GardenCareSchedule; getHealthyBowlGardenDashboard: GardenDashboard; getHealthyBowlGardenHarvestSummary: GardenHarvestSummary; getHealthyBowlGardenHarvests: Array<GardenHarvest>; getHealthyBowlGardenInputs: Array<GardenInput>; getHealthyBowlGardenObservations: Array<GardenObservation>; getHealthyBowlGardenPlanner: GardenPlannerResult; getHealthyBowlGardenPlanting: GardenPlanting; getHealthyBowlGardenPlantings: Array<GardenPlanting>; getHealthyBowlGeneralLedger: HealthyBowlGeneralLedger; getHealthyBowlGhgInventory?: Maybe<HbGhgInventory>; getHealthyBowlGovernmentData: HealthyBowlGovernmentDataPayload; getHealthyBowlGrowSpace: GrowSpace; getHealthyBowlGrowSpaces: Array<GrowSpace>; getHealthyBowlIcsData: HealthyBowlIcsDataPayload; getHealthyBowlIcsGroupDetail: IcsGroupDetail; /** * BOFF-6043 — the ICS group report: members, conversion status and inspection coverage. * * Grower mobile numbers are deliberately omitted — an auditor verifying an internal control system * does not need them, and a downloadable list of farmers' phone numbers in every audit bundle cannot * be recalled once it exists. */ getHealthyBowlIcsGroupReport: ComplianceExportFile; getHealthyBowlIcsGrowerDetail: IcsGrowerDetail; /** Budget-vs-Actual + Input-Mix + cost-by-crop analytics rolled up from the plan rows. */ getHealthyBowlInputBudgetAnalytics: HealthyBowlInputBudgetAnalytics; getHealthyBowlInputPlan: HealthyBowlInputPlan; /** Season input plans (Planned / Allocated / Used / Cost per input). */ getHealthyBowlInputPlans: Array<HealthyBowlInputPlan>; getHealthyBowlInsuranceClaim: HealthyBowlInsuranceClaim; getHealthyBowlInsuranceClaims: Array<HealthyBowlInsuranceClaim>; /** * The document slots a coverage type asks for, before any policy exists (BOFF-6079). * * The apply stepper needs the list to render step 3, which happens before submit — so this cannot * hang off a policy id. */ getHealthyBowlInsuranceDocumentRequirements: Array<HealthyBowlInsuranceDocumentSlot>; /** Enrolment summary: fields covered, sum insured, premium due, active claims. */ getHealthyBowlInsuranceEnrollmentSummary: HealthyBowlInsuranceEnrollmentSummary; getHealthyBowlInsurancePolicies: Array<HealthyBowlInsurancePolicy>; getHealthyBowlInsurancePolicy: HealthyBowlInsurancePolicy; /** * BOFF-6049 - render one invoice as a PDF. The download used to produce a plain-text .txt with no * letterhead, bill-to block, line-item table or tax breakdown - the artefact a farmer sends a * paying customer. */ getHealthyBowlInvoicePdf: HealthyBowlInvoicePdf; getHealthyBowlJournalEntries: Array<HealthyBowlJournalEntry>; getHealthyBowlJournalEntry?: Maybe<HealthyBowlJournalEntry>; getHealthyBowlLabourEntries: Array<HealthyBowlLabourEntry>; getHealthyBowlLabourSummary: HealthyBowlLabourSummary; getHealthyBowlLivestockData: HealthyBowlLivestockDataPayload; getHealthyBowlLoanFacilitation: HealthyBowlLoanFacilitation; getHealthyBowlLoanFacilitations: Array<HealthyBowlLoanFacilitation>; /** Exact balances, immutable schedule, and externally completed money-event history for one loan. */ getHealthyBowlLoanFinancialDetail: HealthyBowlLoanFinancialDetail; /** BOFF-6077 — the release schedule for one facilitated loan, in sequence order. */ getHealthyBowlLoanMilestones: Array<HealthyBowlLoanMilestone>; /** * Machinery spend AssetHandler holds for this workspace (BOFF-6121), flagged with whether it has * already been imported into the HealthyBowl ledger. * * Reads are best-effort across the service boundary: when AssetHandler is unreachable this returns * an empty list rather than failing, so the Financial section stays usable. */ getHealthyBowlMachinerySpend: Array<HealthyBowlMachinerySpendRow>; /** A commodity's daily min/modal/max trend over the trailing `days` window (default 30). */ getHealthyBowlMandiPriceTrend: Array<MandiPriceTrendPoint>; /** Latest daily mandi prices from the shared reference cache, filterable by commodity / state / market / date. */ getHealthyBowlMandiPrices: Array<MandiPrice>; getHealthyBowlMarketplaceData: HealthyBowlMarketplaceDataPayload; /** Merged medication library: built-in standards (minus workspace overrides) + workspace rows. */ getHealthyBowlMedicationLibrary: Array<MedicationLibraryItem>; /** * Uncommitted harvest in the consenting member farms, for the lot builder. * * Availability is ADVISORY — a harvest record carries no reservation, so a row here can be taken by * another lot between render and commit. The unique index on the contribution is the real guard. */ getHealthyBowlMemberAvailability: Array<HealthyBowlMemberAvailability>; /** * Re-download a previously generated MRV report, resolving its archived bytes from * files-svc. Returns the stored row with `pdfBase64` (format=PDF) or `csv` * (format=CSV) populated. * * This exists so re-downloading is a READ. `generateHealthyBowlMrvReport` does a * `hbMrvReport.create()`, so calling it again to fetch an existing report appends * another history row and the list grows every time somebody clicks download. * * `pdfBase64`/`csv` come back null when the row has no `reportFileId` (files-svc * was unreachable at generation time — archiving is best-effort by design) or when * files-svc cannot serve it now. That is a degraded read, not an error: the row * and its summary still render. */ getHealthyBowlMrvReportFile: HbMrvReport; getHealthyBowlMyAdvisoryTasks: Array<HealthyBowlAdvisoryTask>; getHealthyBowlMyFarmRecommendations: Array<HealthyBowlFarmRecommendation>; /** Side-by-side NDVI comparison of two dated readings for a field. */ getHealthyBowlNdviComparison: HbNdviComparison; /** A single NDVI reading with its full per-cell grid (for the heatmap). */ getHealthyBowlNdviReading?: Maybe<HbNdviReading>; /** NDVI reading history (timeline strip) for a field, newest first. */ getHealthyBowlNdviReadings: Array<HbNdviReading>; getHealthyBowlNetworkData: HealthyBowlNetworkDataPayload; getHealthyBowlPestData: HealthyBowlPestDataPayload; /** A single scan with its full diagnosis (for the Scan Detail view). */ getHealthyBowlPlantScan?: Maybe<PlantScan>; /** Recent scans (newest first) plus season stats for the AI Pest & Disease screen. */ getHealthyBowlPlantScans: PlantScanListResult; /** The workspace's alert rules. */ getHealthyBowlPriceAlertRules: Array<PriceAlertRule>; /** Fired price alerts, optionally filtered by status (ACTIVE | ACKNOWLEDGED). */ getHealthyBowlPriceAlerts: Array<PriceAlert>; /** The workspace's followed commodities+markets. */ getHealthyBowlPriceWatches: Array<PriceWatch>; getHealthyBowlProductionData: HealthyBowlProductionDataPayload; getHealthyBowlProductsData: HealthyBowlProductsDataPayload; getHealthyBowlProfitAndLoss: HealthyBowlProfitAndLoss; getHealthyBowlProfitAndLossExport: HealthyBowlAccountingExport; getHealthyBowlQuotaStatus: Array<HealthyBowlQuotaStatus>; /** Whether the bank agrees with the books for one window, and by how much if not. */ getHealthyBowlReconciliationSummary: HealthyBowlReconciliationSummary; /** All non-deleted regenerative practices for a farm (no pagination). */ getHealthyBowlRegenerativePractices: Array<HbRegenerativePractice>; getHealthyBowlResidueTests: Array<ComplianceResidueTest>; /** Per-workspace satellite ingestion settings (auto-provisions defaults on first read). */ getHealthyBowlSatelliteSettings: HbSatelliteSettings; /** * BOFF-6110 — evaluate a scheme's structured criteria against this workspace's own farm data. * * Never guesses. A criterion whose data HealthyBowl does not hold (land tenure, income band, * caste category …) is reported UNKNOWN, not UNMET — telling a farmer they do not qualify for a * subsidy they may be entitled to is the costlier error. A scheme with no structured rules is * UNKNOWN too: absence of a rule is absence of evidence. * * Reuses the `healthybowl_dashboard` / `read` permission, as the government read above does. */ getHealthyBowlSchemeEligibility: SchemeEligibility; getHealthyBowlSensorAlerts: Array<SensorAlert>; /** Everything the Field Sensors dashboard needs in one round-trip. */ getHealthyBowlSensorDashboard: SensorDashboard; getHealthyBowlSensorProbes: Array<SensorProbe>; getHealthyBowlSensorReadings: Array<SensorReading>; /** All non-deleted soil-carbon estimates for a farm (no pagination). */ getHealthyBowlSoilCarbonEstimates: Array<HbSoilCarbonEstimate>; getHealthyBowlSoilData: HealthyBowlSoilDataPayload; /** Auto-flagged stressed zones (crop-health alerts), optionally filtered by field/status/severity. */ getHealthyBowlStressedZones: Array<HbStressedZone>; /** Built-in prohibitions merged with this workspace's own rules. */ getHealthyBowlSubstanceRules: Array<ComplianceSubstanceRule>; /** * Browse the shared, admin-curated seed/nursery/input supplier directory (BOFF-6096). * Reference data in code, not workspace data — the identical rows render for every * workspace. `context` is an authentication gate only (a valid workspace session is * required to call it); it is not used to scope the result. */ getHealthyBowlSupplierDirectory: Array<SeedSupplier>; getHealthyBowlTerraceGarden: TerraceGarden; getHealthyBowlTerraceGardens: Array<TerraceGarden>; /** Printable label PDF for a PUBLISHED batch. */ getHealthyBowlTraceBatchLabelPdf: HealthyBowlTraceLabelPdf; /** The full hash-chained ledger for a batch plus its integrity check (BOFF-2895 · B-3). */ getHealthyBowlTraceBatchLedger: HealthyBowlTraceLedger; /** Scannable QR PNG for a PUBLISHED batch. Fails with CONFLICT while the batch is a draft. */ getHealthyBowlTraceBatchQrPng: HealthyBowlTraceQrImage; getHealthyBowlTracePortalSettings: HealthyBowlTracePortalSettings; getHealthyBowlTraceScanActivity: HealthyBowlTraceScanActivity; getHealthyBowlTraceabilityData: HealthyBowlTraceabilityDataPayload; /** Mint a fresh Files-authorized URL when the user opens a transaction receipt. */ getHealthyBowlTransactionReceiptUrl: Scalars['String']['output']; /** BOFF-6026 — every posted line summed per account, and whether debits equal credits. */ getHealthyBowlTrialBalance: HealthyBowlTrialBalance; /** The fired weather early-warning events for the workspace (Alert-History feed). */ getHealthyBowlWeatherAlertEvents: Array<WeatherAlertEvent>; /** The workspace's weather & alert settings (defaults returned when none saved yet). */ getHealthyBowlWeatherAlertSettings: WeatherAlertSettings; /** This-season vs multi-year-baseline anomaly report (the Anomaly Detector). */ getHealthyBowlWeatherAnomalyReport: WeatherAnomalyReport; getHealthyBowlWeatherData: HealthyBowlWeatherDataPayload; /** Real multi-year weather history series (Open-Meteo ERA5 archive) for the farm's coordinates. */ getHealthyBowlWeatherHistorySeries: WeatherHistorySeries; getHealthyBowlWholesaleOrders: Array<WholesaleOrder>; /** The product's wholesale quantity ladder, ascending by threshold (BOFF-6091). */ getHealthyBowlWholesalePriceTiers: Array<WholesalePriceTier>; /** Clear-date calendar entries within [from, to] (ISO dates). */ getHealthyBowlWithdrawalCalendar: Array<WithdrawalCalendarEntry>; /** The four dashboard stat cards. */ getHealthyBowlWithdrawalSummary: WithdrawalSummary; getHealthyBowlWorkers: Array<HealthyBowlWorker>; /** The live rule-based season yield forecast for a field (computed from stored NDVI history). */ getHealthyBowlYieldForecast: HbYieldForecast; /** Saved yield scenarios for a field. */ getHealthyBowlYieldScenarios: Array<HbYieldForecast>; /** Run a transparent what-if yield simulation (does not persist). Read-only compute. */ getHealthyBowlYieldSimulation: HbYieldForecast; getImpliedTags: Array<UniversalTag>; getInstalledPackage?: Maybe<InstalledPackage>; getIntegrationLogs: LogList; getKnowledgeBase?: Maybe<KnowledgeBase>; getKnowledgeDocument?: Maybe<KnowledgeDocument>; /** @deprecated use getBotmanorLLMModel */ getLLMModel?: Maybe<BotlitLlmModel>; /** @deprecated use getBotmanorLLMProvider */ getLLMProvider?: Maybe<BotlitLlmProvider>; getMCPConnection?: Maybe<McpConnection>; /** Get a single metadata entry by ID */ getMetadata?: Maybe<FileMetadata>; /** Get metadata by key for a specific file */ getMetadataByKey?: Maybe<FileMetadata>; /** Get batch downloads created by current user */ getMyBatchDownloads: BatchDownloadList; /** Get all locks held by current user */ getMyFileLocks: FileLockList; getMyHealthyBowlConsultantClientDiagnosis: HealthyBowlConsultantDiagnosis; getMyHealthyBowlConsultantClientNotes: Array<HealthyBowlConsultationNote>; getMyHealthyBowlConsultantClientRecommendations: Array<HealthyBowlFarmRecommendation>; getMyHealthyBowlConsultantClientTasks: Array<HealthyBowlAdvisoryTask>; getMyHealthyBowlConsultantClients: Array<HealthyBowlConsultantClient>; /** Farm side: contract invitations addressed to this workspace, pending acceptance. */ getMyHealthyBowlContractInvitations: Array<HealthyBowlContractAssignment>; /** Farm side: this workspace's obligations under contracts it has accepted. */ getMyHealthyBowlContractObligations: Array<HealthyBowlContractObligation>; /** Member side: co-op invitations addressed to my workspace. */ getMyHealthyBowlCoopInvitations: Array<HealthyBowlCoopMembership>; /** Member side: what a co-op has paid me, or owes me. */ getMyHealthyBowlCoopPayouts: Array<HealthyBowlAggregationLotContribution>; /** Financier-side: risk views of every farm that has granted me access. Self-scoped — the resolver returns ONLY workspaces with an active grant for the calling actor. */ getMyHealthyBowlFinancierViews: Array<HealthyBowlFinancierFarmView>; /** Get active upload sessions for current user */ getMyUploadSessions: UploadSessionList; getNarrowerTags: Array<UniversalTag>; /** Get all neighbors of a node */ getNeighbors: Array<GraphNode>; getNextOccurrences: Array<CalendarEvent>; /** Get relationship statistics for a node */ getNodeStatistics: NodeStatistics; /** Get all nodes of a specific type */ getNodesByType: Array<GraphNode>; /** Get structured tag assignments for a note */ getNoteTags: Array<NoteTagAssignment>; getOrCreateDirectConversation: Conversation; /** Get presigned URL for uploading a specific part */ getPartUploadUrl: Scalars['String']['output']; getPolicy?: Maybe<Policy>; getProjectTags: Array<ProjectTagAssignment>; /** Get a prompt generation by ID */ getPromptGeneration?: Maybe<PromptGeneration>; /** Get example prompt suggestions */ getPromptSuggestions: Array<PromptSuggestion>; getPromptTemplate?: Maybe<PromptTemplate>; getPromptTemplateBySlug?: Maybe<PromptTemplate>; getProvider?: Maybe<IntegrationProvider>; getProviderByKey?: Maybe<IntegrationProvider>; getProviderCatalog: ProviderList; getProviders: ProviderList; /** Get recent activities for home page feed */ getRecentActivities: Array<ActivityLog>; getRecentSandboxActivity: SandboxActivityList; getRecentlyAccessed: Array<SearchResult>; getRecurringInstances: Array<CalendarEvent>; /** Get related tags based on co-occurrence */ getRelatedCommentTags: Array<UniversalTag>; /** Get related tags based on co-occurrence (suggestions) */ getRelatedNoteTags: Array<UniversalTag>; getRelatedTags: Array<RelatedTagInfo>; getRetrievalProfile?: Maybe<RetrievalProfile>; getSandbox?: Maybe<Sandbox>; /** * Fetch raw artifact bytes for a sandbox session. Service-to-service entry * point — the response is base64 so it can travel inside a GraphQL response. * Hard size cap of 50 MB (decoded); larger artifacts return * `SANDBOX_ARTIFACT_TOO_LARGE` and the caller falls back to client-side * browser download. */ getSandboxArtifactBytes: SandboxArtifactBytes; getSandboxConfig: SandboxConfig; getSandboxLogs: Scalars['String']['output']; /** * Read a sandbox's log stream from a byte offset. * * Pass the previous chunk's `nextByte` to receive only what has been written * since. FluidGrids uses this to attribute a node container's stdout to the * node execution that produced it: a sandbox is reused across nodes of the * same runtime, so the offset — not the file — is the unit of attribution. * * Returns an empty chunk (rather than erroring) when the sandbox has produced * no logs yet or is no longer running. */ getSandboxLogsIncremental: SandboxLogChunk; getSandboxStats: SandboxStats; /** Get structured tag assignments for a sandbox */ getSandboxTags: Array<SandboxTagAssignment>; getSandboxTemplate?: Maybe<SandboxTemplateConfig>; /** Get execution history for a scheduled comment */ getScheduledCommentExecutionHistory: Array<ScheduledCommentExecution>; /** Get scheduled comments for an entity */ getScheduledComments: Array<ScheduledComment>; getScheduledJobTags: Array<ScheduledJobTagAssignment>; getSearchSuggestions: Array<Scalars['String']['output']>; getSecret?: Maybe<Secret>; getSecretAccessLogs: SecretAccessLogList; getSecretRotations: SecretRotationList; getSecretTags: Array<SecretTagAssignment>; getSecretVersions: Array<SecretVersion>; getSecretVersionsPaginated: SecretVersionList; getSecrets: SecretList; /** * Get a single file share by ID * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getShare?: Maybe<FileShare>; /** * Get analytics for a specific share * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getShareAnalytics: ShareAnalytics; /** * Get a file share by token * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getShareByToken?: Maybe<FileShare>; /** Get collections shared with a user */ getSharedCollections: CollectionList; /** * Get all shares for a specific file * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getSharesForFile: FileShareList; /** * Get all shares for a specific folder * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getSharesForFolder: FolderShareList; getSkill?: Maybe<Skill>; /** Get starred files */ getStarredFiles: FileList; /** Get starred folders */ getStarredFolders: FolderList; /** Get storage usage for workspace */ getStorageUsage?: Maybe<StorageUsage>; getStorePackage?: Maybe<StorePackage>; getStorePackageBySlug?: Maybe<StorePackage>; getSyncStatus?: Maybe<ExternalCalendarSync>; getTag?: Maybe<UniversalTag>; getTagAnalytics: Array<UniversalTagAnalytics>; getTagAssignment?: Maybe<UniversalTagAssignment>; getTagAssignments: TagAssignmentList; getTagByKey?: Maybe<UniversalTag>; getTagCoOccurrence: Array<TagCoOccurrenceResponse>; getTagHierarchy: Array<UniversalTag>; getTagHistory: Array<UniversalTagHistory>; getTagRelation?: Maybe<UniversalTagRelation>; getTagRelations: Array<UniversalTagRelation>; getTagRule?: Maybe<UniversalTagRule>; getTagRules: Array<UniversalTagRule>; getTagSegment?: Maybe<UniversalTagSegment>; getTagSegments: Array<UniversalTagSegment>; getTagSuggestions: Array<UniversalTag>; getTagTranslation?: Maybe<UniversalTagTranslation>; getTagTranslations: Array<UniversalTagTranslation>; getTagUsageByEntity: Array<EntityTypeUsage>; getTagUsageStats: TagUsageStats; getTags: TagList; /** Get a template by ID */ getTemplate?: Maybe<BigConsoleDashboardTemplate>; /** Get an upload session by ID */ getUploadSession?: Maybe<UploadSession>; /** Get all upload sessions for a workspace */ getUploadSessions: UploadSessionList; /** * Get usage records with optional filters and cursor-based pagination. * Default page size is 50; maximum is 200. */ getUsageRecords: UsageRecordsPage; /** Get usage summary (aggregated by quota/product) */ getUsageSummary: Array<UsageSummary>; /** Get user-specific activities */ getUserActivities: Array<ActivityLog>; /** Get collections created by a user */ getUserCollections: CollectionList; /** Get current user's permissions for a file */ getUserFilePermissions: UserFilePermissions; /** Get current user's permissions for a folder */ getUserFolderPermissions: UserFolderPermissions; /** * Get all shares created by current user * @deprecated Consolidated onto the ShareGrant stack (BOFF-5302). Use the generic sharing operations: shareFile / createFileShareLink / fileSharesSharedWithMe / acceptFileShare. */ getUserShares: FileShareList; /** * Get the calling user's cumulative storage usage and plan-driven cap. Used by * the file UI to render "X of Y" indicators and pre-flight upload gating. */ getUserStorageUsage: UserStorageUsage; getVault?: Maybe<Vault>; getVaultAccessLogs: VaultAccessLogList; getVaultAuditLogs: VaultAuditLogList; getVaultIntegration?: Maybe<VaultIntegration>; getVaultIntegrations: VaultIntegrationList; getVaultSecurityEvent?: Maybe<VaultSecurityEvent>; getVaultSecurityEvents: VaultSecurityEventList; getVaultSecurityIncident?: Maybe<VaultSecurityIncident>; getVaultSecurityIncidents: VaultSecurityIncidentList; getVaultSyncLogs: VaultSyncLogList; getVaults: VaultList; getVocabularies: VocabularyList; getVocabulary?: Maybe<TagVocabulary>; getVocabularyByKey?: Maybe<TagVocabulary>; getVocabularyUsageStats: TagUsageStats; /** Get a widget by ID */ getWidget?: Maybe<BigConsoleWidget>; /** Get widget actions */ getWidgetActions: Array<BigConsoleWidgetAction>; /** Get available widget types with metadata (icons, default configs, size constraints) */ getWidgetTypes: Array<BigConsoleWidgetTypeInfo>; /** Get workspace-specific activities */ getWorkspaceActivities: Array<ActivityLog>; /** * Workspace-scoped filtered activity slice for M2M migrating services * (module-ownership remediation, OVL-01). Unlike `getActivities` this does NOT * narrow to the caller's own userId: the workspace scope (enforced here + by the * `@rbac` wspace directive) is the access-control boundary, exactly like * `activityCount`. Supports the full `ActivityLogFilter` (including `action`, * `actionPrefix`, `resourceType`) with `limit`/`offset` pagination, newest-first. */ getWorkspaceActivitySlice: Array<ActivityLog>; /** Get all collections in a workspace */ getWorkspaceCollections: CollectionList; /** Get all active locks for a workspace */ getWorkspaceFileLocks: FileLockList; /** * Get workspace secret information (metadata only, not the actual secret). * For administrative purposes and debugging. */ getWorkspaceSecretInfo: WorkspaceSecretInfo; getWorkspaceTags: Array<WorkspaceTagAssignment>; /** `status` (BOFF-4388) narrows to one GgnomadListingStatus. `minSustainabilityScore` (BOFF-4364) is an eco filter. `hasAccessibilityFeatures` (BOFF-4379) is an accessibility filter: only listings that declare every listed feature are returned. */ ggnomadActivities: Array<GgnomadActivity>; ggnomadActivity?: Maybe<GgnomadActivity>; /** BOFF-10615 — operator-only: commission rules, oldest first; with partnerId, only the rules that can apply to that partner. */ ggnomadAffiliateCommissionRules: Array<GgnomadAffiliateCommissionRule>; /** BOFF-4386 — operator-only: commissions, newest first, optionally for one partner or status. */ ggnomadAffiliateCommissions: Array<GgnomadAffiliateCommission>; /** BOFF-4386 — operator-only: one affiliate partner. */ ggnomadAffiliatePartner: GgnomadAffiliatePartner; /** BOFF-4386 — operator-only (ggnomad:manage): the workspace's affiliate partners. */ ggnomadAffiliatePartners: Array<GgnomadAffiliatePartner>; /** BOFF-10614 — operator-only: a partner's payout profile, or null when none was submitted. */ ggnomadAffiliatePayoutProfile?: Maybe<GgnomadAffiliatePayoutProfile>; /** BOFF-10614 — operator-only: payouts created in a period (default last 90 days, max 366) with their reconciliation state. */ ggnomadAffiliatePayoutReconciliation: GgnomadAffiliatePayoutReconciliation; /** BOFF-10614 — operator-only: the automatic payout schedule. */ ggnomadAffiliatePayoutSchedule: GgnomadAffiliatePayoutSchedule; /** BOFF-4386 — operator-only: payouts recorded for one partner, newest first. */ ggnomadAffiliatePayouts: Array<GgnomadAffiliatePayout>; /** BOFF-10615 — operator-only: the rate a booking of this type would earn the partner if an order were placed now. */ ggnomadAffiliateRatePreview: GgnomadAffiliateRatePreview; ggnomadAnalytics: GgnomadAnalytics; /** BOFF-4388 — the transition history for one listing or booking (entityType PROPERTY/TOUR/EVENT/ACTIVITY/BOOKING, or PROVIDER for a provider's verification since BOFF-3953). BOFF-10248 — returned only to the people involved: a booking's traveler or host, or a listing's owner. Anyone else gets an empty list; operators use ggnomadWorkspaceAuditLog. */ ggnomadAuditLog: Array<GgnomadAuditLogEntry>; /** BOFF-3745 — one booking by id, or null unless the caller made it or hosts its listing (the same visibility as ggnomadBookings). Lets the assistant and deep links resolve a single booking without paging the list. */ ggnomadBooking?: Maybe<GgnomadBooking>; /** BOFF-10194 — requires ggnomad:manage. */ ggnomadBookingApproval?: Maybe<GgnomadBookingApproval>; /** BOFF-10194 — the approver's queue. Requires ggnomad:manage, like approving and rejecting; a traveler sees their own request through GgnomadBooking.approval. */ ggnomadBookingApprovals: Array<GgnomadBookingApproval>; /** BOFF-4388 — bookings not yet in a terminal state (PENDING/CONFIRMED/CHECKED_IN), ordered by scheduled start: the host processing queue. BOFF-10194 — limited to bookings on listings the caller hosts; operators use ggnomadWorkspaceBookingQueue. */ ggnomadBookingQueue: Array<GgnomadBooking>; /** * BOFF-10193 — the amount createGgnomadBooking will charge for a booking with * these parameters, computed from the stored listing or trip fare (plus the * demand surcharge). Collect exactly this amount before booking: the booking's * billing transaction is verified against it. */ ggnomadBookingQuote: GgnomadBookingQuote; /** * BOFF-4361 — real-time availability for one listing. `onlyAvailable` * (default true) excludes inactive slots and slots with no remaining * capacity; `dateFrom`/`dateTo` narrow to a window (both default unbounded). */ ggnomadBookingSlots: Array<GgnomadBookingSlot>; /** `status` (BOFF-4388) narrows to one GgnomadBookingStatus — e.g. PENDING for the confirmation queue. BOFF-10194 — returns only the bookings the caller made plus the bookings on listings the caller hosts; operators use ggnomadWorkspaceBookings. */ ggnomadBookings: Array<GgnomadBooking>; /** BOFF-4385 — every channel mapping configured for one listing. */ ggnomadChannelMappings: Array<GgnomadChannelMapping>; /** BOFF-3936 — the tax, service fee and payment methods checkout applies in this workspace. */ ggnomadCheckoutSettings: GgnomadCheckoutSettings; /** BOFF-4378 — converts an amount between two currencies at the latest published FX rates. */ ggnomadConvertCurrency: GgnomadConvertedAmount; /** BOFF-10248 — null unless the caller filed the claim or made or hosts its booking. */ ggnomadDamageClaim?: Maybe<GgnomadDamageClaim>; /** BOFF-4382 — damage claims. BOFF-10248 — only the claims the caller is involved in: ones they filed, and ones on bookings they made or host. Operators review every claim through ggnomadWorkspaceDamageClaims. */ ggnomadDamageClaims: Array<GgnomadDamageClaim>; /** BOFF-4387 — deterministic demand-based pricing quote for one listing on one date. */ ggnomadDynamicPrice: GgnomadDynamicPriceQuote; ggnomadEvent?: Maybe<GgnomadEvent>; /** `status` (BOFF-4388) narrows to one GgnomadListingStatus. `minSustainabilityScore` (BOFF-4364) is an eco filter. `hasAccessibilityFeatures` (BOFF-4379) is an accessibility filter: only listings that declare every listed feature are returned. */ ggnomadEvents: Array<GgnomadEvent>; /** BOFF-4392 — the GGNomad entity types the platform export service can export. */ ggnomadExportEntityTypes: Array<Scalars['String']['output']>; ggnomadFavorites: Array<Scalars['JSON']['output']>; /** * BOFF-4378 — the published FX rates against `baseCurrency` (default EUR). * With `date` (YYYY-MM-DD), the rates that applied on that day (the latest * published day on or before it), for reconciling past bookings. Fails with * FX_RATES_UNAVAILABLE or FX_CURRENCY_UNSUPPORTED. */ ggnomadFxRates: GgnomadFxRates; /** BOFF-4392 — the workspace's data residency and export governance policy. Requires ggnomad:manage. */ ggnomadGovernancePolicy: GgnomadGovernancePolicy; ggnomadGroupTrip?: Maybe<GgnomadGroupTrip>; ggnomadGroupTripCostSplit: GgnomadGroupTripCostSplit; /** Tally + individual votes for every trip-plan item in the group trip that has at least one vote. */ ggnomadGroupTripVotes: Array<GgnomadGroupTripVoteTally>; /** BOFF-4388 — every PENDING_REVIEW listing across all four listing types, oldest first: the marketplace operator's verification queue. */ ggnomadListingReviewQueue: Array<GgnomadListing>; /** BOFF-4363 — the calling workspace's storefront for one provider (editor view, draft or published), or null if none created yet. */ ggnomadOperatorStorefront?: Maybe<GgnomadOperatorStorefront>; /** BOFF-3936 — Type B self resource: an order the caller placed; NOT_FOUND for anyone else. */ ggnomadOrder: GgnomadOrder; ggnomadOverviewStats: GgnomadOverviewStats; /** BOFF-4378 — the pricing rules on one listing. Readable by workspace members, like the listing's prices. */ ggnomadPricingRules: Array<GgnomadPricingRule>; /** BOFF-10248 — null unless the caller made the request or hosts its listing. */ ggnomadPrivateGroupRequest?: Maybe<GgnomadPrivateGroupRequest>; /** BOFF-10248 — only the requests the caller is involved in: ones they made, and ones against listings they host. Operators use ggnomadWorkspacePrivateGroupRequests. */ ggnomadPrivateGroupRequests: Array<GgnomadPrivateGroupRequest>; /** `status` (BOFF-4388) narrows to one GgnomadListingStatus — e.g. PENDING_REVIEW for an operator's review queue. `minSustainabilityScore` (BOFF-4364) is an eco filter: `hasAccessibilityFeatures` (BOFF-4379) is an accessibility filter: only listings that declare every listed feature are returned. */ ggnomadProperties: Array<GgnomadProperty>; ggnomadProperty?: Maybe<GgnomadProperty>; /** * BOFF-3938 — a property's availability & pricing calendar from startDate to * endDate (inclusive, YYYY-MM-DD, at most 93 days). */ ggnomadPropertyCalendar: GgnomadPropertyCalendar; ggnomadProtectionPolicies: Array<GgnomadProtectionPolicy>; ggnomadProtectionPolicy?: Maybe<GgnomadProtectionPolicy>; ggnomadProvider?: Maybe<GgnomadProvider>; ggnomadProviders: Array<GgnomadProvider>; /** BOFF-3699 — constraint violations in the plan (overlaps, capacity, event dates, budget, unavailable listings). Read-only; `budget` overrides the planner budget. Creator of the plan only. */ ggnomadRepairTripPlan: Array<GgnomadTripPlanIssue>; /** BOFF-4392 — regions a workspace's GGNomad data can be pinned to. */ ggnomadResidencyRegions: Array<GgnomadResidencyRegion>; ggnomadReviewSummary: GgnomadReviewSummary; ggnomadReviews: Array<GgnomadReview>; /** BOFF-3208 — searches properties, tours, events, activities and providers in this workspace in one ranked list. Emits a ggnomad.search.executed analytics event. */ ggnomadSearch: GgnomadSearchResult; ggnomadSourceOrderQuote: GgnomadSourceOrderQuote; ggnomadSpendSummary: GgnomadSpendSummary; /** * BOFF-4566 — public, unauthenticated branded storefront page by verified * custom hostname (`https://<hostname>/` on the operator's own domain). * Genuinely public (`@rbac(public: true)`), IP-rate-limited like * `ggnomadStorefrontBySlug`; no workspaceId is needed because a VERIFIED custom * domain is globally unique. Returns null unless the hostname resolves to a * published storefront with a VERIFIED domain. `storefront.provider` is always * null on this public page. */ ggnomadStorefrontByHostname?: Maybe<GgnomadStorefrontPage>; /** * BOFF-4363 — public, unauthenticated branded storefront page by workspace + * slug. Genuinely public (`@rbac(public: true)` skips the gateway RBAC check * entirely — no token, no x-workspace-id header), so `workspaceId` is an * explicit arg; there is no session to infer it from. Returns null unless * the slug resolves to a storefront with `isPublished: true` in that * workspace. IP-rate-limited — see src/utils/public-rate-limit.ts (same * pattern as wspace-theculturepost-svc's BOFF-4126 public API). * * BOFF-10195 — each listing list is one page: `pagination.limit` per listing * type (default 24, at most 50) from `pagination.offset` (at most 1000). * `storefront.provider` is always null on this public page. */ ggnomadStorefrontBySlug?: Maybe<GgnomadStorefrontPage>; /** BOFF-3699 — listings that fill the plan's emptiest days within its remaining budget. Read-only; creator of the plan only. */ ggnomadSuggestTripPlanItems: Array<GgnomadTripPlanItemSuggestion>; /** BOFF-10194 — null unless the ticket's booking was made or is hosted by the caller. */ ggnomadTicket?: Maybe<GgnomadTicket>; /** BOFF-10194 — tickets on bookings the caller made or hosts. qrToken/qrCodeDataUrl are returned only to the traveler. */ ggnomadTickets: Array<GgnomadTicket>; ggnomadTour?: Maybe<GgnomadTour>; /** `status` (BOFF-4388) narrows to one GgnomadListingStatus. `minSustainabilityScore` (BOFF-4364) is an eco filter. `hasAccessibilityFeatures` (BOFF-4379) is an accessibility filter: only listings that declare every listed feature are returned. */ ggnomadTours: Array<GgnomadTour>; ggnomadTravelPolicies: Array<GgnomadTravelPolicy>; ggnomadTravelPolicy?: Maybe<GgnomadTravelPolicy>; /** BOFF-10194 — null unless the caller created this plan. */ ggnomadTripPlan?: Maybe<GgnomadTripPlan>; /** BOFF-3936 — itemized checkout price of a trip plan, including tax and service fee. Creator of the plan only (NOT_FOUND otherwise). */ ggnomadTripPlanCheckoutQuote: GgnomadTripPlanCheckoutQuote; /** BOFF-3699 — a proposal from ggnomadGenerateTripPlan; null unless the caller generated it. */ ggnomadTripPlanProposal?: Maybe<GgnomadTripPlanProposal>; /** BOFF-10194 — the caller's own trip plans. Plans are private to their creator; shared planning uses group trips. */ ggnomadTripPlans: Array<GgnomadTripPlan>; /** BOFF-10248 — the transport trips the caller created. A trip is one traveler's itinerary, so other members' trips are not listed. */ ggnomadTrips: Array<GgnomadTrip>; /** BOFF-10617 — operator-only (ggnomad:manage): widget impressions, clicks, click-through and conversion rate per partner and storefront over the last `days` (1-90, default 30) UTC days. */ ggnomadWidgetAnalytics: GgnomadWidgetAnalytics; /** BOFF-10248 — operator view: the transition history of any listing or booking in the workspace. Requires ggnomad:manage. */ ggnomadWorkspaceAuditLog: Array<GgnomadAuditLogEntry>; /** BOFF-10194 — operator view of the processing queue across the whole workspace. Requires ggnomad:manage. */ ggnomadWorkspaceBookingQueue: Array<GgnomadBooking>; /** BOFF-10194 — operator view: every booking in the workspace. Requires ggnomad:manage. */ ggnomadWorkspaceBookings: Array<GgnomadBooking>; /** BOFF-10248 — the marketplace operator's claim review queue: every claim in the workspace. Requires ggnomad:manage. */ ggnomadWorkspaceDamageClaims: Array<GgnomadDamageClaim>; /** BOFF-10248 — operator view: every private group request in the workspace. Requires ggnomad:manage. */ ggnomadWorkspacePrivateGroupRequests: Array<GgnomadPrivateGroupRequest>; globalSearch: SearchResponse; govAdminLevel?: Maybe<GovAdminLevel>; /** * Administrative-hierarchy presets available for a country, best first. * * The country's own chain leads when one is bundled, so the seed picker can show * an officer the terminology they actually use before anything is written. */ govAdminLevelPresets: Array<GovAdminLevelPreset>; govAdminLevels: GovAdminLevelConnection; govAgency?: Maybe<GovAgency>; /** Recent watch-loop runs for the current workspace, newest first. */ govAgentRuns: Array<GovAgentRun>; govApplication?: Maybe<GovApplication>; /** * Corpus-wide SLA breakdown (on-track / due-soon / overdue / no-due-date) across * every non-terminal application in the workspace. */ govApplicationSlaSummary: GovApplicationSlaSummary; /** * Application counts grouped by assigned officer ("desk"), corpus-wide, sorted * by volume descending. The unassigned bucket carries a null `assignedToId`. */ govApplicationsByDesk: Array<GovDeskApplicationCount>; /** Application counts grouped by service, corpus-wide, sorted by volume descending. */ govApplicationsByService: Array<GovServiceApplicationCount>; /** * Chronological page of audit-trail events, oldest first. The cursor is the * stringified `seq` of the last returned event. */ govAuditTrail: GovAuditTrailConnection; govBudget?: Maybe<GovBudget>; govBudgetExecution?: Maybe<GovBudgetExecution>; govBudgets: GovBudgetConnection; /** Open escalations surfaced by the watch loop for the current workspace. */ govCaseEscalations: Array<GovCaseEscalation>; /** * Per-officer desk workload snapshot for the workspace (BOFF-5792): open, * due-soon (≤ 48h) and overdue case counts per assignee. An optional serviceId * narrows the snapshot to one service's queue. */ govCaseworkWorkload: Array<GovDeskWorkload>; govConsultation?: Maybe<GovConsultation>; govConsultationResults?: Maybe<GovConsultationResults>; govConsultations: GovConsultationConnection; /** Aggregate counts for the GovCitizenHub landing dashboard (workspace-scoped). */ govDashboardSummary: GovDashboardSummary; govDataChangeProposal?: Maybe<GovDataChangeProposal>; govDataChangeProposals: GovDataChangeProposalConnection; govDataset?: Maybe<GovDataset>; govDatasets: GovDatasetConnection; govElection?: Maybe<GovElection>; govElections: GovElectionConnection; /** * Export the trail (filtered) as CSV or PDF for external auditors. Both * formats carry the hash columns / chain verdict so the export is * independently re-verifiable. */ govExportAuditTrail: GovAuditExport; govGrievance?: Maybe<GovGrievance>; /** Liveness/identity probe for the GovCitizenHub subgraph. */ govHealth: Scalars['String']['output']; govIndicator?: Maybe<GovIndicator>; govIndicatorSeries?: Maybe<GovIndicatorSeries>; govIndicatorValues: GovIndicatorValueConnection; govIndicators: GovIndicatorConnection; govJurisdiction?: Maybe<GovJurisdiction>; govJurisdictionBenchmark?: Maybe<GovBenchmarkResult>; govJurisdictionBySlug?: Maybe<GovJurisdiction>; govJurisdictionEvents: GovJurisdictionEventConnection; /** * Citizen-issue insight for a jurisdiction, computed live from the existing * grievance model. */ govJurisdictionGrievanceInsights: GovGrievanceInsights; govJurisdictionInsights: Array<GovJurisdictionInsight>; govJurisdictionOverview?: Maybe<GovJurisdictionOverview>; govJurisdictionScorecard?: Maybe<GovJurisdictionScorecard>; /** * Service-delivery performance for a jurisdiction, computed live from the * existing service catalogue and casework models. */ govJurisdictionServicePerformance: GovServicePerformance; /** * The administrative hierarchy as a tree. Omit `rootId` to start at the * top-level jurisdictions. `maxDepth` is clamped to 6 tiers. */ govJurisdictionTree: Array<GovJurisdictionTreeNode>; govJurisdictions: GovJurisdictionConnection; govListAgencies: GovAgencyConnection; govListApplications: GovApplicationConnection; govListGrievances: GovGrievanceConnection; govListPayments: GovPaymentConnection; govListPermits: GovPermitConnection; govListRoutingRules: GovRoutingRuleConnection; govListServices: GovServiceConnection; govListSlaEscalationRules: GovSlaEscalationRuleConnection; /** * Officer/agency view of citizen wallet documents, filterable by citizen, * category and status. */ govListWalletDocuments: GovWalletDocumentConnection; /** * Self-scoped (Type B): one of the calling citizen's OWN applications. Owner- * filtered by the authenticated actor; anyone else's application is NOT_FOUND, * never FORBIDDEN. INTERNAL case notes are never returned on this path. */ govMyApplication: GovApplication; /** * Self-scoped (Type C, no identity arg): the calling citizen's own * applications. The resolver filters by the authenticated actor id — that * filter IS the access control — so any authenticated actor may call this * regardless of workspace RBAC role. Citizen-facing "my applications" UIs * must use this instead of `govListApplications`, which is restricted to * officer/agency roles. */ govMyApplications: GovApplicationConnection; /** The calling actor's own response to a consultation, if any. */ govMyConsultationResponse?: Maybe<GovConsultationResponse>; /** Corrections the calling actor has submitted. */ govMyDataChangeProposals: GovDataChangeProposalConnection; /** Jurisdictions the calling actor follows. */ govMyFollowedJurisdictions: GovJurisdictionConnection; /** * Self-scoped (Type B): one of the calling citizen's OWN grievances; anyone * else's is NOT_FOUND. */ govMyGrievance: GovGrievance; /** * Self-scoped (Type C, no identity arg): grievances filed by the calling * citizen (reporterId = authenticated actor id). */ govMyGrievances: GovGrievanceConnection; /** * Self-scoped (Type C, no identity arg): payments made by the calling * citizen (payerId = authenticated actor id). Citizen-facing "my payments" * UIs must use this instead of `govListPayments`, which is restricted to * officer/agency roles. */ govMyPayments: GovPaymentConnection; /** * Self-scoped (Type C, no identity arg): permits held by the calling * citizen (holderId = authenticated actor id). */ govMyPermits: GovPermitConnection; /** * Self-scoped (Type B): one of the calling citizen's OWN wallet documents. * Owner-filtered by the authenticated actor; anyone else's document is * NOT_FOUND, never FORBIDDEN. */ govMyWalletDocument: GovWalletDocument; /** * Self-scoped (Type C, no identity arg): the calling citizen's own document * wallet. The resolver filters by the authenticated actor id — that filter IS * the access control — so any authenticated actor may call this regardless of * workspace RBAC role. */ govMyWalletDocuments: GovWalletDocumentConnection; govOfficial?: Maybe<GovOfficial>; govOfficialCommitments: GovOfficialCommitmentConnection; govOfficials: GovOfficialConnection; govPayment?: Maybe<GovPayment>; /** Render the permit as a downloadable/printable PDF (BOFF-4060). */ govPermitPdf: GovPermitPdfDocument; govProject?: Maybe<GovProject>; govProjects: GovProjectConnection; govPublicAsset?: Maybe<GovPublicAsset>; /** Asset counts by category for a jurisdiction — drives map legends and registry summaries. */ govPublicAssetSummary: Array<GovAssetCategoryCount>; govPublicAssets: GovPublicAssetConnection; /** Self-scoped (Type B): one PUBLISHED service; any other status is NOT_FOUND. */ govPublishedService: GovService; /** * Self-scoped (Type C): the PUBLISHED service catalog for citizens. Draft, * suspended and retired services are never returned; no staff permission is * needed to browse what an agency has published. */ govPublishedServices: GovServiceConnection; govService?: Maybe<GovService>; /** * SLA compliance per assigned officer ("desk"), corpus-wide, sorted by active * volume descending. Groups below the minimum base size keep their counts but * withhold `compliancePercent` (`isSuppressed: true`). */ govSlaSummaryByDesk: Array<GovDeskSlaSummary>; /** * SLA compliance per administrative region, corpus-wide, sorted by active volume * descending. Regions below the minimum base size keep their counts but withhold * `compliancePercent` (`isSuppressed: true`). */ govSlaSummaryByRegion: Array<GovRegionSlaSummary>; /** Recompute the hash chain and report whether the stored trail is intact. */ govVerifyAuditTrail: GovAuditVerification; /** Public permit verification by its printed code (citizen-facing trust check). */ govVerifyPermit?: Maybe<GovPermit>; /** * Per-workspace watch-loop configuration. Returns the default disabled config * when no row has been created yet. */ govWatchLoopConfig: GovWatchLoopConfig; group?: Maybe<Group>; groupAuditLogs: Array<GroupAuditLog>; groupAuditLogsConnection: GroupAuditLogConnection; groupJoinRequests: Array<GroupMembership>; groupMembers: MembershipConnection; groupMembershipRules: Array<GroupMembershipRule>; groupMembershipRulesConnection: GroupMembershipRuleConnection; /** * Validate a group reference for an internal service actor in the current * workspace. Human actors must use `group`, which retains normal visibility * checks. Missing, deleted, and cross-workspace IDs return NOT_FOUND. */ groupReference?: Maybe<GroupReference>; groupRoleAssignments: Array<GroupRoleAssignment>; groupRoleAssignmentsConnection: GroupRoleAssignmentConnection; groupRuleExecutions: Array<GroupRuleSyncExecution>; groupRuleExecutionsConnection: GroupRuleSyncExecutionConnection; groupShareLinks: Array<GroupShareLink>; groupTags: Array<GroupTagAssignment>; groupTemplate?: Maybe<GroupTemplate>; groupTemplates: GroupTemplateConnection; groups: GroupConnection; /** Per-agent escalation configuration (defaults when never saved). */ handoffConfig: BotmanorHandoffConfig; /** The shared team inbox: handoffs for the calling workspace, newest first. */ handoffQueue: BotmanorHandoffList; /** Get an AI tool by ID */ headshotmarketingAITool?: Maybe<HeadshotmarketingAiTool>; /** Get an AI tool execution by ID */ headshotmarketingAIToolExecution?: Maybe<HeadshotmarketingAiToolExecution>; /** List AI tool executions with optional filters and pagination */ headshotmarketingAIToolExecutions: HeadshotmarketingAiToolExecutionList; /** List AI tools with optional filters and pagination */ headshotmarketingAITools: HeadshotmarketingAiToolList; headshotmarketingAdBudgetRecommendations: HeadshotmarketingAdBudgetRecommendationList; /** Get a specific ad campaign by ID */ headshotmarketingAdCampaign?: Maybe<HeadshotmarketingAdCampaign>; /** List ad campaigns with optional filters */ headshotmarketingAdCampaigns: HeadshotmarketingAdCampaignList; /** Get a specific ad creative by ID */ headshotmarketingAdCreative?: Maybe<HeadshotmarketingAdCreative>; /** Get one A/B creative test with its live (or frozen) comparison */ headshotmarketingAdCreativeTest?: Maybe<HeadshotmarketingAdCreativeTest>; /** List A/B creative tests, newest first */ headshotmarketingAdCreativeTests: HeadshotmarketingAdCreativeTestList; /** List ad creatives with optional filters */ headshotmarketingAdCreatives: HeadshotmarketingAdCreativeList; /** Get aggregated ad performance metrics for the workspace */ headshotmarketingAdMetrics: HeadshotmarketingAdMetrics; headshotmarketingAdPlatformConnections: HeadshotmarketingAdPlatformConnectionList; /** External ad-network sync log (push + pull attempts), newest first. */ headshotmarketingAdSyncAttempts: HeadshotmarketingAdSyncAttemptList; /** * Every AI run of the workspace, newest first, with cursor pagination * (BOFF-3771). Reading the AI-run ledger needs the platform's AI-ledger read * permission (prompt-invocation:read, EDITOR and above), the same permission * that guards the shared ledger itself. */ headshotmarketingAgentRuns: HeadshotmarketingAgentRunConnection; /** * Roll up the workspace's daily channel-performance and campaign-analytics * records between dateRange.start and dateRange.end (inclusive, at most 732 * days). `topCampaignLimit` defaults to 10 and is capped at 50. */ headshotmarketingAnalyticsOverview: HeadshotmarketingAnalyticsOverview; /** * Compute a deterministic attribution report (first-touch, linear, time-decay * and position-based) for a WON deal or a CONVERTED lead. Exactly one of * dealId/leadId must be supplied. `timeDecayHalfLifeDays` overrides the * time-decay half-life (default 7 days; ignored when not positive). */ headshotmarketingAttributionReport: HeadshotmarketingAttributionReport; /** * Attribute every deal closed WON between startDate and endDate (default: the * 90 days ending now) under one model and roll the credited revenue up by * channel and by campaign. DATA_DRIVEN learns channel weights from the * window's converting and non-converting journeys and reports them only when * there is enough data (see `dataDriven`). */ headshotmarketingAttributionSummary: HeadshotmarketingAttributionSummary; /** Get a specific audience by ID */ headshotmarketingAudience?: Maybe<HeadshotmarketingAudience>; /** Get one AI audience suggestion */ headshotmarketingAudienceSuggestion?: Maybe<HeadshotmarketingAudienceSuggestion>; /** List AI audience suggestions, newest first */ headshotmarketingAudienceSuggestions: HeadshotmarketingAudienceSuggestionList; /** List audiences with optional filters */ headshotmarketingAudiences: HeadshotmarketingAudienceList; /** Get a single automation workflow by id. */ headshotmarketingAutomationWorkflow?: Maybe<HeadshotmarketingAutomationWorkflow>; /** Get a single run by id. */ headshotmarketingAutomationWorkflowRun?: Maybe<HeadshotmarketingAutomationWorkflowRun>; /** * Per-step execution log for a run, in execution order (a retried step * appears once per attempt). */ headshotmarketingAutomationWorkflowRunLogs: Array<HeadshotmarketingAutomationWorkflowRunLog>; /** List execution runs, optionally filtered by workflow/status. */ headshotmarketingAutomationWorkflowRuns: HeadshotmarketingAutomationWorkflowRunList; /** List automation workflows for the workspace. */ headshotmarketingAutomationWorkflows: HeadshotmarketingAutomationWorkflowList; /** * Live state of the autonomous marketing loop for this workspace: feature * flag, opt-in, per-workspace daily decision budget usage and schedules. */ headshotmarketingAutonomousLoopStatus: HeadshotmarketingAutonomousLoopStatus; /** Get a specific campaign by ID */ headshotmarketingCampaign?: Maybe<HeadshotmarketingCampaign>; /** * Get campaign analytics for a specific campaign and date range * (product-domain source data). */ headshotmarketingCampaignAnalytics: HeadshotmarketingCampaignAnalyticsList; /** Get a specific campaign template by ID */ headshotmarketingCampaignTemplate?: Maybe<HeadshotmarketingCampaignTemplate>; /** List campaign templates with optional filters */ headshotmarketingCampaignTemplates: HeadshotmarketingCampaignTemplateList; /** List campaigns with optional filters */ headshotmarketingCampaigns: HeadshotmarketingCampaignList; /** * Get channel performance data for a date range (product-domain source data). * For cross-product dashboards/funnels/time-series, query wspace-analytics-svc * (AnalyticsDashboard, AnalyticsWidget, Metric, Funnel) directly. */ headshotmarketingChannelPerformance: HeadshotmarketingChannelPerformanceList; /** Get a specific contact by ID */ headshotmarketingContact?: Maybe<HeadshotmarketingContact>; /** Get activity history for a contact */ headshotmarketingContactActivities: HeadshotmarketingContactActivityList; /** List contacts with optional filters */ headshotmarketingContacts: HeadshotmarketingContactList; /** Get a content item by ID */ headshotmarketingContentItem?: Maybe<HeadshotmarketingContentItem>; /** List content items with optional filters and pagination */ headshotmarketingContentItems: HeadshotmarketingContentItemList; /** Get aggregated content performance metrics */ headshotmarketingContentPerformance: HeadshotmarketingContentPerformance; /** * The curated cross-cultural considerations checklist, optionally filtered * by target region(s) and/or category. Static reference data, not AI output. */ headshotmarketingCulturalConsiderations: Array<HeadshotmarketingCulturalConsideration>; /** Get a specific deal by ID */ headshotmarketingDeal?: Maybe<HeadshotmarketingDeal>; /** List deals with optional filters */ headshotmarketingDeals: HeadshotmarketingDealList; /** Discover influencers with advanced search filters */ headshotmarketingDiscoverInfluencers: HeadshotmarketingInfluencerList; /** Estimate the daily reach range for an ad set given a target audience and budget */ headshotmarketingEstimateAdReach: HeadshotmarketingAdReachEstimate; /** Get a marketing event by ID */ headshotmarketingEvent?: Maybe<HeadshotmarketingEvent>; /** Get an event registration by ID */ headshotmarketingEventRegistration?: Maybe<HeadshotmarketingEventRegistration>; /** List event registrations with optional filters and pagination */ headshotmarketingEventRegistrations: HeadshotmarketingEventRegistrationList; /** Get an event speaker by ID */ headshotmarketingEventSpeaker?: Maybe<HeadshotmarketingEventSpeaker>; /** List event speakers with optional filters and pagination */ headshotmarketingEventSpeakers: HeadshotmarketingEventSpeakerList; /** List marketing events with optional filters and pagination */ headshotmarketingEvents: HeadshotmarketingEventList; /** * Deterministic keyword scan of a piece of copy against the curated * checklist for the given target regions. NOT an AI judgment -- every match * is a plain substring/keyword hit you can verify by reading the copy. */ headshotmarketingFlagCulturalConsiderations: Array<HeadshotmarketingCulturalFlag>; /** * Anonymous liveness probe. Always returns "headshotmarketing:ok" when the * HeadshotMarketing subgraph is reachable through the gateway. */ headshotmarketingHealth: Scalars['String']['output']; /** Get a specific influencer by ID */ headshotmarketingInfluencer?: Maybe<HeadshotmarketingInfluencer>; /** Get a specific influencer campaign by ID */ headshotmarketingInfluencerCampaign?: Maybe<HeadshotmarketingInfluencerCampaign>; /** List influencer campaigns with optional filters */ headshotmarketingInfluencerCampaigns: HeadshotmarketingInfluencerCampaignList; /** Get a specific influencer relationship by ID */ headshotmarketingInfluencerRelationship?: Maybe<HeadshotmarketingInfluencerRelationship>; /** List influencer relationships with optional filters */ headshotmarketingInfluencerRelationships: HeadshotmarketingInfluencerRelationshipList; /** List influencers with optional filters */ headshotmarketingInfluencers: HeadshotmarketingInfluencerList; /** The full connector catalog — what HeadshotMarketing can integrate with today and on the roadmap. */ headshotmarketingIntegrationListings: HeadshotmarketingIntegrationListingList; /** Get a landing page by ID */ headshotmarketingLandingPage?: Maybe<HeadshotmarketingLandingPage>; /** Get a landing page by its slug */ headshotmarketingLandingPageBySlug?: Maybe<HeadshotmarketingLandingPage>; /** List landing pages with optional filters and pagination */ headshotmarketingLandingPages: HeadshotmarketingLandingPageList; /** Get a specific lead by ID */ headshotmarketingLead?: Maybe<HeadshotmarketingLead>; /** The ad-network click ids stored on a lead, oldest first. */ headshotmarketingLeadAdNetworkClicks: Array<HeadshotmarketingAdNetworkClick>; /** List leads with optional filters */ headshotmarketingLeads: HeadshotmarketingLeadList; /** * The customer lifecycle funnel (Visitors -> Leads -> MQL -> Customers) * between dateRange.start and dateRange.end (inclusive, at most 732 days). */ headshotmarketingLifecycleFunnel: HeadshotmarketingLifecycleFunnel; /** * Customer-lifetime-value attribution for the customers acquired between * startDate and endDate (default: the 90 days ending now): each customer's * total WON revenue to date, credited under one model to the touchpoints that * acquired them and rolled up by channel and by campaign. */ headshotmarketingLifetimeValueAttribution: HeadshotmarketingLifetimeValueAttribution; /** * A month's goal and progress against actuals. `month` is YYYY-MM and defaults * to the current UTC month. */ headshotmarketingMonthlyGoalProgress: HeadshotmarketingMonthlyGoalProgress; /** One of the calling actor's own agent conversations, with full history. */ headshotmarketingMyAgentConversation?: Maybe<HeadshotmarketingAgentConversation>; /** The calling actor's own agent conversations (self-scoped). */ headshotmarketingMyAgentConversations: HeadshotmarketingAgentConversationList; /** Get a specific pipeline by ID */ headshotmarketingPipeline?: Maybe<HeadshotmarketingPipeline>; /** Get pipeline overview with deal counts and values per stage */ headshotmarketingPipelineOverview?: Maybe<HeadshotmarketingPipelineOverview>; /** List pipelines with optional filters */ headshotmarketingPipelines: HeadshotmarketingPipelineList; /** * PUBLIC, unauthenticated fetch of a PUBLISHED landing page by slug, for the * public renderer at `/lp/{slug}`. Resolves WITHOUT a workspace context: it * matches across all workspaces and returns only published, not-deleted pages * (and their visible sections). Slugs are not globally unique, so when more * than one published page shares a slug the most recently published one is * returned. Exposes only public renderer fields — no workspace-internal data. */ headshotmarketingPublicLandingPage?: Maybe<HeadshotmarketingPublicLandingPage>; /** Get an SEO audit by ID */ headshotmarketingSEOAudit?: Maybe<HeadshotmarketingSeoAudit>; /** List SEO audits with optional filters and pagination */ headshotmarketingSEOAudits: HeadshotmarketingSeoAuditList; /** Get an SEO keyword by ID */ headshotmarketingSEOKeyword?: Maybe<HeadshotmarketingSeoKeyword>; /** Rank history of a tracked keyword, newest first (default 30, max 365). */ headshotmarketingSEOKeywordRankHistory: Array<HeadshotmarketingSeoKeywordRankCheck>; /** List SEO keywords with optional filters and pagination */ headshotmarketingSEOKeywords: HeadshotmarketingSeoKeywordList; /** Get aggregated SEO overview metrics for the workspace */ headshotmarketingSEOOverview: HeadshotmarketingSeoOverview; /** Whether the SEO keyword data provider and rank tracking are available. */ headshotmarketingSEOProviderStatus: HeadshotmarketingSeoProviderStatus; /** One saved report, or null when it does not exist in this workspace. */ headshotmarketingSavedReport?: Maybe<HeadshotmarketingSavedReport>; /** Delivery attempts of a saved report, most recent first. */ headshotmarketingSavedReportDeliveryRuns: HeadshotmarketingSavedReportDeliveryRunList; /** The workspace's saved reports, most recently updated first. */ headshotmarketingSavedReports: HeadshotmarketingSavedReportList; /** Get a specific social account by ID */ headshotmarketingSocialAccount?: Maybe<HeadshotmarketingSocialAccount>; /** List social accounts with optional filters */ headshotmarketingSocialAccounts: HeadshotmarketingSocialAccountList; /** Get a specific social mention by ID */ headshotmarketingSocialMention?: Maybe<HeadshotmarketingSocialMention>; /** List inbound social mentions/comments/DMs (BOFF-4218 listening + community management) */ headshotmarketingSocialMentions: HeadshotmarketingSocialMentionList; /** Get aggregated social media metrics for the workspace */ headshotmarketingSocialMetrics: HeadshotmarketingSocialMetrics; /** Get a specific social post by ID */ headshotmarketingSocialPost?: Maybe<HeadshotmarketingSocialPost>; /** List social posts with optional filters */ headshotmarketingSocialPosts: HeadshotmarketingSocialPostList; /** * List raw touchpoint events for a contact/lead/deal/campaign (at least one * filter is required). */ headshotmarketingTouchpoints: HeadshotmarketingTouchpointEventList; /** List tracked links, newest first. At least one filter is required. */ headshotmarketingTrackedLinks: HeadshotmarketingTrackedLinkList; /** Audit log of past translateCampaignCopy calls for this workspace. */ headshotmarketingTranslationLogs: HeadshotmarketingTranslationLogList; /** This workspace's active connector connections. */ headshotmarketingWorkspaceIntegrationConnections: HeadshotmarketingWorkspaceIntegrationConnectionList; /** Whether this schema accepts separate cache counts in assistant usage reports. */ healthyBowlAiCacheTokensSupported: Scalars['Boolean']['output']; /** A single animal's full deep record (EID, BCS, group, genealogy, grazing, ADG, weight history, withdrawal). */ healthyBowlAnimalDepth: HealthyBowlAnimalDepthRecord; /** Animal groups with computed member counts. */ healthyBowlAnimalGroups: Array<HealthyBowlAnimalGroup>; /** * An animal's pedigree — ancestors N generations up, plus its recorded offspring. * `ancestorDepth` defaults to 4 and is clamped to 1..8; `offspringDepth` defaults to 1 (direct * children) and is clamped to 1..4. A depth outside the range is clamped rather than rejected — it * reads as "as much as you can give me" — and the applied value is echoed back on the payload. * Culled/sold ancestors are RETURNED with `archived: true` rather than dropped, so a branch does not * vanish when a cow is sold (BOFF-6011). Offspring are live-only. * Reuses the seeded `healthybowl_animal` resource like every other query here — no new RBAC * resource, so no seed-gap 403. */ healthyBowlAnimalPedigree: HealthyBowlAnimalPedigree; /** Read a single auction by id. A live auction past endTime auto-closes on read. */ healthyBowlAuction?: Maybe<Auction>; /** List auctions for the workspace. Pass status to filter (draft/live/closed/cancelled). Live auctions past endTime auto-close on read. */ healthyBowlAuctions: Array<Auction>; /** List planting beds for the workspace. Pass fieldId to filter to a single field. */ healthyBowlBeds: Array<Bed>; /** Bid history for an auction (most recent first). */ healthyBowlBids: Array<Bid>; /** A single contact with its order history and lifetime-value summary. */ healthyBowlContact: HealthyBowlContactDetail; /** Searchable contact list. Filter by type (BUYER|SUPPLIER), status, and a free-text search over name/phone/email. */ healthyBowlContacts: Array<HealthyBowlContact>; /** List weather early-warning rules for the workspace. */ healthyBowlDiseaseWarningRules: Array<DiseaseWarningRule>; /** * The grazing view: current occupancy, days in, days rested, stocking rate and recent moves. * * Rest state is computed from the paddock's whole history, NOT from the window — a paddock last * grazed before `from` is rested, not ungrazed. The window only bounds the move lists. */ healthyBowlGrazing: HealthyBowlGrazingView; /** Grazing events for one paddock or one animal, newest first. */ healthyBowlGrazingEvents: Array<HealthyBowlGrazingEvent>; /** * Deep herd view: one row per animal with group/BCS/ADG/withdrawal + a herd compliance summary. * `search` matches tag number, name or EID (case-insensitive, substring) across the whole herd; * `groups[].animalCount` always counts the herd, never the matches. * Archived (soft-deleted) animals are excluded unless asked for — they are still valid dam/sire * references, which is what `includeArchived` exists for (BOFF-6195). They are additive to `rows` * ONLY: `summary` and every `groups[].animalCount` always describe the LIVE herd, so opening a * genealogy picker can never move the compliance figures on the herd list. */ healthyBowlHerdDepth: HealthyBowlHerdDepthView; /** * Orders placed AGAINST this farm by a buyer in another workspace. * * Cross-workspace by necessity — the row lives in the buyer's workspace. `sellerWorkspaceId` is * pinned to the caller's own workspace, so a farm can only ever see orders naming itself as seller. */ healthyBowlIncomingOrders: Array<Order>; /** List irrigation automation rules for the workspace. Pass scheduleId or fieldId to filter. */ healthyBowlIrrigationAutomations: Array<IrrigationAutomation>; /** Read a single irrigation schedule by id. */ healthyBowlIrrigationSchedule?: Maybe<IrrigationSchedule>; /** List irrigation schedules for the workspace. Pass fieldId to filter to a single field. */ healthyBowlIrrigationSchedules: Array<IrrigationSchedule>; /** * Feed analytics — intake and spend per bucket, with feed-conversion and cost-per-kg-gained. * * Shares the window and granularity contract with `healthyBowlLivestockGrowth` so the two charts * describe the same period. Gain is derived from the same weight records that chart plots. */ healthyBowlLivestockFeed: HealthyBowlLivestockFeed; /** * Fertility analytics — conception, calving interval, litter size, age at first calving. * * Reuses `healthybowl_animal` like every other query here. NOTE: this service holds 600+ @rbac * directives and no seed rows, so the directive documents intent; it is not proof of enforcement. */ healthyBowlLivestockFertility: HealthyBowlLivestockFertility; /** * Growth analytics — one weight curve per animal, a herd-average line, and the ADG leaders. * * Window defaults to the last 180 days; `granularity` (DAY|WEEK|MONTH, default WEEK) controls the * herd-average buckets only — per-animal points are always the raw measurements. ADG here is * computed over the window, so it can differ from the lifetime ADG on the deep herd view. */ healthyBowlLivestockGrowth: HealthyBowlLivestockGrowth; /** * Herd statistics — composition by species/sex/status/age band, turnover, and production per head. * * Shares the window and granularity contract with `healthyBowlLivestockGrowth` and * `healthyBowlLivestockFeed` so all the livestock charts describe the same period. Composition is a * snapshot as of the window end (`summary.asOf`); turnover and production cover the whole window. * * Mortality is reported as unavailable rather than guessed — see * `HealthyBowlHerdTurnover.mortalityRatePct`. */ healthyBowlLivestockHerdStats: HealthyBowlLivestockHerdStats; /** List non-field map elements for the workspace. Pass type to filter by feature type. */ healthyBowlMapFeatures: Array<MapFeature>; /** Read a single nursery batch by id. */ healthyBowlNurseryBatch?: Maybe<NurseryBatch>; /** List nursery batches for the workspace. Pass seedLotId to filter to a single seed lot. */ healthyBowlNurseryBatches: Array<NurseryBatch>; /** * Buyer-readable shipment tracking + cold-chain for one of their orders. Backed by a real * movethewheels Shipment; returns hasShipment=false (empty timeline) when none exists yet. Gated with * the same order resource as the existing order-list query so a buyer/seller who can see the order can * see its shipment. */ healthyBowlOrderShipment: HealthyBowlOrderShipment; /** List the workspace's Master Plant List (editable variety catalog). */ healthyBowlPlantCatalog: Array<PlantCatalogEntry>; /** * Browse the workspace Master Plant List in createdAt/id order, with the legacy lazy * starter initialization. Search is case-insensitive; category preserves raw identity. * uncategorized: true matches null/trim-blank labels. Default 50, maximum 100. * ID and trimmed, case-insensitive exact name/variety predicates also support bounded * selected-metadata lookup. Omitted/null variety is unfiltered; an explicit empty * variety matches null/trim-blank stored varieties. Supplied filters are intersected. */ healthyBowlPlantCatalogPage: HealthyBowlPlantCatalogPage; /** I-7 — list planting/execution activities, optionally scoped to a plan or bed. */ healthyBowlPlantingActivities: Array<PlantingActivity>; /** * BOFF-6100 — bed capacity and seed rate for a field, derived on the server. * * The same maths also runs in the browser so a farmer dragging a spacing slider sees numbers move * without a round trip. This is the copy that decides what gets *written*: spec 02 §3.8 asks for a * pure server-side calculator because two clients could otherwise disagree about plants-per-area * for the same field. */ healthyBowlPlantingEstimate: HealthyBowlPlantingEstimate; /** I-8 — planned-vs-actual execution rollup for a single planting plan. */ healthyBowlPlantingPlanExecution: HealthyBowlPlanExecution; /** Read a single seed lot by id. */ healthyBowlSeedLot?: Maybe<SeedLot>; /** List seed lots for the workspace. Pass supplierId to filter to a single supplier. */ healthyBowlSeedLots: Array<SeedLot>; /** * Live auctions on listings published to the shared cross-farm market by ANY farm — cross-workspace * by design. Only auctions on shared, in-stock, non-deleted listings that are live and not past their * end time are returned. Reuses the shared-market RBAC resource (no new seed rows). */ healthyBowlSharedMarketAuctions: Array<SharedMarketAuction>; /** * Listings published to the shared cross-farm market by ANY farm — cross-workspace by design. * Only in-stock, non-deleted, explicitly-shared listings are returned. */ healthyBowlSharedMarketListings: Array<SharedMarketListing>; /** * Stock-movement timeline, newest first. * * Defaults to warehouse lot movements. Pass `productId` for a finished-goods product's * adjustment ledger instead (BOFF-6371). */ healthyBowlStockMovements: Array<HealthyBowlStockMovement>; /** Flat list of storage locations. Filter by kind (WAREHOUSE|BIN). */ healthyBowlStorageLocations: Array<HealthyBowlStorageLocation>; /** A lot with its full IN/OUT movement history. */ healthyBowlStorageLot: HealthyBowlStorageLotDetail; /** The Storage page payload: warehouses with capacity + bins/lots, and recent movements. */ healthyBowlStorageOverview: HealthyBowlStorageOverview; /** Read a single supplier by id. */ healthyBowlSupplier?: Maybe<Supplier>; /** List the messages in a supplier's conversation thread. Empty until the first message is sent. */ healthyBowlSupplierMessages: Array<SupplierMessage>; /** List suppliers for the workspace. */ healthyBowlSuppliers: Array<Supplier>; /** List watering runs for the workspace. Pass scheduleId or fieldId to filter. */ healthyBowlWateringRuns: Array<WateringRun>; /** Workspace activation dashboard: real counts for each HookMovies activation event. */ hokActivationFunnel: HokActivationFunnel; hokAdCampaign?: Maybe<HokAdCampaign>; /** Real ad revenue for a period, from confirmed impressions only. */ hokAdRevenueReport: HokAdRevenueReport; hokAdSettings: HokAdSettings; /** Operator audit: the server-side tracker deliveries of one ad decision (linear streams). */ hokAdTrackerDeliveries: Array<HokAdTrackerDelivery>; /** A live draft call sheet generated from the schedule and the cast/crew roster. */ hokCallSheet?: Maybe<HokCallSheet>; /** * A fresh short-lived download URL for the PDF of one published call-sheet * version; null when the version has no stored PDF. */ hokCallSheetPdfUrl?: Maybe<Scalars['String']['output']>; /** Planned ad breaks on a FAST channel's timeline inside the [from, to] window. */ hokChannelAdBreaks: Array<HokChannelAdBreakSlot>; /** The channel's HLS feed, or null when it has none. */ hokChannelHlsFeed?: Maybe<HokChannelHlsFeed>; /** * Schedule blocks for a channel overlapping the [from, to] window (defaults to * an open-ended window when omitted), ordered by start time. */ hokChannelSchedule: HokScheduleBlockConnection; /** * Check whether the calling user can watch a title now (self-scoped). * When `viewerTerritory` is supplied (ISO 3166-1 alpha-2, e.g. "IN", "US"), * the check additionally enforces territory restrictions: the entitlement's * territory (if set) must match, and at least one active rights window for * the title must cover the viewer's territory (empty territories = worldwide). */ hokCheckEntitlement: HokEntitlementCheck; /** The daily production report of a shoot day, if one was started. */ hokDailyReport?: Maybe<HokDailyReport>; /** * Forecast where a production's spend will land, with low / expected / high * ranges per line. Read-only. */ hokForecastProductionBudget: HokBudgetForecast; /** Preview an invite by its token before accepting or declining it. */ hokGuardianInvite: HokGuardianInvitePreview; /** Liveness/identity probe for the HookMovies subgraph. */ hokHealth: Scalars['String']['output']; hokList?: Maybe<HokList>; hokListAdCampaigns: HokAdCampaignConnection; hokListApplications: HokApplicationConnection; hokListAuditions: HokAuditionConnection; /** Published call-sheet snapshots of a shoot day, newest version first. */ hokListCallSheets: Array<HokCallSheet>; /** Casting team: callbacks for one application or every application on an audition. */ hokListCallbacks: HokCallbackConnection; hokListChannels: HokChannelConnection; hokListClips: HokClipConnection; hokListCostItems: Array<HokCostItem>; /** Every daily production report of a production, in shoot-date order. */ hokListDailyReports: Array<HokDailyReport>; /** Trust & safety: the dispute review queue. */ hokListDisputes: HokDisputeConnection; /** Embeds in this workspace, newest first, optionally narrowed to one title. */ hokListEmbeds: HokEmbedConnection; hokListEpisodes: HokEpisodeConnection; /** HLS packages in this workspace, newest first. */ hokListHlsPackages: Array<HokHlsPackage>; hokListIdentityVerifications: HokIdentityVerificationConnection; hokListLocalizations: HokLocalizationConnection; hokListLocations: Array<HokLocation>; /** Renditions attached to a title's feature video, or to one episode. */ hokListMediaRenditions: Array<HokMediaRendition>; hokListModerationFlags: HokModerationFlagConnection; /** Casting team: offers for one application or every application on an audition. */ hokListOffers: HokOfferConnection; /** Partner apps admitted to this studio's catalog, newest first. */ hokListPartnerAccess: HokPartnerAccessConnection; hokListPeople: HokPersonConnection; hokListProductionMembers: Array<HokProductionMember>; hokListProductions: HokProductionConnection; hokListReviews: HokReviewConnection; hokListRightsWindows: HokRightsWindowConnection; hokListRoyaltyRevenuePools: HokRoyaltyRevenuePoolConnection; hokListScenes: Array<HokScene>; hokListStudios: HokStudioConnection; /** Production invitations, filtered by person, production and/or status. */ hokListTalentInvitations: HokTalentInvitationConnection; /** A person's reel, in display order. */ hokListTalentReel: HokTalentReelConnection; hokListTitleRoyaltySplits: Array<HokRoyaltySplit>; hokListTitles: HokTitleConnection; hokListWatchOffers: HokWatchOfferConnection; hokListWatchProviders: HokWatchProviderConnection; /** Talent/guardian: callbacks addressed to the caller. */ hokMyCallbacks: HokCallbackConnection; /** * Export all HookMovies data linked to the calling user (self-scoped). * Satisfies GDPR Art. 15 (access) and Art. 20 (portability) for this * service's user-linked data. Returns a structured JSON payload. */ hokMyDataExport: HokDataExport; /** Talent/guardian: disputes on the caller's offers. */ hokMyDisputes: HokDisputeConnection; /** The calling user's own entitlements (self-scoped: filtered by ctx.actorId). */ hokMyEntitlements: HokEntitlementConnection; /** Guardian links where the caller is the minor or the guardian, newest first. */ hokMyGuardianLinks: Array<HokGuardianLink>; /** * The calling actor's own most recent PERSON identity verification, or null if * none was ever submitted (self-scoped: filtered by ctx.actorId). */ hokMyIdentityVerification?: Maybe<HokIdentityVerification>; /** * Legal-acceptance checkpoints recorded by the CALLING actor for a specific * checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access * control, no identity arg. Used by the app shell to decide whether to show * the acceptance gate before letting the actor into core flows. */ hokMyLegalAcceptances: HokLegalAcceptanceConnection; /** The calling user's own lists (self-scoped: filtered by ctx.actorId). */ hokMyLists: HokListConnection; /** Talent/guardian: offers addressed to the caller. */ hokMyOffers: HokOfferConnection; /** The caller's own offline licenses, newest first (self-scoped). */ hokMyOfflineLicenses: HokOfflineLicenseConnection; /** The calling user's own preferences (self-scoped: filtered by ctx.actorId). */ hokMyPreferences?: Maybe<HokPreferences>; /** * The calling account's own viewing profiles (self-scoped to ctx.actorId). * Paginated; defaults to 50 profiles per page with a server-enforced max of 100. */ hokMyProfiles: HokProfileConnection; /** * The caller's alert inbox. Gated on audition read access because each alert * resolves to a casting call; the resolver still filters to the caller's own alerts. */ hokMySavedSearchAlerts: HokSavedSearchAlertConnection; hokMySavedSearches: Array<HokSavedSearch>; /** * The calling viewer's taste profile: the seeds behind their feed and their * explicit edits. */ hokMyTasteProfile: HokTasteProfile; /** The calling user's continue-watching / progress entries (self-scoped). */ hokMyWatchProgress: HokWatchProgressConnection; /** The block currently airing on a channel (startAt <= now < endAt), or null. */ hokNowPlaying?: Maybe<HokScheduleBlock>; /** Whether the caller can download the title (episode) on this device now (self-scoped). */ hokOfflineEligibility: HokOfflineEligibility; /** Getting-started checklist progress for the calling user in this workspace. */ hokOnboardingStatus: HokOnboardingStatus; /** * Propose an optimised shooting schedule from the script breakdown. Read-only; * hokApplyShootingSchedule writes a confirmed schedule. */ hokOptimizeShootingSchedule: HokScheduleOptimization; /** PARTNER API. Current and upcoming ACTIVE rights windows of a published title. */ hokPartnerAvailability: HokPartnerAvailability; /** * PARTNER API. Published titles, ordered by `ref`. With `territory`, only titles * an ACTIVE rights window makes available there right now. */ hokPartnerCatalog: HokPartnerTitleConnection; /** * PARTNER API. Entitlement check: may the title be offered in `territory` * (under `mode`, if given) at `at` (default now)? */ hokPartnerCheckRights: HokPartnerRightsCheck; /** The rate tiers a partner can be put on. */ hokPartnerTiers: Array<HokPartnerTierLimits>; /** PARTNER API. One published title, or null. */ hokPartnerTitle?: Maybe<HokPartnerTitle>; /** * Resolve what the calling viewer may play for a title or one of its episodes * (self-scoped: the entitlement checked is always the caller's own). The * territory comes from the edge (Cloudflare) country of the request, never * from the client. URLs are minted only when `status` is PLAYABLE. */ hokPlaybackSource: HokPlaybackSource; hokProduction?: Maybe<HokProduction>; hokProductionBudget?: Maybe<HokProductionBudget>; /** * PUBLIC · UNAUTHENTICATED. What the `/embed/:publicId` player plays. Returns * null for a revoked, deleted or unknown embed, an unpublished title, or media * that can no longer be read — never an error. */ hokPublicEmbed?: Maybe<HokPublicEmbed>; /** * Personalised recommendations for the calling viewer, built only from the * caller's own watch progress, reviews, lists and preferences. `variant` * overrides the caller's experiment bucket (used for QA and evaluation). */ hokRecommendForViewer: HokRecommendationFeed; /** Click-through per experiment arm over the last `sinceDays` days (default 30). */ hokRecommendationExperimentSummary: HokRecommendationExperimentSummary; /** * The multi-rail home for the calling viewer: Recommended for you, Trending in * your region/language, Top 10 in your country, Leaving soon and From creators * you follow. `territory` is an ISO 3166-1 alpha-2 code (adds availability to * every card); `language` defaults to the viewer's first preferred language. * The rails are disjoint: a title appears on at most one rail, and titles the * viewer is part-way through are left to Continue watching. Top 10 keeps its * true chart ranks; the other rails share the remaining titles in turns and * backfill from their own ranking. Rails are returned in display order: per * viewer by observed click-through (a UCB1-Tuned bandit) once the viewer has * enough history, with Recommended for you first for cold-start viewers; see * `ordering`. */ hokRecommendationRails: HokRecommendationRails; /** Two-sided reputation for a talent (PERSON) or a studio (STUDIO). */ hokReputation: HokReputation; /** The transparent royalty ledger: every calculated (title, payee, mode, period) row and exactly what it's based on. */ hokRoyaltyLedger: HokRoyaltyLedgerEntryConnection; /** What a specific rights participant is owed for a period, totalled by currency. */ hokRoyaltySummary: HokRoyaltySummary; /** * Open casting calls that match one of the caller's saved searches (the * saved search is owner-filtered to the caller). */ hokSavedSearchMatches: HokAuditionConnection; hokScene?: Maybe<HokScene>; /** * Conflict detection across the production's schedule, including clashes with * other productions in the workspace (cast and location double-booking). */ hokScheduleConflicts: Array<HokScheduleConflict>; /** * Find people by name across scripts, spellings and sound-alikes * ("Rajnikant" or "ரஜினிகாந்த்" finds "Rajinikanth"). */ hokSearchPeople: Array<HokPersonNameMatch>; /** Find studios/channels by name across scripts, spellings and sound-alikes. */ hokSearchStudios: Array<HokStudioNameMatch>; /** * Natural-language, multilingual catalog search. Understands moods and genres * ("uplifting", "slow-burn neo-noir"), languages ("Tamil", "not in English"), * runtime ("under 2 hours"), type, era and family-safety, matches titles across * scripts and localisations, and boosts titles crediting people the query names. */ hokSemanticSearch: HokSemanticSearchResult; /** * Titles similar to the given title ("more like this"), ranked by shared cast, * key crew, studio, genres, tags, language, format and era. Titles the caller * marked "not interested" or "hide titles like this" are left out; with a * `territory`, every item carries its availability there. */ hokSimilarTitles: Array<HokRecommendation>; /** * The shooting calendar: shoot days in date order with their strips, plus the * scenes not yet scheduled. */ hokStripboard: HokStripboard; /** Creator/studio dashboard roll-up across every title owned by a studio. */ hokStudioAnalytics: HokStudioAnalytics; /** * Suggest cast for a production from the catalog's people and credits, with * explainable fit scores. Read-only. */ hokSuggestCastForProduction: HokCastSuggestions; /** * Suggest crew by role from catalog credits and this workspace's past rosters. * Read-only. */ hokSuggestCrewForProduction: HokCrewSuggestions; /** * Propose a production plan (schedule phases, budget envelope, milestones) * from a free-text brief. Read-only. */ hokSuggestProductionPlan: HokProductionPlanProposal; /** * A person's filmography, newest release first, optionally filtered by role or * title type. Only published titles are listed. */ hokTalentFilmography: HokFilmographyConnection; /** * The talent profile of one person, looked up by its slug or its id. Null when * no such person exists in the workspace. */ hokTalentProfile?: Maybe<HokTalentProfile>; hokTitle?: Maybe<HokTitle>; /** Creator/studio dashboard numbers for one title, real-aggregated from HokPlaybackEvent. */ hokTitleAnalytics: HokTitleAnalytics; /** * Distinct facet values present in the workspace's live catalog (languages, * countries, genres, release years) — drives the catalog filter dropdowns. */ hokTitleFacets: HokTitleFacets; hokWatchParty?: Maybe<HokWatchParty>; /** * Where can this title be watched in `territory` (ISO 3166-1 alpha-2), and * what does it cost? Merges HookMovies' active rights windows with external * provider offers. Never fails because a provider feed is down: the result * is flagged `degraded` instead. */ hokWhereToWatch: HokWhereToWatch; housingvistaAmcContract?: Maybe<HousingVistaAmcContract>; housingvistaAmcContracts: Array<HousingVistaAmcContract>; housingvistaAnalytics: HousingVistaAnalytics; housingvistaAreaInsight?: Maybe<HousingVistaAreaInsight>; housingvistaAreaInsights: Array<HousingVistaAreaInsight>; housingvistaAsset?: Maybe<HousingVistaAsset>; housingvistaAssets: Array<HousingVistaAsset>; /** * Live per-workspace counts for HousingVista's gauge quotas (listings, * transactions, units, assets, AMC contracts, providers, shortlists) plus 0 * for the investments.sponsor entitlement, across every workspace. Service * actors only (wspace-activity-svc count reconciler); any other caller gets * FORBIDDEN. */ housingvistaCountMetrics: Array<HousingVistaQuotaCountMetric>; housingvistaDashboardStats: HousingVistaDashboardStats; housingvistaExpense?: Maybe<HousingVistaExpense>; housingvistaExpenses: Array<HousingVistaExpense>; housingvistaHomeLoanOffer?: Maybe<HousingVistaHomeLoanOffer>; housingvistaHomeLoanOffers: Array<HousingVistaHomeLoanOffer>; housingvistaInvestment?: Maybe<HousingVistaInvestment>; housingvistaInvestmentComplianceSetting: HousingVistaInvestmentComplianceSetting; housingvistaInvestments: Array<HousingVistaInvestment>; housingvistaLease?: Maybe<HousingVistaLease>; housingvistaLeases: Array<HousingVistaLease>; housingvistaLegalService?: Maybe<HousingVistaLegalService>; housingvistaLegalServices: Array<HousingVistaLegalService>; housingvistaMaintenanceRequest?: Maybe<HousingVistaMaintenanceRequest>; housingvistaMaintenanceRequests: Array<HousingVistaMaintenanceRequest>; housingvistaMarketTrend?: Maybe<HousingVistaMarketTrend>; housingvistaMarketTrends: Array<HousingVistaMarketTrend>; housingvistaMarketplaceService?: Maybe<HousingVistaMarketplaceService>; housingvistaMarketplaceServices: Array<HousingVistaMarketplaceService>; housingvistaNaturalLanguageSearch: HousingVistaNlSearchResult; housingvistaOffer?: Maybe<HousingVistaOffer>; housingvistaOffers: Array<HousingVistaOffer>; housingvistaProperties: Array<HousingVistaProperty>; housingvistaProperty?: Maybe<HousingVistaProperty>; housingvistaRentalApplication?: Maybe<HousingVistaRentalApplication>; housingvistaRentalApplications: Array<HousingVistaRentalApplication>; housingvistaRentalUnit?: Maybe<HousingVistaRentalUnit>; housingvistaRentalUnits: Array<HousingVistaRentalUnit>; housingvistaShortlist?: Maybe<HousingVistaShortlist>; housingvistaShortlists: Array<HousingVistaShortlist>; housingvistaTransaction?: Maybe<HousingVistaTransaction>; housingvistaTransactions: Array<HousingVistaTransaction>; housingvistaVerificationItem?: Maybe<HousingVistaVerificationItem>; housingvistaVerificationItems: Array<HousingVistaVerificationItem>; housingvistaViewing?: Maybe<HousingVistaViewing>; /** Slots of a property, soonest first. By default only open future slots; includeBooked also lists the taken ones. */ housingvistaViewingSlots: Array<HousingVistaViewingSlot>; housingvistaViewings: Array<HousingVistaViewing>; /** * Directory-sync state of a Workday or SAP SuccessFactors connection. * Workspace administrators only: it exposes employee names and emails. */ hrisDirectorySync: HrisDirectorySyncStatus; /** One preview or sync, for polling while it runs. */ hrisSyncRun?: Maybe<HrisSyncRun>; /** Recent previews and syncs of a connection, newest first (at most 50). */ hrisSyncRuns: Array<HrisSyncRun>; incident?: Maybe<Incident>; incidents: Array<Incident>; installAgentJobStatus: InstallJobStatus; intAlert?: Maybe<IntAlert>; intCase?: Maybe<IntCase>; intDetectionRule?: Maybe<IntDetectionRule>; intEntity?: Maybe<IntEntity>; /** * Multi-hop link-analysis traversal from a starting entity, executed as a * single bounded breadth-first query (not N+1 per-hop fetches). `depth` * defaults to 1 (direct neighbors) and is capped at 3 to keep the fan-out * bounded on a dense graph. */ intEntityNeighbors: Array<IntEntityNeighbor>; /** * Ranked same-workspace entities similar to a known one — deterministic * scoring over name/alias overlap, type, shared link-analysis neighbors, * geospatial proximity and attribute overlap. Intended as candidate input for * entity resolution. Same classification ceiling semantics as * `intRelatedEntities`. */ intFindSimilarEntities: Array<IntEntityMatch>; /** Liveness/identity probe for the IntelWatchtower subgraph. */ intHealth: Scalars['String']['output']; intIndicator?: Maybe<IntIndicator>; intListAlerts: IntAlertConnection; intListCases: IntCaseConnection; intListDetectionRules: IntDetectionRuleConnection; intListEntities: IntEntityConnection; intListIndicators: IntIndicatorConnection; intListMissions: IntMissionConnection; intListObservations: IntObservationConnection; intListReports: IntReportConnection; intListRequirements: IntCollectionRequirementConnection; intListSources: IntSourceConnection; intListTasks: IntCollectionTaskConnection; intMission?: Maybe<IntMission>; intObservation?: Maybe<IntObservation>; /** * Multi-hop link analysis from a starting entity: every reachable entity with * the full relationship path and hop count ("what connects this vessel to that * facility"). Bounded breadth-first over workspace relationships (hop cap 4), * never one query per node. Classification-aware: entities and edges above the * workspace read ceiling are withheld, and paths never route THROUGH a * withheld node. `classificationUpTo` may narrow the ceiling, never widen it. */ intRelatedEntities: Array<IntEntityLink>; intReport?: Maybe<IntReport>; intRequirement?: Maybe<IntCollectionRequirement>; /** * Ranked full-text search across observation summaries, case entry bodies * (classification inherited from the parent case) and report titles/summaries/ * bodies. Postgres tsvector/ts_rank — no vector store. Offset-paginated; * `cursor` in PaginationInput is ignored (rank order is not keyset-stable). * Same classification ceiling semantics as `intRelatedEntities`. */ intSemanticSearch: IntContentSearchConnection; intSource?: Maybe<IntSource>; intTask?: Maybe<IntCollectionTask>; integration?: Maybe<MtwIntegration>; integrationEvents: Array<MtwIntegrationEvent>; integrationIngestReceipts: Array<MtwIntegrationIngestReceipt>; integrations: Array<MtwIntegration>; integrationsCount: Scalars['Int']['output']; intelwatchtowerEntityTags: Array<IntEntityTagAssignment>; introspectNode?: Maybe<NodeIntrospection>; /** * Weeks of stock cover per warehouse and SKU against forecast outbound * demand from delivery-job cargo lines, with the projected stock-out week * and a suggested reorder quantity. Read-only; computed on request. */ inventoryCoverPlan: MtwInventoryCoverPlan; inventoryItem?: Maybe<MtwInventoryItem>; inventoryItems: Array<MtwInventoryItem>; inventoryItemsCount: Scalars['Int']['output']; inventoryStats: MtwInventoryStats; inventoryTransactions: Array<MtwInventoryTransaction>; inventoryTransactionsCount: Scalars['Int']['output']; /** * Get a single invitation by ID. * This is the FE invitation-acceptance preview endpoint, so it must work for * the invitee before they're a member of the target workspace. We can't gate * it on `scopeType: "wspace"` (no workspace token yet), but we MUST require * authentication to prevent unauthenticated UUID-enumeration leaking PII * (email, roleIds, status). `scopeType: "self"` is the right gateway primitive * here — it asserts a valid actor without requiring workspace context — and * the resolver enforces the actual ownership predicate (caller is the * invitation's recipient OR holds a workspace token for the invitation's * workspace). Reviewed: PR #66 claude (HIGH SEC). */ invitation?: Maybe<Invitation>; /** * Get multiple invitations with filtering and pagination. * Workspace scope is read from gateway context (x-workspace-id header). */ invitations: InvitationList; invoice?: Maybe<Invoice>; invoices: Array<Invoice>; iotAlerts: IotAlertConnection; iotDeviceTypes: Array<IotDeviceType>; iotDevices: Array<IoTDevice>; iotGeofences: Array<IotGeofence>; /** Ingest audit trail — includes rejected and duplicate calls. */ iotIngestEvents: IotIngestEventConnection; /** Ingest credentials for a device. Secrets are never returned here. */ iotIngestKeys: Array<IotIngestKey>; iotPlatformDevice?: Maybe<IotDevice>; /** * List platform IoT devices for the calling workspace. * Named `iotPlatformDevices` because `iotDevices` is already owned by the * assethandler subgraph. */ iotPlatformDevices: IotDeviceConnection; /** Time-series read for charts. `until` defaults to now, `since` to -24h. */ iotReadings: IotReadingConnection; iotThresholdRules: Array<IotThresholdRule>; isGroupMember: Scalars['Boolean']['output']; isUserInCohort: Scalars['Boolean']['output']; /** * Check if an app is installed in the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ isWorkspaceAppInstalled: Scalars['Boolean']['output']; /** * Check if the current workspace is subscribed to a product. * Workspace ID is read from gateway context (x-workspace-id header). */ isWorkspaceSubscribedToProduct: Scalars['Boolean']['output']; jobExecution?: Maybe<JobExecution>; jobExecutions: JobExecutionConnection; kadaikodiAdminAnalytics: KadaikodiAdminAnalytics; kadaikodiCustomerSubscription?: Maybe<KadaikodiCustomerSubscription>; kadaikodiDashboardStats: KadaikodiDashboardStats; kadaikodiHealth: Scalars['String']['output']; kadaikodiInvestmentOpportunity?: Maybe<KadaikodiInvestmentOpportunity>; kadaikodiListInvestmentOpportunities: Array<KadaikodiInvestmentOpportunity>; kadaikodiListInvestments: Array<KadaikodiInvestment>; kadaikodiListLoyaltyTransactions: Array<KadaikodiLoyaltyTransaction>; kadaikodiListOfferings: Array<KadaikodiOffering>; kadaikodiListOrders: Array<KadaikodiOrder>; kadaikodiListProviderWorkers: Array<KadaikodiProviderWorker>; kadaikodiListReviews: Array<KadaikodiReview>; kadaikodiListServiceProviders: Array<KadaikodiServiceProvider>; kadaikodiListWorkerSchedules: Array<KadaikodiWorkerSchedule>; kadaikodiLoyaltyAccount?: Maybe<KadaikodiLoyaltyAccount>; kadaikodiMembershipPlan?: Maybe<KadaikodiMembershipPlan>; kadaikodiMembershipPlans: Array<KadaikodiMembershipPlan>; kadaikodiMerchantEarnings?: Maybe<KadaikodiMerchantEarnings>; kadaikodiMyAddresses: Array<KadaikodiCustomerAddress>; kadaikodiMyFavoriteProviderIds: Array<Scalars['String']['output']>; kadaikodiMyLoyaltyAccount: KadaikodiLoyaltyAccount; kadaikodiMyLoyaltyTransactions: Array<KadaikodiLoyaltyTransaction>; kadaikodiMyPaymentMethods: Array<KadaikodiCustomerPaymentMethod>; kadaikodiMySubscription?: Maybe<KadaikodiCustomerSubscription>; kadaikodiOffering?: Maybe<KadaikodiOffering>; kadaikodiOrder?: Maybe<KadaikodiOrder>; /** * Ranked, personalized discovery feed for the calling customer (BOFF-3803). * Self-scoped: an explicit `customerId` must name the caller. Non-semantic * slice — signals are proximity, Bayesian-smoothed ratings and the caller's * own order history; semantic retrieval lands with the platform embedding * path. Gated fail-closed behind the `kadaikodi.ai.discovery` flag: when off, * clients fall back to `kadaikodiListOfferings`. Never returns offerings from * unverified providers, provably out-of-hours carts, or another workspace. */ kadaikodiRankOfferingsForCustomer: Array<KadaikodiRankedOffering>; kadaikodiServiceProvider?: Maybe<KadaikodiServiceProvider>; kadaikodiWorkerStats: KadaikodiWorkerStats; kadaikodiWorkerTasks: Array<KadaikodiWorkerTask>; knowledgeArticle?: Maybe<KnowledgeArticle>; knowledgeArticles: Array<KnowledgeArticle>; knowledgeBackendMigration: KnowledgeBackendMigration; knowledgeSourceImports: Array<KnowledgeSourceImport>; /** A single AI decision execution log entry by id, scoped to the caller's workspace. */ labAgentRun?: Maybe<LabAgentRun>; /** Paginated, workspace-scoped AI decision execution log, most recent first. */ labAgentRuns: LabAgentRunConnection; /** * The full list of selectable (provider, model) pairs — Gemini first/default * per the platform's provider-chain convention. */ labAiModelCatalog: Array<LabAiModelInfo>; labDataset?: Maybe<LabDataset>; labExperiment?: Maybe<LabExperiment>; /** Liveness/identity probe for the Labsofscience subgraph. */ labHealth: Scalars['String']['output']; labInstrument?: Maybe<LabInstrument>; labInventoryItem?: Maybe<LabInventoryItem>; /** * List datasets. Archived (soft-deleted) datasets are hidden unless the caller * explicitly passes `status: ARCHIVED`, which is the only way to reach them. * * `search` matches `name` as a LITERAL, case-insensitive substring — `%` and `_` * match themselves rather than acting as wildcards. */ labListDatasets: LabDatasetConnection; /** * List experiments. `search` matches `title` as a LITERAL, case-insensitive * substring — `%` and `_` match themselves rather than acting as wildcards. */ labListExperiments: LabExperimentConnection; /** * List instruments. `search` matches `name` as a LITERAL, case-insensitive * substring — `%` and `_` match themselves rather than acting as wildcards. */ labListInstruments: LabInstrumentConnection; /** * List lab stock. * * `search` matches `name`, `catalogNumber` (catalog / SKU / CAS) or `lotNumber`, * which is how a lot is actually identified at the bench. It is a LITERAL, * case-insensitive substring — `%` and `_` match themselves, so a lot number * like `plate_01` finds only that lot and not `plate-01`. */ labListInventoryItems: LabInventoryItemConnection; /** * One item's stock-movement ledger, newest first — who changed the quantity, by * how much, and why. Returns NOT_FOUND for an unknown or another workspace's * item id; an archived item still returns its ledger. */ labListInventoryMovements: LabInventoryMovementConnection; /** * List ELN entries. `search` matches `title` as a LITERAL, case-insensitive * substring — `%` and `_` match themselves rather than acting as wildcards. */ labListNotebookEntries: LabNotebookEntryConnection; labListPipelineRuns: LabPipelineRunConnection; labListPipelines: LabAnalysisPipelineConnection; /** * List research projects. Archived (soft-deleted) projects are hidden unless the * caller explicitly passes `status: ARCHIVED`, which is the only way to reach * them. `search` matches `name` or `code`, case-insensitively. * * `search` is a LITERAL substring, not a pattern: `%` and `_` match themselves, * so searching `50%` finds "Assay 50% ethanol" and not every project. */ labListProjects: LabProjectConnection; /** * List protocols. `search` matches `name` as a LITERAL, case-insensitive * substring — `%` and `_` match themselves rather than acting as wildcards. */ labListProtocols: LabProtocolConnection; labListRuns: LabExperimentRunConnection; labNotebookEntry?: Maybe<LabNotebookEntry>; labProject?: Maybe<LabProject>; labProtocol?: Maybe<LabProtocol>; /** * Traverse the provenance graph starting from any supported entity. * * Returns the root node, connected nodes up to `depth` hops, and the directed * edges between them. The traversal is read-only and workspace-scoped: a root * id that does not belong to the caller's workspace resolves as NOT_FOUND. */ labProvenance: LabProvenanceGraph; /** * Aggregated research analytics for the calling workspace. * * `weeks` controls how many recent ISO weeks are returned for the throughput * trend; it defaults to 12 and is capped at 52. */ labResearchAnalytics: LabResearchAnalytics; /** The workspace's saved default AI model, or null if it has not set one. */ labWorkspaceAiConfig?: Maybe<LabWorkspaceAiConfig>; /** * Lightweight workspace totals for the LabsOfScience overview dashboard. * Returns exact counts across all non-archived (deletedAt: null) domain entities * in the caller's workspace. */ labWorkspaceTotals: LabWorkspaceTotals; /** The most recent digest narrative for a dashboard (null when none exists). */ latestDashboardDigest?: Maybe<BigConsoleNarrative>; legalHolds: Array<LegalHold>; licenseEntitlements: Array<LicenseEntitlement>; /** * The whole-life timeline for the calling user: the same self-assembling * timeline, summarized by life domain (WORK/SLEEP/HEALTH/...) with honest, * interval-union totals and unaccounted time. Self-scoped — always your own data. */ lifeTimeline: TimeCampusLifeTimeline; listA2AConnections: Array<A2AConnection>; listA2AMessages: Array<A2AMessage>; listA2ARegistryEntries: Array<A2ARegistryEntry>; listAgentTemplates: Array<AgentTemplate>; listAgentVersions: Array<AgentVersion>; /** @deprecated use listBotmanorAgents */ listAgents: Array<BotlitAgent>; listAllSandboxes: SandboxList; listAppAgents: Array<AppAgent>; listAppTemplates: Array<AppTemplate>; listBotAppVersions: Array<BotAppVersion>; listBotApps: Array<BotApp>; listBotmanorAgentApprovalRequests: Array<BotmanorAgentApprovalRequest>; listBotmanorAgents: Array<BotmanorAgent>; listBotmanorLLMModels: Array<BotmanorLlmModel>; listBotmanorLLMProviders: Array<BotmanorLlmProvider>; listBuckets: Array<Bucket>; listChannelConnectors: Array<ChannelConnector>; listChannelRoutes: Array<ChannelRoute>; /** List embed policies for a dashboard the caller owns. */ listDashboardEmbedPolicies: BigConsoleDashboardEmbedPolicyConnection; /** List dashboard RLS policies in the current workspace. */ listDashboardRlsPolicies: BigConsoleDashboardRlsPolicyConnection; /** List shares for a dashboard */ listDashboardShares: BigConsoleDashboardShareConnection; /** List every translation registered for a dashboard, ordered by locale. */ listDashboardTranslations: Array<BigConsoleDashboardTranslation>; /** List a dashboard's version history, newest first. */ listDashboardVersions: Array<BigConsoleDashboardVersion>; /** List saved views for a dashboard */ listDashboardViews: BigConsoleDashboardViewConnection; /** List dashboards with filtering and pagination */ listDashboards: BigConsoleDashboardConnection; /** List data sinks */ listDataSinks: DataSinkConnection; /** List event logs with filtering */ listEventLogs: BigConsoleWidgetEventLogConnection; /** List event webhook mappings */ listEventWebhookMappings: Array<BigConsoleWidgetEventWebhookMapping>; listExecutions: Array<Execution>; listExportJobs: ExportJobConnection; listExportTemplates: ExportTemplateConnection; /** List featured templates */ listFeaturedTemplates: BigConsoleDashboardTemplateConnection; listHealthyBowlCarbonCredits: HbCarbonCreditList; listHealthyBowlEudrStatements: Array<HbEudrStatement>; listHealthyBowlGhgActivities: Array<HbGhgActivity>; listHealthyBowlMrvReports: Array<HbMrvReport>; listHealthyBowlRegenerativePractices: Array<HbRegenerativePractice>; listHealthyBowlSoilCarbonEstimates: Array<HbSoilCarbonEstimate>; /** * Dashboard template types installed in the request workspace (active version, * AVAILABLE or DEPRECATED), ordered by key. */ listInstalledDashboardTemplateTypes: Array<BigConsoleInstalledDashboardTemplateType>; listInstalledPackages: Array<InstalledPackage>; /** * Parser types installed in the request workspace (active version, AVAILABLE * or DEPRECATED), ordered by key. */ listInstalledParserTypes: Array<InstalledParserType>; listKnowledgeBases: Array<KnowledgeBase>; listKnowledgeDocuments: Array<KnowledgeDocument>; /** @deprecated use listBotmanorLLMModels */ listLLMModels: Array<BotlitLlmModel>; /** @deprecated use listBotmanorLLMProviders */ listLLMProviders: Array<BotlitLlmProvider>; listMCPConnections: Array<McpConnection>; listMCPResources: Array<McpResource>; listMCPTools: Array<McpTool>; listParsers: ParserConnection; listPipelineExecutions: Array<PipelineExecution>; listPipelines: PipelineConnection; listPolicies: Array<Policy>; /** * List prompt generations for the current user. Self-scoped (Type C): the * resolver filters by context.actor.id (listGenerations(workspaceId, actorId, …)), * so the returned set IS the access control — no workspace-wide * bigconsole-prompt:read grant is required. */ listPromptGenerations: PromptGenerationConnection; listPromptTemplates: Array<PromptTemplate>; listRetrievalProfiles: Array<RetrievalProfile>; listSandboxNodes: Array<SandboxNodeInfo>; listSandboxTemplates: SandboxTemplateConfigList; /** * Usage events of the sandboxes the caller may see — paged by the export * service over the internal gateway (BOFF-5318). Ownership follows * listSandboxes; an ordinary member sees only their own user-kind sandboxes' * events. */ listSandboxUsageEvents: SandboxUsageEventList; listSandboxes: SandboxList; /** * List all settings secrets for the current workspace. * Returns keys and metadata, but values are redacted for security. */ listSettingsSecrets: Array<SettingsSecret>; /** * List dashboards shared with the calling user. Self-scoped (Type C): the * resolver filters the result set by context.actor.id (see * getSharedWithUser / countSharedWithUser), so membership IS the access control * — no workspace-wide bigconsole-share:read grant is needed or wanted here. */ listSharedWithMe: BigConsoleDashboardShareConnection; listSkills: Array<Skill>; listStorePackages: Array<StorePackage>; /** List templates with filters */ listTemplates: BigConsoleDashboardTemplateConnection; /** List widgets for a page with pagination and filtering */ listWidgets: BigConsoleWidgetConnection; /** List all widgets for a dashboard (across all pages) */ listWidgetsByDashboard: Array<BigConsoleWidget>; loadNodeOptions: Array<NodeLoadOption>; /** * The calling actor's own location entries. Self-scoped: `filter.userId` is * accepted for backward compatibility but is neutralized in the resolver * (resolveTargetUserId) — a non-privileged actor requesting another user's * entries is silently redirected back to their own, and an omitted filter no * longer defaults to "every user in the workspace". Managers use the * aggregate `locationStats` for workspace-wide visibility (no raw GPS). */ locationEntries: LocationEntryListResponse; /** * A single location entry by id, owner-filtered to the calling actor — * returns null (not another user's row) if the id doesn't belong to the caller. */ locationEntry?: Maybe<LocationEntry>; /** * Aggregate location statistics for the workspace (no raw coordinates) — the * intended manager/admin visibility surface, mirroring the workpattern * module's team-summary pattern. */ locationStats: LocationStats; /** * Get a single log streaming destination by id (owner-filtered to the * caller's workspace). */ logStreamDestination?: Maybe<LogStreamDestination>; /** List the log streaming destinations configured for the caller's workspace. */ logStreamDestinations: Array<LogStreamDestination>; /** Resolve a user email to an actor identity for workspace role assignment. */ lookupUserActorByEmail?: Maybe<UserActorLookupResult>; /** The caller's own Gmail and Outlook connections in this workspace. */ mailboxAccounts: Array<MailboxAccount>; /** * One attachment of a message in a mailbox the caller owns, fetched by the * service with the owner's token. Never returns a provider URL. */ mailboxAttachment: MailboxAttachmentContent; /** Gmail labels or Outlook mail folders of a mailbox the caller owns. */ mailboxLabels: Array<MailboxLabel>; /** One page of messages from a mailbox the caller owns, newest first. */ mailboxMessages: MailboxMessagePage; /** A conversation with full plain-text bodies, from a mailbox the caller owns. */ mailboxThread: MailboxThread; maintenanceContract?: Maybe<MaintenanceContract>; /** * Maintenance contracts (BOFF-6033). Status is derived per contract on read. * `status` filters after derivation, so asking for EXPIRING returns exactly the contracts a farm * can still act on. */ maintenanceContracts: Array<MaintenanceContract>; /** * BOFF-6033 — maintenance spend split into contract-covered and farm-paid. * Pass `assetId` for one machine, omit it for the whole workspace. */ maintenanceCostSplit: MaintenanceCostSplit; maintenanceLog: Array<MaintenanceRecord>; maintenancePlan?: Maybe<MaintenancePlan>; /** Recurring maintenance schedules (BOFF-6031). Active plans only by default. */ maintenancePlans: Array<MaintenancePlan>; maintenanceRecord?: Maybe<MaintenanceRecord>; maintenanceRecords: Array<MaintenanceRecord>; /** Recent watch-loop runs for the current workspace, newest first. */ manAgentRuns: Array<ManAgentRun>; manAsset?: Maybe<ManAsset>; manBom?: Maybe<ManBillOfMaterial>; /** * Statistical Process Control control chart computed on demand from recorded * inspection measurements — X-bar/R, Individual/Moving-Range, p-chart, or * c-chart, with 3-sigma control limits, out-of-control flagging, and * Cp/Cpk/Pp/Ppk capability indices where the plan carries spec limits. */ manControlChart: ManControlChartResult; manDemand?: Maybe<ManDemand>; manErpConnection?: Maybe<ManErpConnection>; /** Indented explosion of a quantity of an item through the active BOMs (BOFF-11326). */ manExplodeBom: ManBomExplosion; /** Exact serial-number lookup across SKUs (traceability / recall entry point). */ manFindMaterialSerials: Array<ManMaterialSerial>; /** Liveness/identity probe for the Manufacturedops subgraph. */ manHealth: Scalars['String']['output']; manInspection?: Maybe<ManQualityInspection>; manInventoryItem?: Maybe<ManInventoryItem>; /** The item master row for a SKU (null when the SKU has none) — lot intake reads its tracking mode. */ manInventoryItemBySku?: Maybe<ManInventoryItem>; manListAssets: ManAssetConnection; manListBoms: ManBillOfMaterialConnection; /** Independent demand (sales orders, forecasts), earliest due first (BOFF-11326). */ manListDemands: ManDemandConnection; manListDowntimeEvents: ManDowntimeEventConnection; manListErpConnections: ManErpConnectionConnection; manListErpSyncRecords: ManErpSyncRecordConnection; manListInspectionPlans: ManInspectionPlanConnection; manListInspections: ManQualityInspectionConnection; manListInventoryItems: ManInventoryItemConnection; /** Tag mappings, optionally for one asset or only active/inactive ones. */ manListMachineTagMappings: Array<ManMachineTagMapping>; manListMachineTagReadings: ManMachineTagReadingConnection; /** Every machine tag the workspace has sent readings for, with its latest value and mapping. */ manListMachineTags: Array<ManMachineTag>; manListMaintenanceWorkOrders: ManMaintenanceWorkOrderConnection; manListMaterialLots: ManMaterialLotConnection; /** The latest persisted MRP run's requirement rows for one production order. */ manListMaterialRequirements: Array<ManMaterialRequirement>; /** Units, filtered by lot, SKU, status, order or part of the serial number — also the export feed. */ manListMaterialSerials: ManMaterialSerialConnection; manListNonConformances: ManNonConformanceConnection; manListProductionOrders: ManProductionOrderConnection; /** Purchase requests saved from the plan, earliest need first (BOFF-11326). */ manListPurchaseRequests: ManPurchaseRequestConnection; /** * One machine tag's readings aggregated into time buckets for charts. The * window defaults to the last 24 hours and may cover up to 31 days; the * granularity defaults to the finest that keeps it under 300 buckets. */ manListTelemetry: ManTelemetrySeries; manListWorkCenters: ManWorkCenterConnection; manMachineTagReading?: Maybe<ManMachineTagReading>; /** One maintenance work order, with its completion evidence, linked downtime and history. */ manMaintenanceWorkOrder?: Maybe<ManMaintenanceWorkOrder>; /** One material lot, with its status options and history. */ manMaterialLot?: Maybe<ManMaterialLot>; /** One unit with its status options and history. */ manMaterialSerial?: Maybe<ManMaterialSerial>; /** Recall scope for one unit. */ manMaterialSerialRecall: ManSerialRecall; /** * Legal-acceptance checkpoints recorded by the CALLING actor for a specific * checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access * control, no identity arg. Used by the app shell to decide whether to show * the acceptance gate before letting the actor into core flows. */ manMyLegalAcceptances: ManLegalAcceptanceConnection; manNonConformance?: Maybe<ManNonConformance>; /** NCRs with an active link to one production order, operation or material lot. */ manNonConformancesForEntity: Array<ManNonConformance>; /** * Real, DB-computed operations KPIs for the dashboard (counts/aggregates across * production orders, non-conformances, maintenance work orders and material * lots) — correct at any scale, not a capped client-side aggregation. */ manOperationsSummary: ManOperationsSummary; /** * Workspace-wide multi-level MRP: nets every open production order's dependent * demand, each item's reorder point, AVAILABLE on-hand stock and open supply * through the active BOM tree, and returns suggested production orders (built * items) and suggested purchases (bought items). Read-only. */ manPlanMaterialRequirements: ManMrpPlan; manProductionOrder?: Maybe<ManProductionOrder>; manPurchaseRequest?: Maybe<ManPurchaseRequest>; /** Bulk-import preview: validate serials for a SKU without registering them. */ manValidateMaterialSerials: ManSerialEntryReport; /** Findings surfaced by the watch loop for the current workspace, newest first. */ manWatchFindings: Array<ManWatchFinding>; /** Per-workspace watch-loop configuration. Returns the default disabled config when no row exists yet. */ manWatchLoopConfig: ManWatchLoopConfig; manWorkCenter?: Maybe<ManWorkCenter>; marketplaceStats: MtwMarketplaceStats; /** Where MCP clients reach this workspace's tools. */ mcpEndpoint: McpEndpointInfo; /** Workflows and connector operations opted in as MCP tools. */ mcpExposedTools: Array<McpExposedTool>; /** The MCP call log, newest first (default 50, max 200 per page). */ mcpToolCalls: McpToolCallPage; /** Published tool set versions, newest first. */ mcpToolSets: Array<McpToolSet>; meeting?: Maybe<MeetingMeta>; meetingStats: MeetingStats; meetings: Array<MeetingMeta>; mentions: MessageConnection; /** * Poll a mesh-deploy job on a root agent (proxied to the agent's * /api/profiles/<p>/mesh/deploy/jobs/<id>). `data` carries the job * { status, steps, result }. */ meshDeployJobStatus: AgentProxyResponse; message?: Maybe<Message>; messageReports: MessageReportConnection; messages: MessageConnection; metric?: Maybe<Metric>; metrics: Array<Metric>; mtwApplicableProcedures: MtwProcedureApplicability; mtwConsolidationManifest: MtwConsolidationManifest; mtwConsolidationManifestPage: MtwConsolidationManifestPage; mtwConsolidationObservation: MtwConsolidationObservation; mtwConsolidationObservationPage: MtwConsolidationObservationPage; mtwConsolidationPlan: MtwConsolidationPlan; mtwConsolidationPlanPage: MtwConsolidationPlanPage; mtwConsumedFuelPreview: MtwConsumedFuelPreview; mtwContainer?: Maybe<MtwContainer>; mtwContainerCyclePage: MtwContainerCyclePage; mtwContainerCycles: Array<MtwContainerCycle>; mtwContainerDefectPage: MtwContainerDefectPage; mtwContainerEventPage: MtwContainerEventPage; mtwContainerEvents: Array<MtwContainerEvent>; mtwContainerHoldPage: MtwContainerHoldPage; mtwContainerInspectionPage: MtwContainerInspectionPage; mtwContainerPage: MtwContainerPage; mtwContainerQualificationPage: MtwInspectorQualificationPage; mtwContainerReleaseDecisionPage: MtwContainerReleaseDecisionPage; mtwContainerRepairPage: MtwContainerRepairPage; mtwContainers: Array<MtwContainer>; /** Sample messages for each event, signed with this workspace's name. */ mtwCustomerNotificationPreviews: Array<MtwCustomerNotificationPreview>; /** This workspace's customer notification settings; off when none were saved. */ mtwCustomerNotificationSettings: MtwCustomerNotificationSettings; /** Customer notifications sent or attempted in this workspace, newest first. */ mtwCustomerNotifications: MtwCustomerNotificationPage; mtwDispatchPlan?: Maybe<MtwDispatchPlan>; mtwDispatchPlans: Array<MtwDispatchPlan>; /** One extraction, by id. */ mtwDocumentExtraction?: Maybe<MtwDocumentExtraction>; /** Every extraction (newest first) that ran against this platform File. */ mtwDocumentExtractions: Array<MtwDocumentExtraction>; /** Exact immutable instruction, including a proposal's historical owner; not a current-eligibility claim. */ mtwEmptyReturnInstruction: MtwEmptyReturnInstruction; mtwEmptyReturnInstructionPage: MtwEmptyReturnInstructionPage; mtwEquipmentReuseApprovalPage: MtwEquipmentReuseApprovalPage; mtwFreeTimeAgreementPage: MtwFreeTimeAgreementPage; mtwFreeTimeClockPage: MtwFreeTimeClockPage; mtwFreeTimeExposure: MtwFreeTimeExposure; mtwFreeTimeExtensionPage: MtwFreeTimeExtensionPage; mtwFreightEstimatePage: MtwFreightEstimatePage; mtwFreightEstimateVersion: MtwFreightEstimateVersion; mtwFreightInvoiceComparison: MtwFreightInvoiceComparison; /** Null is not proof of no effect and never authorizes resubmission. Exact original actor/context only. */ mtwFreightInvoiceComparisonByRequestKey?: Maybe<MtwFreightInvoiceComparison>; mtwFreightInvoiceComparisonPage: MtwFreightInvoiceComparisonPage; mtwFreightInvoiceReview: MtwFreightInvoiceReview; /** Latest revision of each recorded invoice, newest first. */ mtwFreightInvoiceReviewPage: MtwFreightInvoiceReviewPage; mtwFreightInvoiceReviewSummary: MtwFreightInvoiceReviewSummary; /** * Columns accepted by each import, for building templates and showing guidance. * This is static reference metadata with no workspace data in it, so it only * needs an authenticated caller; every import mutation enforces its own * entity create permission. */ mtwImportSpec: Array<MtwImportEntitySpec>; /** The workspace's integration-polls job; null until a polled integration is first saved. */ mtwIntegrationPollSchedule?: Maybe<MtwIntegrationPollSchedule>; /** The workspace's most recent dispatch plan, whatever its status. */ mtwLatestDispatchPlan?: Maybe<MtwDispatchPlan>; /** The shipment's most recent decision of this kind, whatever its status. */ mtwLatestShipmentDecision?: Maybe<MtwShipmentDecision>; /** The workspace's MoveTheWheels operational defaults; platform defaults when none were saved. */ mtwModuleSettings: MtwModuleSettings; mtwPalletGeometryPreview: MtwPalletGeometryPreview; mtwPickPreparation: MtwPickPreparation; mtwPickReview: MtwPickReview; mtwPickReviewPage: MtwPickReviewPage; mtwPickTask: MtwPickTask; mtwPickTaskPage: MtwPickTaskPage; mtwProcedureDeviationPage: MtwProcedureDeviationPage; mtwProcedureExecution: MtwProcedureExecution; mtwProcedureExecutionPage: MtwProcedureExecutionPage; mtwProcedureStepPage: MtwProcedureStepPage; mtwProcedureVersion: MtwProcedureVersion; mtwProcedureVersionPage: MtwProcedureVersionPage; mtwReport?: Maybe<MtwReport>; mtwReportRun?: Maybe<MtwReportRun>; /** A completed run as a CSV or JSON file. */ mtwReportRunExport: MtwReportExport; mtwReportRuns: Array<MtwReportRun>; /** The workspace's scheduled-reports job; null until a report is first scheduled. */ mtwReportSchedule?: Maybe<MtwReportSchedule>; mtwReports: Array<MtwReport>; mtwReportsCount: Scalars['Int']['output']; mtwReuseEligibility: MtwReuseEligibility; mtwReuseProposalPage: MtwReuseProposalPage; mtwReuseReservationPage: MtwReuseReservationPage; mtwReuseReservationTransitionPage: MtwReuseReservationTransitionPage; /** The workspace's risk-sweep registration with the platform scheduler, if any. */ mtwRiskSweepSchedule?: Maybe<MtwRiskSweepSchedule>; /** Recent risk sweeps of the workspace, newest first. */ mtwRiskSweeps: Array<MtwRiskSweep>; mtwShipmentDecision?: Maybe<MtwShipmentDecision>; /** The shipment's current or last risk episode, or null if it has never been at risk. */ mtwShipmentRiskEpisode?: Maybe<MtwShipmentRiskEpisode>; mtwShipmentRiskForecast: MtwRiskForecast; mtwStockBindingAssessment: MtwStockBindingAssessment; mtwStockBindingAssessmentPage: MtwStockBindingAssessmentPage; mtwStockObservation: MtwStockObservation; mtwStockObservationPage: MtwStockObservationPage; mtwTripUtilizationReportPage: MtwTripUtilizationReportPage; myAgentMessageBookmarks: AgentMessageBookmarkList; myApprovalRequests: Array<TimeApprovalRequest>; /** One of my conversations. Exactly one of clientConversationId / conversationId. Default: the newest 50. */ myAssistantConversationEntries: AssistantHistoryEntryConnection; /** * My live conversations, most recently changed first. filter omitted = every live conversation, archived included (older * clients unchanged). filter given = its fields apply, and archived defaults to EXCLUDE. filter.query searches them * (same order, at most 50 a page). */ myAssistantConversations: AssistantHistoryConversationConnection; /** My conversations' changes in commit order, tombstones included. */ myAssistantHistoryChanges: AssistantHistoryChangeConnection; myAssistantTurn?: Maybe<AssistantTurnExecution>; /** Recover my admission after a timeout, without exposing another caller's request. */ myAssistantTurnDispatch?: Maybe<AssistantTurnDispatchReceipt>; /** Latest owned conversation for exactly one course or general assistant. Canonical history only. */ myAssistantWorkflowConversation?: Maybe<AssistantWorkflowConversation>; myAssistantWorkflowConversationMessages: AssistantWorkflowMessagePage; myAssistantWorkflowConversations: AssistantWorkflowConversationPage; myBalanceTargets: Array<TimeCampusBalanceTarget>; /** Open shifts the caller is eligible to claim (Type C self list). */ myClaimableCrewOpenShifts: Array<CrewOpenShift>; /** One of your own connector submissions. */ myConnectorSubmission?: Maybe<ConnectorSubmission>; /** Your own connector submissions, newest first. */ myConnectorSubmissions: ConnectorSubmissionList; myContextSharingPolicy: TimeCampusContextSharingPolicy; /** The calling worker's own work orders in the current workspace (Type C self list). */ myCrewDispatches: Array<CrewDispatch>; /** Swap requests the caller made or was asked to accept (Type C self list). */ myCrewShiftSwapRequests: Array<CrewShiftSwapRequest>; /** The calling worker's own shifts in the current workspace (Type C self list). */ myCrewShifts: Array<CrewShift>; /** Colleagues who can take one of the caller's own shifts (Type B self: the shift is owner-filtered). */ myCrewSwapCandidates: Array<CrewWorkerProfile>; /** The caller's own employee record in this workspace, or null (Type A self). */ myCrewWorkerProfile?: Maybe<CrewWorkerProfile>; myDeadTimeRadar: TimeCampusDeadTimeRadar; /** * Type C self-list: the calling driver's stops for one local calendar day, * ordered into a driving sequence. Identity comes from the authenticated * actor only. `timeZone` is the device's IANA zone (for example * `Asia/Kolkata`) so "today" matches the driver's clock, including on DST * transition days. `timezoneOffsetMinutes` (the client's * `Date#getTimezoneOffset()` value) is a fixed-offset fallback used only * when `timeZone` is omitted. */ myDeliveryDay: MtwDriverDay; myEpodShipmentStatus?: Maybe<MtwOwnedEpodShipmentStatus>; /** BOFF-4386 — the caller's own commissions as a partner (Type B: NOT_FOUND unless the caller is that partner). */ myGgnomadAffiliateCommissions: Array<GgnomadAffiliateCommission>; /** BOFF-4386 — the partner programs the caller is linked to in this workspace (Type C self list). */ myGgnomadAffiliatePartners: Array<GgnomadAffiliatePartner>; /** BOFF-10614 — the caller's own payout profile as a partner (Type B: NOT_FOUND unless the caller is that partner). */ myGgnomadAffiliatePayoutProfile?: Maybe<GgnomadAffiliatePayoutProfile>; /** BOFF-10614 — the caller's own payout statement as a partner (Type B). */ myGgnomadAffiliatePayoutStatement: GgnomadAffiliatePayoutStatement; /** BOFF-4343 — Type A self-on-actor: gets or lazily creates the calling actor's open cart. No identity arg. */ myGgnomadCart: GgnomadCart; /** * BOFF-4374 — group trips are collaborator/multi-owner resources, NOT a self * resource (see RBAC guide): standard workspace-scoped directive; the * resolver enforces the real access boundary — only the creator or an added * member may read/vote/see the cost split. */ myGgnomadGroupTrips: Array<GgnomadGroupTrip>; /** BOFF-4376 — Type A self-on-actor: gets or lazily creates the calling actor's loyalty account. No identity arg. */ myGgnomadLoyaltyAccount: GgnomadLoyaltyAccount; /** BOFF-3936 — Type C self list: the caller's own orders, newest first. */ myGgnomadOrders: Array<GgnomadOrder>; /** BOFF-4387 — Type-C self-list: only requests the calling actor filed (requestedBy == actor). That filter IS the access control. */ myGgnomadPrivateGroupRequests: Array<GgnomadPrivateGroupRequest>; /** * BOFF-4390 — Type-B self-on-owned-resource: `providerId` is accepted, but the * resolver owner-filters by createdBy == actor and throws NOT_FOUND (never * FORBIDDEN) when the caller doesn't own that provider. `dateFrom`/`dateTo` * default to the trailing 30 days when omitted; `granularity` is one of * "day"/"week"/"month" (default "day"). */ myGgnomadProviderAnalytics: GgnomadProviderAnalytics; /** BOFF-4390 — Type-C self-list: only providers the calling actor created (createdBy == actor). That filter IS the access control. */ myGgnomadProviders: Array<GgnomadProvider>; /** BOFF-4375 — Type-C self-list: only the calling actor's own registered push devices. That filter IS the access control. */ myGgnomadPushDevices: Array<GgnomadPushDevice>; /** BOFF-10617 — the caller's own widget analytics as a partner (Type B: NOT_FOUND unless the caller is that partner). */ myGgnomadWidgetAnalytics: GgnomadWidgetAnalytics; myGroups: GroupConnection; myLifeBalance: TimeCampusLifeBalance; myLifeGoals: Array<TimeCampusLifeGoal>; /** The finite-life ('life in weeks') view for the calling user. */ myLifeInWeeks: TimeCampusFiniteLifeView; /** The calling user's life profile (created with defaults on first read). */ myLifeProfile: TimeCampusLifeProfile; myLifeValues: Array<TimeCampusLifeValue>; /** * The calling user's nav preferences + custom views for a product in a * workspace. Returns empty defaults when nothing is stored yet. */ myNavPreferences: NavPreferences; /** * Type C self-list: delivery jobs assigned to the CALLING driver that are out * for delivery/in transit and still awaiting ePOD capture. Feeds the * driver-facing capture flow's job picker. */ myPendingEpodDeliveryJobs: Array<MtwDeliveryJob>; myPendingEpodDeliveryJobsCount: Scalars['Int']['output']; /** * Get all pending invitations for the current authenticated user. * Self-scoped: the resolver resolves the invitee email server-side from * ctx.actorId; no client-supplied identity is accepted. */ myPendingInvitations: Array<Invitation>; /** * Invitee-side: list pending invites whose `inviteeEmail` matches the caller's * email (resolved from the tenant backend). `scopeType: "self"` because access * is the user's own email — membership in any workspace is irrelevant. */ myPendingInvites: Array<WorkspaceInvite>; /** * Get current user's permissions in a workspace (self-service). * Returns full permission details including roles, permission strings, and cache TTL. */ myPermissions: EffectivePermissions; myPersonalDataSummary: TimeCampusPersonalDataSummary; /** * The caller's own proactive settings for a product in the current workspace. * Self-scoped (Type A): the user comes from the gateway, never from an argument. */ myProactiveSettings: ProactiveSettings; /** * Get projects for the current authenticated user * Self-list (Type C): resolver filters by ctx.userId, so the returned set IS * the access list. Any authenticated user may call this; no RBAC permission * is checked. (BOFF-2655) */ myProjects: ProjectList; myRecommendationPreferences: TimeCampusRecommendationPreference; myRecommendations: Array<TimeCampusRecommendation>; /** * Get resources created by the current authenticated user. * Self-scoped: the resolver filters by ctx.actorId (createdBy). */ myResources: WorkspaceResourceList; /** * Get current user's roles in a workspace (lightweight, self-service). * Use this for quick role checks without fetching full permissions. */ myRoles: MyRolesResult; /** * Usage the assistant LLM proxy recorded for the caller's OWN Ask or Take-action sandbox. Another * user's sandbox, or one that is not an assistant sandbox, is NOT_FOUND. */ mySandboxLlmUsage: SandboxLlmUsage; mySecurityScans: SecurityScanRunList; /** * Get all settings for the current user in this workspace. * Returns a complete bundle with defaults for any missing values. */ mySettings: SettingsBundle; /** * Get settings for a specific category. * Returns the typed settings object for that category. */ mySettingsByCategory: Scalars['JSON']['output']; /** Credentials shared with the calling actor (across all workspaces). */ mySharedCredentials: SecretShareList; mySourceConsents: Array<TimeCampusSourceConsent>; /** * The calling actor's own sustained-load signal over the last `weeks` full * weeks (default 4, clamped to 2..12). Self-scoped: takes no user argument and * only ever reads the caller's rows. */ mySustainedLoad: TimeCampusSustainedLoadSignal; /** One of the calling user's capture channels. */ myTimeCampusCaptureChannel: TimeCampusCaptureChannel; /** The calling user's capture channels, newest first. Disconnected channels are included unless excluded. */ myTimeCampusCaptureChannels: Array<TimeCampusCaptureChannel>; /** * The calling user's own idle detection settings for automatic desktop * capture (BOFF-4210). Self-scoped: takes no user argument. */ myTimeCampusIdleDetectionSettings: TimeCampusIdleDetectionSettings; /** The caller's own recent day summaries and weekly digests, newest first. */ myTimeIntelligenceDeliveries: Array<TimeCampusTimeIntelligenceDelivery>; myTimeWellSpent: TimeCampusTimeWellSpent; myVibeLlmContextPreview: VibeLlmContextPreview; myVibeLlmContextSettings: VibeLlmContextSettings; myVibeLlmContextTokenAudits: Array<VibeLlmContextFetchAudit>; myVibeLlmContextTokens: Array<VibeLlmContextToken>; /** * Get workspaces for the current authenticated user. * Self-scoped: the resolver filters by ctx.actorId (owner OR membership). */ myWorkspaces: WorkspaceList; mybActiveNutritionPlan?: Maybe<MybNutritionPlan>; /** * The calling member's AI settings (provider, model, daily allowance). The * provider key is never returned; use `hasProviderKey` to show key state * (BOFF-5949). */ mybAiSettings: MybAiSettings; mybBodyMetric?: Maybe<MybBodyMetric>; mybChallenge?: Maybe<MybChallenge>; /** * Live leaderboard for a challenge, ranked by its metric. Only participants * who have joined are ranked — joining is the opt-in. */ mybChallengeLeaderboard: Array<MybLeaderboardEntry>; /** Roll up a member's logged meals for a given day against the active plan. */ mybDailyMacros: MybDailyMacros; /** * The calling member's own best-ever logged set for this exercise name, * across all of their sessions in this workspace — ranked by weight (reps as * tie-breaker) for loaded work, or by reps alone for bodyweight work (weight * 0). Returns null when the member has never logged this exercise. Used for * live auto-PR detection while logging a new set (BOFF-4096). Always scoped * to the caller; there is no memberId argument, mirroring mybListSessions. */ mybExerciseBestSet?: Maybe<MybSessionSet>; /** * Barcode lookup against Open Food Facts — the one-tap barcode-scan path * (BOFF-4173). Returns null when the barcode isn't found or the upstream * service is unreachable/times out. */ mybFoodByBarcode?: Maybe<MybFood>; mybGoal?: Maybe<MybGoal>; /** Liveness/identity probe for the Mybodyshield subgraph. */ mybHealth: Scalars['String']['output']; /** * Unified analytics across training, body, nutrition, and recovery for the * requested date range. Defaults to the last 30 days. Used by the insights page * (BOFF-4056) to render trend lines, KPI orbs, and correlation charts. */ mybInsights: MybInsights; /** Redacted audit log of AI operations for the calling member (BOFF-5949). */ mybListAiOperationLogs: MybAiOperationLogConnection; mybListBodyMetrics: MybBodyMetricConnection; /** Challenges visible in the calling actor's workspace, newest first. */ mybListChallenges: MybChallengeConnection; mybListCoaching: MybCoachingConnection; /** A member's connected wearable/health-platform links (BOFF-4172). */ mybListDeviceConnections: Array<MybDeviceConnection>; mybListGoals: MybGoalConnection; /** Workspace-wide legal-acceptance audit trail, for compliance review. */ mybListLegalAcceptances: MybLegalAcceptanceConnection; mybListMeals: MybMealLogConnection; mybListMindfulnessExercises: Array<MybMindfulnessExercise>; mybListMindfulnessSessions: MybMindfulnessSessionConnection; mybListPrograms: MybProgramConnection; mybListRecoveryLogs: MybRecoveryLogConnection; mybListSessions: MybWorkoutSessionConnection; /** The calling actor's AI-processing consent for health data (BOFF-3838). */ mybMyAiProcessingConsent: MybAiProcessingConsent; /** * Legal-acceptance checkpoints recorded by the CALLING actor. Self-scoped * (Type C): the ctx.actorId filter IS the access control, no identity arg. * Used by the app shell to decide whether to show the acceptance gate before * letting the actor into core flows. */ mybMyLegalAcceptances: MybLegalAcceptanceConnection; /** The calling member's community profile, or null before they set one up. */ mybMySocialProfile?: Maybe<MybSocialProfile>; mybNutritionPlan?: Maybe<MybNutritionPlan>; mybProgram?: Maybe<MybProgram>; mybProgramWorkouts: MybWorkoutConnection; /** * Central progression aggregates for the calling member (BOFF-5946): * weekly training volume, consistency %, per-exercise best-set progression, * estimated strength curves, and the weight-trend ↔ calorie-adherence * correlation, computed over the last `weeks` weeks (1–52, default 12). * Always scoped to the caller; there is no memberId argument, mirroring * mybListSessions and mybExerciseBestSet. Purely computed — nothing * persisted. */ mybProgressionAggregates: MybProgressionAggregates; /** * Compute a nutrition-retuning proposal for a member's active plan from * their recent weight trend and calorie adherence, and persist it PENDING * (BOFF-5948). The plan is not touched — accept the proposal to apply it. * An explicit memberId (a coach proposing for a member) requires an ACTIVE, * consented coaching relationship. */ mybProposeNutritionRetuning: MybNutritionRetuningProposal; mybRecoveryLog?: Maybe<MybRecoveryLog>; /** Retuning proposals for a member, newest first (max 50). */ mybRetuningProposals: Array<MybNutritionRetuningProposal>; /** * Text-search the Open Food Facts public food database (BOFF-4173). Returns * an empty list (never an error) when the upstream service is unreachable or * times out, so a flaky network never blocks manual meal logging. */ mybSearchFoods: Array<MybFood>; mybSession?: Maybe<MybWorkoutSession>; mybSessionSets: MybSessionSetConnection; /** * The calling member's recent completed sessions and achievements that can * be shared to the feed. */ mybShareableItems: Array<MybShareableItem>; /** * The workspace activity feed, newest first. Only posts from members who * currently opt in are returned, and COACHES-only posts are returned only to * their author and the author's consented coaches. */ mybSocialFeed: MybSocialPostConnection; /** * Rule-based recovery-aware guidance for today, with an optional richer * AI-generated plain-language summary (BOFF-4174). The BYOK AI summary * invocation goes through the platform LLM gateway and counts as one * BYOK AI program/nutrition assist operation against * `mybodyshield.ai_operations.daily` (BOFF-5949); the rule-based cards * never depend on the LLM and never consume the quota. Same * directive shape as the sibling DAILY AI-ops quota on * `crewJobPostingMatches` in * `wspace-crewfoundry-svc/src/modules/workforce/schema/matching.gql`. */ mybTodayGuidance: MybTodayGuidance; mybWorkoutExercises: MybExerciseConnection; /** Runtime state of the narrative feature for this workspace (admin visibility). */ narrativeStatus: BigConsoleNarrativeFeatureStatus; /** Get a specific node endpoint configuration */ nodeEndpointConfig?: Maybe<NodeEndpointConfig>; /** Get list of node endpoint configurations */ nodeEndpointConfigs: NodeEndpointsListResponse; /** Get recent logs for a specific node type */ nodeLogs: NodeLogsResponse; nodeManifest?: Maybe<Scalars['JSON']['output']>; /** * Manifests of several nodes in one request (BOFF-10387), each in the shape * `nodeManifest` returns, in the order of `refs`. A ref with a version resolves * like `nodeManifest`; a ref without one resolves to the newest AVAILABLE version * this workspace's palette offers. Refs that resolve to nothing are left out. * At most 500 refs per request. With `detail: SUMMARY` each operation carries * only the fields a palette lists (BOFF-13066); the default is the full manifest. */ nodeManifests: Array<Scalars['JSON']['output']>; nodeSchemaIntrospection?: Maybe<Scalars['JSON']['output']>; nodeState?: Maybe<NodeState>; /** * The run's node states, oldest first. With `ids`, only those node states (`NodeState.id`) of the run: * the builder reads a node's inputs and outputs once, for the nodes its status poll saw change, instead * of every node's payload on every poll (BOFF-10386). At most 500 ids. */ nodeStates: Array<NodeState>; /** Get resource usage statistics for all nodes */ nodeUsageStats: Array<NodeResourceUsage>; nodeUsageStatus: NodeUsageStatus; /** Get specific note by ID */ note?: Maybe<VibecontrolsNote>; /** Get all notes in a workspace */ notes: VibecontrolsNoteList; /** Get a specific operation configuration */ operationConfig?: Maybe<OperationConfig>; /** Get list of operation configurations */ operationConfigs: OperationConfigsListResponse; /** One optimisation suggestion of this workspace. Any other id is NOT_FOUND. */ optimisationSuggestion: OptimisationSuggestion; /** The workspace's optimisation suggestions, best first. */ optimisationSuggestions: OptimisationSuggestionList; /** Get total count of organizations (for analytics) */ organizationCount: Scalars['Int']['output']; parser?: Maybe<Parser>; /** Actions waiting for an admin's approval, newest first (default 50, max 200). */ pendingActionPolicyApprovals: Array<ActionPolicyApproval>; pendingApprovals: Array<TimeApprovalRequest>; /** * Pending tool-approval requests for the caller's workspace — the approval * inbox. Ordered newest-first. */ pendingToolApprovals: ToolApprovalRequestPage; /** * Asks still waiting for a person in the caller's workspace — the in-app inbox. * Newest first. `canRespond` marks the ones the caller may answer here. */ pendingWorkflowHumanRequests: WorkflowHumanRequestPage; /** Get permission check audit log */ permissionAuditLog: Array<PermissionAuditLog>; /** Get permission check audit logs with bounded offset metadata. */ permissionAuditLogPage: PermissionAuditLogPage; physicalAudit?: Maybe<PhysicalAudit>; physicalAudits: Array<PhysicalAudit>; /** Get pinned notes */ pinnedNotes: VibecontrolsNoteList; pipeline?: Maybe<Pipeline>; pipelineExecution?: Maybe<PipelineExecution>; /** * A merged, newest-first stream of work-item events across the workspace (CWF-09): creation, status changes, * comments and tracked field edits. Keyset-paginated — `pagination.after` is an opaque cursor over the merged * stream, not any one source's own id — see PlanmagnetActivityFeedPageInfo for why there is no totalCount. */ planmagnetActivityFeed: PlanmagnetActivityFeedPage; /** * ANR-19: the generic Analytics aggregate for one project (optional — see PlanmagnetAnalytics for what is * empty without one) within a workspace. */ planmagnetAnalytics: PlanmagnetAnalytics; /** * Open work items of a project (optionally narrowed to one sprint) that carry one or more at-risk * flags (AI-10) — see PlanmagnetRiskFlagKind for the rules and their thresholds. Bounded to a scan of * the project's live open items; resource matches planmagnetWorkItems since this reads and reasons * about work-item data. */ planmagnetAtRiskWorkItems: PlanmagnetAtRiskWorkItemList; /** List automation executions */ planmagnetAutomationExecutions: PlanmagnetAutomationExecutionList; /** Get a single automation rule by ID */ planmagnetAutomationRule?: Maybe<PlanmagnetAutomationRule>; /** List automation rules in a workspace for admin audit. */ planmagnetAutomationRuleAudit: PlanmagnetAutomationRuleAuditConnection; /** List automation rules in a workspace */ planmagnetAutomationRules: PlanmagnetAutomationRuleList; /** Get a single board by ID */ planmagnetBoard?: Maybe<Board>; /** * One column's cards, a page at a time (a column shows its first 100; this pages past them). Same placement as * BoardColumn.cards */ planmagnetBoardColumnCards: PlanmagnetWorkItemList; /** One board view — null if it does not exist or is someone else's private view */ planmagnetBoardView?: Maybe<PlanmagnetBoardView>; /** Saved board views the caller can use: their own, plus every SHARED one */ planmagnetBoardViews: PlanmagnetBoardViewList; /** List boards in a workspace */ planmagnetBoards: PlanmagnetBoardList; /** Get a single budget by ID */ planmagnetBudget?: Maybe<PlanmagnetBudget>; /** List budget expenses */ planmagnetBudgetExpenses: PlanmagnetBudgetExpenseList; /** List budgets in a workspace */ planmagnetBudgets: PlanmagnetBudgetList; /** * ANR-12 business intelligence: ROI, strategic alignment, resource flags, market impact, competitive parity, flow * efficiency, bottleneck, automation opportunities, quality areas and run-rate cost for one scope and window (default * the trailing 90 days). Server-computed from stored evidence only; each section is computed only when selected. * Gated like planmagnetPortfolioRollup (the ANR-12 MVP), whose budget figures it extends. */ planmagnetBusinessIntelligence: PlanmagnetBusinessIntelligence; /** Get a single competitor by ID */ planmagnetCompetitor?: Maybe<Competitor>; /** List competitors in a workspace */ planmagnetCompetitors: PlanmagnetCompetitorList; /** * Compute the critical path (longest dependency chain) for a workspace. * When `projectId` is supplied, the path is scoped to the work items in * that project; otherwise the entire workspace dependency graph is used. */ planmagnetCriticalPath: PlanmagnetCriticalPath; /** * Cumulative flow diagram data for a project: work item counts per status, * per day, over a date range (defaults to the trailing 30 days). */ planmagnetCumulativeFlow: PlanmagnetCumulativeFlow; /** Get a single custom field definition by ID */ planmagnetCustomFieldDefinition?: Maybe<CustomFieldDefinition>; /** List custom field definitions in a workspace */ planmagnetCustomFieldDefinitions: PlanmagnetCustomFieldDefinitionList; /** List custom field values */ planmagnetCustomFieldValues: PlanmagnetCustomFieldValueList; /** * CSAT and NPS for the workspace, or one product/release/project (see PlanmagnetCustomerSatisfactionFilter), over a * window — default the trailing 90 days. Computed in the database from live responses only. */ planmagnetCustomerSatisfaction: PlanmagnetCustomerSatisfaction; /** Null when it does not exist in this workspace or was deleted. */ planmagnetCustomerSatisfactionResponse?: Maybe<PlanmagnetCustomerSatisfactionResponse>; /** Live responses, newest answer first. Same filter rules as planmagnetCustomerSatisfaction. */ planmagnetCustomerSatisfactionResponses: PlanmagnetCustomerSatisfactionResponseList; /** * Cycle-time distribution for a project's work items that reached DONE * within a date range (defaults to the trailing 90 days). */ planmagnetCycleTime: PlanmagnetCycleTime; /** * On-time delivery rate and scope adherence across sprints, releases and milestones completed within a date * range (default: the trailing 30 days) — ANR-21. Reuses `planmagnet-sprint`, the same resource every other * delivery-analytics query in this file uses: the data (sprints/releases/milestones reaching their * completion state) is the same "how is delivery going" domain this whole module already reads, not a * distinct one. */ planmagnetDeliveryKpis: PlanmagnetDeliveryKpis; /** List dependencies in a workspace */ planmagnetDependencies: PlanmagnetWorkItemDependencyList; /** Get a single dependency by ID */ planmagnetDependency?: Maybe<WorkItemDependency>; /** * Walk the dependency graph from a starting work item and return the * reachable chain. Optional `maxDepth` bounds the traversal (default 50). */ planmagnetDependencyChain: PlanmagnetDependencyChain; /** * List every distinct cycle in the workspace's dependency graph. Returns * an empty array when the graph is acyclic. */ planmagnetDependencyCycles: Array<PlanmagnetDependencyCycle>; planmagnetDoc?: Maybe<PlanmagnetDoc>; /** * Top-level comments on a doc, oldest first, cursor-paged; each carries its own replies (CWF-12, bounded — see * PlanmagnetComment.replies). */ planmagnetDocComments: PlanmagnetCommentList; /** * A line-based diff between two revisions of a doc (CWF-18 §3). `toVersion` omitted compares against the doc's * CURRENT version — reading the live doc rather than its latest DocRevision row avoids a race against a write * landing between listing revisions and diffing them (the two are always equal per PlanmagnetDoc's versioning * contract, but only one of them is safe to read without re-fetching). */ planmagnetDocRevisionDiff: PlanmagnetDocRevisionDiff; planmagnetDocs: PlanmagnetDocList; /** * Export one persisted run — same read-visibility rule as planmagnetReportRun (the report must be visible to * the caller, or the caller is a named recipient of one of its schedules — ANR-15). CSV: one section per * widget, values quoted per RFC 4180 (quotes doubled, fields containing a comma/quote/newline wrapped in * quotes). XML: every value properly entity-escaped. JSON: the snapshot as-is, pretty-printed. Bounded: derived * from the run's own already size-capped data (report-run.service.ts's capRunData), never re-fetches anything. */ planmagnetExportReportRun: PlanmagnetReportExport; /** List external mappings */ planmagnetExternalMappings: PlanmagnetExternalMappingList; /** Get a single external sync by ID */ planmagnetExternalSync?: Maybe<ExternalSync>; /** List external syncs in a workspace */ planmagnetExternalSyncs: PlanmagnetExternalSyncList; /** * PRM-27: for FeatureRequest, how its live items bucket under MoSCoW, Kano and Value-vs-Effort — counts and a * capped sample per bucket, for each of the three methods in one call. `productId` scopes to that product * directly; `roadmapId` scopes through the linked initiative (FeatureRequest.roadmapItem.roadmapId). Split from * RoadmapItem's variant below so each can carry its own `@rbac` resource — a single static directive cannot * branch on an argument, so one merged field with a `source` arg could not gate FEATURE_REQUEST and ROADMAP_ITEM * separately (see PrioritizationService). */ planmagnetFeaturePrioritizationMatrix: PlanmagnetPrioritizationMatrix; /** Get a single feature request by ID */ planmagnetFeatureRequest?: Maybe<FeatureRequest>; /** List feature requests in a workspace */ planmagnetFeatureRequests: PlanmagnetFeatureRequestList; /** * A Monte Carlo delivery forecast for a project (ANR-02): how many more sprints the remaining scope is * likely to take, and the calendar dates those sprint counts land on — resampling the trailing * completed sprints' real velocities (2,000 seeded trials; deterministic — the same inputs always * produce the same forecast). `resource` matches the other sprint-velocity analytics queries: the data * this reads (sprints reaching completion) is the same domain planmagnetVelocity already reads. */ planmagnetForecastDelivery: PlanmagnetDeliveryForecast; /** The autonomous planning loop switch + run state for this workspace — null when never configured. */ planmagnetIntelligenceLoop?: Maybe<PlanmagnetIntelligenceLoop>; planmagnetKeyResult?: Maybe<PlanmagnetKeyResult>; /** A single meeting the caller may read in this workspace. Null if it does not exist, or is unlinked. */ planmagnetMeeting?: Maybe<PlanmagnetMeeting>; /** Meetings in this workspace, newest-starting first filter aside — ordered by startsAt ascending. */ planmagnetMeetings: PlanmagnetMeetingList; /** * ANR-18: workspace-wide generic metrics (burndown/velocity/cumulativeFlow/cycleTime/throughput are * project/sprint-scoped and feed planmagnetAnalytics.projectMetrics instead — see PlanmagnetAnalytics). Backed * by planmagnetDeliveryKpis, the one query in this module already scoped to the whole workspace. `category` * narrows to one named metric (sprintOnTimeRate | releaseOnTimeRate | milestoneOnTimeRate | * scopeAdherenceRate); omitted, every metric with a real (non-null-denominator) value is returned. Customer * satisfaction is deliberately not a row here: a CSAT/NPS figure is always shown with its response count and * window (owner decision 2026-10-02), which a PlanmagnetMetric row cannot carry — read * planmagnetDeliveryKpis.customerSatisfaction or planmagnetCustomerSatisfaction instead. */ planmagnetMetrics: Array<PlanmagnetMetric>; /** Get a single milestone by ID */ planmagnetMilestone?: Maybe<Milestone>; /** List milestones in a workspace */ planmagnetMilestones: PlanmagnetMilestoneList; /** * The CALLING actor's own AI calls in this workspace, newest first. * * Until 2026-09-24 the ledger was write-only: every AI call was recorded and * nothing could read the record back. * * Two checks, deliberately both. The directive requires read on planmagnet-ai * in this workspace, so someone removed from the workspace loses access to it. * The resolver then filters on the caller's own actorId, which is what makes * this a personal list — the rows are other people's prompts otherwise, and a * workspace-wide view needs its own policy decision (see BOFF-7868: every * member currently holds VIEWER on planmagnet-admin, so gating on that would * show everyone's prompts to everyone). */ planmagnetMyAgentRuns: PlanmagnetAgentRunList; /** * The last N ISO weeks (default 8, max 26) of the caller's own delivery trend: items/points whose transition * INTO DONE fell in each week (ANR-08). Identity comes from x-actor-id — there is no actorId argument, the * same reasoning as planmagnetMyWorkItems above. */ planmagnetMyDeliveryTrend: Array<PlanmagnetDeliveryWeek>; /** * The caller's own logged hours within a date range (default: the trailing 30 days), by project and by work * item type — ANR-08. Identity comes from the caller's actorId; there is no userId argument, the same * reasoning as planmagnetMyWorkItems: this reuses the workspace's timetracking read grant and scopes to the * caller inside the resolver, rather than an @rbac(scopeType: "self") field. */ planmagnetMyTimeAllocation: PlanmagnetTimeAllocation; /** * The caller's own assigned work items across every project in the workspace, sorted overdue-first * (see utils/my-work.ts for the exact order). Identity comes from x-actor-id — there is no actorId * argument, by design: work items are a collaborative resource (BOFF-8043 workflow, projects with * many members), so this is NOT an @rbac(scopeType: "self") field — it reuses the same read grant as * planmagnetWorkItems and filters to the caller inside the resolver. */ planmagnetMyWorkItems: PlanmagnetWorkItemList; planmagnetObjective?: Maybe<PlanmagnetObjective>; planmagnetObjectives: PlanmagnetObjectiveList; /** Get a single portfolio by ID */ planmagnetPortfolio?: Maybe<Portfolio>; /** Get aggregated overview metrics for a portfolio */ planmagnetPortfolioOverview: PlanmagnetPortfolioOverview; /** * ANR-12 MVP: a server-computed rollup across every LIVE project linked to a portfolio. See * PlanmagnetPortfolioRollup for exactly what it covers and what is explicitly deferred. */ planmagnetPortfolioRollup: PlanmagnetPortfolioRollup; /** List portfolios in a workspace */ planmagnetPortfolios: PlanmagnetPortfolioList; /** * Actors present on a target within the last 30 seconds (CWF-24). Includes the caller's own row — the UI filters * itself out, this field does not, so the same list also proves the caller's own heartbeat is being recorded. */ planmagnetPresence: Array<PlanmagnetPresenceEntry>; planmagnetProduct?: Maybe<Product>; /** Null when it does not exist in this workspace or was deleted. */ planmagnetProductFeature?: Maybe<PlanmagnetProductFeature>; /** A product's features, newest first. `productId` must be a live product of this workspace, else NOT_FOUND. */ planmagnetProductFeatures: PlanmagnetProductFeatureList; /** Null when it does not exist in this workspace, was deleted, or its product was. */ planmagnetProductLaunch?: Maybe<PlanmagnetProductLaunch>; /** The built-in go-to-market templates, in the caller's language. */ planmagnetProductLaunchTemplates: Array<PlanmagnetProductLaunchTemplate>; /** * A product's launches, soonest target launch date first. `productId` must be a live product of this workspace, else * NOT_FOUND. */ planmagnetProductLaunches: PlanmagnetProductLaunchList; /** Null when it does not exist in this workspace or was deleted. */ planmagnetProductLine?: Maybe<PlanmagnetProductLine>; planmagnetProductLines: PlanmagnetProductLineList; /** Null when it does not exist in this workspace, was deleted, or its product was. */ planmagnetProductMarketSizing?: Maybe<PlanmagnetProductMarketSizing>; /** * A product's estimates, newest first (as-of date, then recording time). `productId` must be a live product of this * workspace, else NOT_FOUND. */ planmagnetProductMarketSizings: PlanmagnetProductMarketSizingList; /** Null when it does not exist in this workspace or was deleted; Product deletion does not hide the Persona. */ planmagnetProductPersona?: Maybe<PlanmagnetProductPersona>; /** A product's personas, newest first. `productId` must be a live product of this workspace, else NOT_FOUND. */ planmagnetProductPersonas: PlanmagnetProductPersonaList; planmagnetProducts: PlanmagnetProductList; /** Get a single program by ID */ planmagnetProgram?: Maybe<Program>; /** List programs in a workspace */ planmagnetPrograms: PlanmagnetProgramList; /** Get a single project by ID */ planmagnetProject?: Maybe<PlanmagnetProject>; /** * Top-level comments on a project, oldest first, cursor-paged; each carries its own replies (CWF-12, bounded — * see PlanmagnetComment.replies). */ planmagnetProjectComments: PlanmagnetCommentList; /** * A heuristic project health summary (ANR-10): timeline deviation against the delivery forecast, * budget burn-rate projection, quality trend, risk exposure, and an explicit-rule success likelihood. */ planmagnetProjectOutlook: PlanmagnetProjectOutlook; /** At-risk flag counts for a project (AI-10), by kind and by severity. */ planmagnetProjectRiskSummary: PlanmagnetProjectRiskSummary; /** Get a single project template by ID */ planmagnetProjectTemplate?: Maybe<ProjectTemplate>; /** List project templates in a workspace */ planmagnetProjectTemplates: PlanmagnetProjectTemplateList; /** A project's workflow */ planmagnetProjectWorkflow: PlanmagnetProjectWorkflow; /** List projects in a workspace */ planmagnetProjects: PlanmagnetProjectList; /** Get a single quality gate by ID */ planmagnetQualityGate?: Maybe<QualityGate>; /** List quality gates in a workspace */ planmagnetQualityGates: PlanmagnetQualityGateList; /** * Bug/defect and quality-gate metrics for a workspace or one project, within a date range (default: the * trailing 30 days) — ANR-20. */ planmagnetQualityMetrics: PlanmagnetQualityMetrics; /** Get a single release by ID */ planmagnetRelease?: Maybe<Release>; /** * What stands between a release and shipping: its scope, and every open item * in it held by an unmet dependency, with what it waits on. * Gated on dependency read: it exposes which item waits on which. */ planmagnetReleaseReadiness: PlanmagnetReleaseReadiness; /** List releases in a workspace */ planmagnetReleases: PlanmagnetReleaseList; /** * A single report the caller may read: their own, or one visible to the whole workspace. Null if it does not * exist, or exists but is private to someone else. */ planmagnetReport?: Maybe<PlanmagnetReport>; /** A single run the caller may read — same visibility rule as planmagnetReportRuns. Null otherwise. */ planmagnetReportRun?: Maybe<PlanmagnetReportRun>; /** * Runs of a report the caller may read (its report must be visible to them: owned, or WORKSPACE-visible — OR * the caller is named in a SCHEDULE run's ReportSchedule.recipientIds, ANR-15). */ planmagnetReportRuns: PlanmagnetReportRunList; /** Owner-only: every schedule on a report. */ planmagnetReportSchedules: Array<PlanmagnetReportSchedule>; /** Every share of a report the caller owns. */ planmagnetReportShares: Array<PlanmagnetReportShare>; /** ANR-14: the 5 standard report templates. */ planmagnetReportTemplates: Array<PlanmagnetReportTemplate>; /** The caller's own reports plus every WORKSPACE-visible report. */ planmagnetReports: PlanmagnetReportList; /** * A statistical capacity forecast for one team or one project (ANR-11): current open, estimated * backlog vs historical velocity, and the resulting per-sprint capacity gap over horizonSprints upcoming * sprints. Exactly one of teamId/projectId is required. Resource matches planmagnetTeamVelocity: * primarily a staffing/capacity view. */ planmagnetResourceForecast: PlanmagnetResourceForecast; /** Get a single risk by ID */ planmagnetRisk?: Maybe<Risk>; /** Get the risk matrix for a project */ planmagnetRiskMatrix: PlanmagnetRiskMatrix; /** List risks in a workspace */ planmagnetRisks: PlanmagnetRiskList; /** Get a single roadmap by ID */ planmagnetRoadmap?: Maybe<Roadmap>; /** * Comments on a roadmap, or on one of its items, oldest first (PRM-11). * `roadmapItemId` filters to that item's thread; omitted, it lists only * comments on the roadmap itself (roadmapItemId IS NULL) — the same "filter * present = exact match, absent = unplaced/unattached" convention as * `PlanmagnetRoadmapItemFilter.horizon`, not "everything on the roadmap". */ planmagnetRoadmapComments: PlanmagnetRoadmapCommentList; /** Get a single roadmap item by ID */ planmagnetRoadmapItem?: Maybe<RoadmapItem>; /** List roadmap items */ planmagnetRoadmapItems: PlanmagnetRoadmapItemList; /** * PRM-27: for RoadmapItem (the initiative cards), how its live items bucket under MoSCoW, Kano and * Value-vs-Effort — same shape as `planmagnetFeaturePrioritizationMatrix`. `productId` scopes through the * roadmap's productId; `roadmapId` scopes directly. Gated on `planmagnet-roadmap` read access, separately from * the FeatureRequest variant, since roadmap-read is a distinct resource from feature-read. */ planmagnetRoadmapPrioritizationMatrix: PlanmagnetPrioritizationMatrix; /** A roadmap's review requests, newest first (PRM-11) — the newest 100. */ planmagnetRoadmapReviews: Array<PlanmagnetRoadmapReview>; /** A single saved version, with its snapshot (PRM-11). */ planmagnetRoadmapVersion?: Maybe<PlanmagnetRoadmapVersion>; /** * What changed between two roadmap states (PRM-11): `fromVersionId` against * either `toVersionId` (another saved version of the SAME roadmap) or, when * `toVersionId` is omitted, the roadmap's current live items. Computed on the * server from each side's stored/derived snapshot. */ planmagnetRoadmapVersionDiff: PlanmagnetRoadmapVersionDiff; /** A roadmap's saved versions, newest first, without their snapshots (PRM-11). */ planmagnetRoadmapVersions: PlanmagnetRoadmapVersionList; /** List roadmaps in a workspace */ planmagnetRoadmaps: PlanmagnetRoadmapList; /** * Resolve a share token to its report snapshot — no authentication, no workspace context; the token IS the * capability. An unknown, expired or revoked token all return null identically (no oracle). A password- * protected share with a missing or wrong password is refused with a generic error instead of null, so the * client can distinguish "show a password prompt" from "this link is gone" — seeing that distinction reveals * nothing a possessor of a valid-looking token could not already infer. */ planmagnetSharedReport?: Maybe<PlanmagnetSharedReport>; /** * Skill coverage (ANR-07, ANR-28): per skill, the open work requiring it, how much of that is assigned, and which * active workspace members are qualified by their CrewFoundry skills (read-only — PlanMagnet never writes * CrewFoundry). Hours-based skill utilization is not computed until CWF-28 adds a per-person capacity baseline. */ planmagnetSkillCoverage: PlanmagnetSkillCoverageResult; /** Get a single sprint by ID */ planmagnetSprint?: Maybe<Sprint>; /** * Burndown chart data for a sprint: remaining vs completed points/count per * day across the sprint's date range. Returns null if the sprint does not * exist in the workspace. */ planmagnetSprintBurndown?: Maybe<PlanmagnetSprintBurndown>; /** * Real cross-layer sprint-planning capacity view (BOFF-4444): for each * work-item assignee in this sprint who matches a CrewFoundry employee * record, surfaces live workforce allocation/availability queried from * `wspace-crewfoundry-svc` via the internal wspace gateway. */ planmagnetSprintCapacity: PlanmagnetSprintCapacity; /** List sprints in a workspace */ planmagnetSprints: PlanmagnetSprintList; /** * Status-to-status transition counts for a project's live work items within [from, to] (ANR-24, Sankey source * data). Aggregated with groupBy, never by loading every transition into memory. The window is capped at 366 * days; a wider one, or `to` before `from`, is BAD_USER_INPUT. */ planmagnetStatusFlow: Array<PlanmagnetStatusFlowEdge>; /** * Suggest roadmap initiatives that may already address a feature request (BOFF-3893). Deterministic * signals — shared project, shared tags, title/description term overlap, demand already linked to the * initiative, a shared anchor work item — each contributing a stated reason. Suggestions only: nothing * is linked. The initiative already linked to the request is never returned. */ planmagnetSuggestInitiativeLinks: Array<PlanmagnetInitiativeLinkSuggestion>; /** * AUT-23/20 — the providers this service actually supports right now, and what each one can do, derived from * the connector code */ planmagnetSupportedSyncProviders: Array<PlanmagnetSyncProviderCapability>; /** AUT-12 — code links discovered for one sync, newest (by remoteUpdatedAt) first */ planmagnetSyncCodeLinks: PlanmagnetWorkItemCodeLinkList; /** AUT-10/24 — conflicts detected for one sync, optionally filtered to OPEN/RESOLVED */ planmagnetSyncConflicts: PlanmagnetSyncConflictList; /** AUT-22/09 — per-run history for one sync, newest first */ planmagnetSyncRuns: PlanmagnetSyncRunList; /** AUT-02 — webhook deliveries recorded for one sync, newest first */ planmagnetSyncWebhookDeliveries: PlanmagnetWebhookDeliveryList; /** Get a single team by ID. */ planmagnetTeam?: Maybe<Team>; /** * Velocity (whole-sprint completed points, plus the per-project split) across the trailing N COMPLETED sprints * of a team (BOFF-8044). */ planmagnetTeamVelocity: PlanmagnetTeamVelocity; /** List teams in a workspace. */ planmagnetTeams: PlanmagnetTeamList; /** * Work items that reached DONE per period (day or week), over a date range (defaults to the * trailing 12 weeks). BOFF-8048 Reports: the throughput sibling of planmagnetCycleTime, reusing the * exact toStatus='DONE' transition scan — see AnalyticsService.throughput(). */ planmagnetThroughput: PlanmagnetThroughput; /** List time entries in a workspace */ planmagnetTimeEntries: PlanmagnetTimeEntryList; /** Get a single time entry by ID */ planmagnetTimeEntry?: Maybe<PlanmagnetTimeEntry>; /** Get a single timesheet by ID */ planmagnetTimesheet?: Maybe<PlanmagnetTimesheet>; /** List timesheets in a workspace */ planmagnetTimesheets: PlanmagnetTimesheetList; /** * CWF-30 admin remediation list: workspace members with a live work-item assignment whose identity could not be * resolved to a CrewFoundry employee — no override set, and no e-mail match against the CrewFoundry roster. */ planmagnetUnmatchedCrewIdentities: Array<PlanmagnetUnmatchedCrewIdentity>; /** * Velocity (completed story points per sprint) across the trailing N * COMPLETED sprints of a project, plus a simple next-sprint forecast. */ planmagnetVelocity: PlanmagnetVelocity; /** AUT-33 — delivery log for one subscription, newest first */ planmagnetWebhookSubscriptionDeliveries: PlanmagnetWebhookSubscriptionDeliveryList; /** List outbound webhook subscriptions in a workspace */ planmagnetWebhookSubscriptions: PlanmagnetWebhookSubscriptionList; /** * Per-project open/done item counts and story points, broken down by epic (ANR-24, treemap source data). * `projectIds` narrows to those live projects of the workspace (itself capped at 50); omitted, every live * project in the workspace is considered (also capped at 50, by id). Aggregated with groupBy/count — never * loads a project's work items into memory. */ planmagnetWorkBreakdown: PlanmagnetWorkBreakdown; /** Get a single work item by ID */ planmagnetWorkItem?: Maybe<WorkItem>; /** A work item's recorded history, newest first */ planmagnetWorkItemActivity: PlanmagnetWorkItemActivity; /** * Top-level comments on a work item, oldest first, cursor-paged; each carries its own replies (CWF-02, bounded — * see PlanmagnetWorkItemComment.replies). */ planmagnetWorkItemComments: PlanmagnetWorkItemCommentList; /** * Count work items matching a filter, in total, per status and per project, * computed on the server */ planmagnetWorkItemCounts: PlanmagnetWorkItemCounts; /** Docs currently linked to a given work item. */ planmagnetWorkItemDocs: Array<PlanmagnetDoc>; /** * Every issue link touching a work item, both directions, read from its side (PDM-24). Links to deleted items are * left out. */ planmagnetWorkItemIssueLinks: Array<PlanmagnetWorkItemIssueLink>; /** Get a single work item link by ID */ planmagnetWorkItemLink?: Maybe<WorkItemLink>; /** List work item links in a workspace (filter by work item or source entity) */ planmagnetWorkItemLinks: PlanmagnetWorkItemLinkList; /** List work items in a workspace */ planmagnetWorkItems: PlanmagnetWorkItemList; /** List the users who currently hold billable editor access to a workspace. */ planmagnetWorkspaceEditors: PlanmagnetWorkspaceEditorList; /** The erasure record of the request's workspace, if one was ever requested (admin) */ planmagnetWorkspaceErasure?: Maybe<PlanmagnetWorkspaceErasure>; /** * RBAC-protected workspace Persona library, newest first, including Personas with no live Product after a delete. * `workspaceId` must match the request workspace. Archived Personas are hidden unless requested in the filter. */ planmagnetWorkspacePersonas: PlanmagnetProductPersonaList; /** Get a PlanMagnet workspace quota overview (counts + billing limits). */ planmagnetWorkspaceQuotaOverview: PlanmagnetQuotaOverview; platformEventSources: Array<PlatformEventSource>; platformEventTriggers: Array<PlatformEventTrigger>; /** Get a configured OPA policy reference by ID */ policyReference?: Maybe<PolicyReference>; /** Get configured OPA policy references */ policyReferences: Array<PolicyReference>; /** Get configured OPA policy references with bounded offset metadata. */ policyReferencesPage: PolicyReferencePage; pollTriggers: Array<PollTriggerState>; pomodoroGoals: Array<PomodoroGoal>; pomodoroSession?: Maybe<PomodoroSession>; pomodoroSessions: Array<PomodoroSession>; pomodoroSettings?: Maybe<PomodoroSettings>; pomodoroStats: PomodoroStats; presence: Array<Presence>; previewDataSinkAlert: DataSinkAlertPreview; previewMtwConsolidationManifest: MtwConsolidationSnapshot; previewMtwFreightInvoice: MtwFreightInvoicePreview; previewMtwFreightTotal: MtwFreightPreview; /** * Convert an n8n workflow export (its JSON, as exported or copied from the n8n canvas) into a * FluidGrids definition and report what carried over, without saving anything (BOFF-9730). * importWorkflow accepts the same export directly. */ previewN8nImport: WorkflowN8nImportPreview; /** Preview what a prompt might generate. This performs AI analysis and consumes one command quota unit. */ previewPromptAnalysis: PromptAnalysisPreview; previewSchedule: SchedulePreview; /** Preview smart collection results without creating */ previewSmartCollection: CollectionItemList; /** * Probe an existing agent's connectivity by its ID. * Looks up the agent record and calls /health and /api/agent/identity. */ probeAgentConnection: AgentProbeResult; /** * Probe an agent tunnel URL for health and identity. * Used by the Add Agent wizard before the agent record exists. * The backend calls /health and /api/agent/identity on the given URL. */ probeAgentTunnel: AgentProbeResult; problem?: Maybe<Problem>; problems: Array<Problem>; /** Get all workspaces subscribed to a product */ productSubscriptions: SubscribedProductList; /** Get a single project by ID */ project?: Maybe<Project>; /** * Get total count of projects the calling user has access to (for analytics). * Self-scoped — resolver filters by ctx.userId. (BOFF-2655) */ projectCount: Scalars['Int']['output']; /** Get all invitations for a project */ projectInvitations: InvitationList; /** Get a single project member by ID */ projectMember?: Maybe<ProjectMember>; /** Get project members with filtering and pagination */ projectMembers: ProjectMemberList; /** * Get multiple projects with filtering and pagination. * Workspace scope is read from gateway context (x-workspace-id header). */ projects: ProjectList; promptGuardrailPolicies: PromptGuardrailPolicyConnection; promptGuardrailPolicy?: Maybe<PromptGuardrailPolicy>; promptInvocation?: Maybe<PromptInvocation>; promptInvocationAttemptV2?: Maybe<PromptInvocationAttemptV2>; promptInvocations: PromptInvocationConnection; promptMcpServer?: Maybe<PromptMcpServer>; promptMcpServers: PromptMcpServerConnection; promptModel?: Maybe<PromptModel>; promptModels: PromptModelConnection; promptProvider?: Maybe<PromptProvider>; /** * Credentials never expose their secret — only the last four characters. * Admin-only in both directions: knowing which providers a workspace has * configured is itself useful to an attacker. */ promptProviderCredentials: PromptProviderCredentialConnection; promptProviders: PromptProviderConnection; /** The calling workspace's AI prompt quota for the current month. */ promptQuota: PromptQuota; promptResults: PromptResultConnection; promptTemplate?: Maybe<PromptTemplateDef>; promptTemplateByKey?: Maybe<PromptTemplateDef>; promptTemplateVersions: PromptTemplateVersionConnection; promptTemplates: PromptTemplateDefConnection; promptUsageBreakdownV2: PromptUsageBreakdownV2; promptUsageSummary: PromptUsageSummary; promptUsageSummaryV2: PromptUsageSummaryV2; /** * Ground-truth live counts for wspace-activity-svc's count reconciler * (BOFF-10698): one sample per reusable live-count quota * (proserviceworld.clients.active, proserviceworld.matters.concurrent) with * the value the workspace counter should hold. Reconciler-only feed — the * resolver admits service and super_admin actors exclusively; the internal * gateway does not enforce @rbac. The request carries no x-workspace-id, so * the workspace is bound from the argument via withWorkspaceContext. */ proserviceworldCountMetrics: Array<PswQuotaCountMetric>; provenanceRecords: Array<ProvenanceRecord>; pswClient?: Maybe<PswClient>; pswComplianceCheck?: Maybe<PswComplianceCheck>; pswComplianceObligation?: Maybe<PswComplianceObligation>; pswComplianceObligations: PswComplianceObligationPage; pswConflictCheck?: Maybe<PswConflictCheck>; pswCredentialRecordedReadiness: PswCredentialRecordedReadiness; pswCredentialRequestOutcome: PswCredentialRequestOutcome; pswCredentialReviews: PswCredentialReviewPage; pswCustomFieldDefinition?: Maybe<PswCustomFieldDefinition>; /** * Aggregate practice metrics for the current workspace (real counts). * Monetary figures include only the requested currency (USD by default), with * no implicit FX conversion; an invalid code is rejected with BAD_USER_INPUT. */ pswDashboardStats: PswDashboardStats; pswDocument?: Maybe<PswDocument>; pswEcoReportCreationOutcome?: Maybe<EcoCreationOutcome>; /** Committed receipt for this authenticated actor's exact site creation key; null is not proof of rollback. */ pswEcoSiteCreationOutcome?: Maybe<EcoCreationOutcome>; pswEcoSpeciesCreationOutcome?: Maybe<EcoCreationOutcome>; pswEducationCredit?: Maybe<PswEducationCredit>; pswEducationCredits: PswEducationCreditPage; pswEngagement?: Maybe<PswEngagement>; /** * Ranked precedent/document search over the firm's own corpus (BOFF-3879): * prior matters, engagements, deliverables, and documents matching a free-text * or matter-derived query, with cited evidence per hit. Retrieval is a * product-local Postgres full-text index maintained on every write; semantic * re-ranking is a documented seam pending a platform embedding model. Results * are filtered at query time — soft-deleted rows never surface, and actors * without workspace-wide access only see matters they are assigned to. */ pswFindPrecedents: PswPrecedentSearchConnection; /** Liveness/identity probe for the ProServiceWorld subgraph. */ pswHealth: Scalars['String']['output']; pswInvoice?: Maybe<PswInvoice>; pswIssuingBodies: PswIssuingBodyPage; pswIssuingBody?: Maybe<PswIssuingBody>; /** * Practitioner-side: unclaimed self-service email invites, for this client * (or the whole workspace when clientId is omitted). Once an invitee * authenticates, the invite is claimed and disappears from this list — the * resulting access shows up in `pswListClientPortalUsers` instead. */ pswListClientPortalInvites: PswClientPortalInviteConnection; /** * Practitioner-side: who has portal access, for this client (or the whole * workspace when clientId is omitted). */ pswListClientPortalUsers: PswClientPortalUserConnection; pswListClients: PswClientConnection; pswListComplianceChecks: PswComplianceCheckConnection; pswListConflictChecks: PswConflictCheckConnection; pswListCustomFieldDefinitions: PswCustomFieldDefinitionConnection; pswListCustomFieldValues: Array<PswCustomFieldValue>; /** Workspace-wide erasure request queue, for compliance review. */ pswListDataErasureRequests: PswDataErasureRequestConnection; pswListDeliverables: PswDeliverableConnection; pswListDocuments: PswDocumentConnection; pswListEngagements: PswEngagementConnection; pswListInvoices: PswInvoiceConnection; pswListMatters: PswMatterConnection; pswListMilestones: PswMilestoneConnection; pswListPracticeAreas: PswPracticeAreaConnection; /** Immutable audit trail for one signature request — compliance evidence. */ pswListSignatureAuditEvents: PswSignatureAuditEventConnection; pswListSignatureRequests: PswSignatureRequestConnection; pswListTeamAssignments: PswTeamAssignmentConnection; pswListTimeEntries: PswTimeEntryConnection; pswListTrustAccounts: PswTrustAccountConnection; pswListTrustTransactions: PswTrustTransactionConnection; pswListTrustTransfers: PswTrustTransferConnection; pswListWriteOffs: PswWriteOffConnection; pswMatter?: Maybe<PswMatter>; /** * Client-portal side: the client(s) the CALLING actor has ACTIVE portal * access to. Self-scoped (Type C). */ pswMyClientPortalClients: Array<PswClient>; /** * Erasure requests filed by the CALLING actor. Self-scoped (Type C): the * ctx.actorId filter IS the access control, no identity arg. */ pswMyDataErasureRequests: PswDataErasureRequestConnection; /** Data-subject requests filed by the CALLING actor. Self-scoped (Type C). */ pswMyDataSubjectRequests: PswDataSubjectRequestConnection; /** * Client-portal side: documents belonging to the calling actor's own linked * client(s) — restricted to classification PUBLIC (client-safe) documents * only, regardless of matter/engagement. Self-scoped (Type C). */ pswMyDocuments: PswDocumentConnection; /** * Client-portal side: invoices belonging to the calling actor's own linked * client(s). Self-scoped (Type C). */ pswMyInvoices: PswInvoiceConnection; /** * Legal-acceptance checkpoints recorded by the CALLING actor for a specific * checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access * control, no identity arg. */ pswMyLegalAcceptances: PswLegalAcceptanceConnection; /** * Client-portal side: matters belonging to the calling actor's own linked * client(s). Self-scoped (Type C) — no clientId arg; the resolver derives the * filter entirely from ctx.actorId's ACTIVE PswClientPortalUser links. */ pswMyMatters: PswMatterConnection; /** * Signature requests awaiting THIS actor's signature — self-scoped (Type C): * the ctx.actorId filter IS the access control. */ pswMyPendingSignatureRequests: PswSignatureSignerConnection; pswObligationReminder?: Maybe<PswObligationReminder>; /** * Practice KPIs for the current workspace: collection rate, utilization, * revenue by practice area/client/engagement, time to payment, WIP and aged * receivables. Monetary figures cover one currency (USD by default); months * is clamped to 1-36 and capacityHoursPerWeek to 1-80. */ pswPracticeAnalytics: PswPracticeAnalytics; pswPracticeArea?: Maybe<PswPracticeArea>; pswPractitioner?: Maybe<PswPractitioner>; pswPractitionerCredential?: Maybe<PswPractitionerCredential>; pswPractitionerCredentials: PswPractitionerCredentialPage; pswPractitioners: PswPractitionerPage; pswSignatureRequest?: Maybe<PswSignatureRequest>; pswTimeEntry?: Maybe<PswTimeEntry>; pswTrustAccount?: Maybe<PswTrustAccount>; /** * Current subsidiary-ledger balance for one client (optionally narrowed to a * matter) within a trust account — the number that must never go negative. */ pswTrustClientBalance: PswTrustClientBalance; /** * PUBLIC · UNAUTHENTICATED (BOFF-6335). The seed-lot provenance page an inspector or buyer * reaches by scanning a seed carton. Returns null for a draft, unpublished, deleted or unknown * slug — never an error, so it cannot be used to probe which lot numbers exist. */ publicHealthyBowlSeedLot?: Maybe<PublicSeedLot>; /** * PUBLIC · UNAUTHENTICATED. The farm-to-fork page a shopper reaches by scanning a * carton. Returns null for a draft, unpublished, deleted or unknown slug. */ publicHealthyBowlTraceBatch?: Maybe<PublicTraceBatch>; publicScheduleTemplates: ScheduleTemplateConnection; queryEvents: EventQueryResult; queryFunnel: FunnelQueryResult; queryMetrics: MetricsQueryResult; queryPaths: PathQueryResult; queryRetention: RetentionQueryResult; /** * Ask a run a question without changing it. A durable-function run answers from a replay of its * history in the service (10 s; custom queries need a bundle built with the Phase C SDK); a canvas * run answers status, progress, nodeStates and nodeOutput (args { nodeId }). Needs * fluidgrids.run-control. */ queryWorkflowRun: WorkflowQueryResult; /** Get RBAC analytics for a scope within a date range */ rbacAnalytics: RbacAnalytics; /** Get RBAC configuration change history */ rbacChangeHistory: Array<RbacChangeLog>; /** Get RBAC configuration change history with bounded offset metadata. */ rbacChangeHistoryPage: RbacChangeLogPage; /** Get RBAC configuration for a scope */ rbacConfig: Array<RbacConfig>; /** Get a specific RBAC configuration value */ rbacConfigValue?: Maybe<RbacConfig>; /** Entity type constants that RBAC exposes to the platform tags module. */ rbacTaggableEntityTypes: Array<RbacTaggableEntityType>; /** Get recent AI tool events for an agent */ recentAiToolEvents: Array<AiToolEvent>; /** Get recent error logs from workflow executions */ recentErrors: Array<ErrorLogEntry>; /** * Recently updated vibes for the current workspace, ordered by `updatedAt` desc. * Powers the dashboard "Recent Vibes" widget. */ recentVibes: Array<Vibe>; report?: Maybe<Report>; reportRun?: Maybe<ReportRun>; reportRuns: Array<ReportRun>; reports: Array<Report>; repositorySecurityConfig?: Maybe<RepositorySecurityConfig>; /** * Resolve external secret references to their values. Platform services only (for example * wspace-integrations-svc assembling a connection's credentials); anyone else is refused. */ resolveExternalSecretReferences: Array<ExternalSecretResolution>; /** * Service-only lookup of a File's storage identity in the x-workspace-id * workspace, by File id or by exact storage key (exactly one of the two). * Platform services use it to verify or derive a files-svc reference for a * package URL captured before they stored the File id (BOFF-11221). Returns * null when no File in the workspace matches. */ resolveFileStorageReference?: Maybe<FileStorageReference>; resolveSecrets: Array<ResolvedSecret>; /** Get a specific registered resource by ID */ resource?: Maybe<Resource>; resourceAllocations: Array<ResourceAllocation>; /** * List actor permission overrides granted on a resource type, optionally * limited to one resource instance. Service-only (BOFF-5264): product services * reconcile their local share read-models against this canonical grant store. * The scope is always the calling service's own workspace, so one workspace's * grants never answer for another workspace. */ resourcePermissionOverrides: Array<PermissionOverride>; resourcePlan?: Maybe<ResourcePlan>; resourcePlans: ResourcePlanListResponse; /** Get the resource tree (hierarchy) for a scope */ resourceTree: Array<Resource>; /** Get root resources for a tree view with bounded offset metadata. */ resourceTreePage: ResourcePage; /** * Get all resource types. Optionally filter by product (PlatformProduct.slug): * returns resource types mapped to that product, plus cross-product types (those * with no product mapping) unless includeUnmapped is false. With no product arg, * returns every resource type (backward compatible). */ resourceTypes: Array<Scalars['String']['output']>; /** * Get all resource types together with the product slugs each is mapped to. * Drives the permission-management UI (badges, product assignment). A resource * type with an empty products list is cross-product ("All"). */ resourceTypesWithProducts: Array<ResourceTypeProductInfo>; /** * List registered resources in a scope, optionally filtered by type, owner, * active state, or a free-text search against `identifier`/`name`. * Returns only resources registered via `registerResource`. */ resources: Array<Resource>; /** Get resources by type across all workspaces (admin only) */ resourcesByType: WorkspaceResourceList; /** Get registered resources with bounded offset metadata. */ resourcesPage: ResourcePage; /** Reveal a credential shared with the calling actor. */ revealSharedCredential: SharedSecretView; /** Get a role by ID */ role?: Maybe<Role>; /** Get actors assigned to a role */ roleMembers: Array<ActorRoleAssignment>; /** Get actors assigned to a role with bounded offset metadata. */ roleMembersPage: ActorRoleAssignmentPage; /** List roles in a workspace */ roles: Array<Role>; /** List roles with bounded offset metadata for export/reporting clients. */ rolesPage: RolePage; route?: Maybe<MtwRoute>; routeStats: MtwRouteStats; routes: Array<MtwRoute>; routesCount: Scalars['Int']['output']; ruleSet?: Maybe<RuleSet>; /** Starter rule sets for the "New rule set" dialog. */ ruleSetTemplates: Array<RuleSetTemplate>; /** The workspace's rule sets for the current product, newest change first. */ ruleSets: RuleSetListResponse; /** A run's model calls and estimated cost per node and model (BOFF-9935). */ runAiUsage: WorkflowRunAiUsageBreakdown; /** One of the caller's failure clusters. Another member's cluster reads as null. */ runFailureCluster?: Maybe<RunFailureCluster>; /** The caller's failure clusters, newest failure first. */ runFailureClusters: RunFailureClusterList; /** Whether failure triage is on for this workspace, and the system workflows it seeded. */ runFailureTriageSettings: RunFailureTriageSettings; /** * Check whether a TEST source run has enough completed upstream output to * execute a node again. This query is read-only and never creates a run. */ runFromNodeEligibility: RunFromNodeEligibility; runningTimers: Array<RunningTimer>; samAuditReport: SamAuditReport; /** * A coding-agent job started by the calling service. Any other job is NOT_FOUND. * INTERNAL: requires actor type service. */ sandboxAgentJob: SandboxAgentJob; /** Runners registered in the workspace. */ sandboxRunners: Array<SandboxRunner>; /** Fetch a single script run by id. */ sandboxScriptRun?: Maybe<SandboxScriptRun>; /** List the script runs for a sandbox (newest first), for the review surface. */ sandboxScriptRuns: Array<SandboxScriptRun>; savedQueries: Array<SavedQuery>; savedQuery?: Maybe<SavedQuery>; scheduleTemplate?: Maybe<ScheduleTemplate>; scheduleTemplates: ScheduleTemplateConnection; scheduleVersionHistory: Array<ScheduleVersion>; scheduledJob?: Maybe<ScheduledJob>; scheduledJobs: ScheduledJobConnection; schedulerMetrics: SchedulerMetrics; schedulerPrometheusMetrics: Scalars['String']['output']; /** @deprecated Use workflowSearch (BOFF-5341). */ search: WorkflowSearchResponse; searchAssetTags: Array<AssetAvailableTag>; searchBigconsoleTags: Array<BigConsoleAvailableTag>; /** @deprecated Use workflowSearchByEntityType (BOFF-5341). */ searchByEntityType: WorkflowSearchResponse; /** @deprecated Use workflowSearchCapabilities (BOFF-5341). */ searchCapabilities: SearchCapabilities; searchConversations: ConversationConnection; /** Search assignable tags in the workspace */ searchCosTags: Array<CosAvailableTag>; /** Search dashboards with full-text search */ searchDashboards: Array<BigConsoleDashboard>; searchEntitiesByTags: EntityList; searchEventfullyManagedTags: Array<EventfullyManagedAvailableTag>; /** Search file contents */ searchFileContents: ContentSearchResponse; /** Search files by query */ searchFiles: FileList; /** @deprecated Use workflowSearchFilters (BOFF-5341). */ searchFilters: Array<FilterCapability>; /** Search assignable tags in the workspace */ searchFluidgridsTags: Array<FluidgridsAvailableTag>; /** Search folders by query */ searchFolders: FolderList; /** BOFF-4406 — searches transport inventory (flights/trains/buses/ferries) by origin/destination/dates. Returns ephemeral offers; book one via createGgnomadTrip. */ searchGgnomadTransport: Array<GgnomadTransportOffer>; searchGroups: Array<Group>; searchGroupsConnection: GroupConnection; searchIntelwatchtowerTags: Array<IntAvailableTag>; searchKnowledge: Array<KnowledgeChunk>; searchMessages: MessageConnection; /** Search metadata across workspace */ searchMetadata: FileMetadataList; /** Search notes by title or content */ searchNotes: VibecontrolsNoteList; searchProject: SearchResponse; searchTags: Array<UniversalTag>; /** Search templates */ searchTemplates: BigConsoleDashboardTemplateConnection; /** Search users by email or name for workspace role assignment. */ searchUserActors: Array<UserActorLookupResult>; searchVaults: Array<Vault>; searchVaultsPaginated: VaultList; /** Search assignable tags in the workspace */ searchVibecontrolsTags: Array<AvailableTag>; /** Search vibes by name or description */ searchVibes: VibeList; searchWorkspace: SearchResponse; /** @deprecated Use workflowSearchableEntities (BOFF-5341). */ searchableEntities: Array<EntitySearchCapability>; /** Anonymous preview of a signed share link (no secret values). */ secretShareLinkInfo?: Maybe<SecretShareLinkInfo>; /** List the shares on a vault (or a specific secret). Vault view access required. */ secretShares: SecretShareList; /** * List the external secrets provider configurations for the caller's workspace. * @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ secretsProviderConfigs: Array<SecretsProviderConfig>; securityComplianceFramework?: Maybe<SecurityComplianceFramework>; securityComplianceFrameworks: SecurityComplianceFrameworkList; securityFindings: SecurityFindingList; securityGovernancePolicies: SecurityGovernancePolicyList; securityGovernancePolicy?: Maybe<SecurityGovernancePolicy>; securityPolicyDecision: SecurityPolicyDecision; securityProviders: Array<SecurityProvider>; securityScan?: Maybe<SecurityScanRun>; securityStatus: SecurityStatus; /** * Autonomous-loop proposals and recorded decisions for this workspace, newest * first. The human review queue for cache-tuning and PII-policy proposals. */ semAgentProposals: Array<SemAgentProposal>; /** State of this workspace's FluidGrids agent-sweep registration. */ semAgentSweepStatus: SemAgentSweepStatus; semConnector?: Maybe<SemConnector>; semDataSource?: Maybe<SemDataSource>; semEntity?: Maybe<SemEntity>; /** Liveness/identity probe for the SemanticFed subgraph. */ semHealth: Scalars['String']['output']; /** * End-to-end lineage for the calling workspace. With rootKind + rootId, returns * the lineage of that record: UPSTREAM for where its data comes from, * DOWNSTREAM for what depends on it, BOTH (default) for both. Without a root, * returns the whole-workspace lineage graph. depth limits the hops from the * root (1–20; unbounded when omitted). */ semLineage: SemLineageGraph; semListAccessPolicies: Array<SemAccessPolicy>; semListConnections: Array<SemConnection>; semListConnectors: SemConnectorConnection; semListDataSources: SemDataSourceConnection; semListEntities: Array<SemEntity>; semListModels: SemSemanticModelConnection; semListQueries: SemQueryConnection; semListQueryRuns: SemQueryRunConnection; semListRelationships: Array<SemRelationship>; semModel?: Maybe<SemSemanticModel>; /** The workspace's settings for natural-language questions (LLM-assisted phrasing is off until enabled). */ semNlSettings: SemNlSettings; /** * Getting-started checklist progress for the calling workspace, derived from the * records the workspace actually holds (so it persists across sessions and devices). */ semOnboardingProgress: SemOnboardingProgress; semQuery?: Maybe<SemQuery>; /** Saved-query execution metrics. days defaults to 7 and must be between 1 and 30. */ semQueryAnalytics: SemQueryAnalytics; /** * A single query run by id (workspace-scoped). Poll this after semRunQuery: * runs execute asynchronously and move QUEUED -> PLANNING -> RUNNING -> * SUCCEEDED/FAILED. */ semQueryRun?: Maybe<SemQueryRun>; /** * The governed result rows of a SUCCEEDED query run, paginated with * pagination.limit (default 100, max 500) and pagination.offset (use the * previous page's nextOffset). * Only the actor the run executed for can read its rows: they are the output * of that actor's access-policy evaluation. Any other caller gets NOT_FOUND. */ semQueryRunResult: SemQueryRunResult; /** * The SQL view of a semantic model: one table per entity, one column per * dimension and metric. modelId is optional when the workspace has one model. */ semSqlCatalog: SemSqlCatalog; /** * Translate a natural-language question into SQL over a semantic model without * running it: the interpretation steps, generated SQL, confidence and, when the * question cannot be answered as asked, a clarification and suggestions. Reads * no data and is not metered as a query run; when LLM-assisted phrasing is on * and the workspace's AI provider is asked, that counts as one AI operation. */ semTranslateQuestion: SemNlTranslation; serviceOffering?: Maybe<MtwServiceOffering>; serviceOfferings: Array<MtwServiceOffering>; serviceProvider?: Maybe<MtwServiceProvider>; serviceProviders: Array<MtwServiceProvider>; serviceProvidersCount: Scalars['Int']['output']; /** Get specific session by ID */ session?: Maybe<Session>; /** Get active collaborators for a session */ sessionCollaborators: Array<SessionCollaborator>; /** * Effective session-history recording flag for the current user in this * workspace (F2). Resolves the per-user override over the workspace default, * falling back to false. The in-session "History" surface reads this to decide * whether to offer the drill-down. */ sessionHistoryRecordingEnabled: Scalars['Boolean']['output']; /** Get session output */ sessionOutput?: Maybe<Scalars['String']['output']>; sessionRecording?: Maybe<SessionRecording>; /** * Playback: list frames for a recording in sequence order. Every call is * audit-logged (VibeAuditAction.READ against the recording) so viewing a * replay is itself traceable, per BOFF-4260's "audit events for playback * access" requirement. */ sessionRecordingFrames: SessionRecordingFrameList; /** List recordings captured against a session, newest first. */ sessionRecordings: SessionRecordingList; /** Get all share links for a session (owner only) */ sessionShareLinks: Array<SessionShareLink>; /** Get all direct shares for a session (owner only) */ sessionShares: Array<SessionShare>; /** Get all sessions in a workspace */ sessions: SessionList; /** Get sessions shared with the current user */ sessionsSharedWithMe: SessionShareConnection; /** Pre-login preview of a share invite by token. */ shareGrantByToken?: Maybe<ShareGrantPreview>; /** * Get a shared VibeDeck by token (PUBLIC — no auth required). * Returns sanitized deck data if the token is valid. */ sharedVibeDeck?: Maybe<SharedVibeDeck>; /** Grants where the current user is the accepted grantee. */ sharesSharedWithMe: ShareGrantList; shipment?: Maybe<MtwShipment>; shipmentLegs: Array<MtwShipmentLeg>; shipmentStatusDecisions: Array<MtwShipmentStatusDecision>; shipmentTracking: Array<MtwTrackingEvent>; shipments: Array<MtwShipment>; shipmentsCount: Scalars['Int']['output']; shippingQuotes: MtwShippingQuoteResult; siemDestinations: Array<SiemDestination>; softwareAssets: Array<SoftwareAsset>; /** Negotiation desk queue: managed requests across all workspaces. Super admin only. */ subAdminListNegotiations: SubNegotiationConnection; /** Procurement expert roster with current load. Super admin only. */ subAdminListProcurementExperts: Array<SubProcurementExpert>; /** Procurement desk queue across all workspaces, earliest deadline first. Super admin only. */ subAdminListProcurementRequests: SubProcurementRequestConnection; subAdminNegotiation?: Maybe<SubNegotiation>; subAdminProcurementRequest?: Maybe<SubProcurementRequest>; subAgent?: Maybe<SubAiAgent>; /** The workspace's scheduled-sweep registration, if any. */ subAgentSchedule?: Maybe<SubAgentSchedule>; /** Ways to bring bank and card transactions in, and whether each is available here. */ subBankAggregators: Array<SubBankAggregatorInfo>; subBankConnection?: Maybe<SubBankConnection>; /** The workspace's daily bank-sync registration, if any. */ subBankSyncSchedule?: Maybe<SubBankSyncSchedule>; /** * Benchmark dataset: aggregated min/median/max for one (provider, plan) tuple. * Used by the /vs pages and the renewal assistant to surface "what others * pay for <X>" in a single network round-trip. */ subBenchmarkSummary?: Maybe<SubBenchmarkSummary>; subDecision?: Maybe<SubDecision>; /** * Duplicate and overlapping relationships in the current workspace, largest * annual saving first. Paginate with `pagination.offset`. */ subDetectOverlaps: SubOverlapConnection; /** * Enterprise SaaS spend dashboard. `currency` defaults to the currency most * relationships are billed in; `highCostThreshold` (monthly, default 500) sets * when an AI service is flagged as high cost. */ subEnterpriseSpendDashboard: SubEnterpriseSpendDashboard; /** Liveness/identity probe for the Subscriber Bot subgraph. */ subHealth: Scalars['String']['output']; subListAdapterSubmissions: SubAdapterSubmissionConnection; /** Recent sweeps of the workspace, newest first. */ subListAgentSweeps: SubAgentSweepConnection; subListAgents: SubAiAgentConnection; /** * List assets. Pass `relationshipId` to scope to one subscription, or omit it to * list every asset in the workspace (the Digital Asset Vault). */ subListAssets: SubAssetConnection; /** The caller's own linked and imported bank / card connections. */ subListBankConnections: SubBankConnectionConnection; /** The caller's transactions, newest first. */ subListBankTransactions: SubBankTransactionConnection; /** * Benchmark dataset: list observed price points (Phase 1 BOFF-4156). Public * read so the marketing /vs pages can show "what others pay" without a * workspace context; filtered to a single (provider, region, currency) * combination when those inputs are supplied. */ subListBenchmarkDataPoints: SubBenchmarkDataPointConnection; subListChannels: SubCommunicationChannelConnection; /** The agent decision queue, newest first. */ subListDecisions: SubDecisionConnection; subListEntitlements: SubEntitlementConnection; /** The Universal Inbox — every merged subscription communication. */ subListInboxMessages: SubInboxMessageConnection; subListInvoices: SubInvoiceConnection; subListMarketplaceReports: SubMarketplaceReportConnection; subListNegotiations: SubNegotiationConnection; subListPaymentInstruments: SubPaymentInstrumentConnection; subListPlans: SubPlanConnection; subListPolicies: SubPolicyConnection; subListProcurementRequests: SubProcurementRequestConnection; /** Discovery: search/browse the global provider registry. */ subListProviders: SubProviderConnection; /** Recurring charges detected in the caller's transactions. */ subListRecurringCharges: SubRecurringChargeConnection; subListRelationships: SubRelationshipConnection; subListRenewalEvents: SubRenewalEventConnection; subListSpendBudgets: Array<SubSpendBudget>; subListWorkflows: SubWorkflowConnection; subNegotiation?: Maybe<SubNegotiation>; subNegotiationSummary: SubNegotiationSummary; /** The authorisation text and fees that apply to new negotiation requests. */ subNegotiationTerms: SubNegotiationTerms; subProcurementRequest?: Maybe<SubProcurementRequest>; subProcurementSummary: SubProcurementSummary; /** The authorisation text and success fee that apply to new procurement requests. */ subProcurementTerms: SubProcurementTerms; subProvider?: Maybe<SubProvider>; /** * Providers in this workspace's registry that could replace a provider, best * first: shared capability tags, then same category; providers the workspace * already uses rank ahead of the rest (BOFF-4003). limit defaults to 5, max 20. */ subProviderAlternatives: Array<SubProviderAlternative>; /** * What this workspace has paid a provider over time: recorded relationship * prices plus charged invoices, grouped into one series per relationship * (BOFF-4003). */ subProviderPriceHistory: SubProviderPriceHistory; subRelationship?: Maybe<SubRelationship>; /** * Renewals & trials forecast. `from` defaults to now and `to` to the start of * the sixth calendar month after it (at most about two years). `statuses` * defaults to TRIAL, ACTIVE and PAST_DUE; ended statuses are ignored. * `trialWindowDays` (1-90, default 7) sets which trials count as ending soon. * `currency` defaults to the currency most of the relationships bill in. */ subRenewalForecast: SubRenewalForecast; /** * The cost-optimization dashboard: headline yearly savings, open decisions by * recommendation and bundle suggestions. */ subSavingsOverview: SubSavingsOverview; /** One workflow by id (the builder's entry point). */ subWorkflow?: Maybe<SubWorkflow>; /** Get a single subscribed product by ID */ subscribedProduct?: Maybe<SubscribedProduct>; /** * Get all subscribed products for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ subscribedProducts: SubscribedProductList; /** * The calling workspace's supervisor configuration (created lazily with * defaults when none exists yet). */ supervisorConfig: SupervisorConfig; /** Recent supervisor runs for the calling workspace, newest first. */ supervisorRuns: SupervisorRunList; /** Get system configuration */ systemConfig: SystemConfig; /** Get high-level system metrics and statistics */ systemOverview: SystemOverview; target?: Maybe<Target>; targets: TargetList; task?: Maybe<Task>; /** Worker availability of every queue of the workspace: managed first (Insights, gap G21). */ taskQueueAvailability: Array<TaskQueueWorkerAvailability>; /** Backlog, age, rates and pollers of one queue (spec code-first 11 §2.31). */ taskQueueStats: TaskQueueStats; /** * Self-hosted workers serving one task queue: `name` (any environment) or * `name@dev|staging|prod` (that environment). */ taskQueueWorkers: Array<SandboxWorkflowWorker>; /** The workspace's task queues: managed first, then the queues it created. */ taskQueues: Array<TaskQueue>; tasks: TaskListResponse; /** A single AI context run by id, scoped to the caller's workspace. */ tcpAiContextRun?: Maybe<TcpAgentRun>; /** Paginated, workspace-scoped AI context run log, most recent first. */ tcpAiContextRuns: TcpAgentRunConnection; /** The full list of selectable (provider, model) pairs — Gemini first/default. */ tcpAiModelCatalog: Array<TcpAiModelInfo>; /** * Workspace AI spend rollup (BOFF-5803): totals + per-(provider, model) * breakdown over the run ledger, optionally windowed by `from`/`to` (run * creation time). SUCCEEDED runs only. Priced from billing's AiModelPrice * rate card; the read model for the AI Ops / trust surface and plan * allowances. */ tcpAiSpendSummary: TcpAiSpendSummary; /** * Fetches a single archive item at PUBLIC/COMMUNITY access level only — * returns null for a RESTRICTED/EMBARGOED item (same NOT_FOUND-style * non-disclosure as an out-of-workspace id). Use `tcpRestrictedArchiveItem` * for elevated access. */ tcpArchiveItem?: Maybe<TcpArchiveItem>; tcpCollection?: Maybe<TcpCollection>; tcpDiscussion?: Maybe<TcpDiscussion>; /** Liveness/identity probe for the TheCulturePost subgraph. */ tcpHealth: Scalars['String']['output']; /** * Archive items at PUBLIC/COMMUNITY access level only. RESTRICTED and * EMBARGOED items are never returned here regardless of the `accessLevel` * filter — use `tcpListRestrictedArchiveItems` (a separately-permissioned * field) for those. */ tcpListArchiveItems: TcpArchiveItemConnection; tcpListCitations: TcpCitationConnection; tcpListCollections: TcpCollectionConnection; tcpListDiscussions: TcpDiscussionConnection; /** * Oral histories at PUBLIC/COMMUNITY access level only. RESTRICTED and * EMBARGOED testimonies (narrator identity + full transcript) are never * returned here — use `tcpListRestrictedOralHistories` for those. */ tcpListOralHistories: TcpOralHistoryConnection; /** * Replies to a discussion, oldest first. Items are EntityComment references; * the gateway resolves their content from wspace-conversations-svc. */ tcpListReplies: TcpReplyConnection; /** * Elevated-access archive items: RESTRICTED and EMBARGOED only. Requires the * separate `theculturepost-archive-item-restricted` permission — holding * generic `theculturepost-archive-item:read` is NOT sufficient. */ tcpListRestrictedArchiveItems: TcpArchiveItemConnection; /** * Elevated-access oral histories: RESTRICTED and EMBARGOED only — narrator * identities and full testimony transcripts of named third parties. Requires * the separate `theculturepost-oral-history-restricted` permission — holding * generic `theculturepost-oral-history:read` is NOT sufficient. */ tcpListRestrictedOralHistories: TcpOralHistoryConnection; tcpListStories: TcpStoryConnection; /** * A story's evidence trail — its numbered claims in display order. Claims are * part of the citation/fact-checking surface, so they share the citation * permission resource. */ tcpListStoryClaims: Array<TcpStoryClaim>; tcpListTopics: TcpTopicConnection; /** * The calling actor's own bookmarked stories (personal reading list). * Self-scoped: the resolver filters by the caller's actor id — that filter IS * the access control, no other actor's list is ever reachable. */ tcpMySavedStories: TcpStoryConnection; /** * Fetches a single oral history at PUBLIC/COMMUNITY access level only — * returns null for a RESTRICTED/EMBARGOED record. Use `tcpRestrictedOralHistory` * for elevated access. */ tcpOralHistory?: Maybe<TcpOralHistory>; /** * A single published archive item, or null if it does not exist / is not * PUBLIC. No authentication required. `file { downloadUrl }` resolves via * federation to `wspace-files-svc` — see the IIIF endpoint (`/iiif/theculturepost/`) * for a stable, standards-based way to fetch the underlying image. */ tcpPublicArchiveItem?: Maybe<TcpArchiveItem>; /** Published (PUBLIC access-level) archive items. No authentication required. */ tcpPublicArchiveItems: TcpArchiveItemConnection; /** * A single published collection, or null if it does not exist / is not * PUBLIC. No authentication required. */ tcpPublicCollection?: Maybe<TcpCollection>; /** * Published (PUBLIC access-level) collections in a workspace's archive — the * public GLAM catalog root. No authentication required. */ tcpPublicCollections: TcpCollectionConnection; /** Published (PUBLIC access-level) oral histories. No authentication required. */ tcpPublicOralHistories: TcpOralHistoryConnection; /** * A single published oral history, or null if it does not exist / is not * PUBLIC. No authentication required. */ tcpPublicOralHistory?: Maybe<TcpOralHistory>; tcpRestrictedArchiveItem?: Maybe<TcpArchiveItem>; tcpRestrictedOralHistory?: Maybe<TcpOralHistory>; tcpStory?: Maybe<TcpStory>; tcpTopic?: Maybe<TcpTopic>; /** * Team-wide work-pattern summary aggregated across every active member of the * workspace (not just the caller). Powers Team Analytics — unlike * `workPatternSummary`, this never defaults to a single user's data. */ teamWorkPatternSummary: WorkPatternSummary; /** * Most recent work-pattern activity across every active member of the * workspace, each entry resolved to the logging member's display identity. * Powers Team Activity — unlike `workPatterns`, this never defaults to a * single user's data. */ teamWorkPatterns: Array<TeamWorkPatternEntry>; tecAssessment?: Maybe<TecAssessment>; tecAssessmentAttempt?: Maybe<TecAssessmentAttempt>; /** The audit trail of one attempt (instructor / admin). */ tecAssessmentAttemptEvents: Array<TecAssessmentEvent>; /** Author view: the questions with their answer key. */ tecAssessmentQuestionKey: Array<TecQuizQuestionKey>; /** * Preview the cost of a session with a mentor before booking it -- does not * create anything. Read access mirrors tecMentor (reading the mentor's rate). */ tecCalculateSessionCost: TecSessionCostEstimate; /** * One TechnoSpam certificate, by its Technospam id, for the instructor/admin * view (replaces tecCertificate). Same "list-all" gate as * tecCanonicalCertificates. Null for an id outside the caller's workspace. */ tecCanonicalCertificate?: Maybe<BuiCertificate>; /** * Instructor/admin view of every TechnoSpam certificate in the workspace as * canonical Buildmyiq certificates (replaces tecListCertificates). Newest * issue first; `courseId` is a Technospam course id. A learner reading their * own certificates uses buiMyCertificates(source: TECHNOSPAM). */ tecCanonicalCertificates: TecCanonicalCertificateConnection; /** * One TechnoSpam course, by its Technospam id, as its canonical Buildmyiq * course (replaces tecCourse). Null for an id outside the caller's workspace. */ tecCanonicalCourse?: Maybe<BuiCourse>; /** * The workspace's TechnoSpam course catalog as canonical Buildmyiq courses * (replaces tecListCourses). Newest first. `status` and `level` filter like * tecListCourses. */ tecCanonicalCourses: TecCanonicalCourseConnection; /** * One TechnoSpam enrollment, by its Technospam id, for the instructor/admin * view (replaces tecEnrollment). Same "list-all" gate as * tecCanonicalEnrollments. Null for an id outside the caller's workspace. */ tecCanonicalEnrollment?: Maybe<BuiEnrollment>; /** * Instructor/admin roster: every learner's TechnoSpam enrollments in the * workspace as canonical Buildmyiq enrollments (replaces tecListEnrollments). * `courseId` is a Technospam course id; startDate/endDate filter by when the * learner enrolled (inclusive). Gated behind "list-all", which the plain * Viewer role does not hold. A learner reading their own enrollments uses * buiMyEnrollments(source: TECHNOSPAM). */ tecCanonicalEnrollments: TecCanonicalEnrollmentConnection; /** * One TechnoSpam lesson, by its Technospam id, as its canonical Buildmyiq * lesson (replaces tecLesson). Null for an id outside the caller's workspace. */ tecCanonicalLesson?: Maybe<BuiLesson>; /** * The lessons of one TechnoSpam course (Technospam course id), in position * order, as canonical Buildmyiq lessons (replaces tecListLessons). Lesson * bodies, editor metadata and quiz questions ride on the technospam* overlay * fields, which apply the TechnoSpam plan gate. */ tecCanonicalLessons: TecCanonicalLessonConnection; /** * BOFF-10480: compare up to `limit` (default 200, max 200) records of each * kind in the calling workspace with their canonical Buildmyiq records. * Read-only; the background parity check repairs drift on its own schedule. */ tecCanonicalLmsParity: TecCanonicalParityReport; /** * A single certificate by id, for the instructor/admin view (BOFF-3863). * Same "list-all" gating as tecListCertificates. A learner reading their own * certificate must use buiMyCertificate instead. * @deprecated Use tecCanonicalCertificate(id: <Technospam certificate id>), which returns the canonical BuiCertificate. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecCertificate?: Maybe<TecCertificate>; /** @deprecated Use tecCanonicalCourse(id: <Technospam course id>), which returns the canonical BuiCourse; the Technospam view is on BuiCourse.technospamCourse. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecCourse?: Maybe<TecCourse>; /** * A single enrollment by id, for the instructor/admin view (BOFF-3863). * Gated behind "list-all" like tecListEnrollments, because it can return * any learner's enrollment. A learner reading their own enrollment must use * buiMyEnrollment instead. Returns null for an id outside the workspace. * @deprecated Use tecCanonicalEnrollment(id: <Technospam enrollment id>), which returns the canonical BuiEnrollment. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecEnrollment?: Maybe<TecEnrollment>; /** * Export the workspace's learner activity as xAPI statements (BOFF-4430): * enrollments (registered), lesson completions (completed), course * completions (completed), certificates (passed) and certificate * revocations (voided). `since` is inclusive, `until` exclusive; `limit` * defaults to 200 and is capped at 1000. Same "list-all" gate as * tecListEnrollments, because it covers every learner in the workspace. */ tecExportXapiStatements: TecXapiStatementPage; /** Recent Greenhouse invitations in this workspace, newest first. limit defaults to 25, at most 100. */ tecGreenhouseAssessments: Array<TecGreenhouseAssessment>; /** The workspace's Greenhouse connection, or null when none was set up. */ tecGreenhouseIntegration?: Maybe<TecGreenhouseIntegration>; /** * Public: what a candidate invitation link asks for. Null for an unknown * token. Reveals nothing about the candidate or the hiring workspace. */ tecGreenhouseInvitation?: Maybe<TecGreenhouseInvitation>; tecHackathon?: Maybe<TecHackathon>; /** Liveness/identity probe for the Technospam subgraph. */ tecHealth: Scalars['String']['output']; /** The workspace's HRIS certificate push (BOFF-10738), or null when no HR system is connected. */ tecHrisPush?: Maybe<TecHrisPush>; /** Certificates the push skipped or could not record, newest first (at most 100 per page). */ tecHrisPushIssues: TecHrisPushIssuePage; /** * A single lesson by id (BOFF-3863). Same read gate as tecListLessons; * premium-gated lesson content is still locked by the TecLesson field * resolvers. Returns null for an id outside the caller's workspace. * @deprecated Use tecCanonicalLesson(id: <Technospam lesson id>), which returns the canonical BuiLesson; the Technospam view is on BuiLesson.technospamLesson, technospamContent, technospamStarterCode and technospamQuizQuestions. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecLesson?: Maybe<TecLesson>; /** * Lesson-author view of a QUIZ lesson including the answer key (BOFF-4107). * Gated on technospam-lesson update, the same permission that edits it, so a * learner can never read the key. Empty for a lesson without a quiz. */ tecLessonQuizKey: Array<TecQuizQuestionKey>; /** * Instructor / admin view of every learner's attempts, e.g. the review queue * (proctoringStatus: FLAGGED or PENDING_REVIEW). */ tecListAssessmentAttempts: Array<TecAssessmentAttempt>; /** Assessments in the workspace, optionally for one course or status. */ tecListAssessments: Array<TecAssessment>; /** * Cross-learner, instructor/admin view of certificates — same "list-all" * gating as tecListEnrollments. A learner viewing their own certificates * must use buiMyCertificates(source: TECHNOSPAM) instead. * @deprecated Use tecCanonicalCertificates (same filters and gate, cursor-paginated), which returns the canonical BuiCertificate records; the Technospam view is on BuiCertificate.technospamCertificate. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecListCertificates: Array<TecCertificate>; /** @deprecated Use tecCanonicalCourses, which returns the canonical BuiCourse records with the same technospam-course gate; the Technospam view is on BuiCourse.technospamCourse and technospamIsLocked. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecListCourses: TecCourseConnection; /** * startDate/endDate filter enrollments by createdAt (inclusive), used to * power the analytics page's date-range picker. * * This is the cross-learner, instructor/admin view — it returns every * learner's enrollments in the workspace (optionally filtered to one * learnerId). Gated behind the "list-all" action, which is NOT granted to * the plain Viewer role by default. A learner viewing their own enrollments * must use buiMyEnrollments(source: TECHNOSPAM) instead. * @deprecated Use tecCanonicalEnrollments (same arguments and gate), which returns the canonical BuiEnrollment records; the Technospam view is on BuiEnrollment.technospamEnrollment. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecListEnrollments: TecEnrollmentConnection; tecListHackathons: TecHackathonConnection; /** @deprecated Use tecCanonicalLessons(courseId: <Technospam course id>), which returns the canonical BuiLesson records; the Technospam view is on BuiLesson.technospamLesson and the other technospam* overlay fields. Deprecated 2026-11-02 (BOFF-10566, OVL-24 phase 2d); removal no earlier than 2027-01-31. */ tecListLessons: TecLessonConnection; tecListMentors: TecMentorConnection; /** * Cross-mentor admin/finance view of the payout ledger (e.g. for reconciling * what every mentor is currently owed). Gated behind "list-all", which is NOT * granted to the plain Viewer/Mentor role by default. */ tecListPayouts: TecMentorPayoutConnection; /** * Public (worked-example) test cases for a problem. HIDDEN fixtures are never * returned here — authors read them through tecListProblemTestCasesForAuthor. */ tecListProblemTestCases: Array<TecProblemTestCase>; /** * All test cases for a problem including HIDDEN fixtures. Requires the * problem-authoring (update) permission. */ tecListProblemTestCasesForAuthor: Array<TecProblemTestCase>; tecListProblems: TecProblemConnection; /** * Cross-mentor/mentee, instructor/admin view — returns any session in the * workspace (optionally filtered by mentorId/menteeId). Gated behind the * "list-all" action, which is NOT granted to the plain Viewer role by * default. A mentor or mentee viewing their own sessions must use * tecMySessions instead. */ tecListSessions: TecMentorSessionConnection; /** * startDate/endDate filter submissions by createdAt (inclusive), used to * power the analytics page's date-range picker. * * This is the cross-learner, instructor/admin view — it returns every * learner's submissions in the workspace (optionally filtered to one * learnerId). Gated behind the "list-all" action, which is NOT granted to * the plain Viewer role by default (see wspace-rbac-svc seed). A learner * viewing their own submissions must use tecMySubmissions instead. */ tecListSubmissions: TecSubmissionConnection; tecListTeams: TecHackathonTeamConnection; tecMentor?: Maybe<TecMentor>; /** One of the calling learner's own attempts (Type B); null for anyone else's. */ tecMyAssessmentAttempt?: Maybe<TecAssessmentAttempt>; /** * The calling learner's own attempts (Type C: filtered by the authenticated * actor). An attempt past its deadline is closed and graded on read. */ tecMyAssessmentAttempts: Array<TecAssessmentAttempt>; /** * One of the calling learner's own certificates (BOFF-3863). Self-scoped * (Type B): owner-filtered by the authenticated actor; null otherwise. * @deprecated Use buiMyCertificate(id: <TecCertificate.buiCertificateId>). Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29. */ tecMyCertificate?: Maybe<TecCertificate>; /** * The calling learner's own certificates. Self-scoped (Type C): identity * comes from the authenticated actor, never from a client-supplied * argument — the resolver forces learnerId = ctx.actor.id server-side. * @deprecated Use buiMyCertificates(source: TECHNOSPAM); the Technospam view is on BuiCertificate.technospamCertificate and technospamRevokeReason. Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29. */ tecMyCertificates: Array<TecCertificate>; /** * One of the calling learner's own enrollments (BOFF-3863). Self-scoped * (Type B): the id is a client argument, but the resolver owner-filters by * the authenticated actor and returns null for an enrollment that does not * exist or belongs to someone else, so existence is never leaked. * @deprecated Use buiMyEnrollment(id: <TecEnrollment.buiEnrollmentId>). Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29. */ tecMyEnrollment?: Maybe<TecEnrollment>; /** * The calling learner's own enrollments. Self-scoped (Type C): identity * comes from the authenticated actor, never from a client-supplied * argument — the resolver forces learnerId = ctx.actor.id server-side. * @deprecated Use buiMyEnrollments(source: TECHNOSPAM); the Technospam view is on BuiEnrollment.technospamEnrollment, technospamNextLessonId and technospamCompletions. Deprecated 2026-10-31 (BOFF-10481, OVL-24); removal no earlier than 2027-01-29. */ tecMyEnrollments: TecEnrollmentConnection; /** * The caller's own valid certificates for an invitation (Type C self list: * always filtered to the calling learner). */ tecMyGreenhouseCertificates: Array<TecGreenhouseShareableCertificate>; /** * Return the most recent acceptance of each type for the calling actor in the * current workspace. Self-scoped: result is always filtered by ctx.actorId. */ tecMyLegalAcceptances: Array<TecLegalAcceptance>; /** * The calling actor's own mentor payouts. Self-scoped (Type C): identity * comes from the authenticated actor's TecMentor profile, never from a * client-supplied mentorId -- the resolver filters server-side. */ tecMyPayouts: TecMentorPayoutConnection; /** * The calling learner's own portfolio. Self-scoped (Type C). Get-or-create: * auto-provisions an (unpublished) portfolio the first time a learner * touches this surface, so the client never has to branch on "no portfolio * yet". */ tecMyPortfolio: TecPortfolio; /** * The reminders sent to the calling actor in this workspace, newest first. * Self-scoped (Type C): the actorId filter is the access control; there is no * recipient argument. `subjectId` narrows to one session or hackathon. * `limit` defaults to 20 and is clamped to the range 1 to 100. */ tecMyReminderDeliveries: Array<TecReminderDelivery>; /** * A session the calling actor takes part in (BOFF-3863), as mentee directly * or as mentor via their TecMentor profile, mirroring tecMySessions. * Self-scoped (Type B): returns null for any other session. */ tecMySession?: Maybe<TecMentorSession>; /** * The calling actor's own sessions — as mentee directly, or as mentor via * their TecMentor profile. Self-scoped (Type C): identity comes from the * authenticated actor, never from a client-supplied mentorId/menteeId — the * resolver filters server-side. */ tecMySessions: TecMentorSessionConnection; /** * A single plan owned by the calling learner. Self-scoped (Type B): the id * is a client argument, but the resolver owner-filters by * `learnerId = ctx.actor.id` and throws NOT_FOUND (never FORBIDDEN) for a * plan belonging to someone else -- never leaking whether it exists. */ tecMyStudyPlan?: Maybe<TecStudyPlan>; /** * The calling learner's own study plans. Self-scoped (Type C): identity * comes from the authenticated actor, never from a client-supplied argument. */ tecMyStudyPlans: TecStudyPlanConnection; /** * One of the calling learner's own submissions (BOFF-3863). Self-scoped * (Type B): the id is a client argument, but the resolver owner-filters by * the authenticated actor and returns null for a submission that does not * exist or belongs to someone else. */ tecMySubmission?: Maybe<TecSubmission>; /** * The stored review of one of the calling learner's own submissions, or * null when none has been requested yet. Self-scoped (Type B): owner-filtered * by the authenticated actor; another learner's submission resolves to null. */ tecMySubmissionReview?: Maybe<TecSubmissionReview>; /** * The calling learner's own submissions. Self-scoped (Type C — RBAC guide * §"scopeType: self"): identity comes from the authenticated actor, never * from a client-supplied argument. The resolver forces learnerId = * ctx.actor.id server-side. Available to every authenticated workspace * member, including a plain Viewer — no elevated permission required. */ tecMySubmissions: TecSubmissionConnection; tecProblem?: Maybe<TecProblem>; /** * Public, unauthenticated read of a published portfolio by its shareable * slug. Returns null for an unknown slug or an unpublished portfolio -- * never distinguishes the two, so a guessed slug cannot be used to probe * for the existence of an unpublished portfolio. */ tecPublicPortfolio?: Maybe<TecPublicPortfolio>; /** * A single mentoring session by id, for the instructor/admin view * (BOFF-3863). Same "list-all" gating as tecListSessions. A mentor or mentee * reading their own session must use tecMySession instead. */ tecSession?: Maybe<TecMentorSession>; /** * A single submission by id, for the instructor/admin view (BOFF-3863). * Same "list-all" gating as tecListSubmissions, because it can return any * learner's submission. A learner reading their own submission (for example * an assistant explaining "why was this rejected?") must use * tecMySubmission instead. Returns null for an id outside the workspace. */ tecSubmission?: Maybe<TecSubmission>; /** * A single hackathon team by id (BOFF-3863). Same read gate as * tecListTeams. Returns null for an id outside the caller's workspace. */ tecTeam?: Maybe<TecHackathonTeam>; /** * Public certificate verification for ATS partners and recruiters * (BOFF-4430). Returns NOT_FOUND for an unknown serial. */ tecVerifyCertificate: TecCertificateVerification; /** * Batch variant of tecVerifyCertificate for ATS integrations that verify a * whole candidate pipeline at once. At most 25 serials per call; duplicates * are collapsed and results keep the request order. */ tecVerifyCertificates: Array<TecCertificateVerification>; /** * The workspace's scheduled xAPI push (BOFF-10575), or null when no LRS is * connected. */ tecXapiLrsSync?: Maybe<TecXapiLrsSync>; testParserExpression: ParserTestResult; /** Production records inside a closed period that have no APPROVED allocation (offset paging). */ theAllocationExceptions: TheAllocationExceptionConnection; theAllocationPeriodClose?: Maybe<TheAllocationPeriodClose>; /** Allocation statement for [periodStart, periodEnd]: net position, per-asset allocation detail and CSV. */ theAllocationStatement: TheAllocationStatement; theAsset?: Maybe<TheAsset>; theCarbonCredit?: Maybe<TheCarbonCredit>; /** Net the period's emissions against the carbon credits retired for it. */ theCarbonOffsetPosition: TheCarbonOffsetPosition; theChainNetwork?: Maybe<TheChainNetwork>; /** Run up to four saved scenarios side by side. */ theCompareForecastScenarios: Array<TheScenarioResult>; theComplianceCert?: Maybe<TheComplianceCert>; theConditionRule?: Maybe<TheConditionRule>; theContract?: Maybe<TheOfftakeContract>; /** Over/under-lift position per contract. With contractId, that contract only; otherwise every contract with active entitlements. */ theContractLiftingPositions: Array<TheContractLiftingPosition>; /** Daily demand and inbound supply implied by signed and active contracts of a commodity. */ theDemandForecast: TheDemandForecast; theEquipment?: Maybe<TheEquipment>; theEsgDisclosure?: Maybe<TheEsgDisclosure>; /** * Cited AI narrative over the provenance traversal, consuming the shared * platform AI runtime (be-sdk LLMRouter + the prompts-svc ledger). The * narrative is grounded strictly in the returned subgraph; citations are * filtered to records the traversal verified. */ theExplainProvenance: TheProvenanceExplanation; /** Audit-ready CSV export of a disclosure with record-level lineage. */ theExportEsgDisclosure: TheEsgDisclosureExport; /** Compare a locked forecast with the production reported since; optionally for one asset. */ theForecastAccuracy: TheForecastAccuracy; theForecastScenario?: Maybe<TheForecastScenario>; theForecastSnapshot?: Maybe<TheForecastSnapshot>; /** Liveness/identity probe for the Theglobalfuel subgraph. */ theHealth: Scalars['String']['output']; theInterestDeck?: Maybe<TheInterestDeck>; /** The interest deck in force for an asset at an instant, if any. */ theInterestDeckInForce?: Maybe<TheInterestDeck>; /** Period closes, newest period first. Includes REOPENED rows: this is the close / reopen audit trail. */ theListAllocationPeriodCloses: TheAllocationPeriodCloseConnection; /** Browse AssetHandler assets to link equipment to (AssetHandler must be enabled). */ theListAssetHandlerAssets: TheAssetHandlerAssetPage; theListAssets: TheAssetConnection; theListCarbonCredits: TheCarbonCreditConnection; theListCarbonRetirements: TheCarbonRetirementConnection; theListChainNetworks: TheChainNetworkConnection; theListComplianceCerts: TheComplianceCertConnection; theListConditionRules: TheConditionRuleConnection; /** Active entitlements (their allocation is APPROVED), newest period first. */ theListContractEntitlements: TheContractEntitlementConnection; theListContracts: TheOfftakeContractConnection; theListCorrectiveActions: TheCorrectiveActionConnection; theListEmissionRecords: TheEmissionRecordConnection; theListEquipment: TheEquipmentConnection; theListEsgDisclosures: TheEsgDisclosureConnection; theListForecastScenarios: TheForecastScenarioConnection; theListForecastSnapshots: TheForecastSnapshotConnection; theListInterestDecks: TheInterestDeckConnection; theListInventoryLots: TheInventoryLotConnection; theListMaintenanceSchedules: TheMaintenanceScheduleConnection; theListPriceIndexes: ThePriceIndexConnection; theListPricePoints: ThePricePointConnection; theListProductionAllocations: TheProductionAllocationConnection; theListProductionRecords: TheProductionRecordConnection; theListReserveEstimates: TheReserveEstimateConnection; theListReserveValuations: TheReserveValuationConnection; theListSafetyIncidents: TheSafetyIncidentConnection; theListServiceContracts: TheServiceContractConnection; theListShipments: TheShipmentConnection; theListSupplierScorecards: TheSupplierScorecardConnection; theListSuppliers: TheSupplierConnection; /** Effective unit conversion factors for a commodity (built-in defaults merged with this workspace's overrides). */ theListUnitConversions: Array<TheUnitConversion>; theListWorkOrders: TheWorkOrderConnection; theMaintenanceDashboard: TheMaintenanceDashboard; theMaintenanceHistory: TheMaintenanceHistory; theMaintenanceIntegrations: TheMaintenanceIntegrations; theMaintenanceSettings: TheMaintenanceSettings; /** * Legal-acceptance checkpoints recorded by the CALLING actor for a specific * checkpoint type. Self-scoped (Type C): the ctx.actorId filter IS the access * control, no identity arg. Used by the app shell to decide whether to show * the acceptance gate before letting the actor into core flows. */ theMyLegalAcceptances: TheLegalAcceptanceConnection; /** Net production position per asset over [periodStart, periodEnd], from APPROVED allocations only. */ theNetProductionPosition: TheNetProductionPosition; /** Optimize a saved network: forecast every node, then minimise cost and carbon within its constraints. */ theOptimizeChainNetwork: TheChainPlan; /** * Portfolio control room: multi-asset, multi-commodity, multi-region rollup of * production, inventory, commitments and ESG for a period (default: the last * 30 days, at most about five years). */ thePortfolioOverview: ThePortfolioOverview; /** * Value committed contracts and AVAILABLE inventory against index prices and * report the long / short position by month. */ thePositionValuation: ThePositionValuation; /** Optimize an unsaved network (what-if) without storing it. */ thePreviewChainNetwork: TheChainPlan; /** Run unsaved assumptions (what-if) without storing them. */ thePreviewForecastScenario: TheScenarioResult; thePriceIndex?: Maybe<ThePriceIndex>; theProductionAllocation?: Maybe<TheProductionAllocation>; /** Forecast one asset's daily production from its reported history. */ theProductionForecast: TheProductionForecast; /** Assemble the chain-of-custody certificate for a shipment. */ theProvenanceCertificate: TheProvenanceCertificate; /** * Production records whose downtime is at or above the workspace threshold and * that no live work order explains yet, newest period first. */ theReactiveWorkOrderSuggestions: TheReactiveWorkOrderSuggestionConnection; theReserveValuation?: Maybe<TheReserveValuation>; /** Run a saved scenario: forecast, inventory simulation and dispatch plan. */ theRunForecastScenario: TheScenarioResult; theSafetyDashboard: TheSafetyDashboard; theSafetyIncident?: Maybe<TheSafetyIncident>; theServiceContract?: Maybe<TheServiceContract>; theShipmentSources: Array<TheShipmentSource>; theSupplier?: Maybe<TheSupplier>; theSupplierRegisterSummary: TheSupplierRegisterSummary; /** * Walk the custody chain from any chain entity. The traversal is * deterministic over the workspace's own records and surfaces chain gaps * explicitly instead of smoothing over them. */ theTraceProvenance: TheProvenanceTrace; /** Weather-driven generation forecast for a wind or solar asset with coordinates. */ theWeatherGenerationForecast: TheWeatherGenerationForecast; theWorkOrder?: Maybe<TheWorkOrder>; thread: MessageConnection; /** Activation milestones for the calling workspace (BOFF-3450). */ timeCampusActivation: TimeCampusActivation; /** The caller's currently ACTIVE focus session, if any. Self-scoped, no arg. */ timeCampusActiveFocusSession?: Maybe<TimeCampusFocusSession>; timeCampusAdminWorkspaceState: TimeCampusAdminWorkspaceState; timeCampusApplet: TimeCampusApplet; /** * One data scope for an installed third-party applet's widget, for the * calling member. FORBIDDEN unless the workspace granted the scope. */ timeCampusAppletBridgeData: Scalars['JSON']['output']; /** The data scopes a manifest can ask for. */ timeCampusAppletDataScopes: Array<TimeCampusAppletDataScope>; /** The JSON Schema every applet manifest is validated against. */ timeCampusAppletManifestSchema: Scalars['JSON']['output']; /** Versions awaiting review (or in the given state), oldest submission first. */ timeCampusAppletReviewQueue: Array<TimeCampusAppletReviewItem>; /** The applet store with this workspace's install state. */ timeCampusApplets: Array<TimeCampusApplet>; timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>; timeCampusCaptureEvents: TimeCampusCaptureEventListResponse; /** The third-party sources a capture channel can pull from (an OAuth grant or an API key). */ timeCampusCapturePullProviders: Array<TimeCampusCapturePullProvider>; timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>; /** * Current state of a TimeCampus export job started in the caller's workspace. * Returns null when the job does not exist, belongs to another workspace, or is * not a TimeCampus export. */ timeCampusExportJob?: Maybe<TimeCampusExportJob>; timeCampusFeatureFlags: TimeCampusFeatureFlagList; /** * Adaptive focus-block suggestions for one local day. `dayStart` is the * instant of the caller's local midnight for that day (yesterday up to 14 * days ahead). Ranked from the caller's own work patterns, meetings and past * focus sessions; slots already accepted, snoozed or dismissed are excluded. */ timeCampusFocusBlockSuggestions: Array<TimeCampusFocusBlockSuggestion>; /** What the browser extension and the desktop app should enforce right now for the caller. */ timeCampusFocusBlockingState: TimeCampusFocusBlockingState; /** * The caller's focus blocks overlapping [from, to). Defaults to scheduled * blocks (ACCEPTED + STARTED); pass a status to list another kind. */ timeCampusFocusBlocks: Array<TimeCampusFocusBlock>; /** The caller's connected calendar, where accepted blocks are held. Self-scoped, no identity arg. */ timeCampusFocusCalendarConnection: TimeCampusFocusCalendarConnection; /** The caller's focus preferences (defaults when nothing is saved). Self-scoped, no identity arg. */ timeCampusFocusPreferences: TimeCampusFocusPreferences; /** Self-scoped: NOT_FOUND (never FORBIDDEN) if the id isn't the caller's own session. */ timeCampusFocusSession?: Maybe<TimeCampusFocusSession>; /** Self-scoped: always the caller's own focus sessions. */ timeCampusFocusSessions: Array<TimeCampusFocusSession>; /** Aggregate protected-vs-interrupted time across the caller's sessions in range. */ timeCampusFocusSummary: TimeCampusFocusSummary; timeCampusImpersonationAudit: Array<TimeCampusImpersonationAuditEntry>; timeCampusInvoice?: Maybe<TimeCampusInvoice>; /** * Self-contained HTML rendering of the invoice, suitable for an inline * preview (e.g. an iframe) before download. */ timeCampusInvoiceHtml: Scalars['String']['output']; /** * Base64-encoded PDF of the invoice (`application/pdf` bytes). The caller * decodes and downloads/opens it client-side. */ timeCampusInvoicePdf: Scalars['String']['output']; timeCampusInvoiceStats: TimeCampusInvoiceStats; timeCampusInvoices: TimeCampusInvoiceListResponse; timeCampusLakeDatasets: Array<TimeCampusLakeDataset>; timeCampusLakeRows?: Maybe<TimeCampusLakePage>; /** Certified marketplace applets with this workspace's install state. */ timeCampusMarketplaceApplets: Array<TimeCampusStoreApplet>; /** * Platform certification queue (super-admins only): submissions in the given * state, IN_REVIEW by default, oldest first. */ timeCampusMarketplaceCertificationQueue: Array<TimeCampusMarketplaceReviewItem>; /** Listings that are or were live, for suspension and reinstatement (super-admins only). */ timeCampusMarketplaceCertifiedListings: Array<TimeCampusMarketplaceListing>; /** One of the caller's applets; another developer's applet is NOT_FOUND. */ timeCampusMyThirdPartyApplet: TimeCampusThirdPartyApplet; /** The applets the caller registered, newest first. */ timeCampusMyThirdPartyApplets: Array<TimeCampusThirdPartyApplet>; /** Self-scoped: the caller's recent trigger firings, newest first (optionally for one trigger). */ timeCampusMyTimeTriggerFirings: Array<TimeCampusTimeTriggerFiring>; /** Self-scoped: the caller's own time triggers. */ timeCampusMyTimeTriggers: Array<TimeCampusTimeTrigger>; /** Self-scoped: the caller's own widget layout (the default until they save one). */ timeCampusMyWidgetLayout: TimeCampusWidgetLayout; timeCampusProject?: Maybe<TimeCampusProject>; timeCampusProjectStats: ProjectStats; timeCampusProjects: TimeCampusProjectListResponse; /** Any third-party applet in the workspace, for reviewers. */ timeCampusReviewThirdPartyApplet: TimeCampusThirdPartyApplet; /** Published third-party applets with this workspace's install state. */ timeCampusStoreApplets: Array<TimeCampusStoreApplet>; /** Templates applied to this workspace, newest first. */ timeCampusTemplateApplications: Array<TimeCampusTemplateApplication>; /** * The self-assembling timeline: capture events, time entries, meetings, * pomodoro sessions, email activity and (on your own timeline) focus sessions * and planned focus blocks merged into one chronological, categorized view * with an honest summary (focus ratio, context switches). Planned blocks are * shown but never counted in the summary. */ timeCampusTimeline: TimeCampusTimeline; /** The widget catalogue, with which widgets can be placed in this workspace. */ timeCampusWidgets: Array<TimeCampusWidget>; timeCampusWorkspaceQuotaOverview: TimeCampusWorkspaceQuotaOverview; timeCampusWorkspaceTemplate: TimeCampusWorkspaceTemplate; timeCampusWorkspaceTemplates: Array<TimeCampusWorkspaceTemplate>; timeEntries: TimeEntryListResponse; timeEntriesByDate: Array<TimeEntry>; timeEntry?: Maybe<TimeEntry>; timeEntryCount: Scalars['Int']['output']; timeEntryStats: TimeEntryStats; /** * Aggregated totals over the workspace's time entries for a date range, with * optional project / client / billable / own-entries filters, one grouping * dimension and a previous-period comparison. Built for natural-language * questions over time data asked through the platform assistant. */ timeEntrySummary: TimeEntrySummary; /** The workspace's scheduler registration, if any member has opted in. */ timeIntelligenceSchedule?: Maybe<TimeCampusTimeIntelligenceSchedule>; /** Recent sweeps of the workspace, newest first. */ timeIntelligenceSweeps: Array<TimeCampusTimeIntelligenceSweep>; todayFocusScore?: Maybe<FocusScore>; todayWorkPattern?: Maybe<WorkPattern>; toolApprovalRequest?: Maybe<ToolApprovalRequest>; topApplications: Array<AppUsageRank>; trackingAlerts: Array<MtwTrackingAlert>; transaction?: Maybe<AssetTransaction>; transactions: Array<AssetTransaction>; /** Build/compatibility info for the transform runtime (supported engines + limits). */ transformRuntimeInfo: TransformRuntimeInfo; /** Traverse the graph from a starting node */ traverseGraph: Array<GraphPath>; /** Get a specific tunnel by ID. */ tunnel?: Maybe<Tunnel>; /** * Audit log entries scoped to a tunnel. Returns entries from the shared * AuditLog table filtered by resource type TUNNEL / TUNNEL_DOMAIN / TUNNEL_SESSION. */ tunnelAudit: VibeAuditLogList; /** Get a tunnel by its workspace-unique slug. */ tunnelBySlug?: Maybe<Tunnel>; /** Get a single domain by ID. */ tunnelDomain?: Maybe<TunnelDomain>; /** List domains in the workspace, optionally scoped to a single tunnel. */ tunnelDomains: TunnelDomainList; /** Get a single provider by key. */ tunnelProvider?: Maybe<TunnelProvider>; /** List all tunnel providers (VIBETUNNELS, CLOUDFLARE, plus future entries). */ tunnelProviders: Array<TunnelProvider>; /** List sessions for a single tunnel. */ tunnelSessions: TunnelSessionList; /** List tunnel shards, optionally filtered by environment. */ tunnelShards: Array<TunnelShard>; /** Usage buckets for a single tunnel in a given time range. */ tunnelUsage: Array<TunnelUsageBucket>; /** List tunnels in the workspace. */ tunnels: TunnelList; typingIndicators: Array<TypingIndicator>; /** * Get the calling actor's own UI session (self-scoped — no id arg; identity * comes from ctx.actor.id). Self scoping prevents cross-user reads of UI * preferences, active vibe, and recent sessions. See BOFF-2659 / * ~/products/arunTodo/rbacCoverage/vibe-agent.md Finding 7. */ uiSession?: Maybe<UiSession>; /** Get UI session by ID */ uiSessionById?: Maybe<UiSession>; unreadMessages: MessageConnection; upcomingEvents: Array<CalendarEvent>; upcomingMeetings: Array<MeetingMeta>; /** * Get comprehensive usage metrics for a time period * Aggregates workflow, node, and credential usage data */ usageMetrics: UsageMetrics; /** * Get time-series usage data * Returns usage metrics over time with configurable granularity */ usageTimeSeries: TimeSeriesData; userAllocations: Array<ResourceAllocation>; /** Get all workspaces a user is a member of */ userWorkspaces: WorkspaceMemberList; utilizationReport: AssetHandlerUtilizationReport; /** Validate a Console Definition (v2.0) and return structured errors. */ validateConsoleDefinition: BigConsoleDashboardValidationResult; /** Validate dashboard import without creating */ validateDashboardImport: BigConsoleDashboardImportValidationResult; validateInviteLink: InviteLinkInfo; /** Validate a share link (public - for join page, requires login) */ validateShareLink: ShareLinkValidation; validateTagAssignment: TagAssignmentValidation; /** Validate a manifest without saving it. */ validateTimeCampusAppletManifest: TimeCampusAppletManifestValidation; /** * Validate a share link token (PUBLIC — no auth required). * Returns whether the link is valid and what it grants. */ validateVibeDeckShareLink: VibeDeckShareLinkValidation; /** * Validate a definition against the workflow IR rules (schema versions 1 and 2) without saving * it. `strict` adds the rules for code-authored definitions: no legacy mirror fields, no `${…}` * templates, slug node ids. Needs the `fluidgrids.code-first` feature. */ validateWorkflowDefinition: WorkflowValidationResult; vehicle?: Maybe<MtwVehicle>; vehicles: Array<MtwVehicle>; vehiclesCount: Scalars['Int']['output']; verifyAuditIntegrity: IntegrityVerificationResult; /** Re-verify a batch's chain integrity on demand (the 'Re-verify' action). */ verifyHealthyBowlTraceBatchIntegrity: TraceChainIntegrity; /** * Verify a workspace token and return user context if valid. * This is the primary endpoint for workspace public gateway authentication. */ verifyWorkspaceToken: TokenVerificationResult; /** Get specific vibe by ID */ vibe?: Maybe<Vibe>; /** Get a single audit log entry by ID */ vibeAuditLog?: Maybe<VibeAuditLog>; /** Get audit log statistics for the workspace */ vibeAuditLogStats: VibeAuditLogStats; /** List audit logs with filtering, search, and pagination */ vibeAuditLogs: VibeAuditLogList; vibeCalendarExecutions: Array<VibeCalendarExecution>; vibeCalendarTask?: Maybe<VibeCalendarTask>; vibeCalendarTasks: Array<VibeCalendarTask>; vibeDeck?: Maybe<VibeDeck>; vibeDeckButton?: Maybe<VibeDeckButton>; vibeDeckButtons: VibeDeckButtonConnection; /** List share links for a specific vibe deck (owner-only) */ vibeDeckShareLinks: Array<VibeDeckShareLink>; vibeDecks: VibeDeckConnection; /** * List the catalog of toggleable features that can be enabled/disabled per vibe. * Drives the per-vibe feature toggles UI. */ vibeFeatureCatalog: Array<VibeFeatureDefinition>; /** * Public health probe for external black-box monitoring (Gatus). * Answers through the federated gateway and proves the vibecontrols subgraph is composed and reachable. */ vibeHealth: Scalars['String']['output']; /** Get vibe hierarchy */ vibeHierarchy: Array<Vibe>; vibeLlmContextTokenAudits: Array<VibeLlmContextFetchAudit>; vibeSecurityPolicies: Array<VibeSecurityPolicy>; /** Get specific agent by ID */ vibecontrolsAgent?: Maybe<VibecontrolsAgent>; /** * Step-by-step connection timeline for a single agent. Returns the most * recent `limit` events (default 200, the buffer cap). Pass * `sinceSequence` to poll incrementally from the UI without re-fetching * the whole window. */ vibecontrolsAgentConnectionEvents: Array<AgentConnectionEvent>; /** * Get the SQLite encryption key for agents in this workspace. * One key per workspace regardless of number of agents. * Key is auto-generated on first agent registration and stored encrypted in the vault. * Agents call this on every startup using their OAuth2 credentials. */ vibecontrolsAgentEncryptionKey: Scalars['String']['output']; /** * Probe the health of all agents in the workspace. * The backend calls each agent's /health endpoint and returns results. */ vibecontrolsAgentHealthProbes: Array<AgentHealthProbeResult>; /** * Look up the current tunnel URL + a freshly-minted scoped peer key for a * target agent. Used by another agent (the caller) to recover from * rotation: when the caller's cached key/url stops working, it asks the * platform for the latest values. The caller is identified via the * authenticated context (clientId/secret OAuth session); RBAC checks that * the caller has been granted peer access to the target. * * Returns null when the caller has no active grant or the target has no * reachable tunnel. */ vibecontrolsAgentNetworkLookup?: Maybe<VibecontrolsAgentNetworkLookupResult>; /** List the active (non-deleted) profiles hosted by an agent. */ vibecontrolsAgentProfiles: Array<VibecontrolsAgentProfile>; /** * Admin-only: reveal the agent's stored long-lived API key. Replaces the * deprecated `agentApiKey` field on `VibecontrolsAgent`. Operator-facing — * only the agent owner or workspace admins (RBAC action `admin`) may call. * Every read is audited. */ vibecontrolsAgentSecretReveal?: Maybe<Scalars['String']['output']>; /** Get all agents in a workspace. Supports optional pagination (limit/offset). */ vibecontrolsAgents: Array<VibecontrolsAgent>; /** * Consolidated analytics for all VibeControls entities. * Returns aggregated stats, breakdowns, and time-series data in a single query. * Use the entityTypes filter to request only specific entity analytics. */ vibecontrolsAnalytics: VibecontrolsAnalyticsResult; /** Get a specific catalog by ID */ vibecontrolsCatalog?: Maybe<VibecontrolsCatalog>; /** Get the dependency graph for a catalog */ vibecontrolsCatalogDependencyGraph: VibecontrolsDependencyGraph; /** Get the aggregated SBOM for a catalog */ vibecontrolsCatalogSBOM: VibecontrolsSbom; /** List catalogs in a workspace with optional filters and pagination */ vibecontrolsCatalogs: VibecontrolsCatalogList; /** Get a specific component by ID */ vibecontrolsComponent?: Maybe<VibecontrolsComponent>; /** List components with optional filters and pagination */ vibecontrolsComponents: VibecontrolsComponentList; /** * Ground truth for the hard-cap count quotas (agents, targets, vibes, actions, * notes, tunnels, catalogs, components, docs sites, webhooks, AI prompts, * VibeDecks) across every workspace, with 0 where nothing live is left. Service * actors only (the wspace-activity-svc count reconciler); any other caller gets * FORBIDDEN. */ vibecontrolsCountMetrics: Array<VibecontrolsQuotaCountMetric>; /** Get docs site by owner type and owner ID */ vibecontrolsDocsSiteByOwner?: Maybe<VibecontrolsDocsSite>; /** Tags currently assigned to a VibeControls entity */ vibecontrolsEntityTags: Array<EntityTagAssignment>; /** Get notes by tags */ vibecontrolsNotesByTags: VibecontrolsNoteList; /** * Resolve a wspace-integrations-svc connection to a fresh access token for * agent plugins. The agent calls this with its OAuth2 client-credential * session (actor=app); this resolver re-issues the underlying * `getConnectionToken` to integrations-svc as a service actor after * validating workspace ownership. * * Plugins that need third-party credentials (AI provider keys, GitHub * OAuth, Slack bot tokens, …) store a `connectionId` instead of raw * secrets and call this to materialize a token at runtime. */ vibecontrolsResolveIntegrationToken: VibecontrolsIntegrationTokenResult; /** Get a scorecard by owner type and owner ID */ vibecontrolsScorecard?: Maybe<VibecontrolsScorecard>; /** Recent value/score history for a metric (newest first). */ vibecontrolsScorecardMetricHistory: Array<VibecontrolsScorecardMetricHistoryPoint>; /** Metadata about the workspace's CI push token (never returns the secret). */ vibecontrolsScorecardPushTokenInfo: VibecontrolsScorecardPushTokenInfo; /** List scorecard templates available in the workspace (seeds starters once). */ vibecontrolsScorecardTemplates: Array<VibecontrolsScorecardTemplate>; /** List scorecards in the workspace (portfolio view), optionally by owner type. */ vibecontrolsScorecards: Array<VibecontrolsScorecard>; /** * Step-by-step connection timeline for a single session — every probe, * agent fetch, ttyd start attempt, token mint, terminal-exchange POST, * etc. that the svc emitted on behalf of this session. Operators copy * / export this when a "Connect" fails so the trace is in the bug * report. */ vibecontrolsSessionConnectionEvents: Array<AgentConnectionEvent>; /** Get a specific template by ID */ vibecontrolsTemplate?: Maybe<VibecontrolsTemplate>; /** List templates with optional filters and pagination */ vibecontrolsTemplates: VibecontrolsTemplateList; /** Get all vibes in a workspace */ vibes: VibeList; /** Get visibility rules for a resource */ visibilityRules: Array<VisibilityRule>; waitForAssistantReady: AssistantReadiness; waitForSandboxRunning?: Maybe<Sandbox>; warehouse?: Maybe<MtwWarehouse>; warehouseStats: MtwWarehouseStats; warehouses: Array<MtwWarehouse>; warehousesCount: Scalars['Int']['output']; /** Get specific webhook by ID */ webhook?: Maybe<Webhook>; webhookDeliveryLogs: Array<WebhookDeliveryLog>; /** The caller's own test listener, webhook or form. */ webhookTestListener?: Maybe<WebhookTestListener>; /** Get all webhooks in a workspace */ webhooks: WebhookList; /** Get webhooks by event type */ webhooksByEvent: WebhookList; workOrder?: Maybe<WorkOrder>; workOrders: Array<WorkOrder>; /** * A single work pattern by id, owner-filtered to the calling actor — returns * null (not another user's row) if the id doesn't belong to the caller. */ workPattern?: Maybe<WorkPattern>; /** The calling actor's own work-pattern summary. See `workPatterns` re: `userId`. */ workPatternSummary: WorkPatternSummary; /** * The calling actor's own work patterns. `userId` is accepted for backward * compatibility but is neutralized in the resolver (resolveTargetUserId): * any non-privileged actor requesting a different user's data is silently * redirected back to their own. Managers use `teamWorkPatternSummary` / * `teamWorkPatterns` for genuinely workspace-wide visibility. */ workPatterns: Array<WorkPattern>; /** * The workspace's activity pause rules that have not expired (Phase C), for the graph executor's * rule check: [{ id, activityType, nodeType, workflowKey, reason, expiresAt }]. * INTERNAL: Requires actorType SERVICE */ workerActivityPauseRules: Scalars['JSON']['output']; /** * The agent an AI Agent node of a run names, or null when it names none. * INTERNAL: Requires actorType SERVICE */ workerAgentProfile?: Maybe<WorkerAgentProfile>; /** * May the worker start a coding-agent job for this Coding Agent node of this run (BOFF-9968)? * INTERNAL: Requires actorType SERVICE */ workerCodingAgentAccess: WorkerCodingAgentAccess; /** * For each build a worker runs, the builds it may also serve (06 §5). Bridge actor only. * INTERNAL: Requires actorType SERVICE */ workerCompatibleBuildIds: Array<WorkerBuildCompatibility>; /** WORKER-INTERNAL: read rows for the Data Table node's get/list operation. */ workerDataTableGetRows: WorkerDataTableRowsResponse; /** * A presigned download of one of the workspace's code bundles. * INTERNAL: Requires actorType SERVICE */ workerFetchCodeBundle: WorkflowCodeBundleAccess; /** * A page of a durable-function run's history with offloaded payloads inlined. A page stops at * `limit` events or about 4 MiB of payload, whichever comes first. * INTERNAL: Requires actorType SERVICE */ workerFetchHistory: WorkflowRunEventPage; /** * Get execution context for a workflow run * Returns run data, workflow definition, and all necessary context * INTERNAL: Requires actorType SERVICE */ workerGetExecutionContext: WorkerExecutionContext; /** * Get all node states for a run * INTERNAL: Requires actorType SERVICE */ workerGetNodeStates: Array<WorkerNodeState>; /** * WORKER-INTERNAL: hydrate the current static data for a workflow. Restricted * to the `service` actor type — fluidgrids-workers calls this via the * internal gateway with `x-actor-type: service`. */ workerGetWorkflowStaticData: WorkerStaticDataResponse; /** * WORKER-INTERNAL: resolve every variable visible to a run into a flat * `$vars` map, secrets resolved server-side. Restricted to the `service` * actor type — fluidgrids-workers calls this via the internal gateway with * `x-actor-type: service`, never `x-actor-id` (see wspace-integrations-svc's * CLAUDE.md cross-layer M2M note for why). */ workerGetWorkflowVariables: WorkerVariablesResponse; /** * Resolve node endpoint from registry * INTERNAL: Requires actorType SERVICE */ workerResolveNodeEndpoint: WorkerNodeEndpointResponse; /** * BOFF-9943: the estimated cost in micro-USD of the priced model calls of a run, or with * `tree: true` of a top-level run and every sub-workflow run under it. Calls not priced yet count * nothing. The worker checks it against a cost budget before each model call. * INTERNAL: Requires actorType SERVICE */ workerRunAiCost: Scalars['Float']['output']; /** * Current status of up to 100 runs (BOFF-7647). The executor uses it to give back * parallel-run slots held by runs that were stopped outside the worker (cancelled, * terminated, failed by run recovery). Runs that do not exist are left out. * INTERNAL: Requires actorType SERVICE */ workerRunStatuses: Array<WorkerRunStatusEntry>; /** Worker tokens of the workspace. */ workerTokens: Array<SandboxWorkerToken>; /** Internal admission check; the workspace must match the verified caller context. */ workerWorkflowWorkspaceAiPolicy: WorkflowWorkspaceAiPolicy; /** * The calling workspace's concurrent-run cap from its plan (`fluidgrids.runs.concurrent`, BOFF-9949). * The executor holds a workspace's production runs back in a FIFO queue once this many are in * flight. `limit` is set only when `source` is PLAN; for every other source the worker uses its * own default. The workspace is the one the call is scoped to. * INTERNAL: Requires actorType SERVICE */ workerWorkspaceRunConcurrency: WorkerWorkspaceRunConcurrency; /** Get a single workflow by ID */ workflow?: Maybe<FluidGridsWorkflow>; /** The workspace's activity pause rules that have not expired. */ workflowActivityPauseRules: Array<WorkflowActivityPauseRule>; /** One batch job of the workspace. */ workflowBatchOperation: WorkflowBatchJob; /** The workspace's batch jobs, newest first. */ workflowBatchOperations: WorkflowBatchJobPage; /** Get a workflow by its unique key */ workflowByKey?: Maybe<FluidGridsWorkflow>; /** The inputs a workflow declares for Sub-workflow nodes that call it (BOFF-10831). */ workflowCallInputs: WorkflowCallInputs; /** * A presigned download of the whole source archive of a version's bundle; null for a version * without code or without a stored archive. */ workflowCodeArchive?: Maybe<WorkflowCodeArchive>; /** The code bundle of a version; null for a version without code. */ workflowCodeBundle?: Maybe<WorkflowCodeBundle>; /** A hotfix or versioning check job of this workspace. */ workflowCodeReplace: WorkflowCodeReplaceResult; /** The project files of a version's bundle, at most 1 MiB; null for a version without stored sources. */ workflowCodeSource?: Maybe<WorkflowCodeSource>; /** Get all datasink links for a workflow */ workflowDataSinkLinks: Array<DataSinkWorkflowLink>; /** Get a single workflow definition by ID, or by workflowKey (optionally with version) */ workflowDefinition?: Maybe<WorkflowDefinition>; /** * List workflow definitions with filtering * - Default: restricts to active workspace from context * - includeAll: true (superadmin only) returns all workspaces */ workflowDefinitions: WorkflowDefinitionListResponse; /** Get detailed information about a specific workflow instance */ workflowDetails: Scalars['JSON']['output']; /** Who holds the edit lease of a workflow. Pass `sessionId` to learn whether it is the caller's. */ workflowEditLease: WorkflowEditLease; /** The workspace promotion policy (the defaults when none was saved). */ workflowEnvironmentPolicy: WorkflowEnvironmentPolicy; /** What is deployed to DEV, STAGING and PROD for a workflow, its pending promotions and the policy. */ workflowEnvironments: WorkflowEnvironments; /** @deprecated Use `workflowRunLogs`, which is what the executor actually writes to. This field reads a table nothing has ever populated and always returns an empty list. */ workflowExecutionLogs: Array<WorkflowExecutionLog>; /** The workspace's run-data settings (the defaults when none were saved). */ workflowExecutionSettings: WorkflowExecutionSettings; /** Top-level folders for the caller's workspace+product; traverse `children` for the rest of the tree. */ workflowFolders: Array<WorkflowFolder>; /** * Get a natural-language workflow generation started by the current user. * Poll until status is COMPLETED or FAILED. */ workflowGeneration?: Maybe<WorkflowGeneration>; /** * The node catalog AI authoring is grounded in for this workspace: internal * and trigger nodes plus the connector registry nodes the workspace can see. * Pass nodeType to get one node. */ workflowGenerationCatalog: Array<WorkflowCatalogNode>; /** Starting patterns available for natural-language workflow generation */ workflowGenerationTemplates: Array<WorkflowGenerationTemplate>; /** Commits that touched the workflow's file on the linked branch, newest first (default 20, max 100). */ workflowGitCommits: Array<WorkflowGitCommit>; /** Diff the workflow file at a commit against a version (the latest when version is omitted). */ workflowGitDiff: WorkflowGitDiff; /** Pushes of a workflow to Git, newest first (default 20, max 100). */ workflowGitPushes: Array<WorkflowGitPush>; /** The linked Git repository of the workspace, or null. */ workflowGitRepository?: Maybe<WorkflowGitRepository>; /** * Public health probe for external black-box monitoring (Gatus). * Answers through the federated gateway and proves the workflow subgraph is composed and reachable. * Returns a constant: it never touches the database or reports dependency details * (those stay behind the super_admin-only `dependenciesHealth`). */ workflowHealth: Scalars['String']['output']; /** Every ask a run made, newest first — who was asked, how, until when, and the answer. */ workflowHumanRequests: Array<WorkflowHumanRequest>; /** * The typed interface of a workflow version: the declared `interface`, or one derived from the * Execute Workflow trigger's input fields and the terminal node's output fields. Without a * version, the ACTIVE version (else the newest) is used. Needs the `fluidgrids.code-first` feature. */ workflowInterface?: Maybe<Scalars['JSON']['output']>; /** The notification preferences of a workflow (the defaults when none were saved). */ workflowNotificationSettings: WorkflowNotificationSettings; workflowProjects: Array<WorkflowProject>; /** Promotion history of a workflow, newest first (default 50, max 200). */ workflowPromotionRequests: Array<WorkflowPromotionRequest>; /** A workflow proposal started by the current user. Poll while status is PROCESSING. */ workflowProposal?: Maybe<WorkflowProposal>; /** The rollouts of a workflow (at most one per environment). */ workflowRollouts: Array<WorkflowRollout>; workflowRun?: Maybe<WorkflowRun>; /** * The latest run of a workflow id (spec code-first 11 §2.1): the newest run of the key that carries * the id, followed along continue-as-new to the end of its chain. `firstRunId` pins the chain * (VALIDATION when the latest run belongs to another one). Null when no run the caller can see has * the id. Durable-function parity: needs fluidgrids.durable-parity. */ workflowRunByWorkflowId?: Maybe<WorkflowRun>; /** Whether a durable-function run's workflow task is failing, and why. */ workflowRunDeterminismStatus: WorkflowRunDeterminismStatus; /** * The full payload of one event of a durable-function run, decrypted when it is stored under the * at-rest envelope and read back when it was offloaded (Phase C, 09 §2). Follows the run's * data-privacy settings, like workflowRunHistory. */ workflowRunEventPayload?: Maybe<Scalars['JSON']['output']>; /** * Get the full parent/child hierarchy for a workflow run. * Returns the root run and all nested sub-workflow runs. */ workflowRunHierarchy?: Maybe<WorkflowRunHierarchy>; /** * A page of a run's history after `after` (at most 1000 events or 4 MiB of payload). An offloaded * payload is a stub in `payload` with a short-lived presigned `payloadUrl`. Empty for a graph run. */ workflowRunHistory: WorkflowRunEventPage; /** * Read a run's execution log, oldest first. * * Pass the previous page's `nextCursor` as `after` to page forward; combined * with the `runLogAppended` subscription this gives a GitHub-Actions-style * live tail that survives reconnects (re-query from the last cursor). */ workflowRunLogs: RunLogPage; /** * The pending awaits of an open durable-function run, from a replay of its history in the service * (10 s budget). `enhanced` adds the structured `__enhanced_stack_trace`. */ workflowRunStackTrace: WorkflowRunStackTrace; /** One update of a run, by its updateId (poll after updateWorkflowRun returns before the stage it asked for). */ workflowRunUpdate: WorkflowUpdateResult; workflowRuns: WorkflowRunListResponse; /** * How many runs the workflowRuns list returns for `filter` (the same filters and the same * visibility; `limit` and `offset` do not apply), in total and per group of at most two * `groupBy` columns, largest groups first (at most 1000). Durable-function parity: needs * fluidgrids.durable-parity. */ workflowRunsCount: RunCountResult; /** A Schedule Trigger node's spec, state, next fire times and recent ticks. Needs fluidgrids.schedule-policies. */ workflowScheduleDescribe: WorkflowScheduleDescription; /** Get a specific scheduled job by ID */ workflowScheduledJob?: Maybe<WorkflowScheduledJob>; /** Get list of scheduled jobs */ workflowScheduledJobs: ScheduledJobsListResponse; /** Get status of all scheduled jobs */ workflowScheduledJobsStatus: Scalars['JSON']['output']; workflowSearch: WorkflowSearchResponse; /** The workspace's search attributes, by name. */ workflowSearchAttributes: Array<WorkflowSearchAttribute>; workflowSearchByEntityType: WorkflowSearchResponse; workflowSearchCapabilities: WorkflowSearchCapabilities; workflowSearchFilters: Array<WorkflowFilterCapability>; workflowSearchableEntities: Array<WorkflowEntitySearchCapability>; /** Who a workflow belongs to and who it is shared with. Needs sight of the workflow. */ workflowSharing: WorkflowSharing; /** The signal tokens of a run, newest first (at most 100; never the tokens themselves). */ workflowSignalTokens: Array<WorkflowSignalToken>; /** * Read a single static-data blob (debug/inspection UI). GLOBAL scope ignores * `nodeId`; NODE scope requires it. */ workflowStaticData?: Maybe<WorkflowStaticDataRecord>; /** List every static-data blob (global + all nodes) persisted for a workflow key. */ workflowStaticDataList: Array<WorkflowStaticDataRecord>; /** Get workflow summary with execution statistics */ workflowSummary: WorkflowSummaryResponse; /** One test case, or null. */ workflowTestCase?: Maybe<WorkflowTestCase>; /** The saved test cases of a workflow, in sort order. */ workflowTestCases: Array<WorkflowTestCase>; /** One test-suite run and its per-case results, or null. People see the suite runs they started. */ workflowTestRun?: Maybe<WorkflowTestRun>; /** The most recent test-suite runs of a workflow, newest first (1 to 50, default 20). */ workflowTestRuns: Array<WorkflowTestRun>; /** * Get workflow usage summary (non-monetary run counters) for a time period. * For money figures query global-billing-svc — it owns the canonical * workflow/minutes-run meter and rate card. */ workflowUsageSummary: WorkflowUsageSummary; /** Get a single variable by id (owner-filtered to the caller's workspace). */ workflowVariable?: Maybe<WorkflowVariable>; /** List variables visible in the caller's workspace (optionally filtered to one project's scope). */ workflowVariables: WorkflowVariablesListResponse; /** Compare the definition JSON of two versions. */ workflowVersionDiff: WorkflowVersionDiff; /** Whether a version's bundle still serves open runs. */ workflowVersionDrainage: DrainageInfo; /** Get all versions of a workflow */ workflowVersions: Array<WorkflowDefinition>; /** Self-hosted workers of the workspace. */ workflowWorkers: Array<SandboxWorkflowWorker>; /** Read workspace approval metadata and whether managed execution currently enforces it. */ workflowWorkspaceAiPolicy: WorkflowWorkspaceAiPolicy; /** Get all workflows in the workspace */ workflows: Array<FluidGridsWorkflow>; /** Get a single workspace by ID */ workspace?: Maybe<Workspace>; /** * The workspace's run model calls and estimated cost per workflow, for calls that finished in * [from, to). The period is at most 366 days. */ workspaceAiUsage: WorkspaceAiUsage; /** * Paginated audit log for a workspace, ordered newest-first. The optional * `eventType` filter accepts an exact event name (e.g. "workspace.archived") * or a domain prefix with a trailing dot (e.g. "project." matches every * project event). */ workspaceAuditLogs: WorkspaceAuditLogList; /** The static industry blueprints. */ workspaceBlueprints: Array<WorkspaceBlueprint>; /** The saved composition of a workspace, or null when the workspace has not been composed. */ workspaceComposition?: Maybe<WorkspaceComposition>; /** Get total count of workspaces (for analytics) */ workspaceCount: Scalars['Int']['output']; /** * Paginated, identity-resolved directory of the current workspace's members. * Thin wrapper over wspace-workspace-svc — see WORKSPACE MEMBER DIRECTORY above. */ workspaceDirectory: WorkspaceDirectoryConnection; /** Get a specific installed workspace app by ID */ workspaceInstalledApp?: Maybe<WorkspaceInstalledApp>; /** * Get installed workspace app by app name in the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceInstalledAppByName?: Maybe<WorkspaceInstalledApp>; /** * Get all installed apps for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceInstalledApps: Array<WorkspaceInstalledApp>; /** * Get all invitations for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceInvitations: InvitationList; /** * Sender-side: list invites issued from a workspace, newest first. * Workspace scope is enforced from the gateway-supplied x-workspace-id header. */ workspaceInvites: WorkspaceInviteList; workspaceJobExecutions: JobExecutionConnection; /** Get a single workspace member by ID */ workspaceMember?: Maybe<WorkspaceMember>; /** Internal product admission check. Requires service identity and authenticated workspace context; at most 100 distinct IDs. */ workspaceMemberEligibility: Array<WorkspaceMemberEligibility>; /** * Resolve human-friendly identities for users who are active members of the * authenticated workspace context. */ workspaceMemberIdentities: Array<WorkspaceMemberIdentity>; /** * Get all members of a workspace with pagination. * Workspace ID is provided as an argument. Falls back to gateway context (x-workspace-id header) * if the argument value matches the header or for backward compatibility. */ workspaceMembers: WorkspaceMemberList; /** The static module catalog (embedded platform modules + linked product modules). */ workspaceModuleCatalog: Array<WorkspaceModuleDefinition>; /** * List the calling actor's legal acceptances for a checkpoint type. * Self-scoped: identity is taken from context, no identity arguments allowed. */ workspaceMyLegalAcceptances: WorkspaceLegalAcceptanceConnection; workspaceNodeInstallations: Array<WorkspaceNodeInstallation>; /** List all active quota assignments for a workspace. */ workspaceQuotaAssignments: Array<WorkspaceQuotaAssignment>; /** Historical snapshots for a specific quota, newest first (at most one snapshot per hour). */ workspaceQuotaHistory: Array<WorkspaceQuotaSnapshot>; /** * Combined quota overview: assignments merged with live scraped values. * * When `productId` is provided, only that product's dedicated quotas plus * the workspace's pooled ("platform") quotas are returned — callers that * render a single product's usage page should pass it to avoid fetching * every other product's dedicated quotas for the workspace. */ workspaceQuotaOverview: Array<WorkspaceQuotaOverview>; /** Current live values for all quotas in this workspace (sourced from service metrics scraper). */ workspaceQuotaStatuses: Array<WorkspaceQuotaStatus>; /** Get a single workspace resource by ID */ workspaceResource?: Maybe<WorkspaceResource>; /** * Get resource limits for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceResourceLimits?: Maybe<WorkspaceResourceLimits>; /** Get all available resource types */ workspaceResourceTypes: Array<WorkspaceResourceTypeInfo>; /** * Get current resource usage for the current workspace. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceResourceUsage?: Maybe<WorkspaceResourceUsage>; /** * Get workspace resources with filtering and pagination. * Workspace ID is read from gateway context (x-workspace-id header). */ workspaceResources: WorkspaceResourceList; workspaceScheduleQuotas: WorkspaceScheduleQuotas; /** * The workspace security report: active workflows' public triggers, code execution, HTTP calls to * private addresses, SQL built from expressions and outdated Node Store nodes. Workspace admins only. */ workspaceSecurityReport: WorkspaceSecurityReport; /** * Workspace-wide audit log — all tunnel, domain, and session operations * across every tunnel in the workspace, newest first. */ workspaceTunnelAudit: VibeAuditLogList; /** * Get multiple workspaces with filtering and pagination. * Tenant scope is read from gateway context (x-tenant-id header). */ workspaces: WorkspaceList; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAccessPrincipalsArgs = { input: AccessPrincipalsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAccessSharedSecretArgs = { password?: InputMaybe<Scalars['String']['input']>; token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionDefinitionsArgs = { resourceType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionExecutionsArgs = { filter?: InputMaybe<ActionExecutionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionPolicyDecisionsArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActionsArgs = { filter?: InputMaybe<ActionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActiveCallArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActiveDeliveriesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActivePomodoroSessionArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActiveSessionsArgs = { pagination?: InputMaybe<PaginationInput>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActiveWebhooksArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActiveWorkflowsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; userId?: InputMaybe<Scalars['String']['input']>; workflowName?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActivityCountArgs = { filter?: InputMaybe<ActivityLogFilter>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorPermissionOverridesArgs = { actorId: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorPermissionOverridesPageArgs = { actorId: Scalars['String']['input']; includeExpired?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorRbacSummaryArgs = { actorId: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorRoleAssignmentsArgs = { actorId: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorRoleAssignmentsPageArgs = { actorId: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorsArgs = { filter?: InputMaybe<ActorFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryActorsPageArgs = { filter?: InputMaybe<ActorFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaAdapterArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaChargebackReportArgs = { includeChildWorkspaces?: InputMaybe<Scalars['Boolean']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaCostSummaryArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListAdaptersArgs = { kind?: InputMaybe<AdaAdapterKind>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<AdaAdapterStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListConnectionsArgs = { adapterId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<AdaConnectionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListCostRecordsArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; resourceId?: InputMaybe<Scalars['ID']['input']>; service?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListDataSubjectRequestsArgs = { pagination?: InputMaybe<PaginationInput>; requestType?: InputMaybe<AdaDataSubjectRequestType>; status?: InputMaybe<AdaDataSubjectRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListDriftRecordsArgs = { pagination?: InputMaybe<PaginationInput>; resourceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<AdaDriftStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListLegalAcceptancesArgs = { actorId?: InputMaybe<Scalars['ID']['input']>; checkpointType?: InputMaybe<AdaLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListPoliciesArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<AdaPolicyKind>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListResourcesArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; resourceType?: InputMaybe<Scalars['String']['input']>; state?: InputMaybe<AdaResourceState>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListSyncRunsArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<AdaSyncStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListTopologyEdgesArgs = { kind?: InputMaybe<AdaEdgeKind>; pagination?: InputMaybe<PaginationInput>; resourceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaListViolationsArgs = { pagination?: InputMaybe<PaginationInput>; policyId?: InputMaybe<Scalars['ID']['input']>; resourceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<AdaViolationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaMyDataSubjectRequestsArgs = { pagination?: InputMaybe<PaginationInput>; requestType?: InputMaybe<AdaDataSubjectRequestType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaMyLegalAcceptancesArgs = { checkpointType?: InputMaybe<AdaLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaPartnerPortalBrandingArgs = { customDomain: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdaSyncRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdminAnalyticsModulesArgs = { input: AdminAnalyticsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdminAnalyticsOverviewArgs = { input: AdminAnalyticsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAdminAnalyticsTimelineArgs = { input: AdminAnalyticsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentAiGetArgs = { agentId: Scalars['ID']['input']; path: Scalars['String']['input']; query?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentCodeServerStatusArgs = { agentId: Scalars['ID']['input']; name: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentCommandsArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentDefinitionGrantsArgs = { agentDefinitionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentDefinitionsUsingConnectionArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentGitopsProxyArgs = { agentId: Scalars['ID']['input']; body?: InputMaybe<Scalars['JSON']['input']>; method: Scalars['String']['input']; pathTail: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentGraphArgs = { rootAgentId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentInstructionFileArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentInstructionFilesArgs = { filter?: InputMaybe<AgentInstructionFileFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentLifecycleStateArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentLogsGetArgs = { agentId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; query?: InputMaybe<Scalars['JSON']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentMeshGraphArgs = { rootAgentId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentPlaygroundConfigArgs = { agentId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentPluginsArgs = { agentId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentSecurityScanProxyArgs = { agentId: Scalars['ID']['input']; pathTail: Scalars['String']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentSessionOrphansArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentTraceArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentUpdateCheckArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAgentUpdateStatusArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAhListWatchAlertsArgs = { filter?: InputMaybe<AhWatchAlertFilterInput>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAhListWatchSweepsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAhSemanticAssetSearchArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiContextArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiContextsArgs = { filter?: InputMaybe<AiContextFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiCreditStatusArgs = { productKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiPredictionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiPredictionsArgs = { filter?: InputMaybe<AiPredictionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiPromptArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiPromptsArgs = { filter?: InputMaybe<AiPromptFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiSpendAlertsArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiToolEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAiToolEventsArgs = { filter?: InputMaybe<AiToolEventFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAllSecurityScansArgs = { filter?: InputMaybe<SecurityScanFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAllVibeLlmContextTokensArgs = { userId?: InputMaybe<Scalars['ID']['input']>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAllWebhookDeliveriesArgs = { eventRegistrationId?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; validationPassed?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAppUsageSummaryArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryApplicationUsageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryApplicationUsagesArgs = { category?: InputMaybe<Scalars['String']['input']>; date?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryApprovalRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryApprovalRequestsArgs = { filter?: InputMaybe<ApprovalRequestFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryApprovalStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtAdobeLibrariesArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtAdobeLibraryElementsArgs = { connectionId: Scalars['ID']['input']; libraryId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtApprovalWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtBrowseMarketplaceArgs = { filter?: InputMaybe<ArtMarketplaceBrowseFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtCreatorAnalyticsArgs = { input?: InputMaybe<ArtCreatorAnalyticsInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverFacetsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverForYouArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverRelatedArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverTrendingArgs = { limit?: InputMaybe<Scalars['Int']['input']>; medium?: InputMaybe<ArtMedium>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverWorkArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDiscoverWorksArgs = { filter?: InputMaybe<ArtDiscoverFilter>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<ArtDiscoverSort>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtDistributionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtExportProductionReviewReportArgs = { format?: InputMaybe<ArtReportFormat>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtExportReviewReportArgs = { format?: InputMaybe<ArtReportFormat>; reviewRoundId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtGuestReviewArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtLatestPosterFrameJobArgs = { assetId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListAdobeSyncsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListApprovalSignaturesArgs = { reviewRoundId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListApprovalWorkflowsArgs = { productionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListAssetsArgs = { pagination?: InputMaybe<PaginationInput>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListCollectionsArgs = { pagination?: InputMaybe<PaginationInput>; visibility?: InputMaybe<ArtVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListDistributionsArgs = { pagination?: InputMaybe<PaginationInput>; workId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListGuestReviewersArgs = { reviewRoundId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListLicensesArgs = { pagination?: InputMaybe<PaginationInput>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListMarketplaceListingsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ArtListingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListMarketplaceSalesArgs = { listingId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListMyMarketplacePurchasesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListPortfoliosArgs = { pagination?: InputMaybe<PaginationInput>; visibility?: InputMaybe<ArtVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListProductionMembersArgs = { pagination?: InputMaybe<PaginationInput>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListProductionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ArtProductionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListReferencesArgs = { pagination?: InputMaybe<PaginationInput>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListReleasesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ArtReleaseStatus>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListReviewRoundsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ArtReviewStatus>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListWorkVersionsArgs = { pagination?: InputMaybe<PaginationInput>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtListWorksArgs = { medium?: InputMaybe<ArtMedium>; pagination?: InputMaybe<PaginationInput>; productionId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<ArtWorkStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtMarketplaceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtMarketplaceOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtPortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtPosterFrameJobArgs = { jobId: Scalars['ID']['input']; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtProductionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtPublicPortfolioByHostArgs = { hostname: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtReviewRoundArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtSimilarWorksArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtSuggestWorkTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtVerifyApprovalSignaturesArgs = { reviewRoundId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtWebhookSubscriptionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtWorkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryArtifactArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAskTimeCampusArgs = { days?: InputMaybe<Scalars['Int']['input']>; question: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetAssignmentsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<AssetHandlerPaginationInput>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetByTagArgs = { tagId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetDeadlineAlertsArgs = { withinDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerAdminWorkspaceStateArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerConfigurationItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerDigitalTwinArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerDiscoveryJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerFeatureFlagsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerIoTDeviceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerLicenseEntitlementArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerProvenanceRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerSoftwareAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetHandlerWorkspaceQuotaOverviewArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetRegisterArgs = { filter?: InputMaybe<AssetRegisterFilterInput>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssetsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssignmentSuggestionsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; routeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantConversationMessagesArgs = { conversationId: Scalars['ID']['input']; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantConversationsArgs = { first?: InputMaybe<Scalars['Int']['input']>; productId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantSessionQueryArgs = { input: AssistantSessionRelayInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantWebsiteInstallationsArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantWebsiteOriginAllowedArgs = { installationId: Scalars['ID']['input']; origin: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantWebsiteTranscriptArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAssistantWebsiteTurnArgs = { clientTurnId: Scalars['ID']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthAgentRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthAgentRunsArgs = { filter?: InputMaybe<AthAgentRunFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthAuditLogsArgs = { filter?: InputMaybe<AthAuditLogFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthFixtureArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListAvailabilityArgs = { fixtureId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; sessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListFixturesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<AthFixtureStatus>; teamId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListMembersArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<AthMemberStatus>; teamId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListProgramsArgs = { assignedAthleteId?: InputMaybe<Scalars['ID']['input']>; assignedTeamId?: InputMaybe<Scalars['ID']['input']>; level?: InputMaybe<AthProgramLevel>; pagination?: InputMaybe<PaginationInput>; sport?: InputMaybe<AthSport>; status?: InputMaybe<AthProgramStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListRegistrationFormsArgs = { fixtureId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; season?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<AthRegistrationFormStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListRegistrationPaymentsArgs = { submissionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListRegistrationSubmissionsArgs = { checkedIn?: InputMaybe<Scalars['Boolean']['input']>; fixtureId?: InputMaybe<Scalars['ID']['input']>; formId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; paymentStatus?: InputMaybe<AthRegistrationPaymentStatus>; status?: InputMaybe<AthRegistrationSubmissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListSessionsArgs = { athleteId?: InputMaybe<Scalars['ID']['input']>; coachId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; scheduledFrom?: InputMaybe<Scalars['DateTime']['input']>; scheduledTo?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<AthSessionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListTeamsArgs = { pagination?: InputMaybe<PaginationInput>; sport?: InputMaybe<AthSport>; status?: InputMaybe<AthTeamStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthListWorkoutLogsArgs = { athleteId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; programId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthMyRegistrationsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthPerformanceMetricsArgs = { athleteId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<AthMetricType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthRegistrationFormArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthRegistrationFormBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthRegistrationPaymentSummaryArgs = { formId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthRegistrationSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthStandingsArgs = { competition: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAthTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableAssetTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableBigconsoleTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableCosTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableEventfullyManagedTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableFluidgridsTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableIntelwatchtowerTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableNoteTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableSandboxTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryAvailableVibecontrolsTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBigconsoleEntityTagsArgs = { input: GetBigConsoleEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBlockedKnowledgeCleanupJobsArgs = { kind: KnowledgeCleanupKind; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraAccountFeeReportArgs = { accountId: Scalars['ID']['input']; benchmarkFeeBps?: InputMaybe<Scalars['Float']['input']>; grossAnnualReturnPct?: InputMaybe<Scalars['Float']['input']>; years?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraAggregationLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraBudgetStatusArgs = { input?: InputMaybe<BraBudgetStatusInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraCashflowSummaryArgs = { input?: InputMaybe<BraCashflowWindowInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraCashflowTransactionsArgs = { input?: InputMaybe<BraCashflowTransactionsInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraEntitySummaryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraFxRatesArgs = { baseCurrency: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraGoalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraHouseholdArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraInsuranceNeedsAnalysisArgs = { input: BraInsuranceNeedsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraInsurancePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraInvestableSurplusArgs = { input?: InputMaybe<BraInvestableSurplusInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListAccountsArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BraAccountStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListAggregationLinksArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListBudgetsArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListCashflowRulesArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListEntitiesArgs = { after?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListGoalFundingsArgs = { goalId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListGoalsArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BraGoalStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListHoldingsArgs = { accountId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; portfolioId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListHouseholdsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BraHouseholdStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListInsightsArgs = { pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<BraInsightSeverity>; status?: InputMaybe<BraInsightStatus>; subjectId?: InputMaybe<Scalars['ID']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListInsurancePoliciesArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BraInsurancePolicyStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListModelPortfoliosArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListPortfoliosArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BraPortfolioStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListRebalanceProposalsArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; portfolioId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<BraRebalanceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListRecurringPatternsArgs = { input?: InputMaybe<BraRecurringDetectionInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListReportRunsArgs = { scheduledReportId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListTradeInstructionsArgs = { portfolioId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<BraTradeInstructionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraListTransactionsArgs = { accountId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<BraTransactionType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraMarketQuoteArgs = { symbol: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraModelPortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraMyCrmLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraMyCrmLinksArgs = { after?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraMyCrmRecordsArgs = { after?: InputMaybe<Scalars['String']['input']>; kind: BraCrmRecordKind; linkId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraMyVaultInvitationsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraNetWorthSummaryArgs = { baseCurrency?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraPortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraPortfolioOverviewArgs = { householdId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<BraPortfolioStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraPortfolioRiskSignalsArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraPortfolioRiskSummaryArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraRebalanceProposalAuditTrailArgs = { proposalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraReportRunPdfArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraTaxHarvestCandidatesArgs = { input?: InputMaybe<BraTaxHarvestInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraTaxLossOpportunitiesArgs = { portfolioId: Scalars['ID']['input']; thresholds?: InputMaybe<BraTaxLossThresholdInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraTaxLotsArgs = { holdingId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBraVaultGrantedDocumentsArgs = { vaultId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBudgetsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiAdminCopilotActionsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<BuiAdminCopilotActionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiAutomationRunsArgs = { pagination?: InputMaybe<PaginationInput>; template?: InputMaybe<BuiAutomationTemplate>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiBadgeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiBadgesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiBadgeStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCheckContentAccessibilityArgs = { input: BuiCheckContentAccessibilityInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseAccessibilityReportArgs = { courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseAssistantSettingsArgs = { courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseEnrollmentArgs = { courseId: Scalars['ID']['input']; learnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseKnowledgeSnapshotSourcesArgs = { afterLessonId?: InputMaybe<Scalars['ID']['input']>; courseId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; snapshotId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiCourseKnowledgeSourcesArgs = { afterLessonId?: InputMaybe<Scalars['ID']['input']>; courseId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiEarlyWarningRunsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiExternalSyncRecordsArgs = { input: BuiExternalSyncRecordsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiInteractiveActivityDraftArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiInteractivePlayerArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLearningObjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLearningObjectVersionArgs = { learningObjectId: Scalars['ID']['input']; version: Scalars['Int']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLearningObjectsArgs = { kind?: InputMaybe<BuiLearningObjectKind>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; skillId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<BuiLearningObjectStatus>; tag?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLessonInteractivePackageArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLessonScormPackageArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListAssessmentsArgs = { courseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiAssessmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListAtRiskEnrollmentsArgs = { cohortId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListBadgeAwardsArgs = { badgeId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiBadgeAwardStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListCertificatesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiExternalSource>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListCertificationsArgs = { body?: InputMaybe<BuiCertificationBody>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListCohortsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiCohortStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListCoursesArgs = { level?: InputMaybe<BuiCourseLevel>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiExternalSource>; status?: InputMaybe<BuiCourseStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListEnrollmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiExternalSource>; status?: InputMaybe<BuiEnrollmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListLessonsArgs = { courseId: Scalars['ID']['input']; moduleId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListModulesArgs = { courseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListProctoringSessionsArgs = { assessmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiProctoringStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListSkillStandardsArgs = { category?: InputMaybe<BuiSkillCategory>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiSkillStandardSource>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListSkillsArgs = { category?: InputMaybe<BuiSkillCategory>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListSubmissionsArgs = { assessmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiSubmissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiListTutorSessionsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; lessonId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLtiGradeSyncsArgs = { resourceLinkId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLtiLaunchContextArgs = { ticketId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLtiResourceLinksArgs = { platformId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiLtiRosterArgs = { resourceLinkId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMigrationJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMigrationJobsArgs = { kind?: InputMaybe<BuiMigrationJobKind>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyBadgeAwardsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiBadgeAwardStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCatalogItemsArgs = { connectorId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCatalogSyncRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCertificateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCertificatesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiExternalSource>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAccessArgs = { courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAssistantConversationArgs = { clientConversationId?: InputMaybe<Scalars['ID']['input']>; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAssistantConversationsArgs = { after?: InputMaybe<Scalars['ID']['input']>; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAssistantMessagesArgs = { before?: InputMaybe<Scalars['String']['input']>; clientConversationId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAssistantTargetArgs = { enrollmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyCourseAssistantTurnArgs = { clientTurnId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyEnrollmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<BuiExternalSource>; status?: InputMaybe<BuiEnrollmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyInteractiveAttemptsArgs = { enrollmentId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyProctoringSessionArgs = { assessmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMySavedCoursesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyScormLaunchArgs = { enrollmentId: Scalars['ID']['input']; lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMySubmissionsArgs = { assessmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<BuiSubmissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyTutorSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiMyTutorSessionsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; lessonId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiPreviewCourseImportArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiPreviewGradebookImportArgs = { input: BuiGradebookImportInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiPreviewRosterImportArgs = { input: BuiRosterImportInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiProctoringIdentityFileArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiProctoringSessionSignalsArgs = { after?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiPublishedCatalogItemsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiPublishedCatalogPageArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; provider?: InputMaybe<BuiCatalogProvider>; skillId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiRecommendPathsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiScormPreviewLaunchArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiSuggestCertificationsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; skillId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiSuggestSkillMappingsArgs = { description?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; name: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuiXapiStatementsArgs = { filter?: InputMaybe<BuiXapiStatementFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryBuildDashboardTemplateContentArgs = { dashboardId: Scalars['ID']['input']; defaultCategory?: InputMaybe<Scalars['String']['input']>; defaultDashboardName?: InputMaybe<Scalars['String']['input']>; defaultTags?: InputMaybe<Array<Scalars['String']['input']>>; difficultyLevel?: InputMaybe<Scalars['String']['input']>; estimatedTimeMinutes?: InputMaybe<Scalars['Int']['input']>; includeSampleData?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCalculateFreightRateArgs = { input: FreightRateInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCalendarArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCalendarsArgs = { filter?: InputMaybe<CalendarFilterInput>; pagination?: InputMaybe<CalendarPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCallHistoryArgs = { after?: InputMaybe<Scalars['String']['input']>; conversationId?: InputMaybe<Scalars['ID']['input']>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCallSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCapacityOverviewArgs = { endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCargoItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCargoItemsArgs = { filter?: InputMaybe<CargoItemFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCargoItemsCountArgs = { filter?: InputMaybe<CargoItemFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryChangeRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryChangeRequestsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckAvailabilityArgs = { calendarId: Scalars['ID']['input']; endTime: Scalars['DateTime']['input']; startTime: Scalars['DateTime']['input']; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckFileLockArgs = { fileId: Scalars['ID']['input']; lockType: LockType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckFilePermissionArgs = { fileId: Scalars['ID']['input']; permissionType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckFolderPermissionArgs = { folderId: Scalars['ID']['input']; permissionType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckHealthyBowlProduceWithdrawalArgs = { animalId: Scalars['ID']['input']; context: ContextInput; produceType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckPermissionArgs = { input: PermissionCheckInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckPermissionsArgs = { inputs: Array<PermissionCheckInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckRoleGrantArgs = { input: RoleGrantCheckInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckVisibilityArgs = { input: VisibilityCheckInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCheckWorkspaceQuotaArgs = { amount?: InputMaybe<Scalars['Float']['input']>; quotaName: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCircuitBreakerStateArgs = { scope: Scalars['String']['input']; scopeValue: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCircuitBreakerStatesArgs = { pagination?: InputMaybe<SchedulerPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCircuitBreakerStatusArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryClientPortalConfigArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryClientPortalConfigsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryClientPortalViewArgs = { shareToken: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCodeWorkflowInsightsArgs = { input?: InputMaybe<CodeWorkflowInsightsInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCohortArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCohortMembersArgs = { cohortId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCohortsArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColAncestorsArgs = { generations?: InputMaybe<Scalars['Int']['input']>; personId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColDescendantsArgs = { generations?: InputMaybe<Scalars['Int']['input']>; personId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColExportGedcomArgs = { excludeLivingSensitive?: InputMaybe<Scalars['Boolean']['input']>; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColFamilyTreeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColGetFamilyTreeTagsArgs = { input: ColGetFamilyTreeTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColGetMemoryTagsArgs = { input: ColGetMemoryTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColGetPersonTagsArgs = { input: ColGetPersonTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColGetStoryTagsArgs = { input: ColGetStoryTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColKeepsakeBookArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColKeepsakeBookPdfArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListAssistantSuggestionsArgs = { pagination?: InputMaybe<PaginationInput>; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListFamilyTreesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ColTreeStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListGuardianRequestsArgs = { pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<ColGuardianRequestStatus>; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListKeepsakeBooksArgs = { pagination?: InputMaybe<PaginationInput>; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListMembershipsArgs = { pagination?: InputMaybe<PaginationInput>; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListMemoriesArgs = { kind?: InputMaybe<ColMemoryKind>; pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; treeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListPeopleArgs = { lifeStatus?: InputMaybe<ColLifeStatus>; pagination?: InputMaybe<PaginationInput>; treeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListRelationshipsArgs = { pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; treeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColListStoriesArgs = { pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; treeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColMemoryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColMyGuardianRequestsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColPersonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColRelationshipPathArgs = { fromPersonId: Scalars['ID']['input']; toPersonId: Scalars['ID']['input']; treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColStoryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColStoryPromptsArgs = { category?: InputMaybe<ColPromptCategory>; relationshipType?: InputMaybe<ColPromptRelationshipType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColTimelineArgs = { pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; treeId: Scalars['ID']['input']; type?: InputMaybe<ColEventType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryColTreePresenceArgs = { treeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCircleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCircleActivitySummaryArgs = { circleId: Scalars['ID']['input']; days?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCircleAnalyticsArgs = { circleId: Scalars['ID']['input']; period?: InputMaybe<ComAnalyticsPeriod>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCommunityAnalyticsArgs = { period?: InputMaybe<ComAnalyticsPeriod>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCourseEnrollmentsArgs = { courseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCourseLessonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCoursesArgs = { circleId: Scalars['ID']['input']; includeDrafts?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComCreatorHasPaymentsEnabledArgs = { creatorId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComDigitalProductArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComGamificationProfileArgs = { circleId: Scalars['ID']['input']; memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComGamificationSettingsArgs = { circleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComIsMemberBlockedArgs = { memberId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLeaderboardArgs = { circleId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; period?: InputMaybe<ComLeaderboardPeriod>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListBadgesArgs = { circleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListChallengesArgs = { circleId: Scalars['ID']['input']; includeEnded?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListChannelsArgs = { circleId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListCirclesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComCircleStatus>; visibility?: InputMaybe<ComCircleVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListCommentsArgs = { pagination?: InputMaybe<PaginationInput>; postId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListDigitalProductsArgs = { creatorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListEventsArgs = { circleId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComEventStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListMembershipTiersArgs = { creatorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListMembershipsArgs = { circleId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComMembershipStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListPaidEventsArgs = { creatorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListPollsArgs = { circleId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComPollStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListPostsArgs = { channelId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComPostStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListProfilesArgs = { discoverable?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListReportsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComReportStatus>; targetType?: InputMaybe<ComReportTargetType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComListVerdictsArgs = { circleId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; reviewed?: InputMaybe<Scalars['Boolean']['input']>; verdict?: InputMaybe<ComModerationVerdictType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLiveStreamArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLiveStreamRecordingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLiveStreamRecordingReplayArgs = { recordingId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLiveStreamRecordingsArgs = { input: ComListLiveStreamRecordingsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComLiveStreamsArgs = { input: ComListLiveStreamsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMemberCourseCertificatesArgs = { memberId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMembershipTierArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComModerationRuleArgs = { circleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyBlockedMembersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyCourseCertificatesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyCourseEnrollmentsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ComCourseEnrollmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyDigitalProductsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyFeedArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyFollowsArgs = { pagination?: InputMaybe<PaginationInput>; targetType?: InputMaybe<ComFollowTargetType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyMembershipTiersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyPaidEventsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMyReceivedTipsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComMySentTipsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComPaidEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComPollArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComPostArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComProfileArgs = { memberId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComVerdictArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComVerifyCourseCertificateArgs = { code: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComVoiceSessionArgs = { channelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComWorkspaceLeaderboardArgs = { limit?: InputMaybe<Scalars['Int']['input']>; period?: InputMaybe<ComLeaderboardPeriod>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCompareFileVersionsArgs = { versionId1: Scalars['ID']['input']; versionId2: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryComponentDeploymentsArgs = { componentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConfigurationArgs = { key: Scalars['String']['input']; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConfigurationItemsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConfigurationValueArgs = { key: Scalars['String']['input']; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConfigurationsArgs = { filter: ConfigurationFilterInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConfigurationsByScopeArgs = { pagination?: InputMaybe<PaginationInput>; scope: ConfigScope; scopeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConnectionsExpiringSoonArgs = { withinDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConnectionsNotUsableByArgs = { connectionIds: Array<Scalars['ID']['input']>; principalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConnectorSubmissionsArgs = { filter?: InputMaybe<ConnectorSubmissionFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConversationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConversationCapabilitiesArgs = { conversationType?: InputMaybe<ConversationType>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConversationHandoffArgs = { agentId: Scalars['ID']['input']; conversationKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryConversationsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<ConversationFilter>; first?: InputMaybe<Scalars['Int']['input']>; sort?: InputMaybe<ConversationSort>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBestPricesArgs = { currency: Scalars['String']['input']; styleItemIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBrandArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBrandOrderArgs = { brandId: Scalars['ID']['input']; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBrandOrderSummaryArgs = { brandId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBrandOrdersArgs = { brandId: Scalars['ID']['input']; fulfilmentStatus?: InputMaybe<CooFulfilmentStatus>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooBrandReturnRequestsArgs = { brandId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooReturnRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooCollaborationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooComparePricesArgs = { currency: Scalars['String']['input']; styleItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooCreatorRateCardArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooEditorialFeatureOptionsArgs = { kind: CooEditorialFeatureKind; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooIsFollowingArgs = { followeeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListBrandsArgs = { featured?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooBrandStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListCollaborationsArgs = { brandId?: InputMaybe<Scalars['ID']['input']>; creatorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooCollaborationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListCollectionsArgs = { brandId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooCollectionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListLegalAcceptancesArgs = { actorId?: InputMaybe<Scalars['ID']['input']>; checkpointType?: InputMaybe<CooLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListLookbooksArgs = { ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListLooksArgs = { authorId?: InputMaybe<Scalars['ID']['input']>; featured?: InputMaybe<Scalars['Boolean']['input']>; occasion?: InputMaybe<CooLookOccasion>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListStyleItemsArgs = { brandId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<CooStyleCategory>; collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooStyleItemStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooListWardrobeItemsArgs = { category?: InputMaybe<CooStyleCategory>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<CooWardrobeSource>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooLookArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooLookbookArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyArticleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyArticlesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyCollaborationPayoutsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooCollaborationPayoutStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyCreatorAnalyticsArgs = { currency?: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyCreatorEarningsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyCreatorRateCardsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyFollowersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyFollowingArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyLegalAcceptancesArgs = { checkpointType?: InputMaybe<CooLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyOrdersArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooOrderStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyPriceAlertDeliveriesArgs = { alertId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyPriceAlertsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyProposalBrandsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyProposalInboxArgs = { direction?: InputMaybe<CooProposalDirection>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CooCollaborationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyResaleListingByRequestArgs = { requestId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyResaleListingsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyResaleReportsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyRetailerFeedsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooMyTrendReportsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPriceHistoryArgs = { currency: Scalars['String']['input']; end: Scalars['DateTime']['input']; start: Scalars['DateTime']['input']; styleItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPublishedArticleArgs = { slug: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPublishedArticlesArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPublishedCreatorRateCardsArgs = { creatorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPublishedTrendReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooPublishedTrendReportsArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleListingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleListingForReviewArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleListingReviewQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleListingsArgs = { input: CooResaleBrowseInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleReportQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooResaleShopReviewQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooSearchLooksArgs = { input: CooSearchLooksInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooSearchRetailerOffersArgs = { input: CooRetailerSearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooSearchStyleItemsArgs = { input: CooSearchStyleItemsInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooServicePendingCheckoutAuthorityArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooStoreListedPieceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooStyleItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooStyleProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCooStyleProfileByOwnerArgs = { ownerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosAnalysisArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosEntityTagsArgs = { input: GetCosEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListAccessGrantsArgs = { datasetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosGrantStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListAnalysesArgs = { datasetId?: InputMaybe<Scalars['ID']['input']>; notebookId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosAnalysisStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListArchiveProductsArgs = { input: CosArchiveProductsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListCollectionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListDatasetsArgs = { accessLevel?: InputMaybe<CosAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; format?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; q?: InputMaybe<Scalars['String']['input']>; sourceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<CosDatasetStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListDoiRecordsArgs = { pagination?: InputMaybe<PaginationInput>; releaseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListExternalComputeArgs = { pagination?: InputMaybe<PaginationInput>; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListNotebooksArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosNotebookStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListPipelinesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosPipelineStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListReleasesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosReleaseStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListRunStepsArgs = { pagination?: InputMaybe<PaginationInput>; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListRunsArgs = { pagination?: InputMaybe<PaginationInput>; pipelineId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<CosRunStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListSchemaFieldsArgs = { datasetId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListSourcesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CosSourceStatus>; type?: InputMaybe<CosSourceType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosListZenodoMirrorsArgs = { pagination?: InputMaybe<PaginationInput>; releaseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosNotebookArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosPipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosReleaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosSearchArchiveArgs = { input: CosArchiveSearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosSemanticSearchArgs = { input: CosSemanticSearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCosSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCourseAssistantCandidatesArgs = { courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCourseAssistantConfigurationArgs = { agentId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCourseAssistantIngestionProgressArgs = { agentId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCourseKnowledgeImportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAiDecisionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAiDecisionsArgs = { filter?: InputMaybe<CrewAiDecisionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAnnouncementArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAttritionForecastArgs = { department?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAttritionRisksArgs = { department?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewAvailableEmployeesArgs = { filter?: InputMaybe<CrewAvailableEmployeeFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewBookingsArgs = { filter?: InputMaybe<CrewBookingFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewCandidateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewCandidatesArgs = { filter?: InputMaybe<CrewCandidateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewClientArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewDepartmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewDispatchArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewDispatchesArgs = { filter?: InputMaybe<CrewDispatchFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEmployeeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEmployeeAllocationArgs = { dateRange: CrewDateRangeInput; employeeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEmployeesArgs = { filter?: InputMaybe<CrewEmployeeFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEmployeesBySkillArgs = { limit?: InputMaybe<Scalars['Int']['input']>; minProficiency?: InputMaybe<Scalars['Int']['input']>; skillId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEnrollmentsArgs = { filter?: InputMaybe<CrewEnrollmentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEscrowRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewEscrowRecordsArgs = { filter?: InputMaybe<CrewEscrowRecordFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewHeadcountForecastArgs = { department?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewInterviewArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewInterviewsArgs = { filter?: InputMaybe<CrewInterviewFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewJobPostingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewJobPostingMatchesArgs = { filter?: InputMaybe<CrewCandidateMatchFilterInput>; jobPostingId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewLeaveRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewLeaveRequestsArgs = { filter?: InputMaybe<CrewLeaveRequestFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewOnboardingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewOnboardingsArgs = { filter?: InputMaybe<CrewOnboardingFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewOpenShiftArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewOpenShiftsArgs = { filter?: InputMaybe<CrewOpenShiftFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayrollRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayrollRecordsArgs = { filter?: InputMaybe<CrewPayrollRecordFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayrollRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayrollRunsArgs = { filter?: InputMaybe<CrewPayrollRunFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayslipArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPayslipsArgs = { filter?: InputMaybe<CrewPayslipFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewPerformanceRollupArgs = { employeeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewProjectsArgs = { filter?: InputMaybe<CrewProjectFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewServiceListingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewServiceListingsArgs = { filter?: InputMaybe<CrewServiceListingFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewShiftArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewShiftPatternArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewShiftPatternsArgs = { filter?: InputMaybe<CrewShiftPatternFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewShiftSwapRequestsArgs = { filter?: InputMaybe<CrewShiftSwapFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewShiftsArgs = { filter?: InputMaybe<CrewShiftFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewSiteCheckInCodesArgs = { includeRevoked?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewSkillArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewSkillGraphArgs = { depth?: InputMaybe<Scalars['Int']['input']>; skillId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewSkillsArgs = { filter?: InputMaybe<CrewSkillFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewSkillsGapArgs = { department?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTimeEntriesArgs = { filter?: InputMaybe<CrewTimeEntryFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTrainingCompletionDashboardArgs = { filter?: InputMaybe<CrewTrainingCompletionFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTrainingCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewTrainingCoursesArgs = { filter?: InputMaybe<CrewTrainingCourseFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewVendorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewWatchFindingsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCrewfoundryBootstrapArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCustomNodesArgs = { pagination?: InputMaybe<WorkflowPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCustomerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCustomersArgs = { filter?: InputMaybe<CustomerFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryCustomersCountArgs = { filter?: InputMaybe<CustomerFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDashboardPresenceArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDashboardSummaryArgs = { projectId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDashboardsArgs = { first?: InputMaybe<Scalars['Int']['input']>; includeTemplates?: InputMaybe<Scalars['Boolean']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDataSinkAlertChannelsArgs = { dataSinkId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDataSinkAlertExecutionsArgs = { after?: InputMaybe<Scalars['ID']['input']>; alertId?: InputMaybe<Scalars['ID']['input']>; dataSinkId: Scalars['ID']['input']; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDataTableArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDataTableRowsArgs = { input: DataTableRowsQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDataTablesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; tagMatchAll?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeadLetterQueueEntriesArgs = { filter?: InputMaybe<JobFilterInput>; pagination?: InputMaybe<SchedulerPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeadLetterQueueEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDecryptSecretArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeliveryJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeliveryJobTrackingArgs = { deliveryJobId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeliveryJobsArgs = { filter?: InputMaybe<DeliveryJobFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDeliveryJobsCountArgs = { filter?: InputMaybe<DeliveryJobFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDemandForecastByCustomerArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDemandForecastByLaneArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDemandForecastModelChoicesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; scopeType: DemandForecastScope; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDemandForecastVarianceArgs = { limit?: InputMaybe<Scalars['Int']['input']>; scopeType: DemandForecastScope; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDemandScenarioComparisonArgs = { input?: InputMaybe<MtwDemandScenarioComparisonInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDetailedNodeUsageArgs = { input: DetailedNodeUsageInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDetectAnomaliesArgs = { input: BigConsoleDetectAnomaliesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDetectDataSinkAnomaliesArgs = { dataSinkId: Scalars['ID']['input']; input: BigConsoleDetectDataSinkAnomaliesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDigitalTwinsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDiscoveryJobsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsBuildImageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsBuildImagesArgs = { filter?: InputMaybe<VibecontrolsDocsBuildImageFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsContentArgs = { path?: InputMaybe<Scalars['String']['input']>; siteId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsPageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsPagesArgs = { filter?: InputMaybe<VibecontrolsDocsPageFilterInput>; siteId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsRevisionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsRevisionsArgs = { pagination?: InputMaybe<PaginationInput>; siteId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsSiteArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDocsSitesArgs = { filter?: InputMaybe<VibecontrolsDocsSiteFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDownloadArtifactArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDraftArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDriverArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDriversArgs = { filter?: InputMaybe<DriverFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDriversCountArgs = { filter?: InputMaybe<DriverFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDryRunActionPolicyArgs = { input: ActionPolicyDryRunInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryDueMaintenancePlansArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; withinDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEDiscoverySearchArgs = { input: EDiscoverySearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAiAuditLogArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAiAuditLogsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAiCheckAnomalousSpendArgs = { workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAiCreditUsageArgs = { workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAiDetectAnomaliesArgs = { input: EcoAiDetectAnomaliesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoCarbonTotalKgArgs = { scope?: InputMaybe<EcoEmissionScope>; siteId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoCorrectiveActionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoDataSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoDeadlineArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoDonorPortalArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoEhsPermitArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoEnergyAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoEnergyMixDashboardArgs = { periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; siteId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoGrantArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoGrantFunderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoGrantMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoHabitatProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoIngestionJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListAuditsArgs = { pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoAuditStatus>; type?: InputMaybe<EcoAuditType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCarbonCreditsArgs = { ownerAccount?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoCarbonCreditStatus>; vintageId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCarbonEntriesArgs = { pagination?: InputMaybe<PaginationInput>; scope?: InputMaybe<EcoEmissionScope>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoCarbonEntryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCorrectiveActionsArgs = { auditId?: InputMaybe<Scalars['ID']['input']>; incidentId?: InputMaybe<Scalars['ID']['input']>; openOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; riskId?: InputMaybe<Scalars['ID']['input']>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoCorrectiveActionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCreditMethodologiesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoCreditMethodologyStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCreditRetirementsArgs = { creditId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListCreditVintagesArgs = { methodologyId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoCreditVintageStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListDataSourcesArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<EcoDataSourceType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListDeadlinesArgs = { dueFrom?: InputMaybe<Scalars['DateTime']['input']>; dueTo?: InputMaybe<Scalars['DateTime']['input']>; obligationId?: InputMaybe<Scalars['ID']['input']>; openOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListEhsPermitsArgs = { expiringWithinDays?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoEhsPermitStatus>; type?: InputMaybe<EcoEhsPermitType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListEmissionFactorsArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; scope?: InputMaybe<EcoEmissionScope>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListEnergyAssetsArgs = { kind?: InputMaybe<EcoEnergyAssetKind>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoEnergyAssetStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListEnergyGridBaselinesArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListEnergyReadingsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; from?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; source?: InputMaybe<EcoEnergyReadingSource>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListGrantFundersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListGrantMilestonesArgs = { grantId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListGrantsArgs = { funderId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; projectId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoGrantStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListHabitatProjectsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoHabitatProjectStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListIncidentsArgs = { pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<EcoIncidentSeverity>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoIncidentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListIngestionJobsArgs = { pagination?: InputMaybe<PaginationInput>; sourceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoIngestionJobStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListIngestionRecordsArgs = { jobId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; recordType?: InputMaybe<EcoIngestionRecordType>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListMaterialLoopFlowsArgs = { loopId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; stage?: InputMaybe<EcoMaterialLoopStage>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListMaterialLoopsArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListMeasurementsArgs = { breachesOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; parameter?: InputMaybe<Scalars['String']['input']>; sensorId?: InputMaybe<Scalars['ID']['input']>; siteId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListMetricRollupsArgs = { category?: InputMaybe<Scalars['String']['input']>; metricKey?: InputMaybe<Scalars['String']['input']>; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; sourceProduct?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListMetricsArgs = { category?: InputMaybe<Scalars['String']['input']>; metricKey?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; sourceProduct?: InputMaybe<Scalars['String']['input']>; sourceRefId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListObligationsArgs = { framework?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoObligationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListObservationsArgs = { pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; speciesId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListPermitsArgs = { obligationId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoPermitStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListReductionTargetsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoReductionTargetStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListReportsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoReportStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListRestrictedObservationsArgs = { pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; speciesId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListRestrictedSitesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoSiteStatus>; type?: InputMaybe<EcoSiteType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListRisksArgs = { category?: InputMaybe<EcoRiskCategory>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoRiskStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListSensorsArgs = { kind?: InputMaybe<EcoSensorKind>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EcoSensorStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListSitesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<EcoSiteStatus>; type?: InputMaybe<EcoSiteType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListSpeciesArgs = { conservationStatus?: InputMaybe<EcoConservationStatus>; pagination?: InputMaybe<PaginationInput>; priorityOnly?: InputMaybe<Scalars['Boolean']['input']>; taxonGroup?: InputMaybe<EcoTaxonGroup>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListThresholdsArgs = { pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListWasteRecordsArgs = { pagination?: InputMaybe<PaginationInput>; route?: InputMaybe<EcoWasteRoute>; streamId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoListWasteStreamsArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; siteId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoMaterialLoopSummaryArgs = { loopId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoObligationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoObservationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoPermitArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoRestrictedObservationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoRestrictedSiteArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoRiskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoSiteArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoSpeciesArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEcoWasteDiversionSummaryArgs = { periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; siteId?: InputMaybe<Scalars['ID']['input']>; streamId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEffectiveLicensePositionArgs = { softwareAssetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEffectivePermissionsArgs = { actorId: Scalars['String']['input']; actorType: ActorType; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEmailTimeEntriesArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; filter?: InputMaybe<EmailTimeEntryFilterInput>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEmailTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEmailTrackingStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEmployeeDocumentsArgs = { employeeId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEntityGroupsArgs = { after?: InputMaybe<Scalars['String']['input']>; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; filter?: InputMaybe<GroupFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEpodArgs = { deliveryJobId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryErrorAnalyticsArgs = { input?: InputMaybe<ErrorAnalyticsInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEsgMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEsgMetricsArgs = { category?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventFiltersArgs = { eventRegistrationId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventRegistrationsArgs = { status?: InputMaybe<EventStatus>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventSchemaArgs = { eventName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventSchemasArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAiDecisionArgs = { eventId: Scalars['ID']['input']; kind: EventfullyManagedAiDecisionKind; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAnalyticsSnapshotsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAnnouncementsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAttendeeHistoryArgs = { email: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAttendeesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; ids?: InputMaybe<Array<Scalars['ID']['input']>>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAutomationRuleRunsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; ruleId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedAutomationRulesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedBadgeHtmlArgs = { registrationId: Scalars['ID']['input']; templateId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedBadgePdfArgs = { registrationId: Scalars['ID']['input']; templateId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedBadgePrintJobsArgs = { eventId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; stationId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EventfullyManagedBadgePrintJobStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedBadgeTemplatesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedCheckInRecordsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedCheckInStationsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedCheckInThroughputArgs = { date?: InputMaybe<Scalars['DateTime']['input']>; eventId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedCheckInTokenArgs = { registrationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedCommunicationCampaignsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedDashboardSummaryArgs = { workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEntityTagsArgs = { input: EventfullyManagedGetEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventFinanceSummaryArgs = { eventId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventPortfolioArgs = { lifecycle?: InputMaybe<EventfullyManagedEventLifecycle>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventSessionsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventTemplatesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedEventsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedExhibitorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedExhibitorSummaryArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedExhibitorsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedFinanceSummaryArgs = { workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedFloorPlansArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; venueId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedIntegrationConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedIntegrationConnectorsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedIntegrationSyncRunsArgs = { connectorId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedKioskSearchAttendeesArgs = { eventId: Scalars['ID']['input']; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedLeadsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; exhibitorId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; sponsorId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedMeetingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedMeetingsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedNetworkingMatchesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedNetworkingProfilesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedPromoCodesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedRecommendSessionsArgs = { attendeeId: Scalars['ID']['input']; eventId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedRegistrationsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSessionConflictsArgs = { eventId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSessionRegistrationsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; registrationId?: InputMaybe<Scalars['ID']['input']>; sessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSpeakerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSpeakersArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSponsorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSponsorRoiReportArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSponsorsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSponsorsPortfolioTotalsArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedSuggestedConnectionsArgs = { attendeeId: Scalars['ID']['input']; eventId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedTicketTypesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; ids?: InputMaybe<Array<Scalars['ID']['input']>>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedVenueArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedVenuesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedVirtualSessionArgs = { eventId: Scalars['ID']['input']; eventSessionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedVirtualSessionsArgs = { eventId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullyManagedWorkflowTemplatesArgs = { eventId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventfullymanagedCountMetricsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventsArgs = { calendarId: Scalars['ID']['input']; filter?: InputMaybe<EventFilterInput>; pagination?: InputMaybe<CalendarPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryEventsInRangeArgs = { calendarId: Scalars['ID']['input']; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExecuteDashboardQueriesArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExecuteWidgetQueryArgs = { widgetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExpandRecurrenceArgs = { endDate: Scalars['DateTime']['input']; eventId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; startDate: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExpenseArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExpenseCategoriesArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExpenseStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExpensesArgs = { filter?: InputMaybe<ExpenseFilterInput>; orderBy?: InputMaybe<ExpenseOrderByInput>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExplainDashboardArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExplainRunArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExplainWidgetArgs = { widgetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportActivityLogsSiemArgs = { dateFrom: Scalars['DateTime']['input']; dateTo: Scalars['DateTime']['input']; format: SiemExportFormat; limit?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportCalendarToIcsArgs = { calendarId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportDashboardArgs = { id: Scalars['ID']['input']; options?: InputMaybe<BigConsoleExportDashboardOptions>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportEntityCommentsArgs = { input: ExportCommentsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportEventToIcsArgs = { eventId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportSecretsArgs = { passphrase: Scalars['String']['input']; secretIds?: InputMaybe<Array<Scalars['ID']['input']>>; vaultId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryExportWorkflowArgs = { format?: InputMaybe<WorkflowExportFormat>; options?: InputMaybe<ExportOptionsInput>; version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFileShareGrantByTokenArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFileSharesSharedWithMeArgs = { pagination?: InputMaybe<PaginationInput>; resourceType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFindShortestPathArgs = { edgeTypes?: InputMaybe<Array<Scalars['String']['input']>>; fromNodeId: Scalars['ID']['input']; toNodeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFindSynonymsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFleetAiSpendArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFleetOperationsArgs = { windowHours?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFluidgridsEntityTagsArgs = { input: GetFluidgridsEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFocusScoreArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFocusScoreSummaryArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFocusScoreTrendArgs = { days?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFocusScoresArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryFunnelsArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGeneratedArtifactsArgs = { artifactType?: InputMaybe<ArtifactType>; pagination?: InputMaybe<WorkflowPaginationInput>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGeofenceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGeofenceEventsArgs = { geofenceId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGeofencesArgs = { filter?: InputMaybe<GeofenceFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetA2AConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetA2AMessageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetA2ARegistryEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetActiveSandboxesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetActivitiesArgs = { filter?: InputMaybe<ActivityLogFilter>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAgentStatsArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAgentTaskLogsArgs = { agentId: Scalars['ID']['input']; agentTaskId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAgentTaskResultArgs = { agentId: Scalars['ID']['input']; agentTaskId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAgentTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAgentVersionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAnalyticsDashboardTagsArgs = { input: GetAnalyticsDashboardTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAnalyticsMetricTagsArgs = { input: GetAnalyticsMetricTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAnalyticsReportTagsArgs = { input: GetAnalyticsReportTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAppAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAppTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAssetTagsArgs = { input: GetAssetTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAssignmentStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAvailabilityRulesArgs = { calendarId: Scalars['ID']['input']; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAvailableExportEntitiesArgs = { context: ContextInput; pagination?: InputMaybe<ExportPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetAvailableSlotsArgs = { calendarId: Scalars['ID']['input']; duration: Scalars['Int']['input']; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; timezone?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBatchDownloadArgs = { downloadId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBatchDownloadUrlArgs = { downloadId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBatchDownloadsArgs = { filter?: InputMaybe<BatchDownloadFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBatchPartUploadUrlsArgs = { partNumbers: Array<Scalars['Int']['input']>; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBillingQuotaUsageSummaryArgs = { billingAccountId: Scalars['ID']['input']; quotaAssignmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBlackoutDatesArgs = { calendarId: Scalars['ID']['input']; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; userId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBookingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBookingPageBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBookingsArgs = { bookingPageId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotAppArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotAppStatsArgs = { botAppId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotAppVersionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotlitAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotmanorAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotmanorAgentApprovalRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotmanorLlmModelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBotmanorLlmProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBroaderTagsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetBucketArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCalendarResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCalendarResourcesArgs = { resourceType?: InputMaybe<CalendarResourceType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetChannelConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetChannelRouteArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCollectionActivityArgs = { collectionId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCollectionItemsArgs = { collectionId: Scalars['ID']['input']; filter?: InputMaybe<CollectionItemFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<CollectionItemSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCollectionStatsArgs = { collectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCollectionTemplatesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCommentAttachmentCountArgs = { commentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCommentAttachmentsArgs = { input: GetCommentAttachmentsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCommentAttachmentsTotalSizeArgs = { commentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetCommentTagsArgs = { input: GetCommentTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionByChannelAndUserArgs = { channelId: Scalars['String']['input']; createdBy: Scalars['String']['input']; providerKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionLogsArgs = { connectionId: Scalars['ID']['input']; filter?: InputMaybe<LogFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionTagsArgs = { input: GetConnectionTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionTokenArgs = { connectionId: Scalars['ID']['input']; principalId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionsArgs = { filter?: InputMaybe<ConnectionFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetConnectionsByProviderArgs = { pagination?: InputMaybe<IntegrationsPaginationInput>; providerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetContentIndexesArgs = { filter?: InputMaybe<ContentIndexFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDashboardArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDashboardEmbedPolicyArgs = { policyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDashboardRlsPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDashboardShareArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDashboardViewArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDataSinkArgs = { id?: InputMaybe<Scalars['ID']['input']>; key?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDataSinkDataArgs = { dataPath?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<Scalars['JSON']['input']>; forceRefresh?: InputMaybe<Scalars['Boolean']['input']>; id?: InputMaybe<Scalars['ID']['input']>; key?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDefaultDashboardViewArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetDefaultFilterPresetArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEncryptionKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEncryptionKeysArgs = { filter?: InputMaybe<EncryptionKeyFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntitiesByTagArgs = { entityType?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<TagsPaginationInput>; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntitiesByTagsArgs = { entityType?: InputMaybe<Scalars['String']['input']>; matchAll?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<TagsPaginationInput>; tagIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityAuditTrailArgs = { entityId: Scalars['String']['input']; entityType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityCommentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityCommentEditHistoryArgs = { commentId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityCommentStatsArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityCommentThreadArgs = { includeDeleted?: InputMaybe<Scalars['Boolean']['input']>; maxDepth?: InputMaybe<Scalars['Int']['input']>; threadRootId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityCommentsArgs = { input: GetCommentsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityTagHistoryArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityTagsArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; validAt?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEntityTagsByVocabularyArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; vocabularyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEventLogArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetEventWebhookMappingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExcludedTagsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExecutionMetricsArgs = { filter: ExecutionMetricsFilterInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExportJobArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExportPartArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExportTemplateArgs = { context?: InputMaybe<ContextInput>; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetExternalCalendarSyncsArgs = { calendarId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileCollectionsArgs = { fileId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileContentIndexArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileDownloadUrlArgs = { expiresIn?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileLockArgs = { lockId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileLockForFileArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileLocksArgs = { fileId: Scalars['ID']['input']; filter?: InputMaybe<FileLockFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileMetadataArgs = { fileId: Scalars['ID']['input']; includePrivate?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFilePermissionsArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileTagsArgs = { input: GetFileTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileVersionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileVersionDownloadUrlArgs = { expiresIn?: InputMaybe<Scalars['Int']['input']>; versionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFileVersionsArgs = { fileId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFilesArgs = { filter?: InputMaybe<FileFilterInput>; folderId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<FileSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFilesInFolderArgs = { folderId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFilterPresetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFilterPresetsArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderPathArgs = { folderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderPermissionsArgs = { folderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderTagsArgs = { input: GetFolderTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderTreeArgs = { maxDepth?: InputMaybe<Scalars['Int']['input']>; rootFolderId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFolderWithContentsArgs = { fileFilter?: InputMaybe<FileFilterInput>; filePagination?: InputMaybe<PaginationInput>; folderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFoldersArgs = { filter?: InputMaybe<FolderFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<FolderSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetFoldersInFolderArgs = { folderId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetGraphEdgeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetGraphNodeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetGroupActivitiesArgs = { groupId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAccountingIntegrationsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlActiveWithdrawalsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAggregationLotDetailArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAggregationLotsArgs = { context: ContextInput; icsGroupId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAgronomyDecisionsArgs = { context: ContextInput; filter?: InputMaybe<AgronomyDecisionFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAnalyticsDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAnalyticsReportExportArgs = { context: ContextInput; reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlAnimalWithdrawalStatusArgs = { animalId: Scalars['ID']['input']; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlBalanceSheetArgs = { asOfDate: Scalars['String']['input']; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlBankAccountsArgs = { context: ContextInput; includeInactive?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlBankStatementLinesArgs = { bankAccountId: Scalars['ID']['input']; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlBatchGs1LabelArgs = { input: Gs1LabelInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlBatchGs1QrPngArgs = { context: ContextInput; id: Scalars['ID']['input']; size?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCarbonCreditArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCarbonOverviewArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; year?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCashFlowStatementArgs = { context: ContextInput; endDate: Scalars['String']['input']; startDate: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCertificateOfOriginPdfArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCertificatesOfOriginArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCertificationDetailArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCertificationStandardsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlChannelOrdersArgs = { channel?: InputMaybe<Scalars['String']['input']>; context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlChartOfAccountsArgs = { accountType?: InputMaybe<Scalars['String']['input']>; activeOnly?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlComplianceDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlComplianceFlagsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlComplianceOverviewArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCompliancePackArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCompostBatchesArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlConsultantAssignmentsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlConsultationsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlContractAggregationLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlContractAggregationLotsArgs = { context: ContextInput; contractId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlContractAssignmentsArgs = { context: ContextInput; contractId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlContractDashboardArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlContractDeliveriesArgs = { context: ContextInput; contractId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCoopMemberDetailArgs = { context: ContextInput; membershipId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCoopMembersArgs = { context: ContextInput; icsGroupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCoopOverviewArgs = { context: ContextInput; icsGroupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCostByCropArgs = { context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCostCentersArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; kind?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCrewTimesheetArgs = { context: ContextInput; crewId: Scalars['ID']['input']; weekStart?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCrewsArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCropArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCropHealthOverviewArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCropsDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCropsPageArgs = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; growthStage?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; uncategorized?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaDeliveriesArgs = { context: ContextInput; csaMembershipId?: InputMaybe<Scalars['ID']['input']>; fromDate?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; toDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaMembershipArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaMembershipsArgs = { context: ContextInput; csaPlanId?: InputMaybe<Scalars['ID']['input']>; fulfilmentMode?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; pickupLocationId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaPickupLocationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaPickupLocationsArgs = { context: ContextInput; includeArchived?: InputMaybe<Scalars['Boolean']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaPickupManifestArgs = { context: ContextInput; date: Scalars['String']['input']; pickupLocationId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaPlanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlCsaPlansArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlDashboardDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlDeliveryRouteArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlDeliveryRoutesArgs = { context: ContextInput; fromDate?: InputMaybe<Scalars['String']['input']>; toDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlDistributionSummaryArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlEudrStatementArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlExpertAvailabilityArgs = { context: ContextInput; input: HealthyBowlExpertAvailabilityInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFarmAttentionDigestArgs = { context: ContextInput; horizonDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFarmingContractArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFarmingContractsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFieldCaptureDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFieldCropHealthArgs = { context: ContextInput; days?: InputMaybe<Scalars['Int']['input']>; fieldId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFieldObservationsArgs = { context: ContextInput; filter?: InputMaybe<FieldObservationFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFieldSensorThresholdsArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFinancialDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFinancierGrantsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlFrostRiskCalendarArgs = { context: ContextInput; month?: InputMaybe<Scalars['Int']['input']>; year?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenCareLogsArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; plantingId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenCareScheduleArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenDashboardArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenHarvestSummaryArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenHarvestsArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; plantingId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenInputsArgs = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenObservationsArgs = { context: ContextInput; entryType?: InputMaybe<Scalars['String']['input']>; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; plantingId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenPlannerArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; month?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenPlantingArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGardenPlantingsArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; growSpaceId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; stage?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGeneralLedgerArgs = { accountId?: InputMaybe<Scalars['ID']['input']>; accountType?: InputMaybe<Scalars['String']['input']>; context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGhgInventoryArgs = { context: ContextInput; farmId: Scalars['ID']['input']; year?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGovernmentDataArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGrowSpaceArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlGrowSpacesArgs = { context: ContextInput; gardenId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; spaceType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlIcsDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlIcsGroupDetailArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlIcsGroupReportArgs = { context: ContextInput; icsGroupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlIcsGrowerDetailArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInputBudgetAnalyticsArgs = { context: ContextInput; season?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInputPlanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInputPlansArgs = { context: ContextInput; season?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsuranceClaimArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsuranceClaimsArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; policyId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsuranceDocumentRequirementsArgs = { context: ContextInput; coverageType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsuranceEnrollmentSummaryArgs = { context: ContextInput; season?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsurancePoliciesArgs = { context: ContextInput; season?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInsurancePolicyArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlInvoicePdfArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlJournalEntriesArgs = { context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlJournalEntryArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLabourEntriesArgs = { context: ContextInput; crewId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; workerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLabourSummaryArgs = { context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLivestockDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLoanFacilitationArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLoanFacilitationsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLoanFinancialDetailArgs = { context: ContextInput; loanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlLoanMilestonesArgs = { context: ContextInput; loanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMachinerySpendArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMandiPriceTrendArgs = { commodity: Scalars['String']['input']; context: ContextInput; days?: InputMaybe<Scalars['Int']['input']>; marketName?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMandiPricesArgs = { context: ContextInput; filter?: InputMaybe<HealthyBowlMandiPriceFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMarketplaceDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMedicationLibraryArgs = { context: ContextInput; search?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<Scalars['String']['input']>; species?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMemberAvailabilityArgs = { context: ContextInput; lotId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMrvReportFileArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMyAdvisoryTasksArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlMyFarmRecommendationsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlNdviComparisonArgs = { context: ContextInput; fieldId: Scalars['ID']['input']; leftReadingId?: InputMaybe<Scalars['ID']['input']>; rightReadingId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlNdviReadingArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlNdviReadingsArgs = { context: ContextInput; fieldId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlNetworkDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPestDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPlantScanArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPlantScansArgs = { context: ContextInput; filter?: InputMaybe<PlantScanFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPriceAlertRulesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPriceAlertsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlPriceWatchesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlProductionDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlProductsDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlProfitAndLossArgs = { context: ContextInput; endDate: Scalars['String']['input']; startDate: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlProfitAndLossExportArgs = { context: ContextInput; endDate: Scalars['String']['input']; format: Scalars['String']['input']; startDate: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlQuotaStatusArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlReconciliationSummaryArgs = { bankAccountId: Scalars['ID']['input']; context: ContextInput; from: Scalars['String']['input']; to: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlRegenerativePracticesArgs = { context: ContextInput; farmId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlResidueTestsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSatelliteSettingsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSchemeEligibilityArgs = { context: ContextInput; schemeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSensorAlertsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSensorDashboardArgs = { context: ContextInput; hours?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSensorProbesArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSensorReadingsArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; hours?: InputMaybe<Scalars['Int']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; metric?: InputMaybe<Scalars['String']['input']>; probeCode?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSoilCarbonEstimatesArgs = { context: ContextInput; farmId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSoilDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlStressedZonesArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; severity?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSubstanceRulesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlSupplierDirectoryArgs = { context: ContextInput; filter?: InputMaybe<HealthyBowlSupplierDirectoryFilter>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTerraceGardenArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTerraceGardensArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTraceBatchLabelPdfArgs = { input: TraceLabelPdfInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTraceBatchLedgerArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTraceBatchQrPngArgs = { baseUrl?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; size?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTracePortalSettingsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTraceScanActivityArgs = { context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; startDate?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTraceabilityDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTransactionReceiptUrlArgs = { context: ContextInput; transactionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlTrialBalanceArgs = { context: ContextInput; endDate: Scalars['String']['input']; startDate: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWeatherAlertEventsArgs = { alertType?: InputMaybe<Scalars['String']['input']>; context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWeatherAlertSettingsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWeatherAnomalyReportArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWeatherDataArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWeatherHistorySeriesArgs = { context: ContextInput; years?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWholesaleOrdersArgs = { context: ContextInput; fulfilmentStatus?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWholesalePriceTiersArgs = { context: ContextInput; productName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWithdrawalCalendarArgs = { context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWithdrawalSummaryArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlWorkersArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlYieldForecastArgs = { context: ContextInput; fieldId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlYieldScenariosArgs = { context: ContextInput; fieldId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetHealthyBowlYieldSimulationArgs = { input: HbYieldSimulationInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetImpliedTagsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetInstalledPackageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetIntegrationLogsArgs = { filter?: InputMaybe<LogFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetKnowledgeBaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetKnowledgeDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetLlmModelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetLlmProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMcpConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMetadataArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMetadataByKeyArgs = { fileId: Scalars['ID']['input']; key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyBatchDownloadsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyFileLocksArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyHealthyBowlConsultantClientDiagnosisArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyHealthyBowlConsultantClientNotesArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyHealthyBowlConsultantClientRecommendationsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyHealthyBowlConsultantClientTasksArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetMyUploadSessionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNarrowerTagsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNeighborsArgs = { direction?: InputMaybe<TraversalDirection>; edgeTypes?: InputMaybe<Array<Scalars['String']['input']>>; nodeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNextOccurrencesArgs = { afterDate?: InputMaybe<Scalars['DateTime']['input']>; count?: InputMaybe<Scalars['Int']['input']>; seriesId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNodeStatisticsArgs = { nodeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNodesByTypeArgs = { entityType: Scalars['String']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; productSource?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetNoteTagsArgs = { input: GetNoteTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetOrCreateDirectConversationArgs = { userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPartUploadUrlArgs = { partNumber: Scalars['Int']['input']; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetProjectTagsArgs = { input: GetProjectTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPromptGenerationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPromptSuggestionsArgs = { category?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPromptTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetPromptTemplateBySlugArgs = { slug: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetProviderByKeyArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetProviderCatalogArgs = { pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetProvidersArgs = { filter?: InputMaybe<ProviderFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRecentActivitiesArgs = { groupId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRecentSandboxActivityArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRecentlyAccessedArgs = { limit?: InputMaybe<Scalars['Int']['input']>; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRecurringInstancesArgs = { endDate: Scalars['DateTime']['input']; limit?: InputMaybe<Scalars['Int']['input']>; seriesId: Scalars['ID']['input']; startDate: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRelatedCommentTagsArgs = { commentId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRelatedNoteTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; noteId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRelatedTagsArgs = { relationType?: InputMaybe<TagRelationType>; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetRetrievalProfileArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxArtifactBytesArgs = { input: SandboxArtifactBytesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxConfigArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxLogsArgs = { containerName: Scalars['String']['input']; context: ContextInput; id: Scalars['ID']['input']; tailLines?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxLogsIncrementalArgs = { containerName: Scalars['String']['input']; context: ContextInput; id: Scalars['ID']['input']; maxBytes?: Scalars['Int']['input']; sinceByte?: Scalars['Int']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxStatsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxTagsArgs = { input: GetSandboxTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSandboxTemplateArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetScheduledCommentExecutionHistoryArgs = { limit?: InputMaybe<Scalars['Int']['input']>; scheduleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetScheduledCommentsArgs = { input: GetScheduledCommentsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetScheduledJobTagsArgs = { input: GetScheduledJobTagsInput; pagination?: InputMaybe<SchedulerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSearchSuggestionsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretAccessLogsArgs = { filter?: InputMaybe<SecretAccessLogFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretRotationsArgs = { filter?: InputMaybe<SecretRotationFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; secretId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretTagsArgs = { input: GetSecretTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretVersionsArgs = { secretId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretVersionsPaginatedArgs = { pagination?: InputMaybe<SecurityPaginationInput>; secretId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSecretsArgs = { filter?: InputMaybe<SecretFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; vaultId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetShareArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetShareAnalyticsArgs = { shareId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetShareByTokenArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSharedCollectionsArgs = { filter?: InputMaybe<CollectionFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<CollectionSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSharesForFileArgs = { fileId: Scalars['ID']['input']; filter?: InputMaybe<ShareFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<ShareSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSharesForFolderArgs = { filter?: InputMaybe<ShareFilterInput>; folderId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<ShareSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSkillArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetStarredFilesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetStarredFoldersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetStorePackageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetStorePackageBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetSyncStatusArgs = { calendarId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagAnalyticsArgs = { endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; tagId?: InputMaybe<Scalars['ID']['input']>; vocabularyId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagAssignmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagAssignmentsArgs = { filter?: InputMaybe<TagAssignmentFilterInput>; pagination?: InputMaybe<TagsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagByKeyArgs = { key: Scalars['String']['input']; vocabularyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagCoOccurrenceArgs = { limit?: InputMaybe<Scalars['Int']['input']>; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagHierarchyArgs = { rootId?: InputMaybe<Scalars['ID']['input']>; vocabularyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagHistoryArgs = { limit?: InputMaybe<Scalars['Int']['input']>; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagRelationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagRelationsArgs = { relationType?: InputMaybe<TagRelationType>; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagRulesArgs = { enabled?: InputMaybe<Scalars['Boolean']['input']>; entityType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagSegmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagSegmentsArgs = { visibility?: InputMaybe<SegmentVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagSuggestionsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; prefix: Scalars['String']['input']; vocabularyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagTranslationArgs = { locale: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagTranslationsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagUsageByEntityArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagUsageStatsArgs = { tagId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTagsArgs = { filter?: InputMaybe<TagFilterInput>; pagination?: InputMaybe<TagsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUploadSessionArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUploadSessionsArgs = { filter?: InputMaybe<UploadSessionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUsageRecordsArgs = { filters: UsageFilters; pagination?: InputMaybe<UsageRecordPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUsageSummaryArgs = { filters: UsageFilters; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUserActivitiesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUserCollectionsArgs = { filter?: InputMaybe<CollectionFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<CollectionSortInput>; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUserFilePermissionsArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUserFolderPermissionsArgs = { folderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetUserSharesArgs = { filter?: InputMaybe<ShareFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<ShareSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultAccessLogsArgs = { filter?: InputMaybe<VaultAccessLogFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultAuditLogsArgs = { filter?: InputMaybe<VaultAuditLogFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultIntegrationsArgs = { filter?: InputMaybe<VaultIntegrationFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; vaultId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultSecurityEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultSecurityEventsArgs = { filter?: InputMaybe<VaultSecurityEventFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultSecurityIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultSecurityIncidentsArgs = { filter?: InputMaybe<VaultSecurityIncidentFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultSyncLogsArgs = { filter?: InputMaybe<VaultSyncLogFilterInput>; integrationId: Scalars['ID']['input']; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVaultsArgs = { filter?: InputMaybe<VaultFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVocabulariesArgs = { filter?: InputMaybe<VocabularyFilterInput>; pagination?: InputMaybe<TagsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVocabularyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVocabularyByKeyArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetVocabularyUsageStatsArgs = { vocabularyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWidgetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWidgetActionsArgs = { widgetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceActivitiesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceActivitySliceArgs = { filter: ActivityLogFilter; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceCollectionsArgs = { filter?: InputMaybe<CollectionFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<CollectionSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceFileLocksArgs = { filter?: InputMaybe<FileLockFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceSecretInfoArgs = { workspaceId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGetWorkspaceTagsArgs = { input: GetWorkspaceTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadActivitiesArgs = { hasAccessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; minSustainabilityScore?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadListingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadActivityArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliateCommissionRulesArgs = { includeInactive?: InputMaybe<Scalars['Boolean']['input']>; partnerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliateCommissionsArgs = { pagination?: InputMaybe<PaginationInput>; partnerId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<GgnomadAffiliateCommissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliatePartnerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliatePartnersArgs = { status?: InputMaybe<GgnomadAffiliatePartnerStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliatePayoutProfileArgs = { partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliatePayoutReconciliationArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliatePayoutsArgs = { partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAffiliateRatePreviewArgs = { bookingType: GgnomadBookingType; partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadAuditLogArgs = { entityId: Scalars['String']['input']; entityType: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingApprovalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingApprovalsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadApprovalStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingQuoteArgs = { input: GgnomadBookingQuoteInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingSlotsArgs = { dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; listingId: Scalars['ID']['input']; listingType: GgnomadListingType; onlyAvailable?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadBookingsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadBookingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadChannelMappingsArgs = { listingId: Scalars['ID']['input']; listingType: GgnomadListingType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadConvertCurrencyArgs = { amount: Scalars['Float']['input']; fromCurrency: Scalars['String']['input']; toCurrency: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadDamageClaimArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadDamageClaimsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadClaimStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadDynamicPriceArgs = { date: Scalars['DateTime']['input']; listingId: Scalars['ID']['input']; listingType: GgnomadListingType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadEventsArgs = { hasAccessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; minSustainabilityScore?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadListingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadFavoritesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadFxRatesArgs = { baseCurrency?: InputMaybe<Scalars['String']['input']>; date?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadGroupTripArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadGroupTripCostSplitArgs = { groupTripId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadGroupTripVotesArgs = { groupTripId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadListingReviewQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadOperatorStorefrontArgs = { providerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPricingRulesArgs = { listingId: Scalars['ID']['input']; listingType: GgnomadListingType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPrivateGroupRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPrivateGroupRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadPrivateRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPropertiesArgs = { hasAccessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; minSustainabilityScore?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadListingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPropertyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadPropertyCalendarArgs = { endDate: Scalars['String']['input']; propertyId: Scalars['ID']['input']; startDate: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadProtectionPoliciesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadProtectionPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadProvidersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadRepairTripPlanArgs = { budget?: InputMaybe<Scalars['Float']['input']>; tripPlanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadReviewSummaryArgs = { targetId: Scalars['String']['input']; targetType: GgnomadBookingType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadReviewsArgs = { pagination?: InputMaybe<PaginationInput>; targetId: Scalars['String']['input']; targetType: GgnomadBookingType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadSearchArgs = { input: GgnomadSearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadSourceOrderQuoteArgs = { orderId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadSpendSummaryArgs = { costCenter?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadStorefrontByHostnameArgs = { hostname: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadStorefrontBySlugArgs = { pagination?: InputMaybe<PaginationInput>; slug: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadSuggestTripPlanItemsArgs = { count?: InputMaybe<Scalars['Int']['input']>; tripPlanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTicketArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTicketsArgs = { bookingId?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTourArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadToursArgs = { hasAccessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; minSustainabilityScore?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadListingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTravelPoliciesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTravelPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTripPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTripPlanCheckoutQuoteArgs = { currency?: InputMaybe<Scalars['String']['input']>; tripPlanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTripPlanProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTripPlansArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadTripsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWidgetAnalyticsArgs = { days?: InputMaybe<Scalars['Int']['input']>; partnerId?: InputMaybe<Scalars['ID']['input']>; storefrontSlug?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWorkspaceAuditLogArgs = { entityId: Scalars['String']['input']; entityType: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWorkspaceBookingQueueArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWorkspaceBookingsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadBookingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWorkspaceDamageClaimsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadClaimStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGgnomadWorkspacePrivateGroupRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GgnomadPrivateRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGlobalSearchArgs = { createdBy?: InputMaybe<Scalars['ID']['input']>; dateRange?: InputMaybe<GraphDateRangeInput>; entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; excludeEntityTypes?: InputMaybe<Array<Scalars['String']['input']>>; excludeIds?: InputMaybe<Array<Scalars['ID']['input']>>; limit?: InputMaybe<Scalars['Int']['input']>; metadataConditions?: InputMaybe<Array<GraphMetadataConditionInput>>; offset?: InputMaybe<Scalars['Int']['input']>; productSources?: InputMaybe<Array<Scalars['String']['input']>>; projectId?: InputMaybe<Scalars['ID']['input']>; query: Scalars['String']['input']; searchMode?: InputMaybe<GraphSearchMode>; sortBy?: InputMaybe<GraphSearchSortBy>; tagFilter?: InputMaybe<GraphTagFilterInput>; updatedBy?: InputMaybe<Scalars['ID']['input']>; updatedDateRange?: InputMaybe<GraphDateRangeInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAdminLevelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAdminLevelPresetsArgs = { countryCode: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAdminLevelsArgs = { countryCode?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAgencyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAgentRunsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovApplicationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovAuditTrailArgs = { filter?: InputMaybe<GovAuditTrailFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovBudgetExecutionArgs = { budgetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovBudgetsArgs = { filter?: InputMaybe<GovBudgetFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovCaseEscalationsArgs = { kind?: InputMaybe<GovCaseEscalationKind>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<GovCaseEscalationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovCaseworkWorkloadArgs = { serviceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovConsultationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovConsultationResultsArgs = { consultationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovConsultationsArgs = { filter?: InputMaybe<GovConsultationFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovDataChangeProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovDataChangeProposalsArgs = { filter?: InputMaybe<GovDataChangeProposalFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovDatasetsArgs = { filter?: InputMaybe<GovDatasetFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovElectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovElectionsArgs = { filter?: InputMaybe<GovElectionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovExportAuditTrailArgs = { filter?: InputMaybe<GovAuditTrailFilterInput>; format: GovAuditExportFormat; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovGrievanceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovIndicatorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovIndicatorSeriesArgs = { fromPeriod?: InputMaybe<Scalars['String']['input']>; indicatorCode: Scalars['String']['input']; jurisdictionId: Scalars['ID']['input']; toPeriod?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovIndicatorValuesArgs = { filter?: InputMaybe<GovIndicatorValueFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovIndicatorsArgs = { filter?: InputMaybe<GovIndicatorFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionBenchmarkArgs = { indicatorCode: Scalars['String']['input']; jurisdictionId: Scalars['ID']['input']; peerIds?: InputMaybe<Array<Scalars['ID']['input']>>; periodLabel?: InputMaybe<Scalars['String']['input']>; scope?: GovBenchmarkScope; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionEventsArgs = { jurisdictionId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionGrievanceInsightsArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; jurisdictionId: Scalars['ID']['input']; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionInsightsArgs = { jurisdictionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionOverviewArgs = { jurisdictionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionScorecardArgs = { jurisdictionId: Scalars['ID']['input']; periodLabel?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionServicePerformanceArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; jurisdictionId: Scalars['ID']['input']; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionTreeArgs = { maxDepth?: InputMaybe<Scalars['Int']['input']>; rootId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovJurisdictionsArgs = { filter?: InputMaybe<GovJurisdictionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListAgenciesArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListApplicationsArgs = { assignedToId?: InputMaybe<Scalars['ID']['input']>; citizenId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; serviceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<GovApplicationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListGrievancesArgs = { agencyId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; reporterId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<GovGrievanceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListPaymentsArgs = { applicationId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; payerId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<GovPaymentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListPermitsArgs = { holderId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; serviceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<GovPermitStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListRoutingRulesArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; serviceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListServicesArgs = { agencyId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<GovServiceCategory>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GovServiceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListSlaEscalationRulesArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; serviceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovListWalletDocumentsArgs = { category?: InputMaybe<GovWalletDocumentCategory>; citizenId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GovWalletDocumentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyApplicationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyApplicationsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyConsultationResponseArgs = { consultationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyDataChangeProposalsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyFollowedJurisdictionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyGrievanceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyGrievancesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyPaymentsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyPermitsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyWalletDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovMyWalletDocumentsArgs = { category?: InputMaybe<GovWalletDocumentCategory>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<GovWalletDocumentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovOfficialArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovOfficialCommitmentsArgs = { filter?: InputMaybe<GovOfficialCommitmentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovOfficialsArgs = { filter?: InputMaybe<GovOfficialFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPaymentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPermitPdfArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovProjectsArgs = { filter?: InputMaybe<GovProjectFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPublicAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPublicAssetSummaryArgs = { jurisdictionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPublicAssetsArgs = { filter?: InputMaybe<GovPublicAssetFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPublishedServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovPublishedServicesArgs = { category?: InputMaybe<GovServiceCategory>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGovVerifyPermitArgs = { verificationCode: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupAuditLogsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupAuditLogsConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupJoinRequestsArgs = { groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupMembersArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<GroupMembershipFilter>; first?: InputMaybe<Scalars['Int']['input']>; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupMembershipRulesArgs = { groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupMembershipRulesConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupReferenceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupRoleAssignmentsArgs = { groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupRoleAssignmentsConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupRuleExecutionsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; ruleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupRuleExecutionsConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; ruleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupShareLinksArgs = { groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupTagsArgs = { input: GetGroupTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupTemplatesArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<GroupTemplateFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryGroupsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<GroupFilter>; first?: InputMaybe<Scalars['Int']['input']>; sort?: InputMaybe<GroupSort>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHandoffConfigArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHandoffQueueArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; statuses?: InputMaybe<Array<BotmanorHandoffStatus>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAiToolArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAiToolExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAiToolExecutionsArgs = { filter?: InputMaybe<HeadshotmarketingAiToolExecutionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAiToolsArgs = { filter?: InputMaybe<HeadshotmarketingAiToolFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdBudgetRecommendationsArgs = { adCampaignId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCampaignsArgs = { filter?: InputMaybe<HeadshotmarketingAdCampaignFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCreativeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCreativeTestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCreativeTestsArgs = { filter?: InputMaybe<HeadshotmarketingAdCreativeTestFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdCreativesArgs = { filter?: InputMaybe<HeadshotmarketingAdCreativeFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdPlatformConnectionsArgs = { pagination?: InputMaybe<PaginationInput>; platform?: InputMaybe<HeadshotmarketingAdPlatform>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAdSyncAttemptsArgs = { adCampaignId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HeadshotmarketingAdSyncAttemptStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAgentRunsArgs = { filter?: InputMaybe<HeadshotmarketingAgentRunFilterInput>; page?: InputMaybe<HeadshotmarketingAgentRunPageInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAnalyticsOverviewArgs = { dateRange: HeadshotmarketingDateRangeInput; topCampaignLimit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAttributionReportArgs = { dealId?: InputMaybe<Scalars['ID']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; timeDecayHalfLifeDays?: InputMaybe<Scalars['Float']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAttributionSummaryArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; model: HeadshotmarketingAttributionModel; startDate?: InputMaybe<Scalars['DateTime']['input']>; timeDecayHalfLifeDays?: InputMaybe<Scalars['Float']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAudienceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAudienceSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAudienceSuggestionsArgs = { filter?: InputMaybe<HeadshotmarketingAudienceSuggestionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAudiencesArgs = { filter?: InputMaybe<HeadshotmarketingAudienceFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAutomationWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAutomationWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAutomationWorkflowRunLogsArgs = { workflowRunId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAutomationWorkflowRunsArgs = { filter?: InputMaybe<HeadshotmarketingAutomationWorkflowRunFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingAutomationWorkflowsArgs = { filter?: InputMaybe<HeadshotmarketingAutomationWorkflowFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCampaignAnalyticsArgs = { campaignId: Scalars['ID']['input']; dateRange?: InputMaybe<HeadshotmarketingDateRangeInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCampaignTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCampaignTemplatesArgs = { filter?: InputMaybe<HeadshotmarketingCampaignTemplateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCampaignsArgs = { filter?: InputMaybe<HeadshotmarketingCampaignFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingChannelPerformanceArgs = { dateRange: HeadshotmarketingDateRangeInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingContactArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingContactActivitiesArgs = { contactId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingContactsArgs = { filter?: InputMaybe<HeadshotmarketingContactFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingContentItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingContentItemsArgs = { filter?: InputMaybe<HeadshotmarketingContentItemFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingCulturalConsiderationsArgs = { category?: InputMaybe<HeadshotmarketingCulturalCategory>; regions?: InputMaybe<Array<HeadshotmarketingCulturalRegion>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingDealArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingDealsArgs = { filter?: InputMaybe<HeadshotmarketingDealFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingDiscoverInfluencersArgs = { filter?: InputMaybe<HeadshotmarketingInfluencerFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEstimateAdReachArgs = { audienceId?: InputMaybe<Scalars['ID']['input']>; dailyBudget: Scalars['Float']['input']; platform?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventRegistrationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventRegistrationsArgs = { filter?: InputMaybe<HeadshotmarketingEventRegistrationFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventSpeakerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventSpeakersArgs = { filter?: InputMaybe<HeadshotmarketingEventSpeakerFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingEventsArgs = { filter?: InputMaybe<HeadshotmarketingEventFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingFlagCulturalConsiderationsArgs = { copy: Scalars['String']['input']; targetRegions: Array<HeadshotmarketingCulturalRegion>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencerCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencerCampaignsArgs = { filter?: InputMaybe<HeadshotmarketingInfluencerCampaignFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencerRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencerRelationshipsArgs = { filter?: InputMaybe<HeadshotmarketingInfluencerRelationshipFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingInfluencersArgs = { filter?: InputMaybe<HeadshotmarketingInfluencerFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingIntegrationListingsArgs = { filter?: InputMaybe<HeadshotmarketingIntegrationListingFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLandingPageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLandingPageBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLandingPagesArgs = { filter?: InputMaybe<HeadshotmarketingLandingPageFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLeadArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLeadAdNetworkClicksArgs = { leadId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLeadsArgs = { filter?: InputMaybe<HeadshotmarketingLeadFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLifecycleFunnelArgs = { dateRange: HeadshotmarketingDateRangeInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingLifetimeValueAttributionArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; model: HeadshotmarketingAttributionModel; startDate?: InputMaybe<Scalars['DateTime']['input']>; timeDecayHalfLifeDays?: InputMaybe<Scalars['Float']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingMonthlyGoalProgressArgs = { month?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingMyAgentConversationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingMyAgentConversationsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingPipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingPipelineOverviewArgs = { pipelineId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingPipelinesArgs = { filter?: InputMaybe<HeadshotmarketingPipelineFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingPublicLandingPageArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSeoAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSeoAuditsArgs = { filter?: InputMaybe<HeadshotmarketingSeoAuditFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSeoKeywordArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSeoKeywordRankHistoryArgs = { keywordId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSeoKeywordsArgs = { filter?: InputMaybe<HeadshotmarketingSeoKeywordFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSavedReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSavedReportDeliveryRunsArgs = { pagination?: InputMaybe<PaginationInput>; reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSavedReportsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialAccountsArgs = { filter?: InputMaybe<HeadshotmarketingSocialAccountFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialMentionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialMentionsArgs = { filter?: InputMaybe<HeadshotmarketingSocialMentionFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialPostArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingSocialPostsArgs = { filter?: InputMaybe<HeadshotmarketingSocialPostFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingTouchpointsArgs = { filter: HeadshotmarketingTouchpointFilterInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingTrackedLinksArgs = { filter: HeadshotmarketingTrackedLinkFilterInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHeadshotmarketingTranslationLogsArgs = { campaignId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlAnimalDepthArgs = { animalId: Scalars['ID']['input']; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlAnimalGroupsArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlAnimalPedigreeArgs = { ancestorDepth?: InputMaybe<Scalars['Int']['input']>; animalId: Scalars['ID']['input']; context: ContextInput; offspringDepth?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlAuctionArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlAuctionsArgs = { context: ContextInput; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlBedsArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlBidsArgs = { auctionId: Scalars['ID']['input']; context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlContactArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlContactsArgs = { context: ContextInput; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlDiseaseWarningRulesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlGrazingArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; from?: InputMaybe<Scalars['String']['input']>; movesLimit?: InputMaybe<Scalars['Int']['input']>; paddockId?: InputMaybe<Scalars['ID']['input']>; restDays?: InputMaybe<Scalars['Int']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlGrazingEventsArgs = { animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; paddockId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlHerdDepthArgs = { context: ContextInput; groupId?: InputMaybe<Scalars['ID']['input']>; includeArchived?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlIncomingOrdersArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlIrrigationAutomationsArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; scheduleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlIrrigationScheduleArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlIrrigationSchedulesArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlLivestockFeedArgs = { animalIds?: InputMaybe<Array<Scalars['ID']['input']>>; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; granularity?: InputMaybe<HealthyBowlGrowthGranularity>; groupId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlLivestockFertilityArgs = { animalIds?: InputMaybe<Array<Scalars['ID']['input']>>; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; granularity?: InputMaybe<HealthyBowlGrowthGranularity>; groupId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlLivestockGrowthArgs = { animalIds?: InputMaybe<Array<Scalars['ID']['input']>>; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; granularity?: InputMaybe<HealthyBowlGrowthGranularity>; groupId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlLivestockHerdStatsArgs = { animalIds?: InputMaybe<Array<Scalars['ID']['input']>>; context: ContextInput; from?: InputMaybe<Scalars['String']['input']>; granularity?: InputMaybe<HealthyBowlGrowthGranularity>; groupId?: InputMaybe<Scalars['ID']['input']>; to?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlMapFeaturesArgs = { context: ContextInput; type?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlNurseryBatchArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlNurseryBatchesArgs = { context: ContextInput; seedLotId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlOrderShipmentArgs = { context: ContextInput; orderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlPlantCatalogArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlPlantCatalogPageArgs = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; uncategorized?: InputMaybe<Scalars['Boolean']['input']>; variety?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlPlantingActivitiesArgs = { bedId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; plantingPlanId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlPlantingEstimateArgs = { context: ContextInput; input: HealthyBowlPlantingEstimateInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlPlantingPlanExecutionArgs = { context: ContextInput; plantingPlanId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSeedLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSeedLotsArgs = { context: ContextInput; supplierId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSharedMarketAuctionsArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSharedMarketListingsArgs = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; maxPrice?: InputMaybe<Scalars['Float']['input']>; minPrice?: InputMaybe<Scalars['Float']['input']>; organic?: InputMaybe<Scalars['Boolean']['input']>; region?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlStockMovementsArgs = { context: ContextInput; limit?: InputMaybe<Scalars['Int']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; lotId?: InputMaybe<Scalars['ID']['input']>; productId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlStorageLocationsArgs = { context: ContextInput; kind?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlStorageLotArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlStorageOverviewArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSupplierArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSupplierMessagesArgs = { context: ContextInput; supplierId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlSuppliersArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHealthyBowlWateringRunsArgs = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; scheduleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokActivationFunnelArgs = { period?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokAdCampaignArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokAdRevenueReportArgs = { period: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokAdTrackerDeliveriesArgs = { decisionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokCallSheetArgs = { shootDayId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokCallSheetPdfUrlArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokChannelAdBreaksArgs = { channelId: Scalars['ID']['input']; from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokChannelHlsFeedArgs = { channelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokChannelScheduleArgs = { channelId: Scalars['ID']['input']; from?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokCheckEntitlementArgs = { titleId: Scalars['ID']['input']; viewerTerritory?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokDailyReportArgs = { shootDayId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokForecastProductionBudgetArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokGuardianInviteArgs = { token: Scalars['String']['input']; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListAdCampaignsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokAdCampaignStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListApplicationsArgs = { auditionId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListAuditionsArgs = { pagination?: InputMaybe<PaginationInput>; productionId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HokAuditionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListCallSheetsArgs = { shootDayId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListCallbacksArgs = { applicationId?: InputMaybe<Scalars['ID']['input']>; auditionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListChannelsArgs = { language?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListClipsArgs = { language?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListCostItemsArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListDailyReportsArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListDisputesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokDisputeStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListEmbedsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokEmbedStatus>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListEpisodesArgs = { pagination?: InputMaybe<PaginationInput>; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListHlsPackagesArgs = { episodeId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<HokHlsPackageKind>; rendition?: InputMaybe<Scalars['String']['input']>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListIdentityVerificationsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokVerificationStatus>; subjectType?: InputMaybe<HokVerificationSubjectType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListLocalizationsArgs = { episodeId?: InputMaybe<Scalars['ID']['input']>; language?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListLocationsArgs = { search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListMediaRenditionsArgs = { episodeId?: InputMaybe<Scalars['ID']['input']>; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListModerationFlagsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokModerationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListOffersArgs = { applicationId?: InputMaybe<Scalars['ID']['input']>; auditionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokOfferStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListPartnerAccessArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokPartnerAccessStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListPeopleArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListProductionMembersArgs = { kind?: InputMaybe<HokProductionMemberKind>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListProductionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokProductionStatus>; studioId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListReviewsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokReviewStatus>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListRightsWindowsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokRightsWindowStatus>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListRoyaltyRevenuePoolsArgs = { mode?: InputMaybe<HokMonetizationMode>; pagination?: InputMaybe<PaginationInput>; period?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListScenesArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListStudiosArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListTalentInvitationsArgs = { pagination?: InputMaybe<PaginationInput>; personId?: InputMaybe<Scalars['ID']['input']>; productionId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HokTalentInvitationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListTalentReelArgs = { pagination?: InputMaybe<PaginationInput>; personId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListTitleRoyaltySplitsArgs = { titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListTitlesArgs = { country?: InputMaybe<Scalars['String']['input']>; genre?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; releaseYear?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HokTitleStatus>; studioId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<HokTitleType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListWatchOffersArgs = { pagination?: InputMaybe<PaginationInput>; providerId?: InputMaybe<Scalars['ID']['input']>; territory?: InputMaybe<Scalars['String']['input']>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokListWatchProvidersArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokWatchProviderStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyCallbacksArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokCallbackStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyDisputesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyEntitlementsArgs = { pagination?: InputMaybe<PaginationInput>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyLegalAcceptancesArgs = { checkpointType: HokLegalCheckpointType; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyListsArgs = { kind?: InputMaybe<HokListKind>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyOffersArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokOfferStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyOfflineLicensesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<HokOfflineLicenseStatus>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyProfilesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMySavedSearchAlertsArgs = { pagination?: InputMaybe<PaginationInput>; unreadOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokMyWatchProgressArgs = { pagination?: InputMaybe<PaginationInput>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokNowPlayingArgs = { channelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokOfflineEligibilityArgs = { input: HokOfflineDownloadInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokOptimizeShootingScheduleArgs = { constraints?: InputMaybe<HokScheduleConstraints>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPartnerAvailabilityArgs = { ref: Scalars['ID']['input']; territory?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPartnerCatalogArgs = { genre?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; territory?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<HokTitleType>; updatedSince?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPartnerCheckRightsArgs = { at?: InputMaybe<Scalars['DateTime']['input']>; mode?: InputMaybe<HokMonetizationMode>; ref: Scalars['ID']['input']; territory: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPartnerTitleArgs = { ref: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPlaybackSourceArgs = { episodeId?: InputMaybe<Scalars['ID']['input']>; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokProductionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokProductionBudgetArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokPublicEmbedArgs = { publicId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokRecommendForViewerArgs = { limit?: InputMaybe<Scalars['Int']['input']>; territory?: InputMaybe<Scalars['String']['input']>; variant?: InputMaybe<HokRecommendationVariant>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokRecommendationExperimentSummaryArgs = { sinceDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokRecommendationRailsArgs = { language?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; territory?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokReputationArgs = { subjectId: Scalars['ID']['input']; subjectType: HokRatingSubjectType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokRoyaltyLedgerArgs = { mode?: InputMaybe<HokMonetizationMode>; pagination?: InputMaybe<PaginationInput>; payeeId?: InputMaybe<Scalars['ID']['input']>; period?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HokRoyaltyLedgerStatus>; titleId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokRoyaltySummaryArgs = { payeeId: Scalars['ID']['input']; payeeType?: InputMaybe<HokRoyaltyPayeeType>; period?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSavedSearchMatchesArgs = { pagination?: InputMaybe<PaginationInput>; savedSearchId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSceneArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokScheduleConflictsArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSearchPeopleArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSearchStudiosArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSemanticSearchArgs = { filters?: InputMaybe<HokSemanticSearchFilters>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSimilarTitlesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; territory?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokStripboardArgs = { productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokStudioAnalyticsArgs = { period?: InputMaybe<Scalars['String']['input']>; studioId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSuggestCastForProductionArgs = { criteria?: InputMaybe<HokCastCriteria>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSuggestCrewForProductionArgs = { criteria?: InputMaybe<HokCrewCriteria>; productionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokSuggestProductionPlanArgs = { brief: Scalars['String']['input']; constraints?: InputMaybe<HokProductionPlanConstraints>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokTalentFilmographyArgs = { filters?: InputMaybe<HokFilmographyFilters>; pagination?: InputMaybe<PaginationInput>; personId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokTalentProfileArgs = { slugOrId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokTitleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokTitleAnalyticsArgs = { period?: InputMaybe<Scalars['String']['input']>; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokWatchPartyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHokWhereToWatchArgs = { modes?: InputMaybe<Array<HokMonetizationMode>>; territory: Scalars['String']['input']; titleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAmcContractArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAmcContractsArgs = { filter?: InputMaybe<HousingVistaAmcContractFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAnalyticsArgs = { period?: InputMaybe<HousingVistaAnalyticsPeriod>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAreaInsightArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAreaInsightsArgs = { pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaAssetsArgs = { filter?: InputMaybe<HousingVistaAssetFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaExpenseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaExpensesArgs = { filter?: InputMaybe<HousingVistaExpenseFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaHomeLoanOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaHomeLoanOffersArgs = { pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaInvestmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaInvestmentsArgs = { filter?: InputMaybe<HousingVistaInvestmentFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaLeaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaLeasesArgs = { filter?: InputMaybe<HousingVistaLeaseFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaLegalServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaLegalServicesArgs = { filter?: InputMaybe<HousingVistaLegalServiceFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMaintenanceRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMaintenanceRequestsArgs = { filter?: InputMaybe<HousingVistaMaintenanceRequestFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMarketTrendArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMarketTrendsArgs = { pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMarketplaceServiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaMarketplaceServicesArgs = { filter?: InputMaybe<HousingVistaMarketplaceServiceFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaNaturalLanguageSearchArgs = { pagination?: InputMaybe<HousingVistaPaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaOfferArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaOffersArgs = { filter?: InputMaybe<HousingVistaOfferFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaPropertiesArgs = { filter?: InputMaybe<HousingVistaPropertyFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaPropertyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaRentalApplicationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaRentalApplicationsArgs = { filter?: InputMaybe<HousingVistaRentalApplicationFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaRentalUnitArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaRentalUnitsArgs = { filter?: InputMaybe<HousingVistaRentalUnitFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaShortlistArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaShortlistsArgs = { pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaTransactionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaTransactionsArgs = { filter?: InputMaybe<HousingVistaTransactionFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaVerificationItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaVerificationItemsArgs = { filter?: InputMaybe<HousingVistaVerificationItemFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaViewingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaViewingSlotsArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; includeBooked?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<HousingVistaPaginationInput>; propertyId: Scalars['ID']['input']; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHousingvistaViewingsArgs = { filter?: InputMaybe<HousingVistaViewingFilterInput>; pagination?: InputMaybe<HousingVistaPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHrisDirectorySyncArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHrisSyncRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryHrisSyncRunsArgs = { connectionId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIncidentsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInstallAgentJobStatusArgs = { jobId: Scalars['ID']['input']; targetId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntAlertArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntDetectionRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntEntityArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntEntityNeighborsArgs = { depth?: InputMaybe<Scalars['Int']['input']>; entityId: Scalars['ID']['input']; types?: InputMaybe<Array<IntRelationshipType>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntFindSimilarEntitiesArgs = { classificationUpTo?: InputMaybe<IntClassification>; entityId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntIndicatorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListAlertsArgs = { classification?: InputMaybe<IntClassification>; entityId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<IntAlertSeverity>; status?: InputMaybe<IntAlertStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListCasesArgs = { missionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<IntCaseStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListDetectionRulesArgs = { enabled?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListEntitiesArgs = { confidence?: InputMaybe<IntConfidence>; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<IntEntityType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListIndicatorsArgs = { entityId?: InputMaybe<Scalars['ID']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<IntIndicatorType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListMissionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<IntMissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListObservationsArgs = { entityId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; sourceId?: InputMaybe<Scalars['ID']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListReportsArgs = { missionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<IntReportStatus>; type?: InputMaybe<IntReportType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListRequirementsArgs = { missionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<IntRequirementStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListSourcesArgs = { discipline?: InputMaybe<IntSourceDiscipline>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<IntSourceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntListTasksArgs = { pagination?: InputMaybe<PaginationInput>; requirementId?: InputMaybe<Scalars['ID']['input']>; sourceId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<IntTaskStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntMissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntObservationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntRelatedEntitiesArgs = { classificationUpTo?: InputMaybe<IntClassification>; entityId: Scalars['ID']['input']; maxHops?: InputMaybe<Scalars['Int']['input']>; types?: InputMaybe<Array<IntRelationshipType>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntRequirementArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntSemanticSearchArgs = { classificationUpTo?: InputMaybe<IntClassification>; pagination?: InputMaybe<PaginationInput>; query: Scalars['String']['input']; targets?: InputMaybe<Array<IntContentSearchTarget>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntegrationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntegrationEventsArgs = { integrationId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntegrationIngestReceiptsArgs = { integrationId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntegrationsArgs = { filter?: InputMaybe<IntegrationFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntegrationsCountArgs = { filter?: InputMaybe<IntegrationFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntelwatchtowerEntityTagsArgs = { input: IntGetEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIntrospectNodeArgs = { nodeType: Scalars['String']['input']; version: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryCoverPlanArgs = { input?: InputMaybe<InventoryCoverPlanInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryItemsArgs = { filter?: InputMaybe<InventoryFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryItemsCountArgs = { filter?: InputMaybe<InventoryFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryStatsArgs = { filter?: InputMaybe<InventoryFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryTransactionsArgs = { filter?: InputMaybe<InventoryFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInventoryTransactionsCountArgs = { filter?: InputMaybe<InventoryFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInvitationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInvitationsArgs = { filter?: InputMaybe<InvitationFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryInvoicesArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotAlertsArgs = { acknowledged?: InputMaybe<Scalars['Boolean']['input']>; deviceId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotDeviceTypesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotDevicesArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotGeofencesArgs = { deviceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotIngestEventsArgs = { deviceId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotIngestKeysArgs = { deviceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotPlatformDeviceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotPlatformDevicesArgs = { pagination?: InputMaybe<PaginationInput>; protocol?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotReadingsArgs = { deviceId: Scalars['ID']['input']; metricKey?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; since?: InputMaybe<Scalars['DateTime']['input']>; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIotThresholdRulesArgs = { deviceId?: InputMaybe<Scalars['ID']['input']>; metricKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIsGroupMemberArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; groupId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIsUserInCohortArgs = { cohortId: Scalars['ID']['input']; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIsWorkspaceAppInstalledArgs = { appName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryIsWorkspaceSubscribedToProductArgs = { productId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryJobExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryJobExecutionsArgs = { jobId: Scalars['ID']['input']; pagination?: InputMaybe<SchedulerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiCustomerSubscriptionArgs = { customerId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiInvestmentOpportunityArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListInvestmentOpportunitiesArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; riskLevel?: InputMaybe<KadaikodiRiskLevel>; status?: InputMaybe<KadaikodiInvestmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListInvestmentsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListLoyaltyTransactionsArgs = { customerId?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListOfferingsArgs = { kind?: InputMaybe<KadaikodiOfferingKind>; pagination?: InputMaybe<KadaikodiPaginationInput>; providerId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListOrdersArgs = { customerId?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<KadaikodiPaginationInput>; providerId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<KadaikodiOrderStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListProviderWorkersArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; providerId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListReviewsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; providerId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListServiceProvidersArgs = { filter?: InputMaybe<KadaikodiProviderFilterInput>; pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiListWorkerSchedulesArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiLoyaltyAccountArgs = { customerId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiMembershipPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiMembershipPlansArgs = { activeOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiMyAddressesArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiMyLoyaltyTransactionsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiMyPaymentMethodsArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiOfferingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiRankOfferingsForCustomerArgs = { context?: InputMaybe<KadaikodiRankingContextInput>; customerId?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<KadaikodiPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiServiceProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKadaikodiWorkerTasksArgs = { pagination?: InputMaybe<KadaikodiPaginationInput>; status?: InputMaybe<KadaikodiWorkerTaskStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKnowledgeArticleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKnowledgeArticlesArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; relatedAssetId?: InputMaybe<Scalars['ID']['input']>; relatedIncidentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<KnowledgeArticleStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKnowledgeBackendMigrationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryKnowledgeSourceImportsArgs = { knowledgeBaseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabAgentRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabAgentRunsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabDatasetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabExperimentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabInstrumentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabInventoryItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListDatasetsArgs = { kind?: InputMaybe<LabDatasetKind>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabDatasetStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListExperimentsArgs = { pagination?: InputMaybe<PaginationInput>; projectId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabExperimentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListInstrumentsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabInstrumentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListInventoryItemsArgs = { category?: InputMaybe<LabInventoryCategory>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabInventoryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListInventoryMovementsArgs = { itemId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListNotebookEntriesArgs = { experimentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; projectId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabNotebookEntryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListPipelineRunsArgs = { pagination?: InputMaybe<PaginationInput>; pipelineId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<LabPipelineRunStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListPipelinesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListProjectsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabProjectStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListProtocolsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<LabProtocolStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabListRunsArgs = { experimentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<LabRunStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabNotebookEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabProtocolArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabProvenanceArgs = { depth?: InputMaybe<Scalars['Int']['input']>; rootEntityId: Scalars['ID']['input']; rootEntityType: LabProvenanceEntityType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLabResearchAnalyticsArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLatestDashboardDigestArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLegalHoldsArgs = { status?: InputMaybe<LegalHoldStatus>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLicenseEntitlementsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; softwareAssetId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLifeTimelineArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListA2AConnectionsArgs = { filters?: InputMaybe<A2AConnectionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListA2AMessagesArgs = { filters?: InputMaybe<A2AMessageFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListA2ARegistryEntriesArgs = { filters?: InputMaybe<A2ARegistryEntryFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAgentTemplatesArgs = { filters?: InputMaybe<TemplateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAgentVersionsArgs = { agentId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAgentsArgs = { filters?: InputMaybe<AgentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAllSandboxesArgs = { context: ContextInput; filter?: InputMaybe<SandboxFilterInput>; pagination?: InputMaybe<SandboxPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAppAgentsArgs = { filters?: InputMaybe<AppAgentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListAppTemplatesArgs = { filters?: InputMaybe<TemplateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotAppVersionsArgs = { botAppId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotAppsArgs = { filters?: InputMaybe<BotAppFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotmanorAgentApprovalRequestsArgs = { filter?: InputMaybe<BotmanorAgentApprovalFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotmanorAgentsArgs = { filters?: InputMaybe<BotmanorAgentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotmanorLlmModelsArgs = { filters?: InputMaybe<LlmModelFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBotmanorLlmProvidersArgs = { filters?: InputMaybe<BotmanorLlmProviderFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListBucketsArgs = { filters?: InputMaybe<BucketFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListChannelConnectorsArgs = { filters?: InputMaybe<ChannelConnectorFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListChannelRoutesArgs = { filters?: InputMaybe<ChannelRouteFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardEmbedPoliciesArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardRlsPoliciesArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardSharesArgs = { after?: InputMaybe<Scalars['String']['input']>; dashboardId: Scalars['ID']['input']; first?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; permission?: InputMaybe<BigConsoleDashboardSharePermission>; recipientType?: InputMaybe<BigConsoleDashboardShareRecipientType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardTranslationsArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardVersionsArgs = { dashboardId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardViewsArgs = { after?: InputMaybe<Scalars['String']['input']>; dashboardId: Scalars['ID']['input']; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDashboardsArgs = { after?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<BigConsoleDashboardCategory>; first?: InputMaybe<Scalars['Int']['input']>; includeArchived?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; sortBy?: InputMaybe<BigConsoleDashboardSortField>; sortOrder?: InputMaybe<SortOrder>; tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; visibility?: InputMaybe<BigConsoleDashboardVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListDataSinksArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; setupState?: InputMaybe<DataSinkSetupState>; status?: InputMaybe<DataSinkStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListEventLogsArgs = { after?: InputMaybe<Scalars['String']['input']>; dashboardId?: InputMaybe<Scalars['ID']['input']>; eventName?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<BigConsoleWidgetEventStatus>; widgetId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListEventWebhookMappingsArgs = { dashboardId?: InputMaybe<Scalars['ID']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; widgetId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListExecutionsArgs = { filters?: InputMaybe<ExecutionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListExportJobsArgs = { context: ContextInput; filter?: InputMaybe<ExportJobFilterInput>; pagination?: InputMaybe<ExportPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListExportTemplatesArgs = { context: ContextInput; pagination?: InputMaybe<ExportPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListFeaturedTemplatesArgs = { after?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<BigConsoleDashboardCategory>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlCarbonCreditsArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; method?: InputMaybe<Scalars['String']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; vintageYear?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlEudrStatementsArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlGhgActivitiesArgs = { context: ContextInput; inventoryId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlMrvReportsArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlRegenerativePracticesArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListHealthyBowlSoilCarbonEstimatesArgs = { context: ContextInput; farmId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListInstalledPackagesArgs = { filters: InstalledPackageFilterInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListKnowledgeBasesArgs = { filters?: InputMaybe<KnowledgeBaseFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListKnowledgeDocumentsArgs = { knowledgeBaseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListLlmModelsArgs = { filters?: InputMaybe<LlmModelFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListLlmProvidersArgs = { filters?: InputMaybe<LlmProviderFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListMcpConnectionsArgs = { filters?: InputMaybe<McpConnectionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListMcpResourcesArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListMcpToolsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListParsersArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<ParserFilterInput>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListPipelineExecutionsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; pipelineId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListPipelinesArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<PipelineFilterInput>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListPoliciesArgs = { filters?: InputMaybe<PolicyFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListPromptGenerationsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<PromptGenerationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListPromptTemplatesArgs = { filters?: InputMaybe<PromptTemplateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListRetrievalProfilesArgs = { filters?: InputMaybe<RetrievalProfileFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSandboxNodesArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSandboxTemplatesArgs = { context: ContextInput; pagination?: InputMaybe<SandboxPaginationInput>; template?: InputMaybe<SandboxTemplate>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSandboxUsageEventsArgs = { context: ContextInput; filter?: InputMaybe<SandboxUsageEventFilterInput>; pagination?: InputMaybe<SandboxPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSandboxesArgs = { context: ContextInput; filter?: InputMaybe<SandboxFilterInput>; pagination?: InputMaybe<SandboxPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSharedWithMeArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; permission?: InputMaybe<BigConsoleDashboardSharePermission>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListSkillsArgs = { filters?: InputMaybe<SkillFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListStorePackagesArgs = { filters?: InputMaybe<StorePackageFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListTemplatesArgs = { after?: InputMaybe<Scalars['String']['input']>; authorType?: InputMaybe<BigConsoleDashboardTemplateAuthorType>; category?: InputMaybe<BigConsoleDashboardCategory>; complexity?: InputMaybe<BigConsoleDashboardTemplateComplexity>; first?: InputMaybe<Scalars['Int']['input']>; isFeatured?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<BigConsoleDashboardTemplateStatus>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListWidgetsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; pageId: Scalars['ID']['input']; type?: InputMaybe<BigConsoleWidgetType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryListWidgetsByDashboardArgs = { dashboardId: Scalars['ID']['input']; type?: InputMaybe<BigConsoleWidgetType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLoadNodeOptionsArgs = { args?: InputMaybe<Scalars['JSON']['input']>; connectionId?: InputMaybe<Scalars['ID']['input']>; labelField: Scalars['String']['input']; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; operationName: Scalars['String']['input']; resultPath?: InputMaybe<Scalars['String']['input']>; valueField: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLocationEntriesArgs = { filter?: InputMaybe<LocationEntryFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLocationEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLocationStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLogStreamDestinationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryLookupUserActorByEmailArgs = { email: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMailboxAttachmentArgs = { attachmentId: Scalars['ID']['input']; connectionId: Scalars['ID']['input']; messageId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMailboxLabelsArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMailboxMessagesArgs = { input: MailboxMessagesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMailboxThreadArgs = { connectionId: Scalars['ID']['input']; threadId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceContractArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceContractsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceCostSplitArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; from?: InputMaybe<Scalars['DateTime']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceLogArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenancePlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenancePlansArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; includeInactive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceRecordArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMaintenanceRecordsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManAgentRunsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManBomArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManControlChartArgs = { input: ManControlChartInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManDemandArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManErpConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManExplodeBomArgs = { itemId: Scalars['ID']['input']; quantity: Scalars['Float']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManFindMaterialSerialsArgs = { serialNumber: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManInspectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManInventoryItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManInventoryItemBySkuArgs = { sku: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListAssetsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ManAssetStatus>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListBomsArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; parentItemId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListDemandsArgs = { itemId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<ManDemandKind>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ManDemandStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListDowntimeEventsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; reason?: InputMaybe<ManDowntimeReason>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListErpConnectionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListErpSyncRecordsArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListInspectionPlansArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; stage?: InputMaybe<ManInspectionStage>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListInspectionsArgs = { pagination?: InputMaybe<PaginationInput>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; result?: InputMaybe<ManInspectionResult>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListInventoryItemsArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; itemType?: InputMaybe<ManItemType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMachineTagMappingsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMachineTagReadingsArgs = { machineCode?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; tagName?: InputMaybe<Scalars['String']['input']>; workCenterId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMaintenanceWorkOrdersArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ManMaintenanceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMaterialLotsArgs = { pagination?: InputMaybe<PaginationInput>; productionOrderId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<ManMaterialLotStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMaterialRequirementsArgs = { productionOrderId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListMaterialSerialsArgs = { filter?: InputMaybe<ManMaterialSerialFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListNonConformancesArgs = { pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<ManSeverity>; status?: InputMaybe<ManNonConformanceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListProductionOrdersArgs = { pagination?: InputMaybe<PaginationInput>; productSku?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ManProductionOrderStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListPurchaseRequestsArgs = { itemId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ManPurchaseRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListTelemetryArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; granularity?: InputMaybe<ManTelemetryGranularity>; machineCode: Scalars['String']['input']; tagName: Scalars['String']['input']; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManListWorkCentersArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMachineTagReadingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMaintenanceWorkOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMaterialLotArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMaterialSerialArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMaterialSerialRecallArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManMyLegalAcceptancesArgs = { checkpointType: ManLegalCheckpointType; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManNonConformanceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManNonConformancesForEntityArgs = { entityId: Scalars['ID']['input']; entityType: ManNonConformanceLinkType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManProductionOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManPurchaseRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManValidateMaterialSerialsArgs = { entry: ManSerialEntryInput; materialSku: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManWatchFindingsArgs = { kind?: InputMaybe<ManWatchFindingKind>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<ManWatchFindingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryManWorkCenterArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMcpToolCallsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<McpToolCallFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMeetingArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMeetingStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMeetingsArgs = { filter?: InputMaybe<MeetingFilterInput>; orderBy?: InputMaybe<MeetingOrderByInput>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMentionsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; unreadOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMeshDeployJobStatusArgs = { jobId: Scalars['ID']['input']; rootAgentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMessageArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMessageReportsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<MessageReportFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMessagesArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; conversationId: Scalars['ID']['input']; filter?: InputMaybe<MessageFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMetricsArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwApplicableProceduresArgs = { proposalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationManifestArgs = { id: Scalars['ID']['input']; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationManifestPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationObservationArgs = { id: Scalars['ID']['input']; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationObservationPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationPlanArgs = { id: Scalars['ID']['input']; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsolidationPlanPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; planReference?: InputMaybe<Scalars['String']['input']>; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwConsumedFuelPreviewArgs = { input: MtwConsumedFuelPreviewInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerCyclePageArgs = { containerId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerCyclesArgs = { containerId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerDefectPageArgs = { inspectionId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerEventPageArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerEventsArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerHoldPageArgs = { containerId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerInspectionPageArgs = { containerId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerQualificationPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerReleaseDecisionPageArgs = { containerId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainerRepairPageArgs = { holdId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwContainersArgs = { pagination?: InputMaybe<MtwContainerPagination>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwCustomerNotificationsArgs = { filter?: InputMaybe<MtwCustomerNotificationFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwDispatchPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwDispatchPlansArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<MtwDispatchPlanStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwDocumentExtractionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwDocumentExtractionsArgs = { fileId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwEmptyReturnInstructionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwEmptyReturnInstructionPageArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwEquipmentReuseApprovalPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; proposalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreeTimeAgreementPageArgs = { clockId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreeTimeClockPageArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreeTimeExposureArgs = { asOf: Scalars['DateTime']['input']; clockId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreeTimeExtensionPageArgs = { clockId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightEstimatePageArgs = { estimateReference?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<MtwContainerPagination>; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightEstimateVersionArgs = { id: Scalars['ID']['input']; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightInvoiceComparisonArgs = { id: Scalars['ID']['input']; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightInvoiceComparisonByRequestKeyArgs = { requestKey: Scalars['String']['input']; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightInvoiceComparisonPageArgs = { invoiceIdentityId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightInvoiceReviewArgs = { comparisonId: Scalars['ID']['input']; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwFreightInvoiceReviewPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; shipmentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<MtwFreightInvoiceReviewStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwLatestShipmentDecisionArgs = { kind: MtwShipmentDecisionKind; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPalletGeometryPreviewArgs = { input: MtwPalletGeometryPreviewInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPickPreparationArgs = { destinationInventoryItemId: Scalars['ID']['input']; sourceInventoryItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPickReviewArgs = { id: Scalars['ID']['input']; taskId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPickReviewPageArgs = { limit?: Scalars['Int']['input']; offset?: Scalars['Int']['input']; taskId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPickTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwPickTaskPageArgs = { destinationInventoryItemId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<MtwContainerPagination>; sourceInventoryItemId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureDeviationPageArgs = { executionId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureExecutionPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; proposalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureStepPageArgs = { executionId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureVersionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwProcedureVersionPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; templateReference: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportRunExportArgs = { format: MtwReportFormat; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportRunsArgs = { pagination?: InputMaybe<PaginationInput>; reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportsArgs = { filter?: InputMaybe<MtwReportFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReportsCountArgs = { filter?: InputMaybe<MtwReportFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReuseEligibilityArgs = { approvalId?: InputMaybe<Scalars['ID']['input']>; proposalId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReuseProposalPageArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReuseReservationPageArgs = { cycleId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwReuseReservationTransitionPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; reservationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwRiskSweepsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwShipmentDecisionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwShipmentRiskEpisodeArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwShipmentRiskForecastArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwStockBindingAssessmentArgs = { id: Scalars['ID']['input']; inventoryItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwStockBindingAssessmentPageArgs = { inventoryItemId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwStockObservationArgs = { id: Scalars['ID']['input']; inventoryItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwStockObservationPageArgs = { inventoryItemId: Scalars['ID']['input']; pagination?: InputMaybe<MtwContainerPagination>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMtwTripUtilizationReportPageArgs = { pagination?: InputMaybe<MtwContainerPagination>; routeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAgentMessageBookmarksArgs = { filter?: InputMaybe<AgentMessageBookmarkFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyApprovalRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<ApprovalStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantConversationEntriesArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; clientConversationId?: InputMaybe<Scalars['ID']['input']>; conversationId?: InputMaybe<Scalars['ID']['input']>; first?: InputMaybe<Scalars['Int']['input']>; last?: InputMaybe<Scalars['Int']['input']>; productId: Scalars['String']['input']; sinceSeq?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantConversationsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<AssistantHistoryConversationFilter>; first?: InputMaybe<Scalars['Int']['input']>; productId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantHistoryChangesArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; productId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantTurnArgs = { clientTurnId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantTurnDispatchArgs = { clientTurnId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantWorkflowConversationArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; clientConversationId?: InputMaybe<Scalars['ID']['input']>; courseId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantWorkflowConversationMessagesArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; before?: InputMaybe<Scalars['String']['input']>; clientConversationId: Scalars['ID']['input']; courseId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyAssistantWorkflowConversationsArgs = { after?: InputMaybe<Scalars['ID']['input']>; agentId?: InputMaybe<Scalars['ID']['input']>; courseId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyBalanceTargetsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyClaimableCrewOpenShiftsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyConnectorSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyConnectorSubmissionsArgs = { filter?: InputMaybe<ConnectorSubmissionFilterInput>; pagination?: InputMaybe<IntegrationsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyCrewDispatchesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CrewDispatchStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyCrewShiftSwapRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<CrewShiftSwapStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyCrewShiftsArgs = { filter?: InputMaybe<MyCrewShiftFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyCrewSwapCandidatesArgs = { shiftId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyDeadTimeRadarArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyDeliveryDayArgs = { date: Scalars['String']['input']; timeZone?: InputMaybe<Scalars['String']['input']>; timezoneOffsetMinutes?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyEpodShipmentStatusArgs = { deliveryJobId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadAffiliateCommissionsArgs = { pagination?: InputMaybe<PaginationInput>; partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadAffiliatePayoutProfileArgs = { partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadAffiliatePayoutStatementArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; partnerId: Scalars['ID']['input']; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadOrdersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadPrivateGroupRequestsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadProviderAnalyticsArgs = { dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; granularity?: InputMaybe<Scalars['String']['input']>; providerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGgnomadWidgetAnalyticsArgs = { days?: InputMaybe<Scalars['Int']['input']>; partnerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyGroupsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<GroupFilter>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyLifeBalanceArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyLifeGoalsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyLifeInWeeksArgs = { asOf?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyLifeValuesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyNavPreferencesArgs = { productSlug: Scalars['String']['input']; workspaceId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyPendingEpodDeliveryJobsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyPermissionsArgs = { scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyPersonalDataSummaryArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyProactiveSettingsArgs = { product: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyProjectsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyRecommendationsArgs = { pagination?: InputMaybe<PaginationInput>; state?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyResourcesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<WorkspaceResourceStatus>; type?: InputMaybe<WorkspaceResourceType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyRolesArgs = { scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySandboxLlmUsageArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySecurityScansArgs = { filter?: InputMaybe<SecurityScanFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySettingsByCategoryArgs = { category: SettingsCategory; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySharedCredentialsArgs = { pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySourceConsentsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMySustainedLoadArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyTimeCampusCaptureChannelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyTimeCampusCaptureChannelsArgs = { includeDisconnected?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyTimeIntelligenceDeliveriesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyTimeWellSpentArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyVibeLlmContextPreviewArgs = { input?: InputMaybe<VibeLlmContextMintInput>; vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyVibeLlmContextSettingsArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyVibeLlmContextTokenAuditsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; tokenId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyVibeLlmContextTokensArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMyWorkspacesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybActiveNutritionPlanArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybBodyMetricArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybChallengeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybChallengeLeaderboardArgs = { challengeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybDailyMacrosArgs = { date?: InputMaybe<Scalars['DateTime']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybExerciseBestSetArgs = { exerciseName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybFoodByBarcodeArgs = { barcode: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybGoalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybInsightsArgs = { dateRangeEnd?: InputMaybe<Scalars['DateTime']['input']>; dateRangeStart?: InputMaybe<Scalars['DateTime']['input']>; memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListAiOperationLogsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListBodyMetricsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<MybBodyMetricType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListChallengesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<MybChallengeStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListCoachingArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<MybCoachingStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListDeviceConnectionsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListGoalsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<MybGoalStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListLegalAcceptancesArgs = { actorId?: InputMaybe<Scalars['ID']['input']>; checkpointType?: InputMaybe<MybLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListMealsArgs = { mealType?: InputMaybe<MybMealType>; pagination?: InputMaybe<PaginationInput>; planId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListMindfulnessSessionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListProgramsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<MybProgramStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListRecoveryLogsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; metric?: InputMaybe<MybRecoveryMetric>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybListSessionsArgs = { pagination?: InputMaybe<PaginationInput>; programId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<MybSessionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybMyLegalAcceptancesArgs = { checkpointType?: InputMaybe<MybLegalCheckpointType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybNutritionPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybProgramWorkoutsArgs = { pagination?: InputMaybe<PaginationInput>; programId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybProgressionAggregatesArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybProposeNutritionRetuningArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybRecoveryLogArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybRetuningProposalsArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<MybRetuningProposalStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybSearchFoodsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybSessionSetsArgs = { pagination?: InputMaybe<PaginationInput>; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybSocialFeedArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybTodayGuidanceArgs = { memberId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryMybWorkoutExercisesArgs = { pagination?: InputMaybe<PaginationInput>; workoutId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeEndpointConfigArgs = { nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeEndpointConfigsArgs = { nodeType?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<WorkflowPaginationInput>; publishType?: InputMaybe<PublishType>; status?: InputMaybe<NodeConfigStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeLogsArgs = { hours?: InputMaybe<Scalars['Int']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; nodeType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeManifestArgs = { nodeType: Scalars['String']['input']; version: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeManifestsArgs = { detail?: InputMaybe<NodeManifestDetail>; refs: Array<NodeManifestRefInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeSchemaIntrospectionArgs = { nodeType: Scalars['String']['input']; version: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeStateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeStatesArgs = { ids?: InputMaybe<Array<Scalars['ID']['input']>>; runId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeUsageStatsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; order?: InputMaybe<Scalars['String']['input']>; sortBy?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNodeUsageStatusArgs = { allVersions?: InputMaybe<Scalars['Boolean']['input']>; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNoteArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryNotesArgs = { filter?: InputMaybe<VibecontrolsNoteFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryOperationConfigArgs = { nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; operationName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryOperationConfigsArgs = { nodeType?: InputMaybe<Scalars['String']['input']>; nodeVersion?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<WorkflowPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryOptimisationSuggestionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryOptimisationSuggestionsArgs = { filter?: InputMaybe<OptimisationSuggestionFilter>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryParserArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPendingActionPolicyApprovalsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPendingApprovalsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPendingToolApprovalsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPendingWorkflowHumanRequestsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPermissionAuditLogArgs = { filter?: InputMaybe<AuditLogFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPermissionAuditLogPageArgs = { filter?: InputMaybe<AuditLogFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPhysicalAuditArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPhysicalAuditsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPinnedNotesArgs = { pagination?: InputMaybe<PaginationInput>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPipelineArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPipelineExecutionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetActivityFeedArgs = { filter?: InputMaybe<PlanmagnetActivityFeedFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAnalyticsArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; timeRange?: InputMaybe<PlanmagnetTimeRangeInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAtRiskWorkItemsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; projectId: Scalars['ID']['input']; sprintId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAutomationExecutionsArgs = { filter?: InputMaybe<PlanmagnetAutomationExecutionFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAutomationRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAutomationRuleAuditArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetAutomationRulesArgs = { filter?: InputMaybe<PlanmagnetAutomationRuleFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBoardArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBoardColumnCardsArgs = { boardId: Scalars['ID']['input']; columnId: Scalars['ID']['input']; filter?: InputMaybe<PlanmagnetBoardCardFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; sort?: InputMaybe<PlanmagnetBoardCardSort>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBoardViewArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBoardViewsArgs = { filter?: InputMaybe<PlanmagnetBoardViewFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBoardsArgs = { filter?: InputMaybe<PlanmagnetBoardFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBudgetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBudgetExpensesArgs = { filter?: InputMaybe<PlanmagnetBudgetExpenseFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBudgetsArgs = { filter?: InputMaybe<PlanmagnetBudgetFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetBusinessIntelligenceArgs = { filter?: InputMaybe<PlanmagnetBusinessIntelligenceFilter>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCompetitorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCompetitorsArgs = { filter?: InputMaybe<PlanmagnetCompetitorFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCriticalPathArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCumulativeFlowArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; projectId: Scalars['ID']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomFieldDefinitionsArgs = { filter?: InputMaybe<PlanmagnetCustomFieldDefinitionFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomFieldValuesArgs = { filter?: InputMaybe<PlanmagnetCustomFieldValueFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomerSatisfactionArgs = { filter?: InputMaybe<PlanmagnetCustomerSatisfactionFilter>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomerSatisfactionResponseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCustomerSatisfactionResponsesArgs = { filter?: InputMaybe<PlanmagnetCustomerSatisfactionResponseFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetCycleTimeArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; projectId: Scalars['ID']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDeliveryKpisArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDependenciesArgs = { filter?: InputMaybe<PlanmagnetDependencyFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDependencyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDependencyChainArgs = { maxDepth?: InputMaybe<Scalars['Int']['input']>; workItemId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDependencyCyclesArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDocArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDocCommentsArgs = { docId: Scalars['ID']['input']; pagination?: InputMaybe<PlanmagnetPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDocRevisionDiffArgs = { docId: Scalars['ID']['input']; fromVersion: Scalars['Int']['input']; toVersion?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetDocsArgs = { filter?: InputMaybe<PlanmagnetDocFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetExportReportRunArgs = { format: PlanmagnetReportExportFormat; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetExternalMappingsArgs = { filter?: InputMaybe<PlanmagnetExternalMappingFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetExternalSyncArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetExternalSyncsArgs = { filter?: InputMaybe<PlanmagnetExternalSyncFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetFeaturePrioritizationMatrixArgs = { productId?: InputMaybe<Scalars['ID']['input']>; roadmapId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetFeatureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetFeatureRequestsArgs = { filter?: InputMaybe<PlanmagnetFeatureRequestFilter>; orderBy?: InputMaybe<PlanmagnetFeatureOrder>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetForecastDeliveryArgs = { projectId: Scalars['ID']['input']; scope?: InputMaybe<PlanmagnetForecastScopeInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetIntelligenceLoopArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetKeyResultArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMeetingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMeetingsArgs = { filter?: InputMaybe<PlanmagnetMeetingFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMetricsArgs = { category?: InputMaybe<Scalars['String']['input']>; timeRange?: InputMaybe<PlanmagnetTimeRangeInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMilestoneArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMilestonesArgs = { filter?: InputMaybe<PlanmagnetMilestoneFilter>; orderBy?: InputMaybe<PlanmagnetMilestoneOrder>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMyAgentRunsArgs = { filter?: InputMaybe<PlanmagnetAgentRunFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMyDeliveryTrendArgs = { weeks?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMyTimeAllocationArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetMyWorkItemsArgs = { filter?: InputMaybe<PlanmagnetMyWorkItemFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetObjectiveArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetObjectivesArgs = { filter?: InputMaybe<PlanmagnetObjectiveFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetPortfolioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetPortfolioOverviewArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetPortfolioRollupArgs = { portfolioId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetPortfoliosArgs = { filter?: InputMaybe<PlanmagnetPortfolioFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetPresenceArgs = { targetId: Scalars['ID']['input']; targetType: PlanmagnetPresenceTargetType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductFeatureArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductFeaturesArgs = { filter?: InputMaybe<PlanmagnetProductFeatureFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; productId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductLaunchArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductLaunchesArgs = { filter?: InputMaybe<PlanmagnetProductLaunchFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; productId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductLineArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductLinesArgs = { filter?: InputMaybe<PlanmagnetProductLineFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductMarketSizingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductMarketSizingsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; productId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductPersonaArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductPersonasArgs = { filter?: InputMaybe<PlanmagnetProductPersonaFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; productId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProductsArgs = { filter?: InputMaybe<PlanmagnetProductFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProgramArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProgramsArgs = { filter?: InputMaybe<PlanmagnetProgramFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectCommentsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; projectId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectOutlookArgs = { projectId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectRiskSummaryArgs = { projectId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectTemplatesArgs = { filter?: InputMaybe<PlanmagnetProjectTemplateFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectWorkflowArgs = { projectId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetProjectsArgs = { filter?: InputMaybe<PlanmagnetProjectFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetQualityGateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetQualityGatesArgs = { filter?: InputMaybe<PlanmagnetQualityGateFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetQualityMetricsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReleaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReleaseReadinessArgs = { releaseId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReleasesArgs = { filter?: InputMaybe<PlanmagnetReleaseFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportRunsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportSchedulesArgs = { reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportSharesArgs = { reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetReportsArgs = { filter?: InputMaybe<PlanmagnetReportFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetResourceForecastArgs = { horizonSprints?: InputMaybe<Scalars['Int']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; teamId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRiskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRiskMatrixArgs = { projectId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRisksArgs = { filter?: InputMaybe<PlanmagnetRiskFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapCommentsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; roadmapId: Scalars['ID']['input']; roadmapItemId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapItemsArgs = { filter?: InputMaybe<PlanmagnetRoadmapItemFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapPrioritizationMatrixArgs = { productId?: InputMaybe<Scalars['ID']['input']>; roadmapId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapReviewsArgs = { roadmapId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapVersionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapVersionDiffArgs = { fromVersionId: Scalars['ID']['input']; toVersionId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapVersionsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; roadmapId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetRoadmapsArgs = { filter?: InputMaybe<PlanmagnetRoadmapFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSharedReportArgs = { password?: InputMaybe<Scalars['String']['input']>; token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSkillCoverageArgs = { filter?: InputMaybe<PlanmagnetSkillCoverageFilter>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSprintArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSprintBurndownArgs = { sprintId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSprintCapacityArgs = { sprintId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSprintsArgs = { filter?: InputMaybe<PlanmagnetSprintFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetStatusFlowArgs = { from: Scalars['DateTime']['input']; projectId: Scalars['ID']['input']; to: Scalars['DateTime']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSuggestInitiativeLinksArgs = { featureRequestId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSyncCodeLinksArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; syncId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSyncConflictsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; status?: InputMaybe<PlanmagnetSyncConflictStatus>; syncId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSyncRunsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; syncId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetSyncWebhookDeliveriesArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; syncId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTeamVelocityArgs = { teamId: Scalars['ID']['input']; trailingSprintCount?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTeamsArgs = { filter?: InputMaybe<PlanmagnetTeamFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetThroughputArgs = { bucket?: InputMaybe<PlanmagnetThroughputBucket>; endDate?: InputMaybe<Scalars['DateTime']['input']>; projectId: Scalars['ID']['input']; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTimeEntriesArgs = { filter?: InputMaybe<PlanmagnetTimeEntryFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTimesheetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetTimesheetsArgs = { filter?: InputMaybe<PlanmagnetTimesheetFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetUnmatchedCrewIdentitiesArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetVelocityArgs = { projectId: Scalars['ID']['input']; trailingSprintCount?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWebhookSubscriptionDeliveriesArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; subscriptionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWebhookSubscriptionsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkBreakdownArgs = { projectIds?: InputMaybe<Array<Scalars['ID']['input']>>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemActivityArgs = { first?: InputMaybe<Scalars['Int']['input']>; workItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemCommentsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; workItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemCountsArgs = { filter?: InputMaybe<PlanmagnetWorkItemFilter>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemDocsArgs = { workItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemIssueLinksArgs = { workItemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemLinkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemLinksArgs = { filter?: InputMaybe<PlanmagnetWorkItemLinkFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkItemsArgs = { filter?: InputMaybe<PlanmagnetWorkItemFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkspaceEditorsArgs = { pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkspacePersonasArgs = { filter?: InputMaybe<PlanmagnetProductPersonaFilter>; pagination?: InputMaybe<PlanmagnetPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlanmagnetWorkspaceQuotaOverviewArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPlatformEventTriggersArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPolicyReferenceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPolicyReferencesArgs = { filter?: InputMaybe<PolicyReferenceFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPolicyReferencesPageArgs = { filter?: InputMaybe<PolicyReferenceFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPollTriggersArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPomodoroGoalsArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPomodoroSessionArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPomodoroSessionsArgs = { filter?: InputMaybe<PomodoroSessionFilterInput>; orderBy?: InputMaybe<PomodoroSessionOrderByInput>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPomodoroSettingsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPomodoroStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPresenceArgs = { userIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewDataSinkAlertArgs = { condition: Scalars['String']['input']; conditionType: DataSinkAlertConditionType; dataSinkId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewMtwConsolidationManifestArgs = { expectedObservationSequence: Scalars['Int']['input']; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewMtwFreightInvoiceArgs = { input: PreviewMtwFreightInvoiceInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewMtwFreightTotalArgs = { input: MtwFreightFactsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewN8nImportArgs = { workflowJson: Scalars['JSON']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewPromptAnalysisArgs = { prompt: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewScheduleArgs = { count?: InputMaybe<Scalars['Int']['input']>; cronExpression?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; interval?: InputMaybe<Scalars['Int']['input']>; intervalUnit?: InputMaybe<Scalars['String']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; scheduleType: ScheduleType; startDate?: InputMaybe<Scalars['DateTime']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPreviewSmartCollectionArgs = { criteria: SmartCollectionCriteriaInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProbeAgentConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProbeAgentTunnelArgs = { agentApiKey?: InputMaybe<Scalars['String']['input']>; url: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProblemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProblemsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProductSubscriptionsArgs = { pagination?: InputMaybe<PaginationInput>; productId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProjectInvitationsArgs = { pagination?: InputMaybe<PaginationInput>; projectId: Scalars['ID']['input']; status?: InputMaybe<InviteStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProjectMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProjectMembersArgs = { filter?: InputMaybe<ProjectMemberFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProjectsArgs = { filter?: InputMaybe<ProjectFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptGuardrailPoliciesArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptGuardrailPolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptInvocationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptInvocationAttemptV2Args = { attemptKey: Scalars['String']['input']; revisionOffset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptInvocationsArgs = { filter?: InputMaybe<PromptInvocationFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptMcpServerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptMcpServersArgs = { isActive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptModelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptModelsArgs = { modality?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; providerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptProviderCredentialsArgs = { pagination?: InputMaybe<PaginationInput>; providerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptProvidersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptResultsArgs = { eventId: Scalars['ID']['input']; pagination?: InputMaybe<CalendarPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptTemplateByKeyArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptTemplateVersionsArgs = { pagination?: InputMaybe<PaginationInput>; templateId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptTemplatesArgs = { filter?: InputMaybe<PromptTemplateFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptUsageBreakdownV2Args = { from: Scalars['DateTime']['input']; groupBy: Array<PromptUsageDimensionV2>; operationKey?: InputMaybe<Scalars['String']['input']>; productKey?: InputMaybe<Scalars['String']['input']>; subjectId?: InputMaybe<Scalars['String']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; to: Scalars['DateTime']['input']; trigger?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptUsageSummaryArgs = { from: Scalars['DateTime']['input']; productKey?: InputMaybe<Scalars['String']['input']>; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPromptUsageSummaryV2Args = { from: Scalars['DateTime']['input']; operationKey?: InputMaybe<Scalars['String']['input']>; productKey?: InputMaybe<Scalars['String']['input']>; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProserviceworldCountMetricsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryProvenanceRecordsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswClientArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswComplianceCheckArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswComplianceObligationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswComplianceObligationsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswConflictCheckArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswCredentialRecordedReadinessArgs = { asOf: Scalars['DateTime']['input']; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswCredentialRequestOutcomeArgs = { operation: PswCredentialWriteOperation; requestKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswCredentialReviewsArgs = { credentialId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswCustomFieldDefinitionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswDashboardStatsArgs = { currency?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswDocumentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEcoReportCreationOutcomeArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEcoSiteCreationOutcomeArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEcoSpeciesCreationOutcomeArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEducationCreditArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEducationCreditsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; obligationId: Scalars['ID']['input']; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswEngagementArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswFindPrecedentsArgs = { input: PswFindPrecedentsInput; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswInvoiceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswIssuingBodiesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswIssuingBodyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListClientPortalInvitesArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListClientPortalUsersArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListClientsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswClientStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListComplianceChecksArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswComplianceStatus>; subjectId?: InputMaybe<Scalars['ID']['input']>; subjectType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListConflictChecksArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListCustomFieldDefinitionsArgs = { entityType?: InputMaybe<PswCustomFieldEntityType>; includeInactive?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListCustomFieldValuesArgs = { entityId: Scalars['ID']['input']; entityType: PswCustomFieldEntityType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListDataErasureRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<PswErasureRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListDeliverablesArgs = { engagementId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<PswDeliverableStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListDocumentsArgs = { classification?: InputMaybe<PswDocumentClassification>; engagementId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswDocumentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListEngagementsArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswEngagementStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListInvoicesArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswInvoiceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListMattersArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswMatterStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListMilestonesArgs = { engagementId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListPracticeAreasArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListSignatureAuditEventsArgs = { pagination?: InputMaybe<PaginationInput>; signatureRequestId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListSignatureRequestsArgs = { documentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<PswSignatureRequestStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListTeamAssignmentsArgs = { engagementId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; practitionerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListTimeEntriesArgs = { billable?: InputMaybe<Scalars['Boolean']['input']>; engagementId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; practitionerId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswTimeEntryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListTrustAccountsArgs = { pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<PswTrustAccountStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListTrustTransactionsArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; matterId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; trustAccountId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListTrustTransfersArgs = { clientId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; trustAccountId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswListWriteOffsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMatterArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyDataErasureRequestsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyDataSubjectRequestsArgs = { pagination?: InputMaybe<PaginationInput>; type?: InputMaybe<PswDataSubjectRequestType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyDocumentsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyInvoicesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<PswInvoiceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyLegalAcceptancesArgs = { checkpointType: PswLegalCheckpointType; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyMattersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswMyPendingSignatureRequestsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswObligationReminderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPracticeAnalyticsArgs = { capacityHoursPerWeek?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; months?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPracticeAreaArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPractitionerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPractitionerCredentialArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPractitionerCredentialsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswPractitionersArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswSignatureRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswTrustAccountArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPswTrustClientBalanceArgs = { clientId: Scalars['ID']['input']; matterId?: InputMaybe<Scalars['ID']['input']>; trustAccountId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPublicHealthyBowlSeedLotArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPublicHealthyBowlTraceBatchArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryPublicScheduleTemplatesArgs = { filter?: InputMaybe<ScheduleTemplateFilterInput>; pagination?: InputMaybe<SchedulerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryEventsArgs = { input: EventQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryFunnelArgs = { input: FunnelQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryMetricsArgs = { input: MetricsQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryPathsArgs = { input: PathQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryRetentionArgs = { input: RetentionQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryQueryWorkflowRunArgs = { args?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; rejectCondition?: InputMaybe<WorkflowQueryRejectCondition>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRbacAnalyticsArgs = { dateRange?: InputMaybe<AnalyticsDateRangeInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRbacChangeHistoryArgs = { filter?: InputMaybe<ChangeLogFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRbacChangeHistoryPageArgs = { filter?: InputMaybe<ChangeLogFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRbacConfigArgs = { scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRbacConfigValueArgs = { key: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRecentAiToolEventsArgs = { agentId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRecentErrorsArgs = { hours?: InputMaybe<Scalars['Int']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; nodeType?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRecentVibesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryReportArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryReportRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryReportRunsArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; reportId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryReportsArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRepositorySecurityConfigArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResolveExternalSecretReferencesArgs = { onBehalfOf?: InputMaybe<ExternalSecretPrincipalInput>; references: Array<ExternalSecretReferenceInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResolveFileStorageReferenceArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; s3Key?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResolveSecretsArgs = { input: ResolveSecretsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceAllocationsArgs = { pagination?: InputMaybe<PaginationInput>; planId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcePermissionOverridesArgs = { includeExpired?: InputMaybe<Scalars['Boolean']['input']>; resourceId?: InputMaybe<Scalars['String']['input']>; resourceType: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcePlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcePlansArgs = { filter?: InputMaybe<ResourcePlanFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceTreeArgs = { pagination?: InputMaybe<PaginationInput>; resourceType?: InputMaybe<Scalars['String']['input']>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceTreePageArgs = { pagination?: InputMaybe<PaginationInput>; resourceType?: InputMaybe<Scalars['String']['input']>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceTypesArgs = { includeUnmapped?: InputMaybe<Scalars['Boolean']['input']>; product?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourceTypesWithProductsArgs = { product?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcesArgs = { filter?: InputMaybe<ResourceFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcesByTypeArgs = { pagination?: InputMaybe<PaginationInput>; type: WorkspaceResourceType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryResourcesPageArgs = { filter?: InputMaybe<ResourceFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRevealSharedCredentialArgs = { shareId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRoleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRoleMembersArgs = { pagination?: InputMaybe<PaginationInput>; roleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRoleMembersPageArgs = { pagination?: InputMaybe<PaginationInput>; roleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRolesArgs = { filter?: InputMaybe<RoleFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRolesPageArgs = { filter?: InputMaybe<RoleFilterInput>; pagination?: InputMaybe<PaginationInput>; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRouteArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRoutesArgs = { filter?: InputMaybe<RouteFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRoutesCountArgs = { filter?: InputMaybe<RouteFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRuleSetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRuleSetsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRunAiUsageArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRunFailureClusterArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRunFailureClustersArgs = { filter?: InputMaybe<RunFailureClusterFilter>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRunFromNodeEligibilityArgs = { input: RunFromNodeEligibilityInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryRunningTimersArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySandboxAgentJobArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySandboxRunnersArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySandboxScriptRunArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySandboxScriptRunsArgs = { context: ContextInput; sandboxId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySavedQueriesArgs = { first?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; queryType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySavedQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryScheduleTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryScheduleTemplatesArgs = { filter?: InputMaybe<ScheduleTemplateFilterInput>; pagination?: InputMaybe<SchedulerPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryScheduleVersionHistoryArgs = { pagination?: InputMaybe<SchedulerPaginationInput>; scheduleId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryScheduledJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryScheduledJobsArgs = { filter?: InputMaybe<JobFilterInput>; pagination?: InputMaybe<SchedulerPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySchedulerMetricsArgs = { workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchArgs = { input: SearchRequestInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchAssetTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchBigconsoleTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchByEntityTypeArgs = { entityType: Scalars['String']['input']; filters?: InputMaybe<SearchFilterInput>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchConversationsArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<ConversationFilter>; first?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchCosTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchDashboardsArgs = { after?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<BigConsoleDashboardCategory>; first?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; visibility?: InputMaybe<BigConsoleDashboardVisibility>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchEntitiesByTagsArgs = { filter: TagSearchFilter; pagination?: InputMaybe<TagsPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchEventfullyManagedTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchFileContentsArgs = { input: ContentSearchInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchFilesArgs = { filter?: InputMaybe<FileFilterInput>; pagination?: InputMaybe<PaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchFluidgridsTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchFoldersArgs = { filter?: InputMaybe<FolderFilterInput>; pagination?: InputMaybe<PaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchGgnomadTransportArgs = { input: SearchGgnomadTransportInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchGroupsArgs = { filter?: InputMaybe<GroupFilter>; limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchGroupsConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; filter?: InputMaybe<GroupFilter>; first?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchIntelwatchtowerTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchKnowledgeArgs = { knowledgeBaseId: Scalars['ID']['input']; query: Scalars['String']['input']; topK?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchMessagesArgs = { after?: InputMaybe<Scalars['String']['input']>; conversationId?: InputMaybe<Scalars['ID']['input']>; filter?: InputMaybe<MessageFilter>; first?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchMetadataArgs = { filter?: InputMaybe<FileMetadataFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<MetadataSortInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchNotesArgs = { pagination?: InputMaybe<PaginationInput>; query: Scalars['String']['input']; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchProjectArgs = { entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; projectId: Scalars['ID']['input']; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; vocabularyId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchTemplatesArgs = { after?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<BigConsoleDashboardCategory>; complexity?: InputMaybe<BigConsoleDashboardTemplateComplexity>; first?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchUserActorsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchVaultsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchVaultsPaginatedArgs = { pagination?: InputMaybe<SecurityPaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchVibecontrolsTagsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchVibesArgs = { pagination?: InputMaybe<PaginationInput>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySearchWorkspaceArgs = { entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecretShareLinkInfoArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecretSharesArgs = { secretId?: InputMaybe<Scalars['ID']['input']>; vaultId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityComplianceFrameworkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityComplianceFrameworksArgs = { filter?: InputMaybe<SecurityComplianceFrameworkFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityFindingsArgs = { filter?: InputMaybe<SecurityFindingFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityGovernancePoliciesArgs = { filter?: InputMaybe<SecurityGovernancePolicyFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityGovernancePolicyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityPolicyDecisionArgs = { scanRunId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityScanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySecurityStatusArgs = { vibeId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemAgentProposalsArgs = { filter?: InputMaybe<SemAgentProposalsFilter>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemConnectorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemDataSourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemEntityArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemLineageArgs = { depth?: InputMaybe<Scalars['Int']['input']>; direction?: InputMaybe<SemLineageDirection>; rootId?: InputMaybe<Scalars['ID']['input']>; rootKind?: InputMaybe<SemLineageRootKind>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListAccessPoliciesArgs = { entityId?: InputMaybe<Scalars['ID']['input']>; modelId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListConnectionsArgs = { dataSourceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListConnectorsArgs = { kind?: InputMaybe<SemConnectorKind>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListDataSourcesArgs = { connectorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SemDataSourceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListEntitiesArgs = { modelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListModelsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SemModelStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListQueriesArgs = { modelId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SemQueryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListQueryRunsArgs = { pagination?: InputMaybe<PaginationInput>; queryId: Scalars['ID']['input']; status?: InputMaybe<SemQueryRunStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemListRelationshipsArgs = { modelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemModelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemQueryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemQueryAnalyticsArgs = { days?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemQueryRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemQueryRunResultArgs = { pagination?: InputMaybe<PaginationInput>; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemSqlCatalogArgs = { modelId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySemTranslateQuestionArgs = { input: SemNlQuestionInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryServiceOfferingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryServiceOfferingsArgs = { filter?: InputMaybe<MtwServiceOfferingFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryServiceProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryServiceProvidersArgs = { filter?: InputMaybe<MtwServiceProviderFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryServiceProvidersCountArgs = { filter?: InputMaybe<MtwServiceProviderFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionCollaboratorsArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionOutputArgs = { id: Scalars['ID']['input']; lines?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionRecordingArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionRecordingFramesArgs = { pagination?: InputMaybe<PaginationInput>; recordingId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionRecordingsArgs = { pagination?: InputMaybe<PaginationInput>; sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionShareLinksArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionSharesArgs = { sessionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionsArgs = { filter?: InputMaybe<SessionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySessionsSharedWithMeArgs = { filter?: InputMaybe<SharedWithMeFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShareGrantByTokenArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySharedVibeDeckArgs = { password?: InputMaybe<Scalars['String']['input']>; token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySharesSharedWithMeArgs = { pagination?: InputMaybe<PaginationInput>; resourceType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentLegsArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentStatusDecisionsArgs = { pagination?: InputMaybe<PaginationInput>; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentTrackingArgs = { pagination?: InputMaybe<PaginationInput>; shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentsArgs = { filter?: InputMaybe<ShipmentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShipmentsCountArgs = { filter?: InputMaybe<ShipmentFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryShippingQuotesArgs = { input: ShippingQuoteInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySiemDestinationsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySoftwareAssetsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAdminListNegotiationsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubNegotiationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAdminListProcurementExpertsArgs = { includeInactive?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAdminListProcurementRequestsArgs = { expertId?: InputMaybe<Scalars['ID']['input']>; mine?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubProcurementStatus>; unassignedOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAdminNegotiationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAdminProcurementRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubBankConnectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubBenchmarkSummaryArgs = { currency?: InputMaybe<Scalars['String']['input']>; interval?: InputMaybe<SubBillingInterval>; planName: Scalars['String']['input']; providerSlug: Scalars['String']['input']; region?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubDecisionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubDetectOverlapsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubEnterpriseSpendDashboardArgs = { currency?: InputMaybe<Scalars['String']['input']>; highCostThreshold?: InputMaybe<Scalars['Float']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListAdapterSubmissionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubSubmissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListAgentSweepsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListAgentsArgs = { kind?: InputMaybe<SubAgentKind>; ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubAgentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListAssetsArgs = { pagination?: InputMaybe<PaginationInput>; relationshipId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListBankConnectionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListBankTransactionsArgs = { connectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; recurringChargeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListBenchmarkDataPointsArgs = { filter?: InputMaybe<SubBenchmarkFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListChannelsArgs = { ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListDecisionsArgs = { filter?: InputMaybe<SubDecisionFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListEntitlementsArgs = { pagination?: InputMaybe<PaginationInput>; relationshipId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListInboxMessagesArgs = { category?: InputMaybe<SubMessageCategory>; channelId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; relationshipId?: InputMaybe<Scalars['ID']['input']>; unreadOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListInvoicesArgs = { pagination?: InputMaybe<PaginationInput>; relationshipId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<SubInvoiceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListMarketplaceReportsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubReportStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListNegotiationsArgs = { pagination?: InputMaybe<PaginationInput>; relationshipId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<SubNegotiationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListPaymentInstrumentsArgs = { ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListPlansArgs = { pagination?: InputMaybe<PaginationInput>; providerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListPoliciesArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListProcurementRequestsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubProcurementStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListProvidersArgs = { category?: InputMaybe<SubProviderCategory>; pagination?: InputMaybe<PaginationInput>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SubProviderStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListRecurringChargesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubRecurringChargeStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListRelationshipsArgs = { kind?: InputMaybe<SubRelationshipKind>; ownerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; providerId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SubRelationshipStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListRenewalEventsArgs = { pagination?: InputMaybe<PaginationInput>; relationshipId?: InputMaybe<Scalars['ID']['input']>; upcomingOnly?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubListWorkflowsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<SubWorkflowStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubNegotiationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubProcurementRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubProviderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubProviderAlternativesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; providerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubProviderPriceHistoryArgs = { providerId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubRelationshipArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubRenewalForecastArgs = { currency?: InputMaybe<Scalars['String']['input']>; from?: InputMaybe<Scalars['DateTime']['input']>; statuses?: InputMaybe<Array<SubRelationshipStatus>>; to?: InputMaybe<Scalars['DateTime']['input']>; trialWindowDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubscribedProductArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySubscribedProductsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QuerySupervisorRunsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTargetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTargetsArgs = { filter?: InputMaybe<TargetFilterInput>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTaskQueueStatsArgs = { environment?: InputMaybe<WorkflowEnvironment>; name: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTaskQueueWorkersArgs = { context: ContextInput; name: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTasksArgs = { filter?: InputMaybe<TaskFilterInput>; orderBy?: InputMaybe<TaskOrderByInput>; pagination?: InputMaybe<PaginationInput>; projectId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpAiContextRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpAiContextRunsArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; storyId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpAiSpendSummaryArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpArchiveItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpCollectionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpDiscussionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListArchiveItemsArgs = { accessLevel?: InputMaybe<TcpAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<TcpArchiveItemKind>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListCitationsArgs = { pagination?: InputMaybe<PaginationInput>; storyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListCollectionsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListDiscussionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TcpModerationStatus>; storyId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListOralHistoriesArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListRepliesArgs = { discussionId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TcpModerationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListRestrictedArchiveItemsArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListRestrictedOralHistoriesArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListStoriesArgs = { featured?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TcpStoryStatus>; topicId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListStoryClaimsArgs = { storyId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpListTopicsArgs = { category?: InputMaybe<TcpTopicCategory>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpMySavedStoriesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpOralHistoryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicArchiveItemArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicArchiveItemsArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<TcpArchiveItemKind>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicCollectionArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicCollectionsArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicOralHistoriesArgs = { collectionId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpPublicOralHistoryArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpRestrictedArchiveItemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpRestrictedOralHistoryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpStoryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTcpTopicArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTeamWorkPatternSummaryArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTeamWorkPatternsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecAssessmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecAssessmentAttemptArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecAssessmentAttemptEventsArgs = { attemptId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecAssessmentQuestionKeyArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCalculateSessionCostArgs = { durationMinutes?: InputMaybe<Scalars['Int']['input']>; mentorId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalCertificateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalCertificatesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalCoursesArgs = { level?: InputMaybe<TecCourseLevel>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecCourseStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalEnrollmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalLessonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalLessonsArgs = { courseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCanonicalLmsParityArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCertificateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecCourseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecExportXapiStatementsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; since?: InputMaybe<Scalars['DateTime']['input']>; until?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecGreenhouseAssessmentsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecGreenhouseInvitationArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecHackathonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecHrisPushIssuesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecLessonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecLessonQuizKeyArgs = { lessonId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListAssessmentAttemptsArgs = { assessmentId?: InputMaybe<Scalars['ID']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; proctoringStatus?: InputMaybe<TecProctoringStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListAssessmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecAssessmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListCertificatesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListCoursesArgs = { level?: InputMaybe<TecCourseLevel>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecCourseStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListEnrollmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListHackathonsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecHackathonStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListLessonsArgs = { courseId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListMentorsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecMentorStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListPayoutsArgs = { mentorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecPayoutStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListProblemTestCasesArgs = { problemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListProblemTestCasesForAuthorArgs = { problemId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListProblemsArgs = { company?: InputMaybe<Scalars['String']['input']>; difficulty?: InputMaybe<TecProblemDifficulty>; interviewFrequency?: InputMaybe<TecInterviewFrequency>; pagination?: InputMaybe<PaginationInput>; role?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<TecProblemStatus>; topic?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListSessionsArgs = { menteeId?: InputMaybe<Scalars['ID']['input']>; mentorId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecSessionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListSubmissionsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; learnerId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; problemId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecListTeamsArgs = { hackathonId: Scalars['ID']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMentorArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyAssessmentAttemptArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyAssessmentAttemptsArgs = { assessmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyCertificateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyCertificatesArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyEnrollmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyEnrollmentsArgs = { courseId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyGreenhouseCertificatesArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyPayoutsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecPayoutStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyReminderDeliveriesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; subjectId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMySessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMySessionsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TecSessionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyStudyPlanArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMyStudyPlansArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMySubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMySubmissionReviewArgs = { submissionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecMySubmissionsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; problemId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecProblemArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecPublicPortfolioArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecSubmissionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecTeamArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecVerifyCertificateArgs = { serial: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTecVerifyCertificatesArgs = { serials: Array<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTestParserExpressionArgs = { input: TestParserInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheAllocationExceptionsArgs = { measurementAssetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheAllocationPeriodCloseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheAllocationStatementArgs = { measurementAssetId?: InputMaybe<Scalars['ID']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheAssetArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheCarbonCreditArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheCarbonOffsetPositionArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheChainNetworkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheCompareForecastScenariosArgs = { ids: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheComplianceCertArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheConditionRuleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheContractArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheContractLiftingPositionsArgs = { contractId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheDemandForecastArgs = { commodity: TheCommodityType; demandFactor?: InputMaybe<Scalars['Float']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; unit?: InputMaybe<TheUnit>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheEquipmentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheEsgDisclosureArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheExplainProvenanceArgs = { entityId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheExportEsgDisclosureArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheForecastAccuracyArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; period?: InputMaybe<TheForecastAccuracyPeriod>; snapshotId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheForecastScenarioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheForecastSnapshotArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheInterestDeckArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheInterestDeckInForceArgs = { assetId: Scalars['ID']['input']; at: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListAllocationPeriodClosesArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheAllocationPeriodStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListAssetHandlerAssetsArgs = { cursor?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListAssetsArgs = { commodity?: InputMaybe<TheCommodityType>; kind?: InputMaybe<TheAssetKind>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheAssetStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListCarbonCreditsArgs = { pagination?: InputMaybe<PaginationInput>; registry?: InputMaybe<TheCarbonRegistry>; status?: InputMaybe<TheCarbonCreditStatus>; vintageYear?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListCarbonRetirementsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; creditId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListChainNetworksArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListComplianceCertsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<TheComplianceCategory>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheComplianceStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListConditionRulesArgs = { active?: InputMaybe<Scalars['Boolean']['input']>; equipmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListContractEntitlementsArgs = { allocationId?: InputMaybe<Scalars['ID']['input']>; contractId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListContractsArgs = { commodity?: InputMaybe<TheCommodityType>; pagination?: InputMaybe<PaginationInput>; side?: InputMaybe<TheContractSide>; status?: InputMaybe<TheContractStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListCorrectiveActionsArgs = { incidentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheCorrectiveActionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListEmissionRecordsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; scope?: InputMaybe<TheEmissionScope>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListEquipmentArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<TheEquipmentCategory>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheEquipmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListEsgDisclosuresArgs = { framework?: InputMaybe<TheEsgFramework>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListForecastScenariosArgs = { commodity?: InputMaybe<TheCommodityType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListForecastSnapshotsArgs = { commodity?: InputMaybe<TheCommodityType>; pagination?: InputMaybe<PaginationInput>; scenarioId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListInterestDecksArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListInventoryLotsArgs = { commodity?: InputMaybe<TheCommodityType>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheInventoryStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListMaintenanceSchedulesArgs = { active?: InputMaybe<Scalars['Boolean']['input']>; dueBefore?: InputMaybe<Scalars['DateTime']['input']>; equipmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListPriceIndexesArgs = { commodity?: InputMaybe<TheCommodityType>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListPricePointsArgs = { from?: InputMaybe<Scalars['DateTime']['input']>; indexId: Scalars['ID']['input']; kind?: InputMaybe<ThePricePointKind>; pagination?: InputMaybe<PaginationInput>; to?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListProductionAllocationsArgs = { correctsAllocationId?: InputMaybe<Scalars['ID']['input']>; measurementAssetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; productionRecordId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<TheAllocationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListProductionRecordsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListReserveEstimatesArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<TheReserveCategory>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListReserveValuationsArgs = { pagination?: InputMaybe<PaginationInput>; reserveEstimateId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<TheReserveValuationStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListSafetyIncidentsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<TheSafetyIncidentCategory>; pagination?: InputMaybe<PaginationInput>; severity?: InputMaybe<TheSafetyIncidentSeverity>; status?: InputMaybe<TheSafetyIncidentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListServiceContractsArgs = { expiringWithinDays?: InputMaybe<Scalars['Int']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheServiceContractStatus>; supplierId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListShipmentsArgs = { contractId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<TheShipmentStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListSupplierScorecardsArgs = { pagination?: InputMaybe<PaginationInput>; serviceContractId?: InputMaybe<Scalars['ID']['input']>; supplierId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListSuppliersArgs = { classification?: InputMaybe<TheSupplierClassification>; pagination?: InputMaybe<PaginationInput>; riskLevel?: InputMaybe<TheSupplierRiskLevel>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<TheSupplierStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListUnitConversionsArgs = { commodity: TheCommodityType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheListWorkOrdersArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; assigneeId?: InputMaybe<Scalars['ID']['input']>; equipmentId?: InputMaybe<Scalars['ID']['input']>; overdueOnly?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<PaginationInput>; priority?: InputMaybe<TheMaintenancePriority>; status?: InputMaybe<TheWorkOrderStatus>; type?: InputMaybe<TheWorkOrderType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheMaintenanceHistoryArgs = { assetId: Scalars['ID']['input']; equipmentId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheMyLegalAcceptancesArgs = { checkpointType: TheLegalCheckpointType; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheNetProductionPositionArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; reportingUnit?: InputMaybe<TheUnit>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheOptimizeChainNetworkArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThePortfolioOverviewArgs = { commodity?: InputMaybe<TheCommodityType>; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; periodStart?: InputMaybe<Scalars['DateTime']['input']>; region?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThePositionValuationArgs = { input: ThePositionValuationInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThePreviewChainNetworkArgs = { input: TheChainNetworkInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThePreviewForecastScenarioArgs = { input: TheForecastScenarioInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThePriceIndexArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheProductionAllocationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheProductionForecastArgs = { assetId: Scalars['ID']['input']; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; method?: InputMaybe<TheForecastMethod>; unit?: InputMaybe<TheUnit>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheProvenanceCertificateArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheReactiveWorkOrderSuggestionsArgs = { assetId?: InputMaybe<Scalars['ID']['input']>; pagination?: InputMaybe<PaginationInput>; since?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheReserveValuationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheRunForecastScenarioArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheSafetyIncidentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheServiceContractArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheShipmentSourcesArgs = { shipmentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheSupplierArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheTraceProvenanceArgs = { direction: TheProvenanceDirection; entityId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheWeatherGenerationForecastArgs = { assetId: Scalars['ID']['input']; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; unit?: InputMaybe<TheUnit>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTheWorkOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryThreadArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; messageId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusAdminWorkspaceStateArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusAppletArgs = { key: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusAppletBridgeDataArgs = { appletKey: Scalars['String']['input']; scope: Scalars['String']['input']; source?: InputMaybe<TimeCampusAppletSource>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusAppletReviewQueueArgs = { status?: InputMaybe<TimeCampusAppletVersionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusAppletsArgs = { filter?: InputMaybe<TimeCampusAppletFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusCaptureEventArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusCaptureEventsArgs = { filter?: InputMaybe<TimeCampusCaptureEventFilterInput>; from?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; to?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusDataErasureRequestsArgs = { userId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusExportJobArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFeatureFlagsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFocusBlockSuggestionsArgs = { dayStart: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFocusBlocksArgs = { from: Scalars['DateTime']['input']; status?: InputMaybe<TimeCampusFocusBlockStatus>; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFocusSessionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFocusSessionsArgs = { filter?: InputMaybe<TimeCampusFocusSessionFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusFocusSummaryArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusImpersonationAuditArgs = { targetUserId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusInvoiceArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusInvoiceHtmlArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusInvoicePdfArgs = { id: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusInvoiceStatsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusInvoicesArgs = { filter?: InputMaybe<TimeCampusInvoiceFilterInput>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusLakeRowsArgs = { datasetId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusMarketplaceCertificationQueueArgs = { status?: InputMaybe<TimeCampusMarketplaceSubmissionStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusMyThirdPartyAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusMyTimeTriggerFiringsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; triggerId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusProjectArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusProjectStatsArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusProjectsArgs = { filter?: InputMaybe<TimeCampusProjectFilterInput>; orderBy?: InputMaybe<TimeCampusProjectOrderByInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusReviewThirdPartyAppletArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusTemplateApplicationsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusTimelineArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusWorkspaceQuotaOverviewArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusWorkspaceTemplateArgs = { key: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeCampusWorkspaceTemplatesArgs = { category?: InputMaybe<TimeCampusTemplateCategory>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntriesArgs = { filter?: InputMaybe<TimeEntryFilterInput>; orderBy?: InputMaybe<TimeEntryOrderByInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntriesByDateArgs = { date: Scalars['DateTime']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntryArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntryCountArgs = { filter?: InputMaybe<TimeEntryFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntryStatsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeEntrySummaryArgs = { input: TimeEntrySummaryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTimeIntelligenceSweepsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryToolApprovalRequestArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTopApplicationsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTrackingAlertsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTransactionArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTransactionsArgs = { pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTraverseGraphArgs = { input: GraphTraversalInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelAuditArgs = { pagination?: InputMaybe<PaginationInput>; tunnelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelBySlugArgs = { slug: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelDomainArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelDomainsArgs = { filter?: InputMaybe<TunnelDomainFilterInput>; pagination?: InputMaybe<PaginationInput>; tunnelId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelProviderArgs = { key: TunnelProviderKey; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelSessionsArgs = { pagination?: InputMaybe<PaginationInput>; tunnelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelShardsArgs = { environment?: InputMaybe<TunnelEnvironment>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelUsageArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; tunnelId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTunnelsArgs = { filter?: InputMaybe<TunnelFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryTypingIndicatorsArgs = { conversationId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUiSessionByIdArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUnreadMessagesArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUpcomingEventsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUpcomingMeetingsArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUsageMetricsArgs = { input: UsageQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUsageTimeSeriesArgs = { input: TimeSeriesInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUserAllocationsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryUserWorkspacesArgs = { pagination?: InputMaybe<PaginationInput>; userId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateConsoleDefinitionArgs = { definition: Scalars['JSON']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateDashboardImportArgs = { content: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateInviteLinkArgs = { code: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateShareLinkArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateTagAssignmentArgs = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateTimeCampusAppletManifestArgs = { manifest: Scalars['JSON']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateVibeDeckShareLinkArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryValidateWorkflowDefinitionArgs = { definitionJson: Scalars['JSON']['input']; strict?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVehicleArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVehiclesArgs = { filter?: InputMaybe<VehicleFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVehiclesCountArgs = { filter?: InputMaybe<VehicleFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVerifyAuditIntegrityArgs = { endSequence?: InputMaybe<Scalars['Int']['input']>; startSequence?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVerifyHealthyBowlTraceBatchIntegrityArgs = { context: ContextInput; id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVerifyWorkspaceTokenArgs = { token: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeAuditLogArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeAuditLogStatsArgs = { filter?: InputMaybe<VibeAuditLogFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeAuditLogsArgs = { filter?: InputMaybe<VibeAuditLogFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeCalendarExecutionsArgs = { taskId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeCalendarTaskArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeCalendarTasksArgs = { calendarId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeDeckArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeDeckButtonArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeDeckButtonsArgs = { filter?: InputMaybe<VibeDeckButtonFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeDeckShareLinksArgs = { vibeDeckId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeDecksArgs = { filter?: InputMaybe<VibeDeckFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeHierarchyArgs = { rootId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeLlmContextTokenAuditsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; tokenId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibeSecurityPoliciesArgs = { vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentConnectionEventsArgs = { agentId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; sinceSequence?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentEncryptionKeyArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentNetworkLookupArgs = { operation: Scalars['String']['input']; targetAgentRecordId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentProfilesArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentSecretRevealArgs = { agentId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAgentsArgs = { filter?: InputMaybe<VibecontrolsAgentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsAnalyticsArgs = { input: VibecontrolsAnalyticsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsCatalogArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsCatalogDependencyGraphArgs = { catalogId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsCatalogSbomArgs = { catalogId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsCatalogsArgs = { filter?: InputMaybe<CatalogFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsComponentArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsComponentsArgs = { filter?: InputMaybe<ComponentFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsDocsSiteByOwnerArgs = { ownerId: Scalars['ID']['input']; ownerType: VibecontrolsDocsSiteOwnerType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsEntityTagsArgs = { input: GetEntityTagsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsNotesByTagsArgs = { pagination?: InputMaybe<PaginationInput>; tags: Array<Scalars['String']['input']>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsResolveIntegrationTokenArgs = { connectionId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsScorecardArgs = { ownerId: Scalars['ID']['input']; ownerType: ScorecardOwnerType; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsScorecardMetricHistoryArgs = { limit?: InputMaybe<Scalars['Int']['input']>; metricId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsScorecardsArgs = { ownerType?: InputMaybe<ScorecardOwnerType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsSessionConnectionEventsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; sessionId: Scalars['ID']['input']; sinceSequence?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsTemplateArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibecontrolsTemplatesArgs = { filter?: InputMaybe<VibecontrolsTemplateFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVibesArgs = { filter?: InputMaybe<VibeFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryVisibilityRulesArgs = { resourceIdentifier: Scalars['String']['input']; resourceType: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWaitForAssistantReadyArgs = { context: ContextInput; id: Scalars['ID']['input']; timeoutSeconds?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWaitForSandboxRunningArgs = { context: ContextInput; id: Scalars['ID']['input']; timeoutSeconds?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWarehouseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWarehousesArgs = { filter?: InputMaybe<WarehouseFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWarehousesCountArgs = { filter?: InputMaybe<WarehouseFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWebhookArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWebhookDeliveryLogsArgs = { eventRegistrationId: Scalars['String']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWebhookTestListenerArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWebhooksArgs = { filter?: InputMaybe<WebhookFilterInput>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWebhooksByEventArgs = { event: Scalars['String']['input']; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkOrderArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkOrdersArgs = { filter?: InputMaybe<WorkOrderFilterInput>; pagination?: InputMaybe<AssetHandlerPaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkPatternArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkPatternSummaryArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkPatternsArgs = { endDate?: InputMaybe<Scalars['DateTime']['input']>; pagination?: InputMaybe<PaginationInput>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerActivityPauseRulesArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerAgentProfileArgs = { nodeId: Scalars['String']['input']; runId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerCodingAgentAccessArgs = { nodeId: Scalars['String']['input']; runId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerCompatibleBuildIdsArgs = { buildIds: Array<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerDataTableGetRowsArgs = { input: WorkerDataTableRowsQueryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerFetchCodeBundleArgs = { buildId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerFetchHistoryArgs = { after: Scalars['Int']['input']; limit?: InputMaybe<Scalars['Int']['input']>; runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerGetExecutionContextArgs = { runId: Scalars['ID']['input']; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerGetNodeStatesArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerGetWorkflowStaticDataArgs = { workflowKey: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerGetWorkflowVariablesArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerResolveNodeEndpointArgs = { nodeType: Scalars['String']['input']; nodeVersion?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerRunAiCostArgs = { runId: Scalars['ID']['input']; tree?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerRunStatusesArgs = { runIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerTokensArgs = { context: ContextInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkerWorkflowWorkspaceAiPolicyArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowBatchOperationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowBatchOperationsArgs = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<WorkflowBatchJobStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowByKeyArgs = { key: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowCallInputsArgs = { version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowCodeArchiveArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowCodeBundleArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowCodeReplaceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowCodeSourceArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowDataSinkLinksArgs = { workflowId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowDefinitionArgs = { id?: InputMaybe<Scalars['ID']['input']>; version?: InputMaybe<Scalars['String']['input']>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowDefinitionsArgs = { includeAll?: InputMaybe<Scalars['Boolean']['input']>; input: ListWorkflowDefinitionsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowDetailsArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowEditLeaseArgs = { sessionId?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowEnvironmentsArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowExecutionLogsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; runId: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowGenerationArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowGenerationCatalogArgs = { nodeType?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowGitCommitsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowGitDiffArgs = { commitSha: Scalars['String']['input']; version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowGitPushesArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowHumanRequestsArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowInterfaceArgs = { version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowNotificationSettingsArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowPromotionRequestsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<WorkflowPromotionStatus>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowProposalArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRolloutsArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunByWorkflowIdArgs = { firstRunId?: InputMaybe<Scalars['ID']['input']>; workflowId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunDeterminismStatusArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunEventPayloadArgs = { runId: Scalars['ID']['input']; seq: Scalars['Int']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunHierarchyArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunHistoryArgs = { after?: InputMaybe<Scalars['Int']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunLogsArgs = { after?: InputMaybe<Scalars['String']['input']>; includeChildRuns?: InputMaybe<Scalars['Boolean']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; minLevel?: InputMaybe<RunLogLevel>; nodeId?: InputMaybe<Scalars['String']['input']>; runId: Scalars['ID']['input']; search?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunStackTraceArgs = { enhanced?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['Boolean']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunUpdateArgs = { runId?: InputMaybe<Scalars['ID']['input']>; target?: InputMaybe<RunTargetInput>; updateId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunsArgs = { input: ListWorkflowRunsInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowRunsCountArgs = { filter?: InputMaybe<ListWorkflowRunsInput>; groupBy?: InputMaybe<Array<RunGroupBy>>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowScheduleDescribeArgs = { triggerNodeId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowScheduledJobArgs = { jobId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowScheduledJobsArgs = { enabled?: InputMaybe<Scalars['Boolean']['input']>; pagination?: InputMaybe<WorkflowPaginationInput>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowSearchArgs = { input: WorkflowSearchRequestInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowSearchByEntityTypeArgs = { entityType: Scalars['String']['input']; filters?: InputMaybe<WorkflowSearchFilterInput>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowSharingArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowSignalTokensArgs = { runId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowStaticDataArgs = { nodeId?: InputMaybe<Scalars['String']['input']>; scope: StaticDataScope; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowStaticDataListArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowSummaryArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowTestCaseArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowTestCasesArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowTestRunArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowTestRunsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowUsageSummaryArgs = { input: WorkflowUsageSummaryInput; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowVariableArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowVariablesArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; scope?: InputMaybe<VariableScope>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowVersionDiffArgs = { fromVersion: Scalars['String']['input']; toVersion: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowVersionDrainageArgs = { version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowVersionsArgs = { workflowKey: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowWorkersArgs = { context: ContextInput; filter?: InputMaybe<SandboxWorkflowWorkersFilter>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkflowsArgs = { filter?: InputMaybe<FluidGridsWorkflowFilterInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceAiUsageArgs = { from: Scalars['DateTime']['input']; to: Scalars['DateTime']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceAuditLogsArgs = { eventType?: InputMaybe<Scalars['String']['input']>; pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceCompositionArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceDirectoryArgs = { filter?: InputMaybe<WorkspaceDirectoryFilter>; pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceInstalledAppArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceInstalledAppByNameArgs = { appName: Scalars['String']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceInvitationsArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<InviteStatus>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceInvitesArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceJobExecutionsArgs = { filter?: InputMaybe<WorkspaceJobExecutionsFilter>; pagination?: InputMaybe<SchedulerPaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceMemberArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceMemberEligibilityArgs = { userIds: Array<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceMemberIdentitiesArgs = { userIds: Array<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceMembersArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceMyLegalAcceptancesArgs = { checkpointType: WorkspaceLegalCheckpointType; productKey?: InputMaybe<Scalars['String']['input']>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceQuotaAssignmentsArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceQuotaHistoryArgs = { limit?: InputMaybe<Scalars['Int']['input']>; quotaName: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceQuotaOverviewArgs = { productId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceQuotaStatusesArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceResourceArgs = { id: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceResourcesArgs = { pagination?: InputMaybe<PaginationInput>; status?: InputMaybe<WorkspaceResourceStatus>; type?: InputMaybe<WorkspaceResourceType>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceScheduleQuotasArgs = { workspaceId: Scalars['ID']['input']; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceSecurityReportArgs = { input?: InputMaybe<WorkspaceSecurityReportInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspaceTunnelAuditArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * Base Query type with placeholder field. * Extended by individual query files. */ export type QueryWorkspacesArgs = { filter?: InputMaybe<WorkspaceFilterInput>; pagination?: InputMaybe<PaginationInput>; }; export type QueueKnowledgeSourceInput = { clientRequestId: Scalars['ID']['input']; /** UTF-8 source text, at most 256 KiB. Supply content or sourceUrl. */ content?: InputMaybe<Scalars['String']['input']>; knowledgeBaseId: Scalars['ID']['input']; /** Exact public HTTPS page. No credentials, private networking or cross-origin redirects. */ sourceUrl?: InputMaybe<Scalars['String']['input']>; title: Scalars['String']['input']; }; export type QuotaWarningEvent = { __typename?: 'QuotaWarningEvent'; limit: Scalars['Float']['output']; metadata?: Maybe<Scalars['String']['output']>; percentage: Scalars['Float']['output']; timestamp: Scalars['DateTime']['output']; type: FileEventType; used: Scalars['Float']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type RagConfiguration = { __typename?: 'RAGConfiguration'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; knowledgeBaseId: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; minScore: Scalars['Float']['output']; name: Scalars['String']['output']; rerankingEnabled: Scalars['Boolean']['output']; rerankingModel?: Maybe<Scalars['String']['output']>; searchStrategy: Scalars['String']['output']; topK: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum RsvpStatus { Accepted = "ACCEPTED", Declined = "DECLINED", NoResponse = "NO_RESPONSE", Tentative = "TENTATIVE" } /** RBAC analytics summary */ export type RbacAnalytics = { __typename?: 'RbacAnalytics'; /** Permission checks that were allowed */ allowedChecks: Scalars['Int']['output']; /** Approval rate (0-100) */ approvalRate: Scalars['Float']['output']; /** Permission checks that were denied */ deniedChecks: Scalars['Int']['output']; scopeId: Scalars['String']['output']; /** Most checked permission actions */ topActions: Array<ActionCount>; /** Most active actors */ topActors: Array<ActorCount>; /** Total role assignments in scope */ totalAssignments: Scalars['Int']['output']; /** Total permission checks in the period */ totalChecks: Scalars['Int']['output']; /** Total permission overrides in scope */ totalOverrides: Scalars['Int']['output']; /** Total registered resources in scope */ totalResources: Scalars['Int']['output']; /** Total roles in scope */ totalRoles: Scalars['Int']['output']; /** Total visibility rules in scope */ totalVisibilityRules: Scalars['Int']['output']; }; /** RBAC configuration change log entry */ export type RbacChangeLog = { __typename?: 'RbacChangeLog'; changeType: RbacChangeType; changedAt: Scalars['DateTime']['output']; changedBy: Scalars['String']['output']; description: Scalars['String']['output']; details?: Maybe<Scalars['JSON']['output']>; entityId: Scalars['String']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; scopeId: Scalars['String']['output']; }; export type RbacChangeLogPage = { __typename?: 'RbacChangeLogPage'; items: Array<RbacChangeLog>; pageInfo: OffsetPageInfo; }; /** Types of RBAC configuration changes for audit log */ export declare enum RbacChangeType { ActorOverrideCreated = "ACTOR_OVERRIDE_CREATED", ActorOverrideRemoved = "ACTOR_OVERRIDE_REMOVED", ConfigUpdated = "CONFIG_UPDATED", DefaultPermissionRemoved = "DEFAULT_PERMISSION_REMOVED", DefaultPermissionSet = "DEFAULT_PERMISSION_SET", ResourceDeactivated = "RESOURCE_DEACTIVATED", ResourceRegistered = "RESOURCE_REGISTERED", ResourceUpdated = "RESOURCE_UPDATED", RoleAssigned = "ROLE_ASSIGNED", RoleCreated = "ROLE_CREATED", RoleDeleted = "ROLE_DELETED", RoleOverrideCreated = "ROLE_OVERRIDE_CREATED", RoleOverrideRemoved = "ROLE_OVERRIDE_REMOVED", RoleRemoved = "ROLE_REMOVED", RoleUpdated = "ROLE_UPDATED", VisibilityRuleCreated = "VISIBILITY_RULE_CREATED", VisibilityRuleRemoved = "VISIBILITY_RULE_REMOVED", VisibilityRuleUpdated = "VISIBILITY_RULE_UPDATED" } /** RBAC configuration key-value pair */ export type RbacConfig = { __typename?: 'RbacConfig'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; scopeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; value: Scalars['String']['output']; valueType: Scalars['String']['output']; }; /** RBAC entity type exposed to the platform tags module. */ export type RbacTaggableEntityType = { __typename?: 'RbacTaggableEntityType'; description: Scalars['String']['output']; displayName: Scalars['String']['output']; entityType: Scalars['String']['output']; }; export type Reaction = { __typename?: 'Reaction'; createdAt: Scalars['DateTime']['output']; emoji: Scalars['String']['output']; id: Scalars['ID']['output']; message: Message; messageId: Scalars['ID']['output']; userId: Scalars['ID']['output']; }; export declare enum ReactionChangeType { Added = "ADDED", Removed = "REMOVED" } export type ReactionCount = { __typename?: 'ReactionCount'; count: Scalars['Int']['output']; currentUserReacted: Scalars['Boolean']['output']; emoji: Scalars['String']['output']; hasMore: Scalars['Boolean']['output']; users: Array<Scalars['ID']['output']>; }; /** Reaction summary (aggregated by emoji) */ export type ReactionSummary = { __typename?: 'ReactionSummary'; count: Scalars['Int']['output']; emoji: Scalars['String']['output']; userIds: Array<Scalars['ID']['output']>; }; /** * Input for receiving a message from an external channel platform. * Called by module-channel-svc when a webhook event is received. * This follows the spec in 01-scope-boundaries.md (lines 374-407). */ export type ReceiveChannelMessageInput = { /** File attachments from the platform */ attachments?: InputMaybe<Array<ChannelAttachmentInput>>; /** The channel ID from module-channel-svc */ channelId: Scalars['ID']['input']; /** Platform-specific message ID for deduplication */ channelMessageId: Scalars['String']['input']; /** The channel platform type */ channelType: ChannelPlatform; /** Message text content */ content: Scalars['String']['input']; /** Content type of the message */ contentType?: InputMaybe<MessageContentType>; /** If known, append to this existing conversation */ conversationId?: InputMaybe<Scalars['ID']['input']>; /** Platform-specific thread/conversation ID (e.g., Slack channel ID) */ externalThreadId?: InputMaybe<Scalars['String']['input']>; /** Additional platform-specific metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Sender information from the external platform */ sender: ChannelSenderInput; /** When the message was sent on the platform */ sentAt: Scalars['DateTime']['input']; }; /** Payload returned by receiveChannelMessage mutation. */ export type ReceiveChannelMessagePayload = { __typename?: 'ReceiveChannelMessagePayload'; /** The conversation ID where the message was added */ conversationId?: Maybe<Scalars['ID']['output']>; /** Error message if status is ERROR */ error?: Maybe<Scalars['String']['output']>; /** The created message ID */ messageId?: Maybe<Scalars['ID']['output']>; /** Status of the operation */ status: ChannelMessageStatus; }; export type RecentRun = { __typename?: 'RecentRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; duration?: Maybe<Scalars['Float']['output']>; id: Scalars['String']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export type RecentWorkflow = { __typename?: 'RecentWorkflow'; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export type Recipe = { __typename?: 'Recipe'; category: Scalars['String']['output']; costPerUnit: Scalars['Float']['output']; id: Scalars['ID']['output']; ingredients: Array<RecipeIngredient>; name: Scalars['String']['output']; processingTime: Scalars['Int']['output']; product: Scalars['String']['output']; steps: Array<Scalars['String']['output']>; yieldQuantity: Scalars['Float']['output']; yieldUnit: Scalars['String']['output']; }; export type RecipeIngredient = { __typename?: 'RecipeIngredient'; name: Scalars['String']['output']; quantity: Scalars['Float']['output']; unit: Scalars['String']['output']; }; export type RecomputeHealthyBowlGhgInventoryInput = { context: ContextInput; farmId: Scalars['ID']['input']; /** Reporting year (calendar). Defaults to the current year. */ year?: InputMaybe<Scalars['Int']['input']>; }; export type RecordActivityInput = { /** * The action performed, in the platform taxonomy `<domain>.<resource>.<verb>` * (e.g. `tags.tag.create`, `auth.session.revoke`). * * This is a free-form String rather than the `ActivityType` enum: the persisted column is * `ActivityLog.action String` and the read type already exposes `action: String!`, so the enum * constrained only the write side. That asymmetry silently rejected every product action outside * the 72 enum values — including all `<product>.*` actions emitted by `@burdenoff/be-sdk`'s * `trackOperation`. `ActivityType` remains available as the set of well-known platform values. */ action: Scalars['String']['input']; /** * Kind of actor that performed the action: `user`, `app`, `service` or `super_admin`. * * Honoured only when the caller is a platform service relaying an action on someone else's * behalf (the be-sdk tracker). For every other caller the authenticated actor kind is recorded * and this field is ignored, so a user can never label their own action as an agent's (or vice * versa). An AI agent acting through a product service is reported as `app`. */ actorType?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; /** * Optional idempotency key for backfill/import (audit phase-2). Derive a STABLE key from the * source row (e.g. `group_audit_logs:<rowId>`). When set, the write UPSERTs on this key: if a row * with the same `dedupeKey` already exists it is returned unchanged (no duplicate, no double-count), * so a service can replay ALL of its historical audit rows any number of times and converge to * exactly one activity_log row each — including rows already dual-written in phase-1 (give the * dual-write the SAME key so backfill and dual-write converge). When null, behaves exactly as * before (plain insert). `recordActivities` applies the same idempotent semantics per element. */ dedupeKey?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; errorMessage?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; /** * The user on whose behalf the action was taken (for an AI-agent action: the human who started * the agent run). Honoured only for a relaying platform service, like `actorType`; otherwise the * gateway delegation context (or the actor itself) is recorded. */ onBehalfOf?: InputMaybe<Scalars['ID']['input']>; /** * Product identifier emitted by the calling module (for example `ecoimpacthub`). * This is a free-form String for the same reason as `action`: product modules are * independently deployable and cannot be represented by a closed platform enum. * Existing `WORKSPACE` writers remain valid String values. */ productId?: InputMaybe<Scalars['String']['input']>; resourceId?: InputMaybe<Scalars['ID']['input']>; resourceType?: InputMaybe<Scalars['String']['input']>; success?: InputMaybe<Scalars['Boolean']['input']>; targetUserId?: InputMaybe<Scalars['ID']['input']>; teamId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type RecordAgentToolCallInput = { callId?: InputMaybe<Scalars['String']['input']>; durationMs?: InputMaybe<Scalars['Int']['input']>; errorMessage?: InputMaybe<Scalars['String']['input']>; nodeId: Scalars['String']['input']; runId: Scalars['ID']['input']; success: Scalars['Boolean']['input']; toolNodeId: Scalars['String']['input']; }; export type RecordApplicationUsageInput = { applicationName: Scalars['String']['input']; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; date: Scalars['DateTime']['input']; firstUsed?: InputMaybe<Scalars['DateTime']['input']>; lastUsed?: InputMaybe<Scalars['DateTime']['input']>; sessions?: InputMaybe<Scalars['Int']['input']>; switches?: InputMaybe<Scalars['Int']['input']>; timeSpent: Scalars['Int']['input']; }; /** * An activity entry a first-party service records against one of the workspace's * connections, for example one scheduled push to a customer endpoint. Always * stored as an API_CALL log. */ export type RecordConnectionActivityInput = { connectionId: Scalars['ID']['input']; /** Structured error detail, at most 8 KB once serialized. */ errorDetails?: InputMaybe<Scalars['JSON']['input']>; level: LogLevel; /** What happened, at most 1000 characters. */ message: Scalars['String']['input']; /** Structured detail, at most 8 KB once serialized. Never include credentials. */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** The HTTP method, at most 16 characters. */ requestMethod?: InputMaybe<Scalars['String']['input']>; /** The URL that was called, at most 2048 characters. Never include credentials. */ requestUrl?: InputMaybe<Scalars['String']['input']>; responseStatus?: InputMaybe<Scalars['Int']['input']>; }; export type RecordFocusScoreInput = { consistencyScore?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; date: Scalars['DateTime']['input']; deepWorkScore?: InputMaybe<Scalars['Float']['input']>; distractionResistanceScore?: InputMaybe<Scalars['Float']['input']>; energyManagementScore?: InputMaybe<Scalars['Float']['input']>; factors?: InputMaybe<Scalars['JSON']['input']>; overallScore: Scalars['Float']['input']; taskCompletionScore?: InputMaybe<Scalars['Float']['input']>; }; export type RecordGeofenceEventInput = { context?: InputMaybe<ContextInput>; geofenceId: Scalars['ID']['input']; locationLatitude: Scalars['Float']['input']; locationLongitude: Scalars['Float']['input']; type: GeofenceEventType; userId: Scalars['ID']['input']; }; export type RecordGgnomadAffiliatePayoutInput = { /** APPROVED, unpaid commissions of this partner, all in one currency (max 200). */ commissionIds: Array<Scalars['ID']['input']>; /** When the payout was made; defaults to now. Cannot be in the future. */ paidAt?: InputMaybe<Scalars['DateTime']['input']>; partnerId: Scalars['ID']['input']; reference: Scalars['String']['input']; }; export type RecordGgnomadAffiliateReferralInput = { partnerCode: Scalars['String']['input']; source?: InputMaybe<GgnomadAffiliateReferralSource>; /** The storefront the widget showed, when the traveler came from a widget. */ storefrontSlug?: InputMaybe<Scalars['String']['input']>; }; export type RecordHealthyBowlAnimalWeightInput = { animalId: Scalars['ID']['input']; context: ContextInput; measuredAt?: InputMaybe<Scalars['String']['input']>; /** SCALE | TAPE | ESTIMATE */ method?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; weightKg: Scalars['Float']['input']; }; export type RecordHealthyBowlContactOrderInput = { /** Order total (₹); defaults to the sum of item price × quantity when omitted. */ amount?: InputMaybe<Scalars['Float']['input']>; /** The buyer contact this sale is recorded against (Order.buyerId = contactId). */ contactId: Scalars['ID']['input']; context: ContextInput; /** Order date (ISO); defaults to now. */ date?: InputMaybe<Scalars['String']['input']>; /** Line items, e.g. [{ productName, quantity, unit, price }]. */ items: Array<Scalars['JSON']['input']>; /** Optional human order number; auto-generated when omitted. */ orderNumber?: InputMaybe<Scalars['String']['input']>; /** PENDING | PAID | REFUNDED (default PAID). */ paymentStatus?: InputMaybe<Scalars['String']['input']>; /** PENDING | CONFIRMED | SHIPPED | DELIVERED | CANCELLED (default DELIVERED). */ status?: InputMaybe<Scalars['String']['input']>; }; export type RecordHealthyBowlContactPurchaseInput = { amount: Scalars['Float']['input']; /** Financial transaction category (defaults to other). */ category?: InputMaybe<Scalars['String']['input']>; /** The live supplier contact this purchase expense is linked to. */ contactId: Scalars['ID']['input']; context: ContextInput; date?: InputMaybe<Scalars['String']['input']>; description: Scalars['String']['input']; paymentMethod?: InputMaybe<Scalars['String']['input']>; reference?: InputMaybe<Scalars['String']['input']>; /** COMPLETED | PENDING | FAILED (defaults to COMPLETED). */ status?: InputMaybe<Scalars['String']['input']>; }; export type RecordHealthyBowlContractDeliveryInput = { assignmentId: Scalars['ID']['input']; committedQty?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; contractId: Scalars['ID']['input']; deliveryWindow?: InputMaybe<Scalars['String']['input']>; /** A real HarvestRecord id in the contracted farm's workspace — sources deliveredQty. */ harvestRecordId: Scalars['ID']['input']; windowDate?: InputMaybe<Scalars['String']['input']>; }; export type RecordHealthyBowlGrazingMoveInput = { /** * Explicit mob. Used on its own for an ad-hoc mob, or alongside `groupId` to override the snapshot * (e.g. the group minus two animals held back). */ animalIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Close any event still open on this paddock, and any event still open elsewhere for the animals * that are moving, at `enteredAt`. Defaults true: a mob cannot be in two paddocks at once, and an * overlap would double-count it in every stocking rate. */ closeOpenEvents?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; /** Defaults to now. */ enteredAt?: InputMaybe<Scalars['String']['input']>; /** Optional — set to record a move that has already ended, in one call. */ exitedAt?: InputMaybe<Scalars['String']['input']>; /** The animal group that is moving. Its current members are snapshotted onto the event. */ groupId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** The paddock — a Field id. Normally one with GrowLocationType.PASTURE. */ paddockId: Scalars['ID']['input']; }; export type RecordHealthyBowlLoanDisbursementInput = { context: ContextInput; /** UTC date or ISO-8601 zoned date-time when the lender completed the external transfer. */ disbursedAt: Scalars['String']['input']; /** Optional opaque metadata only; never authorizes billing or payment behavior. */ externalBillingReference?: InputMaybe<Scalars['String']['input']>; /** Must be true: an admin explicitly confirms the transfer already completed outside HealthyBowl. */ externalCompletedConfirmed: Scalars['Boolean']['input']; externalTransferReference?: InputMaybe<Scalars['String']['input']>; loanId: Scalars['ID']['input']; }; export type RecordHealthyBowlLoanRepaymentInput = { /** Positive fixed-decimal string with at most 2 decimal places. */ amount: Scalars['String']['input']; context: ContextInput; /** Optional opaque metadata only; never authorizes billing or payment behavior. */ externalBillingReference?: InputMaybe<Scalars['String']['input']>; /** Must be true: an admin explicitly confirms the transfer already completed outside HealthyBowl. */ externalCompletedConfirmed: Scalars['Boolean']['input']; externalTransferReference?: InputMaybe<Scalars['String']['input']>; /** Client-generated stable key retained across retries. */ idempotencyKey: Scalars['String']['input']; loanId: Scalars['ID']['input']; /** UTC date or ISO-8601 zoned date-time when the external repayment completed. */ repaidAt: Scalars['String']['input']; }; export type RecordHealthyBowlStockMovementInput = { context: ContextInput; /** IN | OUT */ direction: Scalars['String']['input']; lotId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; occurredAt?: InputMaybe<Scalars['String']['input']>; orderId?: InputMaybe<Scalars['ID']['input']>; /** Positive quantity; direction gives the sign applied to the lot's on-hand amount. */ quantity: Scalars['Float']['input']; /** HARVEST | RECEIPT | SALE | TRANSFER | ADJUSTMENT | SPOILAGE | OTHER */ reason?: InputMaybe<Scalars['String']['input']>; reference?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type RecordIcsInspectionInput = { checklist?: InputMaybe<Array<IcsInspectionChecklistItemInput>>; context: ContextInput; id: Scalars['ID']['input']; inspectionDate?: InputMaybe<Scalars['String']['input']>; inspectorName?: InputMaybe<Scalars['String']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** Opaque wspace-files-svc file ids for photo evidence (max 20). */ photoFileIds?: InputMaybe<Array<Scalars['String']['input']>>; /** * SCHEDULED | DRAFT | PASSED | CONDITIONAL | FAILED (case-insensitive). Defaults to PASSED. * A checklist containing any FAIL forces FAILED (or CONDITIONAL if explicitly requested). */ status?: InputMaybe<Scalars['String']['input']>; }; export type RecordMtwConsolidationObservationInput = { evidence: Array<MtwContainerEvidenceInput>; expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; issueReference?: InputMaybe<Scalars['String']['input']>; kind: MtwConsolidationReportKind; lotId: Scalars['ID']['input']; planId: Scalars['ID']['input']; reason: Scalars['String']['input']; reportedObservedAt?: InputMaybe<Scalars['DateTime']['input']>; reportedQuantity?: InputMaybe<Scalars['String']['input']>; source: MtwConsolidationSourceInput; unitReference?: InputMaybe<Scalars['String']['input']>; unitRevision?: InputMaybe<Scalars['String']['input']>; }; export type RecordMtwContainerDefectInput = { code: Scalars['String']['input']; details: Scalars['String']['input']; severity: MtwContainerDefectSeverity; }; export type RecordMtwContainerEventInput = { cycleId: Scalars['ID']['input']; eventType: MtwContainerEventType; evidenceNote?: InputMaybe<Scalars['String']['input']>; idempotencyKey: Scalars['String']['input']; kind: MtwContainerEventKind; location?: InputMaybe<Scalars['String']['input']>; occurredAt: Scalars['DateTime']['input']; source: Scalars['String']['input']; sourceReference?: InputMaybe<Scalars['String']['input']>; }; export type RecordMtwContainerInspectionInput = { acepReference?: InputMaybe<Scalars['String']['input']>; cargoCategory: MtwContainerCargoCategory; containerId: Scalars['ID']['input']; cscPlateVersionId: Scalars['ID']['input']; defects: Array<RecordMtwContainerDefectInput>; evidence: Array<MtwContainerEvidenceInput>; examinationScheme: MtwContainerExaminationScheme; examinationVersionId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; inspectedAt: Scalars['DateTime']['input']; nextExaminationAt?: InputMaybe<Scalars['DateTime']['input']>; resolvedDefectIds: Array<Scalars['ID']['input']>; suitability: MtwContainerSuitability; templateVersion: Scalars['String']['input']; }; export type RecordMtwContainerRepairInput = { completedAt: Scalars['DateTime']['input']; defectIds: Array<Scalars['ID']['input']>; evidence: Array<MtwContainerEvidenceInput>; expectedVersion: Scalars['Int']['input']; holdId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; workDescription: Scalars['String']['input']; }; export type RecordMtwEmptyReturnInstructionInput = { bookingReference: Scalars['String']['input']; changeReason: Scalars['String']['input']; currentInstructionId?: InputMaybe<Scalars['ID']['input']>; cycleId: Scalars['ID']['input']; depotReference: Scalars['String']['input']; effectiveAt: Scalars['DateTime']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedCycleVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; locationReference: Scalars['String']['input']; ownerReference: Scalars['String']['input']; returnFrom: Scalars['DateTime']['input']; returnUntil: Scalars['DateTime']['input']; sourceReference: Scalars['String']['input']; }; export type RecordMtwEquipmentReuseApprovalInput = { approvalId?: InputMaybe<Scalars['ID']['input']>; counterpartyReference: Scalars['String']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedCycleVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; kind: MtwReuseApprovalKind; note: Scalars['String']['input']; proposalId: Scalars['ID']['input']; sourceReference: Scalars['String']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validUntil?: InputMaybe<Scalars['DateTime']['input']>; }; export type RecordMtwFreeTimeAgreementInput = { agreement: MtwFreeTimeAgreementInput; clockId: Scalars['ID']['input']; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; }; export type RecordMtwFreeTimeExtensionDecisionInput = { acceptedFreeUntil?: InputMaybe<Scalars['DateTime']['input']>; counterparty: Scalars['String']['input']; decidedAt: Scalars['DateTime']['input']; decision: MtwFreeTimeDecisionKind; effectiveAt?: InputMaybe<Scalars['DateTime']['input']>; evidence: Array<MtwContainerEvidenceInput>; expectedVersion: Scalars['Int']['input']; extensionId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; note: Scalars['String']['input']; sourceReference: Scalars['String']['input']; }; export type RecordMtwFreightInvoiceSupplierResponseInput = { comparisonId: Scalars['ID']['input']; expectedSequence: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; response: Scalars['String']['input']; shipmentId: Scalars['ID']['input']; }; export type RecordMtwPickReviewInput = { actions: Array<MtwPickReviewAction>; evidence: Array<MtwContainerEvidenceInput>; expectedPreviousDecisionId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; handlingPolicy?: InputMaybe<MtwMoveReviewSourceInput>; idempotencyKey: Scalars['String']['input']; intentHash: Scalars['String']['input']; note: Scalars['String']['input']; quantityCeiling?: InputMaybe<Scalars['Int']['input']>; sop?: InputMaybe<MtwMoveReviewSourceInput>; subjectActorId: Scalars['ID']['input']; taskId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validUntil?: InputMaybe<Scalars['DateTime']['input']>; }; export type RecordMtwProcedureDeviationInput = { evidence: Array<MtwContainerEvidenceInput>; executionId: Scalars['ID']['input']; expectedPreviousId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; kind: MtwProcedureDeviationReviewKind; reason: Scalars['String']['input']; stepDecisionId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validUntil?: InputMaybe<Scalars['DateTime']['input']>; }; export type RecordMtwProcedureStepInput = { evidence: Array<MtwContainerEvidenceInput>; executionId: Scalars['ID']['input']; expectedPreviousId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; kind: MtwProcedureStepKind; note: Scalars['String']['input']; step: MtwProcedureStep; }; export type RecordMtwReuseProposalInput = { cargoCategory: MtwContainerCargoCategory; conditionQualificationId?: InputMaybe<Scalars['ID']['input']>; cycleId: Scalars['ID']['input']; emptyEventId: Scalars['ID']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedCycleVersion: Scalars['Int']['input']; expectedProposalRevision: Scalars['Int']['input']; exportBookingReference: Scalars['String']['input']; exporterReference: Scalars['String']['input']; handoffFrom: Scalars['DateTime']['input']; handoffLocationReference: Scalars['String']['input']; handoffUntil: Scalars['DateTime']['input']; idempotencyKey: Scalars['String']['input']; inspectionId: Scalars['ID']['input']; instructionId: Scalars['ID']['input']; proposalReference: Scalars['String']['input']; requiredEquipmentType: MtwEquipmentType; routeBinding?: InputMaybe<MtwReuseRouteBindingInput>; sources: MtwReuseSourcesInput; timing?: InputMaybe<MtwReuseTimingInput>; transportRouteId: Scalars['ID']['input']; transportRouteUpdatedAt: Scalars['DateTime']['input']; }; export type RecordMtwStockBindingAssessmentInput = { effectiveAt: Scalars['DateTime']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedCargoItemId: Scalars['ID']['input']; expectedCargoUpdatedAt: Scalars['DateTime']['input']; /** Optional exact reviewed change marker; omission remains unpinned source history. */ expectedCompositionEpoch?: InputMaybe<Scalars['Int']['input']>; expectedInventoryUpdatedAt: Scalars['DateTime']['input']; expectedLocationId?: InputMaybe<Scalars['ID']['input']>; expectedLocationUpdatedAt?: InputMaybe<Scalars['DateTime']['input']>; expectedPreviousAssessmentId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; expectedWarehouseId: Scalars['ID']['input']; expectedWarehouseUpdatedAt: Scalars['DateTime']['input']; facts: MtwStockBindingFactsInput; idempotencyKey: Scalars['String']['input']; inventoryItemId: Scalars['ID']['input']; }; export type RecordMtwStockObservationInput = { countScope: MtwStockObservationCountScope; evidenceDeclarations: Array<MtwContainerEvidenceInput>; idempotencyKey: Scalars['String']['input']; inventoryItemId: Scalars['ID']['input']; kind: MtwStockObservationKind; observedCount?: InputMaybe<Scalars['Int']['input']>; reason: Scalars['String']['input']; reportedCountUnit?: InputMaybe<MtwStockBindingCountUnitInput>; reportedObservedAt?: InputMaybe<Scalars['DateTime']['input']>; source?: InputMaybe<MtwStockBindingSourceInput>; }; export type RecordMtwTripUtilizationReportInput = { basis: MtwTripUtilizationBasis; declaredCoverage: MtwTripUtilizationCoverage; evidence: Array<MtwContainerEvidenceInput>; expectedRouteUpdatedAt: Scalars['DateTime']['input']; expectedVehicleUpdatedAt: Scalars['DateTime']['input']; idempotencyKey: Scalars['String']['input']; intervalFrom: Scalars['DateTime']['input']; intervalUntil: Scalars['DateTime']['input']; routeId: Scalars['ID']['input']; segments: Array<MtwTripUtilizationSegmentInput>; tripId: Scalars['ID']['input']; vehicleId: Scalars['ID']['input']; }; export type RecordProvenanceInput = { assetId: Scalars['ID']['input']; blockNumber?: InputMaybe<Scalars['Int']['input']>; chainNetwork: Scalars['String']['input']; hash: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSONObject']['input']>; txHash?: InputMaybe<Scalars['String']['input']>; }; export type RecordTimeCampusImpersonationInput = { reason?: InputMaybe<Scalars['String']['input']>; targetUserId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; export type RecordVehicleServiceInput = { /** Days until the next service. Sets nextServiceDueDate. */ intervalDays?: InputMaybe<Scalars['Int']['input']>; /** Kilometres until the next service. Sets nextServiceDueMileage (needs mileage). */ intervalKm?: InputMaybe<Scalars['Float']['input']>; /** Odometer reading at service. Also updates the vehicle mileage when higher. */ mileage?: InputMaybe<Scalars['Float']['input']>; /** When the service was performed. Defaults to now. */ serviceDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type RecordWorkPatternInput = { breakHours: Scalars['Float']['input']; context?: InputMaybe<ContextInput>; date: Scalars['DateTime']['input']; deepWorkSessions?: InputMaybe<Scalars['Int']['input']>; energyLevel?: InputMaybe<Scalars['String']['input']>; focusHours: Scalars['Float']['input']; interruptions?: InputMaybe<Scalars['Int']['input']>; meetingHours: Scalars['Float']['input']; mood?: InputMaybe<Scalars['String']['input']>; peakHours?: InputMaybe<Scalars['JSON']['input']>; productivityScore?: InputMaybe<Scalars['Float']['input']>; stressLevel?: InputMaybe<Scalars['String']['input']>; }; /** * A fire of a Schedule Trigger rule that wspace-scheduler-svc could not make (it was down, or the job * was paused) and that the rule's misfire policy skipped (BOFF-9951). The scheduler sends the same * workflowKey, version, triggerNodeId and context as its triggerWorkflow fire-back. */ export type RecordWorkflowScheduleMissInput = { /** The fire-back context: scheduledJobId names the rule's mirror row, workspaceId must be the request's. */ context?: InputMaybe<Scalars['JSON']['input']>; /** Optional request key. A rule's fire time holds one tick, so a retry returns the tick already recorded. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; /** The misfire policy that skipped the fire (for example SKIP or COALESCE), shown in the tick's note. */ misfirePolicy?: InputMaybe<Scalars['String']['input']>; /** The fire time that was missed. */ missedAt: Scalars['DateTime']['input']; /** The scheduler job of the rule. */ scheduleId: Scalars['String']['input']; triggerNodeId: Scalars['String']['input']; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; export declare enum RecordingMode { Auto = "AUTO", Disabled = "DISABLED", Manual = "MANUAL" } /** Input for refreshing a data sink from source */ export type RefreshDataSinkInput = { /** Force refresh (bypass cache, default: false) */ forceRefresh?: InputMaybe<Scalars['Boolean']['input']>; /** Data sink ID (either id or key required) */ id?: InputMaybe<Scalars['ID']['input']>; /** Data sink key (either id or key required) */ key?: InputMaybe<Scalars['String']['input']>; /** Override query params for DataSource */ queryParams?: InputMaybe<Scalars['JSON']['input']>; }; /** Refresh schedule configuration */ export type RefreshSchedule = { __typename?: 'RefreshSchedule'; /** Cron expression */ cron: Scalars['String']['output']; /** Timezone for schedule */ timezone: Scalars['String']['output']; }; /** Input for refresh schedule */ export type RefreshScheduleInput = { /** Cron expression */ cron: Scalars['String']['input']; /** Timezone for schedule */ timezone: Scalars['String']['input']; }; export type RegisterBatchGs1Input = { /** Best-Before, AI (15), ISO date. Defaults to the batch expiry when omitted. */ bestBefore?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** GTIN — 8/12/13/14 digits, normalised to 14. Rejected (BAD_USER_INPUT) on a bad check digit. */ gtin?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; /** Batch/Lot, AI (10). ≤20 chars. Defaults to the batch code when omitted. */ lotNumber?: InputMaybe<Scalars['String']['input']>; /** SSCC — 18 digits. Rejected on a bad check digit. */ sscc?: InputMaybe<Scalars['String']['input']>; }; export type RegisterCustomDomainInput = { hostname: Scalars['String']['input']; }; export type RegisterGgnomadPushDeviceInput = { appVersion?: InputMaybe<Scalars['String']['input']>; deviceToken: Scalars['String']['input']; platform: GgnomadPushPlatform; }; export type RegisterInstalledAgentInput = { agentApiKey?: InputMaybe<Scalars['String']['input']>; architecture: Scalars['String']['input']; hostname: Scalars['String']['input']; name: Scalars['String']['input']; platform: Scalars['String']['input']; targetId?: InputMaybe<Scalars['String']['input']>; tunnelUrl?: InputMaybe<Scalars['String']['input']>; }; export type RegisterIoTDeviceInput = { assetId?: InputMaybe<Scalars['ID']['input']>; deviceId: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSONObject']['input']>; name: Scalars['String']['input']; protocol: Scalars['String']['input']; status?: InputMaybe<Scalars['String']['input']>; type: Scalars['String']['input']; }; export type RegisterMtwContainerInput = { containerNumber: Scalars['String']['input']; equipmentType: MtwEquipmentType; idempotencyKey: Scalars['String']['input']; ownerName?: InputMaybe<Scalars['String']['input']>; source: Scalars['String']['input']; }; /** Input for registering node */ export type RegisterNodeInput = { adapterOutputType?: InputMaybe<Scalars['String']['input']>; author?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; docsUrl?: InputMaybe<Scalars['String']['input']>; endpointUrl: Scalars['String']['input']; favicon?: InputMaybe<Scalars['String']['input']>; healthCheckUrl?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; keywords: Array<Scalars['String']['input']>; kind: Array<Scalars['String']['input']>; logo?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; nodeAdapters?: InputMaybe<Scalars['JSON']['input']>; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; operations: Scalars['JSON']['input']; publishType: PublishType; supportsAdapterMode?: InputMaybe<Scalars['Boolean']['input']>; }; export type RegisterParserTypeInput = { author?: InputMaybe<Scalars['String']['input']>; /** * Also make this version the active version for workspaceId, replacing any * other active version of the same key. */ autoInstall?: InputMaybe<Scalars['Boolean']['input']>; category?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; keywords?: InputMaybe<Array<Scalars['String']['input']>>; /** * Opaque store manifest (JSON object or JSON string, max 64 KiB). It must * declare the transform, either nested (preferred; used exclusively when * present): * { "transform": { "engine" | "type": "jq" | "jsonata", "expression": "..." } } * or at the top level: * { "engine" | "parserType": "jq" | "jsonata", "expression": "..." } * A top-level `type` is the store product kind and is never read as the engine. * A manifest without an expression is rejected (PARSER_TYPE_EXPRESSION_REQUIRED). */ manifest: Scalars['JSON']['input']; name: Scalars['String']['input']; /** * "store/{slug}": letters, digits, ".", "_" or "-" after the namespace, * starting with a letter or digit. Max 200 characters. Not trimmed. */ parserTypeKey: Scalars['String']['input']; /** * 1-50 characters of letters, digits, ".", "+", "_" or "-", starting with a * letter or digit (e.g. "1.0", "1.2.0", "2.0.0-beta.1"). */ parserVersion: Scalars['String']['input']; /** STORE. (CUSTOM is reserved; BUILTIN does not exist for parser types.) */ publishType: Scalars['String']['input']; /** * Must equal the request's x-workspace-id. Scopes RBAC and the autoInstall side * effect only — the catalog row itself is global. */ workspaceId: Scalars['ID']['input']; }; /** Input for registering a resource with custom RBAC configurations */ export type RegisterResourceInput = { identifier: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; ownerType?: InputMaybe<ActorType>; parentResourceId?: InputMaybe<Scalars['String']['input']>; resourceType: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; export type RegisterSensorProbeInput = { alertChannel?: InputMaybe<Scalars['String']['input']>; /** WEBHOOK (probe pushes) | CRON (we poll the vendor API). Default WEBHOOK. */ connectivity?: InputMaybe<Scalars['String']['input']>; context: ContextInput; fieldId: Scalars['ID']['input']; location?: InputMaybe<Scalars['String']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; /** Convenience: upserts the field's moisture_low rule when provided. */ moistureThreshold?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; probeCode: Scalars['String']['input']; probeType: Scalars['String']['input']; reportingIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; /** Convenience: upserts the field's temp_high rule when provided. */ tempThreshold?: InputMaybe<Scalars['Float']['input']>; vendorGateway?: InputMaybe<Scalars['String']['input']>; }; export type RegisterVibecontrolsDocsBuildImageInput = { buildCommand?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; imagePullPolicy?: InputMaybe<VibecontrolsDocsBuildImagePullPolicy>; imageRef: Scalars['String']['input']; name: Scalars['String']['input']; outputDir?: InputMaybe<Scalars['String']['input']>; }; export type ReindexFileInput = { /** File ID to reindex */ fileId: Scalars['ID']['input']; /** Force reindexing even if already indexed */ force?: InputMaybe<Scalars['Boolean']['input']>; }; export type ReindexResponse = { __typename?: 'ReindexResponse'; fileId: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type RelatedTagInfo = { __typename?: 'RelatedTagInfo'; relationType: TagRelationType; tag: UniversalTag; }; /** * A versioned deliverable bundling completed work items for deployment * or distribution. */ export type Release = { __typename?: 'Release'; /** The readiness checklist (PRM-19), in order. A required item still open blocks RELEASED, as an open gate does */ checklist: Array<PlanmagnetReleaseChecklistItem>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this release */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Release description / notes */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Release name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId?: Maybe<Scalars['String']['output']>; /** Planned release date */ plannedDate?: Maybe<Scalars['DateTime']['output']>; /** The linked Product, when set. */ product?: Maybe<Product>; /** Linked strategic Product (BOFF-8045). Null when never attached. */ productId?: Maybe<Scalars['String']['output']>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** * Live quality gates holding this release. It cannot become RELEASED until * every one is PASSED or WAIVED */ qualityGates: Array<QualityGate>; /** Release notes (markdown) */ releaseNotes?: Maybe<Scalars['String']['output']>; /** Actual release date */ releasedAt?: Maybe<Scalars['DateTime']['output']>; /** Current status */ status: ReleaseStatus; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this release */ updatedBy?: Maybe<Scalars['String']['output']>; /** Release version (e.g. 1.2.0) */ version: Scalars['String']['output']; /** Work items included in this release */ workItems: Array<WorkItem>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export type ReleaseDurableWorkerSandboxInput = { callerSecret: Scalars['String']['input']; context: ContextInput; /** Terminate the VM instead of returning it to the pool. */ recycle?: InputMaybe<Scalars['Boolean']['input']>; }; export type ReleaseHealthyBowlLoanMilestoneInput = { context: ContextInput; /** The HarvestRecord or PlantingActivity id proving the milestone. Verified in-workspace. */ evidenceId?: InputMaybe<Scalars['ID']['input']>; /** Overrides the milestone's own evidenceType, if it was left unset at creation. */ evidenceType?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; }; export type ReleaseLockInput = { /** Force release (admin only) */ force?: InputMaybe<Scalars['Boolean']['input']>; /** Lock ID to release */ lockId: Scalars['ID']['input']; }; export type ReleaseLockResponse = { __typename?: 'ReleaseLockResponse'; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type ReleaseMtwContainerHoldInput = { evidence: Array<MtwContainerEvidenceInput>; expectedVersion: Scalars['Int']['input']; holdId: Scalars['ID']['input']; idempotencyKey: Scalars['String']['input']; inspectionId: Scalars['ID']['input']; qualificationId: Scalars['ID']['input']; resolutionReview: Scalars['String']['input']; }; export declare enum ReleaseStatus { Cancelled = "CANCELLED", Draft = "DRAFT", InProgress = "IN_PROGRESS", Planning = "PLANNING", Ready = "READY", Released = "RELEASED", RolledBack = "ROLLED_BACK", Staging = "STAGING" } export declare enum ReminderChannel { Email = "EMAIL", InApp = "IN_APP", Sms = "SMS" } export declare enum ReminderType { Absolute = "ABSOLUTE", Relative = "RELATIVE" } /** Input for removing a file attachment from a comment */ export type RemoveCommentAttachmentInput = { commentId: Scalars['ID']['input']; fileId: Scalars['ID']['input']; }; export type RemoveMembersResult = { __typename?: 'RemoveMembersResult'; failed: Array<Scalars['ID']['output']>; failedCount: Scalars['Int']['output']; removed: Array<Scalars['ID']['output']>; successCount: Scalars['Int']['output']; }; /** Input for removing a node from specific workflows */ export type RemoveNodeFromWorkflowsInput = { /** * Remove every version of the node type, not only nodeVersion. A store * uninstall removes all versions of a node, so it sets this. */ allVersions?: InputMaybe<Scalars['Boolean']['input']>; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; workflowIds: Array<Scalars['ID']['input']>; }; /** Result of removing a node from workflows */ export type RemoveNodeFromWorkflowsResult = { __typename?: 'RemoveNodeFromWorkflowsResult'; cleanedUsageEntries: Scalars['Int']['output']; deactivatedWorkflows: Array<Scalars['String']['output']>; removedFromWorkflows: Array<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type RemoveParticipantInput = { conversationId: Scalars['ID']['input']; reason?: InputMaybe<Scalars['String']['input']>; userId: Scalars['ID']['input']; }; export type RemoveParticipantPayload = { __typename?: 'RemoveParticipantPayload'; conversationId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; userId: Scalars['ID']['output']; }; /** Input for removing a project member */ export type RemoveProjectMemberInput = { /** Project ID to remove member from */ projectId: Scalars['ID']['input']; /** User ID to remove from project */ userId: Scalars['ID']['input']; }; /** Input for removing a reaction */ export type RemoveReactionInput = { commentId: Scalars['ID']['input']; emoji: Scalars['String']['input']; /** * Deprecated and ignored. The reacting user is always the authenticated actor * (x-actor-id); a client-supplied user id is never trusted. * @deprecated Ignored: the reaction always belongs to the authenticated actor. */ userId?: InputMaybe<Scalars['ID']['input']>; }; export type RemoveReactionPayload = { __typename?: 'RemoveReactionPayload'; emoji: Scalars['String']['output']; messageId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type RenewDurableWorkerSandboxInput = { callerSecret: Scalars['String']['input']; context: ContextInput; leaseSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type RenewHealthyBowlCsaMembershipInput = { context: ContextInput; id: Scalars['ID']['input']; }; export type ReorderCollectionItemsInput = { collectionId: Scalars['ID']['input']; itemOrders: Array<ItemOrderInput>; }; /** Input for reordering comment attachments */ export type ReorderCommentAttachmentsInput = { commentId: Scalars['ID']['input']; fileIds: Array<Scalars['ID']['input']>; }; export type ReorderVibeDeckButtonsInput = { positions: Array<VibeDeckButtonPositionInput>; }; export type ReorderVibecontrolsDocsPagesInput = { pages: Array<VibecontrolsDocsPageOrderInput>; }; export type ReplaceAnalyticsDashboardTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceAnalyticsMetricTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceAnalyticsReportTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceAssetTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceBigConsoleEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; /** Input for replacing all tags on a comment */ export type ReplaceCommentTagsInput = { commentId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceConnectionTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceCosEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceFileTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceFluidgridsEntityTagsInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceFolderTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceGroupTagsInput = { groupId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceNoteTagsInput = { /** ID of the note */ noteId: Scalars['ID']['input']; /** Tag IDs to replace all current tags with */ tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceProjectTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceSandboxTagsInput = { sandboxId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceScheduledJobTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceSecretTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type ReplaceWorkspaceTagsInput = { entityId: Scalars['ID']['input']; tagIds: Array<Scalars['ID']['input']>; }; export type Report = { __typename?: 'Report'; createdAt: Scalars['DateTime']['output']; createdBy: User; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; parameters?: Maybe<Scalars['JSON']['output']>; runs: Array<ReportRun>; schedules: Array<ReportSchedule>; sections: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ReportAgentMeshLinkInput = { description?: InputMaybe<Scalars['String']['input']>; destinationAgentRecordId: Scalars['ID']['input']; label?: InputMaybe<Scalars['String']['input']>; permissions?: InputMaybe<Array<Scalars['String']['input']>>; scopes?: InputMaybe<Array<Scalars['String']['input']>>; sourceAgentRecordId: Scalars['ID']['input']; }; /** * Input for charging the AI-credit token usage of a completed assistant turn. * Ordinary input/output and optional cache counts are priced server-side. * `totalTokens` is retained only for compatibility and is ignored. */ export type ReportAiTokenUsageInput = { /** Cache reads, separate from ordinary input. Omitted/null counts mean zero. */ cacheReadTokens?: InputMaybe<Scalars['Int']['input']>; /** Cache writes, separate from ordinary input. Omitted/null counts mean zero. */ cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>; /** Prompt (input) tokens consumed by the turn. */ inputTokens: Scalars['Int']['input']; /** * The assistant message id this turn produced. Forms the idempotency hash so a * retried/duplicate report never double-charges. * * Nullable for backward-compat, but REQUIRED by the resolver. */ messageId?: InputMaybe<Scalars['ID']['input']>; /** * The agent's "provider/model" id for this turn (e.g. * "anthropic/claude-sonnet-4-6"). Determines the per-token prices used to * cost-weight the charge; unknown models fall back to billing's `*default*`. * * Nullable for backward-compat (non-breaking schema evolution), but REQUIRED by * the resolver — a report without it is rejected (BAD_USER_INPUT). */ model?: InputMaybe<Scalars['String']['input']>; /** Completion (output) tokens produced by the turn. */ outputTokens: Scalars['Int']['input']; /** The sandbox/assistant session the tokens were consumed in. */ sessionId: Scalars['ID']['input']; /** * Deprecated/ignored. Credits are now computed server-side from the model's * token prices (input + ~5×output), not from a client-supplied total. Retained * (nullable) only so the field removal isn't a breaking schema change. */ totalTokens?: InputMaybe<Scalars['Int']['input']>; }; /** A batch of finished turns from one page. */ export type ReportAssistantTurnTimingsInput = { /** A random UUID per request, used only to ignore a repeated delivery. Never stored as a metric label. */ nonce: Scalars['String']['input']; /** Between 1 and 20 turns. */ turns: Array<AssistantTurnTimingInput>; }; export declare enum ReportFormat { Csv = "CSV", Excel = "EXCEL", Html = "HTML", Json = "JSON", Pdf = "PDF" } /** * Input for charging the AI-credit token usage of a completed assistant turn. * `totalTokens` MUST equal `inputTokens + outputTokens` — the gateway charges * `totalTokens` against the `govcitizenhub.ai.credits` quota via amountArg. */ export type ReportGovAiTokenUsageInput = { /** Prompt (input) tokens consumed by the turn. */ inputTokens: Scalars['Int']['input']; /** * The assistant message id this turn produced. Forms the idempotency hash so a * retried/duplicate report never double-charges. * * Nullable for backward-compat, but REQUIRED by the resolver. */ messageId?: InputMaybe<Scalars['ID']['input']>; /** * The agent's "provider/model" id for this turn (e.g. * "anthropic/claude-sonnet-4-6"). Determines the per-token prices used to * cost-weight the charge; unknown models fall back to billing's `*default*`. * * Nullable for backward-compat (non-breaking schema evolution), but REQUIRED by * the resolver — a report without it is rejected (BAD_USER_INPUT). */ model?: InputMaybe<Scalars['String']['input']>; /** Completion (output) tokens produced by the turn. */ outputTokens: Scalars['Int']['input']; /** The sandbox/assistant session the tokens were consumed in. */ sessionId: Scalars['ID']['input']; /** * Deprecated/ignored. Credits are now computed server-side from the model's * token prices (input + ~5×output), not from a client-supplied total. Retained * (nullable) only so the field removal isn't a breaking schema change. */ totalTokens?: InputMaybe<Scalars['Int']['input']>; }; /** * A completed assistant turn's token usage, reported by the client so it can be * charged against `healthybowl.ai.credits`. * * The credit amount is NEVER client-supplied — the resolver prices the turn from * billing's per-model table. These fields only identify the turn and its size. */ export type ReportHealthyBowlAiTokenUsageInput = { /** Cache reads, separate from ordinary input. Omitted/null counts mean zero. */ cacheReadTokens?: InputMaybe<Scalars['Int']['input']>; /** Cache writes, separate from ordinary input. Omitted/null counts mean zero. */ cacheWriteTokens?: InputMaybe<Scalars['Int']['input']>; context: ContextInput; /** Prompt (input) tokens consumed by the turn. */ inputTokens: Scalars['Int']['input']; /** * The assistant message this turn produced. Forms the idempotency hash with * sessionId, so a retried or duplicated report never charges twice. */ messageId: Scalars['ID']['input']; /** * The turn's model id (e.g. "anthropic/claude-sonnet-4-6"). Selects the per-token * prices used to weight the charge; an unknown model falls back to billing's * `*default*` row rather than charging nothing. */ model: Scalars['String']['input']; /** Completion (output) tokens produced by the turn. */ outputTokens: Scalars['Int']['input']; /** The assistant session the tokens were consumed in. */ sessionId: Scalars['ID']['input']; }; export type ReportMessagePayload = { __typename?: 'ReportMessagePayload'; messageId: Scalars['ID']['output']; reportId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type ReportProactiveActivityInput = { entityId?: InputMaybe<Scalars['String']['input']>; /** The entity the user opened (a pack signal). Omit both for a session start. */ entityType?: InputMaybe<Scalars['String']['input']>; /** Product slug of the pack (e.g. fluidgrids). */ product: Scalars['String']['input']; }; export type ReportRun = { __typename?: 'ReportRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<User>; error?: Maybe<Scalars['String']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; format: ReportFormat; id: Scalars['ID']['output']; outputSize?: Maybe<Scalars['Int']['output']>; outputUrl?: Maybe<Scalars['String']['output']>; parameters: Scalars['JSON']['output']; reportId: Scalars['ID']['output']; scheduleId?: Maybe<Scalars['ID']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type ReportSchedule = { __typename?: 'ReportSchedule'; createdAt: Scalars['DateTime']['output']; cronExpression: Scalars['String']['output']; deliveryChannels: Scalars['JSON']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastRunAt?: Maybe<Scalars['DateTime']['output']>; lastRunStatus?: Maybe<Scalars['String']['output']>; nextRunAt?: Maybe<Scalars['DateTime']['output']>; reportId: Scalars['ID']['output']; status: ReportScheduleStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum ReportScheduleStatus { Active = "ACTIVE", Completed = "COMPLETED", Failed = "FAILED", Paused = "PAUSED" } export type RepositorySecurityConfig = { __typename?: 'RepositorySecurityConfig'; configYamlEquivalent: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; enabledStages: Scalars['JSON']['output']; id: Scalars['ID']['output']; pluginAssignments: Scalars['JSON']['output']; policyLevel: SecurityPolicyLevel; profile: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; vibeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type RequestCrewShiftSwapInput = { message?: InputMaybe<Scalars['String']['input']>; /** Your own upcoming shift. */ shiftId: Scalars['ID']['input']; /** The colleague you ask to take it. */ targetEmployeeId: Scalars['ID']['input']; /** Optional: the colleague's shift you take in exchange. */ targetShiftId?: InputMaybe<Scalars['ID']['input']>; }; export type RequestHealthyBowlLoanFacilitationInput = { amount: Scalars['Float']['input']; /** Route via the Kadaikodi community-funding pool — REJECTED unless the flag is ON. */ communityFunded?: InputMaybe<Scalars['Boolean']['input']>; /** Days the consent grant stays valid (default 30). Grant is revocable any time. */ consentDurationDays?: InputMaybe<Scalars['Int']['input']>; context: ContextInput; currency?: InputMaybe<Scalars['String']['input']>; /** Opaque actor id of the lender (used for the FinancierAccessGrant bridge). */ financierActorId?: InputMaybe<Scalars['String']['input']>; interestRatePct?: InputMaybe<Scalars['Float']['input']>; lenderName: Scalars['String']['input']; pledgedFieldIds?: InputMaybe<Array<Scalars['String']['input']>>; purpose?: InputMaybe<Scalars['String']['input']>; sharedRecords?: InputMaybe<HealthyBowlLoanSharedRecordsInput>; tenureMonths?: InputMaybe<Scalars['Int']['input']>; }; export type RequestMtwFreeTimeExtensionInput = { baseAgreementId: Scalars['ID']['input']; clockId: Scalars['ID']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedVersion: Scalars['Int']['input']; expiresAt: Scalars['DateTime']['input']; idempotencyKey: Scalars['String']['input']; reason: Scalars['String']['input']; requestedAt: Scalars['DateTime']['input']; requestedFreeUntil: Scalars['DateTime']['input']; }; export type RequestWorkflowPromotionInput = { /** Optional context for the approver (max 2000 characters). */ note?: InputMaybe<Scalars['String']['input']>; /** STAGING (promotes the DEV version) or PROD (promotes the STAGING version). */ toEnvironment: WorkflowEnvironment; workflowKey: Scalars['String']['input']; }; /** * I-6 succession reschedule — shift an existing succession series onto a new cadence * (BOFF-6093). Recomputes the sowing dates of the group's *un-started* children * (status DRAFT or APPROVED) from a new `intervalDays`, spaced from `startDate` when * given or from the earliest child's current date otherwise. Started/completed * children (ACTIVE, COMPLETED) are left untouched. The series is identified by the * shared successionGroupId returned on every generated plan. */ export type RescheduleHealthyBowlSuccessionPlanInput = { context: ContextInput; /** New number of days between successive sowings (>= 1). */ intervalDays: Scalars['Int']['input']; /** Optional ISO date to re-anchor the series on; omit to keep the earliest child's current date. */ startDate?: InputMaybe<Scalars['String']['input']>; /** The shared successionGroupId carried by every plan of the series. */ successionGroupId: Scalars['ID']['input']; }; export type ReserveTunnelSubdomainInput = { environment: TunnelEnvironment; /** * The subdomain label (without the zone suffix). e.g. "demo" reserves * "demo.vibetunnels.com" (or "demo.alpha.vibetunnels.com" for alpha). */ label: Scalars['String']['input']; }; /** Result of resetting an agent's local state. */ export type ResetAgentResult = { __typename?: 'ResetAgentResult'; /** * Updated agent record. `appId`/`appClientId` are cleared; tunnelUrl * and stored credentials are refreshed to the values the agent reports post-reset. */ agent: VibecontrolsAgent; /** Error message if the agent rejected reset or was unreachable. */ error?: Maybe<Scalars['String']['output']>; /** * Newly generated API key. The platform stored this on the agent record; * return it once for operator audit so it can also be copied if needed. */ newApiKey: Scalars['String']['output']; /** Whether reset succeeded end-to-end (agent reachable + wipe completed). */ success: Scalars['Boolean']['output']; }; /** Input for resolving a comment */ export type ResolveCommentInput = { id: Scalars['ID']['input']; resolved: Scalars['Boolean']['input']; resolvedById?: InputMaybe<Scalars['ID']['input']>; }; export type ResolveComplianceFlagInput = { context: ContextInput; id: Scalars['ID']['input']; /** What was done about it. Required. */ resolution: Scalars['String']['input']; }; export type ResolveContextConversationInput = { description?: InputMaybe<Scalars['String']['input']>; sourceContext: ConversationSourceContextInput; title?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type ResolveContextConversationPayload = { __typename?: 'ResolveContextConversationPayload'; conversation: Conversation; created: Scalars['Boolean']['output']; }; /** How the user resolved a sync conflict on the review screen. */ export type ResolveFieldObservationConflictInput = { animalTag?: InputMaybe<Scalars['String']['input']>; /** The server version the resolution was reviewed against — guards against a second concurrent edit. */ baseVersion: Scalars['Int']['input']; clientId: Scalars['String']['input']; context: ContextInput; cropName?: InputMaybe<Scalars['String']['input']>; data?: InputMaybe<Scalars['JSON']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; fieldName?: InputMaybe<Scalars['String']['input']>; gpsAccuracy?: InputMaybe<Scalars['Float']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; note?: InputMaybe<Scalars['String']['input']>; photoFileIds?: InputMaybe<Array<Scalars['String']['input']>>; quantity?: InputMaybe<Scalars['Float']['input']>; /** One of: KEEP_MINE | KEEP_SERVER | MERGE (case-insensitive). */ resolution: Scalars['String']['input']; severity?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type ResolveMessageReportInput = { action: MessageReportResolutionAction; notes?: InputMaybe<Scalars['String']['input']>; reportId: Scalars['ID']['input']; }; export type ResolveMtwFreightInvoiceDisputeInput = { comparisonId: Scalars['ID']['input']; expectedSequence: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; reason: Scalars['String']['input']; resolution: MtwFreightInvoiceResolution; shipmentId: Scalars['ID']['input']; }; export type ResolvePhysicalAuditItemInput = { itemId: Scalars['ID']['input']; resolutionNotes: Scalars['String']['input']; /** For a MOVED item, update the registry to the observed location. */ updateRegistryLocation?: InputMaybe<Scalars['Boolean']['input']>; }; export type ResolveSecretsInput = { keys: Array<Scalars['String']['input']>; vaultId: Scalars['ID']['input']; }; /** Used for cross-service secret resolution by key. */ export type ResolvedSecret = { __typename?: 'ResolvedSecret'; key: Scalars['String']['output']; type: SecretType; value: Scalars['String']['output']; vaultId: Scalars['String']['output']; }; /** * Registered resource with custom permission configurations. * Resources are only registered when they have non-default permissions * (overrides, visibility rules, or scoped assignments). */ export type Resource = { __typename?: 'Resource'; children: Array<Resource>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; identifier: Scalars['String']['output']; isActive: Scalars['Boolean']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name?: Maybe<Scalars['String']['output']>; ownerId?: Maybe<Scalars['String']['output']>; ownerType?: Maybe<ActorType>; parent?: Maybe<Resource>; parentResourceId?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; scopeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; visibilityRules: Array<VisibilityRule>; }; export type ResourceAllocation = { __typename?: 'ResourceAllocation'; actualHours: Scalars['Float']['output']; allocatedHours: Scalars['Float']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; onBehalfOf?: Maybe<Scalars['String']['output']>; plan?: Maybe<ResourcePlan>; projectId?: Maybe<Scalars['ID']['output']>; resourcePlanId: Scalars['ID']['output']; startDate: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; utilizationRate?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum ResourceBookingStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Completed = "COMPLETED", Pending = "PENDING", Rejected = "REJECTED" } /** Filter for querying resources */ export type ResourceFilterInput = { /** * Defaults to `true` — only active resources are returned. Omit the field * or pass `null` to use the default; pass `false` to find deactivated * resources. To list both, issue two separate queries (`true` then * `false`) and merge client-side; tracked in BOFF-2419. */ isActive?: InputMaybe<Scalars['Boolean']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; resourceType?: InputMaybe<Scalars['String']['input']>; /** * Case-insensitive substring match against resource `identifier` and `name`. * Blank or whitespace-only values are ignored. Input is capped at 200 * characters server-side (truncation happens before LIKE-escaping, so the * cap applies to user content). PostgreSQL LIKE wildcards (`%`, `_`) and * the escape character (`\\`) match literally, not as wildcards. */ search?: InputMaybe<Scalars['String']['input']>; }; /** Result of a resource operation */ export type ResourceOperationResult = { __typename?: 'ResourceOperationResult'; /** Message describing the result */ message: Scalars['String']['output']; /** Whether the operation was successful */ success: Scalars['Boolean']['output']; }; export type ResourcePage = { __typename?: 'ResourcePage'; items: Array<Resource>; pageInfo: OffsetPageInfo; }; export type ResourcePlan = { __typename?: 'ResourcePlan'; allocations: Array<ResourceAllocation>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; startDate: Scalars['DateTime']['output']; status: Scalars['String']['output']; totalActualHours: Scalars['Float']['output']; totalAllocatedHours: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type ResourcePlanFilterInput = { endDate?: InputMaybe<Scalars['DateTime']['input']>; search?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type ResourcePlanListResponse = { __typename?: 'ResourcePlanListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<ResourcePlan>; total: Scalars['Int']['output']; }; /** * A resource type (permission group) together with the products it is mapped to. * An empty products list means the resource type is cross-product ("All"). */ export type ResourceTypeProductInfo = { __typename?: 'ResourceTypeProductInfo'; /** Product slugs (PlatformProduct.slug) this resource type is relevant to. */ products: Array<Scalars['String']['output']>; resourceType: Scalars['String']['output']; }; /** * `guestName`/`guestEmail`/`guestPhone` are used only when `action: ACCEPT` * creates the real booking; `guestName` falls back to the request's * `requestedBy` when omitted. */ export type RespondGgnomadPrivateGroupRequestInput = { action: GgnomadPrivateRequestAction; counterDate?: InputMaybe<Scalars['DateTime']['input']>; counterPrice?: InputMaybe<Scalars['Float']['input']>; guestEmail?: InputMaybe<Scalars['String']['input']>; guestName?: InputMaybe<Scalars['String']['input']>; guestPhone?: InputMaybe<Scalars['String']['input']>; hostNote?: InputMaybe<Scalars['String']['input']>; }; export type RespondToWorkflowHumanRequestInput = { /** approve or decline, for an approval. */ action?: InputMaybe<Scalars['String']['input']>; /** An approver's note with their answer (approvals only, up to 2000 characters). */ comment?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; /** Free-text answer. */ text?: InputMaybe<Scalars['String']['input']>; /** Custom-form answers keyed by field name. */ values?: InputMaybe<Scalars['JSON']['input']>; }; export type RespondToWorkflowHumanRequestResponse = { __typename?: 'RespondToWorkflowHumanRequestResponse'; /** * The decision the run continued with. Null when the answer was recorded but an approval quorum * still needs more answers; `request.approvals` then shows where it stands. */ decision?: Maybe<Scalars['String']['output']>; error?: Maybe<Scalars['String']['output']>; request?: Maybe<WorkflowHumanRequest>; success: Scalars['Boolean']['output']; }; export type RestoreVaultBackupInput = { data: Scalars['String']['input']; overwriteExisting?: InputMaybe<Scalars['Boolean']['input']>; password: Scalars['String']['input']; vaultId: Scalars['ID']['input']; }; export type RestoreVersionInput = { changeMessage?: InputMaybe<Scalars['String']['input']>; createNewVersion?: InputMaybe<Scalars['Boolean']['input']>; versionId: Scalars['ID']['input']; }; export type RestoreWorkflowFromGitInput = { /** Allow the restore while reporting missing installed nodes. */ allowMissingNodes?: InputMaybe<Scalars['Boolean']['input']>; commitSha: Scalars['String']['input']; /** Map source node type/version keys to installed node type/version values. */ nodeMappings?: InputMaybe<Scalars['JSON']['input']>; workflowKey: Scalars['String']['input']; }; /** Response for resuming a workflow run via trigger */ export type ResumeWorkflowResponse = { __typename?: 'ResumeWorkflowResponse'; /** Message describing the result */ message: Scalars['String']['output']; /** The node ID from which execution will resume */ resumedFromNodeId?: Maybe<Scalars['String']['output']>; /** The resumed workflow run */ run?: Maybe<WorkflowRun>; /** Whether the resume was successful */ success: Scalars['Boolean']['output']; }; export type RetentionBreakdown = { __typename?: 'RetentionBreakdown'; cohorts: Array<RetentionCohort>; dimension: Scalars['String']['output']; value: Scalars['String']['output']; }; export type RetentionCohort = { __typename?: 'RetentionCohort'; cohortDate: Scalars['DateTime']['output']; cohortSize: Scalars['Int']['output']; retentionByPeriod: Array<RetentionPeriod>; }; export type RetentionPeriod = { __typename?: 'RetentionPeriod'; period: Scalars['Int']['output']; retentionRate: Scalars['Float']['output']; userCount: Scalars['Int']['output']; }; /** Retention query output type (echoes query parameters) */ export type RetentionQuery = { __typename?: 'RetentionQuery'; breakdowns?: Maybe<Array<Scalars['String']['output']>>; endDate: Scalars['DateTime']['output']; periodType: TimeGrain; periodsToAnalyze: Scalars['Int']['output']; returnEvent: Scalars['String']['output']; startDate: Scalars['DateTime']['output']; startEvent: Scalars['String']['output']; }; export type RetentionQueryInput = { breakdowns?: InputMaybe<Array<Scalars['String']['input']>>; endDate: Scalars['DateTime']['input']; periodType: TimeGrain; periodsToAnalyze: Scalars['Int']['input']; returnEvent: Scalars['String']['input']; returnEventFilters?: InputMaybe<Array<PropertyFilterInput>>; startDate: Scalars['DateTime']['input']; startEvent: Scalars['String']['input']; startEventFilters?: InputMaybe<Array<PropertyFilterInput>>; }; export type RetentionQueryResult = { __typename?: 'RetentionQueryResult'; averageRetention: Array<Scalars['Float']['output']>; breakdowns: Array<RetentionBreakdown>; cached: Scalars['Boolean']['output']; cohorts: Array<RetentionCohort>; executedAt: Scalars['DateTime']['output']; executionTimeMs: Scalars['Int']['output']; query: RetentionQuery; }; /** Input for retireWorkspaceQuotaAssignmentsBySubscriptions. */ export type RetireWorkspaceQuotaAssignmentsInput = { /** When true, count what would change and change nothing. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** * When true (the default), a workspace whose only active assignments of this quota * come from these subscriptions keeps exactly one of them (the smallest grant), so * no workspace is left without the quota. Gates on this quota fail closed when a * workspace has no assignment at all. */ preserveLastAssignment?: InputMaybe<Scalars['Boolean']['input']>; /** The quota whose assignments are retired, for example fluidgrids.sandbox.runtime_hours. */ quotaName: Scalars['String']['input']; /** Why the assignments are retired. Logged with the outcome. */ reason: Scalars['String']['input']; /** Billing subscription ids whose assignments of this quota are retired. 1 to 500 ids per call. */ subscriptionIds: Array<Scalars['ID']['input']>; }; /** Outcome of retireWorkspaceQuotaAssignmentsBySubscriptions. */ export type RetireWorkspaceQuotaAssignmentsResult = { __typename?: 'RetireWorkspaceQuotaAssignmentsResult'; /** Distinct workspaces that held a matched assignment. */ affectedWorkspaces: Scalars['Int']['output']; /** Assignments deactivated by this call (0 on a dry run). */ deactivated: Scalars['Int']['output']; /** Active assignments of the quota that belong to the given subscriptions. */ matched: Scalars['Int']['output']; /** Assignments kept active because they were the workspace's last assignment of the quota. */ preserved: Scalars['Int']['output']; /** Workspaces that kept one matched assignment because nothing else grants them the quota. */ preservedWorkspaceIds: Array<Scalars['ID']['output']>; }; export declare enum RetrievalMode { Bm25Only = "BM25_ONLY", Hybrid = "HYBRID", Vector = "VECTOR" } export type RetrievalProfile = { __typename?: 'RetrievalProfile'; bucketId?: Maybe<Scalars['ID']['output']>; citationFormat?: Maybe<Scalars['String']['output']>; citationsRequired: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; hybridWeights?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; minRelevanceScore?: Maybe<Scalars['Float']['output']>; minSources: Scalars['Int']['output']; multiHop: Scalars['String']['output']; multiHopDepth?: Maybe<Scalars['Int']['output']>; name: Scalars['String']['output']; noAnswerIfBelowThreshold: Scalars['Boolean']['output']; queryRewrite: Scalars['String']['output']; reranker: Scalars['String']['output']; rerankerModelPolicyId?: Maybe<Scalars['ID']['output']>; revision: Scalars['Int']['output']; showSources: Scalars['Boolean']['output']; snippetMaxChars: Scalars['Int']['output']; status: EntityStatus; strategyMode: RetrievalMode; tags: Array<Scalars['String']['output']>; testQueries?: Maybe<Scalars['JSON']['output']>; topK: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: Visibility; workspaceId: Scalars['ID']['output']; }; export type RetrievalProfileFilterInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; strategyMode?: InputMaybe<RetrievalMode>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** RetryWebhookDeliveryResponse: Response for retrying webhook delivery */ export type RetryWebhookDeliveryResponse = { __typename?: 'RetryWebhookDeliveryResponse'; delivery?: Maybe<WebhookDeliveryLog>; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type RevealWorkflowVariableValueResponse = MutationResponse & { __typename?: 'RevealWorkflowVariableValueResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; value?: Maybe<Scalars['String']['output']>; }; export type RevenueChartPoint = { __typename?: 'RevenueChartPoint'; expenses: Scalars['Float']['output']; month: Scalars['String']['output']; revenue: Scalars['Float']['output']; }; /** * BOFF-7477 — reverse one co-op or contract settlement entry (category coop_settlement, * coop_settlement_payout, contract_sale or contract_procurement) in this workspace. */ export type ReverseHealthyBowlSettlementTransactionInput = { context: ContextInput; /** The settlement entry to reverse. */ id: Scalars['ID']['input']; /** Why it is reversed (required, at most 500 characters). Kept on the reversal entry. */ reason: Scalars['String']['input']; }; export type RevokeMtwInspectorQualificationInput = { expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; qualificationId: Scalars['ID']['input']; reason: Scalars['String']['input']; }; export type RevokeMtwProcedureDeviationInput = { executionId: Scalars['ID']['input']; expectedPreviousId: Scalars['ID']['input']; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; reason: Scalars['String']['input']; stepDecisionId: Scalars['ID']['input']; }; /** Revoke permission input */ export type RevokePermissionInput = { /** Permission ID to revoke */ permissionId: Scalars['ID']['input']; }; /** Input for revoking a grant or link. */ export type RevokeShareInput = { resourceId: Scalars['ID']['input']; shareId: Scalars['ID']['input']; }; /** Result of revoking a token */ export type RevokeTokenResult = { __typename?: 'RevokeTokenResult'; /** Error message if revocation failed */ error?: Maybe<Scalars['String']['output']>; /** Whether the token was revoked successfully */ success: Scalars['Boolean']['output']; }; export type RichTextDocumentInput = { content: Array<RichTextNodeInput>; type: Scalars['String']['input']; }; export type RichTextMarkInput = { attrs?: InputMaybe<Scalars['JSON']['input']>; type: Scalars['String']['input']; }; export type RichTextNodeInput = { attrs?: InputMaybe<Scalars['JSON']['input']>; content?: InputMaybe<Array<RichTextNodeInput>>; marks?: InputMaybe<Array<RichTextMarkInput>>; text?: InputMaybe<Scalars['String']['input']>; type: Scalars['String']['input']; }; /** * A potential threat or issue that could impact project delivery, * tracked with severity, likelihood, and mitigation plans. */ export type Risk = { __typename?: 'Risk'; /** Risk category */ category?: Maybe<Scalars['String']['output']>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Contingency plan */ contingencyPlan?: Maybe<Scalars['String']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this risk */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Detailed description */ description?: Maybe<Scalars['String']['output']>; /** Due date for mitigation */ dueDate?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Impact score (1-5) */ impact: Scalars['Int']['output']; /** Likelihood score (1-5) */ likelihood: Scalars['Int']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Mitigation plan */ mitigationPlan?: Maybe<Scalars['String']['output']>; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID responsible for mitigation */ ownerId?: Maybe<Scalars['String']['output']>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** Date risk was resolved */ resolvedAt?: Maybe<Scalars['DateTime']['output']>; /** Computed risk score (likelihood x impact) */ riskScore: Scalars['Int']['output']; /** Current severity */ severity: RiskSeverity; /** Current status */ status: RiskStatus; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Risk title */ title: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this risk */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum RiskSeverity { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM", Negligible = "NEGLIGIBLE" } export declare enum RiskStatus { Accepted = "ACCEPTED", Analyzing = "ANALYZING", Closed = "CLOSED", Identified = "IDENTIFIED", Mitigating = "MITIGATING", Resolved = "RESOLVED" } export declare enum RoadHaulType { Ftl = "FTL", Ltl = "LTL" } /** * A high-level visual timeline of planned work, providing strategic * visibility across projects and milestones. */ export type Roadmap = { __typename?: 'Roadmap'; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this roadmap */ createdBy: Scalars['String']['output']; /** * The roadmap's OPEN review, if one is in flight (PRM-11). Null when no * review has ever been requested, or the last one was decided or withdrawn — * at most one review is OPEN per roadmap at a time. */ currentReview?: Maybe<PlanmagnetRoadmapReview>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Roadmap description */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this roadmap is publicly shared */ isPublic: Scalars['Boolean']['output']; /** Items on this roadmap */ items: Array<RoadmapItem>; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Roadmap name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Owner actor ID */ ownerId: Scalars['String']['output']; /** * What the roadmap is organised around. Null when never recorded — legacy * roadmaps were not classified, and this is not guessed. */ planningFocus?: Maybe<RoadmapPlanningFocus>; /** The linked Product, when set. */ product?: Maybe<Product>; /** * Linked strategic Product (BOFF-8045). Null when never attached — see the * BOFF-8045 backfill for the migration path from a pre-existing roadmap. */ productId?: Maybe<Scalars['String']['output']>; /** Roadmap visualization type */ type: RoadmapType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this roadmap */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** * An item positioned on a roadmap timeline, linked to a project, * milestone, or epic. */ export type RoadmapItem = { __typename?: 'RoadmapItem'; /** Color for visual display */ color?: Maybe<Scalars['String']['output']>; /** Confidence in this item landing as planned, 0-100 (PRM-10). Null when never recorded. */ confidence?: Maybe<Scalars['Int']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this item */ createdBy: Scalars['String']['output']; /** Item description */ description?: Maybe<Scalars['String']['output']>; /** Effort score 1-10 for Value-vs-Effort prioritization (PRM-27). Null when never set. */ effortScore?: Maybe<Scalars['Int']['output']>; /** End date on timeline */ endDate?: Maybe<Scalars['DateTime']['output']>; /** * Demand behind this initiative (PRM-24): the live feature requests linked to it and the votes cast on them, counted * by the server. Duplicates are left out — their votes were moved to the original. */ featureRequestDemand: PlanmagnetFeatureDemand; /** * Now/Next/Later horizon this item is placed in (PRM-06). Null when it has not been placed on the roadmap view yet * — planmagnetMoveRoadmapItem is how it gets placed. */ horizon?: Maybe<PlanmagnetRoadmapHorizon>; /** Unique identifier */ id: Scalars['ID']['output']; /** Kano classification (PRM-27), an alternative to RICE. Null when never set. */ kano?: Maybe<PlanmagnetKano>; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Linked milestone ID */ milestoneId?: Maybe<Scalars['String']['output']>; /** MoSCoW classification (PRM-27), an alternative to RICE. Null when never set. */ moscow?: Maybe<PlanmagnetMoscow>; /** Linked project ID */ projectId?: Maybe<Scalars['String']['output']>; /** Risk level recorded against this item (PRM-10). Null when no risk has been assessed. */ riskLevel?: Maybe<PlanmagnetRoadmapRiskLevel>; /** Free-text note describing the risk (PRM-10), at most 1000 characters. Null when no risk has been assessed. */ riskNote?: Maybe<Scalars['String']['output']>; /** Parent roadmap */ roadmap?: Maybe<Roadmap>; /** Parent roadmap ID */ roadmapId: Scalars['String']['output']; /** Sort order */ sortOrder: Scalars['Int']['output']; /** Start date on timeline */ startDate?: Maybe<Scalars['DateTime']['output']>; /** * Current status. For an item linked to a work item via `workItemId`, the * status rolls up automatically from execution: the linked item's live child * tasks (or the item itself when it has none) drive PLANNED/IN_PROGRESS/ * COMPLETED/CANCELLED on every status move, including board drags and bulk * updates. DELAYED and AT_RISK stay a manual judgment call — automatic roll-up * never overrides them except on completion or cancellation. Items with no * `workItemId` link are fully manual. */ status: RoadmapItemStatus; /** Swimlane or row identifier */ swimlane?: Maybe<Scalars['String']['output']>; /** Item title */ title: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** * Value-vs-Effort quadrant, computed server-side from valueScore/effortScore (PRM-27) — never stored. Null * unless both scores are set. See PlanmagnetValueEffortQuadrant for the boundaries. */ valueEffortQuadrant?: Maybe<PlanmagnetValueEffortQuadrant>; /** Value score 1-10 for Value-vs-Effort prioritization (PRM-27). Null when never set. */ valueScore?: Maybe<Scalars['Int']['output']>; /** * Linked work item ID (typically an epic). The link is the execution side of * the roadmap: this item's status rolls up automatically from the linked * item's live child tasks (see `status`), re-computed on every task status * move, deletion and reparenting. */ workItemId?: Maybe<Scalars['String']['output']>; }; export declare enum RoadmapItemStatus { AtRisk = "AT_RISK", Cancelled = "CANCELLED", Completed = "COMPLETED", Delayed = "DELAYED", InProgress = "IN_PROGRESS", Planned = "PLANNED" } /** * What a roadmap is organised around. Independent of how it is displayed: a * technology roadmap can be shown as a timeline. */ export declare enum RoadmapPlanningFocus { Feature = "FEATURE", Portfolio = "PORTFOLIO", Technology = "TECHNOLOGY", Theme = "THEME" } /** * How a roadmap is displayed. Only TIMELINE is served today; SWIMLANE, GANTT and * CUSTOM are refused with a reason until those views are built (BOFF-7934). */ export declare enum RoadmapType { Custom = "CUSTOM", Gantt = "GANTT", Swimlane = "SWIMLANE", Timeline = "TIMELINE" } /** Role - Convention-based with resource type mappings */ export type Role = { __typename?: 'Role'; /** Actors assigned this role */ actorAssignments: Array<ActorRoleAssignment>; /** Child roles in hierarchy */ children: Array<Role>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** Default permission levels per resource type */ defaultPermissions: Array<RoleDefaultPermission>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isSystem: Scalars['Boolean']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** Parent role in hierarchy */ parent?: Maybe<Role>; /** Role-level permission overrides */ permissionOverrides: Array<RolePermissionOverride>; priority: Scalars['Int']['output']; /** * Product this role belongs to (PlatformProduct.slug). Null = cross-product / * platform role (e.g. Workspace Owner, Editor, Viewer) shown under every product. */ productSlug?: Maybe<Scalars['String']['output']>; scopeId: Scalars['String']['output']; scopeType: Scalars['String']['output']; /** Stable managed-role template identity. Null for custom roles. Read-only. */ templateKey?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; }; /** Original actor whose authority a calling service forwards. Privileged identities are never forwarded. */ export declare enum RoleAssignmentRequesterActorType { App = "APP", User = "USER" } /** Derived by the calling service from verified gateway headers (x-actor-id/x-actor-type), never from client input. */ export type RoleAssignmentRequesterInput = { actorId: Scalars['String']['input']; actorType: RoleAssignmentRequesterActorType; }; /** Maps role to default permission level per resource type */ export type RoleDefaultPermission = { __typename?: 'RoleDefaultPermission'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; level: RoleLevel; onBehalfOf?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; roleId: Scalars['String']['output']; }; /** * Filter for querying roles. * * Note: scopeId is intentionally not part of this filter — the workspace scope * is derived from the request context (x-workspace-id) and cannot be overridden * by the client. This prevents cross-workspace reads. */ export type RoleFilterInput = { /** * Whether to include cross-product/platform roles (productSlug = null) when a * product filter is applied. Defaults to true. Ignored when product is unset. */ includePlatformRoles?: InputMaybe<Scalars['Boolean']['input']>; includeSystem?: InputMaybe<Scalars['Boolean']['input']>; isSystem?: InputMaybe<Scalars['Boolean']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; /** * Filter roles by product (PlatformProduct.slug). When set, returns roles for * that product. Cross-product/platform roles (productSlug = null) are included * unless includePlatformRoles is explicitly false. */ product?: InputMaybe<Scalars['String']['input']>; }; /** Input for checkRoleGrant: may the requester grant these roles in scopeId? */ export type RoleGrantCheckInput = { requester: RoleAssignmentRequesterInput; /** At most 100 entries (RBAC_LIMITS.MAX_ROLES_PER_ACTOR) before de-duplication. */ roleIds: Array<Scalars['ID']['input']>; /** Must equal the calling service's verified workspace context. */ scopeId: Scalars['String']['input']; }; /** Result of checkRoleGrant. A refusal is an answer, not an error. */ export type RoleGrantCheckResult = { __typename?: 'RoleGrantCheckResult'; /** True when setActorRoles would let the requester add every requested role */ allowed: Scalars['Boolean']['output']; /** * Null when allowed; otherwise ROLE_NOT_FOUND | ROLE_SCOPE_MISMATCH | MAX_ROLES_EXCEEDED | * ASSIGNMENT_CREATE_REQUIRED | PROTECTED_ROLE_OWNER_ONLY | ROLE_ESCALATION */ reasonCode?: Maybe<Scalars['String']['output']>; /** * The roles refused for reasonCode: the missing or out-of-scope roles, every requested role * (ASSIGNMENT_CREATE_REQUIRED), the Owner/Admin roles (PROTECTED_ROLE_OWNER_ONLY), or the first * role found above the requester's own authority (ROLE_ESCALATION). Empty when allowed or for * MAX_ROLES_EXCEEDED. */ refusedRoleIds: Array<Scalars['ID']['output']>; }; /** Basic role information */ export type RoleInfo = { __typename?: 'RoleInfo'; id: Scalars['ID']['output']; name: Scalars['String']['output']; priority: Scalars['Int']['output']; }; /** Role permission levels for resource types */ export declare enum RoleLevel { /** Full access to resource type */ Admin = "ADMIN", /** Read + Write access */ Editor = "EDITOR", /** No default access (must be explicitly granted) */ None = "NONE", /** Read-only access */ Viewer = "VIEWER" } export type RolePage = { __typename?: 'RolePage'; items: Array<Role>; pageInfo: OffsetPageInfo; }; /** Role-level permission override for specific resources */ export type RolePermissionOverride = { __typename?: 'RolePermissionOverride'; action: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; overrideType: OverrideType; priority: Scalars['Int']['output']; reason?: Maybe<Scalars['String']['output']>; /** Optional: Scope to specific resource instance */ resourceId?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; /** The role this override applies to */ role: Role; roleId: Scalars['String']['output']; scopeId: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validUntil?: Maybe<Scalars['DateTime']['output']>; }; /** Result of rotating a workspace secret */ export type RotateWorkspaceSecretResult = { __typename?: 'RotateWorkspaceSecretResult'; /** Error message if rotation failed */ error?: Maybe<Scalars['String']['output']>; /** When the grace period ends (old secret expires) */ gracePeriodEndsAt?: Maybe<Scalars['DateTime']['output']>; /** Whether the rotation was initiated successfully */ success: Scalars['Boolean']['output']; /** Workspace ID the secret was rotated for */ workspaceId?: Maybe<Scalars['String']['output']>; }; export type RouteFilterInput = { driverId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; shipmentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<RouteStatus>; vehicleId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum RouteOptimizationStrategy { /** Resolve automatically: window-aware seeding plus a 2-opt pass. */ Auto = "AUTO", /** Greedy nearest-neighbour tour from the first recorded stop. */ NearestNeighbour = "NEAREST_NEIGHBOUR", /** Greedy seeded at the tightest delivery window, pricing lateness into each pick. */ TimeWindow = "TIME_WINDOW", /** Nearest-neighbour seed followed by a 2-opt improvement pass. */ TwoOpt = "TWO_OPT" } /** Result of the most recent optimizeRoute run, persisted on the route. */ export type RouteOptimizationSummary = { __typename?: 'RouteOptimizationSummary'; distanceAfterKm?: Maybe<Scalars['Float']['output']>; distanceBeforeKm?: Maybe<Scalars['Float']['output']>; distanceSavedKm?: Maybe<Scalars['Float']['output']>; durationAfterMinutes?: Maybe<Scalars['Float']['output']>; /** True when no constraint (windows, capacity, driver hours) was violated. */ feasible: Scalars['Boolean']['output']; ranAt: Scalars['DateTime']['output']; strategy: RouteOptimizationStrategy; violations: Array<RouteOptimizationViolation>; waypointCount: Scalars['Int']['output']; }; export type RouteOptimizationViolation = { __typename?: 'RouteOptimizationViolation'; code: RouteOptimizationViolationCode; message: Scalars['String']['output']; /** 1-based position in the optimized tour; null when not tied to one stop. */ sequence?: Maybe<Scalars['Int']['output']>; }; export declare enum RouteOptimizationViolationCode { /** Some stops have no coordinates, so the tour cannot be measured. */ NoCoordinates = "NO_COORDINATES", /** The total recorded load exceeds the assigned vehicle's recorded weight capacity. */ OverCapacity = "OVER_CAPACITY", /** The optimized run exceeds the assigned driver's recorded shift limit. */ OverDriverHours = "OVER_DRIVER_HOURS", /** A stop is reached outside its recorded delivery window. */ WindowMissed = "WINDOW_MISSED" } export declare enum RouteStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Planned = "PLANNED" } export declare enum RoutingStrategy { Custom = "CUSTOM", Intelligent = "INTELLIGENT", RoundRobin = "ROUND_ROBIN", Single = "SINGLE" } export declare enum RuleActionType { AssignTag = "ASSIGN_TAG", CallWebhook = "CALL_WEBHOOK", RemoveTag = "REMOVE_TAG", SendNotification = "SEND_NOTIFICATION", UpdateProperty = "UPDATE_PROPERTY" } export declare enum RuleConditionOperator { Contains = "CONTAINS", EndsWith = "ENDS_WITH", Equals = "EQUALS", Exists = "EXISTS", GreaterThan = "GREATER_THAN", InList = "IN_LIST", IsFalse = "IS_FALSE", IsTrue = "IS_TRUE", LessThan = "LESS_THAN", MatchesRegex = "MATCHES_REGEX", NotContains = "NOT_CONTAINS", NotEquals = "NOT_EQUALS", NotExists = "NOT_EXISTS", NotInList = "NOT_IN_LIST", StartsWith = "STARTS_WITH" } export type RuleConditionTrace = { __typename?: 'RuleConditionTrace'; actual?: Maybe<Scalars['JSON']['output']>; expected?: Maybe<Scalars['JSON']['output']>; field: Scalars['String']['output']; operator: Scalars['String']['output']; passed: Scalars['Boolean']['output']; }; export type RuleEvaluationResult = { __typename?: 'RuleEvaluationResult'; /** The outcome of the Decision block reached, when DECIDED. */ decision?: Maybe<Scalars['String']['output']>; durationMs: Scalars['Float']['output']; issues: Array<RuleIssue>; /** The reached Decision block's output object, when DECIDED. */ output?: Maybe<Scalars['JSON']['output']>; /** Block ids visited, in order. */ path: Array<Scalars['String']['output']>; status: RuleEvaluationStatus; trace: Array<RuleTraceStep>; /** Every variable set by Scoring and Lookup blocks on the path. */ variables: Scalars['JSON']['output']; }; export declare enum RuleEvaluationStatus { /** A Decision block was reached. */ Decided = "DECIDED", /** The definition has an ERROR issue and was not evaluated. */ Invalid = "INVALID", /** Evaluation stopped at a block with no connection for its result. */ NoDecision = "NO_DECISION" } /** * A completeness problem of a rule set. ERROR issues block evaluation; WARNING * issues (a missing branch, an unreachable block) do not. */ export type RuleIssue = { __typename?: 'RuleIssue'; code: Scalars['String']['output']; message: Scalars['String']['output']; nodeId?: Maybe<Scalars['String']['output']>; severity: RuleIssueSeverity; }; export declare enum RuleIssueSeverity { Error = "ERROR", Warning = "WARNING" } export declare enum RuleMaterializationStrategy { EventDriven = "EVENT_DRIVEN", Manual = "MANUAL", OnRead = "ON_READ", Scheduled = "SCHEDULED" } export declare enum RuleNodeType { Complex = "COMPLEX", Condition = "CONDITION", Decision = "DECISION", Lookup = "LOOKUP", Scoring = "SCORING" } export declare enum RuleRunMode { Batch = "BATCH", Manual = "MANUAL", Realtime = "REALTIME" } export type RuleSet = { __typename?: 'RuleSet'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** Normalized rule graph: { startNodeId, nodes: [{ id, type, label, position, config }], edges: [{ id, source, target, branch }] }. */ definition: Scalars['JSON']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; issues: Array<RuleIssue>; name: Scalars['String']['output']; nodeCount: Scalars['Int']['output']; /** The input the Test panel opens with. */ sampleInput: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; /** Bumped on every save. Pass it back as `expectedVersion` to refuse overwriting a newer save. */ version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type RuleSetListResponse = { __typename?: 'RuleSetListResponse'; ruleSets: Array<RuleSet>; total: Scalars['Int']['output']; }; /** A starter rule set offered when creating one. */ export type RuleSetTemplate = { __typename?: 'RuleSetTemplate'; definition: Scalars['JSON']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; sampleInput: Scalars['JSON']['output']; }; export declare enum RuleStepOutcome { Decision = "DECISION", False = "FALSE", Next = "NEXT", Stop = "STOP", True = "TRUE" } export type RuleTraceStep = { __typename?: 'RuleTraceStep'; conditions: Array<RuleConditionTrace>; detail: Scalars['String']['output']; index: Scalars['Int']['output']; label: Scalars['String']['output']; nodeId: Scalars['String']['output']; nodeType: RuleNodeType; outcome: RuleStepOutcome; /** Variables this block set, with their new values. */ variables: Scalars['JSON']['output']; }; /** The limits of a run's AI budget (BOFF-9943). A null limit is not set. */ export type RunBudget = { __typename?: 'RunBudget'; maxCostMicroUsd?: Maybe<RunBudgetLimit>; maxSteps?: Maybe<RunBudgetLimit>; maxTokens?: Maybe<RunBudgetLimit>; maxWallTimeSec?: Maybe<RunBudgetLimit>; }; /** The four limits of a run's AI budget (BOFF-9943). */ export declare enum RunBudgetDimension { /** Estimated cost of the run's model calls, in micro-USD (1,000,000 = 1 USD). */ Cost = "COST", /** Model calls: every AI Agent turn and every model-calling node, adapter or tool call. */ Steps = "STEPS", /** Input plus output tokens of the run's model calls. */ Tokens = "TOKENS", /** Seconds the run has spent RUNNING (time parked in WAITING does not count). */ WallTime = "WALL_TIME" } /** A budget limit a run went over (BOFF-9943). */ export type RunBudgetExceeded = { __typename?: 'RunBudgetExceeded'; at: Scalars['DateTime']['output']; dimension: RunBudgetDimension; limit: Scalars['Float']['output']; mode: RunBudgetMode; /** The usage when it was found over the limit (for steps, tokens and cost, of the whole run tree). */ observed: Scalars['Float']['output']; }; /** * A run's AI budget (BOFF-9943). Every limit is optional; a sub-workflow's steps, tokens and cost * also count against the top-level run's budget. */ export type RunBudgetInput = { maxCostMicroUsd?: InputMaybe<RunBudgetLimitInput>; maxSteps?: InputMaybe<RunBudgetLimitInput>; maxTokens?: InputMaybe<RunBudgetLimitInput>; maxWallTimeSec?: InputMaybe<RunBudgetLimitInput>; }; /** One budget limit. */ export type RunBudgetLimit = { __typename?: 'RunBudgetLimit'; limit: Scalars['Float']['output']; mode: RunBudgetMode; }; /** One budget limit. */ export type RunBudgetLimitInput = { /** The limit, a whole number above zero. */ limit: Scalars['Float']['input']; mode?: InputMaybe<RunBudgetMode>; }; /** How a budget limit acts when a run reaches it (BOFF-9943). */ export declare enum RunBudgetMode { /** Stop the run with BUDGET_EXCEEDED before its next model call. */ Hard = "HARD", /** Write a warning to the run log and carry on. */ Soft = "SOFT" } /** A run's AI budget and where it stands (BOFF-9943). */ export type RunBudgetState = { __typename?: 'RunBudgetState'; exceeded: Array<RunBudgetExceeded>; limits: RunBudget; /** This run's own usage (a sub-workflow's runs report theirs on their own pages). */ usage: RunBudgetUsage; }; /** What a run has used against its budget (BOFF-9943). */ export type RunBudgetUsage = { __typename?: 'RunBudgetUsage'; /** Seconds the run has spent RUNNING. */ activeSeconds: Scalars['Float']['output']; /** Their estimated cost in micro-USD; null when no call was priced yet. */ costMicroUsd?: Maybe<Scalars['Float']['output']>; /** Model calls the run made. */ steps: Scalars['Int']['output']; /** Input plus output tokens of those calls. */ tokens: Scalars['Float']['output']; }; /** * The completion callback of a run started with `completionCallbackUrl` (spec code-first 11 §2.32). * The headers and the signing secret are never returned. */ export type RunCallbackDelivery = { __typename?: 'RunCallbackDelivery'; attempts: Scalars['Int']['output']; deliveredAt?: Maybe<Scalars['DateTime']['output']>; lastAttemptAt?: Maybe<Scalars['DateTime']['output']>; lastError?: Maybe<Scalars['String']['output']>; lastStatusCode?: Maybe<Scalars['Int']['output']>; nextAttemptAt?: Maybe<Scalars['DateTime']['output']>; /** PENDING (the run is open, or the next attempt is due), DELIVERING, DELIVERED or FAILED. */ status: Scalars['String']['output']; /** The callback URL without its user info and query. */ url: Scalars['String']['output']; }; /** One group of workflowRunsCount. */ export type RunCountGroup = { __typename?: 'RunCountGroup'; count: Scalars['Int']['output']; /** The group's values joined by `/`, a missing value as an empty string. */ key: Scalars['String']['output']; /** The group's value for each `groupBy` column, in order; null when the run has none. */ values: Array<Maybe<Scalars['String']['output']>>; }; /** The outcome of workflowRunsCount. */ export type RunCountResult = { __typename?: 'RunCountResult'; groups: Array<RunCountGroup>; /** More than 1000 groups matched; the smallest were left out. */ groupsTruncated: Scalars['Boolean']['output']; /** Every run the list returns for the filter. */ total: Scalars['Int']['output']; }; /** What a person should do about a cluster of failures. */ export declare enum RunFailureBucket { /** A node is missing a setting or has an invalid one. */ BadNodeConfig = "BAD_NODE_CONFIG", /** The connected service changed shape (missing key, unexpected field, 4xx schema errors). */ ConnectorContractChange = "CONNECTOR_CONTRACT_CHANGE", /** A connection stopped authenticating (401, invalid_grant, expired token). Reconnect it. */ ExpiredConnection = "EXPIRED_CONNECTION", /** None of the above. */ Unknown = "UNKNOWN", /** Timeouts, 5xx, rate limits or a failure a later run recovered from. Left to the retry; never clustered. */ UpstreamTransient = "UPSTREAM_TRANSIENT" } /** One kind of failure at one node of one workflow, built from the caller's own runs. */ export type RunFailureCluster = { __typename?: 'RunFailureCluster'; /** What to do about it, in one sentence. */ advice: Scalars['String']['output']; bucket: RunFailureBucket; dismissedAt?: Maybe<Scalars['DateTime']['output']>; errorType?: Maybe<ErrorType>; firstSeenAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastRunId: Scalars['ID']['output']; lastSeenAt: Scalars['DateTime']['output']; /** The failing node, or __run__ when the run failed outside any node. */ nodeId: Scalars['String']['output']; nodeType?: Maybe<Scalars['String']['output']>; notifiedAt?: Maybe<Scalars['DateTime']['output']>; productId: Scalars['String']['output']; /** The fix proposal attached by the triage loop. Read it with workflowProposal(id). */ proposalId?: Maybe<Scalars['ID']['output']>; proposedAt?: Maybe<Scalars['DateTime']['output']>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; runCount: Scalars['Int']['output']; /** The latest raw error message, truncated. */ sampleError?: Maybe<Scalars['String']['output']>; /** The newest failing run ids, at most five. */ sampleRunIds: Array<Scalars['ID']['output']>; /** The error message with ids, numbers and long values replaced. */ signature: Scalars['String']['output']; status: RunFailureClusterStatus; workflowKey: Scalars['String']['output']; workflowName?: Maybe<Scalars['String']['output']>; }; export type RunFailureClusterFilter = { bucket?: InputMaybe<Array<RunFailureBucket>>; /** Only clusters that list this run among their sample runs. */ runId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<Array<RunFailureClusterStatus>>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; export type RunFailureClusterList = { __typename?: 'RunFailureClusterList'; items: Array<RunFailureCluster>; total: Scalars['Int']['output']; }; export declare enum RunFailureClusterStatus { Dismissed = "DISMISSED", Open = "OPEN", Proposed = "PROPOSED", Resolved = "RESOLVED" } export type RunFailureTriageResult = { __typename?: 'RunFailureTriageResult'; cursorAt?: Maybe<Scalars['DateTime']['output']>; deferredClusters: Scalars['Int']['output']; /** All clusters first seen in this tick, the caller's or not. */ newClusterCount: Scalars['Int']['output']; /** Clusters first seen (or reopened) in this tick that belong to the caller. */ newClusters: Array<RunFailureCluster>; /** not_enabled or flag_off when skipped. */ reason?: Maybe<Scalars['String']['output']>; recoveredRuns: Scalars['Int']['output']; resolvedClusters: Scalars['Int']['output']; scannedRuns: Scalars['Int']['output']; skipped: Scalars['Boolean']['output']; suppressedTransient: Scalars['Int']['output']; updatedClusters: Scalars['Int']['output']; }; export type RunFailureTriageSettings = { __typename?: 'RunFailureTriageSettings'; /** Triage is opt-in per workspace and off by default. */ enabled: Scalars['Boolean']['output']; enabledAt?: Maybe<Scalars['DateTime']['output']>; enabledBy?: Maybe<Scalars['String']['output']>; /** False when the fluidgrids.autonomous-triage kill switch is off for the workspace. */ killSwitchOn: Scalars['Boolean']['output']; lastDigestAt?: Maybe<Scalars['DateTime']['output']>; lastTickAt?: Maybe<Scalars['DateTime']['output']>; /** Counts from the last tick: scannedRuns, suppressedTransient, recoveredRuns, newClusters, deferredClusters, updatedClusters, resolvedClusters. */ lastTickSummary?: Maybe<Scalars['JSON']['output']>; systemWorkflows: Array<SystemWorkflowInstallation>; }; /** * Read-only preflight for a run-from-node action. It never creates a run, copies * node state, publishes a job, or otherwise changes execution state. */ export type RunFromNodeEligibility = { __typename?: 'RunFromNodeEligibility'; ancestorNodeIds: Array<Scalars['String']['output']>; blockedNodeIds: Array<Scalars['String']['output']>; blockers: Array<Scalars['String']['output']>; completedAncestorNodeIds: Array<Scalars['String']['output']>; eligible: Scalars['Boolean']['output']; reason?: Maybe<Scalars['String']['output']>; sourceMode: RunMode; sourceRunId: Scalars['ID']['output']; targetNodeId: Scalars['String']['output']; targetStatus?: Maybe<Scalars['String']['output']>; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** * Input for the read-only run-from-node preflight. The source run and target * node are both scoped to the caller's workspace. */ export type RunFromNodeEligibilityInput = { nodeId: Scalars['String']['input']; sourceRunId: Scalars['ID']['input']; }; /** * Input for re-running a workflow from a chosen node onward, reusing the * upstream node outputs already captured by an earlier run instead of * re-executing the whole upstream chain (BOFF-7511). */ export type RunFromNodeInput = { /** * Manual (TEST) vs real (PRODUCTION) execution. Defaults to TEST — this is a * debugging affordance, not a production replay mechanism. */ mode?: InputMaybe<RunMode>; /** Node to (re-)execute; everything downstream of it executes normally. */ nodeId: Scalars['String']['input']; /** The earlier run to reuse upstream node outputs from. */ sourceRunId: Scalars['ID']['input']; }; /** * A column workflowRunsCount groups by (spec code-first 11 §2.34). Durable-function parity: needs * fluidgrids.durable-parity. */ export declare enum RunGroupBy { ExecutionKind = "EXECUTION_KIND", Status = "STATUS", /** The run's task queue; graph runs have none and fall in the group with an empty key. */ TaskQueue = "TASK_QUEUE", WorkflowKey = "WORKFLOW_KEY" } /** Severity of a run log line. */ export declare enum RunLogLevel { Debug = "DEBUG", Error = "ERROR", Info = "INFO", Warn = "WARN" } /** One line of a workflow run's execution log. */ export type RunLogLine = { __typename?: 'RunLogLine'; /** * Retry attempt of the node execution that produced this line, so a retried * node's output does not visually merge with the attempt that failed. */ attempt: Scalars['Int']['output']; /** Small structured payload (status codes, durations, counts). Already redacted. */ data?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; level: RunLogLevel; message: Scalars['String']['output']; /** * Node this line is attributed to. Null for run-level lines (run started, * run completed, ...). */ nodeId?: Maybe<Scalars['String']['output']>; nodeStateId?: Maybe<Scalars['String']['output']>; /** * Coarse stage within the node execution ("resolve-inputs", "call-node", * "retry", ...). Free-form so the executor can add stages without a migration. */ phase?: Maybe<Scalars['String']['output']>; runId: Scalars['String']['output']; stream: RunLogStream; timestamp: Scalars['DateTime']['output']; /** True when `message` was cut to the per-line byte cap. */ truncated: Scalars['Boolean']['output']; }; /** A page of run log lines, in chronological order. */ export type RunLogPage = { __typename?: 'RunLogPage'; hasMore: Scalars['Boolean']['output']; /** True when this run hit the per-run log cap and further lines were dropped. */ limitReached: Scalars['Boolean']['output']; lines: Array<RunLogLine>; /** * Opaque cursor to pass as `after` for the next page. Null when the caller has * reached the end of what exists right now — for a still-running workflow more * may appear later, which is what the `runLogAppended` subscription delivers. */ nextCursor?: Maybe<Scalars['String']['output']>; }; /** * Where a run log line came from. * * `SYSTEM` is the executor narrating the run (node started, endpoint resolved, * branch skipped, ...). `STDOUT`/`STDERR` is output the workflow author's own * code produced — a Log node's message, `console.log`/`print` inside a Code * node, or the node container's own stdout — so a viewer can style and filter * "what the platform did" separately from "what my workflow printed". */ export declare enum RunLogStream { Stderr = "STDERR", Stdout = "STDOUT", System = "SYSTEM" } /** * Manual/debug (TEST) vs real (PRODUCTION) execution — BOFF-7511. * * Pinned node data, step-debug and run-from-node are TEST-only affordances. * Defaults to PRODUCTION everywhere for backward compatibility with every * caller that predates this distinction (webhooks, schedules, existing API/SDK * callers). The executor MUST refuse to read pinned data for a PRODUCTION run — * this is a hard safety invariant, not a UX default. */ export declare enum RunMode { Production = "PRODUCTION", Test = "TEST" } /** * An open activity of a run (WorkflowRun.pending). For a durable-function run, one activity the code * scheduled: SCHEDULED (waiting for a worker or for its next attempt, `nextAttemptAt`), STARTED or * CANCEL_REQUESTED. For a graph run, one node that is running or waiting. */ export type RunPendingActivity = { __typename?: 'RunPendingActivity'; activityId: Scalars['ID']['output']; /** The node type the activity runs (a graph run: the node's type). */ activityType: Scalars['String']['output']; /** The attempt in flight or due next, 1-based. */ attempt: Scalars['Int']['output']; /** The last heartbeat's details, following the run's privacy settings. */ heartbeatDetails?: Maybe<Scalars['JSON']['output']>; /** The last attempt's failure, following the run's privacy settings. */ lastFailure?: Maybe<Scalars['JSON']['output']>; lastHeartbeatAt?: Maybe<Scalars['DateTime']['output']>; lastStartedAt?: Maybe<Scalars['DateTime']['output']>; /** Null when the retry policy sets no limit. */ maxAttempts?: Maybe<Scalars['Int']['output']>; nextAttemptAt?: Maybe<Scalars['DateTime']['output']>; scheduledAt?: Maybe<Scalars['DateTime']['output']>; state: Scalars['String']['output']; summary?: Maybe<Scalars['String']['output']>; }; /** An open child run (WorkflowRun.pending). */ export type RunPendingChild = { __typename?: 'RunPendingChild'; runId: Scalars['ID']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: RunStatus; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** * What a run is waiting on (spec code-first 11 §2.34), at most 200 entries per list. Updates are * Phase C. Empty for a closed run. */ export type RunPendingState = { __typename?: 'RunPendingState'; activities: Array<RunPendingActivity>; /** Signals kept for a Wait for Signal node that has not parked yet (graph runs). */ bufferedSignals: Scalars['Int']['output']; children: Array<RunPendingChild>; timers: Array<RunPendingTimer>; /** Null for a graph run, or when no workflow task is open. */ workflowTask?: Maybe<RunPendingWorkflowTask>; }; /** A pending timer (WorkflowRun.pending); for a graph run, a Wait node with a resume time. */ export type RunPendingTimer = { __typename?: 'RunPendingTimer'; fireAt: Scalars['DateTime']['output']; summary?: Maybe<Scalars['String']['output']>; timerId: Scalars['ID']['output']; }; /** The open workflow task of a durable-function run (WorkflowRun.pending). */ export type RunPendingWorkflowTask = { __typename?: 'RunPendingWorkflowTask'; /** Attempts of the current failure streak (0 before the first start). */ attempt: Scalars['Int']['output']; /** Why the last attempt failed, while the task is failing. */ failureCause?: Maybe<WorkflowTaskFailureCause>; startedAt?: Maybe<Scalars['DateTime']['output']>; /** SCHEDULED, STARTED or BACKOFF (a failed attempt waiting for its retry). */ state?: Maybe<Scalars['String']['output']>; }; export type RunSandboxScriptInput = { context: ContextInput; /** bash | sh | python | node */ interpreter: Scalars['String']['input']; label?: InputMaybe<Scalars['String']['input']>; sandboxId: Scalars['ID']['input']; script: Scalars['String']['input']; }; export declare enum RunStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING", Terminated = "TERMINATED", Waiting = "WAITING" } /** * A run named by id, or by workflow id: `{ workflowKey, workflowId }` reaches the latest run of the * chain (following continue-as-new), and `firstRunId` refuses with VALIDATION when that chain is * another one. Give either `runId` or `workflowKey` with `workflowId`. Durable-function parity: needs * fluidgrids.durable-parity. */ export type RunTargetInput = { firstRunId?: InputMaybe<Scalars['ID']['input']>; runId?: InputMaybe<Scalars['ID']['input']>; /** The workflow id (the run's businessId). */ workflowId?: InputMaybe<Scalars['String']['input']>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** * Coarse trigger-type filter for the Runs screen (BOFF-7519). Derived from a * run's `context` at query time (see `WorkflowRunProvider.runTriggerTypeWhere`) * — there is no dedicated trigger-type column. */ export declare enum RunTriggerType { /** Started by an internal event, a polling-detected change, or a chained workflow trigger. */ Event = "EVENT", /** Builder "Test workflow", the SDK, or a bare API call — the default when nothing else stamped a trigger type. */ Manual = "MANUAL", /** Started by a scheduled/cron fire. */ Schedule = "SCHEDULE", /** Started by an inbound webhook delivery. */ Webhook = "WEBHOOK" } /** Which bundle a durable-function run uses (spec code-first 11 §2.27). */ export type RunVersioning = { __typename?: 'RunVersioning'; /** The behaviour the run follows now: its override, else its own behaviour. */ behavior: VersioningBehavior; buildId?: Maybe<Scalars['String']['output']>; /** * AUTO_UPGRADE: the ACTIVE version the run does not move back to, because it upgraded past it * (through a rollout, or a verified override) and that version's bundle never replayed it. It moves * again once another version is activated, or a rollout check takes it on. */ heldFromVersion?: Maybe<Scalars['String']['output']>; override?: Maybe<RunVersioningOverride>; /** An override change waiting for its replay check (poll workflowCodeReplace with its id). */ pendingOverride?: Maybe<WorkflowCodeReplaceResult>; /** The version whose bundle serves the run: the one it started on unless an upgrade or a pin moved it. */ servingVersion: Scalars['String']['output']; /** The behaviour the run started with; null for runs started without durable-function parity (PINNED). */ startBehavior?: Maybe<VersioningBehavior>; }; /** A run's versioning override (spec code-first 11 §2.27). */ export type RunVersioningOverride = { __typename?: 'RunVersioningOverride'; behavior: VersioningBehavior; /** PINNED: the version whose bundle the run is pinned to. */ version?: Maybe<Scalars['String']['output']>; }; export type RunWorkflowTestsInput = { /** Run only these cases (enabled or not); an empty list runs none. Omitted: every enabled case. */ caseIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Where the run was started from; default API. */ source?: InputMaybe<WorkflowTestRunSource>; /** Version or alias to test; default the ACTIVE version, else the newest DRAFT. */ version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; export type RunningTimer = { __typename?: 'RunningTimer'; elapsedSeconds: Scalars['Int']['output']; timeEntry: TimeEntry; }; export type SshConfigHost = { __typename?: 'SSHConfigHost'; hostname: Scalars['String']['output']; identityFile?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; port: Scalars['Int']['output']; proxyJump?: Maybe<Scalars['String']['output']>; user: Scalars['String']['output']; }; export type SshConfigScanResult = { __typename?: 'SSHConfigScanResult'; configPath: Scalars['String']['output']; hosts: Array<SshConfigHost>; total: Scalars['Int']['output']; }; /** * Audit-ready software-asset-management report across every software title in * the workspace: aggregate cost exposure, renewal risk, and per-title ELP. */ export type SamAuditReport = { __typename?: 'SamAuditReport'; compliantCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; overLicensedCount: Scalars['Int']['output']; positions: Array<EffectiveLicensePosition>; renewalRiskCount: Scalars['Int']['output']; totalCostExposure: Scalars['Float']['output']; underLicensedCount: Scalars['Int']['output']; usageSource: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type Sandbox = { __typename?: 'Sandbox'; agentEnabled: Scalars['Boolean']['output']; containerStatuses?: Maybe<Array<ContainerStatus>>; containers: Array<ContainerSpec>; context?: Maybe<OperationContext>; crdName?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: SandboxKind; metadata?: Maybe<Scalars['JSON']['output']>; mode: SandboxMode; name: Scalars['String']['output']; namespace: Scalars['String']['output']; network: SandboxNetwork; podName?: Maybe<Scalars['String']['output']>; resources: SandboxResources; /** The customer runner this sandbox runs on; null when it runs in FluidGrids Cloud. */ runnerId?: Maybe<Scalars['ID']['output']>; runtimeClass: Scalars['String']['output']; source: SandboxSource; status: SandboxStatus; stoppedAt?: Maybe<Scalars['DateTime']['output']>; storage: SandboxStorage; tagAssignments: Array<SandboxTagAssignment>; tags: Array<Scalars['String']['output']>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. */ tagsV2: Scalars['JSON']['output']; template: SandboxTemplate; ttlSeconds: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; /** * Optional Vibe linkage (cross-service ref resolved via wspace-vibecontrols-svc). * When set the sandbox is surfaced on the Vibe detail page (subject to visibility). */ vibeId?: Maybe<Scalars['ID']['output']>; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. Defaults to PRIVATE on creation. */ visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; export type SandboxActivity = { __typename?: 'SandboxActivity'; action: Scalars['String']['output']; actorId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; sandboxId?: Maybe<Scalars['ID']['output']>; sandboxName: Scalars['String']['output']; status: Scalars['String']['output']; }; export type SandboxActivityList = { __typename?: 'SandboxActivityList'; items: Array<SandboxActivity>; total: Scalars['Int']['output']; }; export type SandboxAgentJob = { __typename?: 'SandboxAgentJob'; agent: SandboxAgentKind; /** Commit the patch applies to. */ baseCommit?: Maybe<Scalars['String']['output']>; changedFiles: Array<SandboxAgentJobChangedFile>; /** ISO-8601. */ createdAt: Scalars['String']['output']; createdBy: Scalars['String']['output']; /** Unified diff of every change the agent made (redacted, at most 512 KB). */ diff?: Maybe<Scalars['String']['output']>; diffTruncated: Scalars['Boolean']['output']; errorCode?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; /** The agent CLI's exit code; null when the job ended before the agent ran. */ exitCode?: Maybe<Scalars['Int']['output']>; finishedAt?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Per-call usage, for callers that record each model call in their own AI ledger. */ llmCalls: Array<SandboxAgentJobLlmCall>; /** Agent stderr and setup failures (redacted, at most 8000 characters). */ logTail?: Maybe<Scalars['String']['output']>; maxCostMicroUsd: Scalars['Float']['output']; maxTokens: Scalars['Int']['output']; model: Scalars['String']['output']; /** Last phase reported by the sandbox: provision | install | clone | agent | collect. */ phase?: Maybe<Scalars['String']['output']>; productKey: Scalars['String']['output']; provider: Scalars['String']['output']; repoRef?: Maybe<Scalars['String']['output']>; /** Empty for ASSISTANT_REVIEW jobs, which have no repository. */ repoUrl: Scalars['String']['output']; /** ASSISTANT_REVIEW only: the review's answer, { valid, contract, suggestions | errors }. */ resultJson?: Maybe<Scalars['JSON']['output']>; startedAt?: Maybe<Scalars['String']['output']>; status: SandboxAgentJobStatus; subjectId?: Maybe<Scalars['String']['output']>; subjectPartId?: Maybe<Scalars['String']['output']>; subjectType?: Maybe<Scalars['String']['output']>; /** The agent's closing output (redacted, at most 4000 characters). */ summary?: Maybe<Scalars['String']['output']>; trigger?: Maybe<Scalars['String']['output']>; usage: SandboxAgentJobUsage; wallSeconds: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type SandboxAgentJobBudgetInput = { /** Model spend cap in micro-USD, as metered by the LLM proxy (clamped to the service maximum). */ maxCostMicroUsd?: InputMaybe<Scalars['Int']['input']>; /** Input plus output token cap (clamped to the service maximum). */ maxTokens?: InputMaybe<Scalars['Int']['input']>; /** Wall-clock seconds before the agent is stopped (clamped to the service maximum). */ wallSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type SandboxAgentJobChangedFile = { __typename?: 'SandboxAgentJobChangedFile'; /** added | modified | deleted | renamed | other */ change: Scalars['String']['output']; path: Scalars['String']['output']; }; /** One model call of a job, as the proxy metered it. Never carries prompt or completion text. */ export type SandboxAgentJobLlmCall = { __typename?: 'SandboxAgentJobLlmCall'; cacheReadTokens?: Maybe<Scalars['Float']['output']>; costMicroUsd?: Maybe<Scalars['Float']['output']>; durationMs?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; inputTokens?: Maybe<Scalars['Float']['output']>; model?: Maybe<Scalars['String']['output']>; /** ISO-8601. */ occurredAt: Scalars['String']['output']; outputTokens?: Maybe<Scalars['Float']['output']>; provider?: Maybe<Scalars['String']['output']>; status?: Maybe<Scalars['Int']['output']>; }; export type SandboxAgentJobRepoInput = { /** Branch, tag or commit to check out. The default branch when omitted. */ ref?: InputMaybe<Scalars['String']['input']>; /** * Token for a private repository. Used for the clone only (never stored, never in the agent's * environment or prompt, never in the remote URL). */ token?: InputMaybe<Scalars['String']['input']>; /** HTTPS clone URL on an allowed Git host, with no credentials in it (e.g. https://github.com/acme/app.git). */ url: Scalars['String']['input']; }; export declare enum SandboxAgentJobStatus { BudgetExceeded = "BUDGET_EXCEEDED", Cancelled = "CANCELLED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED", TimedOut = "TIMED_OUT" } export type SandboxAgentJobSubjectInput = { id: Scalars['String']['input']; partId?: InputMaybe<Scalars['String']['input']>; /** What the job belongs to, for the caller's AI ledger (e.g. workflow_run). */ type: Scalars['String']['input']; }; export type SandboxAgentJobUsage = { __typename?: 'SandboxAgentJobUsage'; /** Upstream model calls the proxy recorded for the job. */ calls: Scalars['Int']['output']; /** Model spend in micro-USD, from the proxy's price table. */ costMicroUsd: Scalars['Float']['output']; inputTokens: Scalars['Float']['output']; outputTokens: Scalars['Float']['output']; }; export declare enum SandboxAgentKind { /** * A proactive review (BOFF-13163): the ai-assistant image's proactive profile over a batch of * findings, answering JSON suggestions (resultJson). Started by the service itself; refused here. */ AssistantReview = "ASSISTANT_REVIEW", ClaudeCode = "CLAUDE_CODE", Codex = "CODEX", Opencode = "OPENCODE" } export type SandboxArtifactBytes = { __typename?: 'SandboxArtifactBytes'; contentBase64: Scalars['String']['output']; filename: Scalars['String']['output']; mimeType: Scalars['String']['output']; size: Scalars['Int']['output']; }; export type SandboxArtifactBytesInput = { context?: InputMaybe<ContextInput>; /** * When called by another internal service on behalf of a user, the human * actor on whose authority the sandbox-ownership check should run. Required * when the calling actor type is `service`. */ onBehalfOfUserId?: InputMaybe<Scalars['ID']['input']>; /** * Artifact path inside the sandbox session (e.g. `/output/report.pdf`). * Forwarded to the sandbox runtime over the existing assistant proxy. */ path: Scalars['String']['input']; sandboxId: Scalars['ID']['input']; sessionId: Scalars['String']['input']; }; /** The assistant modes the dedicated path provisions. */ export declare enum SandboxAssistantMode { /** Take action: prepares changes as proposals; only a workspace admin's session can run them. */ ApiCalls = "API_CALLS", /** Ask: answers and reads, as the user, through the read-only session relay. */ Assistant = "ASSISTANT" } /** The write-approval flow a Take-action sandbox is asked to run. The service grants it to workspace admins only. */ export declare enum SandboxAssistantWriteApproval { /** The pre-5a confirm-writes flow. */ Legacy = "LEGACY", /** Proposals confirmed with a button (5a). */ ProposalV1 = "PROPOSAL_V1" } /** A tag available for selection (lightweight type for tag picker) */ export type SandboxAvailableTag = { __typename?: 'SandboxAvailableTag'; color?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; }; export type SandboxChangeEvent = { __typename?: 'SandboxChangeEvent'; changeType: SandboxChangeType; occurredAt: Scalars['DateTime']['output']; sandbox: Sandbox; }; export declare enum SandboxChangeType { Created = "CREATED", Deleted = "DELETED", StatusChanged = "STATUS_CHANGED", TtlExtended = "TTL_EXTENDED" } export type SandboxConfig = { __typename?: 'SandboxConfig'; allowedTemplates: Array<SandboxTemplate>; defaultCpuLimit: Scalars['String']['output']; defaultCpuRequest: Scalars['String']['output']; defaultMemoryLimit: Scalars['String']['output']; defaultMemoryRequest: Scalars['String']['output']; defaultTtlSeconds: Scalars['Int']['output']; id: Scalars['ID']['output']; maxConcurrentPerUser: Scalars['Int']['output']; maxConcurrentPerWorkspace: Scalars['Int']['output']; maxTtlSeconds: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SandboxFilterInput = { kind?: InputMaybe<SandboxKind>; search?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<SandboxSource>; status?: InputMaybe<SandboxStatus>; template?: InputMaybe<SandboxTemplate>; /** Filter to sandboxes linked to a specific Vibe. */ vibeId?: InputMaybe<Scalars['ID']['input']>; /** * Filter by visibility. When omitted, the resolver returns all rows the * caller is allowed to see (owner's PRIVATE + workspace SHARED_WITH_VIBE). */ visibility?: InputMaybe<VibeVisibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum SandboxKind { Internal = "INTERNAL", User = "USER" } export type SandboxList = { __typename?: 'SandboxList'; hasMore: Scalars['Boolean']['output']; items: Array<Sandbox>; total: Scalars['Int']['output']; }; /** LLM usage the assistant proxy recorded for one of the caller's own Ask or Take-action sandboxes. */ export type SandboxLlmUsage = { __typename?: 'SandboxLlmUsage'; /** Upstream LLM calls recorded. */ calls: Scalars['Int']['output']; /** Cost in micro-USD, from the proxy's price table (or the provider's reported cost). */ costMicroUsd: Scalars['Float']['output']; /** ISO-8601, formatted by the resolver (not a DateTime scalar). Null when there were no calls. */ firstCallAt?: Maybe<Scalars['String']['output']>; inputTokens: Scalars['Float']['output']; /** ISO-8601, formatted by the resolver (not a DateTime scalar). Null when there were no calls. */ lastCallAt?: Maybe<Scalars['String']['output']>; /** Models called, sorted. */ models: Array<Scalars['String']['output']>; outputTokens: Scalars['Float']['output']; /** Providers called, sorted. */ providers: Array<Scalars['String']['output']>; sandboxId: Scalars['ID']['output']; }; /** One incremental slice of a sandbox's log stream. */ export type SandboxLogChunk = { __typename?: 'SandboxLogChunk'; /** Bytes written since the requested offset. May be empty. */ content: Scalars['String']['output']; /** Offset to pass as `sinceByte` on the next poll. */ nextByte: Scalars['Int']['output']; /** Total size of the log at read time, so callers can detect how far behind they are. */ totalBytes: Scalars['Int']['output']; /** True when `maxBytes` capped this read — more output is already available. */ truncated: Scalars['Boolean']['output']; }; export declare enum SandboxMode { /** Long-running container (K8s Deployment, restartPolicy: Always) */ Deployment = "DEPLOYMENT", /** Run-to-completion task (K8s Job, restartPolicy: Never) */ Job = "JOB" } export type SandboxNetwork = { __typename?: 'SandboxNetwork'; /** Per-container URLs keyed by container name: { "node-a": "http://host:3001", "node-b": "http://host:3002" } */ containerUrls?: Maybe<Scalars['JSON']['output']>; exposeService: Scalars['Boolean']['output']; /** Primary URL (first container's first port) for backwards compatibility */ internalUrl?: Maybe<Scalars['String']['output']>; serviceName?: Maybe<Scalars['String']['output']>; }; export type SandboxNodeInfo = { __typename?: 'SandboxNodeInfo'; allocatableCpu: Scalars['String']['output']; allocatableMemory: Scalars['String']['output']; labels?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; sandboxPodCount: Scalars['Int']['output']; status: Scalars['String']['output']; }; export type SandboxPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; page?: InputMaybe<Scalars['Int']['input']>; sortBy?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['String']['input']>; }; export type SandboxResources = { __typename?: 'SandboxResources'; cpuLimit: Scalars['String']['output']; cpuRequest: Scalars['String']['output']; memoryLimit: Scalars['String']['output']; memoryRequest: Scalars['String']['output']; }; export type SandboxResourcesInput = { cpuLimit?: InputMaybe<Scalars['String']['input']>; cpuRequest?: InputMaybe<Scalars['String']['input']>; memoryLimit?: InputMaybe<Scalars['String']['input']>; memoryRequest?: InputMaybe<Scalars['String']['input']>; }; export type SandboxRunner = { __typename?: 'SandboxRunner'; arch?: Maybe<Scalars['String']['output']>; /** How many node sandboxes the runner runs at once. */ capacity: Scalars['Int']['output']; connectedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** Local sandbox technology on the host: microsandbox (microVM) or gvisor. */ driver?: Maybe<Scalars['String']['output']>; /** Reported by the runner when it connects. */ hostname?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastSeenAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; os?: Maybe<Scalars['String']['output']>; /** * Private-network destinations opened on the runner machine, as last reported * by the runner. Empty = nodes reach the public internet only. */ privateNetwork: Array<SandboxRunnerPrivateNetworkRule>; status: SandboxRunnerStatus; /** First characters of the runner token, for recognising it. Never the token. */ tokenPrefix: Scalars['String']['output']; version?: Maybe<Scalars['String']['output']>; }; /** * A private destination nodes on the runner may reach. Opened on the runner * machine by its owner (`fluidgrids-runner network allow`); FluidGrids only shows it. */ export type SandboxRunnerPrivateNetworkRule = { __typename?: 'SandboxRunnerPrivateNetworkRule'; /** Node types the rule is limited to (e.g. "store/postgresql"). Empty = every node. */ nodes: Array<Scalars['String']['output']>; /** TCP ports or ranges (e.g. "5432", "8000-8100"). Empty = every TCP port. */ ports: Array<Scalars['String']['output']>; /** IPv4 address, IPv4 CIDR range or hostname. */ target: Scalars['String']['output']; }; export declare enum SandboxRunnerStatus { /** Created, but the runner program has never connected with its token. */ NeverConnected = "NEVER_CONNECTED", /** Has connected before but is not connected now. */ Offline = "OFFLINE", /** Connected and heartbeating. */ Online = "ONLINE" } /** * Returned only by createSandboxRunner and rotateSandboxRunnerToken. The token is * shown this once and cannot be retrieved again. */ export type SandboxRunnerWithToken = { __typename?: 'SandboxRunnerWithToken'; /** Public WebSocket URL the runner connects to. */ bridgeUrl: Scalars['String']['output']; runner: SandboxRunner; token: Scalars['String']['output']; }; /** * A single execution of a script inside a sandbox. Holds the script, captured stdout/stderr/exit code, * and the promotion decision, so a "test in sandbox → review → promote to real target" flow has one * audited record. */ export type SandboxScriptRun = { __typename?: 'SandboxScriptRun'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; durationMs?: Maybe<Scalars['Int']['output']>; exitCode?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; /** bash | sh | python | node */ interpreter: Scalars['String']['output']; label?: Maybe<Scalars['String']['output']>; organizationId?: Maybe<Scalars['ID']['output']>; promoteNote?: Maybe<Scalars['String']['output']>; /** Set when a succeeded run has been signed off for the real target. */ promotedAt?: Maybe<Scalars['DateTime']['output']>; promotedBy?: Maybe<Scalars['String']['output']>; sandboxId: Scalars['ID']['output']; script: Scalars['String']['output']; /** running | succeeded | failed | error */ status: Scalars['String']['output']; stderr?: Maybe<Scalars['String']['output']>; stdout?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SandboxSource { AiAssistant = "AI_ASSISTANT", /** * Background agent-job work, such as a proactive review (BOFF-13197). Set by the service only: * createSandbox treats it as MANUAL. Not counted against the workspace environment quota. */ Background = "BACKGROUND", DocsBuilder = "DOCS_BUILDER", Manual = "MANUAL", System = "SYSTEM", Workflow = "WORKFLOW" } export type SandboxStats = { __typename?: 'SandboxStats'; activeInternalSandboxes: Scalars['Int']['output']; activeSandboxes: Scalars['Int']['output']; activeUserSandboxes: Scalars['Int']['output']; expiredCount: Scalars['Int']['output']; failedCount: Scalars['Int']['output']; provisioningNow: Scalars['Int']['output']; runningNow: Scalars['Int']['output']; stoppedNow: Scalars['Int']['output']; totalCpuUsed: Scalars['String']['output']; totalCreated: Scalars['Int']['output']; totalDeleted: Scalars['Int']['output']; totalInternalCreated: Scalars['Int']['output']; totalMemoryUsed: Scalars['String']['output']; totalUserCreated: Scalars['Int']['output']; }; export declare enum SandboxStatus { Expired = "EXPIRED", Failed = "FAILED", Pending = "PENDING", Provisioning = "PROVISIONING", Running = "RUNNING", Stopped = "STOPPED", Stopping = "STOPPING" } export type SandboxStorage = { __typename?: 'SandboxStorage'; /** * Optional files-svc folder where sandbox contents are exported on stop * (when mode != NONE). The picker UI in microfe-sandbox writes this id. */ filesFolderId?: Maybe<Scalars['ID']['output']>; mode: StorageMode; mountPath?: Maybe<Scalars['String']['output']>; retainOnDelete: Scalars['Boolean']['output']; sizeGi?: Maybe<Scalars['Int']['output']>; }; export type SandboxStorageInput = { /** * Optional files-svc folder id. When set (and mode != NONE) sandbox volume * contents are best-effort exported into this folder on stopSandbox. * Folder existence is validated against files-svc via the internal gateway. */ filesFolderId?: InputMaybe<Scalars['ID']['input']>; mode?: InputMaybe<StorageMode>; mountPath?: InputMaybe<Scalars['String']['input']>; retainOnDelete?: InputMaybe<Scalars['Boolean']['input']>; sizeGi?: InputMaybe<Scalars['Int']['input']>; }; /** * A tag assignment linking a UniversalTag to a sandbox. * Delegated to wspace-tags-svc via the SandboxTagAdapter. */ export type SandboxTagAssignment = { __typename?: 'SandboxTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; /** Entity type (always WSPACE_SANDBOX) */ entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; /** How the tag was assigned (MANUAL, AUTOMATIC, IMPORTED, INHERITED, COMPUTED, MIGRATED) */ source: Scalars['String']['output']; /** The assigned tag (resolved via federation from wspace-tags-svc) */ tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; export declare enum SandboxTemplate { AiBuilder = "AI_BUILDER", /** One coding-agent job (BOFF-9968). Created only by startSandboxAgentJob. */ CodingAgent = "CODING_AGENT", Custom = "CUSTOM", DocsBuilder = "DOCS_BUILDER", MiscShell = "MISC_SHELL", Vibecontrols = "VIBECONTROLS", WorkflowMultiNode = "WORKFLOW_MULTI_NODE" } export type SandboxTemplateConfig = { __typename?: 'SandboxTemplateConfig'; allowedImages?: Maybe<Array<Scalars['String']['output']>>; config?: Maybe<Scalars['JSON']['output']>; containers: Array<ContainerSpec>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; resources: SandboxResources; storage: SandboxStorage; template: SandboxTemplate; ttlSeconds: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SandboxTemplateConfigList = { __typename?: 'SandboxTemplateConfigList'; hasMore: Scalars['Boolean']['output']; items: Array<SandboxTemplateConfig>; total: Scalars['Int']['output']; }; /** * Usage/metering event for one sandbox. The read surface behind * wspace-export-svc's `sandbox_usage_events` export entity (BOFF-5318): * per-call LLM proxy events never appear here (BOFF-8124 §4.12) and `payload` * leaves only after the BOFF-7351 secret sweep. */ export type SandboxUsageEvent = { __typename?: 'SandboxUsageEvent'; actorId?: Maybe<Scalars['String']['output']>; eventType: Scalars['String']['output']; id: Scalars['ID']['output']; kind: Scalars['String']['output']; occurredAt: Scalars['DateTime']['output']; payload?: Maybe<Scalars['JSON']['output']>; sandboxId: Scalars['ID']['output']; source: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SandboxUsageEventFilterInput = { eventType?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<Scalars['String']['input']>; sandboxId?: InputMaybe<Scalars['ID']['input']>; source?: InputMaybe<Scalars['String']['input']>; }; export type SandboxUsageEventList = { __typename?: 'SandboxUsageEventList'; hasMore: Scalars['Boolean']['output']; items: Array<SandboxUsageEvent>; total: Scalars['Int']['output']; }; /** The machine a worker runs on, as the worker reported it. Display only. */ export type SandboxWorkerHost = { __typename?: 'SandboxWorkerHost'; arch?: Maybe<Scalars['String']['output']>; hostname?: Maybe<Scalars['String']['output']>; os?: Maybe<Scalars['String']['output']>; runtime?: Maybe<Scalars['String']['output']>; }; export type SandboxWorkerPollers = { __typename?: 'SandboxWorkerPollers'; activity: Scalars['Int']['output']; workflow: Scalars['Int']['output']; }; export type SandboxWorkerSlotUsage = { __typename?: 'SandboxWorkerSlotUsage'; total: Scalars['Int']['output']; used: Scalars['Int']['output']; }; export type SandboxWorkerSlots = { __typename?: 'SandboxWorkerSlots'; activity: SandboxWorkerSlotUsage; localActivity: SandboxWorkerSlotUsage; workflow: SandboxWorkerSlotUsage; }; /** A worker token. The token itself is shown only when it is created or rotated. */ export type SandboxWorkerToken = { __typename?: 'SandboxWorkerToken'; /** Workers connected with this token now. */ activeSessions: Scalars['Int']['output']; /** * Connection names user activities may resolve through this token. Empty: no * credential is ever released to its workers. */ connectionAllowlist: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; /** * The task queues a worker holding this token may serve. `name` lets a worker * serve every environment of the name or bind itself to one; `name@dev|staging|prod` * binds the token, so its workers only take tasks of that environment's scoped queue. */ taskQueues: Array<Scalars['String']['output']>; /** First characters of the token, for recognising it. Never the token. */ tokenPrefix: Scalars['String']['output']; }; /** * Returned only by createWorkerToken and rotateWorkerToken. The token is shown * this once and cannot be retrieved again. */ export type SandboxWorkerTokenWithToken = { __typename?: 'SandboxWorkerTokenWithToken'; /** Public WebSocket URL workers connect to. */ bridgeUrl: Scalars['String']['output']; token: Scalars['String']['output']; workerToken: SandboxWorkerToken; }; /** One connected (or recently disconnected) self-hosted worker. */ export type SandboxWorkflowWorker = { __typename?: 'SandboxWorkflowWorker'; activities: Array<Scalars['String']['output']>; buildIds: Array<Scalars['String']['output']>; cachedRuns: Scalars['Int']['output']; encodings: Array<Scalars['String']['output']>; endReason?: Maybe<Scalars['String']['output']>; endedAt?: Maybe<Scalars['DateTime']['output']>; host: SandboxWorkerHost; /** The session id. */ id: Scalars['ID']['output']; /** `hostname@pid` unless the worker set its own. */ identity: Scalars['String']['output']; lastHeartbeatAt: Scalars['DateTime']['output']; pollers: SandboxWorkerPollers; /** typescript or python. */ sdkLanguage: Scalars['String']['output']; sdkVersion: Scalars['String']['output']; slots: SandboxWorkerSlots; stale: Scalars['Boolean']['output']; startedAt: Scalars['DateTime']['output']; status: SandboxWorkflowWorkerStatus; /** * The queues the session polls: `name` serves every environment of the name, * `name@dev|staging|prod` only that environment's scoped queue. */ taskQueues: Array<Scalars['String']['output']>; tasksInFlight: Scalars['Int']['output']; /** The worker token the session authenticated with. */ tokenId: Scalars['ID']['output']; tokenName: Scalars['String']['output']; /** `worker:<session id>`, the id run history records for tasks it ran. */ workerId: Scalars['String']['output']; workflows: Array<Scalars['String']['output']>; }; export declare enum SandboxWorkflowWorkerStatus { /** Disconnected. */ Offline = "OFFLINE", /** Connected and heartbeating. */ Online = "ONLINE", /** * Not ended, but silent for longer than the stale window (2 minutes): its tasks * go to redelivery. */ Stale = "STALE" } export type SandboxWorkflowWorkersFilter = { buildId?: InputMaybe<Scalars['String']['input']>; /** Also list workers that disconnected in the last 7 days. */ includeEnded?: InputMaybe<Scalars['Boolean']['input']>; /** true: only stale workers; false: only workers that are not stale. */ stale?: InputMaybe<Scalars['Boolean']['input']>; /** * A queue name (workers of the name in any environment) or `name@dev|staging|prod` * (workers bound to that environment and workers serving every environment). */ taskQueue?: InputMaybe<Scalars['String']['input']>; }; export type SaveAssistantTurnInput = { /** Sandbox session backing this chat, so a live agent can be resumed later. */ agentSessionId?: InputMaybe<Scalars['String']['input']>; /** Conversation to append to. Omit to start a new one. */ conversationId?: InputMaybe<Scalars['ID']['input']>; /** * Product that owns this chat, e.g. "bigconsole": lowercase letters, digits and * hyphens, 2-40 characters, starting with a letter (the v2 rule). Anything else * is BAD_USER_INPUT (assistant.errors.invalidHistoryInput) and nothing is written. */ productId: Scalars['String']['input']; /** What the user asked. */ prompt: Scalars['String']['input']; /** What the assistant answered. */ reply: Scalars['String']['input']; }; export type SaveConversationalRevisionInput = { /** Optional short note recorded on the revision's provenance metadata. */ revisionNote?: InputMaybe<Scalars['String']['input']>; /** The completed generation draft this conversational revision derives from. */ sourceGenerationId: Scalars['ID']['input']; /** * The reviewed, client-revised dashboard spec (JSON) to persist. Normalized * with the same validation the generation pipeline applies before a proposal * is exposed. */ spec: Scalars['JSON']['input']; }; export type SaveDraftInput = { content: Scalars['JSON']['input']; conversationId: Scalars['ID']['input']; parentMessageId?: InputMaybe<Scalars['ID']['input']>; }; export type SaveGgnomadAffiliatePayoutProfileInput = { beneficiaryName: Scalars['String']['input']; /** ISO 3166-1 alpha-2. */ country: Scalars['String']['input']; /** ISO 4217; only commissions in this currency are paid out. */ currency: Scalars['String']['input']; /** India only, optional; must contain the PAN. */ gstin?: InputMaybe<Scalars['String']['input']>; payoutMethod: GgnomadAffiliatePayoutAccountType; /** Outside India: the tax form the partner certifies (required). */ taxForm?: InputMaybe<GgnomadAffiliateTaxForm>; /** India: PAN (required). Elsewhere: optional foreign TIN. */ taxId?: InputMaybe<Scalars['String']['input']>; }; export type SaveGgnomadAffiliatePayoutProfileOperatorInput = { beneficiaryName: Scalars['String']['input']; country: Scalars['String']['input']; currency: Scalars['String']['input']; gstin?: InputMaybe<Scalars['String']['input']>; payoutMethod: GgnomadAffiliatePayoutAccountType; taxForm?: InputMaybe<GgnomadAffiliateTaxForm>; taxId?: InputMaybe<Scalars['String']['input']>; /** 0-30; overrides the country rule (for example a treaty rate). Null clears the override. */ withholdingOverridePercent?: InputMaybe<Scalars['Float']['input']>; }; export type SaveMtwConsolidationManifestInput = { expectedObservationSequence: Scalars['Int']['input']; expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; planId: Scalars['ID']['input']; }; export type SaveMtwConsolidationPlanInput = { cycleId: Scalars['ID']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedCycleVersion: Scalars['Int']['input']; expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>; expectedShipmentUpdatedAt: Scalars['DateTime']['input']; expectedVersion: Scalars['Int']['input']; facts: MtwConsolidationFactsInput; idempotencyKey: Scalars['String']['input']; planReference: Scalars['String']['input']; shipmentId: Scalars['ID']['input']; }; export type SaveMtwFreightEstimateInput = { commercialCapture?: InputMaybe<MtwFreightCommercialCaptureInput>; estimateReference: Scalars['String']['input']; evidence: Array<MtwContainerEvidenceInput>; expectedPreviousVersionId?: InputMaybe<Scalars['ID']['input']>; expectedShipmentUpdatedAt: Scalars['DateTime']['input']; expectedVersion: Scalars['Int']['input']; facts: MtwFreightFactsInput; idempotencyKey: Scalars['String']['input']; shipmentId: Scalars['ID']['input']; }; export type SaveMyAssistantHistoryEntriesInput = { clientConversationId: Scalars['ID']['input']; /** TURN / LOCAL_COMMAND: exactly [USER, ASSISTANT]. NOTE: exactly [NOTE]. */ entries: Array<AssistantHistoryEntryInput>; kind: AssistantHistoryEntryKind; /** The owning product. A renamed product's spellings (botlit / botmanor) are one history scope. */ productId: Scalars['String']['input']; }; export type SaveMyAssistantHistoryEntriesPayload = { __typename?: 'SaveMyAssistantHistoryEntriesPayload'; conversation: AssistantHistoryConversation; /** * What was NOT stored: "<entryIndex>.<key>" for a dropped metadata key (unknown, ill-typed, * too deep to store, or among the largest when one entry's keys together exceed the 16 KB * metadata limit -- a key is dropped, never the turn), and * "<entryIndex>.<key>.<path>.pendingWrite" for approval data stripped from inside a kept value. */ droppedMetadataKeys: Array<Scalars['String']['output']>; entries: Array<AssistantHistoryEntry>; outcome: AssistantHistorySaveOutcome; }; export type SaveNavPreferencesInput = { activeViewId?: InputMaybe<Scalars['String']['input']>; /** JSON string: Record<viewId, Record<navItemId, "shown" | "hidden">>. */ overridesJson: Scalars['String']['input']; productSlug: Scalars['String']['input']; workspaceId: Scalars['String']['input']; }; export type SaveSandboxArtifactInput = { /** * Override the filename the sandbox suggests. Useful when the caller already * has user-facing context (e.g. session title) the sandbox doesn't. */ filename?: InputMaybe<Scalars['String']['input']>; /** * Destination folder. Resolve via `ensureFolderByPath` first if you want to * drop the artifact into a per-module default folder. */ folderId: Scalars['ID']['input']; /** Artifact path inside the session (e.g. `/output/report.pdf`). */ path: Scalars['String']['input']; /** Sandbox the artifact lives in. */ sandboxId: Scalars['ID']['input']; /** Assistant session inside the sandbox. */ sessionId: Scalars['String']['input']; }; export type SaveSecretsProviderConfigInput = { awsRegion?: InputMaybe<Scalars['String']['input']>; awsSecretsManagerPrefix?: InputMaybe<Scalars['String']['input']>; azureKeyVaultUri?: InputMaybe<Scalars['String']['input']>; gcpProjectId?: InputMaybe<Scalars['String']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; provider: SecretProviderType; vaultAddress?: InputMaybe<Scalars['String']['input']>; vaultMountPath?: InputMaybe<Scalars['String']['input']>; }; export type SaveUiSessionInput = { activeSessionId?: InputMaybe<Scalars['ID']['input']>; activeVibeId?: InputMaybe<Scalars['ID']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; recentSessions?: InputMaybe<Array<Scalars['ID']['input']>>; recentVibes?: InputMaybe<Array<Scalars['ID']['input']>>; state: Scalars['JSON']['input']; }; export type SaveWorkspaceCompositionInput = { blueprintKey?: InputMaybe<Scalars['String']['input']>; modules: Array<WorkspaceCompositionModuleInput>; pricingMode: WorkspaceCompositionPricingMode; profile?: InputMaybe<WorkspaceBusinessProfileInput>; rationale?: InputMaybe<Scalars['String']['input']>; source: WorkspaceCompositionSource; workspaceId: Scalars['ID']['input']; }; export type SavedQuery = { __typename?: 'SavedQuery'; createdAt: Scalars['DateTime']['output']; createdBy: User; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isFavorite: Scalars['Boolean']['output']; isShared: Scalars['Boolean']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; query: Scalars['JSON']['output']; queryType: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ScanPhysicalAuditTagInput = { auditId: Scalars['ID']['input']; /** Where the tag was physically observed during this stocktake. */ observedLocation: Scalars['String']['input']; tagId: Scalars['String']['input']; }; /** Input for scheduling a comment */ export type ScheduleCommentInput = { content: EntityCommentContentInput; contentType?: InputMaybe<ContentType>; cronExpression?: InputMaybe<Scalars['String']['input']>; entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; interval?: InputMaybe<Scalars['Int']['input']>; intervalUnit?: InputMaybe<Scalars['String']['input']>; maxRetries?: InputMaybe<Scalars['Int']['input']>; misfirePolicy?: InputMaybe<Scalars['String']['input']>; parentCommentId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<Scalars['String']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; scheduleType: CommentScheduleType; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; templateVariables?: InputMaybe<Scalars['JSON']['input']>; timeout?: InputMaybe<Scalars['Int']['input']>; visibility?: InputMaybe<CommentVisibility>; }; export type ScheduleGardenSuccessionInput = { context: ContextInput; count: Scalars['Int']['input']; gardenId: Scalars['ID']['input']; intervalDays: Scalars['Int']['input']; notes?: InputMaybe<Scalars['String']['input']>; plantName: Scalars['String']['input']; startAt?: InputMaybe<Scalars['DateTime']['input']>; }; export type ScheduleIcsInspectionInput = { context: ContextInput; growerId: Scalars['ID']['input']; inspectionDate: Scalars['String']['input']; inspectorName: Scalars['String']['input']; }; export type SchedulePreview = { __typename?: 'SchedulePreview'; count: Scalars['Int']['output']; endDate: Scalars['DateTime']['output']; nextExecutions: Array<Scalars['DateTime']['output']>; startDate: Scalars['DateTime']['output']; }; export declare enum SchedulePriority { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Normal = "NORMAL" } export type ScheduleTemplate = { __typename?: 'ScheduleTemplate'; businessCalendarId?: Maybe<Scalars['String']['output']>; category?: Maybe<Scalars['String']['output']>; circuitBreaker?: Maybe<Scalars['JSON']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; executorConfig: Scalars['JSON']['output']; executorType: ExecutorType; failurePolicy?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; isPublic: Scalars['Boolean']['output']; name: Scalars['String']['output']; payloadTemplate?: Maybe<Scalars['JSON']['output']>; retryPolicy?: Maybe<Scalars['JSON']['output']>; scheduleConfig: Scalars['JSON']['output']; scheduleType: ScheduleType; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; export type ScheduleTemplateConnection = { __typename?: 'ScheduleTemplateConnection'; nextCursor?: Maybe<Scalars['String']['output']>; templates: Array<ScheduleTemplate>; total: Scalars['Int']['output']; }; export type ScheduleTemplateFilterInput = { category?: InputMaybe<Scalars['String']['input']>; createdBy?: InputMaybe<Scalars['String']['input']>; executorType?: InputMaybe<ExecutorType>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; scheduleType?: InputMaybe<ScheduleType>; search?: InputMaybe<Scalars['String']['input']>; }; export declare enum ScheduleType { Cron = "CRON", FixedInterval = "FIXED_INTERVAL", OneTime = "ONE_TIME", Rrule = "RRULE", Windowed = "WINDOWED" } export type ScheduleVersion = { __typename?: 'ScheduleVersion'; changeReason?: Maybe<Scalars['String']['output']>; changedBy: Scalars['String']['output']; changedFields: Array<Scalars['String']['output']>; config: Scalars['JSON']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; executions: JobExecutionConnection; id: Scalars['ID']['output']; schedule?: Maybe<ScheduledJob>; scheduleId: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type ScheduleVersionExecutionsArgs = { pagination?: InputMaybe<SchedulerPaginationInput>; }; /** Scheduled comment job */ export type ScheduledComment = { __typename?: 'ScheduledComment'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; cronExpression?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; executorConfig: Scalars['JSON']['output']; executorType: Scalars['String']['output']; id: Scalars['ID']['output']; interval?: Maybe<Scalars['Int']['output']>; intervalUnit?: Maybe<Scalars['String']['output']>; isActive: Scalars['Boolean']['output']; lastExecutedAt?: Maybe<Scalars['DateTime']['output']>; maxRetries: Scalars['Int']['output']; name: Scalars['String']['output']; nextExecutionAt?: Maybe<Scalars['DateTime']['output']>; payload: Scalars['JSON']['output']; priority: Scalars['String']['output']; rrule?: Maybe<Scalars['String']['output']>; scheduleType: CommentScheduleType; scheduledAt?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; /** Scheduled comment execution history */ export type ScheduledCommentExecution = { __typename?: 'ScheduledCommentExecution'; duration: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; executedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type ScheduledJob = { __typename?: 'ScheduledJob'; actionId?: Maybe<Scalars['String']['output']>; archivedAt?: Maybe<Scalars['DateTime']['output']>; autoDisableAfter?: Maybe<Scalars['Int']['output']>; backoffStrategy: BackoffStrategy; businessCalendarId?: Maybe<Scalars['String']['output']>; circuitBreaker?: Maybe<Scalars['JSON']['output']>; consecutiveFailures: Scalars['Int']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; cronExpression?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; executions: JobExecutionConnection; executorConfig?: Maybe<Scalars['JSON']['output']>; executorType?: Maybe<ExecutorType>; failurePolicy?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; interval?: Maybe<Scalars['JSON']['output']>; lastExecutionAt?: Maybe<Scalars['DateTime']['output']>; lastFailureAt?: Maybe<Scalars['DateTime']['output']>; maxOccurrences?: Maybe<Scalars['Int']['output']>; maxRetries: Scalars['Int']['output']; metadata?: Maybe<Scalars['JSON']['output']>; misfirePolicy: MisfirePolicy; misfireThreshold: Scalars['Int']['output']; name?: Maybe<Scalars['String']['output']>; nextExecutionAt?: Maybe<Scalars['DateTime']['output']>; payloadTemplate?: Maybe<Scalars['JSON']['output']>; priority: SchedulePriority; retryCount: Scalars['Int']['output']; retryDelay: Scalars['Int']['output']; retryPolicy: Scalars['JSON']['output']; rrule?: Maybe<Scalars['String']['output']>; scheduleType: ScheduleType; scheduledAt?: Maybe<Scalars['DateTime']['output']>; secrets?: Maybe<Scalars['JSON']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: JobStatus; tagAssignments: Array<ScheduledJobTagAssignment>; tags: Array<Scalars['String']['output']>; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; timeWindows?: Maybe<Scalars['JSON']['output']>; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; versions: Array<ScheduleVersion>; /** * Optional Vibe linkage (cross-service ref resolved via wspace-vibecontrols-svc). * When set the schedule is surfaced on the Vibe detail page (subject to visibility). */ vibeId?: Maybe<Scalars['ID']['output']>; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. Defaults to PRIVATE on creation. */ visibility: VibeVisibility; workspaceId: Scalars['String']['output']; }; export type ScheduledJobExecutionsArgs = { pagination?: InputMaybe<SchedulerPaginationInput>; }; export type ScheduledJobConnection = { __typename?: 'ScheduledJobConnection'; jobs: Array<ScheduledJob>; nextCursor?: Maybe<Scalars['String']['output']>; total: Scalars['Int']['output']; }; export type ScheduledJobInput = { config?: InputMaybe<Scalars['JSON']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; /** Optional workspace-scoped request key. Replays recover the same schedule; changed input conflicts. */ idempotencyKey?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; schedule: Scalars['String']['input']; /** IANA timezone the cron expression is evaluated in (default UTC) */ timezone?: InputMaybe<Scalars['String']['input']>; version: Scalars['String']['input']; workflowKey: Scalars['String']['input']; }; export type ScheduledJobResponse = MutationResponse & { __typename?: 'ScheduledJobResponse'; job?: Maybe<WorkflowScheduledJob>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; /** Tag assignment for a scheduled job */ export type ScheduledJobTagAssignment = { __typename?: 'ScheduledJobTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; }; export type ScheduledJobsListResponse = { __typename?: 'ScheduledJobsListResponse'; jobs: Array<WorkflowScheduledJob>; pagination?: Maybe<PaginationInfo>; }; /** * Outcome of `executeScheduledPrompt`. `success` mirrors `res.ok` from the * agent's prompt-dispatch endpoint. `statusCode` is the upstream HTTP * status (0 if the dispatch never returned a response, e.g. timeout). * `error` is set for soft failures (timeout, network error); GraphQL * errors are thrown for hard ones (forbidden, agent offline, mint failed). */ export type ScheduledPromptResult = { __typename?: 'ScheduledPromptResult'; error?: Maybe<Scalars['String']['output']>; statusCode: Scalars['Int']['output']; success: Scalars['Boolean']['output']; }; export type SchedulerBulkOperationError = { __typename?: 'SchedulerBulkOperationError'; error: Scalars['String']['output']; scheduleId: Scalars['String']['output']; }; export type SchedulerBulkOperationResult = { __typename?: 'SchedulerBulkOperationResult'; affected: Scalars['Int']['output']; errors: Array<SchedulerBulkOperationError>; scheduleIds: Array<Scalars['String']['output']>; }; export type SchedulerMetrics = { __typename?: 'SchedulerMetrics'; avgExecutionDuration: Scalars['Float']['output']; avgScanDuration?: Maybe<Scalars['Float']['output']>; circuitBreakerStates: Scalars['JSON']['output']; dlqByStatus: Scalars['JSON']['output']; dlqEntries: Scalars['Int']['output']; dueJobs: Scalars['Int']['output']; executionSuccessRate: Scalars['Float']['output']; failedExecutions: Scalars['Int']['output']; healthScore: Scalars['Float']['output']; lastScanTime?: Maybe<Scalars['DateTime']['output']>; maxExecutionDuration: Scalars['Float']['output']; minExecutionDuration: Scalars['Float']['output']; overdueJobs: Scalars['Int']['output']; pendingJobs: Scalars['Int']['output']; queueDepth: Scalars['Int']['output']; runningJobs: Scalars['Int']['output']; schedulesByExecutor: Scalars['JSON']['output']; schedulesByStatus: Scalars['JSON']['output']; schedulesByType: Scalars['JSON']['output']; successfulExecutions: Scalars['Int']['output']; totalExecutions: Scalars['Int']['output']; totalSchedules: Scalars['Int']['output']; uptime: Scalars['Float']['output']; workerMetrics: Scalars['JSON']['output']; }; export type SchedulerMetricsUpdate = { __typename?: 'SchedulerMetricsUpdate'; activeSchedules: Scalars['Int']['output']; averageScanDuration: Scalars['Float']['output']; completedToday: Scalars['Int']['output']; failedToday: Scalars['Int']['output']; lastScanAt?: Maybe<Scalars['DateTime']['output']>; pendingSchedules: Scalars['Int']['output']; runningSchedules: Scalars['Int']['output']; timestamp: Scalars['DateTime']['output']; totalSchedules: Scalars['Int']['output']; }; export type SchedulerPaginationInput = { after?: InputMaybe<Scalars['String']['input']>; first?: InputMaybe<Scalars['Int']['input']>; }; export type SchemeApplication = { __typename?: 'SchemeApplication'; amount?: Maybe<Scalars['Float']['output']>; appliedDate: Scalars['String']['output']; /** * The client-generated idempotency key this application was created with (BOFF-4407 * offline outbox), null for applications created online before this field existed. */ clientMutationId?: Maybe<Scalars['String']['output']>; /** * The evidence attached to this application, in slot order. Empty for applications created before * BOFF-6111, which recorded only a checkbox affirmation in `remarks`. */ documents: Array<SchemeApplicationDocument>; /** The government portal's own reference for this application, when known. */ externalReference?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; remarks?: Maybe<Scalars['String']['output']>; schemeId: Scalars['String']['output']; schemeName: Scalars['String']['output']; status: Scalars['String']['output']; /** When the current status was last set or confirmed (ISO-8601), null while still as submitted. */ statusCheckedAt?: Maybe<Scalars['String']['output']>; /** * Who set the current status: OFFICER (a workspace officer) or PORTAL_SYNC (a government-portal * sync). Null while the application is still as submitted. */ statusSource?: Maybe<Scalars['String']['output']>; }; /** One supporting document attached to a scheme application (BOFF-6111). */ export type SchemeApplicationDocument = { __typename?: 'SchemeApplicationDocument'; /** Opaque wspace-files-svc id. Resolve a download URL with `getFileDownloadUrl`. */ fileId: Scalars['String']['output']; fileName?: Maybe<Scalars['String']['output']>; /** Which scheme checklist requirement this file satisfies. */ slot: Scalars['String']['output']; uploadedAt: Scalars['String']['output']; }; /** One supporting document being attached to a scheme application (BOFF-6111). */ export type SchemeApplicationDocumentInput = { /** * Opaque wspace-files-svc id from a completed upload. Blank values are discarded; completed, * active workspace files are verified server-side before an application is created. */ fileId: Scalars['String']['input']; fileName?: InputMaybe<Scalars['String']['input']>; /** Which scheme checklist requirement this file satisfies. Any other value is rejected with BAD_USER_INPUT. */ slot: Scalars['String']['input']; }; /** BOFF-6110 — the eligibility verdict for one scheme against one workspace's farm data. */ export type SchemeEligibility = { __typename?: 'SchemeEligibility'; criteria: Array<SchemeEligibilityCriterion>; /** The scheme's published free-text criteria. Always authoritative over the structured check. */ eligibility: Array<Scalars['String']['output']>; metCount: Scalars['Int']['output']; /** ELIGIBLE | NOT_ELIGIBLE | UNKNOWN — UNKNOWN whenever evidence is incomplete. */ outcome: Scalars['String']['output']; schemeId: Scalars['ID']['output']; schemeTitle: Scalars['String']['output']; summary: Scalars['String']['output']; unknownCount: Scalars['Int']['output']; unmetCount: Scalars['Int']['output']; }; /** * BOFF-6110 — one scheme criterion checked against this workspace's farm data. * * `verdict` is MET | UNMET | UNKNOWN. UNKNOWN is a first-class answer, not a failure: it means the * farm data needed is absent or the criterion is not machine-checkable, and the farmer must verify * it themselves. */ export type SchemeEligibilityCriterion = { __typename?: 'SchemeEligibilityCriterion'; /** What this farm actually records, as text. Null when nothing is recorded. */ actual?: Maybe<Scalars['String']['output']>; /** The value the scheme requires, as text. */ expected?: Maybe<Scalars['String']['output']>; /** The farm fact checked, e.g. TOTAL_AREA_HECTARES. Null when the rule named no known fact. */ fact?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; label: Scalars['String']['output']; /** LT | LTE | GT | GTE | EQ | NEQ | INCLUDES | CONTAINS | IS_TRUE | IS_FALSE */ operator?: Maybe<Scalars['String']['output']>; /** Plain-language explanation, safe to show a farmer. */ reason: Scalars['String']['output']; /** MET | UNMET | UNKNOWN */ verdict: Scalars['String']['output']; }; /** * Whether a higher or lower raw value is the better outcome for a metric. * Coverage/SLO are higher-is-better; incident count, latency, and dependency * staleness are lower-is-better. */ export declare enum ScorecardMetricDirection { HigherIsBetter = "HIGHER_IS_BETTER", LowerIsBetter = "LOWER_IS_BETTER" } export declare enum ScorecardMetricStatus { Failing = "FAILING", Passing = "PASSING", Unknown = "UNKNOWN", Warning = "WARNING" } export declare enum ScorecardMetricType { CicdHealth = "CICD_HEALTH", Custom = "CUSTOM", DependencyFreshness = "DEPENDENCY_FRESHNESS", DocumentationCoverage = "DOCUMENTATION_COVERAGE", IncidentCount = "INCIDENT_COUNT", SecurityScore = "SECURITY_SCORE", SloCompliance = "SLO_COMPLIANCE", TestCoverage = "TEST_COVERAGE" } export declare enum ScorecardOwnerType { Catalog = "CATALOG", Component = "COMPONENT", Vibe = "VIBE" } export type ScorecardTemplateMetricInput = { description?: InputMaybe<Scalars['String']['input']>; direction?: InputMaybe<ScorecardMetricDirection>; name: Scalars['String']['input']; position?: InputMaybe<Scalars['Int']['input']>; remediation?: InputMaybe<Scalars['String']['input']>; threshold?: InputMaybe<Scalars['Float']['input']>; tier?: InputMaybe<ScorecardTier>; type?: InputMaybe<ScorecardMetricType>; unit?: InputMaybe<Scalars['String']['input']>; weight?: InputMaybe<Scalars['Float']['input']>; }; /** * Production-readiness tier a metric gates. A scorecard's derived `securityTier` is the highest tier * for which every metric tagged with that tier (or a lower one) is passing. BRONZE < SILVER < GOLD. */ export declare enum ScorecardTier { Bronze = "BRONZE", Gold = "GOLD", Silver = "SILVER" } export type SearchCapabilities = { __typename?: 'SearchCapabilities'; defaultSort: Scalars['String']['output']; entities: Array<EntitySearchCapability>; filters: Array<FilterCapability>; maxResultsPerEntity: Scalars['Int']['output']; }; export type SearchFacets = { __typename?: 'SearchFacets'; byProduct: Array<ProductFacet>; byType: Array<TypeFacet>; byWorkspace: Array<WorkspaceFacet>; }; export type SearchFilterInput = { dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; eventSource?: InputMaybe<Scalars['String']['input']>; eventType?: InputMaybe<Scalars['String']['input']>; isDeleted?: InputMaybe<Scalars['Boolean']['input']>; isLatest?: InputMaybe<Scalars['Boolean']['input']>; status?: InputMaybe<Scalars['String']['input']>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** * BOFF-4406 — search criteria for `searchGgnomadTransport`. `origin`/ * `destination` are free-text (city/airport/station name or code) — the * reference provider matches them literally into the returned offers; a real * GDS integration would resolve them against its own location index instead. */ export type SearchGgnomadTransportInput = { departureDate: Scalars['DateTime']['input']; destination: Scalars['String']['input']; origin: Scalars['String']['input']; passengers?: InputMaybe<Scalars['Int']['input']>; returnDate?: InputMaybe<Scalars['DateTime']['input']>; transportMode?: InputMaybe<Scalars['String']['input']>; travelClass?: InputMaybe<Scalars['String']['input']>; }; export type SearchHighlight = { __typename?: 'SearchHighlight'; endOffset?: Maybe<Scalars['Int']['output']>; lineNumber?: Maybe<Scalars['Int']['output']>; pageNumber?: Maybe<Scalars['Int']['output']>; startOffset?: Maybe<Scalars['Int']['output']>; text: Scalars['String']['output']; }; export type SearchRequestInput = { entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; filters?: InputMaybe<SearchFilterInput>; highlight?: InputMaybe<Scalars['Boolean']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; sort?: InputMaybe<Scalars['String']['input']>; }; export type SearchResponse = { __typename?: 'SearchResponse'; facets: SearchFacets; hasMore: Scalars['Boolean']['output']; results: Array<SearchResult>; searchTimeMs?: Maybe<Scalars['Int']['output']>; total: Scalars['Int']['output']; }; /** Individual search result. */ export type SearchResult = { __typename?: 'SearchResult'; createdAt?: Maybe<Scalars['DateTime']['output']>; createdBy?: Maybe<Scalars['ID']['output']>; description?: Maybe<Scalars['String']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; highlights?: Maybe<Array<Scalars['String']['output']>>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; productSource: Scalars['String']['output']; projectId?: Maybe<Scalars['ID']['output']>; score: Scalars['Float']['output']; title: Scalars['String']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type SearchResultItem = { __typename?: 'SearchResultItem'; createdAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; entityId: Scalars['String']['output']; entityType: Scalars['String']['output']; highlights?: Maybe<Array<Scalars['String']['output']>>; metadata: Scalars['JSON']['output']; title: Scalars['String']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; url?: Maybe<Scalars['String']['output']>; }; export type Secret = { __typename?: 'Secret'; accessCount: Scalars['Int']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; ephemeralExpiresAt?: Maybe<Scalars['DateTime']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; isEphemeral: Scalars['Boolean']['output']; isLatest: Scalars['Boolean']['output']; key: Scalars['String']['output']; labels?: Maybe<Array<SecretLabel>>; lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; lastRotatedAt?: Maybe<Scalars['DateTime']['output']>; maxAccessCount?: Maybe<Scalars['Int']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; status: SecretStatus; tags: Array<Scalars['String']['output']>; tagsV2: Scalars['JSON']['output']; tenantId?: Maybe<Scalars['String']['output']>; type: SecretType; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; vaultId: Scalars['String']['output']; version: Scalars['Int']['output']; versionCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; export type SecretAccessLog = { __typename?: 'SecretAccessLog'; action: Scalars['String']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; isEphemeralAccess: Scalars['Boolean']['output']; secretId: Scalars['String']['output']; success: Scalars['Boolean']['output']; tenantId?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; userId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretAccessLogFilterInput = { action?: InputMaybe<Scalars['String']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; endDate?: InputMaybe<Scalars['DateTime']['input']>; isEphemeralAccess?: InputMaybe<Scalars['Boolean']['input']>; secretId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; success?: InputMaybe<Scalars['Boolean']['input']>; userId?: InputMaybe<Scalars['String']['input']>; }; export type SecretAccessLogList = { __typename?: 'SecretAccessLogList'; hasMore: Scalars['Boolean']['output']; items: Array<SecretAccessLog>; total: Scalars['Int']['output']; }; export type SecretCreatedPayload = { __typename?: 'SecretCreatedPayload'; secret: Secret; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretDeletedPayload = { __typename?: 'SecretDeletedPayload'; secretId: Scalars['ID']['output']; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretExportResult = { __typename?: 'SecretExportResult'; count: Scalars['Int']['output']; /** * Base64-encoded passphrase-encrypted payload. Format: `salt:iv:tag:ciphertext`. * Decrypt with the passphrase the caller supplied to `exportSecrets`. */ data: Scalars['String']['output']; /** Always `json` for the v1 export format. Reserved for future formats. */ format: Scalars['String']['output']; }; export type SecretFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; createdBy?: InputMaybe<Scalars['ID']['input']>; isEphemeral?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SecretStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<SecretType>; vaultId?: InputMaybe<Scalars['ID']['input']>; }; export type SecretImportResult = { __typename?: 'SecretImportResult'; errors: Array<Scalars['String']['output']>; imported: Scalars['Int']['output']; skipped: Scalars['Int']['output']; }; export type SecretLabel = { __typename?: 'SecretLabel'; color?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; label: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; secretId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretList = { __typename?: 'SecretList'; hasMore: Scalars['Boolean']['output']; items: Array<Secret>; total: Scalars['Int']['output']; }; /** Where a variable's value lives. */ export declare enum SecretProviderType { /** @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ AwsSecretsManager = "AWS_SECRETS_MANAGER", /** @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ AzureKeyVault = "AZURE_KEY_VAULT", /** @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ GcpSecretManager = "GCP_SECRET_MANAGER", /** The value is stored in this service (encrypted when the variable is secret). */ None = "NONE", /** * `externalRef` is a reference to a secret of one of the workspace's external * secret providers (Security > Vault integrations): `$secrets.<provider>.<name>` * or `$secrets.<provider>.<name>.<field>`. It resolves on behalf of whoever last * saved the reference, through providers whose vault they can view, and the * variable is always secret. */ SecretReference = "SECRET_REFERENCE", /** @deprecated Retired (BOFF-10856): connect the secret manager in Security > Vault integrations and back the variable with SECRET_REFERENCE instead. */ Vault = "VAULT" } export type SecretRotatedPayload = { __typename?: 'SecretRotatedPayload'; secret: Secret; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretRotation = { __typename?: 'SecretRotation'; attempts: Scalars['Int']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; errorMessage?: Maybe<Scalars['String']['output']>; fromVersion?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; newVersion: Scalars['Int']['output']; oldVersion: Scalars['Int']['output']; onBehalfOf: Scalars['ID']['output']; rotatedAt: Scalars['DateTime']['output']; rotationType: Scalars['String']['output']; secretId: Scalars['String']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: VaultRotationStatus; }; export type SecretRotationFilterInput = { endDate?: InputMaybe<Scalars['DateTime']['input']>; rotationType?: InputMaybe<Scalars['String']['input']>; secretId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<VaultRotationStatus>; }; export type SecretRotationList = { __typename?: 'SecretRotationList'; hasMore: Scalars['Boolean']['output']; items: Array<SecretRotation>; total: Scalars['Int']['output']; }; export type SecretShare = { __typename?: 'SecretShare'; actorId?: Maybe<Scalars['String']['output']>; actorType?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; kind: SecretShareKind; label?: Maybe<Scalars['String']['output']>; lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; maxViews?: Maybe<Scalars['Int']['output']>; requiresPassword: Scalars['Boolean']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; role: VaultMemberRole; scope: SecretShareScope; secretId?: Maybe<Scalars['String']['output']>; status: SecretShareStatus; updatedAt: Scalars['DateTime']['output']; vaultId: Scalars['String']['output']; viewCount: Scalars['Int']['output']; }; export declare enum SecretShareKind { Account = "ACCOUNT", Link = "LINK" } export type SecretShareLinkInfo = { __typename?: 'SecretShareLinkInfo'; entryCount: Scalars['Int']['output']; exhausted: Scalars['Boolean']['output']; expired: Scalars['Boolean']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; requiresPassword: Scalars['Boolean']['output']; revoked: Scalars['Boolean']['output']; scope: SecretShareScope; secretName?: Maybe<Scalars['String']['output']>; vaultName: Scalars['String']['output']; }; export type SecretShareList = { __typename?: 'SecretShareList'; items: Array<SecretShare>; total: Scalars['Int']['output']; }; export declare enum SecretShareScope { Secret = "SECRET", Vault = "VAULT" } export declare enum SecretShareStatus { Active = "ACTIVE", Revoked = "REVOKED" } export declare enum SecretStatus { Active = "ACTIVE", Archived = "ARCHIVED", Expired = "EXPIRED", Revoked = "REVOKED", Rotated = "ROTATED" } /** Tag assignment for secrets within a vault. */ export type SecretTagAssignment = { __typename?: 'SecretTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; export declare enum SecretType { ApiKey = "API_KEY", Certificate = "CERTIFICATE", Credential = "CREDENTIAL", File = "FILE", PrivateKey = "PRIVATE_KEY", StructuredData = "STRUCTURED_DATA", Text = "TEXT", Token = "TOKEN" } export type SecretUpdatedPayload = { __typename?: 'SecretUpdatedPayload'; secret: Secret; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SecretVersion = { __typename?: 'SecretVersion'; changeReason?: Maybe<Scalars['String']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; encryptionAlgorithm?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; onBehalfOf: Scalars['ID']['output']; secretId: Scalars['String']['output']; version: Scalars['Int']['output']; }; export type SecretVersionList = { __typename?: 'SecretVersionList'; hasMore: Scalars['Boolean']['output']; items: Array<SecretVersion>; total: Scalars['Int']['output']; }; /** Deprecated (BOFF-10856): replaced by Security > Vault integrations. */ export type SecretsProviderConfig = { __typename?: 'SecretsProviderConfig'; awsRegion?: Maybe<Scalars['String']['output']>; awsSecretsManagerPrefix?: Maybe<Scalars['String']['output']>; azureKeyVaultUri?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; gcpProjectId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; lastTestMessage?: Maybe<Scalars['String']['output']>; lastTestStatus?: Maybe<Scalars['String']['output']>; lastTestedAt?: Maybe<Scalars['DateTime']['output']>; provider: SecretProviderType; updatedAt: Scalars['DateTime']['output']; vaultAddress?: Maybe<Scalars['String']['output']>; vaultMountPath?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type SecretsProviderConfigResponse = MutationResponse & { __typename?: 'SecretsProviderConfigResponse'; config?: Maybe<SecretsProviderConfig>; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type SecurityComplianceFramework = { __typename?: 'SecurityComplianceFramework'; createdAt: Scalars['DateTime']['output']; failedControls: Scalars['Int']['output']; id: Scalars['ID']['output']; lastAssessedAt?: Maybe<Scalars['DateTime']['output']>; lastAssessment: Scalars['DateTime']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; nextAssessment: Scalars['DateTime']['output']; passedControls: Scalars['Int']['output']; score: Scalars['Int']['output']; sourceProduct?: Maybe<Scalars['String']['output']>; sourceRefId?: Maybe<Scalars['String']['output']>; status: SecurityComplianceStatus; totalControls: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SecurityComplianceFrameworkFilterInput = { sourceProduct?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SecurityComplianceStatus>; }; export type SecurityComplianceFrameworkList = { __typename?: 'SecurityComplianceFrameworkList'; hasMore: Scalars['Boolean']['output']; items: Array<SecurityComplianceFramework>; total: Scalars['Int']['output']; }; export declare enum SecurityComplianceStatus { Compliant = "COMPLIANT", NonCompliant = "NON_COMPLIANT", Partial = "PARTIAL", UnderReview = "UNDER_REVIEW" } export type SecurityEvidence = { __typename?: 'SecurityEvidence'; /** Short-lived (5 minute) download URL minted for the viewer; null until the upload completed. */ downloadUrl?: Maybe<Scalars['String']['output']>; /** wspace-files-svc File id once the upload completed. */ fileId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; retentionDays: Scalars['Int']['output']; /** @deprecated Evidence is stored in wspace-files-svc; use fileId. */ s3Bucket?: Maybe<Scalars['String']['output']>; /** @deprecated Evidence is stored in wspace-files-svc; use fileId. */ s3Key?: Maybe<Scalars['String']['output']>; scanRunId: Scalars['ID']['output']; sha256: Scalars['String']['output']; sizeBytes: Scalars['Int']['output']; status: SecurityEvidenceStatus; type: SecurityEvidenceType; uploadedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SecurityEvidencePresign = { __typename?: 'SecurityEvidencePresign'; evidenceId: Scalars['ID']['output']; expiresAt: Scalars['DateTime']['output']; method: Scalars['String']['output']; /** MULTIPART: every part to PUT, in order. Empty for DIRECT. */ parts: Array<SecurityEvidenceUploadPart>; /** Headers to send on the DIRECT PUT (the Content-Type the URL is signed for). */ requiredHeaders: Scalars['JSON']['output']; /** @deprecated Evidence is stored in wspace-files-svc. */ s3Bucket?: Maybe<Scalars['String']['output']>; /** @deprecated Evidence is stored in wspace-files-svc. */ s3Key?: Maybe<Scalars['String']['output']>; uploadType: SecurityEvidenceUploadType; /** DIRECT: the presigned PUT URL. MULTIPART: null — PUT each of parts instead. */ uploadUrl?: Maybe<Scalars['String']['output']>; }; export type SecurityEvidenceRefInput = { evidenceId: Scalars['ID']['input']; sha256: Scalars['String']['input']; sizeBytes: Scalars['Int']['input']; type: SecurityEvidenceType; }; /** * Lifecycle of an evidence file stored in wspace-files-svc: PENDING while the * agent uploads it, UPLOADED once the upload completed into a File whose bytes * match the declared SHA-256, FAILED when the upload can no longer complete or the * stored bytes did not match (request a new upload). */ export declare enum SecurityEvidenceStatus { Failed = "FAILED", Pending = "PENDING", Uploaded = "UPLOADED" } export declare enum SecurityEvidenceType { CosignBundle = "COSIGN_BUNDLE", GrypeJson = "GRYPE_JSON", OpaDecision = "OPA_DECISION", Provenance = "PROVENANCE", Sarif = "SARIF", SbomCyclonedx = "SBOM_CYCLONEDX", SbomSpdx = "SBOM_SPDX" } /** One presigned part of a MULTIPART evidence upload: PUT bytes [offset, offset + length) to url. */ export type SecurityEvidenceUploadPart = { __typename?: 'SecurityEvidenceUploadPart'; length: Scalars['Int']['output']; offset: Scalars['Int']['output']; partNumber: Scalars['Int']['output']; url: Scalars['String']['output']; }; /** * How the agent PUTs an evidence file: DIRECT is one PUT to uploadUrl; MULTIPART * (files over 5 MiB) is one PUT per entry of parts, then * completeSecurityEvidenceUpload with every part's ETag. */ export declare enum SecurityEvidenceUploadType { Direct = "DIRECT", Multipart = "MULTIPART" } /** The ETag object storage returned for one PUT of a MULTIPART evidence upload. */ export type SecurityEvidenceUploadedPartInput = { etag: Scalars['String']['input']; partNumber: Scalars['Int']['input']; }; export type SecurityException = { __typename?: 'SecurityException'; approvedBy: Array<Scalars['ID']['output']>; compensatingControls?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; findingId: Scalars['ID']['output']; id: Scalars['ID']['output']; reason: Scalars['String']['output']; status: Scalars['String']['output']; vibeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SecurityExportFormat { Csv = "CSV", Json = "JSON" } export type SecurityExportJobResponse = { __typename?: 'SecurityExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array<Scalars['String']['output']>; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SecurityFinding = { __typename?: 'SecurityFinding'; category: SecurityFindingCategory; col?: Maybe<Scalars['Int']['output']>; cve?: Maybe<Scalars['String']['output']>; cwe: Array<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; dueAt?: Maybe<Scalars['DateTime']['output']>; file?: Maybe<Scalars['String']['output']>; fingerprint: Scalars['String']['output']; firstSeenAt: Scalars['DateTime']['output']; fixedVersion?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; lastSeenAt: Scalars['DateTime']['output']; line?: Maybe<Scalars['Int']['output']>; ownerTeam?: Maybe<Scalars['String']['output']>; packageName?: Maybe<Scalars['String']['output']>; packageVersion?: Maybe<Scalars['String']['output']>; redactedSample?: Maybe<Scalars['String']['output']>; remediation?: Maybe<Scalars['String']['output']>; ruleId: Scalars['String']['output']; scanRunId: Scalars['ID']['output']; severity: SecuritySeverity; status: SecurityFindingStatus; title: Scalars['String']['output']; vibeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SecurityFindingCategory { Config = "CONFIG", License = "LICENSE", Policy = "POLICY", Sast = "SAST", Secret = "SECRET", Supplychain = "SUPPLYCHAIN", Vuln = "VULN" } export type SecurityFindingFilterInput = { category?: InputMaybe<SecurityFindingCategory>; search?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<SecuritySeverity>; status?: InputMaybe<SecurityFindingStatus>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; export type SecurityFindingList = { __typename?: 'SecurityFindingList'; hasMore: Scalars['Boolean']['output']; items: Array<SecurityFinding>; total: Scalars['Int']['output']; }; export declare enum SecurityFindingStatus { Accepted = "ACCEPTED", FalsePositive = "FALSE_POSITIVE", Fixed = "FIXED", Open = "OPEN", Suppressed = "SUPPRESSED" } export type SecurityGovernancePolicy = { __typename?: 'SecurityGovernancePolicy'; applicableTo: Array<Scalars['String']['output']>; category: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; effectiveDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; owner: Scalars['String']['output']; reviewDate: Scalars['DateTime']['output']; sourceProduct?: Maybe<Scalars['String']['output']>; sourceRefId?: Maybe<Scalars['String']['output']>; status: SecurityGovernancePolicyStatus; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SecurityGovernancePolicyFilterInput = { category?: InputMaybe<Scalars['String']['input']>; sourceProduct?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SecurityGovernancePolicyStatus>; }; export type SecurityGovernancePolicyList = { __typename?: 'SecurityGovernancePolicyList'; hasMore: Scalars['Boolean']['output']; items: Array<SecurityGovernancePolicy>; total: Scalars['Int']['output']; }; export declare enum SecurityGovernancePolicyStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT", UnderReview = "UNDER_REVIEW" } /** * Lifecycle event envelope for a vault membership change. `member` is null on * REMOVED; use `memberId` + `vaultId` for cache invalidation. */ export type SecurityMemberEvent = { __typename?: 'SecurityMemberEvent'; action: SecurityMemberEventAction; member?: Maybe<VaultMember>; memberId: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; vaultId: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; export declare enum SecurityMemberEventAction { Added = "ADDED", Removed = "REMOVED", RoleChanged = "ROLE_CHANGED" } export type SecurityPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export type SecurityPolicyDecision = { __typename?: 'SecurityPolicyDecision'; allow: Scalars['Boolean']['output']; denyReasons: Array<Scalars['String']['output']>; evaluatedAt: Scalars['DateTime']['output']; policyVersion: Scalars['Int']['output']; scanRunId: Scalars['ID']['output']; }; export declare enum SecurityPolicyLevel { Advisory = "ADVISORY", Block = "BLOCK", Warn = "WARN" } export type SecurityProvider = { __typename?: 'SecurityProvider'; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; pluginName: Scalars['String']['output']; providerName: Scalars['String']['output']; stage: SecurityStage; toolVersion: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SecurityScanConclusion { Fail = "FAIL", Pass = "PASS", Skipped = "SKIPPED", Warn = "WARN" } export type SecurityScanFilterInput = { conclusion?: InputMaybe<SecurityScanConclusion>; stage?: InputMaybe<SecurityStage>; status?: InputMaybe<SecurityScanStatus>; vibeId?: InputMaybe<Scalars['ID']['input']>; }; export type SecurityScanRun = { __typename?: 'SecurityScanRun'; agentId?: Maybe<Scalars['ID']['output']>; commit: Scalars['String']['output']; conclusion?: Maybe<SecurityScanConclusion>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; durationMs?: Maybe<Scalars['Int']['output']>; errorReason?: Maybe<Scalars['String']['output']>; evidence: Array<SecurityEvidence>; findings: Array<SecurityFinding>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; policyLevel: SecurityPolicyLevel; providerName: Scalars['String']['output']; repoUrl: Scalars['String']['output']; stage: SecurityStage; startedAt?: Maybe<Scalars['DateTime']['output']>; status: SecurityScanStatus; summary: SecuritySummary; vibeId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type SecurityScanRunList = { __typename?: 'SecurityScanRunList'; hasMore: Scalars['Boolean']['output']; items: Array<SecurityScanRun>; total: Scalars['Int']['output']; }; export declare enum SecurityScanStatus { Cancelled = "CANCELLED", Errored = "ERRORED", Failed = "FAILED", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED" } /** * Lifecycle event envelope for a secret. `secret` is null on DELETED; the * caller should rely on `secretId` + `vaultId` for cache invalidation. */ export type SecuritySecretEvent = { __typename?: 'SecuritySecretEvent'; action: SecuritySecretEventAction; secret?: Maybe<Secret>; secretId: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; vaultId: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; export declare enum SecuritySecretEventAction { Created = "CREATED", Deleted = "DELETED", Rotated = "ROTATED", Updated = "UPDATED" } /** Security settings overview for the current user */ export type SecuritySettings = { __typename?: 'SecuritySettings'; /** Number of active sessions */ activeSessions?: Maybe<Scalars['Int']['output']>; /** Whether MFA is enabled for this user */ mfaEnabled: Scalars['Boolean']['output']; /** Session timeout in minutes */ sessionTimeout?: Maybe<Scalars['Int']['output']>; }; export declare enum SecuritySeverity { Critical = "CRITICAL", High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } export declare enum SecurityStage { ArchiveOffboard = "ARCHIVE_OFFBOARD", Build = "BUILD", DeployAlpha = "DEPLOY_ALPHA", DeployPreview = "DEPLOY_PREVIEW", DeveloperLocal = "DEVELOPER_LOCAL", IncidentResponse = "INCIDENT_RESPONSE", MainMerge = "MAIN_MERGE", PackagePublish = "PACKAGE_PUBLISH", PromoteProd = "PROMOTE_PROD", PullRequestDeep = "PULL_REQUEST_DEEP", PullRequestFast = "PULL_REQUEST_FAST", RepoOnboard = "REPO_ONBOARD", RuntimeContinuous = "RUNTIME_CONTINUOUS", ScheduledRescan = "SCHEDULED_RESCAN" } export type SecurityStatus = { __typename?: 'SecurityStatus'; lastScanAt?: Maybe<Scalars['DateTime']['output']>; perStage: Scalars['JSON']['output']; policyLevel: SecurityPolicyLevel; totals: SecuritySummary; vibeId: Scalars['ID']['output']; }; /** * DEPRECATED — legacy flat event enum. Superseded by the discriminated * `Security{Vault,Secret,Member}EventAction` enums used by the lifecycle * subscriptions. Retained only for backward compatibility with the published * supergraph; not referenced by any field. */ export declare enum SecuritySubscriptionEvent { MemberAdded = "MEMBER_ADDED", MemberRemoved = "MEMBER_REMOVED", MemberRoleChanged = "MEMBER_ROLE_CHANGED", SecretCreated = "SECRET_CREATED", SecretDeleted = "SECRET_DELETED", SecretRotated = "SECRET_ROTATED", SecretUpdated = "SECRET_UPDATED", VaultCreated = "VAULT_CREATED", VaultDeleted = "VAULT_DELETED", VaultLocked = "VAULT_LOCKED", VaultUnlocked = "VAULT_UNLOCKED", VaultUpdated = "VAULT_UPDATED" } export type SecuritySummary = { __typename?: 'SecuritySummary'; critical: Scalars['Int']['output']; high: Scalars['Int']['output']; info: Scalars['Int']['output']; low: Scalars['Int']['output']; medium: Scalars['Int']['output']; }; /** * Lifecycle event envelope for a vault. `vault` is null when `action` is * DELETED — the entity is already gone; consumers should use `vaultId` to * update their local cache. */ export type SecurityVaultEvent = { __typename?: 'SecurityVaultEvent'; action: SecurityVaultEventAction; timestamp: Scalars['DateTime']['output']; vault?: Maybe<Vault>; vaultId: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; export declare enum SecurityVaultEventAction { Created = "CREATED", Deleted = "DELETED", Locked = "LOCKED", Unlocked = "UNLOCKED", Updated = "UPDATED" } /** Input for `seedHealthyBowlDemoWorkspace`. */ export type SeedHealthyBowlDemoInput = { /** * When false (default) the seed is a no-op if a farm already exists. When true it still * seeds the newer-feature demo groups onto the existing farm (best-effort top-up); it does * NOT hard-delete or replace already-seeded core records. */ reset?: InputMaybe<Scalars['Boolean']['input']>; /** Target workspace. Defaults to the caller's current workspace when omitted. */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** A purchased/received lot of seed with provenance + certification metadata. */ export type SeedLot = { __typename?: 'SeedLot'; /** Certification expiry as an ISO-8601 string (yyyy-mm-dd). */ certExpiry?: Maybe<Scalars['String']['output']>; certStandard?: Maybe<Scalars['String']['output']>; certifiedOrganic?: Maybe<Scalars['Boolean']['output']>; cropVariety: Scalars['String']['output']; /** wspace-files-svc attachment ids (certificates, invoices, photos). */ fileIds: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; lotNumber: Scalars['String']['output']; /** * Origin-independent path (`/s/{publicSlug}`) — join it to your own `window.location.origin` * so an alpha link stays on alpha. Non-null whenever `publicSlug` is, INCLUDING while * unpublished: the link exists but will not resolve until the lot is published again. */ publicPath?: Maybe<Scalars['String']['output']>; /** * Permanent public key, allocated on first publish and RETAINED when unpublished so an * already-printed carton resumes working on republish. Null until first published. */ publicSlug?: Maybe<Scalars['String']['output']>; /** True while this lot resolves at its public URL. Every lot starts as a draft. */ published: Scalars['Boolean']['output']; /** ISO-8601 timestamp of the most recent publish, or null for a draft. */ publishedAt?: Maybe<Scalars['String']['output']>; /** Purchase date as an ISO-8601 string (yyyy-mm-dd). */ purchaseDate?: Maybe<Scalars['String']['output']>; quantity?: Maybe<Scalars['Float']['output']>; supplierId: Scalars['ID']['output']; unit?: Maybe<Scalars['String']['output']>; }; /** * A shared, admin-curated seed/nursery/input supplier directory entry (BOFF-6096). * Reference data shipped in code — the same rows render for every workspace; there is no * per-workspace table and no admin CRUD. Save one into your own address book via * createHealthyBowlSupplier(directoryId: id, ...). */ export type SeedSupplier = { __typename?: 'SeedSupplier'; address?: Maybe<Scalars['String']['output']>; contactPerson?: Maybe<Scalars['String']['output']>; /** Crops this supplier offers seed / planting material for. */ cropsOffered: Array<Scalars['String']['output']>; district: Scalars['String']['output']; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; organicInputCertified: Scalars['Boolean']['output']; phone?: Maybe<Scalars['String']['output']>; state: Scalars['String']['output']; /** One of: active, inactive. The directory only ever lists active rows. */ status: Scalars['String']['output']; /** One of: Seed, Seedling, Nursery, Fertilizer, Equipment. */ type: Scalars['String']['output']; }; export declare enum SegmentVisibility { Private = "PRIVATE", Public = "PUBLIC", Tenant = "TENANT", Workspace = "WORKSPACE" } /** * A governed access rule enforced by the federated query engine at query time, * for the actor each query run executes for. DENY overrides ALLOW; ALLOW * policies are allow-lists for their scope (once an entity has an ALLOW policy of * a scope, actors it does not match lose that access). Every run records its * policy decisions on SemQueryRun.planSummary.governance. */ export type SemAccessPolicy = { __typename?: 'SemAccessPolicy'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; effect: SemPolicyEffect; /** Limit the policy to one entity (null = every entity in scope). */ entityId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; /** Limit the policy to one semantic model (null = every model in the workspace). */ modelId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; /** * Who the policy applies to: "*" (everyone), "actor:<id>" / "user:<id>", or * "role:<name-or-id>" (the actor's workspace roles). */ principal: Scalars['String']['output']; /** * Scope-specific rule. ROW: {"conditions":[{"field","op","value"|"valueFrom":"actor.id"}]} * (AND-ed; empty = every row). COLUMN: {"columns":[...],"mask":"NULL"|"REDACT"|"HASH"}. * ENTITY: {}. */ rule?: Maybe<Scalars['JSON']['output']>; scope: SemPolicyScope; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** One lifecycle transition the health-triage loop applied (or would apply). */ export type SemAgentHealthTransition = { __typename?: 'SemAgentHealthTransition'; dataSourceId: Scalars['ID']['output']; dataSourceName: Scalars['String']['output']; from: SemDataSourceStatus; notified: Scalars['Boolean']['output']; to: SemDataSourceStatus; }; /** * One autonomous-loop output: a reviewable proposal (cache policy, access * policy) or a recorded, already-acted health-triage decision. */ export type SemAgentProposal = { __typename?: 'SemAgentProposal'; createdAt: Scalars['DateTime']['output']; fingerprint: Scalars['String']['output']; id: Scalars['ID']['output']; /** Ids of the records the loop actually read. */ inputRefs: Array<Scalars['String']['output']>; kind: SemAgentProposalKind; /** DRAFT SemAccessPolicy this proposal points at (ACCESS_POLICY kind). */ policyId?: Maybe<Scalars['ID']['output']>; /** The proposed change (cache fields, or the access-policy payload). */ proposal?: Maybe<Scalars['JSON']['output']>; /** SemQuery this proposal points at (CACHE_POLICY kind). */ queryId?: Maybe<Scalars['ID']['output']>; rationale: Scalars['String']['output']; resolvedAt?: Maybe<Scalars['DateTime']['output']>; resolvedBy?: Maybe<Scalars['String']['output']>; status: SemAgentProposalStatus; title: Scalars['String']['output']; /** What started the tick: scheduled | event. */ trigger: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum SemAgentProposalKind { AccessPolicy = "ACCESS_POLICY", CachePolicy = "CACHE_POLICY", HealthTriage = "HEALTH_TRIAGE" } /** Human review outcomes for a pending proposal. */ export declare enum SemAgentProposalOutcome { Accept = "ACCEPT", Reject = "REJECT" } export declare enum SemAgentProposalStatus { Accepted = "ACCEPTED", Expired = "EXPIRED", Pending = "PENDING", Rejected = "REJECTED" } export type SemAgentProposalsFilter = { kind?: InputMaybe<SemAgentProposalKind>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<SemAgentProposalStatus>; }; /** Result of one agent-sweep tick (returned to the FluidGrids run as output). */ export type SemAgentSweepResult = { __typename?: 'SemAgentSweepResult'; /** Human-readable decision lines, one per autonomous action taken. */ decisions: Array<Scalars['String']['output']>; notificationsSent: Scalars['Int']['output']; proposalsCreated: Scalars['Int']['output']; /** False when the tick was skipped (flag off, credits exhausted, disabled). */ ran: Scalars['Boolean']['output']; skippedReason?: Maybe<Scalars['String']['output']>; transitions: Array<SemAgentHealthTransition>; }; /** Registration state of the workspace's FluidGrids sweep job. */ export type SemAgentSweepStatus = { __typename?: 'SemAgentSweepStatus'; enabled: Scalars['Boolean']['output']; jobId?: Maybe<Scalars['ID']['output']>; registered: Scalars['Boolean']['output']; schedule?: Maybe<Scalars['String']['output']>; workflowKey?: Maybe<Scalars['String']['output']>; }; export declare enum SemAggregation { Avg = "AVG", Count = "COUNT", CountDistinct = "COUNT_DISTINCT", Custom = "CUSTOM", Max = "MAX", Median = "MEDIAN", Min = "MIN", Sum = "SUM" } export type SemConnection = { __typename?: 'SemConnection'; createdAt: Scalars['DateTime']['output']; dataSourceId: Scalars['ID']['output']; health: SemConnectionHealth; id: Scalars['ID']['output']; latencyMs?: Maybe<Scalars['Int']['output']>; message?: Maybe<Scalars['String']['output']>; probedAt: Scalars['DateTime']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SemConnectionHealth { Degraded = "DEGRADED", Healthy = "HEALTHY", Unknown = "UNKNOWN", Unreachable = "UNREACHABLE" } export type SemConnector = { __typename?: 'SemConnector'; capabilities?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; dataSources: Array<SemDataSource>; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; kind: SemConnectorKind; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SemConnectorConnection = { __typename?: 'SemConnectorConnection'; items: Array<SemConnector>; pageInfo: SemPageInfo; }; export declare enum SemConnectorKind { Bigquery = "BIGQUERY", Clickhouse = "CLICKHOUSE", Databricks = "DATABRICKS", GraphqlApi = "GRAPHQL_API", Mongodb = "MONGODB", Mysql = "MYSQL", Other = "OTHER", Postgres = "POSTGRES", Redshift = "REDSHIFT", RestApi = "REST_API", S3Parquet = "S3_PARQUET", Snowflake = "SNOWFLAKE" } export type SemCreateAccessPolicyInput = { description?: InputMaybe<Scalars['String']['input']>; effect?: InputMaybe<SemPolicyEffect>; entityId?: InputMaybe<Scalars['ID']['input']>; modelId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; principal: Scalars['String']['input']; rule?: InputMaybe<Scalars['JSON']['input']>; scope?: InputMaybe<SemPolicyScope>; }; export type SemCreateConnectorInput = { capabilities?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<SemConnectorKind>; name: Scalars['String']['input']; }; export type SemCreateDataSourceInput = { connectorId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; endpoint?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; pushdownEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** * Reference to the credential this data source connects with; the credential itself is never stored or returned. * One of: NAME or env://NAME (workspace-scoped environment variable), aws-sm://<name>[#<key>] (AWS Secrets Manager * secret provisioned for this workspace, optionally one key of a JSON secret) or vault://<mount>/<path>#<key> * (HashiCorp Vault KV v2 entry provisioned for this workspace). References always resolve inside the owning workspace. */ secretRef?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SemCreateDimensionInput = { dataType?: InputMaybe<SemDataType>; description?: InputMaybe<Scalars['String']['input']>; entityId: Scalars['ID']['input']; expression?: InputMaybe<Scalars['String']['input']>; isPrimary?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; }; export type SemCreateEntityInput = { dataSourceId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<SemEntityKind>; modelId: Scalars['ID']['input']; name: Scalars['String']['input']; physicalName?: InputMaybe<Scalars['String']['input']>; primaryKey?: InputMaybe<Scalars['String']['input']>; sqlDefinition?: InputMaybe<Scalars['String']['input']>; }; export type SemCreateMetricInput = { aggregation?: InputMaybe<SemAggregation>; description?: InputMaybe<Scalars['String']['input']>; entityId: Scalars['ID']['input']; expression?: InputMaybe<Scalars['String']['input']>; format?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; }; export type SemCreateModelInput = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SemCreateQueryInput = { cacheTtlSeconds?: InputMaybe<Scalars['Int']['input']>; cacheable?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; modelId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; parameters?: InputMaybe<Scalars['JSON']['input']>; queryText: Scalars['String']['input']; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SemCreateRelationshipInput = { description?: InputMaybe<Scalars['String']['input']>; fromEntityId: Scalars['ID']['input']; fromField: Scalars['String']['input']; kind?: InputMaybe<SemRelationshipKind>; modelId: Scalars['ID']['input']; name: Scalars['String']['input']; toEntityId: Scalars['ID']['input']; toField: Scalars['String']['input']; }; export type SemDataSource = { __typename?: 'SemDataSource'; connections: Array<SemConnection>; connector?: Maybe<SemConnector>; connectorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; endpoint?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; lastIntrospectedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; pushdownEnabled: Scalars['Boolean']['output']; /** * Reference to the credential this data source connects with; the credential itself is never stored or returned. * One of: NAME or env://NAME (workspace-scoped environment variable), aws-sm://<name>[#<key>] (AWS Secrets Manager * secret provisioned for this workspace, optionally one key of a JSON secret) or vault://<mount>/<path>#<key> * (HashiCorp Vault KV v2 entry provisioned for this workspace). References always resolve inside the owning workspace. */ secretRef?: Maybe<Scalars['String']['output']>; status: SemDataSourceStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SemDataSourceConnection = { __typename?: 'SemDataSourceConnection'; items: Array<SemDataSource>; pageInfo: SemPageInfo; }; export declare enum SemDataSourceStatus { Connected = "CONNECTED", Degraded = "DEGRADED", Disabled = "DISABLED", Disconnected = "DISCONNECTED", Draft = "DRAFT" } export declare enum SemDataType { Boolean = "BOOLEAN", Date = "DATE", Decimal = "DECIMAL", Geo = "GEO", Integer = "INTEGER", Json = "JSON", String = "STRING", Timestamp = "TIMESTAMP" } export type SemDimension = { __typename?: 'SemDimension'; createdAt: Scalars['DateTime']['output']; dataType: SemDataType; description?: Maybe<Scalars['String']['output']>; entityId: Scalars['ID']['output']; expression?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isPrimary: Scalars['Boolean']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * HMAC-gated callback a FluidGrids scheduled job (or an operator) POSTs to run * the workspace's agent sweep. The dispatchSecret is HMAC-SHA256 of the * workspaceId keyed by the internal service token — the same secret baked into * the per-workspace workflow definition. */ export type SemDispatchAgentSweepInput = { dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type SemEntity = { __typename?: 'SemEntity'; createdAt: Scalars['DateTime']['output']; dataSourceId?: Maybe<Scalars['ID']['output']>; description?: Maybe<Scalars['String']['output']>; dimensions: Array<SemDimension>; id: Scalars['ID']['output']; kind: SemEntityKind; metrics: Array<SemMetric>; modelId: Scalars['ID']['output']; name: Scalars['String']['output']; physicalName?: Maybe<Scalars['String']['output']>; primaryKey?: Maybe<Scalars['String']['output']>; sqlDefinition?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SemEntityKind { Derived = "DERIVED", External = "EXTERNAL", Table = "TABLE", View = "VIEW" } export type SemExecuteSqlInput = { /** Maximum rows returned (default 1000, max 10000). truncated = true when more matched. */ maxRows?: InputMaybe<Scalars['Int']['input']>; /** Semantic model the SQL runs against. Optional when the workspace has exactly one model. */ modelId?: InputMaybe<Scalars['ID']['input']>; /** * One read-only SELECT statement. Tables are the model's entities, columns * their dimensions and metrics. Supported: SELECT [DISTINCT], *, table.*, * SUM/AVG/MIN/MAX/COUNT/COUNT(DISTINCT)/COUNT(1), [INNER] JOIN and * LEFT [OUTER] JOIN ... ON a = b, WHERE and HAVING conditions combining * comparisons, [NOT] IN (...), [NOT] LIKE/ILIKE, [NOT] BETWEEN and * IS [NOT] NULL with AND, OR, NOT and parentheses, GROUP BY (columns or * positions), ORDER BY ... ASC|DESC, LIMIT, OFFSET, quoted identifiers, * aliases, comments and a trailing ';'. */ sql: Scalars['String']['input']; /** Execution time limit in milliseconds (default 30000, min 1000, max 60000). */ timeoutMs?: InputMaybe<Scalars['Int']['input']>; }; export declare enum SemLineageDirection { Both = "BOTH", /** What depends on the root (impact analysis). */ Downstream = "DOWNSTREAM", /** Where the root's data comes from. */ Upstream = "UPSTREAM" } export type SemLineageEdge = { __typename?: 'SemLineageEdge'; /** How the downstream node uses the upstream one, e.g. 'SELECT (revenue: SUM), GROUP BY'. */ detail?: Maybe<Scalars['String']['output']>; /** Upstream node id. */ from: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: SemLineageEdgeKind; /** For EXECUTED_ON edges: when the run that read the data source finished. */ observedAt?: Maybe<Scalars['DateTime']['output']>; /** Downstream node id. */ to: Scalars['ID']['output']; }; /** * The relation an edge records. Every edge points downstream, in the direction * data flows. */ export declare enum SemLineageEdgeKind { /** Entity → one of its dimensions, metrics or unregistered columns. */ Defines = "DEFINES", /** Data source → a saved query whose latest successful run read from it. */ ExecutedOn = "EXECUTED_ON", /** Data source → a physical table it holds. */ Hosts = "HOSTS", /** Entity → entity joined to it by a model relationship (context, not data flow). */ Joins = "JOINS", /** Physical table (or the data source itself, for an entity without a table) → entity. */ MapsTo = "MAPS_TO", /** Entity → the semantic model it belongs to. */ MemberOf = "MEMBER_OF", /** Connector → a data source that instantiates it. */ Provides = "PROVIDES", /** Entity, dimension, metric or column → a saved query that reads it. */ ReadBy = "READ_BY", /** Semantic model → a saved query bound to it. */ Serves = "SERVES" } export type SemLineageGraph = { __typename?: 'SemLineageGraph'; direction: SemLineageDirection; edges: Array<SemLineageEdge>; nodes: Array<SemLineageNode>; /** The node the traversal started from; null for the whole-workspace graph. */ rootId?: Maybe<Scalars['ID']['output']>; /** True when the workspace is larger than one lineage pass reads, or the node cap was reached. */ truncated: Scalars['Boolean']['output']; warnings: Array<SemLineageWarning>; }; export type SemLineageNode = { __typename?: 'SemLineageNode'; /** Kind-specific detail: connector kind, physical name, field expression, model name. */ detail?: Maybe<Scalars['String']['output']>; /** Stable node id, e.g. ENTITY:<entityId> or TABLE:<dataSourceId>:<schema.table>. */ id: Scalars['ID']['output']; kind: SemLineageNodeKind; label: Scalars['String']['output']; /** The containing node: the data source of a table, the entity of a field, the model of an entity. */ parentId?: Maybe<Scalars['ID']['output']>; /** The SemanticFed record behind the node; null for TABLE and COLUMN nodes. */ refId?: Maybe<Scalars['ID']['output']>; /** Kind-specific status: data source status, model status, entity kind, field data type. */ status?: Maybe<Scalars['String']['output']>; }; /** The kind of a node in a lineage graph. */ export declare enum SemLineageNodeKind { /** A field a query reads that is not a registered dimension or metric (read as a physical column). */ Column = "COLUMN", Connector = "CONNECTOR", DataSource = "DATA_SOURCE", Dimension = "DIMENSION", Entity = "ENTITY", Metric = "METRIC", Model = "MODEL", Query = "QUERY", /** A physical table or view in a data source, read by one or more entities. */ Table = "TABLE" } /** The record kinds a lineage traversal can start from. */ export declare enum SemLineageRootKind { Connector = "CONNECTOR", DataSource = "DATA_SOURCE", Dimension = "DIMENSION", Entity = "ENTITY", Metric = "METRIC", Model = "MODEL", Query = "QUERY" } /** Broken or incomplete lineage found while computing the graph. */ export type SemLineageWarning = { __typename?: 'SemLineageWarning'; message: Scalars['String']['output']; /** The node the warning is about; null for a warning about the whole graph. */ nodeId?: Maybe<Scalars['ID']['output']>; }; export type SemMetric = { __typename?: 'SemMetric'; aggregation: SemAggregation; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; entityId: Scalars['ID']['output']; expression?: Maybe<Scalars['String']['output']>; format?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SemModelStatus { Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT", Published = "PUBLISHED" } export type SemNlAnswer = { __typename?: 'SemNlAnswer'; /** The governed result rows (null when the question needs clarification). */ result?: Maybe<SemSqlResult>; translation: SemNlTranslation; }; /** Whether and how the workspace's own AI provider helped answer a question (LLM-assisted phrasing, BYOK). */ export declare enum SemNlAssistStatus { /** LLM-assisted phrasing is turned off for this workspace. */ Disabled = "DISABLED", /** The workspace's AI provider connection is missing, revoked, or not a supported provider. */ NotConfigured = "NOT_CONFIGURED", /** The deterministic translator answered, or the question cannot be fixed by rewording it. */ NotNeeded = "NOT_NEEDED", /** The provider was asked, but its rewrite could not be answered from the model either. */ NoImprovement = "NO_IMPROVEMENT", /** The AI provider could not be reached, refused the key, or returned an error. */ ProviderError = "PROVIDER_ERROR", /** The workspace has used all of today's AI operations. */ QuotaExhausted = "QUOTA_EXHAUSTED", /** The AI-operation quota is not provisioned for this workspace or could not be checked, so the provider was not called. */ QuotaUnavailable = "QUOTA_UNAVAILABLE", /** The provider reworded the question with the model's names, and the translator answered the rewrite. */ Rephrased = "REPHRASED", /** The question asked for the deterministic translator only (allowAssist: false). */ Skipped = "SKIPPED" } export declare enum SemNlClarificationReason { EmptyQuestion = "EMPTY_QUESTION", /** A filter value does not fit the column's data type. */ InvalidFilter = "INVALID_FILTER", /** The interpretation did not produce a valid statement for the model. */ InvalidQuery = "INVALID_QUERY", /** Too much of the question matches nothing in the model to answer it reliably. */ LowConfidence = "LOW_CONFIDENCE", /** The question combines entities that no relationship of the model connects. */ NoJoinPath = "NO_JOIN_PATH", /** Nothing in the question names an entity, dimension or metric of the model. */ NoMatch = "NO_MATCH", TooLong = "TOO_LONG", /** A follow-up names a value (for example 'only EU') without a column the conversation lets it apply to. */ UnplacedValue = "UNPLACED_VALUE", /** The question needs an aggregation the engine does not support (for example a MEDIAN metric). */ UnsupportedAggregation = "UNSUPPORTED_AGGREGATION" } export type SemNlQuestionInput = { /** Set to false to answer with the deterministic translator only, even when LLM-assisted phrasing is on. */ allowAssist?: InputMaybe<Scalars['Boolean']['input']>; /** * Earlier questions of the same conversation, oldest first (the last 10 are * used). A follow-up such as "and by status?", "only EU" or "top 3 instead" * refines the interpretation of these questions; a question that stands on its * own starts a new interpretation. */ history?: InputMaybe<Array<Scalars['String']['input']>>; /** Maximum rows returned (default 1000, max 10000). */ maxRows?: InputMaybe<Scalars['Int']['input']>; /** Semantic model to ask. Optional when the workspace has exactly one model. */ modelId?: InputMaybe<Scalars['ID']['input']>; /** The question in plain English, for example: top 5 regions by revenue where status is 'paid'. */ question: Scalars['String']['input']; /** Execution time limit in milliseconds (default 30000, min 1000, max 60000). */ timeoutMs?: InputMaybe<Scalars['Int']['input']>; }; /** Workspace settings for natural-language questions. */ export type SemNlSettings = { __typename?: 'SemNlSettings'; /** wspace-integrations connection holding the workspace's AI provider key. The key itself is never stored or returned by SemanticFed. */ aiConnectionId?: Maybe<Scalars['ID']['output']>; /** Provider model to use; null means defaultAiModel. */ aiModel?: Maybe<Scalars['String']['output']>; /** Provider of that connection (openai or anthropic). */ aiProviderKey?: Maybe<Scalars['String']['output']>; /** The model used when aiModel is null. */ defaultAiModel?: Maybe<Scalars['String']['output']>; /** * When true, a question the deterministic translator cannot answer (NO_MATCH or * LOW_CONFIDENCE) is reworded by the workspace's own AI provider and translated * again. Each provider call counts as one AI operation. */ llmAssistEnabled: Scalars['Boolean']['output']; /** Integration providers that can be used for LLM-assisted phrasing. */ supportedProviders: Array<Scalars['String']['output']>; updatedAt?: Maybe<Scalars['DateTime']['output']>; updatedBy?: Maybe<Scalars['String']['output']>; }; export declare enum SemNlStatus { /** The question could not be answered as asked; see clarificationReason and suggestions. Nothing was run. */ NeedsClarification = "NEEDS_CLARIFICATION", /** The question was translated into SQL (semAskQuestion also ran it). */ Translated = "TRANSLATED" } /** One decision the translator made, in the order it applies to the query. */ export type SemNlStep = { __typename?: 'SemNlStep'; /** SUM, AVG, MIN, MAX, COUNT or COUNT_DISTINCT (MEASURE steps). */ aggregation?: Maybe<Scalars['String']['output']>; /** Row limit (LIMIT steps). */ count?: Maybe<Scalars['Int']['output']>; /** ASC or DESC (ORDER steps). */ direction?: Maybe<Scalars['String']['output']>; entity?: Maybe<Scalars['String']['output']>; field?: Maybe<Scalars['String']['output']>; /** True when the aggregation is the metric's governed aggregation rather than one the question chose. */ governed: Scalars['Boolean']['output']; kind: SemNlStepKind; /** Comparison operator (FILTER steps). */ operator?: Maybe<Scalars['String']['output']>; /** Relationship followed (JOIN steps). */ relationship?: Maybe<Scalars['String']['output']>; /** Comparison value (FILTER steps). */ value?: Maybe<Scalars['JSON']['output']>; }; export declare enum SemNlStepKind { /** A column returned as is. */ Column = "COLUMN", /** The entity the query reads from. */ Entity = "ENTITY", Filter = "FILTER", GroupBy = "GROUP_BY", /** An entity joined through a model relationship. */ Join = "JOIN", Limit = "LIMIT", /** An aggregated value (a governed metric, or an aggregation the question asked for). */ Measure = "MEASURE", Order = "ORDER" } export type SemNlTranslation = { __typename?: 'SemNlTranslation'; /** Whether and how the workspace's AI provider helped. */ assist: SemNlAssistStatus; /** The AI provider that was asked (openai or anthropic), when one was. */ assistProvider?: Maybe<Scalars['String']['output']>; /** Translated explanation of what to change (NEEDS_CLARIFICATION only). */ clarification?: Maybe<Scalars['String']['output']>; clarificationReason?: Maybe<SemNlClarificationReason>; /** Share of the question's meaningful words grounded in the model, from 0 to 1. */ confidence: Scalars['Float']['output']; /** Translation engine that produced the answer: semantic-parser-v1, or semantic-parser-v1+llm-rephrase when the AI provider's rewrite was answered. */ engine: Scalars['String']['output']; /** True when the question was answered as a follow-up of the earlier questions in history. */ followUp: Scalars['Boolean']['output']; modelId: Scalars['ID']['output']; modelName: Scalars['String']['output']; question: Scalars['String']['output']; /** The AI provider's rewrite of the question, when one was produced. The provider never writes SQL; the rewrite is translated like any question. */ rephrasedQuestion?: Maybe<Scalars['String']['output']>; /** The generated read-only SQL statement (TRANSLATED only). It can be edited and run with semExecuteSql. */ sql?: Maybe<Scalars['String']['output']>; status: SemNlStatus; steps: Array<SemNlStep>; /** Example questions this model can answer. */ suggestions: Array<Scalars['String']['output']>; /** Words of the question that match nothing in the model and were ignored. */ unmatchedTerms: Array<Scalars['String']['output']>; }; export type SemOnboardingProgress = { __typename?: 'SemOnboardingProgress'; completedCount: Scalars['Int']['output']; /** True while the workspace still holds the getting-started demo data. */ demoDataPresent: Scalars['Boolean']['output']; isComplete: Scalars['Boolean']['output']; steps: Array<SemOnboardingStep>; totalCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** * One getting-started step. A step is complete once the workspace holds at least * one record of the matching kind that the user created themselves; records added * by the demo-data seed are never counted. */ export type SemOnboardingStep = { __typename?: 'SemOnboardingStep'; completed: Scalars['Boolean']['output']; /** How many of the user's own records satisfy this step. */ count: Scalars['Int']['output']; key: SemOnboardingStepKey; }; /** The getting-started steps a new SemanticFed workspace works through, in order. */ export declare enum SemOnboardingStepKey { AddDataSource = "ADD_DATA_SOURCE", AddPolicy = "ADD_POLICY", CreateModel = "CREATE_MODEL", DefineMetric = "DEFINE_METRIC", RegisterConnector = "REGISTER_CONNECTOR", RunQuery = "RUN_QUERY" } export type SemPageInfo = { __typename?: 'SemPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export declare enum SemPolicyEffect { Allow = "ALLOW", Deny = "DENY" } export declare enum SemPolicyScope { Column = "COLUMN", Entity = "ENTITY", Row = "ROW" } export type SemQuery = { __typename?: 'SemQuery'; cacheTtlSeconds: Scalars['Int']['output']; cacheable: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; modelId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; parameters?: Maybe<Scalars['JSON']['output']>; queryText: Scalars['String']['output']; runs: Array<SemQueryRun>; status: SemQueryStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * Workspace saved-query activity over bounded UTC days, including the partial current day. * Direct SQL/REST endpoint traffic, result contents, actors and unsaved queries are excluded. * Counts are exact integers represented as Float to avoid GraphQL Int's 32-bit ceiling. * Duration averages cover terminal runs with a recorded nonnegative duration; no samples = null. * A database timeout is an error, never an empty result. */ export type SemQueryAnalytics = { __typename?: 'SemQueryAnalytics'; activeRuns: Scalars['Float']['output']; asOf: Scalars['DateTime']['output']; averageDurationMs?: Maybe<Scalars['Float']['output']>; /** Successful saved-query runs served from cache. */ cacheHits: Scalars['Float']['output']; cancelledRuns: Scalars['Float']['output']; days: Array<SemQueryAnalyticsDay>; durationSamples: Scalars['Float']['output']; failedRuns: Scalars['Float']['output']; from: Scalars['DateTime']['output']; succeededRuns: Scalars['Float']['output']; totalRuns: Scalars['Float']['output']; windowDays: Scalars['Int']['output']; }; /** An aggregate of saved-query runs created during one UTC calendar day. */ export type SemQueryAnalyticsDay = { __typename?: 'SemQueryAnalyticsDay'; activeRuns: Scalars['Float']['output']; averageDurationMs?: Maybe<Scalars['Float']['output']>; cacheHits: Scalars['Float']['output']; cancelledRuns: Scalars['Float']['output']; day: Scalars['String']['output']; durationSamples: Scalars['Float']['output']; failedRuns: Scalars['Float']['output']; succeededRuns: Scalars['Float']['output']; totalRuns: Scalars['Float']['output']; }; export type SemQueryConnection = { __typename?: 'SemQueryConnection'; items: Array<SemQuery>; pageInfo: SemPageInfo; }; export type SemQueryRun = { __typename?: 'SemQueryRun'; createdAt: Scalars['DateTime']['output']; durationMs?: Maybe<Scalars['Int']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; fromCache: Scalars['Boolean']['output']; id: Scalars['ID']['output']; planSummary?: Maybe<Scalars['JSON']['output']>; queryId: Scalars['ID']['output']; rowCount?: Maybe<Scalars['Int']['output']>; runById?: Maybe<Scalars['ID']['output']>; sourcesTouched: Scalars['Int']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: SemQueryRunStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SemQueryRunConnection = { __typename?: 'SemQueryRunConnection'; items: Array<SemQueryRun>; pageInfo: SemPageInfo; }; /** * A page of the governed result of a SUCCEEDED query run: the rows exactly as the * federated engine produced them for the run's actor, with ROW access policies * already filtered and COLUMN masks already applied. Results are stored up to a * cap (10,000 rows / 5 MiB by default; truncated = true when the full result was * larger) and kept for a retention window (7 days by default, see expiresAt). */ export type SemQueryRunResult = { __typename?: 'SemQueryRunResult'; columns: Array<SemQueryRunResultColumn>; /** When the stored result is deleted; run the query again afterwards. */ expiresAt: Scalars['DateTime']['output']; /** Page size used (default 100, max 500). */ limit: Scalars['Int']['output']; /** Offset of the next page (pass it as pagination.offset), or null on the last page. */ nextOffset?: Maybe<Scalars['Int']['output']>; /** Offset of the first row of this page. */ offset: Scalars['Int']['output']; /** hasMore, and cursor = nextOffset as a string. */ pageInfo: SemPageInfo; queryId: Scalars['ID']['output']; /** Rows stored for the run (after the cap). */ rowCount: Scalars['Int']['output']; /** Rows of this page, each an object keyed by column name. */ rows: Array<Scalars['JSON']['output']>; runId: Scalars['ID']['output']; /** Rows the engine produced for the run (before the cap). */ totalRowCount: Scalars['Int']['output']; /** True when the stored rows are only the first rowCount of totalRowCount. */ truncated: Scalars['Boolean']['output']; }; /** One output column of a query run's result, in SELECT order. */ export type SemQueryRunResultColumn = { __typename?: 'SemQueryRunResultColumn'; /** Aggregation applied (SUM, AVG, MIN, MAX, COUNT, COUNT_DISTINCT), or null. */ aggregation?: Maybe<Scalars['String']['output']>; /** Semantic entity the column is read from. */ entity: Scalars['String']['output']; /** Logical field of the entity. */ field: Scalars['String']['output']; /** The mask applied: NULL, REDACT or HASH (null when the column is not masked). */ mask?: Maybe<Scalars['String']['output']>; /** True when a COLUMN access policy masked this column for the run's actor. */ masked: Scalars['Boolean']['output']; /** Output alias: the key of this column in every row object. */ name: Scalars['String']['output']; }; export declare enum SemQueryRunStatus { Cancelled = "CANCELLED", Failed = "FAILED", Planning = "PLANNING", Queued = "QUEUED", Running = "RUNNING", Succeeded = "SUCCEEDED" } export declare enum SemQueryStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type SemRecordConnectionInput = { dataSourceId: Scalars['ID']['input']; health: SemConnectionHealth; latencyMs?: InputMaybe<Scalars['Int']['input']>; message?: InputMaybe<Scalars['String']['input']>; }; export type SemRelationship = { __typename?: 'SemRelationship'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; fromEntityId: Scalars['ID']['output']; fromField: Scalars['String']['output']; id: Scalars['ID']['output']; kind: SemRelationshipKind; modelId: Scalars['ID']['output']; name: Scalars['String']['output']; toEntityId: Scalars['ID']['output']; toField: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SemRelationshipKind { ManyToMany = "MANY_TO_MANY", ManyToOne = "MANY_TO_ONE", OneToMany = "ONE_TO_MANY", OneToOne = "ONE_TO_ONE" } export type SemRemoveWorkspaceDemoDataResult = { __typename?: 'SemRemoveWorkspaceDemoDataResult'; removedConnectors: Scalars['Int']['output']; removedDataSources: Scalars['Int']['output']; removedModels: Scalars['Int']['output']; removedQueries: Scalars['Int']['output']; }; /** * Identifiers of the demo records. `created` is false when the workspace already * held the demo data and the call returned the existing records unchanged. */ export type SemSeedWorkspaceDemoDataResult = { __typename?: 'SemSeedWorkspaceDemoDataResult'; connectorId: Scalars['ID']['output']; created: Scalars['Boolean']['output']; dataSourceId: Scalars['ID']['output']; entityIds: Array<Scalars['ID']['output']>; metricIds: Array<Scalars['ID']['output']>; modelId: Scalars['ID']['output']; queryId: Scalars['ID']['output']; }; export type SemSemanticModel = { __typename?: 'SemSemanticModel'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; entities: Array<SemEntity>; id: Scalars['ID']['output']; name: Scalars['String']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; relationships: Array<SemRelationship>; status: SemModelStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type SemSemanticModelConnection = { __typename?: 'SemSemanticModelConnection'; items: Array<SemSemanticModel>; pageInfo: SemPageInfo; }; /** The tables and columns a semantic model exposes to SQL (schema discovery for BI tools). */ export type SemSqlCatalog = { __typename?: 'SemSqlCatalog'; modelId: Scalars['ID']['output']; modelName: Scalars['String']['output']; tables: Array<SemSqlCatalogTable>; }; export type SemSqlCatalogColumn = { __typename?: 'SemSqlCatalogColumn'; /** The metric's default aggregation (METRIC columns only). */ aggregation?: Maybe<Scalars['String']['output']>; dataType: SemSqlDataType; description?: Maybe<Scalars['String']['output']>; isPrimary: Scalars['Boolean']['output']; kind: SemSqlColumnKind; name: Scalars['String']['output']; }; export type SemSqlCatalogTable = { __typename?: 'SemSqlCatalogTable'; columns: Array<SemSqlCatalogColumn>; description?: Maybe<Scalars['String']['output']>; kind: Scalars['String']['output']; /** Entity name: the table name to use in SQL. */ name: Scalars['String']['output']; primaryKey?: Maybe<Scalars['String']['output']>; }; export declare enum SemSqlColumnKind { Dimension = "DIMENSION", Metric = "METRIC" } /** Data type of a SQL result or catalog column (the model's dimension data type). */ export declare enum SemSqlDataType { Boolean = "BOOLEAN", Date = "DATE", Decimal = "DECIMAL", Geo = "GEO", Integer = "INTEGER", Json = "JSON", String = "STRING", Timestamp = "TIMESTAMP", /** The column is not a registered dimension or metric, so its type is not known. */ Unknown = "UNKNOWN" } /** * The governed result of one SQL statement: rows exactly as the federated engine * produced them for the caller, with ROW access policies filtered and COLUMN * masks applied, then ordered, offset and capped. */ export type SemSqlResult = { __typename?: 'SemSqlResult'; columns: Array<SemSqlResultColumn>; durationMs: Scalars['Float']['output']; modelId: Scalars['ID']['output']; /** Execution plan, push-down and access-policy decisions for the statement. */ planSummary: Scalars['JSON']['output']; rowCount: Scalars['Int']['output']; /** Rows, each an object keyed by column name, in result order. */ rows: Array<Scalars['JSON']['output']>; sourcesTouched: Scalars['Int']['output']; /** True when more rows matched than were returned (maxRows or the 5 MiB response cap). */ truncated: Scalars['Boolean']['output']; }; export type SemSqlResultColumn = { __typename?: 'SemSqlResultColumn'; /** Aggregation applied (SUM, AVG, MIN, MAX, COUNT, COUNT_DISTINCT), or null. */ aggregation?: Maybe<Scalars['String']['output']>; dataType: SemSqlDataType; /** Semantic entity (table) the column is read from; '*' for COUNT(*). */ entity: Scalars['String']['output']; /** Logical field of the entity. */ field: Scalars['String']['output']; /** The mask applied: NULL, REDACT or HASH (null when the column is not masked). */ mask?: Maybe<Scalars['String']['output']>; /** True when a COLUMN access policy masked this column for the caller. */ masked: Scalars['Boolean']['output']; /** Output column name: the key of this column in every row object. */ name: Scalars['String']['output']; }; export type SemUpdateConnectorInput = { capabilities?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<SemConnectorKind>; name?: InputMaybe<Scalars['String']['input']>; }; export type SemUpdateDataSourceInput = { description?: InputMaybe<Scalars['String']['input']>; endpoint?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; pushdownEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** * Reference to the credential this data source connects with; the credential itself is never stored or returned. * One of: NAME or env://NAME (workspace-scoped environment variable), aws-sm://<name>[#<key>] (AWS Secrets Manager * secret provisioned for this workspace, optionally one key of a JSON secret) or vault://<mount>/<path>#<key> * (HashiCorp Vault KV v2 entry provisioned for this workspace). References always resolve inside the owning workspace. */ secretRef?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SemUpdateEntityInput = { dataSourceId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<SemEntityKind>; name?: InputMaybe<Scalars['String']['input']>; physicalName?: InputMaybe<Scalars['String']['input']>; primaryKey?: InputMaybe<Scalars['String']['input']>; sqlDefinition?: InputMaybe<Scalars['String']['input']>; }; export type SemUpdateModelInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SemUpdateNlSettingsInput = { /** Required when llmAssistEnabled is true: an OpenAI or Anthropic connection of this workspace. */ aiConnectionId?: InputMaybe<Scalars['ID']['input']>; /** Optional provider model name, for example gpt-4o-mini or claude-opus-5-5. */ aiModel?: InputMaybe<Scalars['String']['input']>; llmAssistEnabled: Scalars['Boolean']['input']; }; export type SemUpdateQueryInput = { cacheTtlSeconds?: InputMaybe<Scalars['Int']['input']>; cacheable?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; modelId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; parameters?: InputMaybe<Scalars['JSON']['input']>; queryText?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type SendA2AMessageInput = { connectionId?: InputMaybe<Scalars['ID']['input']>; content: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; priority?: InputMaybe<A2AMessagePriority>; senderAgentId: Scalars['ID']['input']; targetAgentId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** Input for sending a message to an external channel */ export type SendChannelMessageInput = { /** Bot app ID sending the message */ appId: Scalars['ID']['input']; /** Channel ID from global-channel-svc */ channelId: Scalars['ID']['input']; /** Optional conversation ID if message should be linked to existing conversation */ conversationId?: InputMaybe<Scalars['ID']['input']>; /** Additional metadata (JSON object) */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Organization ID for multi-tenancy */ organizationId: Scalars['ID']['input']; /** Platform type (SLACK, TEAMS, etc.) */ platform: ChannelPlatform; /** External platform channel ID (e.g., Slack channel C123456) */ platformChannelId: Scalars['String']['input']; /** Message text content */ text: Scalars['String']['input']; /** Thread ID for threaded replies (e.g., Slack thread_ts) */ threadId?: InputMaybe<Scalars['String']['input']>; /** Workspace ID */ workspaceId: Scalars['ID']['input']; }; /** * Result of sending a message to a channel * Contains information from both conversation storage and message delivery */ export type SendChannelMessageResult = { __typename?: 'SendChannelMessageResult'; /** Conversation ID if message was stored in conversations service */ conversationId?: Maybe<Scalars['ID']['output']>; /** Delivery attempt ID from channel service (if delivery was attempted) */ deliveryAttemptId?: Maybe<Scalars['ID']['output']>; /** Error message if operation failed */ error?: Maybe<Scalars['String']['output']>; /** Message ID if message was stored in conversations service */ messageId?: Maybe<Scalars['ID']['output']>; /** External platform message ID (e.g., Slack timestamp) */ platformMessageId?: Maybe<Scalars['String']['output']>; /** Whether the message was successfully delivered */ success: Scalars['Boolean']['output']; }; export type SendContextConversationMessageInput = { attachments?: InputMaybe<Array<ContextMessageAttachmentInput>>; content: Scalars['JSON']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; mentionUserIds?: InputMaybe<Array<Scalars['ID']['input']>>; parentMessageId?: InputMaybe<Scalars['ID']['input']>; sourceContext: ConversationSourceContextInput; type?: InputMaybe<MessageType>; workspaceId: Scalars['ID']['input']; }; /** Send a message to a supplier's conversation thread (roadmap #5). */ export type SendHealthyBowlSupplierMessageInput = { body: Scalars['String']['input']; context: ContextInput; supplierId: Scalars['ID']['input']; }; export type SendMailboxMessageInput = { /** * wspace-files-svc file ids to attach, uploaded by the caller first. At most 10; * together at most 17 MB for Gmail and 2.5 MB for Outlook. */ attachmentFileIds?: InputMaybe<Array<Scalars['ID']['input']>>; bcc?: InputMaybe<Array<Scalars['String']['input']>>; bodyText: Scalars['String']['input']; cc?: InputMaybe<Array<Scalars['String']['input']>>; connectionId: Scalars['ID']['input']; /** Reply to this message, keeping it in the same conversation. */ replyToMessageId?: InputMaybe<Scalars['ID']['input']>; /** Ignored for an Outlook reply; a Gmail reply without a subject uses "Re: <original subject>". */ subject?: InputMaybe<Scalars['String']['input']>; to: Array<Scalars['String']['input']>; }; export type SendMessageInput = { attachmentIds?: InputMaybe<Array<Scalars['ID']['input']>>; content: MessageContentInput; conversationId: Scalars['ID']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; isAnonymous?: InputMaybe<Scalars['Boolean']['input']>; mentionUserIds?: InputMaybe<Array<Scalars['ID']['input']>>; parentMessageId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<MessageType>; }; export type SendMessagePayload = { __typename?: 'SendMessagePayload'; message?: Maybe<Message>; success: Scalars['Boolean']['output']; }; export type SendReminderResult = { __typename?: 'SendReminderResult'; message?: Maybe<Scalars['String']['output']>; recipientCount?: Maybe<Scalars['Int']['output']>; reminderId?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type SensorAlert = { __typename?: 'SensorAlert'; actionUrl?: Maybe<Scalars['String']['output']>; fieldId?: Maybe<Scalars['String']['output']>; fieldName?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; message: Scalars['String']['output']; metric?: Maybe<Scalars['String']['output']>; probeCode?: Maybe<Scalars['String']['output']>; read: Scalars['Boolean']['output']; ruleKey?: Maybe<Scalars['String']['output']>; severity: Scalars['String']['output']; /** ACTIVE (unread) | ACKNOWLEDGED (read/resolved). */ status: Scalars['String']['output']; threshold?: Maybe<Scalars['Float']['output']>; timestamp: Scalars['DateTime']['output']; title: Scalars['String']['output']; value?: Maybe<Scalars['Float']['output']>; }; export type SensorDashboard = { __typename?: 'SensorDashboard'; alerts: Array<SensorAlert>; moistureSeries: Array<SensorFieldSeries>; probes: Array<SensorProbe>; summary: SensorDashboardSummary; temperatureSeries: Array<SensorFieldSeries>; thresholds: Array<FieldSensorThreshold>; updatedAt: Scalars['DateTime']['output']; }; export type SensorDashboardSummary = { __typename?: 'SensorDashboardSummary'; activeAlerts: Scalars['Int']['output']; avgMoisture?: Maybe<Scalars['Float']['output']>; avgTemperature?: Maybe<Scalars['Float']['output']>; lastSyncAt?: Maybe<Scalars['DateTime']['output']>; probesOnline: Scalars['Int']['output']; probesTotal: Scalars['Int']['output']; }; export type SensorFieldSeries = { __typename?: 'SensorFieldSeries'; fieldId: Scalars['String']['output']; fieldName: Scalars['String']['output']; metric: Scalars['String']['output']; points: Array<SensorTrendPoint>; }; export type SensorProbe = { __typename?: 'SensorProbe'; active: Scalars['Boolean']['output']; batteryPercent?: Maybe<Scalars['Float']['output']>; connectivity: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; fieldId: Scalars['String']['output']; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; lastMetric?: Maybe<Scalars['String']['output']>; lastMoisture?: Maybe<Scalars['Float']['output']>; lastReadingAt?: Maybe<Scalars['DateTime']['output']>; lastReadingRelative?: Maybe<Scalars['String']['output']>; lastTemperature?: Maybe<Scalars['Float']['output']>; lastValue?: Maybe<Scalars['Float']['output']>; location?: Maybe<Scalars['String']['output']>; manufacturer?: Maybe<Scalars['String']['output']>; model?: Maybe<Scalars['String']['output']>; name?: Maybe<Scalars['String']['output']>; probeCode: Scalars['String']['output']; probeType: Scalars['String']['output']; reportingIntervalMinutes: Scalars['Int']['output']; /** Derived from lastReadingAt vs 2× the reporting interval: ONLINE | OFFLINE. */ status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; vendorGateway?: Maybe<Scalars['String']['output']>; }; export type SensorReading = { __typename?: 'SensorReading'; batteryPercent?: Maybe<Scalars['Float']['output']>; /** True when this reading crossed at least one enabled threshold rule. */ breached: Scalars['Boolean']['output']; fieldId: Scalars['String']['output']; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; metric: Scalars['String']['output']; probeCode: Scalars['String']['output']; probeId: Scalars['String']['output']; recordedAt: Scalars['DateTime']['output']; unit?: Maybe<Scalars['String']['output']>; value: Scalars['Float']['output']; }; export type SensorTrendPoint = { __typename?: 'SensorTrendPoint'; label: Scalars['String']['output']; t: Scalars['DateTime']['output']; value: Scalars['Float']['output']; }; export type ServiceAccountAuthInput = { connectionId: Scalars['ID']['input']; scopes?: InputMaybe<Array<Scalars['String']['input']>>; }; /** * Caller-supplied credential material for a service-registered (M2M) connection. * Provide the shape that matches the provider's authType: * - API_KEY providers: `apiKey` * - BASIC_AUTH providers: `username` + `password` * - BEARER_TOKEN providers: `bearerToken` (or `accessToken`) * - OAUTH2 providers: `accessToken` (+ optional `refreshToken`, `expiresAt`, `scope`) * All values are encrypted at rest exactly like the interactive auth mutations. */ export type ServiceConnectionCredentialInput = { accessToken?: InputMaybe<Scalars['String']['input']>; apiKey?: InputMaybe<Scalars['String']['input']>; authMethodKey?: InputMaybe<Scalars['String']['input']>; bearerToken?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; password?: InputMaybe<Scalars['String']['input']>; refreshToken?: InputMaybe<Scalars['String']['input']>; scope?: InputMaybe<Scalars['String']['input']>; tokenType?: InputMaybe<Scalars['String']['input']>; username?: InputMaybe<Scalars['String']['input']>; /** * Complete schema-shaped credential form. When provided, replaces the legacy * token fields below; secrets belong here, never in connection config. */ values?: InputMaybe<Scalars['JSON']['input']>; }; /** * An interactive or background process running in a development environment. * Sessions can be tmux sessions, SSH sessions, terminals, or custom processes. */ export type Session = { __typename?: 'Session'; /** Agent executing this session */ agent: VibecontrolsAgent; /** Agent executing this session (opaque reference) */ agentId: Scalars['ID']['output']; /** Whether to auto-start on vibe activation */ autoStart: Scalars['Boolean']['output']; /** Currently active collaborators */ collaborators: Array<SessionCollaborator>; /** Command to execute */ command?: Maybe<Scalars['String']['output']>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** The collaborator currently controlling the session (if any) */ currentController?: Maybe<SessionCollaborator>; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Session environment variables */ environmentVariables?: Maybe<Scalars['JSON']['output']>; /** Exit code when terminated */ exitCode?: Maybe<Scalars['Int']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether this session has any active shares */ isShared: Scalars['Boolean']['output']; /** Last output captured */ lastOutput?: Maybe<Scalars['String']['output']>; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective canonical role (generic sharing). */ myGrantRole?: Maybe<ShareRole>; /** Session display name */ name: Scalars['String']['output']; /** Process ID */ pid?: Maybe<Scalars['Int']['output']>; /** * Agent profile this session runs against (default: "default"). Every * agent-bound svc call for this session — terminal start/stop, AI * prompt dispatch, capability mint, backup stream — is routed via * `/api/profiles/<profile>/...`. */ profile: Scalars['String']['output']; /** Provider pane identifier (e.g. tmux pane ID, wezterm pane ID) */ providerPaneId?: Maybe<Scalars['String']['output']>; /** Provider session identifier (e.g. tmux session name, wezterm workspace name) */ providerSessionName?: Maybe<Scalars['String']['output']>; /** Provider window identifier (e.g. tmux window ID, wezterm tab ID) */ providerWindowId?: Maybe<Scalars['String']['output']>; /** Recordings captured against this session, newest first. */ recordings: Array<SessionRecording>; /** Canonical generic grants on this Session (owner/MANAGER only). */ shareGrants: Array<ShareGrant>; /** Share links for this session */ shareLinks: Array<SessionShareLink>; /** Direct shares of this session */ shares: Array<SessionShare>; /** Timestamp when session started */ startedAt?: Maybe<Scalars['DateTime']['output']>; /** Current status */ status: VibecontrolsSessionStatus; /** Timestamp when session stopped */ stoppedAt?: Maybe<Scalars['DateTime']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** * Browser-embed-safe terminal URL. * * Returns `ttydUrl` with a freshly-minted HMAC-signed iframe token * (`?vt=…`, TTL ≤ 600s, bound to `/terminal/:sessionId`). The token is * re-minted on every query so the URL is always good for ~10 minutes from * the moment the FE reads it. Use this for iframe `src` — never embed the * long-lived agent API key in the URL (the security review explicitly * flagged that pattern as Secrets-in-URLs / HIGH). Returns null when the * session has no ttydUrl or the source agent is unreachable. */ terminalAccessUrl?: Maybe<Scalars['String']['output']>; /** * Opaque, provider-agnostic terminal-provider hint forwarded to the agent * (e.g. "session-tmux" / "session-wezterm" / "session-zellij"). Selects which * installed session provider serves this session's "active context". Null => * the agent uses its elected platform default (win32 => wezterm, * linux/darwin => tmux). The backend never interprets this value. */ terminalProvider?: Maybe<Scalars['String']['output']>; /** ttyd web terminal URL */ ttydUrl?: Maybe<Scalars['String']['output']>; /** Session type */ type: VibecontrolsSessionType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated vibe */ vibe?: Maybe<Vibe>; /** Associated vibe ID (opaque reference) */ vibeId?: Maybe<Scalars['ID']['output']>; /** Number of users currently viewing this session */ viewerCount: Scalars['Int']['output']; /** Working directory */ workingDirectory?: Maybe<Scalars['String']['output']>; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type SessionAnalytics = { __typename?: 'SessionAnalytics'; active: Scalars['Int']['output']; /** Average session duration in milliseconds (for sessions with start/stop times) */ avgDurationMs?: Maybe<Scalars['Float']['output']>; byStatus: Array<AnalyticsBreakdownBucket>; byType: Array<AnalyticsBreakdownBucket>; /** Sessions created over time */ createdOverTime: Array<AnalyticsTimeSeriesPoint>; total: Scalars['Int']['output']; totalCollaborators: Scalars['Int']['output']; totalShareLinks: Scalars['Int']['output']; totalShares: Scalars['Int']['output']; }; /** A user currently viewing or collaborating on a session */ export type SessionCollaborator = { __typename?: 'SessionCollaborator'; /** Avatar URL of the collaborator */ avatarUrl?: Maybe<Scalars['String']['output']>; /** Whether this collaborator currently has control */ hasControl: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** When the collaborator joined */ joinedAt: Scalars['DateTime']['output']; /** Last activity timestamp */ lastActiveAt: Scalars['DateTime']['output']; /** Role in the session */ role: CollaboratorRole; /** ID of the session being collaborated on */ sessionId: Scalars['ID']['output']; /** User ID of the collaborator */ userId: Scalars['ID']['output']; /** Username of the collaborator (resolved from auth service) */ username?: Maybe<Scalars['String']['output']>; }; export type SessionExport = { __typename?: 'SessionExport'; count: Scalars['Int']['output']; data: Scalars['String']['output']; format: SessionExportFormat; generatedAt: Scalars['String']['output']; }; export declare enum SessionExportFormat { Csv = "CSV", Json = "JSON" } export type SessionExportInput = { filter?: InputMaybe<SessionFilterInput>; format?: InputMaybe<SessionExportFormat>; }; export type SessionFilterInput = { agentId?: InputMaybe<Scalars['ID']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; status?: InputMaybe<VibecontrolsSessionStatus>; type?: InputMaybe<VibecontrolsSessionType>; vibeId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type SessionHealthCheckResult = { __typename?: 'SessionHealthCheckResult'; /** Number of sessions checked */ checked: Scalars['Int']['output']; /** Error messages from unreachable agents */ errors: Array<Scalars['String']['output']>; /** Number of sessions whose status was updated */ updated: Scalars['Int']['output']; }; export type SessionList = { __typename?: 'SessionList'; hasMore: Scalars['Boolean']['output']; items: Array<Session>; total: Scalars['Int']['output']; }; export type SessionOutput = { __typename?: 'SessionOutput'; output: Scalars['String']['output']; sessionId: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; }; export type SessionRecording = { __typename?: 'SessionRecording'; consentAcknowledged: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; endedAt?: Maybe<Scalars['DateTime']['output']>; format: Scalars['String']['output']; frameCount: Scalars['Int']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; onBehalfOf: Scalars['String']['output']; /** * Informational purge floor derived from the retention window in effect at * creation time. Only the scheduled retention job ever deletes a row — no * mutation in this schema can bring that date forward. */ retentionExpiresAt: Scalars['DateTime']['output']; session: Session; sessionId: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; status: SessionRecordingStatus; terminalCols: Scalars['Int']['output']; terminalRows: Scalars['Int']['output']; totalBytes: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * A single captured frame. `offsetMs` is the time since `SessionRecording.startedAt`; * `streamType` distinguishes terminal output from (optionally captured) input * and PTY resize events, matching the asciinema v2 event-stream shape. */ export type SessionRecordingFrame = { __typename?: 'SessionRecordingFrame'; createdAt: Scalars['DateTime']['output']; data: Scalars['String']['output']; id: Scalars['ID']['output']; offsetMs: Scalars['Float']['output']; recordingId: Scalars['ID']['output']; seq: Scalars['Int']['output']; streamType: SessionRecordingStreamType; }; export type SessionRecordingFrameInput = { /** * Raw chunk of terminal data for this frame. Capped server-side at 64KiB per * frame (see SessionRecordingService.MAX_FRAME_DATA_BYTES) — larger output * must be split across multiple sequential frames. */ data: Scalars['String']['input']; offsetMs: Scalars['Float']['input']; seq: Scalars['Int']['input']; streamType: SessionRecordingStreamType; }; export type SessionRecordingFrameList = { __typename?: 'SessionRecordingFrameList'; hasMore: Scalars['Boolean']['output']; items: Array<SessionRecordingFrame>; total: Scalars['Int']['output']; }; export type SessionRecordingList = { __typename?: 'SessionRecordingList'; hasMore: Scalars['Boolean']['output']; items: Array<SessionRecording>; total: Scalars['Int']['output']; }; export declare enum SessionRecordingStatus { Completed = "COMPLETED", Failed = "FAILED", Recording = "RECORDING" } export declare enum SessionRecordingStreamType { Input = "INPUT", Output = "OUTPUT", Resize = "RESIZE" } /** A direct share of a session with a specific user */ export type SessionShare = { __typename?: 'SessionShare'; /** Number of times the share has been accessed */ accessCount: Scalars['Int']['output']; /** When the share was created */ createdAt: Scalars['DateTime']['output']; /** Who created the share */ createdBy: Scalars['ID']['output']; /** When the share expires (null = no expiry) */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Last time the share was accessed */ lastAccessAt?: Maybe<Scalars['DateTime']['output']>; /** Optional message from the sharer */ message?: Maybe<Scalars['String']['output']>; /** Permission level granted */ permission: SessionSharePermission; /** When the share was revoked (if applicable) */ revokedAt?: Maybe<Scalars['DateTime']['output']>; /** Who revoked the share (if applicable) */ revokedBy?: Maybe<Scalars['ID']['output']>; /** The shared session */ session: Session; /** ID of the session being shared */ sessionId: Scalars['ID']['output']; /** User ID of the recipient */ sharedWithId: Scalars['ID']['output']; /** Current status of the share */ status: ShareStatus; }; /** Connection type for paginated session shares */ export type SessionShareConnection = { __typename?: 'SessionShareConnection'; edges: Array<SessionShareEdge>; pageInfo: PageInfo; totalCount: Scalars['Int']['output']; }; /** Edge type for session share pagination */ export type SessionShareEdge = { __typename?: 'SessionShareEdge'; cursor: Scalars['String']['output']; node: SessionShare; }; /** A shareable link for anonymous access to a session */ export type SessionShareLink = { __typename?: 'SessionShareLink'; /** When the link was created */ createdAt: Scalars['DateTime']['output']; /** Who created the link */ createdBy: Scalars['ID']['output']; /** When the link expires */ expiresAt: Scalars['DateTime']['output']; /** Whether the link requires a password */ hasPassword: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Last time the link was used */ lastUsedAt?: Maybe<Scalars['DateTime']['output']>; /** Maximum number of uses (null = unlimited) */ maxUses?: Maybe<Scalars['Int']['output']>; /** Optional friendly name for the link */ name?: Maybe<Scalars['String']['output']>; /** Permission level granted */ permission: SessionSharePermission; /** The shared session */ session: Session; /** ID of the session being shared */ sessionId: Scalars['ID']['output']; /** Full shareable URL */ shareUrl: Scalars['String']['output']; /** Current status of the link */ status: ShareStatus; /** Unique token for the share link */ token: Scalars['String']['output']; /** Number of times the link has been used */ useCount: Scalars['Int']['output']; }; /** Permission level for shared session access (VibeControls-specific) */ export declare enum SessionSharePermission { /** Interactive: Can request and take control of the session (turn-based) */ Interact = "INTERACT", /** View-only: Can watch terminal output in real-time but cannot type */ View = "VIEW" } /** Input for atomically adding or replacing an actor's workspace-wide roles */ export type SetActorRolesInput = { actorId: Scalars['String']['input']; actorType: ActorType; mode: SetActorRolesMode; /** Optional. When omitted, today's trusted service behaviour applies (no per-requester checks). */ requester?: InputMaybe<RoleAssignmentRequesterInput>; /** At most 100 entries (RBAC_LIMITS.MAX_ROLES_PER_ACTOR) before de-duplication. */ roleIds: Array<Scalars['ID']['input']>; scopeId: Scalars['String']['input']; }; /** How setActorRoles applies the requested role set */ export declare enum SetActorRolesMode { /** Grant every listed role the actor does not already actively hold. Never removes. */ Add = "ADD", /** Make the actor's active workspace-wide roles exactly roleIds. [] clears all. */ Replace = "REPLACE" } /** Result of setActorRoles */ export type SetActorRolesResult = { __typename?: 'SetActorRolesResult'; /** Role IDs granted by this call */ addedRoleIds: Array<Scalars['ID']['output']>; /** False when nothing was written */ changed: Scalars['Boolean']['output']; /** Distinct role IDs revoked by this call */ removedRoleIds: Array<Scalars['ID']['output']>; /** Distinct role IDs of the actor's active, unexpired, workspace-wide assignments after commit. */ roleIds: Array<Scalars['ID']['output']>; }; /** Input for `setAgentVisibility`. */ export type SetAgentVisibilityInput = { /** Agent to update. */ agentId: Scalars['ID']['input']; /** * `PRIVATE` = owner only. `WORKSPACE` = every member with the matching `@rbac` * permission. */ visibility: VibecontrolsAgentVisibility; }; export type SetAssetHandlerFeatureFlagOverrideInput = { allowUserOptIn?: InputMaybe<Scalars['Boolean']['input']>; enabled: Scalars['Boolean']['input']; key: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * Ask for a skill on a job posting by `skillId`, or by `skillName` (resolved * through the taxonomy aliases; an unknown name becomes a custom workspace * skill). Setting an already-listed skill updates it. `required` defaults to * true; a nice-to-have skill is removed from the legacy `requirements` strings. */ export type SetCrewJobPostingSkillInput = { jobPostingId: Scalars['ID']['input']; minProficiency?: InputMaybe<Scalars['Int']['input']>; required?: InputMaybe<Scalars['Boolean']['input']>; skillId?: InputMaybe<Scalars['ID']['input']>; skillName?: InputMaybe<Scalars['String']['input']>; }; /** * BOFF-3938 — sets every date from startDate to endDate (inclusive, YYYY-MM-DD, * at most 366 days) to exactly these values, replacing what those dates had. * AVAILABLE with no price, minStay or note returns the dates to the property's * normal rules. */ export type SetGgnomadPropertyAvailabilityInput = { endDate: Scalars['String']['input']; /** Minimum nights for check-ins on these dates; omit to use the property rule. */ minStay?: InputMaybe<Scalars['Int']['input']>; /** Private note shown only to the host (max 500 characters). */ note?: InputMaybe<Scalars['String']['input']>; /** Nightly price for these dates; omit to use the base/weekend rate. */ price?: InputMaybe<Scalars['Float']['input']>; startDate: Scalars['String']['input']; status: GgnomadAvailabilityStatus; }; export type SetHealthyBowlConsultAvailabilityInput = { consultantId: Scalars['String']['input']; context: ContextInput; /** 0 = Sunday … 6 = Saturday. */ dayOfWeek: Scalars['Int']['input']; endTime: Scalars['String']['input']; slotMinutes?: InputMaybe<Scalars['Int']['input']>; /** Local wall-clock HH:MM — a consultant's working day does not move when the clocks do. */ startTime: Scalars['String']['input']; /** ACTIVE or PAUSED. */ status?: InputMaybe<Scalars['String']['input']>; }; export type SetHealthyBowlEntityTagsInput = { context: ContextInput; entityId: Scalars['ID']['input']; entityType: HealthyBowlTaggableType; /** The full tag set to store (replaces existing). Max 20; duplicates (by id) and entries with an empty id/key/label are silently dropped. */ tags: Array<HealthyBowlTagInput>; }; export type SetHealthyBowlInsuranceDocumentInput = { code: Scalars['String']['input']; context: ContextInput; fileId?: InputMaybe<Scalars['String']['input']>; fileName?: InputMaybe<Scalars['String']['input']>; /** Policy to attach to. Works after submit, so a farmer can finish uploading later. */ id: Scalars['ID']['input']; notApplicable?: InputMaybe<Scalars['Boolean']['input']>; }; export type SetHealthyBowlLoanEscrowCommitmentInput = { context: ContextInput; /** What the lender has agreed to release across this loan. Cannot exceed the loan amount. */ escrowCommitted: Scalars['Float']['input']; id: Scalars['ID']['input']; }; export type SetHealthyBowlPaddockRestInput = { context: ContextInput; paddockId: Scalars['ID']['input']; /** Target rest days for this paddock. Pass null to clear it back to the workspace default. */ restDays?: InputMaybe<Scalars['Int']['input']>; }; /** * Replaces the product's ENTIRE ladder in one transaction (BOFF-6091). Existing orders keep the * price stamped on them — the new ladder only prices orders written after it. */ export type SetHealthyBowlWholesalePriceTiersInput = { context: ContextInput; productId?: InputMaybe<Scalars['ID']['input']>; productName: Scalars['String']['input']; tiers: Array<WholesalePriceTierInput>; }; export type SetHrisSyncScheduleInput = { connectionId: Scalars['ID']['input']; enabled: Scalars['Boolean']['input']; /** One of 6, 12, 24, 48 or 168. Defaults to 24. */ intervalHours?: InputMaybe<Scalars['Int']['input']>; }; export type SetMetadataInput = { fileId: Scalars['ID']['input']; isPublic?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; value: Scalars['String']['input']; valueType?: InputMaybe<MetadataValueType>; }; export type SetMultipleMetadataInput = { fileId: Scalars['ID']['input']; metadata: Array<MetadataEntryInput>; }; export type SetMyProactiveSettingsInput = { /** true grants the read-only consent and opts in; false revokes it. */ enabled: Scalars['Boolean']['input']; frequency?: InputMaybe<ProactiveFrequency>; product: Scalars['String']['input']; }; export type SetParserTypeStatusInput = { parserTypeKey: Scalars['String']['input']; parserVersion: Scalars['String']['input']; /** AVAILABLE | DEPRECATED | DISABLED */ status: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Input for setting role default permission */ export type SetRoleDefaultPermissionInput = { level: RoleLevel; resourceType: Scalars['String']['input']; roleId: Scalars['ID']['input']; }; export type SetSecurityProviderInput = { config?: InputMaybe<Scalars['JSON']['input']>; providerKey: Scalars['String']['input']; stage: SecurityStage; vibeId: Scalars['ID']['input']; }; export type SetSettingsSecretInput = { key: Scalars['String']['input']; value: Scalars['String']['input']; }; export type SetTimeCampusFeatureFlagOverrideInput = { allowUserOptIn?: InputMaybe<Scalars['Boolean']['input']>; enabled: Scalars['Boolean']['input']; key: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** Complete settings bundle for the current user in this workspace */ export type SettingsBundle = { __typename?: 'SettingsBundle'; notifications: NotificationPreferences; preferences: UserPreferences; profile: UserProfile; security: SecuritySettings; workspaceDefaults: WorkspaceDefaults; }; export declare enum SettingsCategory { Advanced = "ADVANCED", Notifications = "NOTIFICATIONS", Preferences = "PREFERENCES", Profile = "PROFILE", Security = "SECURITY", WorkspaceDefaults = "WORKSPACE_DEFAULTS" } /** A stored settings secret (value is hidden by default) */ export type SettingsSecret = { __typename?: 'SettingsSecret'; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; isSecret: Scalars['Boolean']['output']; key: Scalars['String']['output']; updatedAt: Scalars['String']['output']; value?: Maybe<Scalars['String']['output']>; }; export type SettleHealthyBowlAggregationLotInput = { /** 0-100. Applied to the order's gross before member shares. Frozen by the first call; omit it to resume. */ commissionPct?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; /** Frozen by the first call, like commissionPct; omit them to resume. */ deductions?: InputMaybe<Array<HealthyBowlSettlementDeductionInput>>; id: Scalars['ID']['input']; }; /** * Settling is idempotent: the first call freezes the net and the advance deduction (status SETTLING), * then books the farm income and the sponsor expense together with the SETTLED flip. A call on a * SETTLING delivery resumes on the frozen values; a different advanceDeduction is refused (CONFLICT). * A call on a SETTLED delivery with the frozen advance (or none) returns the settled delivery and * writes nothing; a different advance is refused (CONFLICT). */ export type SettleHealthyBowlContractDeliveryInput = { /** Input-advance amount to net off the accepted-produce value before payout. Frozen by the first call; omit it to resume. */ advanceDeduction?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; id: Scalars['ID']['input']; }; /** Input for the end-to-end gateway auth setup. */ export type SetupAgentGatewayAuthInput = { /** Agent ID to set up gateway auth for */ agentId: Scalars['ID']['input']; /** Custom OAuth app name (defaults to 'VibeControls Agent: {agentName}') */ appName?: InputMaybe<Scalars['String']['input']>; /** * Rotate the OAuth secret of an agent that ALREADY has an app even when it is * not known to be awaiting its credentials. Without it, the call is refused * (AGENT_ALREADY_CONFIGURED) when the agent reports `configured: true` in a * ready boot state and its last push did not fail, because rotating a working * credential is destructive and irreversible. Leave unset for recovery of a * stuck agent: the server verifies the agent really is stuck. */ force?: InputMaybe<Scalars['Boolean']['input']>; /** OAuth scopes (defaults to ['workspace:read', 'vibecontrols:read', 'vibecontrols:write']) */ scopes?: InputMaybe<Array<Scalars['String']['input']>>; /** Skip creating a devportal Application (default: false) */ skipDevportalApp?: InputMaybe<Scalars['Boolean']['input']>; }; /** Result of the end-to-end gateway auth setup. */ export type SetupAgentGatewayAuthResult = { __typename?: 'SetupAgentGatewayAuthResult'; /** Updated agent record */ agent: VibecontrolsAgent; /** Auth-svc App ID */ appId: Scalars['ID']['output']; /** OAuth client ID */ clientId: Scalars['String']['output']; /** OAuth client secret (shown once, not stored in the backend) */ clientSecret: Scalars['String']['output']; /** DevPortal Application ID (null if skipDevportalApp was true) */ devportalApplicationId?: Maybe<Scalars['ID']['output']>; /** Error message if partially failed */ error?: Maybe<Scalars['String']['output']>; /** Whether the operation succeeded */ success: Scalars['Boolean']['output']; }; export type ShareAnalytics = { __typename?: 'ShareAnalytics'; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; isExpired: Scalars['Boolean']['output']; isRevoked: Scalars['Boolean']['output']; lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; shareId: Scalars['ID']['output']; totalAccess: Scalars['Int']['output']; totalDownloads: Scalars['Int']['output']; uniqueAccessors: Scalars['Int']['output']; }; /** Capabilities implied by a grant's role. */ export type ShareCapabilities = { __typename?: 'ShareCapabilities'; canComment: Scalars['Boolean']['output']; canEdit: Scalars['Boolean']['output']; canExecute: Scalars['Boolean']['output']; canManage: Scalars['Boolean']['output']; canView: Scalars['Boolean']['output']; }; export type ShareCollectionInput = { canAddItems?: InputMaybe<Scalars['Boolean']['input']>; canEdit?: InputMaybe<Scalars['Boolean']['input']>; canRemoveItems?: InputMaybe<Scalars['Boolean']['input']>; canShare?: InputMaybe<Scalars['Boolean']['input']>; canView?: InputMaybe<Scalars['Boolean']['input']>; collectionId: Scalars['ID']['input']; email?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; message?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; /** The complete sharing of a connection: replaces its visibility and every current grant. */ export type ShareConnectionInput = { connectionId: Scalars['ID']['input']; /** * Hand the connection to this person in the same change, so the new owner and the new sharing * apply together or not at all. Workspace administrators only; omit to keep the owner. */ ownerId?: InputMaybe<Scalars['ID']['input']>; /** At most 100 grants; the owner never needs one */ shares: Array<ConnectionShareInput>; visibility: ConnectionVisibility; }; /** Input for sharing an entity with a specific person by email. */ export type ShareEntityInput = { email: Scalars['String']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; message?: InputMaybe<Scalars['String']['input']>; resourceId: Scalars['ID']['input']; role: ShareRole; }; export type ShareFilterInput = { accessLevel?: InputMaybe<FileShareAccessLevel>; createdAfter?: InputMaybe<Scalars['DateTime']['input']>; createdBefore?: InputMaybe<Scalars['DateTime']['input']>; createdById?: InputMaybe<Scalars['ID']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; isExpired?: InputMaybe<Scalars['Boolean']['input']>; isRevoked?: InputMaybe<Scalars['Boolean']['input']>; shareType?: InputMaybe<FileShareType>; }; /** * A generic resource share grant. `resourceType` discriminates the entity. * Marked @shareable (not @key) — vibecontrols and files each own their own * ShareGrant table, so this is a shared VALUE type across subgraphs, not a * federated entity. */ export type ShareGrant = { __typename?: 'ShareGrant'; acceptedAt?: Maybe<Scalars['DateTime']['output']>; /** Capabilities implied by this grant's role. */ capabilities: ShareCapabilities; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; granteeEmail?: Maybe<Scalars['String']['output']>; granteeUserId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; resourceId: Scalars['ID']['output']; resourceType: Scalars['String']['output']; role: ShareRole; /** Public accept/link URL (present for invites and public links). */ shareUrl?: Maybe<Scalars['String']['output']>; status: ShareGrantStatus; visibility: ShareGrantVisibility; }; /** Paginated list of share grants. */ export type ShareGrantList = { __typename?: 'ShareGrantList'; items: Array<ShareGrant>; total: Scalars['Int']['output']; }; /** Safe, pre-login preview of a share invitation. */ export type ShareGrantPreview = { __typename?: 'ShareGrantPreview'; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; resourceName?: Maybe<Scalars['String']['output']>; resourceType: Scalars['String']['output']; role: ShareRole; sharerName?: Maybe<Scalars['String']['output']>; status: ShareGrantStatus; visibility: ShareGrantVisibility; }; /** Lifecycle of a share grant. */ export declare enum ShareGrantStatus { Accepted = "ACCEPTED", Expired = "EXPIRED", Pending = "PENDING", Revoked = "REVOKED" } /** Who can reach a shared resource. */ export declare enum ShareGrantVisibility { Private = "PRIVATE", PublicLink = "PUBLIC_LINK", SharedWithUsers = "SHARED_WITH_USERS", SharedWithVibe = "SHARED_WITH_VIBE" } /** Result of validating a share link */ export type ShareLinkValidation = { __typename?: 'ShareLinkValidation'; /** Error message if invalid */ error?: Maybe<Scalars['String']['output']>; /** Expiration time if valid */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Whether the link is valid and usable */ isValid: Scalars['Boolean']['output']; /** Name of the session owner */ ownerName?: Maybe<Scalars['String']['output']>; /** Permission level if valid */ permission?: Maybe<SessionSharePermission>; /** Whether a password is required to use the link */ requiresPassword: Scalars['Boolean']['output']; /** ID of the session being shared (for joining) */ sessionId?: Maybe<Scalars['ID']['output']>; /** Name of the session being shared */ sessionName?: Maybe<Scalars['String']['output']>; }; /** Canonical permission ladder (VIEWER < COMMENTER < EDITOR < MANAGER). */ export declare enum ShareRole { Commenter = "COMMENTER", Editor = "EDITOR", Manager = "MANAGER", Viewer = "VIEWER" } export type ShareSecretWithAccountInput = { /** Target platform account id. Provide this OR email. */ accountId?: InputMaybe<Scalars['String']['input']>; /** Target account email (resolved to an account id). Provide this OR accountId. */ email?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; label?: InputMaybe<Scalars['String']['input']>; role: VaultMemberRole; /** Omit to share the entire vault; set to share a single credential. */ secretId?: InputMaybe<Scalars['ID']['input']>; vaultId: Scalars['ID']['input']; }; /** Input for sharing a session with a user */ export type ShareSessionInput = { /** When the share expires (null = no expiry, defaults to 24 hours) */ expiresAt?: InputMaybe<Scalars['DateTime']['input']>; /** Optional message to include with the share invitation */ message?: InputMaybe<Scalars['String']['input']>; /** Permission level to grant (defaults to VIEW) */ permission?: InputMaybe<SessionSharePermission>; /** ID of the session to share */ sessionId: Scalars['ID']['input']; /** Email of the user to share with (must be a workspace member) */ sharedWithEmail: Scalars['String']['input']; }; export declare enum ShareSortField { AccessCount = "ACCESS_COUNT", CreatedAt = "CREATED_AT", DownloadCount = "DOWNLOAD_COUNT", ExpiresAt = "EXPIRES_AT", UpdatedAt = "UPDATED_AT" } export type ShareSortInput = { field: ShareSortField; order: SortOrder; }; /** Status of a session share */ export declare enum ShareStatus { /** Share is currently active and usable */ Active = "ACTIVE", /** Share has passed its expiration date */ Expired = "EXPIRED", /** Invited but recipient hasn't accessed yet */ Pending = "PENDING", /** Share was manually revoked by the owner */ Revoked = "REVOKED" } export declare enum ShareTokenType { FreeBusyOnly = "FREE_BUSY_ONLY", FullAccess = "FULL_ACCESS", ViewOnly = "VIEW_ONLY" } export type ShareVaultInput = { actorId: Scalars['String']['input']; actorType: Scalars['String']['input']; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; role: VaultMemberRole; vaultId: Scalars['ID']['input']; }; export type ShareWorkflowInput = { /** * Hand the workflow to another person in the same change (workspace admins only). They become the * owner of every version; runs then use their access to connections. */ ownerId?: InputMaybe<Scalars['ID']['input']>; /** The complete set of grants; it replaces the current one. At most 100. */ shares: Array<WorkflowShareInput>; visibility: WorkflowVisibility; workflowKey: Scalars['String']['input']; }; /** * A live auction another farm has published to the shared cross-farm market (BOFF-6206). * * A deliberately narrow projection of Auction + its listing: it carries what a cross-farm bidder needs * to bid — the product, the selling farm, the close time and the CURRENT high bid. It omits the owning * workspace, seller ids, the reserve price, and every bidder identity. */ export type SharedMarketAuction = { __typename?: 'SharedMarketAuction'; /** How many bids have been placed. */ bidCount: Scalars['Int']['output']; /** Minimum increment above the current high bid. */ bidIncrement: Scalars['Float']['output']; /** The current high bid, or startingPrice when no bids have been placed yet. Never the reserve. */ currentBid: Scalars['Float']['output']; /** Auction close time as an ISO-8601 string. */ endTime: Scalars['String']['output']; id: Scalars['ID']['output']; image?: Maybe<Scalars['String']['output']>; /** The auctioned product's display name. */ productName: Scalars['String']['output']; /** The selling farm — what makes a cross-farm view legible. */ seller?: Maybe<Scalars['String']['output']>; startingPrice: Scalars['Float']['output']; /** Lifecycle status (always 'live' here — only open auctions are returned). */ status: Scalars['String']['output']; unit: Scalars['String']['output']; }; /** * A listing a farm has explicitly published to the shared cross-farm market. * * A deliberately narrow projection of MarketplaceProduct: it carries what a buyer needs to compare and * buy, plus the selling farm's identity (which is the entire point of a cross-farm view). It omits the * owning workspace, seller ids, and every internal/audit column. */ export type SharedMarketListing = { __typename?: 'SharedMarketListing'; category: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; image?: Maybe<Scalars['String']['output']>; location?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; organicCertified: Scalars['Boolean']['output']; price: Scalars['Float']['output']; rating: Scalars['Float']['output']; /** The selling farm — what makes a cross-farm view legible. */ seller?: Maybe<Scalars['String']['output']>; sellerRating?: Maybe<Scalars['Float']['output']>; stock: Scalars['Int']['output']; unit: Scalars['String']['output']; }; export type SharedSecretEntry = { __typename?: 'SharedSecretEntry'; id: Scalars['ID']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; type: SecretType; value: Scalars['String']['output']; }; export type SharedSecretView = { __typename?: 'SharedSecretView'; entries: Array<SharedSecretEntry>; role: VaultMemberRole; scope: SecretShareScope; secretId?: Maybe<Scalars['String']['output']>; shareId: Scalars['ID']['output']; vaultId: Scalars['String']['output']; vaultName: Scalars['String']['output']; }; /** * A read-only representation of a VibeDeck for shared/public access. * Exposes only safe fields — no commands, scripts, webhook URLs, or secrets. */ export type SharedVibeDeck = { __typename?: 'SharedVibeDeck'; buttonSize?: Maybe<Scalars['String']['output']>; buttons: Array<SharedVibeDeckButton>; colorTheme?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; gridColumns: Scalars['Int']['output']; gridRows: Scalars['Int']['output']; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; permission: VibeDeckSharePermission; }; /** * A sanitized button representation for shared access. * Only display metadata — no executable details exposed. */ export type SharedVibeDeckButton = { __typename?: 'SharedVibeDeckButton'; actionType: VibeDeckButtonActionType; category?: Maybe<Scalars['String']['output']>; colSpan: Scalars['Int']['output']; color?: Maybe<Scalars['String']['output']>; column: Scalars['Int']['output']; confirmationRequired: Scalars['Boolean']['output']; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; label: Scalars['String']['output']; row: Scalars['Int']['output']; rowSpan: Scalars['Int']['output']; }; /** Filter input for listing sessions shared with the current user */ export type SharedWithMeFilterInput = { /** Filter by permission level */ permission?: InputMaybe<SessionSharePermission>; /** Filter by share status */ status?: InputMaybe<ShareStatus>; }; export type ShipmentFilterInput = { carrierId?: InputMaybe<Scalars['ID']['input']>; customerId?: InputMaybe<Scalars['ID']['input']>; deliveryJobId?: InputMaybe<Scalars['ID']['input']>; driverId?: InputMaybe<Scalars['ID']['input']>; isMultiModal?: InputMaybe<Scalars['Boolean']['input']>; primaryMode?: InputMaybe<TransportMode>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<ShipmentStatus>; storeOrderId?: InputMaybe<Scalars['ID']['input']>; vehicleId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum ShipmentLegStatus { Arrived = "ARRIVED", Booked = "BOOKED", Cancelled = "CANCELLED", Delivered = "DELIVERED", InTransit = "IN_TRANSIT", Planned = "PLANNED" } export declare enum ShipmentStatus { Delivered = "DELIVERED", Failed = "FAILED", InTransit = "IN_TRANSIT", PickedUp = "PICKED_UP", Planned = "PLANNED", Returned = "RETURNED" } export declare enum ShipmentStatusAuthority { IntegrationEventTime = "INTEGRATION_EVENT_TIME", LegacyHold = "LEGACY_HOLD", ManualHold = "MANUAL_HOLD" } export declare enum ShipmentStatusDecisionOrigin { DirectTracking = "DIRECT_TRACKING", Epod = "EPOD", InitialCreation = "INITIAL_CREATION", Integration = "INTEGRATION", Manual = "MANUAL", SourceConfiguration = "SOURCE_CONFIGURATION" } export declare enum ShipmentStatusDecisionOutcome { Applied = "APPLIED", Held = "HELD" } export declare enum ShipmentStatusHeldReason { EqualSourceTime = "EQUAL_SOURCE_TIME", LegacyAuthority = "LEGACY_AUTHORITY", ManualAuthority = "MANUAL_AUTHORITY", NonDesignatedSource = "NON_DESIGNATED_SOURCE", OlderSourceTime = "OLDER_SOURCE_TIME", SourceTimeInFuture = "SOURCE_TIME_IN_FUTURE", SourceTimeTooOld = "SOURCE_TIME_TOO_OLD", UnknownSourceTime = "UNKNOWN_SOURCE_TIME", UnmappedEventType = "UNMAPPED_EVENT_TYPE", UnreceiptedEvidence = "UNRECEIPTED_EVIDENCE" } export type ShippingQuoteInput = { /** Cash on delivery. */ cod?: InputMaybe<Scalars['Boolean']['input']>; deliveryPostcode: Scalars['String']['input']; heightCm?: InputMaybe<Scalars['Float']['input']>; /** Optional package size in cm; all three or none. Volumetric weight is applied when larger. */ lengthCm?: InputMaybe<Scalars['Float']['input']>; /** When given, the result also carries an own-fleet cost estimate for the same lane. */ ownFleet?: InputMaybe<OwnFleetInput>; pickupPostcode: Scalars['String']['input']; /** Dead weight in kg. */ weightKg: Scalars['Float']['input']; widthCm?: InputMaybe<Scalars['Float']['input']>; }; /** * A registered SIEM export destination. `hmacSecret` is never exposed over * GraphQL — only returned once, out-of-band of this type, at creation/rotation * time via `SiemDestinationSecretResult`. */ export type SiemDestination = { __typename?: 'SiemDestination'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; destinationUrl: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; format: SiemExportFormat; id: Scalars['ID']['output']; lastDeliveredAt?: Maybe<Scalars['DateTime']['output']>; lastDeliveryError?: Maybe<Scalars['String']['output']>; lastDeliveryStatus?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; /** * Returned only at creation or secret-rotation time — the plaintext HMAC secret * used to verify the `X-Signature` header on delivered payloads. Store it now; * it cannot be retrieved again. */ export type SiemDestinationSecretResult = { __typename?: 'SiemDestinationSecretResult'; destination: SiemDestination; plaintextSecret?: Maybe<Scalars['String']['output']>; }; export declare enum SiemExportFormat { Cef = "CEF", Json = "JSON", Leef = "LEEF" } export declare enum SignatureType { Drawn = "DRAWN", Typed = "TYPED" } export type Skill = { __typename?: 'Skill'; bucketId?: Maybe<Scalars['ID']['output']>; capabilityFlags?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; promptTemplateId?: Maybe<Scalars['ID']['output']>; recommendedPolicies: Array<Scalars['String']['output']>; retrievalProfileId?: Maybe<Scalars['ID']['output']>; revision: Scalars['Int']['output']; status: EntityStatus; tags: Array<Scalars['String']['output']>; toolPackDeps: Array<Scalars['String']['output']>; toolPolicyId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; updatedById: Scalars['ID']['output']; visibility: Visibility; workspaceId: Scalars['ID']['output']; }; export type SkillFilterInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; promptTemplateId?: InputMaybe<Scalars['ID']['input']>; retrievalProfileId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; toolPolicyId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<Visibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type SmartCollectionCondition = { __typename?: 'SmartCollectionCondition'; field: SmartCollectionConditionField; operator: SmartCollectionConditionOperator; value?: Maybe<Scalars['String']['output']>; values?: Maybe<Array<Scalars['String']['output']>>; }; export declare enum SmartCollectionConditionField { CreatedAt = "CREATED_AT", CustomMetadata = "CUSTOM_METADATA", FileName = "FILE_NAME", FileSize = "FILE_SIZE", FileType = "FILE_TYPE", FolderPath = "FOLDER_PATH", MimeType = "MIME_TYPE", Owner = "OWNER", Tag = "TAG", UpdatedAt = "UPDATED_AT" } export type SmartCollectionConditionInput = { field: SmartCollectionConditionField; operator: SmartCollectionConditionOperator; value?: InputMaybe<Scalars['String']['input']>; values?: InputMaybe<Array<Scalars['String']['input']>>; }; export declare enum SmartCollectionConditionOperator { Contains = "CONTAINS", EndsWith = "ENDS_WITH", Equals = "EQUALS", GreaterThan = "GREATER_THAN", GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", In = "IN", IsNotNull = "IS_NOT_NULL", IsNull = "IS_NULL", LessThan = "LESS_THAN", LessThanOrEqual = "LESS_THAN_OR_EQUAL", NotContains = "NOT_CONTAINS", NotEquals = "NOT_EQUALS", NotIn = "NOT_IN", StartsWith = "STARTS_WITH" } export type SmartCollectionCriteria = { __typename?: 'SmartCollectionCriteria'; conditions: Array<SmartCollectionCondition>; groups?: Maybe<Array<SmartCollectionCriteria>>; operator: SmartCollectionOperator; }; export type SmartCollectionCriteriaInput = { conditions?: InputMaybe<Array<SmartCollectionConditionInput>>; groups?: InputMaybe<Array<SmartCollectionCriteriaInput>>; operator: SmartCollectionOperator; }; export declare enum SmartCollectionOperator { And = "AND", Not = "NOT", Or = "OR" } export type SoftwareAsset = { __typename?: 'SoftwareAsset'; compliancePercent: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; entitlements: Array<LicenseEntitlement>; id: Scalars['ID']['output']; licenseType: Scalars['String']['output']; name: Scalars['String']['output']; seatsPurchased?: Maybe<Scalars['Int']['output']>; seatsUsed?: Maybe<Scalars['Int']['output']>; updatedAt: Scalars['DateTime']['output']; vendor: Scalars['String']['output']; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SoilSensorReading = { __typename?: 'SoilSensorReading'; fieldId: Scalars['String']['output']; fieldName: Scalars['String']['output']; lastUpdated: Scalars['String']['output']; moisture: Scalars['Float']['output']; moistureThreshold: Scalars['Float']['output']; tempThreshold: Scalars['Float']['output']; temperature: Scalars['Float']['output']; }; export type SoilTest = { __typename?: 'SoilTest'; date: Scalars['String']['output']; fieldName: Scalars['String']['output']; id: Scalars['ID']['output']; moisture: Scalars['Float']['output']; nitrogen: Scalars['Float']['output']; organicMatter: Scalars['Float']['output']; ph: Scalars['Float']['output']; phosphorus: Scalars['Float']['output']; potassium: Scalars['Float']['output']; recommendations: Array<Scalars['String']['output']>; status?: Maybe<Scalars['String']['output']>; }; /** Standard sort direction */ export declare enum SortDirection { Asc = "ASC", Desc = "DESC" } /** Standard sort order */ export declare enum SortOrder { Asc = "ASC", Desc = "DESC" } /** * A time-boxed iteration within a project that groups work items for * focused delivery during a fixed period. */ export type Sprint = { __typename?: 'Sprint'; baselineEndDate?: Maybe<Scalars['DateTime']['output']>; /** * The planned start/end in force when the sprint was started: the commitment * that "finished on time?" is measured against, even after a later replan. */ baselineStartDate?: Maybe<Scalars['DateTime']['output']>; /** Sprint capacity in story points */ capacity?: Maybe<Scalars['Int']['output']>; /** * When the sprint was actually completed. Null if not completed, or completed * before 2026-09-26 (unknown). */ completedAt?: Maybe<Scalars['DateTime']['output']>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this sprint */ createdBy: Scalars['String']['output']; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * PLANNED end. Completing the sprint does not change it; see completedAt. For * sprints completed before 2026-09-26 this holds the moment of Complete. */ endDate?: Maybe<Scalars['DateTime']['output']>; /** Sprint goal description */ goal?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Sprint name */ name: Scalars['String']['output']; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Every change to the planned dates, oldest first. Append-only. */ planChanges: Array<PlanmagnetSprintPlanChange>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** * Parent project ID. Set only for a project-scoped sprint — exactly one of * projectId/teamId is ever set (BOFF-8044). */ projectId?: Maybe<Scalars['String']['output']>; /** * Sort order. Backed by the Prisma `sequenceNumber` column (the only ordering * primitive Sprint has) via a field resolver — see sprint.resolvers.ts. Not * independently settable; see PlanmagnetCreateSprintInput/ * PlanmagnetUpdateSprintInput below. */ sortOrder: Scalars['Int']['output']; /** * PLANNED start. Starting the sprint does not change it (BOFF-7918); see * startedAt for when it actually started. For sprints started before * 2026-09-26 this field holds the moment of Start (the plan was overwritten * then; it is not reconstructed here). */ startDate?: Maybe<Scalars['DateTime']['output']>; /** * When the sprint was actually started. Null if not started — or if it was * started before 2026-09-26, when this was not recorded (unknown, not guessed). */ startedAt?: Maybe<Scalars['DateTime']['output']>; /** Current status */ status: SprintStatus; /** Parent team */ team?: Maybe<Team>; /** * Parent team ID. Set only for a team-scoped sprint (BOFF-8044) — see * projectId above. */ teamId?: Maybe<Scalars['String']['output']>; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this sprint */ updatedBy?: Maybe<Scalars['String']['output']>; /** * Sprint velocity: the story points of the sprint's work items that were DONE when * the sprint was completed. Null until the sprint is COMPLETED (a running sprint has * points done so far, not a velocity). Snapshotted at completion; computed from * status history for sprints completed earlier. Same number as planmagnetVelocity. */ velocity?: Maybe<Scalars['Int']['output']>; /** Work items in this sprint */ workItems: Array<WorkItem>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; export declare enum SprintStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Completed = "COMPLETED", Planning = "PLANNING", Review = "REVIEW" } export declare enum StageErrorHandling { fail = "fail", fallback = "fallback", skip = "skip" } export declare enum StageExecutionStatus { failed = "failed", pending = "pending", running = "running", skipped = "skipped", success = "success" } /** * One node operation to run as a durable activity (PLAN-D D6). It runs as a durable-function run of * the workspace's standalone activity system workflow, so it gets retries, timeouts, heartbeats and * history. Only store and registry nodes and the built-in nodes on the activity allow-list can run. */ export type StartActivityInput = { /** The operation's arguments, used as literal values (never template-evaluated). A JSON object. */ args: Scalars['JSON']['input']; /** The connection id the operation authenticates with. */ connection?: InputMaybe<Scalars['String']['input']>; /** The longest gap between two heartbeats of an attempt, as a duration. */ heartbeatTimeout?: InputMaybe<Scalars['String']['input']>; /** * Repeating a start with the same key returns the run it started (`existing: true`), also after * the installed SDK version changed. The key is scoped to the caller: another actor's same key * starts its own run. The run's workflow id is `sa:` and a hash of the caller and the key, so this * needs fluidgrids.durable-parity. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; /** The node type, for example `internal:http` or a store node. */ nodeType: Scalars['String']['input']; /** The node version; the latest when absent. */ nodeVersion?: InputMaybe<Scalars['String']['input']>; /** The node operation to run. */ operation: Scalars['String']['input']; retry?: InputMaybe<ActivityRetryPolicyInput>; /** How long the activity may take from scheduling to its end, retries included, as a duration. */ scheduleToCloseTimeout?: InputMaybe<Scalars['String']['input']>; /** How long one attempt may run, as a duration. */ startToCloseTimeout?: InputMaybe<Scalars['String']['input']>; /** One line shown with the activity in the run's history. */ summary?: InputMaybe<Scalars['String']['input']>; }; export type StartActivityResult = { __typename?: 'StartActivityResult'; /** True when the idempotency key returned an earlier run. */ existing: Scalars['Boolean']['output']; /** The durable-function run that executes the activity. */ run: WorkflowRun; }; export type StartAssistantTurnInput = { agentId: Scalars['ID']['input']; clientConversationId: Scalars['ID']['input']; clientTurnId: Scalars['ID']['input']; expectedCourseId?: InputMaybe<Scalars['ID']['input']>; message: Scalars['String']['input']; }; export type StartCallInput = { conversationId: Scalars['ID']['input']; settings?: InputMaybe<CallSettingsInput>; type: CallType; }; export type StartCourseKnowledgeImportInput = { agentId: Scalars['ID']['input']; courseId: Scalars['ID']['input']; templateKnowledgeBaseId: Scalars['ID']['input']; }; export type StartDiscoveryJobInput = { name: Scalars['String']['input']; source: Scalars['String']['input']; }; export type StartHrisSyncInput = { /** * APPLY only: proceed even if the sync would deactivate more than a quarter of * the matched people. Scheduled syncs never set it. */ allowMassDeactivation?: InputMaybe<Scalars['Boolean']['input']>; connectionId: Scalars['ID']['input']; mode: HrisSyncMode; }; export type StartMtwProcedureExecutionInput = { expectedCycleVersion: Scalars['Int']['input']; expectedProposalRevision: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; procedureVersionId: Scalars['ID']['input']; proposalId: Scalars['ID']['input']; }; export type StartPomodoroSessionInput = { context?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; type: PomodoroSessionType; workspaceId: Scalars['ID']['input']; }; export type StartSandboxAgentJobInput = { agent: SandboxAgentKind; budget?: InputMaybe<SandboxAgentJobBudgetInput>; context: ContextInput; /** A retry with the same key returns the same job instead of starting a second one. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; /** What the agent should do. Stored only as its length and SHA-256. */ instruction: Scalars['String']['input']; /** provider/model from the LLM proxy catalog (e.g. openrouter/google/gemini-2.5-flash-lite). The kind's default when omitted. */ model?: InputMaybe<Scalars['String']['input']>; /** The person the calling service acts for; the job and its model spend are attributed to them. */ onBehalfOfUserId?: InputMaybe<Scalars['ID']['input']>; /** Product the job runs for (e.g. fluidgrids). */ productKey: Scalars['String']['input']; /** Required for the coding agents. */ repo?: InputMaybe<SandboxAgentJobRepoInput>; subject?: InputMaybe<SandboxAgentJobSubjectInput>; /** interactive | scheduled | event | api | webhook | test */ trigger?: InputMaybe<Scalars['String']['input']>; }; export type StartTimerInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; source?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Scalars['JSON']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; }; /** * A batch job that exports runs still within retention to the workspace's archive destination (Phase * C, 11 §2.19 and §2.26): the same objects as the archive before a purge, without purging the run. */ export type StartWorkflowBatchExportInput = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** The runs, as the runs list selects them (limit and offset do not apply). Give it or runIds. */ filter?: InputMaybe<ListWorkflowRunsInput>; maxOperationsPerSecond?: InputMaybe<Scalars['Int']['input']>; /** Why (1 to 1000 characters); recorded with the job. */ reason: Scalars['String']['input']; /** At most 1,000 run ids. Give them or filter. */ runIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** A batch job of any operation but TERMINATE and EXPORT. */ export type StartWorkflowBatchOperationInput = { /** Answer the number of runs the job would select, and store and run nothing. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** The runs, as the runs list selects them (limit and offset do not apply). Give it or runIds. */ filter?: InputMaybe<ListWorkflowRunsInput>; /** 1 to 50 (the per-workspace ceiling). */ maxOperationsPerSecond?: InputMaybe<Scalars['Int']['input']>; payload?: InputMaybe<WorkflowBatchPayloadInput>; /** Why (1 to 1000 characters); recorded with the job and passed to each operation that takes one. */ reason: Scalars['String']['input']; /** At most 1,000 run ids. Give them or filter. */ runIds?: InputMaybe<Array<Scalars['ID']['input']>>; type: WorkflowBatchOperationType; }; /** A batch job that terminates runs. */ export type StartWorkflowBatchTerminateInput = { dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** The runs, as the runs list selects them (limit and offset do not apply). Give it or runIds. */ filter?: InputMaybe<ListWorkflowRunsInput>; maxOperationsPerSecond?: InputMaybe<Scalars['Int']['input']>; /** Why (1 to 1000 characters); recorded with the job and with each run's termination. */ reason: Scalars['String']['input']; /** At most 1,000 run ids. Give them or filter. */ runIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** Start a durable-function run of one workflow function of a version's code bundle. */ export type StartWorkflowInput = { /** Extra request headers of the callback: an object of strings, at most 16 KiB. Write-only. Parity. */ completionCallbackHeaders?: InputMaybe<Scalars['JSON']['input']>; /** * The HMAC-SHA256 key of the callback's `x-fluidgrids-signature` header (`sha256=<hex>` of the * body), 16 to 512 characters. Write-only. Parity. */ completionCallbackSigningSecret?: InputMaybe<Scalars['String']['input']>; /** * POSTed to once the run (the last run of its continue-as-new or retry chain) closes, with the * run's outcome (spec code-first 11 §2.32): retried with a backoff from 30 s to 1 h for 24 hours. * An http(s) URL that passes the HTTP node's outbound rules (no private or internal addresses). * A USE_EXISTING start that returns the open run does not attach it. Parity. */ completionCallbackUrl?: InputMaybe<Scalars['String']['input']>; /** The run's memo, read by the code as `ctx.info.context` (an object, at most 64 KiB of JSON). Parity. */ context?: InputMaybe<Scalars['JSON']['input']>; /** Markdown shown on the run page (at most 20 KiB). Parity. */ details?: InputMaybe<Scalars['String']['input']>; /** Bounds the whole chain under the workflow id (continue-as-new and run retries), as a duration. Parity. */ executionTimeout?: InputMaybe<Scalars['String']['input']>; /** Phase C (11 §2.11): the fairness key of the run's tasks (1 to 255 characters; default the workspace id), inherited by children. */ fairnessKey?: InputMaybe<Scalars['String']['input']>; /** Phase C (11 §2.11): the fairness weight (0.1 to 10; default 1), inherited by children. */ fairnessWeight?: InputMaybe<Scalars['Float']['input']>; /** * What an open run with the same workflow id does. Parity, like `workflowId`. TERMINATE_EXISTING is * taken only by startWorkflowTerminateExisting (it needs the workflow-run delete permission). */ idConflictPolicy?: InputMaybe<WorkflowIdConflictPolicy>; /** What a closed run with the same workflow id allows. Parity, like `workflowId`. */ idReusePolicy?: InputMaybe<WorkflowIdReusePolicy>; /** * Repeating a start with the same key and the same request returns the original run with * `existing: true`; the same key with another request is a CONFLICT. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; /** The function's input, validated against its declared input schema. */ input?: InputMaybe<Scalars['JSON']['input']>; /** Stored and inherited by children (1 is the highest, 5 the lowest; 3 by default). Parity. */ priority?: InputMaybe<Scalars['Int']['input']>; /** Bounds this run; restarts on continue-as-new and on a run retry. A duration. Parity. */ runTimeout?: InputMaybe<Scalars['String']['input']>; /** * Phase C (needs fluidgrids.search-attributes): the run's search attributes, an object of defined * names to values of their types; the code reads them as `ctx.info.searchAttributes`. */ searchAttributes?: InputMaybe<Scalars['JSON']['input']>; /** Signals appended right after WORKFLOW_STARTED, before the first workflow task (at most 100). */ signals?: InputMaybe<Array<StartWorkflowSignalInput>>; /** * Wait this long before the first workflow task (at most 30 days): milliseconds, or a duration such * as `30s`, `2m` or `PT2H`. A signal ends the delay at once; a cancel ends the run CANCELLED. Parity. */ startDelay?: InputMaybe<Scalars['String']['input']>; /** One line shown in run lists and the run header (at most 200 characters). Parity. */ summary?: InputMaybe<Scalars['String']['input']>; /** * Phase C: the task queue the run's workflow tasks go to. Default the function's declared queue, * else `managed`. A self-hosted queue (createTaskQueue) needs fluidgrids.self-hosted-workers. */ taskQueue?: InputMaybe<Scalars['String']['input']>; /** * Phase C update-with-start (needs fluidgrids.run-control): a new run gets the update before its * first workflow task; with idConflictPolicy USE_EXISTING the open run gets it as a normal update. * Refused together with startDelay. */ update?: InputMaybe<StartWorkflowUpdateInput>; /** An exact version, an alias, or `active` (the default). */ version?: InputMaybe<Scalars['String']['input']>; /** * PINNED keeps the run on its version's bundle; AUTO_UPGRADE moves each new workflow task to the * ACTIVE version's bundle (spec code-first 11 §2.27). Default: the function's `workflow()` config, * else PINNED. Parity. */ versioningBehavior?: InputMaybe<VersioningBehavior>; /** * The workflow function to run. When omitted: the function of the version's single Code workflow * node, else the bundle's single export; otherwise the start is refused. */ workflowFn?: InputMaybe<Scalars['String']['input']>; /** * The run's workflow id (1 to 256 characters), unique among the open runs of the workflow key in * the workspace. Without it the run's id is its workflow id. Read back as `WorkflowRun.businessId`. * Durable-function parity: needs fluidgrids.durable-parity. */ workflowId?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; /** The run's workflow-task budget (at most 120 s), as a duration. Parity. */ workflowTaskTimeout?: InputMaybe<Scalars['String']['input']>; }; export type StartWorkflowResult = { __typename?: 'StartWorkflowResult'; /** * True when the idempotency key matched an earlier identical start, or when `idConflictPolicy: * USE_EXISTING` returned the open run of the workflow id. */ existing: Scalars['Boolean']['output']; run: WorkflowRun; /** The update the start carried (update-with-start), at the stage the start waited for (Phase C). */ updateResult?: Maybe<WorkflowUpdateResult>; }; /** A signal delivered to a run as it starts (signal-with-start). */ export type StartWorkflowSignalInput = { name: Scalars['String']['input']; payload?: InputMaybe<Scalars['JSON']['input']>; }; /** Update-with-start: the update a startWorkflow sends with the run (Phase C, needs fluidgrids.run-control). */ export type StartWorkflowUpdateInput = { args?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; /** The update's idempotency id. */ updateId: Scalars['ID']['input']; /** How long startWorkflow waits for it; ACCEPTED by default. */ waitFor?: InputMaybe<WorkflowUpdateWaitFor>; }; export declare enum StaticDataScope { Global = "GLOBAL", Node = "NODE" } /** Status statistics */ export type StatusStats = { __typename?: 'StatusStats'; count: Scalars['Int']['output']; status: CommentStatus; }; /** Result of step execution (synchronous mode) */ export type StepExecutionResult = { __typename?: 'StepExecutionResult'; duration?: Maybe<Scalars['Float']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; inputArgs?: Maybe<Scalars['JSON']['output']>; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; output?: Maybe<Scalars['JSON']['output']>; startTime?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; }; export declare enum StorageMode { Ephemeral = "EPHEMERAL", None = "NONE", Persistent = "PERSISTENT" } export type StorageUsage = { __typename?: 'StorageUsage'; activeFiles: Scalars['Int']['output']; archivedFiles: Scalars['Int']['output']; deletedFiles: Scalars['Int']['output']; filesCount: Scalars['Int']['output']; foldersCount: Scalars['Int']['output']; lastUpdated: Scalars['DateTime']['output']; totalSize: Scalars['String']['output']; usageByType: Array<StorageUsageByType>; workspaceId: Scalars['ID']['output']; }; export type StorageUsageByType = { __typename?: 'StorageUsageByType'; count: Scalars['Int']['output']; mimeType: Scalars['String']['output']; totalSize: Scalars['String']['output']; }; /** Canonical checkout/order record owned by global-store-svc. */ export type StoreOrder = { __typename?: 'StoreOrder'; id: Scalars['ID']['output']; }; export type StorePackage = { __typename?: 'StorePackage'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: PackageKind; manifest: Scalars['JSON']['output']; metadata?: Maybe<Scalars['JSON']['output']>; publishedAt?: Maybe<Scalars['DateTime']['output']>; publishedBy?: Maybe<Scalars['ID']['output']>; readme?: Maybe<Scalars['String']['output']>; slug: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; }; export type StorePackageFilterInput = { kind?: InputMaybe<PackageKind>; publishedBy?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; /** * Canonical global store product owned by global-store-svc. GGNomad keeps only * travel-specific inventory metadata and links sellable listings to StoreProduct * instead of rebuilding storefront/catalog/order primitives locally. */ export type StoreProduct = { __typename?: 'StoreProduct'; id: Scalars['ID']['output']; }; export declare enum StrategicAlignment { Compliance = "COMPLIANCE", CostReduction = "COST_REDUCTION", Custom = "CUSTOM", CustomerSatisfaction = "CUSTOMER_SATISFACTION", Innovation = "INNOVATION", MarketExpansion = "MARKET_EXPANSION", OperationalExcellence = "OPERATIONAL_EXCELLENCE", RevenueGrowth = "REVENUE_GROWTH", RiskMitigation = "RISK_MITIGATION" } export declare enum StressLevel { High = "HIGH", Low = "LOW", Moderate = "MODERATE", VeryHigh = "VERY_HIGH", VeryLow = "VERY_LOW" } export type SubAdapterSubmission = { __typename?: 'SubAdapterSubmission'; adapterId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; status: SubSubmissionStatus; submitterWorkspaceId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubAdapterSubmissionConnection = { __typename?: 'SubAdapterSubmissionConnection'; items: Array<SubAdapterSubmission>; pageInfo: SubPageInfo; }; export type SubAdminPurgeResult = { __typename?: 'SubAdminPurgeResult'; deletedRows: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SubAgentKind { Compliance = "COMPLIANCE", Concierge = "CONCIERGE", Cost = "COST", Discovery = "DISCOVERY", Migration = "MIGRATION", Negotiation = "NEGOTIATION", Newsletter = "NEWSLETTER", Renewal = "RENEWAL", Vendor = "VENDOR" } export type SubAgentRunResult = { __typename?: 'SubAgentRunResult'; agentId: Scalars['ID']['output']; applied: Scalars['Int']['output']; decisions: Array<SubDecision>; dryRun: Scalars['Boolean']['output']; /** Relationships evaluated (ACTIVE and TRIAL only). */ evaluated: Scalars['Int']['output']; flagged: Scalars['Int']['output']; invocationRef?: Maybe<Scalars['String']['output']>; kind: SubAgentKind; proposed: Scalars['Int']['output']; ranAt: Scalars['DateTime']['output']; runId: Scalars['ID']['output']; /** True when the workspace has more relationships than one run evaluates. */ truncated: Scalars['Boolean']['output']; }; /** * The workspace's registration with wspace-scheduler-svc. A workspace admin can * pause the job on the shared Schedules screen; the loop leaves it paused. */ export type SubAgentSchedule = { __typename?: 'SubAgentSchedule'; cronExpression: Scalars['String']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastSweepAt?: Maybe<Scalars['DateTime']['output']>; schedulerJobId?: Maybe<Scalars['ID']['output']>; status: SubAgentScheduleStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubAgentScheduleReconcileResult = { __typename?: 'SubAgentScheduleReconcileResult'; ensured: Scalars['Int']['output']; failed: Scalars['Int']['output']; schedules: Array<SubAgentSchedule>; /** Workspaces with an enabled, schedulable agent. */ workspaces: Scalars['Int']['output']; }; export declare enum SubAgentScheduleStatus { Active = "ACTIVE", Failed = "FAILED", Pending = "PENDING" } export declare enum SubAgentStatus { Autonomous = "AUTONOMOUS", Disabled = "DISABLED", SuggestOnly = "SUGGEST_ONLY" } export type SubAgentSweep = { __typename?: 'SubAgentSweep'; agents: Array<SubAgentSweepAgentOutcome>; agentsConsidered: Scalars['Int']['output']; agentsRun: Scalars['Int']['output']; agentsSkipped: Scalars['Int']['output']; decisionsCreated: Scalars['Int']['output']; decisionsRefreshed: Scalars['Int']['output']; /** * True when this call was a redelivery of an earlier fire with the same * idempotency key; the original sweep is returned and nothing ran again. */ duplicate: Scalars['Boolean']['output']; durationMs?: Maybe<Scalars['Int']['output']>; error?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notificationsSent: Scalars['Int']['output']; scheduledFor?: Maybe<Scalars['DateTime']['output']>; /** * KILL_SWITCH, AGENTS_MODULE_DISABLED, NO_DUE_AGENTS, DAILY_DECISION_CAP, * AI_QUOTA_EXHAUSTED or AI_QUOTA_NOT_PROVISIONED when the sweep was skipped. */ skippedReason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; status: SubAgentSweepStatus; trigger: SubAgentSweepTrigger; workspaceId: Scalars['ID']['output']; }; /** What one sweep did with one agent. */ export type SubAgentSweepAgentOutcome = { __typename?: 'SubAgentSweepAgentOutcome'; agentId: Scalars['ID']['output']; applied: Scalars['Int']['output']; created: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; durationMs: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; kind: SubAgentKind; /** * RAN, FAILED, NOT_DUE (ran too recently for its cadence) or CAPPED (over the * per-sweep agent cap or the AI-action quota). */ outcome: Scalars['String']['output']; refreshed: Scalars['Int']['output']; runId?: Maybe<Scalars['ID']['output']>; /** New advice held back by a recent dismissal or the daily decision cap. */ suppressed: Scalars['Int']['output']; }; export type SubAgentSweepConnection = { __typename?: 'SubAgentSweepConnection'; items: Array<SubAgentSweep>; pageInfo: SubPageInfo; }; export declare enum SubAgentSweepStatus { Completed = "COMPLETED", Failed = "FAILED", Running = "RUNNING", Skipped = "SKIPPED" } export declare enum SubAgentSweepTrigger { /** Run on demand by a super admin. */ Manual = "MANUAL", /** Fired by wspace-scheduler-svc. */ Scheduled = "SCHEDULED" } export type SubAiAgent = { __typename?: 'SubAiAgent'; config?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: SubAgentKind; lastRunAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; policies: Array<SubPolicy>; status: SubAgentStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubAiAgentConnection = { __typename?: 'SubAiAgentConnection'; items: Array<SubAiAgent>; pageInfo: SubPageInfo; }; export declare enum SubAlternativeMatch { Capability = "CAPABILITY", Category = "CATEGORY" } export type SubAlternativeRelationship = { __typename?: 'SubAlternativeRelationship'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; interval: SubBillingInterval; label: Scalars['String']['output']; status: SubRelationshipStatus; }; export type SubAsset = { __typename?: 'SubAsset'; createdAt: Scalars['DateTime']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; /** Reference to a wspace-files-svc File (blobs live there, not here). */ file?: Maybe<File>; id: Scalars['ID']['output']; name: Scalars['String']['output']; relationshipId: Scalars['ID']['output']; secretRef?: Maybe<Scalars['String']['output']>; type: SubAssetType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubAssetConnection = { __typename?: 'SubAssetConnection'; items: Array<SubAsset>; pageInfo: SubPageInfo; }; export declare enum SubAssetType { Certificate = "CERTIFICATE", Contract = "CONTRACT", Credential = "CREDENTIAL", Domain = "DOMAIN", Invoice = "INVOICE", LicenseKey = "LICENSE_KEY", Receipt = "RECEIPT", Warranty = "WARRANTY" } export type SubBankAccount = { __typename?: 'SubBankAccount'; currency: Scalars['String']['output']; id: Scalars['ID']['output']; /** Last four digits only. */ mask?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; officialName?: Maybe<Scalars['String']['output']>; subtype?: Maybe<Scalars['String']['output']>; type: Scalars['String']['output']; }; export declare enum SubBankAggregator { /** India: an RBI Account Aggregator consent (Finvu, OneMoney, ...), brokered by Setu. */ AccountAggregator = "ACCOUNT_AGGREGATOR", Plaid = "PLAID", StatementImport = "STATEMENT_IMPORT", /** UK / EU open banking (PSD2) through TrueLayer's hosted auth dialog. */ Truelayer = "TRUELAYER" } export type SubBankAggregatorInfo = { __typename?: 'SubBankAggregatorInfo'; aggregator: SubBankAggregator; /** Whether this aggregator can be used in this environment (credentials provisioned). */ available: Scalars['Boolean']['output']; /** ISO country codes the aggregator covers; empty means any institution. */ countries: Array<Scalars['String']['output']>; displayName: Scalars['String']['output']; /** sandbox or production for linked aggregators; null for statement import. */ environment?: Maybe<Scalars['String']['output']>; /** How the browser runs the flow; null for statement import. */ linkMode?: Maybe<SubBankLinkMode>; /** * Whether subCreateBankLinkSession needs customerIdentifier (the Account * Aggregator's mobile number / VUA). */ requiresCustomerIdentifier: Scalars['Boolean']['output']; /** Whether linking goes through the aggregator's hosted Link flow. */ requiresLink: Scalars['Boolean']['output']; }; export type SubBankConnection = { __typename?: 'SubBankConnection'; accounts: Array<SubBankAccount>; aggregator: SubBankAggregator; /** * When the customer's consent has to be reconfirmed (PSD2 90-day * reconfirmation, Account Aggregator consent expiry); null when the * aggregator has no such limit. */ consentExpiresAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; institutionId?: Maybe<Scalars['String']['output']>; institutionName: Scalars['String']['output']; lastSyncError?: Maybe<Scalars['String']['output']>; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; status: SubBankConnectionStatus; transactionCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; }; export type SubBankConnectionConnection = { __typename?: 'SubBankConnectionConnection'; items: Array<SubBankConnection>; pageInfo: SubPageInfo; }; export declare enum SubBankConnectionStatus { Active = "ACTIVE", Disconnected = "DISCONNECTED", Error = "ERROR", NeedsReauth = "NEEDS_REAUTH", /** The customer revoked Subscriber Bot's access at the bank. Linking again is the only way back. */ Revoked = "REVOKED" } /** How the browser runs an aggregator's flow. */ export declare enum SubBankLinkMode { /** Open the Plaid Link drop-in with linkToken. */ PlaidLink = "PLAID_LINK", /** * Navigate to linkUrl; the aggregator redirects back to Bank connections, which * then calls subCompleteBankLink with the returned code or consent id and the * session's linkToken as state. */ Redirect = "REDIRECT" } export type SubBankLinkSession = { __typename?: 'SubBankLinkSession'; aggregator: SubBankAggregator; expiresAt?: Maybe<Scalars['DateTime']['output']>; /** * PLAID_LINK: short-lived token that opens Plaid Link. REDIRECT: the signed * state to pass back to subCompleteBankLink after the redirect returns. */ linkToken: Scalars['String']['output']; /** REDIRECT only: where the browser goes to authorise at the bank or Account Aggregator. */ linkUrl?: Maybe<Scalars['String']['output']>; }; export type SubBankSyncResult = { __typename?: 'SubBankSyncResult'; added: Scalars['Int']['output']; connection: SubBankConnection; modified: Scalars['Int']['output']; /** Recurring charges detected or refreshed by this sync across all the caller's connections. */ recurringDetected: Scalars['Int']['output']; removed: Scalars['Int']['output']; }; /** One run of the daily bank sync for a workspace. */ export type SubBankSyncRun = { __typename?: 'SubBankSyncRun'; connectionsConsidered: Scalars['Int']['output']; /** True when this call was a redelivery of a fire that already ran; nothing ran again. */ duplicate: Scalars['Boolean']['output']; failed: Scalars['Int']['output']; finishedAt: Scalars['DateTime']['output']; /** Connections another sync was already pulling at the time. */ skipped: Scalars['Int']['output']; /** KILL_SWITCH or NO_CONNECTIONS when the run was skipped. */ skippedReason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; /** COMPLETED or SKIPPED. */ status: Scalars['String']['output']; synced: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** * The workspace's daily bank-sync registration with wspace-scheduler-svc * (BOFF-10810). A workspace admin can pause the job on the shared Schedules * screen; the service leaves it paused. */ export type SubBankSyncSchedule = { __typename?: 'SubBankSyncSchedule'; cronExpression: Scalars['String']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastRunAt?: Maybe<Scalars['DateTime']['output']>; schedulerJobId?: Maybe<Scalars['ID']['output']>; status: SubAgentScheduleStatus; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubBankSyncScheduleReconcileResult = { __typename?: 'SubBankSyncScheduleReconcileResult'; ensured: Scalars['Int']['output']; failed: Scalars['Int']['output']; schedules: Array<SubBankSyncSchedule>; /** Workspaces with a linked bank connection. */ workspaces: Scalars['Int']['output']; }; export type SubBankTransaction = { __typename?: 'SubBankTransaction'; accountId?: Maybe<Scalars['ID']['output']>; /** Money out is positive, money in is negative. */ amount: Scalars['Float']['output']; category?: Maybe<Scalars['String']['output']>; connectionId: Scalars['ID']['output']; currency: Scalars['String']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; merchantKey: Scalars['String']['output']; merchantName?: Maybe<Scalars['String']['output']>; pending: Scalars['Boolean']['output']; postedOn: Scalars['DateTime']['output']; recurringChargeId?: Maybe<Scalars['ID']['output']>; }; export type SubBankTransactionConnection = { __typename?: 'SubBankTransactionConnection'; items: Array<SubBankTransaction>; pageInfo: SubPageInfo; }; export type SubBenchmarkDataPoint = { __typename?: 'SubBenchmarkDataPoint'; amount: Scalars['Float']['output']; contractSizeSeats?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; interval: SubBillingInterval; notes?: Maybe<Scalars['String']['output']>; observedAt: Scalars['DateTime']['output']; planName: Scalars['String']['output']; providerName: Scalars['String']['output']; providerSlug: Scalars['String']['output']; region: Scalars['String']['output']; sourceKind: SubBenchmarkSourceKind; sourceLabel?: Maybe<Scalars['String']['output']>; }; export type SubBenchmarkDataPointConnection = { __typename?: 'SubBenchmarkDataPointConnection'; items: Array<SubBenchmarkDataPoint>; pageInfo: SubPageInfo; }; export type SubBenchmarkFilterInput = { currency?: InputMaybe<Scalars['String']['input']>; interval?: InputMaybe<SubBillingInterval>; providerName?: InputMaybe<Scalars['String']['input']>; providerSlug?: InputMaybe<Scalars['String']['input']>; region?: InputMaybe<Scalars['String']['input']>; }; export declare enum SubBenchmarkSourceKind { Crowdsourced = "CROWDSOURCED", Internal = "INTERNAL", ProviderSubmitted = "PROVIDER_SUBMITTED", PublicList = "PUBLIC_LIST" } export type SubBenchmarkSummary = { __typename?: 'SubBenchmarkSummary'; currency: Scalars['String']['output']; dataPointCount: Scalars['Int']['output']; interval: SubBillingInterval; latestObservedAt: Scalars['DateTime']['output']; maxAmount: Scalars['Float']['output']; medianAmount: Scalars['Float']['output']; minAmount: Scalars['Float']['output']; planName: Scalars['String']['output']; providerName: Scalars['String']['output']; providerSlug: Scalars['String']['output']; }; export declare enum SubBillingInterval { Daily = "DAILY", Free = "FREE", Lifetime = "LIFETIME", Monthly = "MONTHLY", Quarterly = "QUARTERLY", UsageBased = "USAGE_BASED", Weekly = "WEEKLY", Yearly = "YEARLY" } export type SubBudgetStatus = { __typename?: 'SubBudgetStatus'; monthlyBudget: Scalars['Float']['output']; monthlySpend: Scalars['Float']['output']; overBudget: Scalars['Boolean']['output']; utilizationPct: Scalars['Float']['output']; /** Budget minus spend; negative when over budget. */ variance: Scalars['Float']['output']; }; export declare enum SubChannelStatus { Disabled = "DISABLED", Pending = "PENDING", Verified = "VERIFIED" } export declare enum SubChannelType { Discord = "DISCORD", Email = "EMAIL", Push = "PUSH", Slack = "SLACK", Sms = "SMS", Webhook = "WEBHOOK", Whatsapp = "WHATSAPP" } export type SubCommunicationChannel = { __typename?: 'SubCommunicationChannel'; address: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; ingestEnabled: Scalars['Boolean']['output']; label?: Maybe<Scalars['String']['output']>; ownerId: Scalars['ID']['output']; status: SubChannelStatus; type: SubChannelType; updatedAt: Scalars['DateTime']['output']; verifiedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type SubCommunicationChannelConnection = { __typename?: 'SubCommunicationChannelConnection'; items: Array<SubCommunicationChannel>; pageInfo: SubPageInfo; }; export type SubCompleteBankLinkInput = { aggregator: SubBankAggregator; institutionId?: InputMaybe<Scalars['String']['input']>; institutionName?: InputMaybe<Scalars['String']['input']>; /** * The flow's one-time result: the Plaid public token from onSuccess, the * TrueLayer authorisation code (code), or the approved Account Aggregator * consent id (id). */ publicToken: Scalars['String']['input']; /** * Required for REDIRECT aggregators: the linkToken subCreateBankLinkSession * returned (TrueLayer also hands it back as state). */ state?: InputMaybe<Scalars['String']['input']>; }; export type SubConnectWorkflowNodesInput = { label?: InputMaybe<Scalars['String']['input']>; sourceHandle?: InputMaybe<Scalars['String']['input']>; sourceNodeId: Scalars['ID']['input']; targetNodeId: Scalars['ID']['input']; }; export type SubConsolidateRelationshipsInput = { amount?: InputMaybe<Scalars['Float']['input']>; /** Subscriptions to cancel (1 to 9, without the kept one). */ cancelRelationshipIds: Array<Scalars['ID']['input']>; interval?: InputMaybe<SubBillingInterval>; keepRelationshipId: Scalars['ID']['input']; /** Optional bundled plan for the kept subscription. */ planId?: InputMaybe<Scalars['ID']['input']>; }; export type SubConsolidationFailure = { __typename?: 'SubConsolidationFailure'; message: Scalars['String']['output']; relationshipId: Scalars['ID']['output']; }; export type SubConsolidationResult = { __typename?: 'SubConsolidationResult'; cancelled: Array<SubRelationship>; currency: Scalars['String']['output']; /** Yearly saving of the subscriptions actually cancelled, after any plan change. */ estimatedSavings: Scalars['Float']['output']; failed: Array<SubConsolidationFailure>; kept: SubRelationship; }; export type SubCreateAgentInput = { config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<SubAgentKind>; name: Scalars['String']['input']; ownerId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<SubAgentStatus>; }; export type SubCreateAssetInput = { expiresAt?: InputMaybe<Scalars['DateTime']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; relationshipId: Scalars['ID']['input']; secretRef?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<SubAssetType>; }; export type SubCreateBenchmarkDataPointInput = { amount: Scalars['Float']['input']; contractSizeSeats?: InputMaybe<Scalars['Int']['input']>; currency?: InputMaybe<Scalars['String']['input']>; interval?: InputMaybe<SubBillingInterval>; notes?: InputMaybe<Scalars['String']['input']>; observedAt?: InputMaybe<Scalars['DateTime']['input']>; planName: Scalars['String']['input']; providerName: Scalars['String']['input']; providerSlug: Scalars['String']['input']; region?: InputMaybe<Scalars['String']['input']>; sourceKind?: InputMaybe<SubBenchmarkSourceKind>; sourceLabel?: InputMaybe<Scalars['String']['input']>; }; export type SubCreateChannelInput = { address: Scalars['String']['input']; ingestEnabled?: InputMaybe<Scalars['Boolean']['input']>; label?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<SubChannelType>; }; export type SubCreateEntitlementInput = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; quota?: InputMaybe<Scalars['Int']['input']>; relationshipId: Scalars['ID']['input']; type?: InputMaybe<SubEntitlementType>; unit?: InputMaybe<Scalars['String']['input']>; }; export type SubCreateInvoiceInput = { currency?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; issueDate?: InputMaybe<Scalars['DateTime']['input']>; lineItems?: InputMaybe<Scalars['JSON']['input']>; number?: InputMaybe<Scalars['String']['input']>; paymentInstrumentId?: InputMaybe<Scalars['ID']['input']>; relationshipId: Scalars['ID']['input']; status?: InputMaybe<SubInvoiceStatus>; subtotal?: InputMaybe<Scalars['Float']['input']>; taxAmount?: InputMaybe<Scalars['Float']['input']>; total?: InputMaybe<Scalars['Float']['input']>; }; export type SubCreateNegotiationInput = { accountHolderName?: InputMaybe<Scalars['String']['input']>; /** Provider account number; only its last four characters are kept. */ accountNumber?: InputMaybe<Scalars['String']['input']>; billType?: InputMaybe<SubNegotiationBillType>; competitorOffer?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; currentAmount?: InputMaybe<Scalars['Float']['input']>; interval?: InputMaybe<SubBillingInterval>; mode?: InputMaybe<SubNegotiationMode>; notes?: InputMaybe<Scalars['String']['input']>; providerName?: InputMaybe<Scalars['String']['input']>; /** * Tracked relationship whose bill is negotiated. Provider, amount, currency and * interval default from it when omitted. */ relationshipId?: InputMaybe<Scalars['ID']['input']>; targetAmount?: InputMaybe<Scalars['Float']['input']>; targetOutcome?: InputMaybe<SubNegotiationTarget>; tenureMonths?: InputMaybe<Scalars['Int']['input']>; }; export type SubCreatePaymentInstrumentInput = { brand?: InputMaybe<Scalars['String']['input']>; expiryMonth?: InputMaybe<Scalars['Int']['input']>; expiryYear?: InputMaybe<Scalars['Int']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; label: Scalars['String']['input']; last4?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; processorToken?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<SubPaymentInstrumentType>; }; export type SubCreatePlanInput = { amount?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Array<Scalars['String']['input']>>; interval?: InputMaybe<SubBillingInterval>; name: Scalars['String']['input']; providerId: Scalars['ID']['input']; }; export type SubCreatePolicyInput = { action?: InputMaybe<SubPolicyAction>; agentId: Scalars['ID']['input']; condition?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; }; export type SubCreateProcurementRequestInput = { category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; currentAnnualValue?: InputMaybe<Scalars['Float']['input']>; deadline?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; productName?: InputMaybe<Scalars['String']['input']>; quotedAnnualValue?: InputMaybe<Scalars['Float']['input']>; /** * Tracked relationship (contract) being negotiated. Vendor, current annual value, * currency and renewal date default from it when omitted. */ relationshipId?: InputMaybe<Scalars['ID']['input']>; requestType?: InputMaybe<SubProcurementRequestType>; seats?: InputMaybe<Scalars['Int']['input']>; targetAnnualValue?: InputMaybe<Scalars['Float']['input']>; termMonths?: InputMaybe<Scalars['Int']['input']>; vendorName?: InputMaybe<Scalars['String']['input']>; }; export type SubCreateProviderInput = { category?: InputMaybe<SubProviderCategory>; description?: InputMaybe<Scalars['String']['input']>; industry?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; logoFileId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; region?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SubProviderStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; websiteUrl?: InputMaybe<Scalars['String']['input']>; }; export type SubCreateRelationshipInput = { amount?: InputMaybe<Scalars['Float']['input']>; autoRenew?: InputMaybe<Scalars['Boolean']['input']>; currency?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; discoverySource?: InputMaybe<SubDiscoverySource>; interval?: InputMaybe<SubBillingInterval>; kind?: InputMaybe<SubRelationshipKind>; label: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; planId?: InputMaybe<Scalars['ID']['input']>; providerId?: InputMaybe<Scalars['ID']['input']>; renewsAt?: InputMaybe<Scalars['DateTime']['input']>; startedAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<SubRelationshipStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; trialEndsAt?: InputMaybe<Scalars['DateTime']['input']>; }; export type SubCreateWorkflowInput = { description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; steps?: InputMaybe<Scalars['JSON']['input']>; triggerEvent: Scalars['String']['input']; }; export type SubCurrencyAmount = { __typename?: 'SubCurrencyAmount'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; renewalCount: Scalars['Int']['output']; }; export type SubCurrencySpend = { __typename?: 'SubCurrencySpend'; currency: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; relationshipCount: Scalars['Int']['output']; }; /** Result of one run of the platform-wide data-retention purge. */ export type SubDataRetentionRunResult = { __typename?: 'SubDataRetentionRunResult'; dryRun: Scalars['Boolean']['output']; finishedAt: Scalars['DateTime']['output']; rules: Array<SubRetentionRuleResult>; startedAt: Scalars['DateTime']['output']; totalRows: Scalars['Int']['output']; }; /** * One recommendation an agent run made about one relationship. `evidence` holds * the rows the strategy reasoned over; `proposedChange` the relationship change * applying it makes. `invocationRef` is the run's entry in the shared AI * invocation ledger (wspace-prompts-svc `PromptInvocation.id`). */ export type SubDecision = { __typename?: 'SubDecision'; agent?: Maybe<SubAiAgent>; agentId: Scalars['ID']['output']; appliedAt?: Maybe<Scalars['DateTime']['output']>; appliedBy?: Maybe<Scalars['ID']['output']>; applyInvocationRef?: Maybe<Scalars['String']['output']>; /** 0..1 */ confidence: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dismissedAt?: Maybe<Scalars['DateTime']['output']>; dismissedReason?: Maybe<Scalars['String']['output']>; /** Annualised saving if applied, in `currency`. */ estimatedSavings: Scalars['Float']['output']; evidence: Scalars['JSON']['output']; id: Scalars['ID']['output']; invocationRef?: Maybe<Scalars['String']['output']>; kind: SubDecisionKind; proposedChange: Scalars['JSON']['output']; rationale: Scalars['String']['output']; recommendation: SubDecisionRecommendation; relationship?: Maybe<SubRelationship>; relationshipId: Scalars['ID']['output']; runId: Scalars['ID']['output']; status: SubDecisionStatus; updatedAt: Scalars['DateTime']['output']; validationErrors: Array<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type SubDecisionConnection = { __typename?: 'SubDecisionConnection'; items: Array<SubDecision>; pageInfo: SubPageInfo; }; export type SubDecisionFilter = { agentId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<SubDecisionKind>; recommendation?: InputMaybe<SubDecisionRecommendation>; relationshipId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<SubDecisionStatus>; }; /** * The portfolio decision an agent strategy made (BOFF-3634). * COST agents find CANCEL_CANDIDATE, RENEWAL agents RENEWAL_TRIAGE, VENDOR * agents PLAN_RIGHT_SIZE and CONSOLIDATE_OVERLAP (BOFF-3703), and DISCOVERY * agents TRIAL_EXPIRY. */ export declare enum SubDecisionKind { CancelCandidate = "CANCEL_CANDIDATE", /** * Cancel a relationship that another one in the portfolio already covers * (duplicate provider, shared capability or subsumed entitlements). */ ConsolidateOverlap = "CONSOLIDATE_OVERLAP", PlanRightSize = "PLAN_RIGHT_SIZE", RenewalTriage = "RENEWAL_TRIAGE", TrialExpiry = "TRIAL_EXPIRY" } /** * What a decision recommends. Applying it runs the matching relationship * mutation: CANCEL -> subCancelRelationship, PAUSE / CONVERT_TRIAL -> * subTransitionRelationship, DOWNGRADE / SWITCH_TO_ANNUAL -> * subUpdateRelationship. RENEW keeps the auto-renewal and writes nothing. */ export declare enum SubDecisionRecommendation { Cancel = "CANCEL", ConvertTrial = "CONVERT_TRIAL", Downgrade = "DOWNGRADE", Pause = "PAUSE", Renew = "RENEW", SwitchToAnnual = "SWITCH_TO_ANNUAL" } export type SubDecisionResult = { __typename?: 'SubDecisionResult'; decision: SubDecision; /** The relationship after the applied change. */ relationship?: Maybe<SubRelationship>; }; /** * PROPOSED decisions wait for review. FLAGGED decisions failed output * validation and can never be applied. STALE decisions were superseded, or their * relationship changed after they were made. */ export declare enum SubDecisionStatus { Applied = "APPLIED", Applying = "APPLYING", Dismissed = "DISMISSED", Flagged = "FLAGGED", Proposed = "PROPOSED", Stale = "STALE" } export type SubDepartmentSpend = { __typename?: 'SubDepartmentSpend'; annualSpend: Scalars['Float']['output']; budget?: Maybe<SubBudgetStatus>; /** Department / team / cost centre; null for spend not yet allocated. */ department?: Maybe<Scalars['String']['output']>; monthlySpend: Scalars['Float']['output']; relationshipCount: Scalars['Int']['output']; sharePct: Scalars['Float']['output']; }; export declare enum SubDiscoverySource { AiAgent = "AI_AGENT", EmailScan = "EMAIL_SCAN", Import = "IMPORT", Manual = "MANUAL", PaymentScan = "PAYMENT_SCAN", ProviderConnect = "PROVIDER_CONNECT" } /** * A duplicate-tool warning: one BOFF-3703 overlap group (see subDetectOverlaps) * in the dashboard currency, with the departments that pay for its members. */ export type SubDuplicateToolGroup = { __typename?: 'SubDuplicateToolGroup'; departments: Array<Scalars['String']['output']>; keepRelationshipId: Scalars['ID']['output']; /** The overlap group id (stable across runs). */ key: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; name: Scalars['String']['output']; /** Monthly spend of the members the kept relationship fully covers. */ potentialMonthlySavings: Scalars['Float']['output']; /** The shared provider for an EXACT_DUPLICATE group; null otherwise. */ providerId?: Maybe<Scalars['ID']['output']>; rationale: Scalars['String']['output']; relationshipCount: Scalars['Int']['output']; relationships: Array<SubDuplicateToolMember>; type: SubOverlapType; }; export type SubDuplicateToolMember = { __typename?: 'SubDuplicateToolMember'; department?: Maybe<Scalars['String']['output']>; /** The member the overlap detector recommends keeping. */ keep: Scalars['Boolean']['output']; label: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; relationshipId: Scalars['ID']['output']; }; export type SubEnterpriseSpendDashboard = { __typename?: 'SubEnterpriseSpendDashboard'; activeRelationshipCount: Scalars['Int']['output']; annualSpend: Scalars['Float']['output']; /** Company-wide budget status; null when no company budget is set for this currency. */ budget?: Maybe<SubBudgetStatus>; currency: Scalars['String']['output']; departments: Array<SubDepartmentSpend>; /** Monthly saving if every recommended consolidation is made (each relationship counted once). */ duplicatePotentialMonthlySavings: Scalars['Float']['output']; duplicateTools: Array<SubDuplicateToolGroup>; generatedAt: Scalars['DateTime']['output']; /** Relationships billing now, most expensive first (top 50). */ licenses: Array<SubLicenseRow>; monthlySpend: Scalars['Float']['output']; monthlySpendChangePct?: Maybe<Scalars['Float']['output']>; /** Spend billed in other currencies, which this dashboard does not include. */ otherCurrencies: Array<SubCurrencySpend>; /** Monthly run-rate 30 days ago. */ previousMonthlySpend: Scalars['Float']['output']; renewalPipeline: Array<SubRenewalQuarter>; riskFlagCount: Scalars['Int']['output']; riskFlags: Array<SubSpendRiskFlag>; /** Seats used as a percentage of seats assigned; null when no seats are tracked. */ seatUtilizationPct?: Maybe<Scalars['Float']['output']>; /** Seats across relationships billing now that track SEAT entitlements. */ seatsAssigned: Scalars['Int']['output']; seatsUsed: Scalars['Int']['output']; shadowIt: Array<SubShadowItItem>; shadowItCount: Scalars['Int']['output']; shadowItMonthlySpend: Scalars['Float']['output']; trend: Array<SubSpendTrendPoint>; /** True when the workspace has more relationships than one dashboard aggregates. */ truncated: Scalars['Boolean']['output']; }; export type SubEntitlement = { __typename?: 'SubEntitlement'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; quota?: Maybe<Scalars['Int']['output']>; relationshipId: Scalars['ID']['output']; type: SubEntitlementType; unit?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; used: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type SubEntitlementConnection = { __typename?: 'SubEntitlementConnection'; items: Array<SubEntitlement>; pageInfo: SubPageInfo; }; export declare enum SubEntitlementType { Content = "CONTENT", Discount = "DISCOUNT", FeatureAccess = "FEATURE_ACCESS", Seat = "SEAT", SupportTier = "SUPPORT_TIER", UsageQuota = "USAGE_QUOTA" } export type SubHealthRecomputeResult = { __typename?: 'SubHealthRecomputeResult'; evaluated: Scalars['Int']['output']; truncated: Scalars['Boolean']['output']; updated: Scalars['Int']['output']; }; export type SubImportBankStatementInput = { /** Last four digits of the account or card (anything longer is cut to four). */ accountMask?: InputMaybe<Scalars['String']['input']>; accountName?: InputMaybe<Scalars['String']['input']>; amountConvention?: InputMaybe<SubStatementAmountConvention>; /** Append to an existing statement-import connection; omit to create one. */ connectionId?: InputMaybe<Scalars['ID']['input']>; /** The CSV export as text. Provide csv or rows. */ csv?: InputMaybe<Scalars['String']['input']>; /** ISO 4217 currency of the statement (default USD). */ currency?: InputMaybe<Scalars['String']['input']>; dateFormat?: InputMaybe<SubStatementDateFormat>; institutionName?: InputMaybe<Scalars['String']['input']>; rows?: InputMaybe<Array<SubStatementRowInput>>; }; export type SubInboxMessage = { __typename?: 'SubInboxMessage'; actionRequired: Scalars['Boolean']['output']; category: SubMessageCategory; categoryConfidence?: Maybe<Scalars['Int']['output']>; channelId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; externalId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isRead: Scalars['Boolean']['output']; preview?: Maybe<Scalars['String']['output']>; receivedAt: Scalars['DateTime']['output']; relationshipId?: Maybe<Scalars['ID']['output']>; subject?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubInboxMessageConnection = { __typename?: 'SubInboxMessageConnection'; items: Array<SubInboxMessage>; pageInfo: SubPageInfo; }; export type SubIngestMessageInput = { actionRequired?: InputMaybe<Scalars['Boolean']['input']>; category?: InputMaybe<SubMessageCategory>; categoryConfidence?: InputMaybe<Scalars['Int']['input']>; channelId: Scalars['ID']['input']; externalId?: InputMaybe<Scalars['String']['input']>; preview?: InputMaybe<Scalars['String']['input']>; receivedAt: Scalars['DateTime']['input']; relationshipId?: InputMaybe<Scalars['ID']['input']>; subject?: InputMaybe<Scalars['String']['input']>; }; export type SubInvoice = { __typename?: 'SubInvoice'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dueDate?: Maybe<Scalars['DateTime']['output']>; /** Reference to a wspace-files-svc File holding the invoice PDF. */ file?: Maybe<File>; id: Scalars['ID']['output']; issueDate?: Maybe<Scalars['DateTime']['output']>; lineItems?: Maybe<Scalars['JSON']['output']>; number?: Maybe<Scalars['String']['output']>; paidAt?: Maybe<Scalars['DateTime']['output']>; paymentInstrumentId?: Maybe<Scalars['ID']['output']>; relationshipId: Scalars['ID']['output']; status: SubInvoiceStatus; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; total: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubInvoiceConnection = { __typename?: 'SubInvoiceConnection'; items: Array<SubInvoice>; pageInfo: SubPageInfo; }; export declare enum SubInvoiceStatus { Cancelled = "CANCELLED", Draft = "DRAFT", Failed = "FAILED", Issued = "ISSUED", Overdue = "OVERDUE", Paid = "PAID", Refunded = "REFUNDED" } export type SubLicenseRow = { __typename?: 'SubLicenseRow'; annualCost: Scalars['Float']['output']; department?: Maybe<Scalars['String']['output']>; label: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; providerName?: Maybe<Scalars['String']['output']>; relationshipId: Scalars['ID']['output']; renewsAt?: Maybe<Scalars['DateTime']['output']>; /** Seats purchased (sum of active SEAT entitlement quotas); null when seats are not tracked. */ seatsAssigned?: Maybe<Scalars['Int']['output']>; seatsUsed?: Maybe<Scalars['Int']['output']>; utilizationPct?: Maybe<Scalars['Float']['output']>; }; export type SubMarketplaceReport = { __typename?: 'SubMarketplaceReport'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; listingId: Scalars['ID']['output']; reason: Scalars['String']['output']; reporterWorkspaceId: Scalars['ID']['output']; resolutionReason?: Maybe<Scalars['String']['output']>; status: SubReportStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubMarketplaceReportConnection = { __typename?: 'SubMarketplaceReportConnection'; items: Array<SubMarketplaceReport>; pageInfo: SubPageInfo; }; export declare enum SubMessageCategory { Billing = "BILLING", Marketing = "MARKETING", Other = "OTHER", ProductUpdate = "PRODUCT_UPDATE", Renewal = "RENEWAL", RequiredAction = "REQUIRED_ACTION", SecurityAlert = "SECURITY_ALERT" } export declare enum SubModerationAction { Dismiss = "DISMISS", RemoveListing = "REMOVE_LISTING" } export type SubMoneyAmount = { __typename?: 'SubMoneyAmount'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; }; export type SubNegotiation = { __typename?: 'SubNegotiation'; /** Last four characters of the provider account number. */ accountHint?: Maybe<Scalars['String']['output']>; accountHolderName?: Maybe<Scalars['String']['output']>; appliedToRelationship: Scalars['Boolean']['output']; authorizationVersion?: Maybe<Scalars['String']['output']>; authorizedAt?: Maybe<Scalars['DateTime']['output']>; billType: SubNegotiationBillType; competitorOffer?: Maybe<Scalars['String']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; currentAmount: Scalars['Float']['output']; /** Timeline shared by the customer and the negotiation desk, oldest first. */ events: Array<SubNegotiationEvent>; feeAmount: Scalars['Float']['output']; feeBilledAt?: Maybe<Scalars['DateTime']['output']>; feeRate: Scalars['Float']['output']; feeStatus: SubNegotiationFeeStatus; feeWaivedReason?: Maybe<Scalars['String']['output']>; /** Recurring savings over the first year plus any one-off credit. */ firstYearSavings: Scalars['Float']['output']; id: Scalars['ID']['output']; interval: SubBillingInterval; mode: SubNegotiationMode; newAmount?: Maybe<Scalars['Float']['output']>; notes?: Maybe<Scalars['String']['output']>; oneTimeCredit: Scalars['Float']['output']; outcomeSummary?: Maybe<Scalars['String']['output']>; ownerId: Scalars['ID']['output']; /** Generated negotiation playbook: leverage, call script, what to accept and a written request. */ playbook?: Maybe<Scalars['String']['output']>; providerName: Scalars['String']['output']; /** Drop in the recurring price per billing interval. */ recurringSavings: Scalars['Float']['output']; relationshipId?: Maybe<Scalars['ID']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: SubNegotiationStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; targetAmount?: Maybe<Scalars['Float']['output']>; targetOutcome: SubNegotiationTarget; tenureMonths?: Maybe<Scalars['Int']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SubNegotiationBillType { CableTv = "CABLE_TV", HomePhone = "HOME_PHONE", Insurance = "INSURANCE", Internet = "INTERNET", MobilePhone = "MOBILE_PHONE", Other = "OTHER", Subscription = "SUBSCRIPTION", Utility = "UTILITY" } export type SubNegotiationConnection = { __typename?: 'SubNegotiationConnection'; items: Array<SubNegotiation>; pageInfo: SubPageInfo; }; export type SubNegotiationCurrencyTotal = { __typename?: 'SubNegotiationCurrencyTotal'; currency: Scalars['String']['output']; feesCharged: Scalars['Float']['output']; firstYearSavings: Scalars['Float']['output']; succeededCount: Scalars['Int']['output']; }; export type SubNegotiationEvent = { __typename?: 'SubNegotiationEvent'; /** customer, negotiator or system. */ actorRole: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; fromStatus?: Maybe<SubNegotiationStatus>; id: Scalars['ID']['output']; kind: SubNegotiationEventKind; message?: Maybe<Scalars['String']['output']>; toStatus?: Maybe<SubNegotiationStatus>; }; export declare enum SubNegotiationEventKind { Cancelled = "CANCELLED", Created = "CREATED", FeeBilled = "FEE_BILLED", FeeBillingFailed = "FEE_BILLING_FAILED", FeeWaived = "FEE_WAIVED", Note = "NOTE", OutcomeRecorded = "OUTCOME_RECORDED", StatusChanged = "STATUS_CHANGED", Submitted = "SUBMITTED", Updated = "UPDATED" } export declare enum SubNegotiationFeeStatus { Billed = "BILLED", None = "NONE", PendingBilling = "PENDING_BILLING", Waived = "WAIVED" } export declare enum SubNegotiationMode { /** The negotiation desk negotiates on the customer's behalf. Success fee on savings only. */ Managed = "MANAGED", /** Subscriber Bot drafts the playbook; the customer negotiates. No fee. */ SelfServe = "SELF_SERVE" } export declare enum SubNegotiationOutcome { NoSavings = "NO_SAVINGS", Succeeded = "SUCCEEDED" } export declare enum SubNegotiationStatus { AwaitingCustomer = "AWAITING_CUSTOMER", Cancelled = "CANCELLED", Draft = "DRAFT", InProgress = "IN_PROGRESS", NoSavings = "NO_SAVINGS", Submitted = "SUBMITTED", Succeeded = "SUCCEEDED" } export type SubNegotiationSummary = { __typename?: 'SubNegotiationSummary'; noSavingsCount: Scalars['Int']['output']; openCount: Scalars['Int']['output']; succeededCount: Scalars['Int']['output']; totalCount: Scalars['Int']['output']; /** Savings and fees per currency (amounts are never converted). */ totals: Array<SubNegotiationCurrencyTotal>; }; export declare enum SubNegotiationTarget { BetterPlanSamePrice = "BETTER_PLAN_SAME_PRICE", CancelIfNoDeal = "CANCEL_IF_NO_DEAL", LowerPrice = "LOWER_PRICE", RemoveFees = "REMOVE_FEES", RetentionOffer = "RETENTION_OFFER" } export type SubNegotiationTerms = { __typename?: 'SubNegotiationTerms'; authorizationText: Scalars['String']['output']; authorizationVersion: Scalars['String']['output']; managedFeeRate: Scalars['Float']['output']; maxAcceptedTermMonths: Scalars['Int']['output']; selfServeFeeRate: Scalars['Float']['output']; }; export type SubOverlap = { __typename?: 'SubOverlap'; annualSavings: Scalars['Float']['output']; annualSpend: Scalars['Float']['output']; confidence: Scalars['Float']['output']; currency: Scalars['String']['output']; /** Members the kept relationship fully covers; consolidating cancels these. */ dropRelationshipIds: Array<Scalars['ID']['output']>; /** Stable across runs for the same overlap. */ id: Scalars['ID']['output']; keepRelationshipId: Scalars['ID']['output']; /** Provider id, capability name or the subsuming relationship id. */ key: Scalars['String']['output']; members: Array<SubOverlapMember>; rationale: Scalars['String']['output']; title: Scalars['String']['output']; type: SubOverlapType; }; export type SubOverlapConnection = { __typename?: 'SubOverlapConnection'; items: Array<SubOverlap>; pageInfo: SubPageInfo; /** * Annualised savings if every recommended consolidation is made, per currency. * Each relationship is counted once. */ totalAnnualSavings: Array<SubMoneyAmount>; totalCount: Scalars['Int']['output']; /** True when the workspace has more ACTIVE relationships than one detection reads. */ truncated: Scalars['Boolean']['output']; }; export type SubOverlapMember = { __typename?: 'SubOverlapMember'; amount: Scalars['Float']['output']; /** `amount` normalised to a year (0 for non-recurring intervals). */ annualCost: Scalars['Float']['output']; capabilities: Array<Scalars['String']['output']>; currency: Scalars['String']['output']; entitlementNames: Array<Scalars['String']['output']>; interval: SubBillingInterval; label: Scalars['String']['output']; providerId?: Maybe<Scalars['ID']['output']>; providerName?: Maybe<Scalars['String']['output']>; relationship?: Maybe<SubRelationship>; relationshipId: Scalars['ID']['output']; /** Total recorded usage across the relationship's active entitlements. */ usage: Scalars['Int']['output']; }; export declare enum SubOverlapType { /** Different providers that share a `capability:` tag (e.g. `capability:cloud-storage`). */ Capability = "CAPABILITY", /** A relationship whose entitlements are substantially included in another provider's. */ Entitlement = "ENTITLEMENT", /** Two or more ACTIVE relationships with the same provider. */ ExactDuplicate = "EXACT_DUPLICATE" } export type SubPageInfo = { __typename?: 'SubPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type SubPaymentInstrument = { __typename?: 'SubPaymentInstrument'; brand?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; expiryMonth?: Maybe<Scalars['Int']['output']>; expiryYear?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; label: Scalars['String']['output']; last4?: Maybe<Scalars['String']['output']>; ownerId: Scalars['ID']['output']; status: SubPaymentInstrumentStatus; type: SubPaymentInstrumentType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubPaymentInstrumentConnection = { __typename?: 'SubPaymentInstrumentConnection'; items: Array<SubPaymentInstrument>; pageInfo: SubPageInfo; }; export declare enum SubPaymentInstrumentStatus { Active = "ACTIVE", Expired = "EXPIRED", Expiring = "EXPIRING", Removed = "REMOVED" } export declare enum SubPaymentInstrumentType { BankAccount = "BANK_ACCOUNT", Card = "CARD", Other = "OTHER", Paypal = "PAYPAL", Upi = "UPI", Wallet = "WALLET" } export type SubPlan = { __typename?: 'SubPlan'; amount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; features: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; interval: SubBillingInterval; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; provider?: Maybe<SubProvider>; providerId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubPlanConnection = { __typename?: 'SubPlanConnection'; items: Array<SubPlan>; pageInfo: SubPageInfo; }; export type SubPolicy = { __typename?: 'SubPolicy'; action: SubPolicyAction; agentId: Scalars['ID']['output']; condition: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; lastTriggeredAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; triggerCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum SubPolicyAction { Alert = "ALERT", Cancel = "CANCEL", CreateTask = "CREATE_TASK", Downgrade = "DOWNGRADE", Pause = "PAUSE", Renew = "RENEW", Upgrade = "UPGRADE" } export type SubPolicyConnection = { __typename?: 'SubPolicyConnection'; items: Array<SubPolicy>; pageInfo: SubPageInfo; }; export declare enum SubPricePointSource { Invoice = "INVOICE", Relationship = "RELATIONSHIP" } export type SubPriceRange = { __typename?: 'SubPriceRange'; basis: SubPriceRangeBasis; count: Scalars['Int']['output']; currency: Scalars['String']['output']; maxMonthlyAmount: Scalars['Float']['output']; minMonthlyAmount: Scalars['Float']['output']; }; export declare enum SubPriceRangeBasis { Plans = "PLANS", Relationships = "RELATIONSHIPS" } export type SubProcurementCurrencyTotal = { __typename?: 'SubProcurementCurrencyTotal'; contractSavings: Scalars['Float']['output']; currency: Scalars['String']['output']; feesCharged: Scalars['Float']['output']; firstYearSavings: Scalars['Float']['output']; succeededCount: Scalars['Int']['output']; }; export type SubProcurementEvent = { __typename?: 'SubProcurementEvent'; /** customer, expert or system. */ actorRole: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; fromStatus?: Maybe<SubProcurementStatus>; id: Scalars['ID']['output']; /** Internal desk note (only ever returned to the procurement desk). */ internal: Scalars['Boolean']['output']; kind: SubProcurementEventKind; message?: Maybe<Scalars['String']['output']>; toStatus?: Maybe<SubProcurementStatus>; }; export declare enum SubProcurementEventKind { Assigned = "ASSIGNED", Cancelled = "CANCELLED", Created = "CREATED", FeeBilled = "FEE_BILLED", FeeBillingFailed = "FEE_BILLING_FAILED", FeeWaived = "FEE_WAIVED", InternalNote = "INTERNAL_NOTE", Message = "MESSAGE", OutcomeRecorded = "OUTCOME_RECORDED", StatusChanged = "STATUS_CHANGED", Submitted = "SUBMITTED", Updated = "UPDATED" } export type SubProcurementExpert = { __typename?: 'SubProcurementExpert'; active: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; displayName: Scalars['String']['output']; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; maxOpenRequests: Scalars['Int']['output']; /** Requests currently assigned, in progress or awaiting the customer. */ openRequests: Scalars['Int']['output']; specialties: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; }; export declare enum SubProcurementFeeStatus { Billed = "BILLED", /** A billing attempt is in flight. */ Billing = "BILLING", None = "NONE", PendingBilling = "PENDING_BILLING", Waived = "WAIVED" } export declare enum SubProcurementOutcome { NoSavings = "NO_SAVINGS", Succeeded = "SUCCEEDED" } export type SubProcurementRequest = { __typename?: 'SubProcurementRequest'; annualSavings: Scalars['Float']['output']; assignedAt?: Maybe<Scalars['DateTime']['output']>; authorizationVersion?: Maybe<Scalars['String']['output']>; authorizedAt?: Maybe<Scalars['DateTime']['output']>; /** The annual value savings are measured against: the quote, else the current price. */ baselineAnnualValue?: Maybe<Scalars['Float']['output']>; category?: Maybe<Scalars['String']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Savings over the whole negotiated term plus any one-off credit. */ contractSavings: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** What the workspace pays per year today. */ currentAnnualValue?: Maybe<Scalars['Float']['output']>; /** Date the decision must be made by (renewal date or signature deadline). */ deadline: Scalars['DateTime']['output']; /** Message thread and timeline, oldest first. Internal desk notes are included only for the desk. */ events: Array<SubProcurementEvent>; /** Id of the assigned procurement expert (see subAdminListProcurementExperts). */ expertId?: Maybe<Scalars['ID']['output']>; /** Display name of the assigned procurement expert. */ expertName?: Maybe<Scalars['String']['output']>; feeAmount: Scalars['Float']['output']; feeBilledAt?: Maybe<Scalars['DateTime']['output']>; feeRate: Scalars['Float']['output']; feeStatus: SubProcurementFeeStatus; feeWaivedReason?: Maybe<Scalars['String']['output']>; finalAnnualValue?: Maybe<Scalars['Float']['output']>; finalTermMonths?: Maybe<Scalars['Int']['output']>; firstYearSavings: Scalars['Float']['output']; id: Scalars['ID']['output']; /** Non-price terms won: price caps, extra seats, payment terms, exit clauses. */ nonPriceWins?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; oneTimeCredit: Scalars['Float']['output']; outcomeSummary?: Maybe<Scalars['String']['output']>; ownerId: Scalars['ID']['output']; productName?: Maybe<Scalars['String']['output']>; /** The vendor's quote or proposal, per year. */ quotedAnnualValue?: Maybe<Scalars['Float']['output']>; relationshipId?: Maybe<Scalars['ID']['output']>; requestType: SubProcurementRequestType; seats?: Maybe<Scalars['Int']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: SubProcurementStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; targetAnnualValue?: Maybe<Scalars['Float']['output']>; termMonths: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; vendorName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type SubProcurementRequestConnection = { __typename?: 'SubProcurementRequestConnection'; items: Array<SubProcurementRequest>; pageInfo: SubPageInfo; }; export declare enum SubProcurementRequestType { Consolidation = "CONSOLIDATION", Expansion = "EXPANSION", NewPurchase = "NEW_PURCHASE", Renewal = "RENEWAL" } export declare enum SubProcurementStatus { Assigned = "ASSIGNED", AwaitingCustomer = "AWAITING_CUSTOMER", Cancelled = "CANCELLED", Draft = "DRAFT", InProgress = "IN_PROGRESS", NoSavings = "NO_SAVINGS", Submitted = "SUBMITTED", Succeeded = "SUCCEEDED" } export type SubProcurementSummary = { __typename?: 'SubProcurementSummary'; noSavingsCount: Scalars['Int']['output']; openCount: Scalars['Int']['output']; succeededCount: Scalars['Int']['output']; totalCount: Scalars['Int']['output']; /** Savings and fees per currency (amounts are never converted). */ totals: Array<SubProcurementCurrencyTotal>; }; export type SubProcurementTerms = { __typename?: 'SubProcurementTerms'; authorizationText: Scalars['String']['output']; authorizationVersion: Scalars['String']['output']; feeRate: Scalars['Float']['output']; maxTermMonths: Scalars['Int']['output']; }; export type SubProvider = { __typename?: 'SubProvider'; category: SubProviderCategory; churnRiskScore?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; industry?: Maybe<Scalars['String']['output']>; language?: Maybe<Scalars['String']['output']>; logoFileId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; plans: Array<SubPlan>; region?: Maybe<Scalars['String']['output']>; slug?: Maybe<Scalars['String']['output']>; status: SubProviderStatus; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; vendorHealthScore?: Maybe<Scalars['Int']['output']>; websiteUrl?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type SubProviderAlternative = { __typename?: 'SubProviderAlternative'; activeRelationshipCount: Scalars['Int']['output']; capabilities: Array<Scalars['String']['output']>; matchReason: SubAlternativeMatch; name: Scalars['String']['output']; priceRanges: Array<SubPriceRange>; provider?: Maybe<SubProvider>; providerId: Scalars['ID']['output']; relationships: Array<SubAlternativeRelationship>; sharedCapabilities: Array<Scalars['String']['output']>; trackedRelationshipCount: Scalars['Int']['output']; }; export declare enum SubProviderCategory { AiService = "AI_SERVICE", Association = "ASSOCIATION", Community = "COMMUNITY", Contract = "CONTRACT", Education = "EDUCATION", Financial = "FINANCIAL", Insurance = "INSURANCE", License = "LICENSE", Membership = "MEMBERSHIP", Newsletter = "NEWSLETTER", NewsDigest = "NEWS_DIGEST", Other = "OTHER", Saas = "SAAS", Streaming = "STREAMING", Telecom = "TELECOM", Utility = "UTILITY" } export type SubProviderConnection = { __typename?: 'SubProviderConnection'; items: Array<SubProvider>; pageInfo: SubPageInfo; }; export type SubProviderPriceHistory = { __typename?: 'SubProviderPriceHistory'; points: Array<SubProviderPricePoint>; providerId: Scalars['ID']['output']; series: Array<SubProviderPriceSeries>; summary?: Maybe<SubProviderPriceSummary>; }; export type SubProviderPricePoint = { __typename?: 'SubProviderPricePoint'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; id: Scalars['ID']['output']; interval: SubBillingInterval; label?: Maybe<Scalars['String']['output']>; monthlyAmount?: Maybe<Scalars['Float']['output']>; observedAt: Scalars['DateTime']['output']; relationshipId?: Maybe<Scalars['ID']['output']>; source: SubPricePointSource; }; export type SubProviderPriceSeries = { __typename?: 'SubProviderPriceSeries'; changePercent?: Maybe<Scalars['Float']['output']>; currency: Scalars['String']['output']; firstMonthlyAmount?: Maybe<Scalars['Float']['output']>; interval: SubBillingInterval; key: Scalars['String']['output']; label: Scalars['String']['output']; latestMonthlyAmount?: Maybe<Scalars['Float']['output']>; points: Array<SubProviderPricePoint>; relationshipId?: Maybe<Scalars['ID']['output']>; source: SubPricePointSource; }; export type SubProviderPriceSummary = { __typename?: 'SubProviderPriceSummary'; currency: Scalars['String']['output']; latestChangeAt?: Maybe<Scalars['DateTime']['output']>; latestChangePercent?: Maybe<Scalars['Float']['output']>; maxMonthlyAmount?: Maybe<Scalars['Float']['output']>; minMonthlyAmount?: Maybe<Scalars['Float']['output']>; pointCount: Scalars['Int']['output']; priceChangeCount: Scalars['Int']['output']; }; export declare enum SubProviderStatus { Claimed = "CLAIMED", Deprecated = "DEPRECATED", Unverified = "UNVERIFIED", Verified = "VERIFIED" } export type SubRecordNegotiationOutcomeInput = { /** Write the new price back to the linked relationship. */ applyToRelationship?: InputMaybe<Scalars['Boolean']['input']>; /** New recurring price (same currency and interval). Required for SUCCEEDED unless a one-off credit was granted. */ newAmount?: InputMaybe<Scalars['Float']['input']>; oneTimeCredit?: InputMaybe<Scalars['Float']['input']>; outcome: SubNegotiationOutcome; summary?: InputMaybe<Scalars['String']['input']>; }; export type SubRecordProcurementOutcomeInput = { /** Write the negotiated price back to the linked relationship (in its billing interval). */ applyToRelationship?: InputMaybe<Scalars['Boolean']['input']>; /** Final annual contract value (same currency). Required for SUCCEEDED. */ finalAnnualValue?: InputMaybe<Scalars['Float']['input']>; /** Final contract term in months (defaults to the requested term). */ finalTermMonths?: InputMaybe<Scalars['Int']['input']>; nonPriceWins?: InputMaybe<Scalars['String']['input']>; oneTimeCredit?: InputMaybe<Scalars['Float']['input']>; outcome: SubProcurementOutcome; summary?: InputMaybe<Scalars['String']['input']>; }; export type SubRecurringCharge = { __typename?: 'SubRecurringCharge'; /** lastAmount expressed per year. */ annualCost: Scalars['Float']['output']; averageAmount: Scalars['Float']['output']; /** Detection confidence 0-100. */ confidence: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; dismissedAt?: Maybe<Scalars['DateTime']['output']>; displayName: Scalars['String']['output']; firstChargedOn: Scalars['DateTime']['output']; id: Scalars['ID']['output']; interval: SubBillingInterval; lastAmount: Scalars['Float']['output']; lastChargedOn: Scalars['DateTime']['output']; merchantKey: Scalars['String']['output']; nextExpectedOn?: Maybe<Scalars['DateTime']['output']>; occurrences: Scalars['Int']['output']; providerId?: Maybe<Scalars['ID']['output']>; relationshipId?: Maybe<Scalars['ID']['output']>; status: SubRecurringChargeStatus; trackedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; }; export type SubRecurringChargeConnection = { __typename?: 'SubRecurringChargeConnection'; items: Array<SubRecurringCharge>; pageInfo: SubPageInfo; }; export declare enum SubRecurringChargeStatus { Detected = "DETECTED", Dismissed = "DISMISSED", Tracked = "TRACKED" } export type SubRelationship = { __typename?: 'SubRelationship'; amount: Scalars['Float']['output']; assets: Array<SubAsset>; autoRenew: Scalars['Boolean']['output']; cancelledAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** Department / team / cost centre the spend is allocated to (null = unallocated). */ department?: Maybe<Scalars['String']['output']>; discoverySource: SubDiscoverySource; entitlements: Array<SubEntitlement>; /** * Computed Subscription Health Score, 0-100: entitlement usage (40%), paid * invoice share (25%), renewal price stability (20%) and portfolio overlap * (15%). Refreshed by every agent run and by `subRecomputeHealthScores`; null * until first computed. */ healthScore?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; interval: SubBillingInterval; invoices: Array<SubInvoice>; kind: SubRelationshipKind; label: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; ownerId: Scalars['ID']['output']; plan?: Maybe<SubPlan>; planId?: Maybe<Scalars['ID']['output']>; provider?: Maybe<SubProvider>; providerId?: Maybe<Scalars['ID']['output']>; renewalEvents: Array<SubRenewalEvent>; renewsAt?: Maybe<Scalars['DateTime']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: SubRelationshipStatus; tags: Array<Scalars['String']['output']>; trialEndsAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubRelationshipConnection = { __typename?: 'SubRelationshipConnection'; items: Array<SubRelationship>; pageInfo: SubPageInfo; }; export declare enum SubRelationshipKind { Contract = "CONTRACT", Enrollment = "ENROLLMENT", License = "LICENSE", Membership = "MEMBERSHIP", Newsletter = "NEWSLETTER", RecurringPayment = "RECURRING_PAYMENT", Subscription = "SUBSCRIPTION", Trial = "TRIAL" } export declare enum SubRelationshipStatus { Active = "ACTIVE", Cancelled = "CANCELLED", Expired = "EXPIRED", Lapsed = "LAPSED", PastDue = "PAST_DUE", Paused = "PAUSED", Trial = "TRIAL" } export type SubRenewalEvent = { __typename?: 'SubRenewalEvent'; amount?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; currency?: Maybe<Scalars['String']['output']>; detail?: Maybe<Scalars['String']['output']>; eventType: Scalars['String']['output']; id: Scalars['ID']['output']; notified: Scalars['Boolean']['output']; occursAt: Scalars['DateTime']['output']; relationshipId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubRenewalEventConnection = { __typename?: 'SubRenewalEventConnection'; items: Array<SubRenewalEvent>; pageInfo: SubPageInfo; }; export type SubRenewalForecast = { __typename?: 'SubRenewalForecast'; currency: Scalars['String']['output']; from: Scalars['DateTime']['output']; generatedAt: Scalars['DateTime']['output']; months: Array<SubRenewalForecastMonth>; otherCurrencyTotals: Array<SubCurrencyAmount>; /** Distinct relationships renewing in the range, all currencies. */ relationshipCount: Scalars['Int']['output']; /** Renewals in the forecast currency across the whole range. */ renewalCount: Scalars['Int']['output']; statuses: Array<SubRelationshipStatus>; to: Scalars['DateTime']['output']; /** Renewal charges in the forecast currency across the whole range. */ totalAmount: Scalars['Float']['output']; trialWindowDays: Scalars['Int']['output']; /** Trials ending within trialWindowDays, soonest first. Empty when none end in the window. */ trialsEndingSoon: Array<SubTrialEnding>; /** True when the workspace has more dated relationships than one forecast aggregates. */ truncated: Scalars['Boolean']['output']; }; export type SubRenewalForecastItem = { __typename?: 'SubRenewalForecastItem'; /** Total renewal charges of this relationship inside the month. */ amount: Scalars['Float']['output']; autoRenew: Scalars['Boolean']['output']; currency: Scalars['String']['output']; /** Whole days from now until renewsAt (0 when it renews today). */ daysRemaining: Scalars['Int']['output']; healthScore?: Maybe<Scalars['Int']['output']>; interval: SubBillingInterval; kind: SubRelationshipKind; label: Scalars['String']['output']; /** True when an AI decision is waiting on this relationship or its health score is low. */ needsReview: Scalars['Boolean']['output']; /** Renewals of this relationship inside the month (more than one for daily or weekly plans). */ occurrenceCount: Scalars['Int']['output']; /** An open (proposed or flagged) AI decision about this relationship. */ openDecisionId?: Maybe<Scalars['ID']['output']>; openDecisionKind?: Maybe<SubDecisionKind>; providerId?: Maybe<Scalars['ID']['output']>; providerName?: Maybe<Scalars['String']['output']>; relationshipId: Scalars['ID']['output']; reminderAt?: Maybe<Scalars['DateTime']['output']>; /** The pending reminder on this relationship, if one is set. */ reminderId?: Maybe<Scalars['ID']['output']>; /** First renewal of this relationship inside the month. */ renewsAt: Scalars['DateTime']['output']; status: SubRelationshipStatus; }; export type SubRenewalForecastMonth = { __typename?: 'SubRenewalForecastMonth'; /** Renewal charges in the forecast currency. */ amount: Scalars['Float']['output']; endsAt: Scalars['DateTime']['output']; /** Every relationship renewing in the month, all currencies, soonest first. */ items: Array<SubRenewalForecastItem>; /** Calendar month as YYYY-MM (UTC). */ key: Scalars['String']['output']; /** 1-12. */ month: Scalars['Int']['output']; otherCurrencyTotals: Array<SubCurrencyAmount>; /** Renewals in the forecast currency. */ renewalCount: Scalars['Int']['output']; startsAt: Scalars['DateTime']['output']; year: Scalars['Int']['output']; }; export type SubRenewalQuarter = { __typename?: 'SubRenewalQuarter'; amount: Scalars['Float']['output']; endsAt: Scalars['DateTime']['output']; label: Scalars['String']['output']; quarter: Scalars['Int']['output']; relationshipCount: Scalars['Int']['output']; renewalCount: Scalars['Int']['output']; startsAt: Scalars['DateTime']['output']; topRenewals: Array<SubUpcomingRenewal>; year: Scalars['Int']['output']; }; export declare enum SubReportStatus { Dismissed = "DISMISSED", Pending = "PENDING", Resolved = "RESOLVED" } /** Category of data the retention job governs, each with its own retention period. */ export declare enum SubRetentionDataClass { /** Resolved adapter submissions and marketplace reports. */ AdminModerationRecords = "ADMIN_MODERATION_RECORDS", /** Scheduled agent sweep audit rows. */ AgentSweepHistory = "AGENT_SWEEP_HISTORY", /** Ingested email/channel messages, purged a fixed period after receivedAt. */ IngestedMessages = "INGESTED_MESSAGES", /** Agent decisions in a final state (applied, dismissed, flagged, stale). */ ResolvedDecisions = "RESOLVED_DECISIONS", /** Rows soft-deleted by users, purged a fixed period after deletedAt. */ SoftDeletedRecords = "SOFT_DELETED_RECORDS" } /** Outcome of one retention rule (one data class on one table) in a run. */ export type SubRetentionRuleResult = { __typename?: 'SubRetentionRuleResult'; /** False when the rule hit its per-run batch cap or failed; the next run continues. */ complete: Scalars['Boolean']['output']; /** Rows older than this instant are expired. */ cutoff: Scalars['DateTime']['output']; dataClass: SubRetentionDataClass; error?: Maybe<Scalars['String']['output']>; retentionDays: Scalars['Int']['output']; /** Rows deleted, or rows that would be deleted when the run is a dry run. */ rows: Scalars['Int']['output']; table: Scalars['String']['output']; }; /** * Set by wspace-scheduler-svc at fire time: idempotencyKey is * "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, * timezone, scheduleId and eventId. */ export type SubRunAgentSweepInput = { /** * Run every enabled agent even if it ran recently. Status gating, the kill * switch, the decision cap and the quota pre-flight still apply. */ force?: InputMaybe<Scalars['Boolean']['input']>; idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** * Set by wspace-scheduler-svc at fire time: idempotencyKey is * "<scheduleId>:<scheduledTime>" and triggerData carries the fire context. */ export type SubRunBankSyncInput = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; /** One edge of a whole-graph save; the node ids are the ids used in the same save. */ export type SubSaveWorkflowEdgeInput = { label?: InputMaybe<Scalars['String']['input']>; sourceHandle?: InputMaybe<Scalars['String']['input']>; sourceNodeId: Scalars['ID']['input']; targetNodeId: Scalars['ID']['input']; }; export type SubSaveWorkflowGraphInput = { edges: Array<SubSaveWorkflowEdgeInput>; nodes: Array<SubSaveWorkflowNodeInput>; }; /** * One node of a whole-graph save. `id` is the node's existing id to keep it, or * any client placeholder (e.g. "new-1") to create it. */ export type SubSaveWorkflowNodeInput = { config?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; kind: SubWorkflowNodeKind; label?: InputMaybe<Scalars['String']['input']>; positionX?: InputMaybe<Scalars['Float']['input']>; positionY?: InputMaybe<Scalars['Float']['input']>; }; /** Open (PROPOSED) decisions of one recommendation in one currency. */ export type SubSavingsGroup = { __typename?: 'SubSavingsGroup'; annualSavings: Scalars['Float']['output']; count: Scalars['Int']['output']; currency: Scalars['String']['output']; recommendation: SubDecisionRecommendation; }; export type SubSavingsOverview = { __typename?: 'SubSavingsOverview'; /** * Bundle suggestions: the duplicate and overlap groups (subDetectOverlaps) * that recommend cancelling something and were not dismissed. Consolidating * one keeps `keepRelationshipId` and cancels `dropRelationshipIds`. */ bundles: Array<SubOverlap>; generatedAt: Scalars['DateTime']['output']; groups: Array<SubSavingsGroup>; /** Open (PROPOSED) decisions counted. */ openDecisions: Scalars['Int']['output']; totals: Array<SubSavingsTotal>; /** * True when the workspace has more open decisions or live subscriptions than * one overview scans. */ truncated: Scalars['Boolean']['output']; }; /** * Headline yearly saving in one currency, counting every subscription once (the * largest saving among its open recommendations and bundle suggestions). */ export type SubSavingsTotal = { __typename?: 'SubSavingsTotal'; annualSavings: Scalars['Float']['output']; currency: Scalars['String']['output']; /** Part of `annualSavings` that comes from bundle suggestions. */ fromBundles: Scalars['Float']['output']; /** Part of `annualSavings` that comes from open decisions. */ fromDecisions: Scalars['Float']['output']; }; export type SubSetSpendBudgetInput = { currency: Scalars['String']['input']; /** Department to budget; omit or leave empty for the company-wide budget. */ department?: InputMaybe<Scalars['String']['input']>; /** Monthly budget. Null, zero or a negative amount removes the budget. */ monthlyAmount?: InputMaybe<Scalars['Float']['input']>; }; export type SubShadowItItem = { __typename?: 'SubShadowItItem'; department?: Maybe<Scalars['String']['output']>; detectedAt: Scalars['DateTime']['output']; discoverySource: SubDiscoverySource; label: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; providerId?: Maybe<Scalars['ID']['output']>; providerName?: Maybe<Scalars['String']['output']>; reason: SubShadowItReason; relationshipId: Scalars['ID']['output']; }; export declare enum SubShadowItReason { /** Linked to a provider that has been deprecated (removed from the catalogue). */ DeprecatedProvider = "DEPRECATED_PROVIDER", /** Discovered automatically and not linked to any provider in the catalogue. */ Uncatalogued = "UNCATALOGUED", /** Discovered automatically and linked to a provider nobody has verified. */ UnverifiedProvider = "UNVERIFIED_PROVIDER" } export type SubSpendBudget = { __typename?: 'SubSpendBudget'; currency: Scalars['String']['output']; /** Department the budget applies to; null for the company-wide budget. */ department?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; monthlyAmount: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; }; export type SubSpendRiskFlag = { __typename?: 'SubSpendRiskFlag'; department?: Maybe<Scalars['String']['output']>; detail: Scalars['String']['output']; kind: SubSpendRiskKind; label: Scalars['String']['output']; monthlySpend: Scalars['Float']['output']; relationshipId: Scalars['ID']['output']; severity: SubSpendRiskSeverity; }; export declare enum SubSpendRiskKind { HighCostAi = "HIGH_COST_AI", MissingInvoice = "MISSING_INVOICE", PastDue = "PAST_DUE", UntrackedTrial = "UNTRACKED_TRIAL" } export declare enum SubSpendRiskSeverity { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type SubSpendTrendPoint = { __typename?: 'SubSpendTrendPoint'; at: Scalars['DateTime']['output']; /** Monthly run-rate of recurring spend at this instant. */ monthlySpend: Scalars['Float']['output']; }; export declare enum SubStatementAmountConvention { /** Money out is negative (most bank exports). The default. */ OutflowNegative = "OUTFLOW_NEGATIVE", /** Money out is positive (most card exports). */ OutflowPositive = "OUTFLOW_POSITIVE" } export declare enum SubStatementDateFormat { /** 02/11/2026. */ Dmy = "DMY", /** 11/02/2026. The default. */ Mdy = "MDY", /** 2026-11-02 (ISO dates are always accepted). */ Ymd = "YMD" } export type SubStatementRowInput = { /** Signed amount, read with the import's amountConvention. */ amount: Scalars['Float']['input']; category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; date: Scalars['String']['input']; description: Scalars['String']['input']; merchantName?: InputMaybe<Scalars['String']['input']>; }; export declare enum SubSubmissionStatus { Approved = "APPROVED", Pending = "PENDING", Rejected = "REJECTED" } export type SubSubmitNegotiationInput = { /** Required (true) for MANAGED requests: the customer accepts the authorisation text. */ acceptAuthorization?: InputMaybe<Scalars['Boolean']['input']>; /** The authorisation version the customer was shown (subNegotiationTerms). */ authorizationVersion?: InputMaybe<Scalars['String']['input']>; }; export type SubSubmitProcurementRequestInput = { /** Must be true: the customer accepts the procurement authorisation text. */ acceptAuthorization: Scalars['Boolean']['input']; /** The authorisation version the customer was shown (subProcurementTerms). */ authorizationVersion: Scalars['String']['input']; }; export type SubTrackRecurringChargeInput = { /** Relationship label (default: the charge's display name). */ label?: InputMaybe<Scalars['String']['input']>; /** Link to this registry provider instead of the matched one. */ providerId?: InputMaybe<Scalars['ID']['input']>; }; export type SubTrialEnding = { __typename?: 'SubTrialEnding'; /** What the relationship charges once the trial converts. */ amount: Scalars['Float']['output']; autoRenew: Scalars['Boolean']['output']; currency: Scalars['String']['output']; daysRemaining: Scalars['Int']['output']; interval: SubBillingInterval; label: Scalars['String']['output']; openDecisionId?: Maybe<Scalars['ID']['output']>; openDecisionKind?: Maybe<SubDecisionKind>; providerId?: Maybe<Scalars['ID']['output']>; providerName?: Maybe<Scalars['String']['output']>; relationshipId: Scalars['ID']['output']; reminderAt?: Maybe<Scalars['DateTime']['output']>; reminderId?: Maybe<Scalars['ID']['output']>; trialEndsAt: Scalars['DateTime']['output']; }; export type SubUpcomingRenewal = { __typename?: 'SubUpcomingRenewal'; /** Total renewal charges of this relationship in the quarter. */ amount: Scalars['Float']['output']; autoRenew: Scalars['Boolean']['output']; department?: Maybe<Scalars['String']['output']>; label: Scalars['String']['output']; relationshipId: Scalars['ID']['output']; /** First renewal of this relationship in the quarter. */ renewsAt: Scalars['DateTime']['output']; }; export type SubUpdateNegotiationInput = { accountHolderName?: InputMaybe<Scalars['String']['input']>; accountNumber?: InputMaybe<Scalars['String']['input']>; billType?: InputMaybe<SubNegotiationBillType>; competitorOffer?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; currentAmount?: InputMaybe<Scalars['Float']['input']>; interval?: InputMaybe<SubBillingInterval>; mode?: InputMaybe<SubNegotiationMode>; notes?: InputMaybe<Scalars['String']['input']>; providerName?: InputMaybe<Scalars['String']['input']>; targetAmount?: InputMaybe<Scalars['Float']['input']>; targetOutcome?: InputMaybe<SubNegotiationTarget>; tenureMonths?: InputMaybe<Scalars['Int']['input']>; }; export type SubUpdateProcurementRequestInput = { category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; currentAnnualValue?: InputMaybe<Scalars['Float']['input']>; deadline?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; productName?: InputMaybe<Scalars['String']['input']>; quotedAnnualValue?: InputMaybe<Scalars['Float']['input']>; requestType?: InputMaybe<SubProcurementRequestType>; seats?: InputMaybe<Scalars['Int']['input']>; targetAnnualValue?: InputMaybe<Scalars['Float']['input']>; termMonths?: InputMaybe<Scalars['Int']['input']>; vendorName?: InputMaybe<Scalars['String']['input']>; }; export type SubUpdateProviderInput = { category?: InputMaybe<SubProviderCategory>; churnRiskScore?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; industry?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; logoFileId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; region?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SubProviderStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; vendorHealthScore?: InputMaybe<Scalars['Int']['input']>; websiteUrl?: InputMaybe<Scalars['String']['input']>; }; export type SubUpdateRelationshipInput = { amount?: InputMaybe<Scalars['Float']['input']>; autoRenew?: InputMaybe<Scalars['Boolean']['input']>; currency?: InputMaybe<Scalars['String']['input']>; /** Department / team / cost centre; an empty string clears it. */ department?: InputMaybe<Scalars['String']['input']>; /** @deprecated healthScore is computed from recorded signals; a supplied value is ignored. Use subRecomputeHealthScores. */ healthScore?: InputMaybe<Scalars['Int']['input']>; interval?: InputMaybe<SubBillingInterval>; kind?: InputMaybe<SubRelationshipKind>; label?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; planId?: InputMaybe<Scalars['ID']['input']>; providerId?: InputMaybe<Scalars['ID']['input']>; renewsAt?: InputMaybe<Scalars['DateTime']['input']>; startedAt?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; trialEndsAt?: InputMaybe<Scalars['DateTime']['input']>; }; export type SubUpdateWorkflowNodeInput = { config?: InputMaybe<Scalars['JSON']['input']>; label?: InputMaybe<Scalars['String']['input']>; positionX?: InputMaybe<Scalars['Float']['input']>; positionY?: InputMaybe<Scalars['Float']['input']>; }; export type SubUpsertProcurementExpertInput = { active?: InputMaybe<Scalars['Boolean']['input']>; displayName: Scalars['String']['input']; email?: InputMaybe<Scalars['String']['input']>; maxOpenRequests?: InputMaybe<Scalars['Int']['input']>; specialties?: InputMaybe<Array<Scalars['String']['input']>>; /** Platform user id of the expert. An existing expert with this userId is updated. */ userId: Scalars['ID']['input']; }; export type SubWorkflow = { __typename?: 'SubWorkflow'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** The workflow as a node graph (visual builder), with its validation result. */ graph: SubWorkflowGraph; id: Scalars['ID']['output']; lastRunAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; runCount: Scalars['Int']['output']; status: SubWorkflowStatus; /** * Ordered step list, projected from `graph` on every graph save (kept for * older readers; the graph is the source of truth). */ steps: Scalars['JSON']['output']; triggerEvent: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type SubWorkflowConnection = { __typename?: 'SubWorkflowConnection'; items: Array<SubWorkflow>; pageInfo: SubPageInfo; }; export type SubWorkflowEdge = { __typename?: 'SubWorkflowEdge'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; label?: Maybe<Scalars['String']['output']>; /** The CONDITION outlet this edge leaves from ("true" or "false"); null otherwise. */ sourceHandle?: Maybe<Scalars['String']['output']>; sourceNodeId: Scalars['ID']['output']; targetNodeId: Scalars['ID']['output']; workflowId: Scalars['ID']['output']; }; export type SubWorkflowGraph = { __typename?: 'SubWorkflowGraph'; edges: Array<SubWorkflowEdge>; issues: Array<SubWorkflowGraphIssue>; nodes: Array<SubWorkflowNode>; /** True when the graph has no issues and the workflow can be activated. */ valid: Scalars['Boolean']['output']; workflowId: Scalars['ID']['output']; }; /** * One reason a workflow graph cannot run yet. `code` is one of NO_TRIGGER, * MULTIPLE_TRIGGERS, TRIGGER_HAS_INCOMING, EMPTY_WORKFLOW, ORPHAN_NODE, CYCLE, * MISSING_CONFIG, CONDITION_NEEDS_OUTLET, BRANCH_NEEDS_TWO_PATHS, DANGLING_EDGE. */ export type SubWorkflowGraphIssue = { __typename?: 'SubWorkflowGraphIssue'; code: Scalars['String']['output']; edgeId?: Maybe<Scalars['ID']['output']>; message: Scalars['String']['output']; nodeId?: Maybe<Scalars['ID']['output']>; }; export type SubWorkflowNode = { __typename?: 'SubWorkflowNode'; config: Scalars['JSON']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: SubWorkflowNodeKind; label: Scalars['String']['output']; positionX: Scalars['Float']['output']; positionY: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workflowId: Scalars['ID']['output']; }; export type SubWorkflowNodeInput = { config?: InputMaybe<Scalars['JSON']['input']>; kind: SubWorkflowNodeKind; label?: InputMaybe<Scalars['String']['input']>; positionX?: InputMaybe<Scalars['Float']['input']>; positionY?: InputMaybe<Scalars['Float']['input']>; }; /** * The kind of a node on a workflow canvas. * TRIGGER starts the workflow (config: event). ACTION does something * (config: action, message). CONDITION routes through its "true" / "false" * outlets (config: expression). DELAY waits (config: durationMinutes). BRANCH * runs two or more paths in parallel. */ export declare enum SubWorkflowNodeKind { Action = "ACTION", Branch = "BRANCH", Condition = "CONDITION", Delay = "DELAY", Trigger = "TRIGGER" } export type SubWorkflowNodePositionInput = { nodeId: Scalars['ID']['input']; positionX: Scalars['Float']['input']; positionY: Scalars['Float']['input']; }; export declare enum SubWorkflowStatus { Active = "ACTIVE", Archived = "ARCHIVED", Draft = "DRAFT", Paused = "PAUSED" } export type SubmitApprovalRequestInput = { approverId?: InputMaybe<Scalars['ID']['input']>; billableHours?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; endDate: Scalars['DateTime']['input']; period: Scalars['String']['input']; startDate: Scalars['DateTime']['input']; totalHours: Scalars['Float']['input']; }; export type SubmitConnectorInput = { /** Header or query parameter name carrying the API key. Required for API_KEY connectors. */ apiKeyName?: InputMaybe<Scalars['String']['input']>; /** Required for API_KEY connectors. */ apiKeyPlacement?: InputMaybe<ConnectorApiKeyPlacement>; /** Optional word sent before the key in a header, e.g. `Token`. */ apiKeyPrefix?: InputMaybe<Scalars['String']['input']>; apiVersion?: InputMaybe<Scalars['String']['input']>; /** API_KEY, BEARER_TOKEN, BASIC_AUTH or OAUTH2. */ authType: AuthType; /** The API's https base URL. */ baseUrl: Scalars['String']['input']; category: ProviderCategory; /** Brand color as #RRGGBB. */ color?: InputMaybe<Scalars['String']['input']>; /** What the connector lets a workspace do (10 to 1000 characters). */ description: Scalars['String']['input']; docsUrl: Scalars['String']['input']; /** An https image URL or an `iconify:<set>:<name>` icon. */ icon?: InputMaybe<Scalars['String']['input']>; /** Lowercase slug naming your service, e.g. `acme-crm`. Must be unused. */ key: Scalars['String']['input']; name: Scalars['String']['input']; /** Required for OAUTH2 connectors. */ oauth?: InputMaybe<ConnectorOAuthInput>; privacyPolicyUrl: Scalars['String']['input']; publisherName: Scalars['String']['input']; repositoryUrl?: InputMaybe<Scalars['String']['input']>; /** A note for the reviewer. */ submitterNotes?: InputMaybe<Scalars['String']['input']>; supportEmail: Scalars['String']['input']; supportedFeatures?: InputMaybe<Array<Scalars['String']['input']>>; termsUrl?: InputMaybe<Scalars['String']['input']>; /** Semantic version, defaults to 1.0.0. */ version?: InputMaybe<Scalars['String']['input']>; website: Scalars['String']['input']; }; export type SubmitMtwInspectorQualificationInput = { credentialReference: Scalars['String']['input']; evidence: Array<MtwContainerEvidenceInput>; idempotencyKey: Scalars['String']['input']; issuerName: Scalars['String']['input']; scopes: Array<MtwContainerQualificationScope>; validFrom: Scalars['DateTime']['input']; validUntil: Scalars['DateTime']['input']; }; /** * Input for subscribing to a product. * Workspace ID is read from gateway context (x-workspace-id header). */ export type SubscribeProductInput = { /** Additional product configuration */ config?: InputMaybe<Scalars['JSON']['input']>; /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** Product ID to subscribe to */ productId: Scalars['ID']['input']; /** Tenant-specific endpoint URL for the product */ productTenantEndpoint: Scalars['String']['input']; }; /** * SubscribedProduct represents a product subscription for a workspace. * Links workspaces to external products and their tenant endpoints. */ export type SubscribedProduct = { __typename?: 'SubscribedProduct'; /** Additional product configuration as JSON */ config?: Maybe<Scalars['JSON']['output']>; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when subscription was created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when subscription was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier for the subscription */ id: Scalars['ID']['output']; /** Product ID from the product catalog (opaque reference) */ productId: Scalars['ID']['output']; /** Tenant-specific endpoint URL for the product */ productTenantEndpoint: Scalars['String']['output']; /** Timestamp when subscription was last updated */ updatedAt: Scalars['DateTime']['output']; /** Workspace ID that owns this subscription (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** Filter input for querying subscribed products */ export type SubscribedProductFilterInput = { /** Filter by operation context */ context?: InputMaybe<WorkspaceContextFilterInput>; /** Filter by product ID */ productId?: InputMaybe<Scalars['ID']['input']>; /** Filter by workspace ID */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Paginated list of subscribed products */ export type SubscribedProductList = { __typename?: 'SubscribedProductList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of subscribed product items */ items: Array<SubscribedProduct>; /** Total count of subscriptions matching the filter */ total: Scalars['Int']['output']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type Subscription = { __typename?: 'Subscription'; _analyticsPlaceholder?: Maybe<Scalars['String']['output']>; _empty?: Maybe<Scalars['String']['output']>; /** @deprecated use _emptyBotmanor */ _emptyBotlit?: Maybe<Scalars['String']['output']>; _emptyBotmanor?: Maybe<Scalars['String']['output']>; _emptyCollabkin?: Maybe<Scalars['String']['output']>; _emptyEventfullymanaged?: Maybe<Scalars['String']['output']>; _emptyExport?: Maybe<Scalars['String']['output']>; _emptyGgnomad?: Maybe<Scalars['String']['output']>; _emptyHeadshotmarketing?: Maybe<Scalars['String']['output']>; _emptyHousingVista?: Maybe<Scalars['String']['output']>; _emptyKadaikodi?: Maybe<Scalars['String']['output']>; _emptyMoveTheWheels?: Maybe<Scalars['String']['output']>; _emptySandbox?: Maybe<Scalars['String']['output']>; _emptyTimecampus?: Maybe<Scalars['String']['output']>; _emptyVibecontrols?: Maybe<Scalars['String']['output']>; _emptyWorkflow?: Maybe<Scalars['String']['output']>; _filesPlaceholder?: Maybe<Scalars['String']['output']>; _planmagnetHealth?: Maybe<Scalars['String']['output']>; a2aMessageReceived: A2AMessage; /** Subscribe to agent execution updates */ agentExecutionUpdated: Execution; /** Subscribe to agent heartbeats */ agentHeartbeat: VibecontrolsAgent; /** Subscribe to agent status changes */ agentStatusChanged: VibecontrolsAgent; /** * AI Agent steps of a run as the worker records them (BOFF-9936): one delivery per recorded batch, * usually one loop iteration. Delivers only what is recorded after the subscription opens, so a * late joiner queries `agentTrace` first and drops duplicates by step `id`. */ agentStepUpdated: Array<AgentStep>; /** * The AI Agent model replies of a run while the model writes them (BOFF-9938): one delivery per * batch of deltas, at most 20 a second per run. Every model turn ends with one delta whose done is * true, also when the node cannot stream (that delta then carries the whole reply). Carries no * history: the replies of finished turns are in agentTrace. */ agentTokenDelta: Array<AgentTokenDelta>; /** Subscribe to batch download progress updates */ batchDownloadProgress: BatchDownload; callParticipantChanged: CallParticipantChangedPayload; callStateChanged: CallSession; /** Subscribe to cleanup execution events */ cleanupExecuted: CleanupExecutedEvent; /** * Real-time presence/typing changes on one family tree (BOFF-4523), same * scoping rules as `colOnTreeChanged`. Thin events only — re-read * `colTreePresence(treeId:)` when one arrives. */ colOnPresenceChanged: ColPresenceEvent; /** * Real-time co-editing stream for one family tree (BOFF-4523): every * committed create/update/delete of the tree itself, its people, * relationships, memberships, memories, stories and events publishes a thin * ColTreeEvent here. `workspaceId` must equal the caller's own workspace and * `treeId` must name a tree inside it — otherwise NOT_FOUND, so a foreign * tree's existence is never leaked. The payload is a re-read trigger only: * subscribers re-query under their own permissions, never trust it as data. */ colOnTreeChanged: ColTreeEvent; /** Subscribe to collaborator join events */ collaboratorJoined: SessionCollaborator; /** Subscribe to collaborator leave events */ collaboratorLeft: SessionCollaborator; /** * Live feed of new comments on a post. Same circle-membership access check * as `comListComments`. */ comCommentAdded: ComComment; /** * Live feed of new/changed RSVPs for a single event (e.g. a live attendee * counter on an event detail page). */ comEventRsvpAdded: ComEventRsvp; /** * Live event-lifecycle updates (SCHEDULED -> LIVE -> COMPLETED/CANCELLED) and * detail edits for a single event. */ comEventUpdated: ComEvent; /** * Live WebRTC signaling messages addressed to the calling member within a * live stream. Only the host and active viewers may subscribe. */ comLiveStreamSignal: ComLiveStreamSignal; /** * Live updates for a stream (status/viewer-count changes). Subscribers must be * members of the circle that owns the stream. */ comLiveStreamUpdated: ComLiveStream; /** * Live feed of newly-published posts in a channel. Requires the calling * actor to be able to read the channel's circle (membership check enforced * in the resolver, not just the gateway's coarse workspace-scope gate). */ comPostAdded: ComPost; /** * Live participant-roster changes (join/leave/mute) for a voice session. * Subscribers must be members of the circle that owns the channel. */ comVoiceParticipantsChanged: ComVoiceSession; /** * Live WebRTC signaling messages addressed to the calling member within a * voice session (mesh peer-connection negotiation). */ comVoiceSignal: ComVoiceSignal; /** Subscribe to new comments on a file */ commentAdded: CommentAddedEvent; /** Subscribe to comment updates */ commentUpdated: CommentUpdatedEvent; /** Subscribe to configuration changes */ configurationChanged: Configuration; conversationAdded: Conversation; conversationDeleted: ConversationDeletedPayload; conversationUpdated: ConversationUpdatedPayload; dashboardUpdates: AnalyticsDashboard; /** * Subscribe to data sink data updates (v2.0) * Notifies when DataSink data is refreshed or updated */ dataSinkDataUpdated: DataSink; /** * Subscribe to workspace-level data sink updates (v2.0) * Notifies when any DataSink in workspace is created, updated, or deleted */ dataSinkUpdated: DataSinkUpdateEvent; /** @deprecated Compatibility subscription; the unused dependency engine is retired. */ dependencyTriggered: DependencyTriggeredUpdate; /** * Live participant-roster changes (join/leave/mute/promote) for a virtual * session. */ eventfullyManagedVirtualParticipantsChanged: EventfullyManagedVirtualSession; /** * Live WebRTC signaling messages addressed to the calling actor within a * virtual session (mesh/star peer-connection negotiation). */ eventfullyManagedVirtualSignal: EventfullyManagedVirtualSignal; executionUpdated: ExecutionUpdate; exportJobProgress: ExportJob; /** Subscribe to file deletion events */ fileDeleted: FileDeletedEvent; /** * Subscribe to all file events in a workspace * Real-time updates for file uploads, updates, deletions, etc. */ fileEvents: FileEventUnion; /** Subscribe to lock events for a specific file */ fileLockChanged: FileLock; /** Subscribe to file move events */ fileMoved: FileMovedEvent; /** Subscribe to file sharing events */ fileShared: FileSharedEvent; /** Subscribe to file update events */ fileUpdated: FileUpdatedEvent; /** Subscribe to file upload events */ fileUploaded: FileUploadedEvent; /** Subscribe to folder creation events */ folderCreated: FolderCreatedEvent; /** Subscribe to folder updates */ folderUpdated: FolderUpdatedEvent; /** * Subscribe to invitation status changes. * If invitationId is provided, only events for that invitation are returned. * Otherwise, all invitation status changes for the workspace are returned. */ invitationStatus?: Maybe<InvitationStatusEvent>; jobStatusUpdated: JobStatusUpdate; /** * Subscribe to member presence changes (online/away/offline) in a workspace. * Returns events when members' presence status changes. */ memberPresence?: Maybe<MemberPresenceEvent>; mentionAdded: Message; messageAdded: Message; messageDeleted: MessageDeletedPayload; messageReactionChanged: MessageReactionChangedPayload; messageReadReceiptAdded: MessageReadReceipt; messageUpdated: Message; /** Subscribe to metadata changes on a file */ metadataSet: MetadataSetEvent; metricUpdates: MetricResult; metricsUpdated: SchedulerMetricsUpdate; /** Subscribe to node state updates */ nodeStateUpdated: NodeState; /** Subscribe to collection activity */ onCollectionActivity: CollectionActivity; /** Subscribe to items added to collection */ onCollectionItemAdded: CollectionItem; /** Subscribe to items removed from collection */ onCollectionItemRemoved: CollectionItem; /** Subscribe to collection updates */ onCollectionUpdated: Collection; /** * Stream a single sandbox's state. Emitted on every status transition, * TTL extension, and deletion. Auto-closes once status reaches a terminal * state AND deletedAt is set. */ onSandboxStatusChanged: Sandbox; /** * Stream every sandbox lifecycle event for a workspace. Used by the list * page to keep the table fresh without polling. */ onSandboxesChanged: SandboxChangeEvent; /** Subscribe to workspace collections changes */ onWorkspaceCollectionsChanged: Collection; participantChanged: ParticipantChangedPayload; /** * Real-time doc updates and lock changes (CWF-18). Scoped to `workspaceId` — validated against the caller's OWN * workspace, same rule as every other subscription in this service — and to one `docId`. */ planmagnetOnDocUpdated: PlanmagnetDocEvent; /** * Real-time presence/typing changes on one target (CWF-24). Scoped to `workspaceId` — validated against the * caller's OWN workspace, same rule as every other subscription in this service — and to one * (`targetType`, `targetId`) pair; there is no workspace-wide presence firehose. */ planmagnetOnPresenceChanged: PlanmagnetPresenceEvent; /** * Real-time project updates (PDM-05). Scoped to `workspaceId` — which must * equal the caller's own workspace; a caller may never subscribe to another * tenant's topic — and optionally narrowed server-side to one `projectId`. * Delivers a thin event only (see `PlanmagnetProjectEvent`); re-read * `planmagnetProject(id)` for the record itself. */ planmagnetOnProjectUpdated: PlanmagnetProjectEvent; /** * Real-time roadmap collaboration (PRM-11): every committed create/update/delete of a roadmap, and every * create/update/move/reorder/delete of one of its items — including Now/Next/Later placement — publishes here. * Scoped to one specific `roadmapId`, inside the caller's own `workspaceId` — which must equal the caller's own * workspace, exactly like `planmagnetOnWorkItemUpdated`/`planmagnetOnDocUpdated`; a caller may never subscribe to * another tenant's topic. Delivers a thin event only (see `PlanmagnetRoadmapEvent`); re-read the roadmap or item * under its own permissions for the record. */ planmagnetOnRoadmapUpdated: PlanmagnetRoadmapEvent; /** * Real-time sprint updates (PDM-21) — create/update/delete, start/complete/ * cancel and add/remove work items all publish here. Scoped to `workspaceId` * — which must equal the caller's own workspace; a caller may never * subscribe to another tenant's topic — and optionally narrowed server-side * to one `sprintId` and/or one `projectId`. Delivers a thin event only (see * `PlanmagnetSprintEvent`); re-read `planmagnetSprint(id)` for the record. */ planmagnetOnSprintUpdated: PlanmagnetSprintEvent; /** * Real-time work item updates (PDM-11) — create/update/delete, board moves * and bulk updates all publish here. Scoped to `workspaceId` — which must * equal the caller's own workspace; a caller may never subscribe to another * tenant's topic — and optionally narrowed server-side to one `projectId` * and/or one `workItemId`. Delivers a thin event only (see * `PlanmagnetWorkItemEvent`); re-read `planmagnetWorkItem(id)` for the record. */ planmagnetOnWorkItemUpdated: PlanmagnetWorkItemEvent; presenceChanged: Presence; /** Subscribe to quota warnings for workspace */ quotaWarning: QuotaWarningEvent; /** * Live stream of AI tool events for an agent. Emits the recent-events * array (most recent first, capped at `limit`) on every new event so * the UI can replace the polling query with a single subscription. */ recentAiToolEventsStream: Array<AiToolEvent>; reportRunUpdates: ReportRun; /** * Live tail of a durable-function run's history: each event appended after the subscription opens. * It carries no history, so backfill with `workflowRunHistory` and de-duplicate by `seq`. A payload * above 64 KiB (or an offloaded one) arrives as null; read it from the history. */ runEventAppended: WorkflowRunEvent; /** * Live tail of a run's execution log. * * Emits batches (the executor buffers lines before publishing, so one event * carries several lines) and delivers ONLY what is appended after the * subscription opens. Backfill earlier lines with `workflowRunLogs` — this * stream has no history, so a late joiner must query first, then subscribe, * then drop duplicates by line `id`. */ runLogAppended: Array<RunLogLine>; /** * DEPRECATED — fires only on the ADDED action. Use * `securityMemberLifecycleEvents` for the full lifecycle. * @deprecated Single-action; use securityMemberLifecycleEvents which fans in every action. */ securityMemberEvents?: Maybe<MemberAddedPayload>; /** * Subscribe to vault membership change events within a workspace. Fans in * ADDED / REMOVED / ROLE_CHANGED triggers and emits a * `SecurityMemberEvent` envelope. `member` is null when `action` is REMOVED. */ securityMemberLifecycleEvents?: Maybe<SecurityMemberEvent>; /** * DEPRECATED — fires only on the CREATED action. Use * `securitySecretLifecycleEvents` for the full lifecycle. * @deprecated Single-action; use securitySecretLifecycleEvents which fans in every action. */ securitySecretEvents?: Maybe<SecretCreatedPayload>; /** * Subscribe to secret lifecycle events within a workspace. Fans in * CREATED / UPDATED / DELETED / ROTATED triggers and emits a * `SecuritySecretEvent` envelope. `secret` is null when `action` is DELETED. */ securitySecretLifecycleEvents?: Maybe<SecuritySecretEvent>; /** * DEPRECATED — fires only on the CREATED action because the underlying * resolver subscribes to a single pubsub trigger. Use * `securityVaultLifecycleEvents` for the full lifecycle (CREATED / UPDATED * / DELETED / LOCKED / UNLOCKED) discriminated by `action`. * @deprecated Single-action; use securityVaultLifecycleEvents which fans in every action. */ securityVaultEvents?: Maybe<VaultCreatedPayload>; /** * Subscribe to vault lifecycle events within a workspace. Fans in * CREATED / UPDATED / DELETED / LOCKED / UNLOCKED triggers and emits a * `SecurityVaultEvent` envelope. Cross-workspace events are filtered out * server-side. `vault` is null when `action` is DELETED. */ securityVaultLifecycleEvents?: Maybe<SecurityVaultEvent>; /** Subscribe to control change events */ sessionControlChanged?: Maybe<SessionCollaborator>; /** Subscribe to session output */ sessionOutputReceived: SessionOutput; /** Subscribe to new shares (notification for recipient) */ sessionSharedWithMe: SessionShare; /** Subscribe to session status changes */ sessionStatusChanged: Session; /** Subscribe to terminal output for a shared session (real-time streaming) */ sharedSessionOutput: SessionOutput; /** Fires when a tag is assigned to an entity in the given workspace. */ tagAssigned: TagAssignmentEvent; /** Fires when a tag is created in the given workspace. */ tagCreated: TagLifecycleEvent; /** Fires when a tag is soft-deleted in the given workspace. */ tagDeleted: TagLifecycleEvent; /** Fires when a tag assignment is removed in the given workspace. */ tagUnassigned: TagAssignmentEvent; /** Fires when a tag is updated in the given workspace. */ tagUpdated: TagLifecycleEvent; /** Subscribe to activity updates in a team */ teamActivityUpdates: ActivityLog; timerStarted: TimeEntry; timerStopped: TimeEntry; /** * Live updates for a single tunnel (status flips, provider state changes, * credential rotation, deletion). Replaces FE polling of the `tunnel(id)` * query. Backend publishes on every start/stop/update/rotate/delete and * whenever the agent reports a status change for the tunnel. * * Multi-replica safe: the pubsub event target is Redis Streams-backed * (see src/utils/pubsub.ts), so publishes from any replica fan out to * subscribers connected to any other replica. */ tunnelUpdated: Tunnel; typingIndicator: TypingIndicatorPayload; /** Subscribe to user-specific activity updates */ userActivityUpdates: ActivityLog; /** Subscribe to when user is mentioned in comments */ userMentioned: UserMentionedEvent; /** * Subscribe to real-time user presence on a file * Useful for showing who's currently viewing/editing a file */ userPresence: UserPresenceEvent; /** Real-time audit events for the workspace */ vibeAuditLogCreated: VibeAuditLog; /** Subscribe to vibe status changes */ vibeStatusChanged: Vibe; /** Subscribe to vibe updates */ vibeUpdated: Vibe; /** * Stream of all agent health probe results for the workspace. Replaces * client-side polling of vibecontrolsAgentHealthProbes — emits the full * array each time any agent's health changes (or on a 30s heartbeat). */ vibecontrolsAgentHealthProbeStream: Array<AgentHealthProbeResult>; /** * Stream of new agent log lines. Replaces the every-3s HTTP polling * loop in LogViewer that was hammering the gateway. The svc proxies * the agent's `/api/profiles/<profile>/logs` endpoint server-side * every ~2s, tracks the last-seen timestamp per subscription, and * yields ONLY the new entries each tick. Closes cleanly on client * disconnect. * * First emit is a backfill page of recent logs so the UI has * immediate context. */ vibecontrolsAgentLogStream: Array<AgentLogEntry>; /** * Stream of installed plugins on a single agent. Replaces FE polling of * the `agentPlugins` query. The svc proxies the agent's /api/plugins * every 30s server-side and emits the new list whenever it diverges * from the last snapshot. Plugins are agent-wide (BOFF-2612); the * stream is per-agent, not per-profile. */ vibecontrolsAgentPluginStream: Array<AgentPlugin>; /** Subscribe to catalog updates */ vibecontrolsCatalogUpdated: VibecontrolsCatalog; /** Subscribe to component updates */ vibecontrolsComponentUpdated: VibecontrolsComponent; /** Subscribe to scorecard updates for a specific owner */ vibecontrolsScorecardUpdated: VibecontrolsScorecard; /** Subscribe to newly published templates in a workspace */ vibecontrolsTemplatePublished: VibecontrolsTemplate; /** A batch job's progress: each page of runs it applied, and each change of status. */ workflowBatchOperationUpdated: WorkflowBatchJob; /** Subscribe to workflow completion */ workflowCompleted: WorkflowRun; /** Subscribe to workflow errors */ workflowError: WorkflowRun; /** Subscribe to workflow execution events */ workflowExecuted: FluidGridsWorkflow; /** Subscribe to workflow run updates */ workflowRunUpdated: WorkflowRun; /** Subscribe to workflow status updates */ workflowUpdated: FluidGridsWorkflow; /** * Subscribe to workspace activity events. * Returns events for all activity actions performed in the workspace. */ workspaceActivity?: Maybe<WorkspaceActivityEvent>; /** Subscribe to activity updates in a workspace */ workspaceActivityUpdates: ActivityLog; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionA2aMessageReceivedArgs = { agentId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionAgentExecutionUpdatedArgs = { executionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionAgentHeartbeatArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionAgentStatusChangedArgs = { agentId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionAgentStepUpdatedArgs = { runId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionAgentTokenDeltaArgs = { runId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionBatchDownloadProgressArgs = { downloadId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCallParticipantChangedArgs = { callSessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCallStateChangedArgs = { callSessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionColOnPresenceChangedArgs = { treeId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionColOnTreeChangedArgs = { treeId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCollaboratorJoinedArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCollaboratorLeftArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComCommentAddedArgs = { postId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComEventRsvpAddedArgs = { eventId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComEventUpdatedArgs = { eventId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComLiveStreamSignalArgs = { streamId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComLiveStreamUpdatedArgs = { streamId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComPostAddedArgs = { channelId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComVoiceParticipantsChangedArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionComVoiceSignalArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCommentAddedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionCommentUpdatedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionConfigurationChangedArgs = { scope?: InputMaybe<ConfigScope>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionConversationDeletedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionConversationUpdatedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionDashboardUpdatesArgs = { dashboardId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionDataSinkDataUpdatedArgs = { id: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionDataSinkUpdatedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionDependencyTriggeredArgs = { scheduleId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionEventfullyManagedVirtualParticipantsChangedArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionEventfullyManagedVirtualSignalArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionExecutionUpdatedArgs = { executionId?: InputMaybe<Scalars['ID']['input']>; scheduleId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionExportJobProgressArgs = { jobId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileDeletedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileEventsArgs = { input: FileEventSubscriptionInput; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileLockChangedArgs = { fileId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileMovedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileSharedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileUpdatedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFileUploadedArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFolderCreatedArgs = { parentFolderId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionFolderUpdatedArgs = { folderId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionInvitationStatusArgs = { invitationId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionJobStatusUpdatedArgs = { scheduleId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMemberPresenceArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMessageAddedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMessageDeletedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMessageReactionChangedArgs = { messageId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMessageReadReceiptAddedArgs = { messageId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMessageUpdatedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMetadataSetArgs = { fileId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMetricUpdatesArgs = { metricKeys: Array<Scalars['String']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionMetricsUpdatedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionNodeStateUpdatedArgs = { runId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnCollectionActivityArgs = { collectionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnCollectionItemAddedArgs = { collectionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnCollectionItemRemovedArgs = { collectionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnCollectionUpdatedArgs = { collectionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnSandboxStatusChangedArgs = { sandboxId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionOnSandboxesChangedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionParticipantChangedArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnDocUpdatedArgs = { docId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnPresenceChangedArgs = { targetId: Scalars['ID']['input']; targetType: PlanmagnetPresenceTargetType; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnProjectUpdatedArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnRoadmapUpdatedArgs = { roadmapId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnSprintUpdatedArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; sprintId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPlanmagnetOnWorkItemUpdatedArgs = { projectId?: InputMaybe<Scalars['ID']['input']>; workItemId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionPresenceChangedArgs = { userIds: Array<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionRecentAiToolEventsStreamArgs = { agentId: Scalars['ID']['input']; limit?: InputMaybe<Scalars['Int']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionReportRunUpdatesArgs = { reportRunId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionRunEventAppendedArgs = { runId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionRunLogAppendedArgs = { runId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecurityMemberEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecurityMemberLifecycleEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecuritySecretEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecuritySecretLifecycleEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecurityVaultEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSecurityVaultLifecycleEventsArgs = { workspaceId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSessionControlChangedArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSessionOutputReceivedArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSessionStatusChangedArgs = { sessionId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionSharedSessionOutputArgs = { sessionId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTagAssignedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTagCreatedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTagDeletedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTagUnassignedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTagUpdatedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTeamActivityUpdatesArgs = { teamId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTimerStartedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTimerStoppedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTunnelUpdatedArgs = { id: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionTypingIndicatorArgs = { conversationId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionUserActivityUpdatesArgs = { userId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionUserMentionedArgs = { userId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionUserPresenceArgs = { fileId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibeAuditLogCreatedArgs = { resourceType?: InputMaybe<VibeAuditResourceType>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibeStatusChangedArgs = { vibeId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibeUpdatedArgs = { vibeId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsAgentLogStreamArgs = { agentId: Scalars['ID']['input']; level?: InputMaybe<Scalars['String']['input']>; profile?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<Scalars['String']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsAgentPluginStreamArgs = { agentId: Scalars['ID']['input']; profile?: InputMaybe<Scalars['String']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsCatalogUpdatedArgs = { catalogId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsComponentUpdatedArgs = { componentId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsScorecardUpdatedArgs = { ownerId: Scalars['ID']['input']; ownerType: ScorecardOwnerType; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionVibecontrolsTemplatePublishedArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowBatchOperationUpdatedArgs = { id: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowCompletedArgs = { runId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowErrorArgs = { runId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowExecutedArgs = { workflowId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowRunUpdatedArgs = { runId: Scalars['String']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkflowUpdatedArgs = { workflowId?: InputMaybe<Scalars['ID']['input']>; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkspaceActivityArgs = { workspaceId: Scalars['ID']['input']; }; /** * Root subscription type for this subgraph. Defined here (not extended from the * base module) because the base module declares only Query and Mutation — this * is the first and only module in wspace-collabkin-svc with subscription fields. */ export type SubscriptionWorkspaceActivityUpdatesArgs = { workspaceId: Scalars['ID']['input']; }; /** Input for suggesting the next node on a canvas */ export type SuggestNextNodeInput = { /** Node the new node connects from */ afterNodeId: Scalars['String']['input']; baseVersion?: InputMaybe<Scalars['String']['input']>; /** Current canvas definition, when it has unsaved changes */ definitionJson?: InputMaybe<Scalars['JSON']['input']>; model?: InputMaybe<Scalars['String']['input']>; /** Optional description of the next step */ prompt?: InputMaybe<Scalars['String']['input']>; /** Stored workflow the canvas belongs to (needed to apply as a new version) */ workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** Suggested data source for a widget */ export type SuggestedDataSource = { __typename?: 'SuggestedDataSource'; /** Existing data source ID (if type is EXISTING) */ existingDataSourceId?: Maybe<Scalars['ID']['output']>; /** Explanation of data source suggestion */ explanation?: Maybe<Scalars['String']['output']>; /** Mock data for demo purposes */ mockData?: Maybe<Scalars['JSON']['output']>; /** Suggested new data source configuration */ newDataSourceConfig?: Maybe<Scalars['JSON']['output']>; /** Suggestion type */ type: SuggestedDataSourceType; }; /** Data source suggestion type */ export declare enum SuggestedDataSourceType { /** Use existing data source */ Existing = "EXISTING", /** Manual configuration required */ Manual = "MANUAL", /** Use mock data for demo */ Mock = "MOCK", /** Create new GraphQL data source */ NewGraphql = "NEW_GRAPHQL", /** Create new REST API data source */ NewRest = "NEW_REST" } /** * Per-workspace supervisor configuration. One row per workspace; the FluidGrids * scheduled job and workflow definition are opaque references owned by * wspace-workflow-svc. */ export type SupervisorConfig = { __typename?: 'SupervisorConfig'; cron: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; lastRunAt?: Maybe<Scalars['DateTime']['output']>; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; /** * One supervisor run. The auditable record that a review happened: what * triggered it, how many findings it persisted, and how many CRITICAL * notifications it delivered. Findings are AiPrediction rows whose * `metadata.runId` points back here. */ export type SupervisorRun = { __typename?: 'SupervisorRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; findings: Scalars['Int']['output']; id: Scalars['ID']['output']; notified: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: Scalars['String']['output']; trigger: Scalars['String']['output']; }; export type SupervisorRunList = { __typename?: 'SupervisorRunList'; hasMore: Scalars['Boolean']['output']; items: Array<SupervisorRun>; total: Scalars['Int']['output']; }; /** * Result of a supervisor run request. `run` is null when the request was * accepted but nothing ran (supervisor disabled, feature flag off, or another * run already in flight) — those are deliberate no-ops, not errors. */ export type SupervisorRunResult = { __typename?: 'SupervisorRunResult'; findings: Scalars['Int']['output']; run?: Maybe<SupervisorRun>; }; /** * Public tick endpoint called by the workspace's FluidGrids scheduled job (a * single `internal:http` node POSTing from inside wspace-workflow-svc). The * unauthenticated call is authorized by an HMAC-SHA256 of the workspaceId keyed * by INTERNAL_SERVICE_TOKEN — never a user token — and the supervisor refuses * to run when the feature flag or the workspace config is off (fail-closed). */ export type SupervisorTickInput = { dispatchSecret: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** A supplier of seeds, seedlings, fertilizer, or equipment. */ export type Supplier = { __typename?: 'Supplier'; address?: Maybe<Scalars['String']['output']>; /** Certification held by the supplier, e.g. "NPOP Certified". */ certification?: Maybe<Scalars['String']['output']>; /** Optional link to a ComradeCircle ComProfile (loose reference, no FK). */ comProfileId?: Maybe<Scalars['String']['output']>; contactPerson?: Maybe<Scalars['String']['output']>; /** Id of the shared SeedSupplier directory row this supplier was saved from, if any (BOFF-6096). */ directoryId?: Maybe<Scalars['String']['output']>; email?: Maybe<Scalars['String']['output']>; /** Universal entity-owned tags, the same set Crop and MarketplaceProduct carry. */ entityTags: Array<HealthyBowlTag>; id: Scalars['ID']['output']; location?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; phone?: Maybe<Scalars['String']['output']>; /** Free-form supplier type, e.g. Seed / Seedling / Fertilizer / Equipment. */ type?: Maybe<Scalars['String']['output']>; }; /** A single message in a supplier's conversation thread (backed by wspace-conversations-svc). */ export type SupplierMessage = { __typename?: 'SupplierMessage'; /** The author's user id (or service id for system-generated messages). */ authorId: Scalars['ID']['output']; /** Author type from conversations-svc, e.g. "user" or "service". */ authorType?: Maybe<Scalars['String']['output']>; /** Plain-text message body. */ body: Scalars['String']['output']; /** The wspace-conversations-svc Conversation id backing this supplier's thread. */ conversationId: Scalars['ID']['output']; /** Creation time as an ISO-8601 string. */ createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; supplierId: Scalars['ID']['output']; }; export type SupplyChainStep = { __typename?: 'SupplyChainStep'; date: Scalars['String']['output']; handler: Scalars['String']['output']; id: Scalars['ID']['output']; location: Scalars['String']['output']; step: Scalars['String']['output']; temperature?: Maybe<Scalars['Float']['output']>; verified: Scalars['Boolean']['output']; }; export type SyncCatalogNodeEndpointInput = { /** The node's manifest.json from fluidgrids-nodes, unchanged. */ manifest: Scalars['JSON']['input']; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; }; export type SyncCatalogNodeEndpointResult = { __typename?: 'SyncCatalogNodeEndpointResult'; /** sha256 of the canonical manifest, when it was valid. */ digest?: Maybe<Scalars['String']['output']>; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; /** Why the row was not updated, when it was not. */ reason?: Maybe<Scalars['String']['output']>; status: CatalogNodeSyncStatus; }; /** * AUT-10/24 — an item edited on both sides (in PlanMagnet, and in the external provider) since the mapping's * lastSyncedAt: recorded instead of one side silently overwriting the other. */ export type SyncConflict = { __typename?: 'SyncConflict'; createdAt: Scalars['DateTime']['output']; /** The fields this sync leg writes and that therefore could conflict */ fields: Array<Scalars['String']['output']>; id: Scalars['ID']['output']; /** When PlanMagnet's side (the WorkItem) was last updated, as measured when the conflict was detected */ localUpdatedAt: Scalars['DateTime']['output']; mapping?: Maybe<ExternalMapping>; mappingId: Scalars['String']['output']; /** * When the external provider's side (its own updated_at) was last updated, as measured when the conflict was * detected */ remoteUpdatedAt: Scalars['DateTime']['output']; /** Set once resolved: which side was applied, or MANUAL if the operator says they already fixed it outside the sync */ resolution?: Maybe<PlanmagnetSyncConflictResolution>; resolvedAt?: Maybe<Scalars['DateTime']['output']>; resolvedBy?: Maybe<Scalars['String']['output']>; status: PlanmagnetSyncConflictStatus; sync?: Maybe<ExternalSync>; syncId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export declare enum SyncDirection { Bidirectional = "BIDIRECTIONAL", Pull = "PULL", Push = "PUSH" } export type SyncFieldObservationsInput = { context: ContextInput; observations: Array<FieldObservationSyncInput>; }; /** * Input for cross-layer sync from global-tenant-svc. * Fields are contextually required based on the operation: * * - SYNC_WORKSPACE: workspaceId, tenantId, organizationId, userId (owner), name, slug * - ADD_MEMBER: workspaceId, userId, role (optional, defaults to "member") * - REMOVE_MEMBER: workspaceId, userId */ export type SyncFromGlobalInput = { /** Workspace name (required for SYNC_WORKSPACE) */ name?: InputMaybe<Scalars['String']['input']>; /** Operation to perform */ operation: SyncFromGlobalOperation; /** Organization ID (required for SYNC_WORKSPACE) */ organizationId?: InputMaybe<Scalars['ID']['input']>; /** Member role (for ADD_MEMBER, defaults to "member") */ role?: InputMaybe<Scalars['String']['input']>; /** Workspace slug (required for SYNC_WORKSPACE) */ slug?: InputMaybe<Scalars['String']['input']>; /** Workspace status (for SYNC_WORKSPACE, defaults to "ACTIVE") */ status?: InputMaybe<Scalars['String']['input']>; /** Tenant ID (required for SYNC_WORKSPACE) */ tenantId?: InputMaybe<Scalars['ID']['input']>; /** Workspace type (for SYNC_WORKSPACE, defaults to "workspace") */ type?: InputMaybe<Scalars['String']['input']>; /** User ID - owner for SYNC_WORKSPACE, target user for ADD_MEMBER/REMOVE_MEMBER */ userId?: InputMaybe<Scalars['ID']['input']>; /** * Workspace ID — required for all operations. The global-tenant-svc owns * workspace id generation; passing the canonical id here is what keeps * global and wspace layers in sync (BOFF-2508). */ workspaceId: Scalars['ID']['input']; }; /** Operations supported by the cross-layer sync mutation */ export declare enum SyncFromGlobalOperation { /** Sync member addition - creates WorkspaceMember record in wspace layer */ AddMember = "ADD_MEMBER", /** Sync member removal - soft-deletes WorkspaceMember record in wspace layer */ RemoveMember = "REMOVE_MEMBER", /** * Sync workspace creation - upserts workspace record + creates owner member. * Publishes workspace.created event to workspace NATS. */ SyncWorkspace = "SYNC_WORKSPACE" } /** Result of a cross-layer sync operation */ export type SyncFromGlobalResult = { __typename?: 'SyncFromGlobalResult'; /** Human-readable result message */ message?: Maybe<Scalars['String']['output']>; /** Operation that was performed */ operation: Scalars['String']['output']; /** Whether the operation succeeded */ success: Scalars['Boolean']['output']; /** Affected workspace ID */ workspaceId: Scalars['ID']['output']; }; export type SyncHealthyBowlAccountingInput = { context: ContextInput; endDate?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; /** TALLY | ZOHO_BOOKS | QUICKBOOKS */ provider: Scalars['String']['input']; startDate?: InputMaybe<Scalars['String']['input']>; }; export declare enum SyncProvider { AppleIcal = "APPLE_ICAL", Caldav = "CALDAV", GoogleCalendar = "GOOGLE_CALENDAR", OutlookCalendar = "OUTLOOK_CALENDAR" } /** * AUT-22/09 — per-run history for an ExternalSync: one row written at the end of every sync/import/export run, * never updated afterwards. */ export type SyncRun = { __typename?: 'SyncRun'; conflictCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; direction: PlanmagnetSyncDirection; errorCount: Scalars['Int']['output']; /** The run's errors, joined and truncated. Null when nothing errored. */ errorMessage?: Maybe<Scalars['String']['output']>; finishedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; itemsCreated: Scalars['Int']['output']; itemsSkipped: Scalars['Int']['output']; itemsUpdated: Scalars['Int']['output']; /** * AUT-12 — WorkItemCodeLink rows this run's code-link discovery pass created or refreshed (GITHUB only; 0 for * every other provider, and for a run that skipped discovery, e.g. no target project). */ linksUpserted: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: PlanmagnetSyncRunStatus; sync?: Maybe<ExternalSync>; syncId: Scalars['String']['output']; /** Actor who triggered this run (a user through the mutations, or a service/scheduled actor) */ triggeredBy: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type SyncWorkflowStaticDataInput = { /** Omit to leave the global blob untouched (no node in the run wrote to it). */ global?: InputMaybe<Scalars['JSON']['input']>; /** * Only the node-scoped blobs that were actually touched during the run — * omitted nodes are left untouched. */ nodes?: InputMaybe<Array<WorkerStaticDataNodeWriteInput>>; /** * The run this write is attributed to. Re-fetched and re-validated * server-side (mode === PRODUCTION, status === COMPLETED) before anything is * written — see the module doc comment. The caller's own belief about the * run's mode is NEVER trusted on its own. */ runId: Scalars['ID']['input']; workflowKey: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type SystemConfig = { __typename?: 'SystemConfig'; deploymentType: Scalars['String']['output']; environment: Scalars['String']['output']; hostIp: Scalars['String']['output']; hostname: Scalars['String']['output']; revision: Scalars['String']['output']; version: Scalars['String']['output']; }; export declare enum SystemEventType { AppInstalled = "APP_INSTALLED", AppUninstalled = "APP_UNINSTALLED", ConversationCreated = "CONVERSATION_CREATED", ConversationRenamed = "CONVERSATION_RENAMED", ParticipantJoined = "PARTICIPANT_JOINED", ParticipantLeft = "PARTICIPANT_LEFT", SettingsChanged = "SETTINGS_CHANGED" } export type SystemOverview = { __typename?: 'SystemOverview'; activeWorkflows: Scalars['Int']['output']; completedWorkflows: Scalars['Int']['output']; databaseSizeMb: Scalars['Float']['output']; failedWorkflows: Scalars['Int']['output']; queuedJobs: Scalars['Int']['output']; systemUptimeHours: Scalars['Float']['output']; totalNodes: Scalars['Int']['output']; totalUsers: Scalars['Int']['output']; totalWorkflows: Scalars['Int']['output']; }; /** A committed system workflow seeded into this workspace. */ export type SystemWorkflowInstallation = { __typename?: 'SystemWorkflowInstallation'; enabled: Scalars['Boolean']['output']; /** The person the workflow runs as. */ installedBy: Scalars['String']['output']; systemKey: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** The installed artifact version. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** Tag type (owned by tags module) */ export type Tag = { __typename?: 'Tag'; id: Scalars['ID']['output']; }; export type TagActivityItem = { __typename?: 'TagActivityItem'; action: Scalars['String']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; performedById: Scalars['ID']['output']; timestamp: Scalars['DateTime']['output']; }; export type TagAnalyticsDashboardInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagAnalyticsMetricInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagAnalyticsReportInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagAssetInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagAssignmentEvent = { __typename?: 'TagAssignmentEvent'; actorId?: Maybe<Scalars['ID']['output']>; assignmentId: Scalars['ID']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; tagId: Scalars['ID']['output']; vocabularyId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type TagAssignmentFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; entityId?: InputMaybe<Scalars['ID']['input']>; entityType?: InputMaybe<Scalars['String']['input']>; isValid?: InputMaybe<Scalars['Boolean']['input']>; source?: InputMaybe<AssignmentSource>; tagId?: InputMaybe<Scalars['ID']['input']>; tenantId?: InputMaybe<Scalars['ID']['input']>; validAt?: InputMaybe<Scalars['DateTime']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type TagAssignmentList = { __typename?: 'TagAssignmentList'; hasMore: Scalars['Boolean']['output']; items: Array<UniversalTagAssignment>; /** * Opaque cursor pointing to the item immediately after the last item in * `items`. Pass it back as `pagination.cursor` to fetch the next page. * Null when `hasMore` is false. */ nextCursor?: Maybe<Scalars['String']['output']>; total: Scalars['Int']['output']; }; export type TagAssignmentValidation = { __typename?: 'TagAssignmentValidation'; errors: Array<Scalars['String']['output']>; valid: Scalars['Boolean']['output']; }; export type TagBigConsoleEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export declare enum TagCardinality { Multiple = "MULTIPLE", Single = "SINGLE" } export type TagCoOccurrenceResponse = { __typename?: 'TagCoOccurrenceResponse'; coOccurrenceCount: Scalars['Int']['output']; tagId: Scalars['ID']['output']; tagLabel: Scalars['String']['output']; }; /** Input for tagging a comment */ export type TagCommentInput = { commentId: Scalars['ID']['input']; confidence?: InputMaybe<Scalars['Float']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; propagateToReplies?: InputMaybe<Scalars['Boolean']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagCondition = { operator?: InputMaybe<TagFilterOperator>; tagKey?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['String']['input']>; vocabularyKey?: InputMaybe<Scalars['String']['input']>; }; export type TagConnectionInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagCosEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; /** AssignmentSource (MANUAL, AUTOMATIC, IMPORTED, ...). Defaults to the service default. */ source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export declare enum TagDataType { Boolean = "BOOLEAN", Date = "DATE", Datetime = "DATETIME", Email = "EMAIL", Enum = "ENUM", Json = "JSON", Number = "NUMBER", String = "STRING", Url = "URL" } export type TagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; /** AssignmentSource (MANUAL, AUTOMATIC, IMPORTED, ...). Defaults to the service default. */ source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export type TagEntityTypeCount = { __typename?: 'TagEntityTypeCount'; count: Scalars['Int']['output']; entityType: Scalars['String']['output']; }; export type TagFileInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; /** Tag filter input for filtering by tags - matches module-tags */ export type TagFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; hasParent?: InputMaybe<Scalars['Boolean']['input']>; key?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; scope?: InputMaybe<TagScope>; search?: InputMaybe<Scalars['String']['input']>; tenantId?: InputMaybe<Scalars['ID']['input']>; vocabularyId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum TagFilterOperator { Contains = "CONTAINS", EndsWith = "ENDS_WITH", Equals = "EQUALS", Exists = "EXISTS", GreaterThan = "GREATER_THAN", In = "IN", LessThan = "LESS_THAN", NotContains = "NOT_CONTAINS", NotEquals = "NOT_EQUALS", NotExists = "NOT_EXISTS", NotIn = "NOT_IN", StartsWith = "STARTS_WITH" } export type TagFluidgridsEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; /** AssignmentSource (MANUAL, AUTOMATIC, IMPORTED, ...). Defaults to the service default. */ source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export type TagFolderInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagGroupInput = { groupId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; export type TagLifecycleEvent = { __typename?: 'TagLifecycleEvent'; actorId?: Maybe<Scalars['ID']['output']>; tagId: Scalars['ID']['output']; vocabularyId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export type TagList = { __typename?: 'TagList'; hasMore: Scalars['Boolean']['output']; items: Array<UniversalTag>; /** * Opaque cursor pointing to the item immediately after the last item in * `items`. Pass it back as `pagination.cursor` to fetch the next page. * Null when `hasMore` is false. */ nextCursor?: Maybe<Scalars['String']['output']>; total: Scalars['Int']['output']; }; export type TagNoteInput = { /** Additional metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** ID of the note to tag */ noteId: Scalars['ID']['input']; /** Assignment source (defaults to MANUAL) */ source?: InputMaybe<Scalars['String']['input']>; /** ID of the tag to assign */ tagId: Scalars['ID']['input']; /** Start of temporal validity */ validFrom?: InputMaybe<Scalars['DateTime']['input']>; /** End of temporal validity */ validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagProjectInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export declare enum TagRelationType { Antonym = "ANTONYM", Broader = "BROADER", Excludes = "EXCLUDES", Implies = "IMPLIES", Narrower = "NARROWER", Related = "RELATED", Synonym = "SYNONYM" } export type TagSandboxInput = { metadata?: InputMaybe<Scalars['JSON']['input']>; sandboxId: Scalars['ID']['input']; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagScheduledJobInput = { entityId: Scalars['ID']['input']; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; }; /** Tag scope enum - matches module-tags */ export declare enum TagScope { Global = "GLOBAL", Private = "PRIVATE", Tenant = "TENANT", Workspace = "WORKSPACE" } export type TagSearchFilter = { allOf?: InputMaybe<Array<TagCondition>>; anyOf?: InputMaybe<Array<TagCondition>>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; entityType?: InputMaybe<Scalars['String']['input']>; noneOf?: InputMaybe<Array<TagCondition>>; tenantId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type TagSecretInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TagUsageStats = { __typename?: 'TagUsageStats'; activeAssignments: Scalars['Int']['output']; recentActivity: Array<TagActivityItem>; topEntityTypes: Array<TagEntityTypeCount>; totalAssignments: Scalars['Int']['output']; uniqueEntities: Scalars['Int']['output']; }; export type TagVocabulary = { __typename?: 'TagVocabulary'; allowCustomTags: Scalars['Boolean']['output']; applicableEntityTypes?: Maybe<Array<Scalars['String']['output']>>; cardinality: TagCardinality; color?: Maybe<Scalars['String']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['ID']['output']>; dataType: TagDataType; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; displayOrder: Scalars['Int']['output']; enumValues?: Maybe<Array<Scalars['String']['output']>>; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; kind: VocabularyKind; maxValue?: Maybe<Scalars['Float']['output']>; minValue?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; predefinedValuesOnly: Scalars['Boolean']['output']; required: Scalars['Boolean']['output']; scope: VocabularyScope; /** Tags applied to THIS vocabulary itself (tags-on-tags self-integration). */ selfTagAssignments: Array<UniversalTagAssignment>; tagCount: Scalars['Int']['output']; tags: Array<UniversalTag>; tenantId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; validationPattern?: Maybe<Scalars['String']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type TagWorkspaceInput = { entityId: Scalars['ID']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; tagId: Scalars['ID']['input']; validFrom?: InputMaybe<Scalars['DateTime']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type TaggedEntity = { __typename?: 'TaggedEntity'; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; tagCount: Scalars['Int']['output']; tags: Array<UniversalTagAssignment>; }; export declare enum TagsExportFormat { Csv = "CSV", Json = "JSON" } export type TagsExportJobResponse = { __typename?: 'TagsExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array<Scalars['String']['output']>; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type TagsPaginationInput = { cursor?: InputMaybe<Scalars['String']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; export type Target = { __typename?: 'Target'; agents: Array<VibecontrolsAgent>; connectionConfig?: Maybe<Scalars['JSON']['output']>; connectionId?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Whether this Target has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; host?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; inboundConnections: Array<AgentConnection>; label?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Target (null if no direct grant). */ myRole?: Maybe<ShareRole>; name: Scalars['String']['output']; onBehalfOf: Scalars['String']['output']; port?: Maybe<Scalars['Int']['output']>; /** Active share grants on this Target (owner/MANAGER only). */ shares: Array<ShareGrant>; status: Scalars['String']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; tags: Array<Scalars['String']['output']>; type: TargetType; updatedAt: Scalars['DateTime']['output']; username?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type TargetAnalytics = { __typename?: 'TargetAnalytics'; byStatus: Array<AnalyticsBreakdownBucket>; byType: Array<AnalyticsBreakdownBucket>; /** Total agent connections */ connectionCount: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type TargetFilterInput = { search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<TargetType>; }; export type TargetImportResult = { __typename?: 'TargetImportResult'; created: Scalars['Int']['output']; skipped: Scalars['Int']['output']; skippedNames: Array<Scalars['String']['output']>; targets: Array<Target>; }; export type TargetList = { __typename?: 'TargetList'; hasMore: Scalars['Boolean']['output']; items: Array<Target>; total: Scalars['Int']['output']; }; export type TargetTestResult = { __typename?: 'TargetTestResult'; latencyMs?: Maybe<Scalars['Int']['output']>; message?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export declare enum TargetType { Direct = "DIRECT", Rdp = "RDP", Ssh = "SSH", Vnc = "VNC" } export type Task = { __typename?: 'Task'; assigneeId?: Maybe<Scalars['ID']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; estimatedHours?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; order: Scalars['Int']['output']; priority: Scalars['String']['output']; project: TimeCampusProject; projectId: Scalars['ID']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; trackedHours: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type TaskFilterInput = { assigneeId?: InputMaybe<Scalars['ID']['input']>; hasDueDate?: InputMaybe<Scalars['Boolean']['input']>; overdue?: InputMaybe<Scalars['Boolean']['input']>; priority?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type TaskListResponse = { __typename?: 'TaskListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<Task>; total: Scalars['Int']['output']; }; export type TaskOrderByInput = { direction: OrderDirection; field: TaskOrderField; }; export declare enum TaskOrderField { CreatedAt = "CREATED_AT", DueDate = "DUE_DATE", Order = "ORDER", Priority = "PRIORITY", Status = "STATUS", Title = "TITLE" } export declare enum TaskPriority { High = "HIGH", Low = "LOW", Medium = "MEDIUM", Urgent = "URGENT" } /** A task queue of the workspace. */ export type TaskQueue = { __typename?: 'TaskQueue'; createdAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; /** The environment a scoped queue serves; null for an unscoped queue (every environment) and for managed. */ environment?: Maybe<WorkflowEnvironment>; /** Null for the managed queue, which has no row. */ id?: Maybe<Scalars['ID']['output']>; kind: TaskQueueKind; /** Activity tasks dispatched per second at most (11 §2.11); null is unlimited. Workflow tasks are never throttled. */ maxTasksPerSecond?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; /** * How long an activity on the queue may wait for a worker before it times out with * SCHEDULE_TO_START, unless the activity sets its own schedule-to-start timeout (04 §8). */ workerUnavailableTimeoutSeconds: Scalars['Int']['output']; }; /** Whether a queue has workers right now (gap G21). */ export declare enum TaskQueueAvailability { /** A worker session polled the queue in the last two minutes. */ Available = "AVAILABLE", /** No worker and nothing waiting. */ Idle = "IDLE", /** The platform queue, served by the managed workers. */ Managed = "MANAGED", /** Tasks are waiting and no worker polled the queue in the last two minutes. */ Unavailable = "UNAVAILABLE", /** The task dispatcher is not configured, so pollers and backlog cannot be read. */ Unknown = "UNKNOWN" } /** A task queue's kind (Phase C, spec code-first 04 §8). */ export declare enum TaskQueueKind { /** The platform's queue, served by the managed workers; every workspace has it. */ Managed = "MANAGED", /** A queue the workspace created, served by its self-hosted workers. */ SelfHosted = "SELF_HOSTED" } /** The backlog and rates of one task kind (workflow tasks or activity tasks) of a queue. */ export type TaskQueueKindStats = { __typename?: 'TaskQueueKindStats'; /** Age of the oldest of them. */ approxBacklogAgeSeconds: Scalars['Float']['output']; /** Tasks of the workspace waiting in the dispatcher. */ backlogCount: Scalars['Int']['output']; priorities: Array<TaskQueuePriorityStats>; /** Tasks added and dispatched per second over the last full minute. */ tasksAddRate: Scalars['Float']['output']; tasksDispatchRate: Scalars['Float']['output']; }; /** The backlog of one priority level of a task kind. */ export type TaskQueuePriorityStats = { __typename?: 'TaskQueuePriorityStats'; approxBacklogAgeSeconds: Scalars['Float']['output']; backlogCount: Scalars['Int']['output']; /** 1 (highest) to 5. */ priority: Scalars['Int']['output']; }; /** taskQueueStats (spec code-first 11 §2.31). */ export type TaskQueueStats = { __typename?: 'TaskQueueStats'; activity: TaskQueueKindStats; environment?: Maybe<WorkflowEnvironment>; /** False when the workspace has no such queue. */ known: Scalars['Boolean']['output']; name: Scalars['String']['output']; /** Worker sessions that polled the queue in the last two minutes. */ pollers: Scalars['Int']['output']; workflow: TaskQueueKindStats; }; /** Worker availability of one queue name, its environment variants merged (gap G21). */ export type TaskQueueWorkerAvailability = { __typename?: 'TaskQueueWorkerAvailability'; /** Activity tasks of the workspace waiting in the dispatcher. */ activityBacklog: Scalars['Int']['output']; availability: TaskQueueAvailability; /** The environments the queue's scoped variants serve; empty for managed and an unscoped queue. */ environments: Array<WorkflowEnvironment>; kind: TaskQueueKind; name: Scalars['String']['output']; /** Age of the oldest waiting task of either kind. */ oldestBacklogAgeSeconds: Scalars['Float']['output']; /** Worker sessions that polled the queue in the last two minutes (0 for managed). */ pollers: Scalars['Int']['output']; /** Workflow tasks of the workspace waiting in the dispatcher. */ workflowBacklog: Scalars['Int']['output']; }; export declare enum TaskStatus { Cancelled = "CANCELLED", Done = "DONE", InProgress = "IN_PROGRESS", InReview = "IN_REVIEW", Todo = "TODO" } export declare enum TcpAccessLevel { Community = "COMMUNITY", Embargoed = "EMBARGOED", Public = "PUBLIC", Restricted = "RESTRICTED" } /** * One row per `tcpGenerateAiContext` call (append-only for the generation * fields — no update/delete mutation touches them; corrections are new runs). * The only mutable fields are the review ones, set exactly once by * `tcpReviewAiContext`. `promptSummary` is a non-PII summary, never the raw * prompt/reader-supplied text. */ export type TcpAgentRun = { __typename?: 'TcpAgentRun'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; collectionId?: Maybe<Scalars['ID']['output']>; /** The model's grounded answer. Null when `status` is `FAILED`. */ content?: Maybe<Scalars['String']['output']>; costUsd?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; error?: Maybe<Scalars['String']['output']>; /** * The exact citations/archive items/oral histories supplied to the model — * the caller's ground truth for what "citation-grounded" means for this run. */ groundingRefs: Array<TcpAiGroundingRef>; id: Scalars['ID']['output']; latencyMs?: Maybe<Scalars['Int']['output']>; model: Scalars['String']['output']; oralHistoryId?: Maybe<Scalars['ID']['output']>; promptSummary: Scalars['String']['output']; provider: Scalars['String']['output']; reviewNotes?: Maybe<Scalars['String']['output']>; /** * Human-in-the-loop gate. Every successful run starts `PENDING` — nothing * auto-approves a generated response. */ reviewStatus: TcpAiReviewStatus; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['ID']['output']>; status: TcpAgentRunStatus; storyId?: Maybe<Scalars['ID']['output']>; tokensIn?: Maybe<Scalars['Int']['output']>; tokensOut?: Maybe<Scalars['Int']['output']>; trigger: TcpAgentRunTrigger; /** * Self-reported confidence signal, parsed from the model's own leading * `UNCERTAINTY: LOW|MEDIUM|HIGH` line. Null when `status` is `FAILED`. */ uncertainty?: Maybe<TcpAiUncertainty>; useCase: TcpAiUseCase; workspaceId: Scalars['ID']['output']; }; export type TcpAgentRunConnection = { __typename?: 'TcpAgentRunConnection'; items: Array<TcpAgentRun>; pageInfo: TcpPageInfo; }; export declare enum TcpAgentRunStatus { Failed = "FAILED", Succeeded = "SUCCEEDED" } export declare enum TcpAgentRunTrigger { Event = "EVENT", Manual = "MANUAL", Scheduled = "SCHEDULED" } export declare enum TcpAiGroundingKind { ArchiveItem = "ARCHIVE_ITEM", Citation = "CITATION", OralHistory = "ORAL_HISTORY" } /** * One real, existing source actually handed to the model as grounding context * for a run — deterministic (built from the database), never LLM-reported. */ export type TcpAiGroundingRef = { __typename?: 'TcpAiGroundingRef'; kind: TcpAiGroundingKind; refId: Scalars['ID']['output']; title: Scalars['String']['output']; }; /** One selectable (provider, model) pair from the static AI model catalog. */ export type TcpAiModelInfo = { __typename?: 'TcpAiModelInfo'; capabilities: Array<Scalars['String']['output']>; isDefault: Scalars['Boolean']['output']; label: Scalars['String']['output']; model: Scalars['String']['output']; provider: Scalars['String']['output']; }; export declare enum TcpAiReviewStatus { Approved = "APPROVED", Pending = "PENDING", Rejected = "REJECTED" } /** Per-(provider, model) slice of the workspace AI spend rollup. */ export type TcpAiSpendModelBreakdown = { __typename?: 'TcpAiSpendModelBreakdown'; /** * Sum of the slice's per-run `costUsd` (billing's AiModelPrice rate card). * Runs recorded before pricing existed contribute 0. */ costUsd: Scalars['Float']['output']; model: Scalars['String']['output']; provider: Scalars['String']['output']; runs: Scalars['Int']['output']; tokensIn: Scalars['Int']['output']; tokensOut: Scalars['Int']['output']; }; /** * Workspace AI spend rollup over the `TcpAgentRun` ledger (BOFF-5803): totals * plus a per-(provider, model) breakdown. Counts SUCCEEDED runs only — failed * runs never carry token counts, so they have no spend. The figure is priced * from global-billing-svc's `AiModelPrice` rate card; it is the read model for * the AI Ops / trust surface (BOFF-3873) and the basis for plan allowances. */ export type TcpAiSpendSummary = { __typename?: 'TcpAiSpendSummary'; byModel: Array<TcpAiSpendModelBreakdown>; /** Total USD spend across the window's runs; 0 when nothing was priced yet. */ costUsd: Scalars['Float']['output']; runs: Scalars['Int']['output']; tokensIn: Scalars['Int']['output']; tokensOut: Scalars['Int']['output']; }; export declare enum TcpAiUncertainty { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum TcpAiUseCase { DraftFramingPrompt = "DRAFT_FRAMING_PROMPT", SuggestRelatedTraditions = "SUGGEST_RELATED_TRADITIONS", SummarizeEvidence = "SUMMARIZE_EVIDENCE", TranscribeOralHistory = "TRANSCRIBE_ORAL_HISTORY" } export type TcpArchiveItem = { __typename?: 'TcpArchiveItem'; accessLevel: TcpAccessLevel; collection?: Maybe<TcpCollection>; collectionId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; datedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; /** The artifact binary — references a wspace-files-svc File (never stored here). */ file?: Maybe<File>; id: Scalars['ID']['output']; kind: TcpArchiveItemKind; languages: Array<Scalars['String']['output']>; origin?: Maybe<Scalars['String']['output']>; provenance?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpArchiveItemConnection = { __typename?: 'TcpArchiveItemConnection'; items: Array<TcpArchiveItem>; pageInfo: TcpPageInfo; }; export declare enum TcpArchiveItemKind { Audio = "AUDIO", Document = "DOCUMENT", Manuscript = "MANUSCRIPT", Map = "MAP", Object = "OBJECT", Photograph = "PHOTOGRAPH", Video = "VIDEO" } export type TcpCitation = { __typename?: 'TcpCitation'; author?: Maybe<Scalars['String']['output']>; claim?: Maybe<TcpStoryClaim>; /** * The claim in the story's evidence trail this citation supports (null when * the citation is a general source not yet tied to a specific claim). */ claimId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; excerpt?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; provenance?: Maybe<Scalars['String']['output']>; publishedOn?: Maybe<Scalars['DateTime']['output']>; publisher?: Maybe<Scalars['String']['output']>; /** Scan of the primary source — references a wspace-files-svc File. */ sourceFile?: Maybe<File>; sourceType: TcpSourceType; story?: Maybe<TcpStory>; storyId: Scalars['ID']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; url?: Maybe<Scalars['String']['output']>; verification: TcpVerificationStatus; workspaceId: Scalars['ID']['output']; }; export type TcpCitationConnection = { __typename?: 'TcpCitationConnection'; items: Array<TcpCitation>; pageInfo: TcpPageInfo; }; export type TcpCollection = { __typename?: 'TcpCollection'; /** Cover image — references a wspace-files-svc File. */ cover?: Maybe<File>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; itemCount: Scalars['Int']['output']; items: TcpArchiveItemConnection; name: Scalars['String']['output']; oralHistories: TcpOralHistoryConnection; slug: Scalars['String']['output']; tradition?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpCollectionItemsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TcpCollectionOralHistoriesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TcpCollectionConnection = { __typename?: 'TcpCollectionConnection'; items: Array<TcpCollection>; pageInfo: TcpPageInfo; }; export type TcpCreateArchiveItemInput = { accessLevel?: InputMaybe<TcpAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; datedAt?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<TcpArchiveItemKind>; languages?: InputMaybe<Array<Scalars['String']['input']>>; origin?: InputMaybe<Scalars['String']['input']>; provenance?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type TcpCreateCitationInput = { author?: InputMaybe<Scalars['String']['input']>; /** Optional claim (on the same story) this citation supports. */ claimId?: InputMaybe<Scalars['ID']['input']>; excerpt?: InputMaybe<Scalars['String']['input']>; provenance?: InputMaybe<Scalars['String']['input']>; publishedOn?: InputMaybe<Scalars['DateTime']['input']>; publisher?: InputMaybe<Scalars['String']['input']>; sourceFileId?: InputMaybe<Scalars['ID']['input']>; sourceType?: InputMaybe<TcpSourceType>; storyId: Scalars['ID']['input']; title: Scalars['String']['input']; url?: InputMaybe<Scalars['String']['input']>; }; export type TcpCreateCollectionInput = { coverFileId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; slug: Scalars['String']['input']; tradition?: InputMaybe<Scalars['String']['input']>; }; export type TcpCreateDiscussionInput = { isInterfaith?: InputMaybe<Scalars['Boolean']['input']>; prompt?: InputMaybe<Scalars['String']['input']>; storyId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; }; export type TcpCreateOralHistoryInput = { accessLevel?: InputMaybe<TcpAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; /** * Attestation that the narrator's consent to record and preserve this * testimony was obtained. Must be `true` — `tcpRecordOralHistory` rejects the * mutation otherwise. There is no way to set this later via * `TcpUpdateOralHistoryInput`; withdrawal is via `tcpWithdrawOralHistory`. */ consentGiven: Scalars['Boolean']['input']; durationSecs?: InputMaybe<Scalars['Int']['input']>; language?: InputMaybe<Scalars['String']['input']>; narratorName?: InputMaybe<Scalars['String']['input']>; recordedAt?: InputMaybe<Scalars['DateTime']['input']>; recordingFileId?: InputMaybe<Scalars['ID']['input']>; summary?: InputMaybe<Scalars['String']['input']>; /** Free-form tradition / place / topic tags (e.g. "Tamil diaspora", "Chennai"). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; transcript?: InputMaybe<Scalars['String']['input']>; }; export type TcpCreateReplyInput = { body: Scalars['String']['input']; discussionId: Scalars['ID']['input']; perspective?: InputMaybe<Scalars['String']['input']>; }; export type TcpCreateStoryClaimInput = { bodyEnd?: InputMaybe<Scalars['Int']['input']>; /** * Explicit anchor offsets into the story body. Omit both to have the service * locate `text` in the body (the claim stays unanchored if it is not found). */ bodyStart?: InputMaybe<Scalars['Int']['input']>; storyId: Scalars['ID']['input']; text: Scalars['String']['input']; }; export type TcpCreateStoryInput = { authorId?: InputMaybe<Scalars['ID']['input']>; body?: InputMaybe<Scalars['String']['input']>; coverFileId?: InputMaybe<Scalars['ID']['input']>; editorId?: InputMaybe<Scalars['ID']['input']>; format?: InputMaybe<TcpStoryFormat>; isFeatured?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; readingMins?: InputMaybe<Scalars['Int']['input']>; slug: Scalars['String']['input']; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; topicId?: InputMaybe<Scalars['ID']['input']>; }; export type TcpCreateTopicInput = { category?: InputMaybe<TcpTopicCategory>; description?: InputMaybe<Scalars['String']['input']>; isFeatured?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; slug: Scalars['String']['input']; tradition?: InputMaybe<Scalars['String']['input']>; }; export type TcpDiscussion = { __typename?: 'TcpDiscussion'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isInterfaith: Scalars['Boolean']['output']; isLocked: Scalars['Boolean']['output']; openedById?: Maybe<Scalars['ID']['output']>; prompt?: Maybe<Scalars['String']['output']>; replies: TcpReplyConnection; replyCount: Scalars['Int']['output']; status: TcpModerationStatus; storyId?: Maybe<Scalars['ID']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpDiscussionRepliesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TcpDiscussionConnection = { __typename?: 'TcpDiscussionConnection'; items: Array<TcpDiscussion>; pageInfo: TcpPageInfo; }; export type TcpGenerateAiContextInput = { /** * Ground on this collection's archive items + oral histories (metadata only * — title/kind/origin/description/tags/tradition/summary, never full oral- * history transcripts). Required for SUGGEST_RELATED_TRADITIONS. */ collectionId?: InputMaybe<Scalars['ID']['input']>; /** * The oral history whose captured transcript should be cleaned up/formatted. * Required for TRANSCRIBE_ORAL_HISTORY. */ oralHistoryId?: InputMaybe<Scalars['ID']['input']>; /** * The reader/editor's question or instruction, e.g. "What do these sources * say about the festival's origin?". Always combined with the grounding * sources server-side — never sent to the model alone. */ prompt: Scalars['String']['input']; /** * Optional explicit provider override (must be one of `tcpAiModelCatalog`'s * providers). Falls back to the platform default provider chain. */ requestedProvider?: InputMaybe<Scalars['String']['input']>; /** * Ground on this story's citations. Required for SUMMARIZE_EVIDENCE and * DRAFT_FRAMING_PROMPT; ignored otherwise. */ storyId?: InputMaybe<Scalars['ID']['input']>; useCase: TcpAiUseCase; }; export declare enum TcpModerationStatus { Approved = "APPROVED", Flagged = "FLAGGED", Pending = "PENDING", Removed = "REMOVED" } export type TcpOralHistory = { __typename?: 'TcpOralHistory'; accessLevel: TcpAccessLevel; collection?: Maybe<TcpCollection>; collectionId?: Maybe<Scalars['ID']['output']>; /** * Whether the narrator's consent to record and preserve this testimony was * captured. Required to be true at creation time — cannot be set later. */ consentGiven: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; durationSecs: Scalars['Int']['output']; id: Scalars['ID']['output']; language?: Maybe<Scalars['String']['output']>; narratorName?: Maybe<Scalars['String']['output']>; recordedAt?: Maybe<Scalars['DateTime']['output']>; /** Recording — references a wspace-files-svc File (audio/video). */ recording?: Maybe<File>; summary?: Maybe<Scalars['String']['output']>; /** Free-form tradition / place / topic tags (e.g. "Tamil diaspora", "Chennai"). */ tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; transcript?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpOralHistoryConnection = { __typename?: 'TcpOralHistoryConnection'; items: Array<TcpOralHistory>; pageInfo: TcpPageInfo; }; export type TcpPageInfo = { __typename?: 'TcpPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type TcpReplyConnection = { __typename?: 'TcpReplyConnection'; items: Array<EntityComment>; pageInfo: TcpPageInfo; }; export declare enum TcpSourceType { Academic = "ACADEMIC", ArchivalRecord = "ARCHIVAL_RECORD", Artifact = "ARTIFACT", Book = "BOOK", Interview = "INTERVIEW", Periodical = "PERIODICAL", PrimaryDocument = "PRIMARY_DOCUMENT", Web = "WEB" } export type TcpStory = { __typename?: 'TcpStory'; authorId?: Maybe<Scalars['ID']['output']>; body?: Maybe<Scalars['String']['output']>; citations: TcpCitationConnection; /** * The story's evidence trail: numbered claims made in the body, in display * order, each linked to the citations that support it. */ claims: Array<TcpStoryClaim>; /** Hero/cover image — references a wspace-files-svc File (blobs live there). */ cover?: Maybe<File>; createdAt: Scalars['DateTime']['output']; editorId?: Maybe<Scalars['ID']['output']>; format: TcpStoryFormat; id: Scalars['ID']['output']; /** * Whether the calling actor has bookmarked this story to their personal * reading list. Resolved from the caller's identity — never another actor's. */ isBookmarked: Scalars['Boolean']['output']; /** Editorial pick surfaced on the Featured tab/rails, independent of lifecycle status. */ isFeatured: Scalars['Boolean']['output']; languages: Array<Scalars['String']['output']>; publishedAt?: Maybe<Scalars['DateTime']['output']>; readingMins: Scalars['Int']['output']; slug: Scalars['String']['output']; status: TcpStoryStatus; summary?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; topic?: Maybe<TcpTopic>; topicId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpStoryCitationsArgs = { pagination?: InputMaybe<PaginationInput>; }; /** * A factual claim made in a story's body, numbered in the story's evidence trail * and backed by one or more citations. `bodyStart`/`bodyEnd` are character * offsets into `TcpStory.body` (null when the claim paraphrases the body and is * not anchored to an exact passage). */ export type TcpStoryClaim = { __typename?: 'TcpStoryClaim'; bodyEnd?: Maybe<Scalars['Int']['output']>; bodyStart?: Maybe<Scalars['Int']['output']>; /** Citations supporting this claim, oldest first. */ citations: Array<TcpCitation>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** 1-based position in the evidence trail. */ position: Scalars['Int']['output']; story?: Maybe<TcpStory>; storyId: Scalars['ID']['output']; text: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpStoryConnection = { __typename?: 'TcpStoryConnection'; items: Array<TcpStory>; pageInfo: TcpPageInfo; }; export declare enum TcpStoryFormat { Article = "ARTICLE", Essay = "ESSAY", Explainer = "EXPLAINER", OralHistory = "ORAL_HISTORY", PhotoStory = "PHOTO_STORY", Timeline = "TIMELINE" } export declare enum TcpStoryStatus { Archived = "ARCHIVED", Draft = "DRAFT", Idea = "IDEA", InReview = "IN_REVIEW", Published = "PUBLISHED" } export type TcpTopic = { __typename?: 'TcpTopic'; category: TcpTopicCategory; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isFeatured: Scalars['Boolean']['output']; name: Scalars['String']['output']; slug: Scalars['String']['output']; stories: TcpStoryConnection; /** Count of stories filed under this topic (workspace-scoped, excludes soft-deleted). */ storyCount: Scalars['Int']['output']; tradition?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TcpTopicStoriesArgs = { pagination?: InputMaybe<PaginationInput>; }; export declare enum TcpTopicCategory { CultureAndIdentity = "CULTURE_AND_IDENTITY", FestivalsAndRituals = "FESTIVALS_AND_RITUALS", HeritageAndArchives = "HERITAGE_AND_ARCHIVES", History = "HISTORY", MigrationAndDiaspora = "MIGRATION_AND_DIASPORA", OralHistories = "ORAL_HISTORIES", PhilosophyAndThought = "PHILOSOPHY_AND_THOUGHT", ReligionAndFaith = "RELIGION_AND_FAITH", ValuesAndEthics = "VALUES_AND_ETHICS" } export type TcpTopicConnection = { __typename?: 'TcpTopicConnection'; items: Array<TcpTopic>; pageInfo: TcpPageInfo; }; export type TcpUpdateArchiveItemInput = { accessLevel?: InputMaybe<TcpAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; datedAt?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; kind?: InputMaybe<TcpArchiveItemKind>; languages?: InputMaybe<Array<Scalars['String']['input']>>; origin?: InputMaybe<Scalars['String']['input']>; provenance?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type TcpUpdateOralHistoryInput = { accessLevel?: InputMaybe<TcpAccessLevel>; collectionId?: InputMaybe<Scalars['ID']['input']>; durationSecs?: InputMaybe<Scalars['Int']['input']>; language?: InputMaybe<Scalars['String']['input']>; narratorName?: InputMaybe<Scalars['String']['input']>; recordedAt?: InputMaybe<Scalars['DateTime']['input']>; recordingFileId?: InputMaybe<Scalars['ID']['input']>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; transcript?: InputMaybe<Scalars['String']['input']>; }; export type TcpUpdateStoryClaimInput = { bodyEnd?: InputMaybe<Scalars['Int']['input']>; bodyStart?: InputMaybe<Scalars['Int']['input']>; /** Drop the body anchor and keep the claim as an unanchored paraphrase. */ clearAnchor?: InputMaybe<Scalars['Boolean']['input']>; /** Move the claim to this 1-based position; the trail is renumbered 1..n. */ position?: InputMaybe<Scalars['Int']['input']>; text?: InputMaybe<Scalars['String']['input']>; }; export type TcpUpdateStoryInput = { authorId?: InputMaybe<Scalars['ID']['input']>; body?: InputMaybe<Scalars['String']['input']>; coverFileId?: InputMaybe<Scalars['ID']['input']>; editorId?: InputMaybe<Scalars['ID']['input']>; format?: InputMaybe<TcpStoryFormat>; isFeatured?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; readingMins?: InputMaybe<Scalars['Int']['input']>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; topicId?: InputMaybe<Scalars['ID']['input']>; }; export type TcpUpdateTopicInput = { category?: InputMaybe<TcpTopicCategory>; description?: InputMaybe<Scalars['String']['input']>; isFeatured?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; tradition?: InputMaybe<Scalars['String']['input']>; }; export declare enum TcpVerificationStatus { Corroborated = "CORROBORATED", Disputed = "DISPUTED", Retracted = "RETRACTED", Unverified = "UNVERIFIED" } /** * A cross-project team that can own its own sprints (BOFF-8044). Membership does * NOT grant project access — see the @rbac directives below; RBAC is enforced * purely by workspace role, identically to every other PlanMagnet resource. */ export type Team = { __typename?: 'Team'; /** Story-point capacity for this team's own sprints, if set. */ capacity?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** * The team's lead — an actor id, or null. Backed by the `ownerId` column; see * team.resolvers.ts. */ leadId?: Maybe<Scalars['String']['output']>; /** Members of this team. */ members: Array<TeamMember>; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; /** * Live projects on this team. A project soft-deleted elsewhere disappears * from this list. */ projects: Array<PlanmagnetProject>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type TeamMember = { __typename?: 'TeamMember'; actorId: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; teamId: Scalars['String']['output']; }; /** * A single workspace-wide activity-feed entry: a WorkPattern row logged by some * member of the workspace, paired with that member's resolved display identity. * Backs `teamWorkPatterns` so the Team Activity feed never has to render a raw * userId UUID. */ export type TeamWorkPatternEntry = { __typename?: 'TeamWorkPatternEntry'; memberAvatar?: Maybe<Scalars['String']['output']>; memberName: Scalars['String']['output']; pattern: WorkPattern; }; /** Input for `teardownHealthyBowlDemoWorkspace`. */ export type TeardownHealthyBowlDemoInput = { /** * Must be `true`. This mutation permanently deletes the workspace's HealthyBowl rows, so it * refuses to run without an explicit acknowledgement — there is no default and no undo. */ confirm: Scalars['Boolean']['input']; /** Target workspace. Defaults to the caller's current workspace when omitted; naming a different workspace is super_admin-only. */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type TecAddPortfolioItemInput = { kind: TecPortfolioItemKind; /** * The TecHackathonTeam.id / TecCertificate.id / TecEnrollment.id (matching * `kind`) to showcase. Ownership and completion are verified server-side. */ sourceId: Scalars['ID']['input']; }; /** * A timed certification assessment on a course. The answer key is never part * of this type; authors read it with tecAssessmentQuestionKey. */ export type TecAssessment = { __typename?: 'TecAssessment'; blockClipboard: Scalars['Boolean']['output']; course?: Maybe<TecCourse>; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; issuesCertificate: Scalars['Boolean']['output']; maxAttempts: Scalars['Int']['output']; maxIntegrityViolations: Scalars['Int']['output']; passingScore: Scalars['Int']['output']; proctoringMode: TecProctoringMode; publishedAt?: Maybe<Scalars['DateTime']['output']>; questionCount: Scalars['Int']['output']; requireFullscreen: Scalars['Boolean']['output']; shuffleOptions: Scalars['Boolean']['output']; shuffleQuestions: Scalars['Boolean']['output']; status: TecAssessmentStatus; timeLimitMinutes: Scalars['Int']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecAssessmentAttempt = { __typename?: 'TecAssessmentAttempt'; assessment?: Maybe<TecAssessment>; assessmentId: Scalars['ID']['output']; attemptNumber: Scalars['Int']['output']; blockClipboard: Scalars['Boolean']['output']; certificate?: Maybe<TecCertificate>; /** The certificate this attempt earned, once issued. */ certificateId?: Maybe<Scalars['ID']['output']>; consentedAt?: Maybe<Scalars['DateTime']['output']>; correctCount: Scalars['Int']['output']; courseId: Scalars['ID']['output']; deadlineAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; integrityViolations: Scalars['Int']['output']; learnerId: Scalars['ID']['output']; maxIntegrityViolations: Scalars['Int']['output']; passed?: Maybe<Scalars['Boolean']['output']>; passingScore: Scalars['Int']['output']; proctoringMode: TecProctoringMode; proctoringStatus: TecProctoringStatus; /** The questions to answer. Empty once the attempt is closed. */ questions: Array<TecAssessmentQuestion>; /** Seconds left before the deadline; 0 once closed. */ remainingSeconds: Scalars['Int']['output']; requireFullscreen: Scalars['Boolean']['output']; reviewNotes?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['ID']['output']>; /** * Saved answers in display order (displayed option index, -1 for unanswered). * Empty once the attempt is closed. */ savedAnswers: Array<Scalars['Int']['output']>; score?: Maybe<Scalars['Int']['output']>; startedAt: Scalars['DateTime']['output']; status: TecAssessmentAttemptStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; totalCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TecAssessmentAttemptStatus { /** The time limit ran out; the saved answers were graded. */ Expired = "EXPIRED", InProgress = "IN_PROGRESS", Submitted = "SUBMITTED" } /** One entry of an attempt's audit trail. */ export type TecAssessmentEvent = { __typename?: 'TecAssessmentEvent'; attemptId: Scalars['ID']['output']; detail?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; occurredAt: Scalars['DateTime']['output']; type: TecAssessmentEventType; violation: Scalars['Boolean']['output']; }; /** * Every event type in an attempt's audit trail: the client signals plus the * lifecycle events the server writes. */ export declare enum TecAssessmentEventType { CertificateIssued = "CERTIFICATE_ISSUED", ContextMenu = "CONTEXT_MENU", CopyAttempt = "COPY_ATTEMPT", CutAttempt = "CUT_ATTEMPT", Expired = "EXPIRED", FullscreenEnter = "FULLSCREEN_ENTER", FullscreenExit = "FULLSCREEN_EXIT", PasteAttempt = "PASTE_ATTEMPT", Reviewed = "REVIEWED", Started = "STARTED", Submitted = "SUBMITTED", VisibilityHidden = "VISIBILITY_HIDDEN", WindowBlur = "WINDOW_BLUR" } /** * One question of an in-progress attempt as the learner sees it: shuffled * position and option order, no answer key. */ export type TecAssessmentQuestion = { __typename?: 'TecAssessmentQuestion'; options: Array<Scalars['String']['output']>; position: Scalars['Int']['output']; prompt: Scalars['String']['output']; }; export declare enum TecAssessmentReviewDecision { Rejected = "REJECTED", Verified = "VERIFIED" } /** Integrity signals the learner's browser may report during an attempt. */ export declare enum TecAssessmentSignal { ContextMenu = "CONTEXT_MENU", CopyAttempt = "COPY_ATTEMPT", CutAttempt = "CUT_ATTEMPT", FullscreenEnter = "FULLSCREEN_ENTER", FullscreenExit = "FULLSCREEN_EXIT", PasteAttempt = "PASTE_ATTEMPT", VisibilityHidden = "VISIBILITY_HIDDEN", WindowBlur = "WINDOW_BLUR" } export declare enum TecAssessmentStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type TecBookSessionInput = { agenda?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; mentorId: Scalars['ID']['input']; scheduledAt: Scalars['DateTime']['input']; topic: Scalars['String']['input']; }; export type TecCanonicalCertificateConnection = { __typename?: 'TecCanonicalCertificateConnection'; items: Array<BuiCertificate>; pageInfo: TecPageInfo; }; export type TecCanonicalCourseConnection = { __typename?: 'TecCanonicalCourseConnection'; items: Array<BuiCourse>; pageInfo: TecPageInfo; }; export type TecCanonicalEnrollmentConnection = { __typename?: 'TecCanonicalEnrollmentConnection'; items: Array<BuiEnrollment>; pageInfo: TecPageInfo; }; export type TecCanonicalLessonConnection = { __typename?: 'TecCanonicalLessonConnection'; items: Array<BuiLesson>; pageInfo: TecPageInfo; }; /** One Technospam LMS record whose canonical Buildmyiq record differs from it. */ export type TecCanonicalParityMismatch = { __typename?: 'TecCanonicalParityMismatch'; /** The fields that differ; `missing` when Buildmyiq holds no record for it. */ fields: Array<Scalars['String']['output']>; /** The Technospam record id. */ id: Scalars['ID']['output']; /** course, lesson, enrollment, lessonCompletion or certificate. */ kind: Scalars['String']['output']; }; /** * Result of comparing this workspace's Technospam LMS records with the * canonical Buildmyiq records they were written to. */ export type TecCanonicalParityReport = { __typename?: 'TecCanonicalParityReport'; /** Records compared. */ checked: Scalars['Int']['output']; /** Batches whose canonical read failed (Buildmyiq unreachable); their records were not compared. */ failed: Scalars['Int']['output']; /** Records whose canonical record differs or is missing. */ mismatched: Scalars['Int']['output']; mismatches: Array<TecCanonicalParityMismatch>; /** Records skipped because a sync is already queued for them. */ pending: Scalars['Int']['output']; }; export type TecCertificate = { __typename?: 'TecCertificate'; /** BOFF-3134: id of the canonical certificate in Buildmyiq; null until mirrored. */ buiCertificateId?: Maybe<Scalars['ID']['output']>; /** BOFF-3134: the canonical Buildmyiq certificate this certificate is mirrored to. */ canonicalCertificate?: Maybe<BuiCertificate>; course?: Maybe<TecCourse>; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; learnerId: Scalars['ID']['output']; revokeReason?: Maybe<Scalars['String']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; score: Scalars['Int']['output']; serial: Scalars['String']['output']; status: TecCertificateStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TecCertificateStatus { Issued = "ISSUED", Revoked = "REVOKED" } /** * The public verification result for one certificate serial. Never includes * the learner's identity or the revoke reason. */ export type TecCertificateVerification = { __typename?: 'TecCertificateVerification'; /** Course level (BEGINNER / INTERMEDIATE / ADVANCED); null when NOT_FOUND. */ courseLevel?: Maybe<Scalars['String']['output']>; /** Title of the course the certificate was earned on; null when NOT_FOUND. */ courseTitle?: Maybe<Scalars['String']['output']>; issuedAt?: Maybe<Scalars['DateTime']['output']>; /** Always "TechnoSpam" — the issuing product. */ issuer: Scalars['String']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; /** Final assessment score (0-100); null when NOT_FOUND. */ score?: Maybe<Scalars['Int']['output']>; /** The serial that was checked, normalized (trimmed, upper-cased). */ serial: Scalars['String']['output']; status: TecCertificateVerificationStatus; /** True only when status is VALID. */ valid: Scalars['Boolean']['output']; /** When this verification was performed (server time). */ verifiedAt: Scalars['DateTime']['output']; }; export declare enum TecCertificateVerificationStatus { /** No certificate carries this serial. */ NotFound = "NOT_FOUND", /** The serial belongs to a certificate that was revoked after issue. */ Revoked = "REVOKED", /** The serial belongs to an issued certificate that has not been revoked. */ Valid = "VALID" } export type TecConnectHrisInput = { /** An integration connection of the provider (for BAMBOOHR a `bamboohr` connection, for WORKDAY a `workday` one). */ connectionId: Scalars['ID']['input']; matchField: TecHrisMatchField; provider: TecHrisProvider; }; export type TecCourse = { __typename?: 'TecCourse'; /** * BOFF-3134: id of the canonical course in Buildmyiq, the platform's LMS * system of record. Null until the course has been mirrored there (normally * within seconds of a write; the reconcile sweep catches up any backlog). */ buiCourseId?: Maybe<Scalars['ID']['output']>; /** BOFF-3134: the canonical Buildmyiq course this course is mirrored to. */ canonicalCourse?: Maybe<BuiCourse>; /** Reference to a wspace-files-svc File for the cover image (blobs live there). */ cover?: Maybe<File>; createdAt: Scalars['DateTime']['output']; enrollments: Array<TecEnrollment>; estimatedMinutes: Scalars['Int']['output']; id: Scalars['ID']['output']; instructorId?: Maybe<Scalars['ID']['output']>; /** * Computed for the calling workspace: true when this course is * `isPremiumOnly` AND the workspace does not currently have a paid * TechnoSpam plan. When true, every non-preview lesson's `content`/`file` * resolves to null regardless of what the client requests. */ isLocked: Scalars['Boolean']['output']; /** * BOFF-4416 (free-tier content gating): true when this course's lesson * content is restricted to workspaces with a paid TechnoSpam plan. Catalog * metadata (this field included) is always visible; only lesson bodies are * gated -- see `isLocked` and `TecLesson.isLocked`. */ isPremiumOnly: Scalars['Boolean']['output']; lessons: Array<TecLesson>; level: TecCourseLevel; publishedAt?: Maybe<Scalars['DateTime']['output']>; slug: Scalars['String']['output']; status: TecCourseStatus; summary?: Maybe<Scalars['String']['output']>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; topic?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecCourseConnection = { __typename?: 'TecCourseConnection'; items: Array<TecCourse>; pageInfo: TecPageInfo; }; export declare enum TecCourseLevel { Advanced = "ADVANCED", Beginner = "BEGINNER", Expert = "EXPERT", Intermediate = "INTERMEDIATE" } export declare enum TecCourseStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type TecCreateAssessmentInput = { blockClipboard?: InputMaybe<Scalars['Boolean']['input']>; courseId: Scalars['ID']['input']; description?: InputMaybe<Scalars['String']['input']>; issuesCertificate?: InputMaybe<Scalars['Boolean']['input']>; /** 1 to 10. Default 1. */ maxAttempts?: InputMaybe<Scalars['Int']['input']>; /** 0 to 50. Default 3. */ maxIntegrityViolations?: InputMaybe<Scalars['Int']['input']>; /** 1 to 100. Default 70. */ passingScore?: InputMaybe<Scalars['Int']['input']>; /** Default INTEGRITY_MONITORING. */ proctoringMode?: InputMaybe<TecProctoringMode>; /** Up to 50 multiple-choice questions with their answer key. */ questions?: InputMaybe<Array<TecQuizQuestionInput>>; requireFullscreen?: InputMaybe<Scalars['Boolean']['input']>; shuffleOptions?: InputMaybe<Scalars['Boolean']['input']>; shuffleQuestions?: InputMaybe<Scalars['Boolean']['input']>; /** 1 to 480 minutes. Default 30. */ timeLimitMinutes?: InputMaybe<Scalars['Int']['input']>; title: Scalars['String']['input']; }; export type TecCreateCourseInput = { coverFileId?: InputMaybe<Scalars['ID']['input']>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; instructorId?: InputMaybe<Scalars['ID']['input']>; /** Mark this course as premium-only (BOFF-4416). Defaults to false (free). */ isPremiumOnly?: InputMaybe<Scalars['Boolean']['input']>; level?: InputMaybe<TecCourseLevel>; slug: Scalars['String']['input']; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; topic?: InputMaybe<Scalars['String']['input']>; }; export type TecCreateHackathonInput = { currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endAt: Scalars['DateTime']['input']; maxTeamSize?: InputMaybe<Scalars['Int']['input']>; prizePool?: InputMaybe<Scalars['Int']['input']>; slug: Scalars['String']['input']; startAt: Scalars['DateTime']['input']; submissionDeadline?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; theme?: InputMaybe<Scalars['String']['input']>; title: Scalars['String']['input']; }; export type TecCreateLessonInput = { content?: InputMaybe<Scalars['String']['input']>; courseId: Scalars['ID']['input']; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; expectedOutput?: InputMaybe<Scalars['String']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; isPreview?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<TecLessonKind>; language?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['Int']['input']>; quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>; sampleInput?: InputMaybe<Scalars['String']['input']>; starterCode?: InputMaybe<Scalars['String']['input']>; title: Scalars['String']['input']; }; export type TecCreateMentorInput = { bio?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; expertise?: InputMaybe<Array<Scalars['String']['input']>>; headline: Scalars['String']['input']; hourlyRate?: InputMaybe<Scalars['Int']['input']>; role?: InputMaybe<Scalars['String']['input']>; }; export type TecCreateProblemInput = { companies?: InputMaybe<Array<Scalars['String']['input']>>; difficulty?: InputMaybe<TecProblemDifficulty>; interviewFrequency?: InputMaybe<TecInterviewFrequency>; /** Mark this problem as premium-only (BOFF-4416). Defaults to false (free). */ isPremiumOnly?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; points?: InputMaybe<Scalars['Int']['input']>; roles?: InputMaybe<Array<Scalars['String']['input']>>; slug: Scalars['String']['input']; starterCode?: InputMaybe<Scalars['String']['input']>; statement?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title: Scalars['String']['input']; topic?: InputMaybe<Scalars['String']['input']>; }; export type TecCreateProblemTestCaseInput = { expectedOutput: Scalars['String']['input']; input: Scalars['String']['input']; memoryLimitMb?: InputMaybe<Scalars['Int']['input']>; name: Scalars['String']['input']; ordering?: InputMaybe<Scalars['Int']['input']>; problemId: Scalars['ID']['input']; timeLimitMs?: InputMaybe<Scalars['Int']['input']>; visibility?: InputMaybe<TecTestCaseVisibility>; }; export type TecEnrollInput = { courseId: Scalars['ID']['input']; }; export type TecEnrollment = { __typename?: 'TecEnrollment'; /** BOFF-3134: id of the canonical enrollment in Buildmyiq; null until mirrored. */ buiEnrollmentId?: Maybe<Scalars['ID']['output']>; /** BOFF-3134: the canonical Buildmyiq enrollment this enrollment is mirrored to. */ canonicalEnrollment?: Maybe<BuiEnrollment>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Lessons finished in this enrollment (BOFF-4107), oldest first. */ completions: Array<TecLessonCompletion>; course?: Maybe<TecCourse>; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lastActiveAt?: Maybe<Scalars['DateTime']['output']>; learnerId: Scalars['ID']['output']; lessonsCompleted: Scalars['Int']['output']; /** * The first lesson (by position) not yet completed; null when every lesson * is done. "Resume" / "Continue learning" deep-link here. */ nextLessonId?: Maybe<Scalars['ID']['output']>; progressPct: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: TecEnrollmentStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecEnrollmentConnection = { __typename?: 'TecEnrollmentConnection'; items: Array<TecEnrollment>; pageInfo: TecPageInfo; }; export declare enum TecEnrollmentStatus { Completed = "COMPLETED", Dropped = "DROPPED", Enrolled = "ENROLLED", InProgress = "IN_PROGRESS" } export type TecGenerateStudyPlanInput = { /** * Free-text goal, e.g. "become a full-stack engineer". Used only to derive a * topic keyword match against the catalog when `topic` is not supplied -- * never sent to an LLM. */ goal: Scalars['String']['input']; /** How many weeks the plan should span. Clamped to [1, 52]. */ timeframeWeeks: Scalars['Int']['input']; /** * Explicit topic filter (matches TecCourse.topic / TecProblem.topic). When * omitted, derived deterministically from `goal` (see honesty note above). */ topic?: InputMaybe<Scalars['String']['input']>; }; /** A newly issued API key. Shown once: copy it into Greenhouse now. */ export type TecGreenhouseApiKey = { __typename?: 'TecGreenhouseApiKey'; apiKey: Scalars['String']['output']; integration: TecGreenhouseIntegration; }; /** One Greenhouse invitation, for the workspace admin. */ export type TecGreenhouseAssessment = { __typename?: 'TecGreenhouseAssessment'; callbackAttempts: Scalars['Int']['output']; callbackLastError?: Maybe<Scalars['String']['output']>; /** NOT_SENT, PENDING, SENT or FAILED: the completion notice to Greenhouse. */ callbackStatus: Scalars['String']['output']; /** Masked candidate email; null once the invitation has expired. */ candidateEmail?: Maybe<Scalars['String']['output']>; certificateCount: Scalars['Int']['output']; /** Serial of the certificate reported as the result. */ certificateSerial?: Maybe<Scalars['String']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; emailError?: Maybe<Scalars['String']['output']>; /** SENT, FAILED or SKIPPED. */ emailStatus: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; invitedAt: Scalars['DateTime']['output']; /** The partner_interview_id Greenhouse holds. */ partnerInterviewId: Scalars['String']['output']; score?: Maybe<Scalars['Int']['output']>; status: TecGreenhouseAssessmentStatus; testId: Scalars['String']['output']; testName: Scalars['String']['output']; }; /** State of one Greenhouse invitation. */ export declare enum TecGreenhouseAssessmentStatus { /** The candidate shared certificates; Greenhouse sees the result. */ Completed = "COMPLETED", /** Greenhouse's eight-week window passed without a share. */ Expired = "EXPIRED", /** Sent to the candidate; nothing shared yet. */ Invited = "INVITED" } /** Result of checking a pasted API key against the workspace's current key. */ export type TecGreenhouseConnectionTest = { __typename?: 'TecGreenhouseConnectionTest'; enabled: Scalars['Boolean']['output']; keyMatches: Scalars['Boolean']['output']; /** The tests Greenhouse lists for this key. */ tests: Array<TecGreenhouseTest>; }; /** The workspace's Greenhouse connection. The API key itself is never returned after it is issued. */ export type TecGreenhouseIntegration = { __typename?: 'TecGreenhouseIntegration'; /** Last four characters of the current API key. */ apiKeyHint: Scalars['String']['output']; /** TechnoSpam app address used in candidate links and verification links. */ appOrigin: Scalars['String']['output']; connectedAt: Scalars['DateTime']['output']; connectedBy: Scalars['ID']['output']; enabled: Scalars['Boolean']['output']; invitationsCompleted: Scalars['Int']['output']; invitationsSent: Scalars['Int']['output']; keyIssuedAt: Scalars['DateTime']['output']; /** The last malformed-response report Greenhouse sent. */ lastPartnerError?: Maybe<Scalars['String']['output']>; lastPartnerErrorAt?: Maybe<Scalars['DateTime']['output']>; /** When Greenhouse last called the partner API with this key. */ lastRequestAt?: Maybe<Scalars['DateTime']['output']>; tests: Array<TecGreenhouseTest>; }; /** What an invitation asks the candidate for. Carries no candidate or company detail. */ export type TecGreenhouseInvitation = { __typename?: 'TecGreenhouseInvitation'; completedAt?: Maybe<Scalars['DateTime']['output']>; expiresAt: Scalars['DateTime']['output']; minimumLevel?: Maybe<Scalars['String']['output']>; sharedCertificateCount: Scalars['Int']['output']; status: TecGreenhouseAssessmentStatus; testName: Scalars['String']['output']; }; /** One of the caller's own certificates, and whether it meets the invitation's requirement. */ export type TecGreenhouseShareableCertificate = { __typename?: 'TecGreenhouseShareableCertificate'; courseLevel?: Maybe<Scalars['String']['output']>; courseTitle?: Maybe<Scalars['String']['output']>; eligible: Scalars['Boolean']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; score: Scalars['Int']['output']; serial: Scalars['String']['output']; }; /** One certificate test TechnoSpam offers in Greenhouse. */ export type TecGreenhouseTest = { __typename?: 'TecGreenhouseTest'; /** The partner_test_id Greenhouse uses. */ id: Scalars['ID']['output']; /** Lowest course level a shared certificate must have; null accepts any course. */ minimumLevel?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; }; export type TecHackathon = { __typename?: 'TecHackathon'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; endAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; maxTeamSize: Scalars['Int']['output']; prizePool: Scalars['Int']['output']; slug: Scalars['String']['output']; startAt: Scalars['DateTime']['output']; status: TecHackathonStatus; submissionDeadline?: Maybe<Scalars['DateTime']['output']>; tags: Array<Scalars['String']['output']>; teams: Array<TecHackathonTeam>; theme?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecHackathonConnection = { __typename?: 'TecHackathonConnection'; items: Array<TecHackathon>; pageInfo: TecHackathonPageInfo; }; export type TecHackathonPageInfo = { __typename?: 'TecHackathonPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export declare enum TecHackathonStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT", InProgress = "IN_PROGRESS", Judging = "JUDGING", RegistrationOpen = "REGISTRATION_OPEN" } export type TecHackathonTeam = { __typename?: 'TecHackathonTeam'; captainId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; hackathon?: Maybe<TecHackathon>; hackathonId: Scalars['ID']['output']; id: Scalars['ID']['output']; memberIds: Array<Scalars['String']['output']>; name: Scalars['String']['output']; pitch?: Maybe<Scalars['String']['output']>; projectName?: Maybe<Scalars['String']['output']>; projectUrl?: Maybe<Scalars['String']['output']>; repoUrl?: Maybe<Scalars['String']['output']>; score: Scalars['Int']['output']; status: TecTeamSubmissionStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecHackathonTeamConnection = { __typename?: 'TecHackathonTeamConnection'; items: Array<TecHackathonTeam>; pageInfo: TecHackathonPageInfo; }; /** How a learner's SCIM externalId names their employee record. */ export declare enum TecHrisMatchField { /** The externalId is the HR system's internal employee id (for Workday the Worker_ID: Employee ID or Contingent Worker ID). */ EmployeeId = "EMPLOYEE_ID", /** The externalId is the employee number (BambooHR Employee #; not supported for Workday). */ EmployeeNumber = "EMPLOYEE_NUMBER" } /** HR systems TechnoSpam can record certificates in. */ export declare enum TecHrisProvider { /** BambooHR training records (integration provider `bamboohr`). */ Bamboohr = "BAMBOOHR", /** * Workday Learning imported learning records (integration provider `workday`, * the same connection the Workday directory sync uses). Learners are matched * by the `workday:<Worker_ID>` externalId that sync sets, with matchField * EMPLOYEE_ID. The integration user needs the Learning web service * permissions for imported content and imported records. Revoked * certificates are set Inactive (BOFF-10952). */ Workday = "WORKDAY" } /** The workspace's connected HR system and the state of the certificate push. */ export type TecHrisPush = { __typename?: 'TecHrisPush'; connectedAt: Scalars['DateTime']['output']; /** The admin who connected the HR system. */ connectedBy: Scalars['ID']['output']; /** The wspace-integrations-svc connection that holds the HR system's credential. */ connectionId: Scalars['ID']['output']; consecutiveFailures: Scalars['Int']['output']; enabled: Scalars['Boolean']['output']; /** Certificates the HR system currently refuses. */ failedCount: Scalars['Int']['output']; /** Minutes between scheduled runs. */ intervalMinutes: Scalars['Int']['output']; lastError?: Maybe<Scalars['String']['output']>; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; lastSuccessAt?: Maybe<Scalars['DateTime']['output']>; lastSyncAt?: Maybe<Scalars['DateTime']['output']>; matchField: TecHrisMatchField; nextAttemptAt: Scalars['DateTime']['output']; provider: TecHrisProvider; /** Certificates recorded in the HR system since it was connected. */ pushedCount: Scalars['Int']['output']; /** Certificates changed up to this instant have been handled; null until a backfill reaches its first page. */ pushedThrough?: Maybe<Scalars['DateTime']['output']>; /** Records removed after their certificate was revoked. */ removedCount: Scalars['Int']['output']; /** Certificates currently skipped because the learner could not be matched. */ skippedCount: Scalars['Int']['output']; state: TecHrisPushState; }; /** A certificate that was skipped or failed. */ export type TecHrisPushIssue = { __typename?: 'TecHrisPushIssue'; attemptedAt: Scalars['DateTime']['output']; attempts: Scalars['Int']['output']; certificateId: Scalars['ID']['output']; detail?: Maybe<Scalars['String']['output']>; learnerId: Scalars['ID']['output']; nextAttemptAt?: Maybe<Scalars['DateTime']['output']>; outcome: TecHrisPushOutcome; serial: Scalars['String']['output']; }; export type TecHrisPushIssuePage = { __typename?: 'TecHrisPushIssuePage'; items: Array<TecHrisPushIssue>; totalCount: Scalars['Int']['output']; }; export declare enum TecHrisPushOutcome { /** The HR system refused the record; retried with backoff. */ Failed = "FAILED", Pushed = "PUSHED", Removed = "REMOVED", /** No employee matches the learner's externalId. */ SkippedNoEmployee = "SKIPPED_NO_EMPLOYEE", /** The learner has no SCIM externalId in this workspace. */ SkippedNoExternalId = "SKIPPED_NO_EXTERNAL_ID" } export declare enum TecHrisPushState { Failing = "FAILING", NeverRun = "NEVER_RUN", Ok = "OK", Running = "RUNNING" } export declare enum TecInterviewFrequency { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type TecLegalAcceptance = { __typename?: 'TecLegalAcceptance'; acceptanceType: TecLegalAcceptanceType; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; version: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TecLegalAcceptanceType { AiTerms = "AI_TERMS", Dpa = "DPA", Tos = "TOS", Verification = "VERIFICATION" } export type TecLesson = { __typename?: 'TecLesson'; /** * BOFF-10464: id of the canonical lesson in Buildmyiq, the platform's LMS * system of record. Null until the lesson has been mirrored there. The * canonical lesson carries the shared lesson fields only; runnable-code * metadata, quiz questions and the free-tier lock stay on this type, and a * premium-only lesson's body is not mirrored. */ buiLessonId?: Maybe<Scalars['ID']['output']>; /** BOFF-10464: the canonical Buildmyiq lesson this lesson is mirrored to. */ canonicalLesson?: Maybe<BuiLesson>; /** True when the calling learner has completed this lesson. */ completedByMe: Scalars['Boolean']['output']; /** * Null when `isLocked` is true (BOFF-4416 free-tier gating) -- the gate is * enforced here at the API layer, not left to the client to respect. */ content?: Maybe<Scalars['String']['output']>; course?: Maybe<TecCourse>; courseId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; estimatedMinutes: Scalars['Int']['output']; /** * INTERACTIVE lessons: the output a correct program prints. When set, a * matching run completes the lesson automatically. Null when `isLocked`. */ expectedOutput?: Maybe<Scalars['String']['output']>; /** * Reference to a wspace-files-svc File (video / attachment). Null when * `isLocked` is true. */ file?: Maybe<File>; id: Scalars['ID']['output']; /** * Computed: true when the parent course is `isPremiumOnly`, this lesson is * not a free `isPreview`, and the calling workspace has no paid TechnoSpam * plan. `content`/`file` are nulled out whenever this is true. */ isLocked: Scalars['Boolean']['output']; isPreview: Scalars['Boolean']['output']; kind: TecLessonKind; /** * INTERACTIVE lessons (BOFF-4107): language slug the runnable workspace * executes, e.g. "python". Null for other kinds. */ language?: Maybe<Scalars['String']['output']>; /** * BOFF-10574: the calling learner's recorded score (percent) for this lesson * when they completed it by passing its quiz; null for any other lesson or * completion. Lets a SCORM launch report the score to the LMS again when a * completed quiz lesson is relaunched. */ myQuizScore?: Maybe<Scalars['Int']['output']>; position: Scalars['Int']['output']; /** * QUIZ lessons: the questions, without the answer key (grading happens * server-side in tecSubmitLessonQuiz). Empty when `isLocked`. */ quizQuestions: Array<TecQuizQuestion>; /** INTERACTIVE lessons: default stdin for a run. Null when `isLocked`. */ sampleInput?: Maybe<Scalars['String']['output']>; /** INTERACTIVE lessons: code pre-filled in the editor. Null when `isLocked`. */ starterCode?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** Result of tecRunLessonCode. */ export type TecLessonCodeRun = { __typename?: 'TecLessonCodeRun'; compileFailed: Scalars['Boolean']['output']; durationMs: Scalars['Int']['output']; /** The learner's enrollment after the run. Null when not enrolled. */ enrollment?: Maybe<TecEnrollment>; exitCode: Scalars['Int']['output']; language: Scalars['String']['output']; /** True when this run completed the lesson (first matching run). */ lessonCompleted: Scalars['Boolean']['output']; lessonId: Scalars['ID']['output']; /** * Null when the lesson has no expected output or nothing ran; otherwise * whether stdout matched it. */ matchedExpected?: Maybe<Scalars['Boolean']['output']>; memoryLimitExceeded: Scalars['Boolean']['output']; status: TecLessonRunStatus; stderr: Scalars['String']['output']; stdout: Scalars['String']['output']; timedOut: Scalars['Boolean']['output']; }; /** A lesson the learner finished inside an enrollment (BOFF-4107). */ export type TecLessonCompletion = { __typename?: 'TecLessonCompletion'; /** BOFF-10464: id of the canonical lesson progress in Buildmyiq; null until mirrored. */ buiLessonProgressId?: Maybe<Scalars['ID']['output']>; /** BOFF-10464: the canonical Buildmyiq lesson progress this completion is mirrored to. */ canonicalLessonProgress?: Maybe<BuiLessonProgress>; completedAt: Scalars['DateTime']['output']; enrollmentId: Scalars['ID']['output']; id: Scalars['ID']['output']; lessonId: Scalars['ID']['output']; method: TecLessonCompletionMethod; score?: Maybe<Scalars['Int']['output']>; }; /** How a lesson was completed (BOFF-4107). */ export declare enum TecLessonCompletionMethod { /** The learner's code produced the lesson's expected output (tecRunLessonCode). */ CodePassed = "CODE_PASSED", /** * The learner marked an ARTICLE / VIDEO / PROJECT lesson (or an INTERACTIVE * lesson with no expected output) as done. */ Manual = "MANUAL", /** The learner passed the lesson's quiz (tecSubmitLessonQuiz). */ QuizPassed = "QUIZ_PASSED" } export type TecLessonConnection = { __typename?: 'TecLessonConnection'; items: Array<TecLesson>; pageInfo: TecPageInfo; }; export declare enum TecLessonKind { Article = "ARTICLE", Interactive = "INTERACTIVE", Project = "PROJECT", Quiz = "QUIZ", Video = "VIDEO" } /** Outcome of one tecRunLessonCode call (BOFF-4107). */ export declare enum TecLessonRunStatus { /** The code ran in the sandbox; see stdout/stderr/exitCode. */ Completed = "COMPLETED", /** The sandbox could not be reached or failed. Nothing ran; retry later. */ Unavailable = "UNAVAILABLE", /** * The code sandbox was cold and is starting. Nothing ran; call * tecRunLessonCode again in a few seconds. */ Warming = "WARMING" } export type TecMentor = { __typename?: 'TecMentor'; bio?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; expertise: Array<Scalars['String']['output']>; headline: Scalars['String']['output']; hourlyRate: Scalars['Int']['output']; id: Scalars['ID']['output']; isAcceptingMentees: Scalars['Boolean']['output']; ratingAvg: Scalars['Int']['output']; /** Optional role/company subtitle shown under the headline (e.g. "Staff Engineer @ Acme"). */ role?: Maybe<Scalars['String']['output']>; sessions: Array<TecMentorSession>; sessionsCount: Scalars['Int']['output']; status: TecMentorStatus; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TecMentorConnection = { __typename?: 'TecMentorConnection'; items: Array<TecMentor>; pageInfo: TecMentorshipPageInfo; }; /** * MentorPayout -- a calculation/ledger-only record of what a mentor is owed for * one COMPLETED session, after the platform fee. Created automatically when a * session is completed. NO live payment gateway integration or real payout * disbursement happens here -- see BOFF-4433 deferred-follow-up notes on the * tecListPayouts/tecMyPayouts queries. */ export type TecMentorPayout = { __typename?: 'TecMentorPayout'; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; grossAmount: Scalars['Int']['output']; id: Scalars['ID']['output']; mentor?: Maybe<TecMentor>; mentorId: Scalars['ID']['output']; netAmount: Scalars['Int']['output']; platformFeeAmount: Scalars['Int']['output']; session?: Maybe<TecMentorSession>; sessionId: Scalars['ID']['output']; status: TecPayoutStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecMentorPayoutConnection = { __typename?: 'TecMentorPayoutConnection'; items: Array<TecMentorPayout>; pageInfo: TecMentorshipPageInfo; }; export type TecMentorSession = { __typename?: 'TecMentorSession'; agenda?: Maybe<Scalars['String']['output']>; cancelledAt?: Maybe<Scalars['DateTime']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** * Session cost snapshotted from the mentor's hourlyRate at booking time * (smallest currency unit, e.g. cents). Never recomputed from the mentor's * current rate after booking -- see TecMentorSession.currency. */ costAmount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; /** Currency snapshotted from the mentor at booking time. */ currency: Scalars['String']['output']; durationMinutes: Scalars['Int']['output']; feedback?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; meetingUrl?: Maybe<Scalars['String']['output']>; menteeId: Scalars['ID']['output']; mentor?: Maybe<TecMentor>; mentorId: Scalars['ID']['output']; /** * The platform's cut of costAmount at the rate active when this session was * booked. The mentor's net take is costAmount - platformFeeAmount. */ platformFeeAmount: Scalars['Int']['output']; rating?: Maybe<Scalars['Int']['output']>; scheduledAt: Scalars['DateTime']['output']; status: TecSessionStatus; topic: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecMentorSessionConnection = { __typename?: 'TecMentorSessionConnection'; items: Array<TecMentorSession>; pageInfo: TecMentorshipPageInfo; }; export declare enum TecMentorStatus { Active = "ACTIVE", Inactive = "INACTIVE", Paused = "PAUSED", Pending = "PENDING" } export type TecMentorshipPageInfo = { __typename?: 'TecMentorshipPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type TecPageInfo = { __typename?: 'TecPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; /** * Lifecycle of a TecMentorPayout ledger row. PENDING is the only status the * current calculation/ledger-only core ever sets -- PAID (real disbursement) is * explicitly deferred follow-up (see BOFF-4433). */ export declare enum TecPayoutStatus { Paid = "PAID", Pending = "PENDING" } export type TecPortfolio = { __typename?: 'TecPortfolio'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isPublished: Scalars['Boolean']['output']; items: Array<TecPortfolioItem>; learnerId: Scalars['ID']['output']; /** * Public, unguessable slug. Null until the learner publishes for the first * time; kept stable across unpublish/republish. */ publicSlug?: Maybe<Scalars['String']['output']>; publishedAt?: Maybe<Scalars['DateTime']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecPortfolioItem = { __typename?: 'TecPortfolioItem'; /** * Copied from the source record's real completion timestamp at add-time. * Never editable afterward -- see the module note above. */ completionDate: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: TecPortfolioItemKind; link?: Maybe<Scalars['String']['output']>; order: Scalars['Int']['output']; portfolioId: Scalars['ID']['output']; /** * The real TecHackathonTeam.id / TecCertificate.id / TecEnrollment.id this * item showcases. */ sourceId: Scalars['ID']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TecPortfolioItemKind { Certificate = "CERTIFICATE", CourseCompletion = "COURSE_COMPLETION", HackathonProject = "HACKATHON_PROJECT" } export type TecPracticePageInfo = { __typename?: 'TecPracticePageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type TecProblem = { __typename?: 'TecProblem'; /** Companies this problem is known to be asked at (lowercase slugs, e.g. "google", "amazon"). */ companies: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; difficulty: TecProblemDifficulty; id: Scalars['ID']['output']; /** How often this problem is reported to come up in real interviews. */ interviewFrequency?: Maybe<TecInterviewFrequency>; /** * Computed for the calling workspace: true when this problem is * `isPremiumOnly` AND the workspace does not currently have a paid * TechnoSpam plan. When true, `statement`/`starterCode` resolve to null and * `publicTestCases` resolves to an empty list, regardless of what the * client requests -- the gate is enforced here at the API layer. */ isLocked: Scalars['Boolean']['output']; /** * BOFF-4416 (free-tier content gating): true when this problem's solvable * content (`statement`/`starterCode`/`publicTestCases`) is restricted to * workspaces with a paid TechnoSpam plan. Catalog metadata (this field * included) is always visible -- see `isLocked`. */ isPremiumOnly: Scalars['Boolean']['output']; languages: Array<Scalars['String']['output']>; points: Scalars['Int']['output']; /** * Worked-example test cases for this problem. Only PUBLIC cases are * returned, and only when `isLocked` is false. */ publicTestCases: Array<TecProblemTestCase>; publishedAt?: Maybe<Scalars['DateTime']['output']>; /** Target roles this problem is relevant for (lowercase slugs, e.g. "backend", "frontend"). */ roles: Array<Scalars['String']['output']>; slug: Scalars['String']['output']; /** Optional starter code shown in the solution editor (stored here; the learner edits from it). */ starterCode?: Maybe<Scalars['String']['output']>; statement?: Maybe<Scalars['String']['output']>; status: TecProblemStatus; submissions: Array<TecSubmission>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; topic?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecProblemConnection = { __typename?: 'TecProblemConnection'; items: Array<TecProblem>; pageInfo: TecPracticePageInfo; }; export declare enum TecProblemDifficulty { Easy = "EASY", Hard = "HARD", Medium = "MEDIUM" } export declare enum TecProblemStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } /** * A single input/expected-output fixture the grader runs a submission against. * * Deliberately NOT a federation entity: exposing an `id`-keyed reference * resolver would let any caller fetch a HIDDEN fixture by id, bypassing the * visibility split enforced by the two list queries. */ export type TecProblemTestCase = { __typename?: 'TecProblemTestCase'; createdAt: Scalars['DateTime']['output']; /** Expected stdout. Null for HIDDEN cases when read by a learner. */ expectedOutput?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** Fixture stdin. Null for HIDDEN cases when read by a learner. */ input?: Maybe<Scalars['String']['output']>; /** Per-case memory budget in megabytes. Enforced in the sandbox runner. */ memoryLimitMb: Scalars['Int']['output']; name: Scalars['String']['output']; ordering: Scalars['Int']['output']; problemId: Scalars['ID']['output']; timeLimitMs: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; visibility: TecTestCaseVisibility; workspaceId: Scalars['ID']['output']; }; /** How an assessment protects its integrity. */ export declare enum TecProctoringMode { /** * The browser reports integrity signals (fullscreen exit, tab switch, * clipboard use). An attempt within the violation budget is verified * automatically; one over it is flagged for a reviewer. */ IntegrityMonitoring = "INTEGRITY_MONITORING", /** No monitoring: a plain timed exam. */ None = "NONE", /** Integrity monitoring plus a mandatory reviewer decision on every attempt. */ ReviewRequired = "REVIEW_REQUIRED" } export declare enum TecProctoringStatus { Flagged = "FLAGGED", /** In progress under monitoring. */ Monitoring = "MONITORING", NotRequired = "NOT_REQUIRED", PendingReview = "PENDING_REVIEW", Rejected = "REJECTED", Verified = "VERIFIED" } export type TecPublicPortfolio = { __typename?: 'TecPublicPortfolio'; items: Array<TecPublicPortfolioItem>; publishedAt?: Maybe<Scalars['DateTime']['output']>; slug: Scalars['String']['output']; }; /** * Read-only public projection of a published portfolio -- deliberately NOT a * federation entity and carries no workspaceId/learnerId/portfolioId/sourceId, * so an unauthenticated caller can never pivot from a public link to an * internal id. */ export type TecPublicPortfolioItem = { __typename?: 'TecPublicPortfolioItem'; completionDate: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; kind: TecPortfolioItemKind; link?: Maybe<Scalars['String']['output']>; order: Scalars['Int']['output']; title: Scalars['String']['output']; }; /** One multiple-choice question of a QUIZ lesson, as a learner sees it. */ export type TecQuizQuestion = { __typename?: 'TecQuizQuestion'; options: Array<Scalars['String']['output']>; prompt: Scalars['String']['output']; }; /** One quiz question with its answer key, as a lesson author writes it. */ export type TecQuizQuestionInput = { /** Zero-based index into `options` of the correct answer. */ correctOption: Scalars['Int']['input']; explanation?: InputMaybe<Scalars['String']['input']>; /** Two to eight answer options. */ options: Array<Scalars['String']['input']>; prompt: Scalars['String']['input']; }; /** One quiz question with its answer key (lesson-author view). */ export type TecQuizQuestionKey = { __typename?: 'TecQuizQuestionKey'; correctOption: Scalars['Int']['output']; explanation?: Maybe<Scalars['String']['output']>; options: Array<Scalars['String']['output']>; prompt: Scalars['String']['output']; }; /** Per-question feedback returned after a quiz attempt. */ export type TecQuizQuestionResult = { __typename?: 'TecQuizQuestionResult'; correct: Scalars['Boolean']['output']; correctOption: Scalars['Int']['output']; explanation?: Maybe<Scalars['String']['output']>; index: Scalars['Int']['output']; selectedOption?: Maybe<Scalars['Int']['output']>; }; /** Result of tecSubmitLessonQuiz. */ export type TecQuizResult = { __typename?: 'TecQuizResult'; correctCount: Scalars['Int']['output']; /** * The learner's enrollment after the attempt (progress updated when passed). * Null when the learner is not enrolled (preview lessons). */ enrollment?: Maybe<TecEnrollment>; lessonId: Scalars['ID']['output']; passed: Scalars['Boolean']['output']; /** Minimum score (percent) needed to pass. */ passingScore: Scalars['Int']['output']; results: Array<TecQuizQuestionResult>; score: Scalars['Int']['output']; totalCount: Scalars['Int']['output']; }; export type TecRecordLegalAcceptanceInput = { acceptanceType: TecLegalAcceptanceType; acceptedAt?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; version: Scalars['String']['input']; }; export type TecRecordLegalAcceptancePayload = { __typename?: 'TecRecordLegalAcceptancePayload'; acceptance: TecLegalAcceptance; }; export type TecRegisterTeamInput = { hackathonId: Scalars['ID']['input']; memberIds?: InputMaybe<Array<Scalars['String']['input']>>; name: Scalars['String']['input']; }; /** * One reminder sent to the calling learner. A row exists only once the push * service accepted the reminder; `deliveredDevices` is how many of the learner's * registered devices it reached (0 when the learner has not installed the app). */ export type TecReminderDelivery = { __typename?: 'TecReminderDelivery'; /** When the reminder was sent. */ createdAt: Scalars['DateTime']['output']; deliveredDevices: Scalars['Int']['output']; /** When the session starts or the deadline falls. */ dueAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; kind: TecReminderKind; /** The mentor session or hackathon the reminder is about. */ subjectId: Scalars['ID']['output']; }; export declare enum TecReminderKind { HackathonDeadline = "HACKATHON_DEADLINE", SessionReminder = "SESSION_REMINDER" } export type TecReorderPortfolioItemsInput = { /** * Every existing item id for the calling learner's portfolio, in the * desired display order. Must be a permutation of the current item set. */ itemIds: Array<Scalars['ID']['input']>; }; /** * Who wrote a review: AI when a language model wrote the explanation, RULES * when the service built it from the grader output alone (no model provider * configured, or every provider failed). */ export declare enum TecReviewSource { Ai = "AI", Rules = "RULES" } export type TecRunLessonCodeInput = { code: Scalars['String']['input']; /** Defaults to the lesson's language. */ language?: InputMaybe<Scalars['String']['input']>; lessonId: Scalars['ID']['input']; /** Defaults to the lesson's sampleInput. */ stdin?: InputMaybe<Scalars['String']['input']>; }; export type TecRunSolutionInput = { code: Scalars['String']['input']; language: Scalars['String']['input']; problemId: Scalars['ID']['input']; /** * Optional custom stdin. When set, the code runs once against it instead of * the sample cases. */ stdin?: InputMaybe<Scalars['String']['input']>; }; export type TecScormPackage = { __typename?: 'TecScormPackage'; /** TechnoSpam app origin the lessons launch into. */ appOrigin: Scalars['String']['output']; courseId: Scalars['ID']['output']; /** Presigned download URL for the ZIP; valid until expiresAt (one hour). */ downloadUrl: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; /** Id of the stored archive in the workspace file library. */ fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; /** Number of lessons (SCOs) in the package. */ lessonCount: Scalars['Int']['output']; /** Lessons that still require a paid TechnoSpam plan when launched. */ premiumLessonCount: Scalars['Int']['output']; sizeBytes: Scalars['Int']['output']; version: TecScormVersion; }; export declare enum TecScormVersion { /** SCORM 1.2, for LMSs without SCORM 2004 support. */ Scorm_12 = "SCORM_12", /** SCORM 2004 4th Edition (recommended). */ Scorm_2004_4Th = "SCORM_2004_4TH" } /** * Read-only preview of what a session with a given mentor and duration would * cost, computed from the mentor's real current hourlyRate -- lets the booking * UI show the learner the price (and the platform-fee breakdown) before they * commit to tecBookSession. Never persists anything. */ export type TecSessionCostEstimate = { __typename?: 'TecSessionCostEstimate'; costAmount: Scalars['Int']['output']; currency: Scalars['String']['output']; durationMinutes: Scalars['Int']['output']; hourlyRate: Scalars['Int']['output']; mentorId: Scalars['ID']['output']; netAmount: Scalars['Int']['output']; platformFeeAmount: Scalars['Int']['output']; platformFeeBps: Scalars['Int']['output']; }; export declare enum TecSessionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Confirmed = "CONFIRMED", NoShow = "NO_SHOW", Requested = "REQUESTED" } /** * Result of tecRunSolution: a scratch run of the learner's code that is never * stored as a submission and never awards points. Without custom stdin it runs * against the problem's PUBLIC sample cases only; hidden cases are never run. */ export type TecSolutionRun = { __typename?: 'TecSolutionRun'; /** Set when the run used custom stdin, or the problem has no sample cases. */ customOutput?: Maybe<TecSolutionRunOutput>; language: Scalars['String']['output']; passedCount: Scalars['Int']['output']; problemId: Scalars['ID']['output']; /** Slowest sample case (or the custom run), in milliseconds. */ runtimeMs: Scalars['Int']['output']; status: TecSolutionRunStatus; /** Compiler/runtime diagnostics from the first failing sample case. */ stderr?: Maybe<Scalars['String']['output']>; /** Per-sample-case detail; empty for a custom-stdin run. */ testResults: Array<TecTestCaseResult>; totalCount: Scalars['Int']['output']; /** * Verdict over the sample cases. Null when nothing ran, or when the run used * custom stdin (see customOutput). */ verdict?: Maybe<TecSubmissionVerdict>; }; /** Raw output of a run against learner-supplied stdin. */ export type TecSolutionRunOutput = { __typename?: 'TecSolutionRunOutput'; compileFailed: Scalars['Boolean']['output']; durationMs: Scalars['Int']['output']; exitCode: Scalars['Int']['output']; memoryLimitExceeded: Scalars['Boolean']['output']; stderr: Scalars['String']['output']; stdin: Scalars['String']['output']; stdout: Scalars['String']['output']; timedOut: Scalars['Boolean']['output']; }; /** Outcome of one tecRunSolution call (BOFF-4078). */ export declare enum TecSolutionRunStatus { /** The code ran in the sandbox; see testResults or customOutput. */ Completed = "COMPLETED", /** The sandbox could not be reached or failed. Nothing ran; retry later. */ Unavailable = "UNAVAILABLE", /** * The code sandbox was cold and is starting. Nothing ran; call * tecRunSolution again in a few seconds. */ Warming = "WARMING" } export type TecStudyPlan = { __typename?: 'TecStudyPlan'; completedSteps: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; goal: Scalars['String']['output']; id: Scalars['ID']['output']; learnerId: Scalars['ID']['output']; /** * Computed: completedSteps / totalSteps * 100, rounded down. 0 for a plan * with no steps (rather than dividing by zero). */ progressPct: Scalars['Int']['output']; status: TecStudyPlanStatus; steps: Array<TecStudyPlanStep>; targetCompletionDate?: Maybe<Scalars['DateTime']['output']>; timeframeWeeks: Scalars['Int']['output']; topic?: Maybe<Scalars['String']['output']>; totalSteps: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TecStudyPlanConnection = { __typename?: 'TecStudyPlanConnection'; items: Array<TecStudyPlan>; pageInfo: TecStudyPlanPageInfo; }; export type TecStudyPlanPageInfo = { __typename?: 'TecStudyPlanPageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export declare enum TecStudyPlanStatus { Active = "ACTIVE", Archived = "ARCHIVED", Completed = "COMPLETED" } export type TecStudyPlanStep = { __typename?: 'TecStudyPlanStep'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; estimatedMinutes: Scalars['Int']['output']; id: Scalars['ID']['output']; kind: TecStudyPlanStepKind; order: Scalars['Int']['output']; planId: Scalars['ID']['output']; /** * Deterministic, evidence-citing explanation of why this step was chosen and * ordered here. Never LLM-generated -- see the module honesty note above. */ rationale: Scalars['String']['output']; scheduledWeek: Scalars['Int']['output']; status: TecStudyPlanStepStatus; /** The real TecCourse.id or TecProblem.id this step targets. */ targetId: Scalars['ID']['output']; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TecStudyPlanStepKind { Course = "COURSE", Problem = "PROBLEM" } export declare enum TecStudyPlanStepStatus { Completed = "COMPLETED", InProgress = "IN_PROGRESS", Pending = "PENDING", Skipped = "SKIPPED" } export type TecSubmission = { __typename?: 'TecSubmission'; code: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; judgedAt?: Maybe<Scalars['DateTime']['output']>; language: Scalars['String']['output']; learnerId: Scalars['ID']['output']; /** Number of test cases this submission passed (0 until graded). */ passedCount: Scalars['Int']['output']; pointsAwarded: Scalars['Int']['output']; problem?: Maybe<TecProblem>; problemId: Scalars['ID']['output']; runtimeMs: Scalars['Int']['output']; /** Compiler/runtime diagnostics from the first failing case; null when accepted. */ stderr?: Maybe<Scalars['String']['output']>; /** Per-test-case grading detail; empty until graded. */ testResults: Array<TecTestCaseResult>; /** Number of test cases this submission was run against (0 until graded). */ totalCount: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; verdict: TecSubmissionVerdict; workspaceId: Scalars['ID']['output']; }; export type TecSubmissionConnection = { __typename?: 'TecSubmissionConnection'; items: Array<TecSubmission>; pageInfo: TecPracticePageInfo; }; export type TecSubmissionReview = { __typename?: 'TecSubmissionReview'; /** Up to five short concept names to revisit. */ conceptsToRevisit: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** * What failed and what to look at, grounded in the failing test case and * grader diagnostics. Never contains a complete solution. */ failureExplanation: Scalars['String']['output']; id: Scalars['ID']['output']; /** Model that wrote the explanation; null for a RULES review. */ model?: Maybe<Scalars['String']['output']>; problemId: Scalars['ID']['output']; source: TecReviewSource; submissionId: Scalars['ID']['output']; /** * Ids of real, published problems in this workspace to practise next, * chosen from the catalog by the service (never by the model). */ suggestedProblemIds: Array<Scalars['ID']['output']>; /** The suggested problems that are still published. */ suggestedProblems: Array<TecProblem>; /** One or two sentences on the outcome. */ summary: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** The submission's verdict when this review was written. */ verdict: TecSubmissionVerdict; workspaceId: Scalars['ID']['output']; }; export declare enum TecSubmissionVerdict { Accepted = "ACCEPTED", CompileError = "COMPILE_ERROR", MemoryLimitExceeded = "MEMORY_LIMIT_EXCEEDED", Pending = "PENDING", RuntimeError = "RUNTIME_ERROR", TimeLimitExceeded = "TIME_LIMIT_EXCEEDED", WrongAnswer = "WRONG_ANSWER" } export type TecSubmitProjectInput = { pitch?: InputMaybe<Scalars['String']['input']>; projectName: Scalars['String']['input']; projectUrl?: InputMaybe<Scalars['String']['input']>; repoUrl?: InputMaybe<Scalars['String']['input']>; teamId: Scalars['ID']['input']; }; export type TecSubmitSolutionInput = { code: Scalars['String']['input']; language: Scalars['String']['input']; problemId: Scalars['ID']['input']; }; export declare enum TecTeamSubmissionStatus { Disqualified = "DISQUALIFIED", Draft = "DRAFT", Submitted = "SUBMITTED", Winner = "WINNER" } /** * Grading detail for one test case of a submission. `input`, `expectedOutput` * and `actualOutput` are populated only for PUBLIC cases. */ export type TecTestCaseResult = { __typename?: 'TecTestCaseResult'; actualOutput?: Maybe<Scalars['String']['output']>; durationMs: Scalars['Int']['output']; expectedOutput?: Maybe<Scalars['String']['output']>; input?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; passed: Scalars['Boolean']['output']; status: TecTestCaseStatus; testCaseId: Scalars['ID']['output']; visibility: TecTestCaseVisibility; }; export declare enum TecTestCaseStatus { CompileError = "COMPILE_ERROR", MemoryLimitExceeded = "MEMORY_LIMIT_EXCEEDED", Passed = "PASSED", RuntimeError = "RUNTIME_ERROR", Skipped = "SKIPPED", TimeLimitExceeded = "TIME_LIMIT_EXCEEDED", WrongAnswer = "WRONG_ANSWER" } export declare enum TecTestCaseVisibility { Hidden = "HIDDEN", Public = "PUBLIC" } export type TecUpdateAssessmentInput = { blockClipboard?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; issuesCertificate?: InputMaybe<Scalars['Boolean']['input']>; maxAttempts?: InputMaybe<Scalars['Int']['input']>; maxIntegrityViolations?: InputMaybe<Scalars['Int']['input']>; passingScore?: InputMaybe<Scalars['Int']['input']>; proctoringMode?: InputMaybe<TecProctoringMode>; /** Replaces the questions. Attempts already started keep their snapshot. */ questions?: InputMaybe<Array<TecQuizQuestionInput>>; requireFullscreen?: InputMaybe<Scalars['Boolean']['input']>; shuffleOptions?: InputMaybe<Scalars['Boolean']['input']>; shuffleQuestions?: InputMaybe<Scalars['Boolean']['input']>; timeLimitMinutes?: InputMaybe<Scalars['Int']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateCourseInput = { coverFileId?: InputMaybe<Scalars['ID']['input']>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; instructorId?: InputMaybe<Scalars['ID']['input']>; isPremiumOnly?: InputMaybe<Scalars['Boolean']['input']>; level?: InputMaybe<TecCourseLevel>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; topic?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateHackathonInput = { currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endAt?: InputMaybe<Scalars['DateTime']['input']>; maxTeamSize?: InputMaybe<Scalars['Int']['input']>; prizePool?: InputMaybe<Scalars['Int']['input']>; startAt?: InputMaybe<Scalars['DateTime']['input']>; submissionDeadline?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; theme?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateLessonInput = { content?: InputMaybe<Scalars['String']['input']>; estimatedMinutes?: InputMaybe<Scalars['Int']['input']>; expectedOutput?: InputMaybe<Scalars['String']['input']>; fileId?: InputMaybe<Scalars['ID']['input']>; isPreview?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<TecLessonKind>; language?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['Int']['input']>; quizQuestions?: InputMaybe<Array<TecQuizQuestionInput>>; sampleInput?: InputMaybe<Scalars['String']['input']>; starterCode?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateMentorInput = { bio?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; expertise?: InputMaybe<Array<Scalars['String']['input']>>; headline?: InputMaybe<Scalars['String']['input']>; hourlyRate?: InputMaybe<Scalars['Int']['input']>; isAcceptingMentees?: InputMaybe<Scalars['Boolean']['input']>; role?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateProblemInput = { companies?: InputMaybe<Array<Scalars['String']['input']>>; difficulty?: InputMaybe<TecProblemDifficulty>; interviewFrequency?: InputMaybe<TecInterviewFrequency>; isPremiumOnly?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; points?: InputMaybe<Scalars['Int']['input']>; roles?: InputMaybe<Array<Scalars['String']['input']>>; starterCode?: InputMaybe<Scalars['String']['input']>; statement?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; topic?: InputMaybe<Scalars['String']['input']>; }; export type TecUpdateProblemTestCaseInput = { expectedOutput?: InputMaybe<Scalars['String']['input']>; input?: InputMaybe<Scalars['String']['input']>; memoryLimitMb?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; ordering?: InputMaybe<Scalars['Int']['input']>; timeLimitMs?: InputMaybe<Scalars['Int']['input']>; visibility?: InputMaybe<TecTestCaseVisibility>; }; export type TecUpdateProgressInput = { enrollmentId: Scalars['ID']['input']; lessonsCompleted?: InputMaybe<Scalars['Int']['input']>; progressPct: Scalars['Int']['input']; }; export type TecUpdateStudyPlanStepStatusInput = { status: TecStudyPlanStepStatus; stepId: Scalars['ID']['input']; }; /** The workspace's connected LRS and the state of the scheduled push. */ export type TecXapiLrsSync = { __typename?: 'TecXapiLrsSync'; connectedAt: Scalars['DateTime']['output']; /** The admin who connected the LRS. */ connectedBy: Scalars['ID']['output']; /** The wspace-integrations-svc connection that holds the endpoint and credentials. */ connectionId: Scalars['ID']['output']; consecutiveFailures: Scalars['Int']['output']; enabled: Scalars['Boolean']['output']; /** Learner activity before this instant has been pushed; null until the first page is accepted. */ highWaterMark?: Maybe<Scalars['DateTime']['output']>; /** Minutes between runs while they succeed. */ intervalMinutes: Scalars['Int']['output']; /** Why the last run failed; null after a successful run. */ lastError?: Maybe<Scalars['String']['output']>; lastErrorAt?: Maybe<Scalars['DateTime']['output']>; /** Statements the most recent successful run pushed. */ lastPushedCount: Scalars['Int']['output']; lastSuccessAt?: Maybe<Scalars['DateTime']['output']>; /** When the last run finished, successfully or not. */ lastSyncAt?: Maybe<Scalars['DateTime']['output']>; /** When the next run is due. */ nextAttemptAt: Scalars['DateTime']['output']; state: TecXapiSyncState; /** Statements the LRS accepted since it was connected. */ statementsPushed: Scalars['Int']['output']; }; /** * One page of xAPI 1.0.3 statements. `statements` is an array of * standard xAPI Statement objects ready to POST to an LRS `/statements` * endpoint. When `hasMore` is true, request the next page with * `since: nextSince` (statement ids are deterministic, so the one overlapping * timestamp is de-duplicated by the LRS). */ export type TecXapiStatementPage = { __typename?: 'TecXapiStatementPage'; count: Scalars['Int']['output']; hasMore: Scalars['Boolean']['output']; nextSince?: Maybe<Scalars['DateTime']['output']>; statements: Array<Scalars['JSON']['output']>; /** xAPI version the statements conform to. */ version: Scalars['String']['output']; }; export declare enum TecXapiSyncState { /** The last run failed; it is retried with backoff (see nextAttemptAt). */ Failing = "FAILING", /** Connected, no run has finished yet. */ NeverRun = "NEVER_RUN", /** The last run succeeded. */ Ok = "OK", /** A run is in progress. */ Running = "RUNNING" } export declare enum TemplateCategory { CodeAssistant = "CODE_ASSISTANT", ContentCreation = "CONTENT_CREATION", Custom = "CUSTOM", CustomerSupport = "CUSTOMER_SUPPORT", DataAnalysis = "DATA_ANALYSIS", Finance = "FINANCE", Hr = "HR", Marketing = "MARKETING", Productivity = "PRODUCTIVITY", Research = "RESEARCH", Sales = "SALES" } export type TemplateFilterInput = { category?: InputMaybe<TemplateCategory>; search?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<TemplateVisibility>; }; export declare enum TemplateVisibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } export type TerminalResult = { __typename?: 'TerminalResult'; connectionId: Scalars['String']['output']; host?: Maybe<Scalars['String']['output']>; localPort?: Maybe<Scalars['Int']['output']>; remotePort?: Maybe<Scalars['Int']['output']>; sessionId: Scalars['String']['output']; status: Scalars['String']['output']; ttydUrl?: Maybe<Scalars['String']['output']>; }; export type TerminateMtwReuseReservationInput = { expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; reason: Scalars['String']['input']; reservationId: Scalars['ID']['input']; status: MtwReuseReservationTerminalStatus; }; export type TerminateWorkflowResponse = MutationResponse & { __typename?: 'TerminateWorkflowResponse'; message: Scalars['String']['output']; reason?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type TerraceGarden = { __typename?: 'TerraceGarden'; areaSqm?: Maybe<Scalars['Float']['output']>; city?: Maybe<Scalars['String']['output']>; climateZone?: Maybe<Scalars['String']['output']>; containerCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; floorLevel?: Maybe<Scalars['Int']['output']>; /** TERRACE | BALCONY | BACKYARD | INDOOR | COMMUNITY_PLOT | WINDOWSILL */ gardenType: Scalars['String']['output']; /** Derived counts, so a garden card never needs a second round-trip. */ growSpaceCount: Scalars['Int']['output']; id: Scalars['ID']['output']; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** N | NE | E | SE | S | SW | W | NW */ orientation?: Maybe<Scalars['String']['output']>; plantingCount: Scalars['Int']['output']; region?: Maybe<Scalars['String']['output']>; shadeNotes?: Maybe<Scalars['String']['output']>; /** Measured hours of direct sun per day — drives the sowing planner. */ sunHours?: Maybe<Scalars['Float']['output']>; totalVolumeLitres: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; /** TAP | BOREWELL | RAINWATER | RO_REJECT | STORED */ waterSource?: Maybe<Scalars['String']['output']>; }; export type TestLogStreamDestinationResponse = MutationResponse & { __typename?: 'TestLogStreamDestinationResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type TestParserInput = { /** * BOFF-5518: test the expression against a stored DataSink by id. The backend * loads the payload server-side (workspace-scoped, soft-delete-aware, field-masked) * — the client sends only the reference. Mutually exclusive with sampleData and * with dataSinkKey. */ dataSinkId?: InputMaybe<Scalars['ID']['input']>; /** * BOFF-5518: test the expression against a stored DataSink by key (within the * caller's workspace). Mutually exclusive with sampleData. */ dataSinkKey?: InputMaybe<Scalars['String']['input']>; expression: Scalars['String']['input']; /** * Inline sample payload to test against. Optional as of BOFF-5518: prefer a * DataSink reference (dataSinkId/dataSinkKey) so the client does not have to ship * the full payload over the wire. Kept for the hand-edited-JSON path. Provide * EXACTLY ONE of sampleData or a DataSink reference. */ sampleData?: InputMaybe<Scalars['JSON']['input']>; /** * Optional cap on rows evaluated when resolving from a DataSink reference. Applied * best-effort to a top-level array payload to keep the test fast on large sinks. */ sampleLimit?: InputMaybe<Scalars['Int']['input']>; type: ParserType; }; export type TestPipelineInput = { inputData: Scalars['JSON']['input']; pipelineId: Scalars['ID']['input']; }; export type TestRuleSetInput = { /** An unsaved definition (the canvas as it is now). Overrides the saved one when both are given. */ definition?: InputMaybe<Scalars['JSON']['input']>; /** A saved rule set to evaluate. Omit to evaluate `definition` alone. */ id?: InputMaybe<Scalars['ID']['input']>; /** The document conditions read as `input.*` (or bare paths). */ input: Scalars['JSON']['input']; }; export type TestSecretsProviderConnectionResponse = MutationResponse & { __typename?: 'TestSecretsProviderConnectionResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type TheAddSupplierContactInput = { email?: InputMaybe<Scalars['String']['input']>; /** Make this the primary contact (the first contact always is). */ isPrimary?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; role?: InputMaybe<Scalars['String']['input']>; supplierId: Scalars['ID']['input']; }; export type TheAddWorkOrderPartInput = { description: Scalars['String']['input']; /** Optional inventory lot the part was drawn from. */ inventoryLotId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; partNumber?: InputMaybe<Scalars['String']['input']>; /** Quantity used; must be greater than zero. */ quantity: Scalars['Float']['input']; unit?: InputMaybe<Scalars['String']['input']>; }; export type TheAllocationCorrectionEntryInput = { assetId: Scalars['ID']['input']; /** Defaults to the original entry's royalty (0 for an asset not in the original). */ royaltyPct?: InputMaybe<Scalars['Float']['input']>; /** Signed change to the asset's allocated volume (negative reduces it). */ volumeDelta: Scalars['Float']['input']; /** Defaults to the original entry's working interest (or the asset's, for an asset not in the original). */ workingInterestPct?: InputMaybe<Scalars['Float']['input']>; }; export type TheAllocationEntry = { __typename?: 'TheAllocationEntry'; /** Sales-point share of the measured volume. Signed on a correction. */ allocatedVolume: Scalars['Float']['output']; allocationId: Scalars['ID']['output']; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; /** PRO_RATA input weight (well-test rate, theoretical volume, metered share); null for MANUAL. */ factor?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; /** The interest deck in force for the allocation period, when it supplied a term. */ interestDeckId?: Maybe<Scalars['ID']['output']>; /** Where the ownership terms came from. */ interestSource: TheInterestSource; /** netWorkingInterestVolume - royaltyVolume (net revenue interest volume). */ netRevenueVolume: Scalars['Float']['output']; /** allocatedVolume x workingInterestPct / 100. */ netWorkingInterestVolume: Scalars['Float']['output']; /** Overriding royalty burden on the working-interest share, 0-100. */ overridingRoyaltyPct: Scalars['Float']['output']; royaltyPct: Scalars['Float']['output']; /** netWorkingInterestVolume x (royaltyPct + overridingRoyaltyPct) / 100. */ royaltyVolume: Scalars['Float']['output']; /** allocatedVolume as a percentage of the measured volume (0-100). On a correction, the signed delta as a percentage of the original's measured volume. */ sharePct: Scalars['Float']['output']; /** The asset's share of the allocation's shrinkage. */ shrinkageVolume: Scalars['Float']['output']; /** The asset's theoretical (well-test / metered) volume, when supplied. */ theoreticalVolume?: Maybe<Scalars['Float']['output']>; unit: TheUnit; /** allocatedVolume + shrinkageVolume. */ wellheadVolume: Scalars['Float']['output']; workingInterestPct: Scalars['Float']['output']; }; export type TheAllocationEntryInput = { assetId: Scalars['ID']['input']; /** PRO_RATA: the asset's allocation weight (>= 0). Defaults to theoreticalVolume when omitted. */ factor?: InputMaybe<Scalars['Float']['input']>; /** Overriding royalty burden on the working-interest share, 0-100. Defaults to the deck's overridingRoyaltyPct, else 0. */ overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>; /** Royalty burden on the working-interest share, 0-100. Defaults to the deck's royaltyPct, else 0. */ royaltyPct?: InputMaybe<Scalars['Float']['input']>; /** The asset's theoretical volume for the period (>= 0). Give it for every entry or none; it drives the reconciliation factor. */ theoreticalVolume?: InputMaybe<Scalars['Float']['input']>; /** MANUAL: required, the asset's allocated volume (>= 0). */ volume?: InputMaybe<Scalars['Float']['input']>; /** Working interest held in this asset, 0-100. Defaults to the workspace party of the interest deck in force for the period, else the asset's workingInterestPct. */ workingInterestPct?: InputMaybe<Scalars['Float']['input']>; }; /** A production record inside a closed period that has no APPROVED allocation. */ export type TheAllocationException = { __typename?: 'TheAllocationException'; id: Scalars['ID']['output']; periodClose: TheAllocationPeriodClose; productionRecord: TheProductionRecord; reason: TheAllocationExceptionReason; }; export type TheAllocationExceptionConnection = { __typename?: 'TheAllocationExceptionConnection'; items: Array<TheAllocationException>; pageInfo: ThePageInfo; totalCount: Scalars['Int']['output']; }; export declare enum TheAllocationExceptionReason { /** The record only has a DRAFT allocation. */ DraftPending = "DRAFT_PENDING", /** The record has no live allocation. */ Unallocated = "UNALLOCATED" } export declare enum TheAllocationMethod { Manual = "MANUAL", ProRata = "PRO_RATA" } export type TheAllocationPeriodClose = { __typename?: 'TheAllocationPeriodClose'; asset?: Maybe<TheAsset>; /** Measurement asset (field / facility) the close applies to; null when it applies to every asset. */ assetId?: Maybe<Scalars['ID']['output']>; closeNotes?: Maybe<Scalars['String']['output']>; closedAt: Scalars['DateTime']['output']; closedBy: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; reopenReason?: Maybe<Scalars['String']['output']>; reopenedAt?: Maybe<Scalars['DateTime']['output']>; reopenedBy?: Maybe<Scalars['ID']['output']>; status: TheAllocationPeriodStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheAllocationPeriodCloseConnection = { __typename?: 'TheAllocationPeriodCloseConnection'; items: Array<TheAllocationPeriodClose>; pageInfo: ThePageInfo; }; export declare enum TheAllocationPeriodStatus { Closed = "CLOSED", Reopened = "REOPENED" } export type TheAllocationShrinkage = { __typename?: 'TheAllocationShrinkage'; category: TheShrinkageCategory; volume: Scalars['Float']['output']; }; export type TheAllocationShrinkageInput = { category: TheShrinkageCategory; /** Volume in the allocation unit (>= 0). */ volume: Scalars['Float']['input']; }; export type TheAllocationStatement = { __typename?: 'TheAllocationStatement'; /** APPROVED allocations in the window with their per-asset entries (at most 500). */ allocations: Array<TheProductionAllocation>; /** The statement as a CSV document (RFC 4180, formula-safe). */ csv: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; measurementAssetId?: Maybe<Scalars['ID']['output']>; netPosition: TheNetProductionPosition; /** CLOSED periods overlapping the window. */ periodCloses: Array<TheAllocationPeriodClose>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; truncated: Scalars['Boolean']['output']; /** Production records in the window with no APPROVED allocation. */ unapprovedRecordCount: Scalars['Int']['output']; }; export declare enum TheAllocationStatus { Approved = "APPROVED", Draft = "DRAFT", Reversed = "REVERSED" } export type TheAsset = { __typename?: 'TheAsset'; /** Areal extent of the asset (field / lease / concession), in square kilometers. */ area?: Maybe<Scalars['Float']['output']>; capacityPerDay: Scalars['Float']['output']; capacityUnit: TheUnit; code?: Maybe<Scalars['String']['output']>; commissionedAt?: Maybe<Scalars['DateTime']['output']>; commodity: TheCommodityType; createdAt: Scalars['DateTime']['output']; decommissionedAt?: Maybe<Scalars['DateTime']['output']>; /** Date the field/deposit was first discovered (exploration record), if known. */ discoveryAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; kind: TheAssetKind; latitude?: Maybe<Scalars['Float']['output']>; location?: Maybe<Scalars['String']['output']>; longitude?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; operatorLeadId?: Maybe<Scalars['ID']['output']>; /** * Federated reference to the asset's photo File (key-only, owned by * wspace-files-svc). */ photo?: Maybe<File>; /** * wspace-files-svc File id of the asset's photo, if one was uploaded * (BOFF-10630). Resolve the image through the Files graph root fields * (getFile / getFileDownloadUrl). */ photoFileId?: Maybe<Scalars['ID']['output']>; productionRecords: TheProductionRecordConnection; reserveEstimates: TheReserveEstimateConnection; /** Reservoir / deposit lithology or type (e.g. Carbonate, Sandstone, Porphyry). */ reservoirType?: Maybe<Scalars['String']['output']>; status: TheAssetStatus; updatedAt: Scalars['DateTime']['output']; /** Water depth in meters for offshore assets; null for onshore assets. */ waterDepth?: Maybe<Scalars['Float']['output']>; workingInterestPct: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TheAssetProductionRecordsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TheAssetReserveEstimatesArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TheAssetConnection = { __typename?: 'TheAssetConnection'; items: Array<TheAsset>; pageInfo: ThePageInfo; }; export type TheAssetForecastAccuracy = { __typename?: 'TheAssetForecastAccuracy'; actualToDate: Scalars['Float']['output']; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; /** (actual - forecast) / forecast over the reported days, in percent. */ biasPct?: Maybe<Scalars['Float']['output']>; /** Reported days whose actual fell outside the locked P10-P90 band. */ daysOutsideBand: Scalars['Int']['output']; driftReason?: Maybe<Scalars['String']['output']>; /** Locked forecast summed over the reported days only. */ forecastToDate: Scalars['Float']['output']; mape?: Maybe<Scalars['Float']['output']>; /** Days since the lock with reported production. */ observedDays: Scalars['Int']['output']; periods: Array<TheForecastPeriodAccuracy>; /** Best-fitting alternative method and history window; set only for drifting assets. */ recommendation?: Maybe<TheForecastRecommendation>; status: TheForecastDriftStatus; /** Plain-language next step; set only for drifting assets. */ suggestion?: Maybe<Scalars['String']['output']>; /** Locked central forecast over the whole horizon. */ totalForecast: Scalars['Float']['output']; }; export type TheAssetForecastSummary = { __typename?: 'TheAssetForecastSummary'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; backtestMape?: Maybe<Scalars['Float']['output']>; dailyRate: Scalars['Float']['output']; observations: Scalars['Int']['output']; status: TheAssetStatus; totalForecast: Scalars['Float']['output']; }; /** * An AssetHandler asset, as read through the internal gateway for the equipment * link picker. */ export type TheAssetHandlerAsset = { __typename?: 'TheAssetHandlerAsset'; assetNumber: Scalars['String']['output']; category: Scalars['String']['output']; id: Scalars['ID']['output']; locationName?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; status: Scalars['String']['output']; }; export type TheAssetHandlerAssetPage = { __typename?: 'TheAssetHandlerAssetPage'; items: Array<TheAssetHandlerAsset>; /** Pass as `cursor` to read the next page; null on the last page. */ nextCursor?: Maybe<Scalars['String']['output']>; }; export declare enum TheAssetKind { GasField = "GAS_FIELD", Mine = "MINE", OilField = "OIL_FIELD", Pipeline = "PIPELINE", PowerPlant = "POWER_PLANT", ProcessingPlant = "PROCESSING_PLANT", Quarry = "QUARRY", Refinery = "REFINERY", SolarFarm = "SOLAR_FARM", StorageTerminal = "STORAGE_TERMINAL", Well = "WELL", WindFarm = "WIND_FARM" } export declare enum TheAssetStatus { Appraisal = "APPRAISAL", Decommissioning = "DECOMMISSIONING", Development = "DEVELOPMENT", Exploration = "EXPLORATION", Producing = "PRODUCING", Retired = "RETIRED", Suspended = "SUSPENDED" } export type TheAssignWorkOrderContractorInput = { /** Require this recorded ProServiceWorld credential of the contractor to be unexpired. */ credentialId?: InputMaybe<Scalars['ID']['input']>; practitionerId: Scalars['ID']['input']; }; export type TheAssignWorkOrderCrewInput = { crewTeamId: Scalars['ID']['input']; /** Minimum proficiency (1-5) for the required skill. */ minProficiency?: InputMaybe<Scalars['Int']['input']>; /** Require at least one crew member (or the lead) to hold this CrewFoundry skill. */ requiredSkillId?: InputMaybe<Scalars['ID']['input']>; }; export type TheAttachWorkOrderFileInput = { caption?: InputMaybe<Scalars['String']['input']>; /** wspace-files-svc File id from the platform upload flow. */ fileId: Scalars['ID']['input']; kind?: InputMaybe<TheWorkOrderAttachmentKind>; }; export type TheBulkAllocateProductionInput = { /** Also approve each allocation it creates. */ approve?: InputMaybe<Scalars['Boolean']['input']>; /** Validate every record without writing anything. */ dryRun?: InputMaybe<Scalars['Boolean']['input']>; /** PRO_RATA factors (e.g. the latest well-test rates), with optional working-interest / royalty overrides. */ entries: Array<TheAllocationEntryInput>; /** Asset the production records were measured at (field / facility / meter). */ measurementAssetId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; export declare enum TheBulkAllocationOutcome { /** A DRAFT allocation was created. */ Allocated = "ALLOCATED", /** An allocation was created and approved. */ Approved = "APPROVED", /** The record could not be allocated (see errorCode / message). */ Failed = "FAILED", /** The record already had a live allocation and was left alone. */ Skipped = "SKIPPED", /** Dry run: the record would be allocated. */ Validated = "VALIDATED" } export type TheBulkAllocationRecordResult = { __typename?: 'TheBulkAllocationRecordResult'; allocation?: Maybe<TheProductionAllocation>; errorCode?: Maybe<Scalars['String']['output']>; measuredVolume: Scalars['Float']['output']; message?: Maybe<Scalars['String']['output']>; outcome: TheBulkAllocationOutcome; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; productionRecordId: Scalars['ID']['output']; unit: TheUnit; }; export type TheBulkAllocationResult = { __typename?: 'TheBulkAllocationResult'; /** Allocations created (including those also approved). */ allocatedCount: Scalars['Int']['output']; approve: Scalars['Boolean']['output']; approvedCount: Scalars['Int']['output']; dryRun: Scalars['Boolean']['output']; failedCount: Scalars['Int']['output']; /** Production records in the window that were considered (at most 200). */ recordCount: Scalars['Int']['output']; results: Array<TheBulkAllocationRecordResult>; skippedCount: Scalars['Int']['output']; /** True when the window held more records than one run processes; run again for the rest. */ truncated: Scalars['Boolean']['output']; validatedCount: Scalars['Int']['output']; }; /** * A holding of carbon credits from one registry project and vintage. One credit * is one tonne of CO2e. */ export type TheCarbonCredit = { __typename?: 'TheCarbonCredit'; acquiredAt?: Maybe<Scalars['DateTime']['output']>; /** Tonnes of this holding still available to retire. */ availableTonnes: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** Reference to a wspace-files-svc File (registry statement or transfer record). */ evidence?: Maybe<File>; id: Scalars['ID']['output']; methodology?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; /** Registry project identifier (e.g. VCS-1234). */ projectId: Scalars['String']['output']; projectName: Scalars['String']['output']; quantityTonnes: Scalars['Float']['output']; registry: TheCarbonRegistry; retiredTonnes: Scalars['Float']['output']; serialEnd?: Maybe<Scalars['String']['output']>; serialStart?: Maybe<Scalars['String']['output']>; status: TheCarbonCreditStatus; unitCost?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; vintageYear: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type TheCarbonCreditConnection = { __typename?: 'TheCarbonCreditConnection'; items: Array<TheCarbonCredit>; pageInfo: ThePageInfo; }; /** * Lifecycle of a carbon-credit holding. Retirements move it from ACTIVE to * PARTIALLY_RETIRED and then RETIRED; only an ACTIVE holding with nothing * retired can be CANCELLED. */ export declare enum TheCarbonCreditStatus { Active = "ACTIVE", Cancelled = "CANCELLED", PartiallyRetired = "PARTIALLY_RETIRED", Retired = "RETIRED" } /** * Offset matching for a reporting period: the period's emission records netted * against the carbon-credit retirements claimed for it. A record or retirement * counts when its period overlaps the requested one (the same rule ESG * disclosures use). */ export type TheCarbonOffsetPosition = { __typename?: 'TheCarbonOffsetPosition'; assetId?: Maybe<Scalars['ID']['output']>; byScope: Array<TheScopeOffsetRow>; byVintage: Array<TheVintageOffsetRow>; /** Offset share of gross emissions, 0-100. Null when the period has no emissions. */ coveragePct?: Maybe<Scalars['Float']['output']>; grossCo2eTonnes: Scalars['Float']['output']; netCo2eTonnes: Scalars['Float']['output']; offsetTonnes: Scalars['Float']['output']; oldVintageTonnes: Scalars['Float']['output']; overOffsetTonnes: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; retirementCount: Scalars['Int']['output']; unretiredBalanceTonnes: Scalars['Float']['output']; unscopedOffsetTonnes: Scalars['Float']['output']; }; /** Carbon-credit registry a holding was issued on. */ export declare enum TheCarbonRegistry { Acr = "ACR", Article_6 = "ARTICLE_6", Car = "CAR", Cdm = "CDM", GoldStandard = "GOLD_STANDARD", Isometric = "ISOMETRIC", Other = "OTHER", PuroEarth = "PURO_EARTH", Verra = "VERRA" } /** * A permanent retirement of part of a carbon-credit holding, claimed against an * emissions reporting period and optionally one asset and GHG scope. */ export type TheCarbonRetirement = { __typename?: 'TheCarbonRetirement'; asset?: Maybe<TheAsset>; assetId?: Maybe<Scalars['ID']['output']>; beneficiary: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; credit: TheCarbonCredit; creditId: Scalars['ID']['output']; id: Scalars['ID']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; quantityTonnes: Scalars['Float']['output']; reason?: Maybe<Scalars['String']['output']>; registryReference?: Maybe<Scalars['String']['output']>; retiredAt: Scalars['DateTime']['output']; scope?: Maybe<TheEmissionScope>; workspaceId: Scalars['ID']['output']; }; export type TheCarbonRetirementConnection = { __typename?: 'TheCarbonRetirementConnection'; items: Array<TheCarbonRetirement>; pageInfo: ThePageInfo; }; export type TheChainAssetForecast = { __typename?: 'TheChainAssetForecast'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; backtestMape?: Maybe<Scalars['Float']['output']>; calibration?: Maybe<TheWeatherCalibrationMethod>; dailyRate: Scalars['Float']['output']; /** WEATHER, or the statistical method used (a TheForecastMethod value). */ method: Scalars['String']['output']; nodeId: Scalars['ID']['output']; technology?: Maybe<TheWeatherTechnology>; totalForecast: Scalars['Float']['output']; weatherDays: Scalars['Int']['output']; }; /** * A constraint that limits the plan. The shadow price is the objective improvement * per extra unit of the limit; relaxationValue is the improvement from relaxing it * by 10%, which makes constraints of different units comparable. */ export type TheChainBindingConstraint = { __typename?: 'TheChainBindingConstraint'; description: Scalars['String']['output']; kind: TheChainConstraintKind; limit?: Maybe<Scalars['Float']['output']>; periods: Array<Scalars['Int']['output']>; relaxationValue: Scalars['Float']['output']; shadowPrice: Scalars['Float']['output']; subjectId?: Maybe<Scalars['ID']['output']>; subjectName: Scalars['String']['output']; }; /** Where a link's capacity in a plan came from. */ export declare enum TheChainCapacitySource { Movethewheels = "MOVETHEWHEELS", Network = "NETWORK", Unconstrained = "UNCONSTRAINED" } export declare enum TheChainConstraintKind { CarbonBudget = "CARBON_BUDGET", LinkCapacity = "LINK_CAPACITY", StorageCapacity = "STORAGE_CAPACITY", Supply = "SUPPLY" } export type TheChainContractPlan = { __typename?: 'TheChainContractPlan'; contractId: Scalars['ID']['output']; counterparty: Scalars['String']['output']; delivered: Scalars['Float']['output']; demand: Scalars['Float']['output']; fulfilmentPct: Scalars['Float']['output']; nodeId: Scalars['ID']['output']; reference: Scalars['String']['output']; shortfall: Scalars['Float']['output']; }; /** A transport route or conversion step between two nodes. */ export type TheChainLink = { __typename?: 'TheChainLink'; /** Maximum input volume per day in the from-node unit; null means unconstrained. */ capacityPerDay?: Maybe<Scalars['Float']['output']>; /** * kg CO2e per unit of input volume; null when not set (0 in plans, or derived * from the MoveTheWheels route when one is named). */ carbonKgPerUnit?: Maybe<Scalars['Float']['output']>; costPerUnit: Scalars['Float']['output']; fromNodeId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: TheChainLinkKind; lossPct: Scalars['Float']['output']; mode?: Maybe<TheTransportMode>; movethewheelsRouteId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; toNodeId: Scalars['ID']['output']; /** Output units per input unit (CONVERSION only). */ yieldFactor?: Maybe<Scalars['Float']['output']>; }; export type TheChainLinkInput = { capacityPerDay?: InputMaybe<Scalars['Float']['input']>; /** * kg CO2e per unit of input volume. Leave it out to derive emissions from the * MoveTheWheels route (or 0 without one); 0 means zero-emission. */ carbonKgPerUnit?: InputMaybe<Scalars['Float']['input']>; costPerUnit?: InputMaybe<Scalars['Float']['input']>; /** Name of the from-node. */ from: Scalars['String']['input']; kind?: InputMaybe<TheChainLinkKind>; lossPct?: InputMaybe<Scalars['Float']['input']>; mode?: InputMaybe<TheTransportMode>; movethewheelsRouteId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; /** Name of the to-node. */ to: Scalars['String']['input']; yieldFactor?: InputMaybe<Scalars['Float']['input']>; }; /** * TRANSPORT moves one commodity between nodes; CONVERSION turns the input * commodity into the output commodity at a yield. */ export declare enum TheChainLinkKind { Conversion = "CONVERSION", Transport = "TRANSPORT" } export type TheChainLinkPeriod = { __typename?: 'TheChainLinkPeriod'; capacity?: Maybe<Scalars['Float']['output']>; flow: Scalars['Float']['output']; period: Scalars['Int']['output']; utilisationPct?: Maybe<Scalars['Float']['output']>; }; export type TheChainLinkPlan = { __typename?: 'TheChainLinkPlan'; capacityPerDay?: Maybe<Scalars['Float']['output']>; capacitySource: TheChainCapacitySource; carbonKgPerUnit: Scalars['Float']['output']; carbonTonnes: Scalars['Float']['output']; cost: Scalars['Float']['output']; fromNodeId: Scalars['ID']['output']; kind: TheChainLinkKind; linkId: Scalars['ID']['output']; movethewheelsRouteId?: Maybe<Scalars['ID']['output']>; name: Scalars['String']['output']; periods: Array<TheChainLinkPeriod>; toNodeId: Scalars['ID']['output']; totalFlow: Scalars['Float']['output']; totalOutput: Scalars['Float']['output']; utilisationPct?: Maybe<Scalars['Float']['output']>; /** Output per input unit used by the plan (unit conversion, loss and conversion yield). */ yieldFactor: Scalars['Float']['output']; }; /** * A saved model of a multi-site resource chain. Only the network is stored; * plans are always computed from live data. */ export type TheChainNetwork = { __typename?: 'TheChainNetwork'; carbonBudgetTonnes?: Maybe<Scalars['Float']['output']>; carbonPricePerTonne: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; historyDays: Scalars['Int']['output']; horizonDays: Scalars['Int']['output']; id: Scalars['ID']['output']; links: Array<TheChainLink>; method: TheForecastMethod; name: Scalars['String']['output']; nodes: Array<TheChainNode>; objective: TheChainObjective; /** Penalty per unit of unserved demand; null derives one from the link costs. */ shortfallPenalty?: Maybe<Scalars['Float']['output']>; updatedAt: Scalars['DateTime']['output']; /** Forecast wind and solar assets with coordinates from the weather. */ useWeather: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type TheChainNetworkConnection = { __typename?: 'TheChainNetworkConnection'; items: Array<TheChainNetwork>; pageInfo: ThePageInfo; }; export type TheChainNetworkInput = { carbonBudgetTonnes?: InputMaybe<Scalars['Float']['input']>; carbonPricePerTonne?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; links?: InputMaybe<Array<TheChainLinkInput>>; method?: InputMaybe<TheForecastMethod>; name: Scalars['String']['input']; nodes: Array<TheChainNodeInput>; objective?: InputMaybe<TheChainObjective>; shortfallPenalty?: InputMaybe<Scalars['Float']['input']>; useWeather?: InputMaybe<Scalars['Boolean']['input']>; }; /** One commodity stock at one location. */ export type TheChainNode = { __typename?: 'TheChainNode'; assetIds: Array<Scalars['ID']['output']>; commodity: TheCommodityType; contractIds: Array<Scalars['ID']['output']>; holdingCostPerUnitDay: Scalars['Float']['output']; id: Scalars['ID']['output']; kind: TheChainNodeKind; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; name: Scalars['String']['output']; /** Opening stock; null sums AVAILABLE inventory lots whose location matches the node name. */ openingStock?: Maybe<Scalars['Float']['output']>; storageCapacity?: Maybe<Scalars['Float']['output']>; unit: TheUnit; }; export type TheChainNodeInput = { assetIds?: InputMaybe<Array<Scalars['ID']['input']>>; commodity: TheCommodityType; contractIds?: InputMaybe<Array<Scalars['ID']['input']>>; holdingCostPerUnitDay?: InputMaybe<Scalars['Float']['input']>; kind?: InputMaybe<TheChainNodeKind>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; /** Unique within the network; links refer to nodes by name. */ name: Scalars['String']['input']; openingStock?: InputMaybe<Scalars['Float']['input']>; storageCapacity?: InputMaybe<Scalars['Float']['input']>; unit: TheUnit; }; export declare enum TheChainNodeKind { DeliveryPoint = "DELIVERY_POINT", Processing = "PROCESSING", Storage = "STORAGE", SupplySite = "SUPPLY_SITE" } export type TheChainNodePeriod = { __typename?: 'TheChainNodePeriod'; closingStock: Scalars['Float']['output']; curtailed: Scalars['Float']['output']; delivered: Scalars['Float']['output']; demand: Scalars['Float']['output']; inbound: Scalars['Float']['output']; period: Scalars['Int']['output']; production: Scalars['Float']['output']; received: Scalars['Float']['output']; sent: Scalars['Float']['output']; shortfall: Scalars['Float']['output']; }; export type TheChainNodePlan = { __typename?: 'TheChainNodePlan'; closingStock: Scalars['Float']['output']; commodity: TheCommodityType; curtailed: Scalars['Float']['output']; delivered: Scalars['Float']['output']; demand: Scalars['Float']['output']; inbound: Scalars['Float']['output']; name: Scalars['String']['output']; nodeId: Scalars['ID']['output']; openingStock: Scalars['Float']['output']; peakStock: Scalars['Float']['output']; periods: Array<TheChainNodePeriod>; production: Scalars['Float']['output']; shortfall: Scalars['Float']['output']; unit: TheUnit; }; /** * What the optimizer minimises. COST: logistics and holding cost. CARBON: * emissions. BALANCED: cost plus emissions priced at the network's carbon price. */ export declare enum TheChainObjective { Balanced = "BALANCED", Carbon = "CARBON", Cost = "COST" } export type TheChainPeriod = { __typename?: 'TheChainPeriod'; days: Scalars['Int']['output']; end: Scalars['DateTime']['output']; index: Scalars['Int']['output']; start: Scalars['DateTime']['output']; }; export type TheChainPlan = { __typename?: 'TheChainPlan'; assets: Array<TheChainAssetForecast>; /** Most limiting first. */ bindingConstraints: Array<TheChainBindingConstraint>; carbonPricePerTonne: Scalars['Float']['output']; contracts: Array<TheChainContractPlan>; currency: Scalars['String']['output']; generatedAt: Scalars['DateTime']['output']; horizonDays: Scalars['Int']['output']; links: Array<TheChainLinkPlan>; name: Scalars['String']['output']; /** The saved network; null for a preview of an unsaved network. */ network?: Maybe<TheChainNetwork>; nodes: Array<TheChainNodePlan>; objective: TheChainObjective; periods: Array<TheChainPeriod>; recommendations: Array<Scalars['String']['output']>; shipments: Array<TheChainShipment>; status: TheChainPlanStatus; summary: TheChainPlanSummary; warnings: Array<Scalars['String']['output']>; }; export declare enum TheChainPlanStatus { Infeasible = "INFEASIBLE", IterationLimit = "ITERATION_LIMIT", Optimal = "OPTIMAL", Unbounded = "UNBOUNDED" } export type TheChainPlanSummary = { __typename?: 'TheChainPlanSummary'; fulfilmentPct: Scalars['Float']['output']; objectiveValue: Scalars['Float']['output']; shortfallPenalty: Scalars['Float']['output']; totalCarbonTonnes: Scalars['Float']['output']; /** Logistics plus holding cost, in the network currency. */ totalCost: Scalars['Float']['output']; totalCurtailed: Scalars['Float']['output']; totalDelivered: Scalars['Float']['output']; totalDemand: Scalars['Float']['output']; totalInbound: Scalars['Float']['output']; totalProduction: Scalars['Float']['output']; totalShortfall: Scalars['Float']['output']; }; /** Recommended volume to move over a link in a planning period. */ export type TheChainShipment = { __typename?: 'TheChainShipment'; linkId: Scalars['ID']['output']; linkName: Scalars['String']['output']; period: Scalars['Int']['output']; periodStart: Scalars['DateTime']['output']; volume: Scalars['Float']['output']; }; /** One checklist step to define on a schedule or an ad-hoc work order. */ export type TheChecklistStepInput = { label: Scalars['String']['input']; required?: InputMaybe<Scalars['Boolean']['input']>; }; /** One step of a schedule's checklist template. */ export type TheChecklistStepTemplate = { __typename?: 'TheChecklistStepTemplate'; label: Scalars['String']['output']; /** A work order cannot be completed while a required step is unticked. */ required: Scalars['Boolean']['output']; }; export type TheCloseAllocationPeriodInput = { /** Close the period for one measurement asset only; omit to close it for every asset. */ assetId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; export declare enum TheCommodityType { Bauxite = "BAUXITE", Biofuel = "BIOFUEL", Coal = "COAL", Copper = "COPPER", CrudeOil = "CRUDE_OIL", Electricity = "ELECTRICITY", Gold = "GOLD", Hydrogen = "HYDROGEN", IronOre = "IRON_ORE", Lithium = "LITHIUM", Lng = "LNG", NaturalGas = "NATURAL_GAS", RareEarth = "RARE_EARTH" } export declare enum TheComplianceCategory { CarbonCredit = "CARBON_CREDIT", ChainOfCustody = "CHAIN_OF_CUSTODY", EmissionsReport = "EMISSIONS_REPORT", EnvironmentalPermit = "ENVIRONMENTAL_PERMIT", ExportLicense = "EXPORT_LICENSE", ExtractionLicense = "EXTRACTION_LICENSE", SafetyAudit = "SAFETY_AUDIT" } export type TheComplianceCert = { __typename?: 'TheComplianceCert'; assetId?: Maybe<Scalars['ID']['output']>; authority?: Maybe<Scalars['String']['output']>; category: TheComplianceCategory; certNumber?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; /** Reference to a wspace-files-svc File (the certificate document). */ evidence?: Maybe<File>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; issuedAt?: Maybe<Scalars['DateTime']['output']>; notes?: Maybe<Scalars['String']['output']>; ownerId?: Maybe<Scalars['ID']['output']>; status: TheComplianceStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheComplianceCertConnection = { __typename?: 'TheComplianceCertConnection'; items: Array<TheComplianceCert>; pageInfo: ThePageInfo; }; export declare enum TheComplianceStatus { Approved = "APPROVED", Expired = "EXPIRED", Pending = "PENDING", Rejected = "REJECTED", Revoked = "REVOKED", Submitted = "SUBMITTED" } /** Direction in which a reading breaches a condition rule's threshold. */ export declare enum TheConditionComparator { GreaterThan = "GREATER_THAN", GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", LessThan = "LESS_THAN", LessThanOrEqual = "LESS_THAN_OR_EQUAL" } /** * What a breaching reading did: raised a new work order, or refreshed the rule * because one of its work orders is still unfinished. */ export declare enum TheConditionEvaluationOutcome { Raised = "RAISED", Refreshed = "REFRESHED" } /** * A reading taken by hand (inspection round, handheld instrument) against a * piece of equipment. */ export type TheConditionReadingInput = { /** Instrument code, matched against rules pinned to a device. */ deviceCode?: InputMaybe<Scalars['String']['input']>; equipmentId: Scalars['ID']['input']; metricKey: Scalars['String']['input']; /** When the reading was taken; defaults to now. */ recordedAt?: InputMaybe<Scalars['DateTime']['input']>; unit?: InputMaybe<Scalars['String']['input']>; value: Scalars['Float']['input']; }; /** Result of evaluating a reading against the equipment's condition rules. */ export type TheConditionReadingResult = { __typename?: 'TheConditionReadingResult'; breaches: Array<TheConditionRuleEvaluation>; /** Active rules on the equipment that watch the reading's metric. */ rulesEvaluated: Scalars['Int']['output']; workOrdersRaised: Scalars['Int']['output']; }; /** * A condition-monitoring rule on one piece of equipment. When a reading of * `metricKey` crosses `threshold` in the `comparator` direction, a * CONDITION_BASED work order is raised with the reading as its trigger. */ export type TheConditionRule = { __typename?: 'TheConditionRule'; active: Scalars['Boolean']['output']; comparator: TheConditionComparator; createdAt: Scalars['DateTime']['output']; /** * Restrict the rule to one IoT device by its code. Null means any device * bound to the equipment, plus manually recorded readings. */ deviceCode?: Maybe<Scalars['String']['output']>; equipment?: Maybe<TheEquipment>; equipmentId: Scalars['ID']['output']; id: Scalars['ID']['output']; lastTriggerValue?: Maybe<Scalars['Float']['output']>; lastTriggeredAt?: Maybe<Scalars['DateTime']['output']>; /** Telemetry metric key the rule watches (e.g. vibration_mm_s), lower case. */ metricKey: Scalars['String']['output']; name: Scalars['String']['output']; /** The unfinished work order currently covering this condition, if any. */ openWorkOrder?: Maybe<TheWorkOrder>; /** Priority given to the work orders this rule raises. */ priority: TheMaintenancePriority; threshold: Scalars['Float']['output']; /** * Unit the threshold is expressed in. When set, readings in any other unit * (or with no unit) are ignored. */ unit?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheConditionRuleConnection = { __typename?: 'TheConditionRuleConnection'; items: Array<TheConditionRule>; pageInfo: ThePageInfo; }; /** One rule a reading breached, and what that did. */ export type TheConditionRuleEvaluation = { __typename?: 'TheConditionRuleEvaluation'; outcome: TheConditionEvaluationOutcome; rule: TheConditionRule; workOrder: TheWorkOrder; }; /** How a committed contract turns into a daily demand (SELL) or supply (BUY) signal. */ export type TheContractDemand = { __typename?: 'TheContractDemand'; contractId: Scalars['ID']['output']; counterparty: Scalars['String']['output']; currency: Scalars['String']['output']; dailyRate: Scalars['Float']['output']; endDate?: Maybe<Scalars['DateTime']['output']>; /** Volume falling inside the forecast horizon. */ horizonVolume: Scalars['Float']['output']; /** True when the contract has no end date and was spread over the horizon. */ openEnded: Scalars['Boolean']['output']; pricePerUnit: Scalars['Float']['output']; reference: Scalars['String']['output']; /** Contracted volume not yet delivered, in the forecast unit. */ remainingVolume: Scalars['Float']['output']; side: TheContractSide; startDate?: Maybe<Scalars['DateTime']['output']>; }; export type TheContractEntitlement = { __typename?: 'TheContractEntitlement'; allocationEntryId: Scalars['ID']['output']; allocationId: Scalars['ID']['output']; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; contract?: Maybe<TheOfftakeContract>; contractId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; /** Start of the allocation period the volume was produced in. */ periodStart: Scalars['DateTime']['output']; unit: TheUnit; volume: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TheContractEntitlementConnection = { __typename?: 'TheContractEntitlementConnection'; items: Array<TheContractEntitlement>; pageInfo: ThePageInfo; }; export type TheContractFulfilment = { __typename?: 'TheContractFulfilment'; contractId: Scalars['ID']['output']; contractReference: Scalars['String']['output']; counterparty: Scalars['String']['output']; /** Volume due inside the horizon. */ demand: Scalars['Float']['output']; dispatched: Scalars['Float']['output']; endDate?: Maybe<Scalars['DateTime']['output']>; fulfilmentPct: Scalars['Float']['output']; /** Volume still owed at the end of the horizon. */ shortfall: Scalars['Float']['output']; }; /** A contract's entitlement from approved allocations against its lifted (delivered) volume, in the contract's unit. */ export type TheContractLiftingPosition = { __typename?: 'TheContractLiftingPosition'; /** liftedVolume - entitledVolume: positive is over-lifted, negative under-lifted. */ balanceVolume: Scalars['Float']['output']; contract?: Maybe<TheOfftakeContract>; contractId: Scalars['ID']['output']; contractedVolume: Scalars['Float']['output']; entitledVolume: Scalars['Float']['output']; entitlementCount: Scalars['Int']['output']; liftedVolume: Scalars['Float']['output']; position: TheLiftingPositionKind; unit: TheUnit; }; export declare enum TheContractSide { Buy = "BUY", Sell = "SELL" } export declare enum TheContractStatus { Active = "ACTIVE", Completed = "COMPLETED", Draft = "DRAFT", Negotiation = "NEGOTIATION", Signed = "SIGNED", Suspended = "SUSPENDED", Terminated = "TERMINATED" } /** * A committed contract's undelivered volume valued today: FIXED at its own * price, INDEX_LINKED / FORMULA / SPOT at the index price plus the contract * differential, in the contract's unit and currency. */ export type TheContractValuation = { __typename?: 'TheContractValuation'; contractId: Scalars['ID']['output']; /** Fixed price, or the differential for index-priced contracts. */ contractPrice: Scalars['Float']['output']; counterparty: Scalars['String']['output']; currency: Scalars['String']['output']; /** Index price in the index's own unit, when the contract is index-priced. */ indexPrice?: Maybe<Scalars['Float']['output']>; /** When UNAVAILABLE: the price source that is missing and how to add it. */ missingSource?: Maybe<Scalars['String']['output']>; priceDate?: Maybe<Scalars['DateTime']['output']>; priceIndex?: Maybe<Scalars['String']['output']>; priceKind?: Maybe<ThePricePointKind>; priceSource?: Maybe<Scalars['String']['output']>; pricingBasis: ThePricingBasis; reference: Scalars['String']['output']; remainingVolume: Scalars['Float']['output']; side: TheContractSide; status: TheValuationStatus; unit: TheUnit; valuedAmount?: Maybe<Scalars['Float']['output']>; /** Price per contract unit used for the valuation. */ valuedPrice?: Maybe<Scalars['Float']['output']>; }; export type TheCorrectiveAction = { __typename?: 'TheCorrectiveAction'; closedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; incidentId: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; ownerId?: Maybe<Scalars['ID']['output']>; status: TheCorrectiveActionStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheCorrectiveActionConnection = { __typename?: 'TheCorrectiveActionConnection'; items: Array<TheCorrectiveAction>; pageInfo: ThePageInfo; }; export declare enum TheCorrectiveActionStatus { Closed = "CLOSED", InProgress = "IN_PROGRESS", Open = "OPEN", Verified = "VERIFIED" } export type TheCreateAllocationCorrectionInput = { /** The APPROVED original allocation to correct. */ allocationId: Scalars['ID']['input']; entries: Array<TheAllocationCorrectionEntryInput>; notes?: InputMaybe<Scalars['String']['input']>; periodEnd?: InputMaybe<Scalars['DateTime']['input']>; /** Period the correction is booked in (both or neither). Defaults to the original's period; a correction of a closed period is booked in a later, open period. It may not start before the original's period. */ periodStart?: InputMaybe<Scalars['DateTime']['input']>; reason: Scalars['String']['input']; }; export type TheCreateAssetInput = { area?: InputMaybe<Scalars['Float']['input']>; capacityPerDay?: InputMaybe<Scalars['Float']['input']>; capacityUnit?: InputMaybe<TheUnit>; code?: InputMaybe<Scalars['String']['input']>; commissionedAt?: InputMaybe<Scalars['DateTime']['input']>; commodity: TheCommodityType; discoveryAt?: InputMaybe<Scalars['DateTime']['input']>; kind?: InputMaybe<TheAssetKind>; latitude?: InputMaybe<Scalars['Float']['input']>; location?: InputMaybe<Scalars['String']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name: Scalars['String']['input']; operatorLeadId?: InputMaybe<Scalars['ID']['input']>; /** Optional wspace-files-svc File id of the asset's photo (BOFF-10630). */ photoFileId?: InputMaybe<Scalars['ID']['input']>; reservoirType?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<TheAssetStatus>; waterDepth?: InputMaybe<Scalars['Float']['input']>; workingInterestPct?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateComplianceCertInput = { assetId?: InputMaybe<Scalars['ID']['input']>; authority?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<TheComplianceCategory>; certNumber?: InputMaybe<Scalars['String']['input']>; evidenceFileId?: InputMaybe<Scalars['ID']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; issuedAt?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; title: Scalars['String']['input']; }; export type TheCreateConditionRuleInput = { active?: InputMaybe<Scalars['Boolean']['input']>; comparator: TheConditionComparator; deviceCode?: InputMaybe<Scalars['String']['input']>; equipmentId: Scalars['ID']['input']; metricKey: Scalars['String']['input']; name: Scalars['String']['input']; priority?: InputMaybe<TheMaintenancePriority>; threshold: Scalars['Float']['input']; unit?: InputMaybe<Scalars['String']['input']>; }; export type TheCreateContractEntitlementInput = { /** An entry of an APPROVED allocation, in the contract's unit and commodity. */ allocationEntryId: Scalars['ID']['input']; contractId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; /** Volume to assign (> 0). Defaults to the entry's whole remaining net revenue volume. */ volume?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateCorrectiveActionInput = { description: Scalars['String']['input']; dueDate?: InputMaybe<Scalars['DateTime']['input']>; incidentId: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; }; export type TheCreateEquipmentInput = { assetId: Scalars['ID']['input']; category?: InputMaybe<TheEquipmentCategory>; criticality?: InputMaybe<TheMaintenancePriority>; installedAt?: InputMaybe<Scalars['DateTime']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; serialNumber?: InputMaybe<Scalars['String']['input']>; tag?: InputMaybe<Scalars['String']['input']>; }; export type TheCreateInterestDeckInput = { assetId: Scalars['ID']['input']; effectiveFrom: Scalars['DateTime']['input']; /** Exclusive end. Omit for open-ended. A deck starting after the asset's open-ended deck closes that deck at this deck's effectiveFrom. */ effectiveTo?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; overridingRoyaltyPct?: InputMaybe<Scalars['Float']['input']>; /** 1-50 parties; exactly one with isWorkspaceInterest = true. */ parties: Array<TheInterestDeckPartyInput>; royaltyPct?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateInventoryLotInput = { assetId?: InputMaybe<Scalars['ID']['input']>; commodity: TheCommodityType; currency?: InputMaybe<Scalars['String']['input']>; grade?: InputMaybe<Scalars['Float']['input']>; location?: InputMaybe<Scalars['String']['input']>; lotCode: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; producedAt?: InputMaybe<Scalars['DateTime']['input']>; quantity: Scalars['Float']['input']; unit?: InputMaybe<TheUnit>; unitValue?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateMaintenanceScheduleInput = { /** Checklist steps copied onto every work order raised from this schedule. */ checklist?: InputMaybe<Array<TheChecklistStepInput>>; description?: InputMaybe<Scalars['String']['input']>; equipmentId: Scalars['ID']['input']; estimatedHours?: InputMaybe<Scalars['Float']['input']>; intervalDays: Scalars['Int']['input']; /** First due date; defaults to now + intervalDays. */ nextDueAt?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<TheMaintenancePriority>; title: Scalars['String']['input']; }; export type TheCreateOfftakeContractInput = { commodity: TheCommodityType; contractedVolume?: InputMaybe<Scalars['Float']['input']>; counterparty: Scalars['String']['input']; currency?: InputMaybe<Scalars['String']['input']>; deliveryLocation?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priceIndex?: InputMaybe<Scalars['String']['input']>; pricePerUnit?: InputMaybe<Scalars['Float']['input']>; pricingBasis?: InputMaybe<ThePricingBasis>; reference: Scalars['String']['input']; side?: InputMaybe<TheContractSide>; startDate?: InputMaybe<Scalars['DateTime']['input']>; unit?: InputMaybe<TheUnit>; }; export type TheCreateProductionAllocationInput = { entries: Array<TheAllocationEntryInput>; method?: InputMaybe<TheAllocationMethod>; notes?: InputMaybe<Scalars['String']['input']>; productionRecordId: Scalars['ID']['input']; /** Shrinkage between the contributing assets and the measurement point, at most one line per category. */ shrinkage?: InputMaybe<Array<TheAllocationShrinkageInput>>; }; export type TheCreateReserveEstimateInput = { asOfDate: Scalars['DateTime']['input']; assetId: Scalars['ID']['input']; category?: InputMaybe<TheReserveCategory>; methodology?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; recoverable: Scalars['Float']['input']; recoveryFactor?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<TheUnit>; }; export type TheCreateReserveValuationInput = { /** Exponential annual volume decline, 0-100; defaults to 0. */ annualDeclinePct?: InputMaybe<Scalars['Float']['input']>; /** One-time capital amount spent in year 1, in `currency`. */ capexAmount?: InputMaybe<Scalars['Float']['input']>; /** ISO 4217 code for all money fields; defaults to USD. */ currency?: InputMaybe<Scalars['String']['input']>; /** Annual discount rate, 0-100; defaults to 10. */ discountRatePct?: InputMaybe<Scalars['Float']['input']>; /** Produced volume in the first 12 months (> 0), in the reserve estimate's unit. */ firstYearVolume: Scalars['Float']['input']; /** Required (and only allowed) for FLAT: one real-terms price per unit for every year. */ flatPrice?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** Operating cost per produced unit, in `currency`. */ opexPerUnit?: InputMaybe<Scalars['Float']['input']>; /** Required (and only allowed) for PRICE_INDEX. */ priceIndexId?: InputMaybe<Scalars['ID']['input']>; priceSource?: InputMaybe<TheReserveValuationPriceSource>; reserveEstimateId: Scalars['ID']['input']; /** Tax rate applied to positive annual pre-tax cash flow, 0-100; defaults to 0. */ taxRatePct?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateServiceContractInput = { currency?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; paymentTerms?: InputMaybe<Scalars['String']['input']>; reference: Scalars['String']['input']; renewalNoticeDays?: InputMaybe<Scalars['Int']['input']>; scope?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; supplierId: Scalars['ID']['input']; title: Scalars['String']['input']; value?: InputMaybe<Scalars['Float']['input']>; }; export type TheCreateShipmentInput = { carrier?: InputMaybe<Scalars['String']['input']>; contractId: Scalars['ID']['input']; destination?: InputMaybe<Scalars['String']['input']>; documentFileId?: InputMaybe<Scalars['ID']['input']>; mode?: InputMaybe<TheTransportMode>; notes?: InputMaybe<Scalars['String']['input']>; origin?: InputMaybe<Scalars['String']['input']>; reference: Scalars['String']['input']; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; trackingId?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<TheUnit>; volume: Scalars['Float']['input']; }; export type TheCreateSupplierInput = { address?: InputMaybe<Scalars['String']['input']>; classification?: InputMaybe<TheSupplierClassification>; code?: InputMaybe<Scalars['String']['input']>; country?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; legalName?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; riskLevel?: InputMaybe<TheSupplierRiskLevel>; scope?: InputMaybe<Scalars['String']['input']>; /** * Initial status: PROSPECTIVE (default) or APPROVED. ON_HOLD, BLOCKED and * INACTIVE are set afterwards with theSetSupplierStatus. */ status?: InputMaybe<TheSupplierStatus>; taxId?: InputMaybe<Scalars['String']['input']>; website?: InputMaybe<Scalars['String']['input']>; }; export type TheCreateWorkOrderInput = { /** Required unless equipmentId is given (the asset is then taken from the equipment). */ assetId?: InputMaybe<Scalars['ID']['input']>; assigneeId?: InputMaybe<Scalars['ID']['input']>; /** Checklist steps for this work order. */ checklist?: InputMaybe<Array<TheChecklistStepInput>>; /** * Client-generated idempotency key (1-100 characters: letters, digits, '-', '_', * ':' or '.'). The offline field queue sends one per queued report; replaying * the same key returns the work order it created instead of a duplicate. */ clientMutationId?: InputMaybe<Scalars['String']['input']>; conditionTrigger?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; equipmentId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<TheMaintenancePriority>; scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>; scheduledStart?: InputMaybe<Scalars['DateTime']['input']>; title: Scalars['String']['input']; type?: InputMaybe<TheWorkOrderType>; }; export type TheCurrencyAmount = { __typename?: 'TheCurrencyAmount'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; }; export type TheDemandForecast = { __typename?: 'TheDemandForecast'; commodity: TheCommodityType; contracts: Array<TheContractDemand>; horizonDays: Scalars['Int']['output']; points: Array<TheDemandPoint>; totalDemand: Scalars['Float']['output']; totalInbound: Scalars['Float']['output']; unit: TheUnit; warnings: Array<Scalars['String']['output']>; }; export type TheDemandPoint = { __typename?: 'TheDemandPoint'; date: Scalars['DateTime']['output']; /** Volume due to buyers under sales contracts that day. */ demand: Scalars['Float']['output']; /** Volume arriving under purchase contracts that day. */ inbound: Scalars['Float']['output']; }; /** Recommended dispatch volume for one contract in one week (weeks start Monday, UTC). */ export type TheDispatchRecommendation = { __typename?: 'TheDispatchRecommendation'; contractId: Scalars['ID']['output']; contractReference: Scalars['String']['output']; counterparty: Scalars['String']['output']; currency: Scalars['String']['output']; estimatedRevenue: Scalars['Float']['output']; volume: Scalars['Float']['output']; weekStart: Scalars['DateTime']['output']; }; export type TheEmissionRecord = { __typename?: 'TheEmissionRecord'; assetId?: Maybe<Scalars['ID']['output']>; co2eTonnes: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; methodology?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; scope: TheEmissionScope; source?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; verified: Scalars['Boolean']['output']; verifiedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type TheEmissionRecordConnection = { __typename?: 'TheEmissionRecordConnection'; items: Array<TheEmissionRecord>; pageInfo: ThePageInfo; }; export declare enum TheEmissionScope { Scope_1 = "SCOPE_1", Scope_2 = "SCOPE_2", Scope_3 = "SCOPE_3" } export type TheEquipment = { __typename?: 'TheEquipment'; /** The AssetHandler asset this equipment is linked to, if any. */ assetHandlerLink?: Maybe<TheEquipmentExternalLink>; assetId: Scalars['ID']['output']; category: TheEquipmentCategory; createdAt: Scalars['DateTime']['output']; criticality: TheMaintenancePriority; id: Scalars['ID']['output']; installedAt?: Maybe<Scalars['DateTime']['output']>; manufacturer?: Maybe<Scalars['String']['output']>; model?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; retiredAt?: Maybe<Scalars['DateTime']['output']>; serialNumber?: Maybe<Scalars['String']['output']>; status: TheEquipmentStatus; /** Plant / equipment tag number as stencilled in the field (e.g. P-101A). */ tag?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TheEquipmentCategory { Compressor = "COMPRESSOR", Generator = "GENERATOR", Instrument = "INSTRUMENT", Other = "OTHER", Pipeline = "PIPELINE", Pump = "PUMP", Tank = "TANK", Turbine = "TURBINE", Valve = "VALVE", Vehicle = "VEHICLE" } export type TheEquipmentConnection = { __typename?: 'TheEquipmentConnection'; items: Array<TheEquipment>; pageInfo: ThePageInfo; }; /** Link from TheGlobalFuel equipment to an AssetHandler asset. */ export type TheEquipmentExternalLink = { __typename?: 'TheEquipmentExternalLink'; createdAt: Scalars['DateTime']['output']; equipmentId: Scalars['ID']['output']; externalAssetId: Scalars['ID']['output']; externalAssetName?: Maybe<Scalars['String']['output']>; externalAssetNumber?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; provider: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export declare enum TheEquipmentStatus { Degraded = "DEGRADED", Down = "DOWN", Operational = "OPERATIONAL", Retired = "RETIRED" } /** * A generated, reporting-period snapshot of ESG datapoints aligned to a named * disclosure framework (GRI/SASB/CSRD/SEC/CDP), computed from this workspace's * own emission and compliance records at generation time — see * EsgReportingService. `datapoints` is returned as a JSON string. */ export type TheEsgDisclosure = { __typename?: 'TheEsgDisclosure'; createdAt: Scalars['DateTime']['output']; /** * JSON-encoded computed datapoints (emission totals by scope, verification * coverage, compliance-cert counts by category/status). */ datapoints: Scalars['String']['output']; framework: TheEsgFramework; generatedAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; status: TheEsgDisclosureStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheEsgDisclosureConnection = { __typename?: 'TheEsgDisclosureConnection'; items: Array<TheEsgDisclosure>; pageInfo: ThePageInfo; }; /** * Audit-ready export of one ESG disclosure: its snapshot datapoints followed by * every emission record and carbon-credit retirement in its period, as CSV, with * a SHA-256 digest of the file. */ export type TheEsgDisclosureExport = { __typename?: 'TheEsgDisclosureExport'; content: Scalars['String']['output']; contentType: Scalars['String']['output']; disclosureId: Scalars['ID']['output']; emissionRecordCount: Scalars['Int']['output']; exportedAt: Scalars['DateTime']['output']; filename: Scalars['String']['output']; lineageCo2eTonnes: Scalars['Float']['output']; /** False when the period's emission records changed after the disclosure was generated. */ lineageMatchesSnapshot: Scalars['Boolean']['output']; retirementCount: Scalars['Int']['output']; sha256: Scalars['String']['output']; truncated: Scalars['Boolean']['output']; }; export declare enum TheEsgDisclosureStatus { Draft = "DRAFT", Final = "FINAL" } /** Named ESG disclosure framework a reporting-period snapshot is generated for. */ export declare enum TheEsgFramework { Cdp = "CDP", Csrd = "CSRD", Gri = "GRI", Sasb = "SASB", SecClimate = "SEC_CLIMATE" } export declare enum TheExternalAssigneeKind { /** A ProServiceWorld contractor (practitioner). */ Contractor = "CONTRACTOR", /** A CrewFoundry crew (team). */ Crew = "CREW" } /** * A locked forecast compared with the production reported since the lock. The * top-level figures compare, day by day, the summed forecast of the assets that * reported with their summed actuals. */ export type TheForecastAccuracy = { __typename?: 'TheForecastAccuracy'; actualToDate: Scalars['Float']['output']; asOf: Scalars['DateTime']['output']; assets: Array<TheAssetForecastAccuracy>; biasPct?: Maybe<Scalars['Float']['output']>; daysOutsideBand: Scalars['Int']['output']; driftReason?: Maybe<Scalars['String']['output']>; driftingAssets: Scalars['Int']['output']; /** Complete days since the lock, capped at the horizon. */ elapsedDays: Scalars['Int']['output']; forecastToDate: Scalars['Float']['output']; mape?: Maybe<Scalars['Float']['output']>; observedDays: Scalars['Int']['output']; period: TheForecastAccuracyPeriod; periods: Array<TheForecastPeriodAccuracy>; series: Array<TheForecastAccuracyPoint>; snapshot: TheForecastSnapshot; status: TheForecastDriftStatus; warnings: Array<Scalars['String']['output']>; }; /** Calendar period the forecast-vs-actual error is reported per (UTC; weeks start Monday). */ export declare enum TheForecastAccuracyPeriod { Month = "MONTH", Week = "WEEK" } /** One day of the locked plan: the frozen forecast and band, and what was reported. */ export type TheForecastAccuracyPoint = { __typename?: 'TheForecastAccuracyPoint'; /** Reported production; null for days not yet complete or with no report. */ actual?: Maybe<Scalars['Float']['output']>; date: Scalars['DateTime']['output']; forecast: Scalars['Float']['output']; high: Scalars['Float']['output']; low: Scalars['Float']['output']; /** Assets that reported production that day. */ reportedAssets: Scalars['Int']['output']; /** * Locked forecast of only the assets that reported that day, comparable with * actual; null when none reported. */ reportedForecast?: Maybe<Scalars['Float']['output']>; }; /** * PENDING: no complete day has passed since the lock. * NO_ACTUALS: days have passed but no production was reported for them. * INSUFFICIENT_DATA: too few reported days (fewer than 7) to judge drift. * ON_TRACK: actuals are within the drift threshold of the locked forecast. * DRIFTING: actuals are beyond the drift threshold, overall or in the latest period. */ export declare enum TheForecastDriftStatus { Drifting = "DRIFTING", InsufficientData = "INSUFFICIENT_DATA", NoActuals = "NO_ACTUALS", OnTrack = "ON_TRACK", Pending = "PENDING" } /** Reported daily production used to fit the forecast. */ export type TheForecastHistoryPoint = { __typename?: 'TheForecastHistoryPoint'; date: Scalars['DateTime']['output']; value: Scalars['Float']['output']; }; /** * Statistical method used to project an asset's production forward. * MOVING_AVERAGE: mean daily rate over the most recent 30 observations. * LINEAR_TREND: least-squares straight line through the history. * EXPONENTIAL_SMOOTHING: Holt's damped-trend exponential smoothing. */ export declare enum TheForecastMethod { ExponentialSmoothing = "EXPONENTIAL_SMOOTHING", LinearTrend = "LINEAR_TREND", MovingAverage = "MOVING_AVERAGE" } /** * Forecast versus actual for one calendar period. Only days with reported * production are compared. */ export type TheForecastPeriodAccuracy = { __typename?: 'TheForecastPeriodAccuracy'; actual: Scalars['Float']['output']; drifting: Scalars['Boolean']['output']; /** (actual - forecast) / forecast, in percent; null when nothing was reported or the forecast is zero. */ errorPct?: Maybe<Scalars['Float']['output']>; forecast: Scalars['Float']['output']; /** Mean absolute percentage error of the reported days. */ mape?: Maybe<Scalars['Float']['output']>; observedDays: Scalars['Int']['output']; /** Exclusive end of the period, clipped to the days compared so far. */ periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; }; /** One forecast day: the central daily rate and its P10–P90 band. */ export type TheForecastPoint = { __typename?: 'TheForecastPoint'; date: Scalars['DateTime']['output']; high: Scalars['Float']['output']; low: Scalars['Float']['output']; value: Scalars['Float']['output']; }; /** Settings that would have predicted the production reported since the lock better. */ export type TheForecastRecommendation = { __typename?: 'TheForecastRecommendation'; /** Daily MAPE of the locked forecast over the same days. */ currentMape?: Maybe<Scalars['Float']['output']>; historyDays: Scalars['Int']['output']; /** Daily MAPE these settings would have scored against the actuals. */ mape: Scalars['Float']['output']; method: TheForecastMethod; }; /** * A saved set of planning assumptions for one commodity. Running it projects * production, derives demand from committed contracts, simulates inventory and * recommends dispatches. Only the assumptions are stored; results are always * computed from live data. */ export type TheForecastScenario = { __typename?: 'TheForecastScenario'; /** Assets included; empty means every PRODUCING asset of the commodity. */ assetIds: Array<Scalars['ID']['output']>; commodity: TheCommodityType; createdAt: Scalars['DateTime']['output']; /** Maximum volume that can be dispatched per day; null means unconstrained. */ dailyDispatchCapacity?: Maybe<Scalars['Float']['output']>; /** Demand sensitivity multiplier applied to contracted sales (1 = as contracted). */ demandFactor: Scalars['Float']['output']; description?: Maybe<Scalars['String']['output']>; historyDays: Scalars['Int']['output']; horizonDays: Scalars['Int']['output']; id: Scalars['ID']['output']; method: TheForecastMethod; name: Scalars['String']['output']; /** Opening stock; null uses the AVAILABLE inventory lots of the commodity. */ openingInventory?: Maybe<Scalars['Float']['output']>; /** Production sensitivity multiplier (1 = forecast as fitted). */ productionFactor: Scalars['Float']['output']; /** Storage capacity; null means unconstrained. Production that cannot be stored is curtailed. */ storageCapacity?: Maybe<Scalars['Float']['output']>; /** Unit every volume in the scenario is reported in. */ unit: TheUnit; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheForecastScenarioConnection = { __typename?: 'TheForecastScenarioConnection'; items: Array<TheForecastScenario>; pageInfo: ThePageInfo; }; export type TheForecastScenarioInput = { assetIds?: InputMaybe<Array<Scalars['ID']['input']>>; commodity: TheCommodityType; dailyDispatchCapacity?: InputMaybe<Scalars['Float']['input']>; demandFactor?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; method?: InputMaybe<TheForecastMethod>; name: Scalars['String']['input']; openingInventory?: InputMaybe<Scalars['Float']['input']>; productionFactor?: InputMaybe<Scalars['Float']['input']>; storageCapacity?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<TheUnit>; }; /** * A scenario's per-asset daily production forecast, frozen as the plan of record * when it was locked. Actuals are measured against it as production is reported. */ export type TheForecastSnapshot = { __typename?: 'TheForecastSnapshot'; /** Assets whose forecast was frozen. */ assetIds: Array<Scalars['ID']['output']>; commodity: TheCommodityType; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** Absolute percentage error beyond which an asset is flagged as drifting. */ driftThresholdPct: Scalars['Float']['output']; /** Day after the last forecast day. */ endDate: Scalars['DateTime']['output']; historyDays: Scalars['Int']['output']; horizonDays: Scalars['Int']['output']; id: Scalars['ID']['output']; lockedAt: Scalars['DateTime']['output']; method: TheForecastMethod; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; productionFactor: Scalars['Float']['output']; /** Scenario the plan was locked from; null once that scenario is deleted. */ scenarioId?: Maybe<Scalars['ID']['output']>; /** First forecast day (midnight UTC of the lock day). */ startDate: Scalars['DateTime']['output']; /** Frozen central forecast over the whole horizon, all assets. */ totalForecast: Scalars['Float']['output']; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheForecastSnapshotConnection = { __typename?: 'TheForecastSnapshotConnection'; items: Array<TheForecastSnapshot>; pageInfo: ThePageInfo; }; export type TheGenerateEsgDisclosureInput = { framework: TheEsgFramework; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; }; /** Result of raising planned work orders from due preventive-maintenance schedules. */ export type TheGenerateWorkOrdersResult = { __typename?: 'TheGenerateWorkOrdersResult'; created: Scalars['Int']['output']; workOrders: Array<TheWorkOrder>; }; export type TheInterestDeck = { __typename?: 'TheInterestDeck'; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; /** Inclusive start of the period the deck is in force. */ effectiveFrom: Scalars['DateTime']['output']; /** Exclusive end of the period; null until the deck is superseded. */ effectiveTo?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; /** Overriding royalty interest, 0-100, borne by the working interest. */ overridingRoyaltyPct: Scalars['Float']['output']; parties: Array<TheInterestDeckParty>; /** Landowner / lessor royalty, 0-100, borne by the working interest. */ royaltyPct: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; /** The workspace's own party (always present). */ workspaceParty?: Maybe<TheInterestDeckParty>; }; export type TheInterestDeckConnection = { __typename?: 'TheInterestDeckConnection'; items: Array<TheInterestDeck>; pageInfo: ThePageInfo; }; export type TheInterestDeckParty = { __typename?: 'TheInterestDeckParty'; id: Scalars['ID']['output']; /** True for the single party that is this workspace's own interest. */ isWorkspaceInterest: Scalars['Boolean']['output']; /** workingInterestPct x (1 - (royaltyPct + overridingRoyaltyPct) / 100). */ netRevenueInterestPct: Scalars['Float']['output']; partyName: Scalars['String']['output']; workingInterestPct: Scalars['Float']['output']; }; export type TheInterestDeckPartyInput = { isWorkspaceInterest?: InputMaybe<Scalars['Boolean']['input']>; partyName: Scalars['String']['input']; /** 0-100. The parties of a deck must sum to exactly 100. */ workingInterestPct: Scalars['Float']['input']; }; /** Where an allocation entry's ownership terms came from. */ export declare enum TheInterestSource { /** No deck was in force: the asset's own working interest and no royalty. */ AssetDefault = "ASSET_DEFAULT", /** The interest deck in force for the whole allocation period. */ InterestDeck = "INTEREST_DECK", /** At least one term was entered on the allocation entry. */ Override = "OVERRIDE" } export type TheInventoryLot = { __typename?: 'TheInventoryLot'; assetId?: Maybe<Scalars['ID']['output']>; commodity: TheCommodityType; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; grade?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; location?: Maybe<Scalars['String']['output']>; lotCode: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; producedAt?: Maybe<Scalars['DateTime']['output']>; quantity: Scalars['Float']['output']; status: TheInventoryStatus; unit: TheUnit; unitValue: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheInventoryLotConnection = { __typename?: 'TheInventoryLotConnection'; items: Array<TheInventoryLot>; pageInfo: ThePageInfo; }; export declare enum TheInventoryStatus { Available = "AVAILABLE", Consumed = "CONSUMED", InTransit = "IN_TRANSIT", Reserved = "RESERVED", WrittenOff = "WRITTEN_OFF" } /** AVAILABLE inventory valued at the commodity benchmark plus a differential. */ export type TheInventoryValuation = { __typename?: 'TheInventoryValuation'; /** Sum of each lot's recorded unit value, per currency, for comparison. */ bookValue: Array<TheCurrencyAmount>; currency?: Maybe<Scalars['String']['output']>; differential: Scalars['Float']['output']; indexId?: Maybe<Scalars['ID']['output']>; indexName?: Maybe<Scalars['String']['output']>; indexPrice?: Maybe<Scalars['Float']['output']>; lotCount: Scalars['Int']['output']; missingSource?: Maybe<Scalars['String']['output']>; priceDate?: Maybe<Scalars['DateTime']['output']>; priceKind?: Maybe<ThePricePointKind>; priceSource?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; status: TheValuationStatus; valuedAmount?: Maybe<Scalars['Float']['output']>; valuedPrice?: Maybe<Scalars['Float']['output']>; }; export type TheLegalAcceptance = { __typename?: 'TheLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; checkpointType: TheLegalCheckpointType; createdAt: Scalars['DateTime']['output']; documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type TheLegalAcceptanceConnection = { __typename?: 'TheLegalAcceptanceConnection'; items: Array<TheLegalAcceptance>; pageInfo: ThePageInfo; }; export declare enum TheLegalCheckpointType { /** Acceptance of the AI-feature usage terms before first AI-assisted action. */ AiFirstUse = "AI_FIRST_USE", /** Sign-up acceptance of the TheGlobalFuel Terms of Service and Privacy Policy. */ Signup = "SIGNUP", /** Acceptance of the workspace tenant Data Processing Addendum. */ TenantDpaAccept = "TENANT_DPA_ACCEPT", /** Acceptance of the identity/verification service terms before first use. */ VerificationFirstUse = "VERIFICATION_FIRST_USE" } export declare enum TheLiftingPositionKind { Balanced = "BALANCED", /** More has been lifted (delivered) than the contract is entitled to. */ OverLifted = "OVER_LIFTED", /** Less has been lifted than the contract is entitled to. */ UnderLifted = "UNDER_LIFTED" } export type TheLinkShipmentSourceInput = { lotId: Scalars['ID']['input']; /** Quantity of the lot loaded, in the shipment's unit. Re-linking the same lot replaces it. */ quantity: Scalars['Float']['input']; shipmentId: Scalars['ID']['input']; }; export type TheLockForecastScenarioInput = { /** * First day of the plan; defaults to today. A past day (up to 365 days back) * records a plan that took effect earlier: the forecast is fitted only on * production reported before that day, using the assets' current status and * capacity. */ asOf?: InputMaybe<Scalars['DateTime']['input']>; /** Percent; defaults to 20. */ driftThresholdPct?: InputMaybe<Scalars['Float']['input']>; /** Defaults to the scenario name and the lock date. */ name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; /** Live counts for the maintenance dashboard. */ export type TheMaintenanceDashboard = { __typename?: 'TheMaintenanceDashboard'; byStatus: Array<TheWorkOrderStatusCount>; byType: Array<TheWorkOrderTypeCount>; /** Downtime recorded on work orders completed in the last 30 days, in hours. */ downtimeHoursLast30Days: Scalars['Float']['output']; equipmentDegraded: Scalars['Int']['output']; equipmentDown: Scalars['Int']['output']; openWorkOrders: Scalars['Int']['output']; overdueWorkOrders: Scalars['Int']['output']; schedulesDue: Scalars['Int']['output']; }; /** * Maintenance history for an asset (optionally narrowed to one piece of * equipment): finished work orders newest first, plus downtime totals. */ export type TheMaintenanceHistory = { __typename?: 'TheMaintenanceHistory'; assetId: Scalars['ID']['output']; /** Downtime hours that are attributed to a production record. */ attributedDowntimeHours: Scalars['Float']['output']; completedWorkOrders: Scalars['Int']['output']; equipmentId?: Maybe<Scalars['ID']['output']>; items: Array<TheWorkOrder>; lastCompletedAt?: Maybe<Scalars['DateTime']['output']>; pageInfo: ThePageInfo; totalDowntimeHours: Scalars['Float']['output']; }; /** * Which ecosystem products the maintenance path integrates with in this * workspace. All are off until switched on. */ export type TheMaintenanceIntegrations = { __typename?: 'TheMaintenanceIntegrations'; assetHandlerEnabled: Scalars['Boolean']['output']; crewFoundryEnabled: Scalars['Boolean']['output']; proServiceWorldEnabled: Scalars['Boolean']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; }; export declare enum TheMaintenancePriority { High = "HIGH", Low = "LOW", Medium = "MEDIUM", Urgent = "URGENT" } export type TheMaintenanceSchedule = { __typename?: 'TheMaintenanceSchedule'; active: Scalars['Boolean']['output']; /** Checklist steps copied onto every work order raised from this schedule. */ checklist: Array<TheChecklistStepTemplate>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; equipmentId: Scalars['ID']['output']; estimatedHours?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; intervalDays: Scalars['Int']['output']; lastCompletedAt?: Maybe<Scalars['DateTime']['output']>; nextDueAt: Scalars['DateTime']['output']; priority: TheMaintenancePriority; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheMaintenanceScheduleConnection = { __typename?: 'TheMaintenanceScheduleConnection'; items: Array<TheMaintenanceSchedule>; pageInfo: ThePageInfo; }; /** Per-workspace maintenance configuration. */ export type TheMaintenanceSettings = { __typename?: 'TheMaintenanceSettings'; /** * Production records reporting at least this many downtime hours are suggested * as candidates for a reactive work order. */ downtimeSuggestionThresholdHours: Scalars['Float']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; /** Net position for one asset and unit over a period, from APPROVED allocations only. */ export type TheNetPositionLine = { __typename?: 'TheNetPositionLine'; allocationCount: Scalars['Int']['output']; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; /** The asset's commodity; set when a reporting unit was requested. */ commodity?: Maybe<TheCommodityType>; /** Factor converting this line's unit into the reporting unit; null when none was requested or no conversion exists. */ conversionFactor?: Maybe<Scalars['Float']['output']>; grossAllocatedVolume: Scalars['Float']['output']; netRevenueVolume: Scalars['Float']['output']; netWorkingInterestVolume: Scalars['Float']['output']; /** This line's volumes in the reporting unit; null when none was requested or no conversion exists. */ reported?: Maybe<TheNetPositionTotal>; royaltyVolume: Scalars['Float']['output']; unit: TheUnit; }; /** Per-unit totals of a net position (volumes in different units are never summed together). */ export type TheNetPositionTotal = { __typename?: 'TheNetPositionTotal'; grossAllocatedVolume: Scalars['Float']['output']; netRevenueVolume: Scalars['Float']['output']; netWorkingInterestVolume: Scalars['Float']['output']; royaltyVolume: Scalars['Float']['output']; unit: TheUnit; }; export type TheNetProductionPosition = { __typename?: 'TheNetProductionPosition'; /** Number of APPROVED allocations whose period starts inside the window. */ allocationCount: Scalars['Int']['output']; lines: Array<TheNetPositionLine>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** All convertible lines totalled in the reporting unit; null when no reporting unit was requested or no line could be converted. */ reportingTotal?: Maybe<TheNetPositionTotal>; /** The requested reporting unit, if any. */ reportingUnit?: Maybe<TheUnit>; totals: Array<TheNetPositionTotal>; /** Lines left out of reportingTotal because no conversion exists for their commodity and unit. */ unconvertibleCount: Scalars['Int']['output']; }; export type TheOfftakeContract = { __typename?: 'TheOfftakeContract'; commodity: TheCommodityType; contractedVolume: Scalars['Float']['output']; counterparty: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; deliveredVolume: Scalars['Float']['output']; deliveryLocation?: Maybe<Scalars['String']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; priceIndex?: Maybe<Scalars['String']['output']>; pricePerUnit: Scalars['Float']['output']; pricingBasis: ThePricingBasis; reference: Scalars['String']['output']; shipments: TheShipmentConnection; side: TheContractSide; signedAt?: Maybe<Scalars['DateTime']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: TheContractStatus; supplier?: Maybe<TheSupplier>; /** * The counterparty in the supplier register, if linked. `counterparty` stays * the free-text name of record. */ supplierId?: Maybe<Scalars['ID']['output']>; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheOfftakeContractShipmentsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TheOfftakeContractConnection = { __typename?: 'TheOfftakeContractConnection'; items: Array<TheOfftakeContract>; pageInfo: ThePageInfo; }; export type ThePageInfo = { __typename?: 'ThePageInfo'; cursor?: Maybe<Scalars['String']['output']>; hasMore: Scalars['Boolean']['output']; }; export type ThePortfolioAssetStatusCount = { __typename?: 'ThePortfolioAssetStatusCount'; count: Scalars['Int']['output']; status: TheAssetStatus; }; /** * Live offtake commitments (SIGNED or ACTIVE contracts). Contracts carry no * region, so commitments follow the commodity filter but not the region filter. */ export type ThePortfolioCommitment = { __typename?: 'ThePortfolioCommitment'; commodity: TheCommodityType; contractCount: Scalars['Int']['output']; contractedVolume: Scalars['Float']['output']; deliveredVolume: Scalars['Float']['output']; remainingVolume: Scalars['Float']['output']; side: TheContractSide; unit: TheUnit; }; export type ThePortfolioMoney = { __typename?: 'ThePortfolioMoney'; amount: Scalars['Float']['output']; currency: Scalars['String']['output']; }; export type ThePortfolioOverview = { __typename?: 'ThePortfolioOverview'; assetsByStatus: Array<ThePortfolioAssetStatusCount>; commitments: Array<ThePortfolioCommitment>; commodity?: Maybe<TheCommodityType>; generatedAt: Scalars['DateTime']['output']; inventory: Array<ThePortfolioQuantity>; inventoryTruncated: Scalars['Boolean']['output']; inventoryValue: Array<ThePortfolioMoney>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; production: Array<ThePortfolioQuantity>; region?: Maybe<Scalars['String']['output']>; /** Every region in the workspace (for the region filter), regardless of filters. */ regions: Array<Scalars['String']['output']>; segments: Array<ThePortfolioSegment>; totals: ThePortfolioTotals; }; export type ThePortfolioQuantity = { __typename?: 'ThePortfolioQuantity'; commodity: TheCommodityType; quantity: Scalars['Float']['output']; unit: TheUnit; }; /** * One commodity in one region. The region is the last comma-separated part of * the asset location (usually the country); assets without a location fall in * "Unassigned". */ export type ThePortfolioSegment = { __typename?: 'ThePortfolioSegment'; assetCount: Scalars['Int']['output']; commodity: TheCommodityType; emissionsCo2eTonnes: Scalars['Float']['output']; inventory: Array<ThePortfolioQuantity>; producingAssetCount: Scalars['Int']['output']; production: Array<ThePortfolioQuantity>; region: Scalars['String']['output']; }; export type ThePortfolioTotals = { __typename?: 'ThePortfolioTotals'; assetCount: Scalars['Int']['output']; commodityCount: Scalars['Int']['output']; complianceExpiredCount: Scalars['Int']['output']; /** APPROVED certifications expiring within 90 days. */ complianceExpiringCount: Scalars['Int']['output']; emissionsCo2eTonnes: Scalars['Float']['output']; netEmissionsCo2eTonnes: Scalars['Float']['output']; offsetsRetiredTonnes: Scalars['Float']['output']; openContractCount: Scalars['Int']['output']; openSafetyIncidentCount: Scalars['Int']['output']; producingAssetCount: Scalars['Int']['output']; regionCount: Scalars['Int']['output']; }; /** * LONG: more supply (production plus purchases) than contracted sales. * SHORT: more contracted sales than supply. FLAT: balanced. */ export declare enum ThePositionDirection { Flat = "FLAT", Long = "LONG", Short = "SHORT" } /** One calendar month of the physical position, in the report unit. */ export type ThePositionPeriod = { __typename?: 'ThePositionPeriod'; /** Reported production on days before today. */ actualProduction: Scalars['Float']['output']; contractedPurchases: Scalars['Float']['output']; /** Contracted sales, straight-line over each contract's term. */ contractedSales: Scalars['Float']['output']; deliveredPurchases: Scalars['Float']['output']; /** Volume of DELIVERED shipments in the month. */ deliveredSales: Scalars['Float']['output']; direction: ThePositionDirection; /** Forecast production from today on. */ forecastProduction: Scalars['Float']['output']; missingSource?: Maybe<Scalars['String']['output']>; /** production + contractedPurchases − contractedSales. */ netPosition: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** Mean benchmark price over the month, per report unit. */ price?: Maybe<Scalars['Float']['output']>; priceKind?: Maybe<ThePricePointKind>; production: Scalars['Float']['output']; status: TheValuationStatus; valuedNet?: Maybe<Scalars['Float']['output']>; }; export type ThePositionValuation = { __typename?: 'ThePositionValuation'; asOf: Scalars['DateTime']['output']; /** The commodity's benchmark index, when one is set. */ benchmark?: Maybe<ThePriceIndex>; commodity: TheCommodityType; contracts: Array<TheContractValuation>; /** Currency of the inventory and monthly valuations (the benchmark's). */ currency?: Maybe<Scalars['String']['output']>; generatedAt: Scalars['DateTime']['output']; inventory: TheInventoryValuation; periods: Array<ThePositionPeriod>; /** Totals of the AVAILABLE contract valuations, per currency. */ totals: Array<TheValuationTotal>; /** Valuations that could not be computed for want of a price. */ unavailableCount: Scalars['Int']['output']; unit: TheUnit; warnings: Array<Scalars['String']['output']>; }; export type ThePositionValuationInput = { commodity: TheCommodityType; /** Months from the current one (1–12, default 6). */ horizonMonths?: InputMaybe<Scalars['Int']['input']>; /** Added to the benchmark price when valuing inventory (default 0). */ inventoryDifferential?: InputMaybe<Scalars['Float']['input']>; /** Complete months before the current one (0–12, default 1). */ lookbackMonths?: InputMaybe<Scalars['Int']['input']>; /** Unit of the inventory and monthly volumes. Default BARRELS. */ unit?: InputMaybe<TheUnit>; }; export type ThePriceImportResult = { __typename?: 'ThePriceImportResult'; created: Scalars['Int']['output']; index: ThePriceIndex; updated: Scalars['Int']['output']; }; /** * A named reference price series (e.g. Brent, Henry Hub, LME lithium) quoted in * one currency per one unit. Contracts reference it by name in `priceIndex` * (matched case-insensitively). */ export type ThePriceIndex = { __typename?: 'ThePriceIndex'; /** * The benchmark for its commodity: AVAILABLE inventory and the monthly * position are valued against it. At most one per commodity. */ benchmark: Scalars['Boolean']['output']; /** Commodity the index prices; null for a cross-commodity index. */ commodity?: Maybe<TheCommodityType>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** The newest ACTUAL price. */ latestPrice?: Maybe<ThePricePoint>; name: Scalars['String']['output']; /** Default source of the series (e.g. "ICE Brent settlement"). */ source: Scalars['String']['output']; /** Unit one quoted price is per. */ unit: TheUnit; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type ThePriceIndexConnection = { __typename?: 'ThePriceIndexConnection'; items: Array<ThePriceIndex>; pageInfo: ThePageInfo; }; export type ThePriceIndexInput = { benchmark?: InputMaybe<Scalars['Boolean']['input']>; commodity?: InputMaybe<TheCommodityType>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<TheUnit>; }; /** One dated price on an index, with where it came from and when it was recorded. */ export type ThePricePoint = { __typename?: 'ThePricePoint'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; id: Scalars['ID']['output']; indexId: Scalars['ID']['output']; kind: ThePricePointKind; price: Scalars['Float']['output']; /** The day the price applies to (UTC midnight). */ priceDate: Scalars['DateTime']['output']; /** When the source published or the user recorded the price. */ recordedAt: Scalars['DateTime']['output']; source: Scalars['String']['output']; sourceReference?: Maybe<Scalars['String']['output']>; }; export type ThePricePointConnection = { __typename?: 'ThePricePointConnection'; items: Array<ThePricePoint>; pageInfo: ThePageInfo; }; export type ThePricePointInput = { kind?: InputMaybe<ThePricePointKind>; price: Scalars['Float']['input']; /** ISO date (YYYY-MM-DD) or timestamp; stored as that UTC day. */ priceDate: Scalars['String']['input']; recordedAt?: InputMaybe<Scalars['DateTime']['input']>; /** Defaults to the batch source, then the index source. */ source?: InputMaybe<Scalars['String']['input']>; sourceReference?: InputMaybe<Scalars['String']['input']>; }; /** * ACTUAL: an observed settlement / assessment. FORECAST: a forward price. * On a day with both, the ACTUAL price is used. */ export declare enum ThePricePointKind { Actual = "ACTUAL", Forecast = "FORECAST" } export declare enum ThePricingBasis { Fixed = "FIXED", Formula = "FORMULA", IndexLinked = "INDEX_LINKED", Spot = "SPOT" } export type TheProductionAllocation = { __typename?: 'TheProductionAllocation'; /** Sum of the entries' allocated volumes; always equals measuredVolume. */ allocatedTotal: Scalars['Float']['output']; approvedAt?: Maybe<Scalars['DateTime']['output']>; approvedBy?: Maybe<Scalars['ID']['output']>; correctionReason?: Maybe<Scalars['String']['output']>; /** Corrections recorded against this allocation, oldest first. */ corrections: Array<TheProductionAllocation>; correctsAllocation?: Maybe<TheProductionAllocation>; /** The APPROVED original allocation this correction adjusts. */ correctsAllocationId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; entries: Array<TheAllocationEntry>; id: Scalars['ID']['output']; /** True for a prior-period correction of another allocation. */ isCorrection: Scalars['Boolean']['output']; /** Measured (gross) volume being allocated, snapshotted from the production record. */ measuredVolume: Scalars['Float']['output']; measurementAsset?: Maybe<TheAsset>; /** Asset the measured volume was captured against. */ measurementAssetId: Scalars['ID']['output']; method: TheAllocationMethod; netRevenueTotal: Scalars['Float']['output']; netWorkingInterestTotal: Scalars['Float']['output']; notes?: Maybe<Scalars['String']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; productionRecord?: Maybe<TheProductionRecord>; productionRecordId: Scalars['ID']['output']; /** wellheadVolume / theoreticalTotal; null without theoretical volumes. */ reconciliationFactor?: Maybe<Scalars['Float']['output']>; reversalReason?: Maybe<Scalars['String']['output']>; reversedAt?: Maybe<Scalars['DateTime']['output']>; reversedBy?: Maybe<Scalars['ID']['output']>; royaltyTotal: Scalars['Float']['output']; /** Shrinkage by category (all four categories, zero when not recorded). */ shrinkage: Array<TheAllocationShrinkage>; /** Sum of the shrinkage categories. */ shrinkageTotal: Scalars['Float']['output']; status: TheAllocationStatus; /** Sum of the entries' theoretical volumes; null unless every entry supplied one. */ theoreticalTotal?: Maybe<Scalars['Float']['output']>; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; /** measuredVolume + shrinkageTotal: the volume produced at the contributing assets. */ wellheadVolume: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TheProductionAllocationConnection = { __typename?: 'TheProductionAllocationConnection'; items: Array<TheProductionAllocation>; pageInfo: ThePageInfo; }; export type TheProductionForecast = { __typename?: 'TheProductionForecast'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; /** * Mean absolute percentage error of a hold-out backtest (fit on the first 80% of * the history, tested on the last 20%). Null when there is too little history. */ backtestMape?: Maybe<Scalars['Float']['output']>; /** Nameplate capacity per day in the forecast unit; null when unknown or not convertible. */ capacityPerDay?: Maybe<Scalars['Float']['output']>; /** Fitted daily rate at the most recent observation. */ dailyRate: Scalars['Float']['output']; history: Array<TheForecastHistoryPoint>; historyDays: Scalars['Int']['output']; horizonDays: Scalars['Int']['output']; method: TheForecastMethod; /** Days in the history window with reported production. */ observations: Scalars['Int']['output']; points: Array<TheForecastPoint>; totalForecast: Scalars['Float']['output']; unit: TheUnit; warnings: Array<Scalars['String']['output']>; }; export type TheProductionRecord = { __typename?: 'TheProductionRecord'; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; downtimeHours: Scalars['Float']['output']; grade?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; /** The live (DRAFT or APPROVED) allocation of this measured volume, if any (BOFF-4180). */ liveAllocation?: Maybe<TheProductionAllocation>; notes?: Maybe<Scalars['String']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** Measurement/reporting source system for this record (e.g. SCADA, Manual, Meter). */ source?: Maybe<Scalars['String']['output']>; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; volume: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TheProductionRecordConnection = { __typename?: 'TheProductionRecordConnection'; items: Array<TheProductionRecord>; pageInfo: ThePageInfo; }; /** Compliance posture of one chain-relevant certificate. */ export type TheProvenanceCertSummary = { __typename?: 'TheProvenanceCertSummary'; assetId?: Maybe<Scalars['ID']['output']>; category: Scalars['String']['output']; evidenceFileId?: Maybe<Scalars['String']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; }; /** * Responsible-sourcing certificate for one shipment, assembled from the real * records: asset, production, inventory lot, shipment and delivery. `digest` is a * SHA-256 over the canonical chain so a shared certificate can be checked. */ export type TheProvenanceCertificate = { __typename?: 'TheProvenanceCertificate'; complete: Scalars['Boolean']['output']; contract: TheOfftakeContract; coveragePct: Scalars['Float']['output']; digest: Scalars['String']['output']; /** Machine-readable shipment-certificate gaps, without traversal metadata. */ gapCodes: Array<TheShipmentProvenanceGapCode>; gaps: Array<TheProvenanceGap>; issuedAt: Scalars['DateTime']['output']; referenceDate: Scalars['DateTime']['output']; shipment: TheShipment; sourcedVolume: Scalars['Float']['output']; sources: Array<TheProvenanceSourceLink>; }; export type TheProvenanceCertification = { __typename?: 'TheProvenanceCertification'; cert: TheComplianceCert; /** APPROVED and unexpired on the certificate reference date. */ validAtReference: Scalars['Boolean']['output']; }; /** * One citation grounding an AI narrative sentence to a real record the * traversal returned. The resolver only ever emits citations whose ids were * present in the subgraph, so a citation can never point at a record the * traversal did not verify. */ export type TheProvenanceCitation = { __typename?: 'TheProvenanceCitation'; entityId: Scalars['ID']['output']; entityType: TheProvenanceEntityType; route: Scalars['String']['output']; }; /** * Which way to walk the custody chain from the starting entity. * * UPSTREAM walks toward origin (shipments → lots → production → assets); * DOWNSTREAM walks toward market (assets → lots → shipments → contracts). */ export declare enum TheProvenanceDirection { Downstream = "DOWNSTREAM", Upstream = "UPSTREAM" } /** Aggregated emissions footprint of one contributing asset. */ export type TheProvenanceEmissionSummary = { __typename?: 'TheProvenanceEmissionSummary'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; recordCount: Scalars['Int']['output']; totalCo2eTonnes: Scalars['Float']['output']; verifiedCount: Scalars['Int']['output']; }; /** The entity kinds that participate in the custody chain. */ export declare enum TheProvenanceEntityType { Asset = "ASSET", InventoryLot = "INVENTORY_LOT", OfftakeContract = "OFFTAKE_CONTRACT", ProductionRecord = "PRODUCTION_RECORD", Shipment = "SHIPMENT" } /** * AI narrative over the traversal. `generatedByModel` is false when no * provider key is configured — the deterministic narrative is then returned * instead, built from the same subgraph with the same citation guarantee. */ export type TheProvenanceExplanation = { __typename?: 'TheProvenanceExplanation'; citations: Array<TheProvenanceCitation>; entityId: Scalars['ID']['output']; entityType: TheProvenanceEntityType; gaps: Array<TheProvenanceGap>; generatedByModel: Scalars['Boolean']['output']; /** Provider-qualified model id when a model produced the narrative. */ model?: Maybe<Scalars['String']['output']>; narrative: Scalars['String']['output']; }; /** * A chain defect found while walking. `entityType`/`entityId` identify the * record the gap belongs to when it belongs to one. */ export type TheProvenanceGap = { __typename?: 'TheProvenanceGap'; code: TheProvenanceGapCode; entityId?: Maybe<Scalars['ID']['output']>; entityType?: Maybe<TheProvenanceEntityType>; message: Scalars['String']['output']; }; /** * Machine-readable identifiers for the chain gaps the traversal surfaces. * A provenance claim that hid these would be worse than no claim, so every * gap is reported explicitly and `complete` stays false until none remain. */ export declare enum TheProvenanceGapCode { /** An asset has production records but no emission record at all. */ AssetProductionWithoutEmissions = "ASSET_PRODUCTION_WITHOUT_EMISSIONS", /** A chain-relevant certificate has expired. */ CertExpired = "CERT_EXPIRED", /** A chain-relevant certificate is not APPROVED. */ CertNotApproved = "CERT_NOT_APPROVED", /** A chain-of-custody certificate has no evidence document linked. */ CertWithoutEvidence = "CERT_WITHOUT_EVIDENCE", /** A chain link crosses a workspace boundary and was not followed. */ CrossWorkspaceLink = "CROSS_WORKSPACE_LINK", /** An inventory lot has no producing asset linked. */ LotWithoutAsset = "LOT_WITHOUT_ASSET", /** The shipment has not been delivered. */ NotDelivered = "NOT_DELIVERED", /** A contributing asset has no matching production record. */ NoProductionRecord = "NO_PRODUCTION_RECORD", /** A shipment has no source lots linked. */ NoSources = "NO_SOURCES", /** The shipment has no transport document. */ NoTransportDocument = "NO_TRANSPORT_DOCUMENT", /** A contributing asset has no valid chain-of-custody certification. */ NoValidCertification = "NO_VALID_CERTIFICATION", /** A shipment has no inventory-lot source linked. */ ShipmentWithoutSource = "SHIPMENT_WITHOUT_SOURCE", /** Linked sources do not cover the shipment volume. */ UnsourcedVolume = "UNSOURCED_VOLUME" } /** * One record reached by the traversal. `route` is the MFE-relative deep link * to the real record page so every rendered assertion can link to evidence. */ export type TheProvenanceNode = { __typename?: 'TheProvenanceNode'; deliveredAt?: Maybe<Scalars['DateTime']['output']>; entityId: Scalars['ID']['output']; entityType: TheProvenanceEntityType; /** Measured grade/quality where recorded. */ grade?: Maybe<Scalars['Float']['output']>; /** Graph hops from the starting entity. */ hops: Scalars['Int']['output']; /** Human label: asset name, lot code, shipment/contract reference, … */ label: Scalars['String']['output']; periodEnd?: Maybe<Scalars['DateTime']['output']>; periodStart?: Maybe<Scalars['DateTime']['output']>; producedAt?: Maybe<Scalars['DateTime']['output']>; /** MFE-relative route of the real record page, e.g. `shipments/<id>`. */ route: Scalars['String']['output']; status?: Maybe<Scalars['String']['output']>; unit?: Maybe<TheUnit>; /** Volume/quantity where the record carries one (production, lot, shipment). */ volume?: Maybe<Scalars['Float']['output']>; }; /** * One source lot of a shipment traced back to its producing asset, the * production records it came from, the certifications covering that asset, and * the asset's emission intensity over the same window. */ export type TheProvenanceSourceLink = { __typename?: 'TheProvenanceSourceLink'; asset?: Maybe<TheAsset>; certifications: Array<TheProvenanceCertification>; /** tCO2e per unit of production over the matched window. Null without production. */ emissionIntensity?: Maybe<Scalars['Float']['output']>; emissionsCo2eTonnes: Scalars['Float']['output']; lot: TheInventoryLot; producedVolume: Scalars['Float']['output']; productionRecords: Array<TheProductionRecord>; source: TheShipmentSource; }; /** * The deterministic traversal result: the walked chain, the contributing * assets' emissions footprint, the compliance posture, and every gap. */ export type TheProvenanceTrace = { __typename?: 'TheProvenanceTrace'; certificates: Array<TheProvenanceCertSummary>; /** True only when the chain has no gaps. */ complete: Scalars['Boolean']['output']; direction: TheProvenanceDirection; emissions: Array<TheProvenanceEmissionSummary>; entityId: Scalars['ID']['output']; entityType: TheProvenanceEntityType; gaps: Array<TheProvenanceGap>; nodes: Array<TheProvenanceNode>; }; export type TheRaiseWorkOrderFromProductionInput = { assigneeId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** Optional equipment at the record's asset that the downtime is attributed to. */ equipmentId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<TheMaintenancePriority>; productionRecordId: Scalars['ID']['input']; title?: InputMaybe<Scalars['String']['input']>; }; /** * A production record whose downtime crosses the workspace threshold and that no * live work order explains yet. */ export type TheReactiveWorkOrderSuggestion = { __typename?: 'TheReactiveWorkOrderSuggestion'; assetId: Scalars['ID']['output']; downtimeHours: Scalars['Float']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; productionRecordId: Scalars['ID']['output']; source?: Maybe<Scalars['String']['output']>; }; export type TheReactiveWorkOrderSuggestionConnection = { __typename?: 'TheReactiveWorkOrderSuggestionConnection'; items: Array<TheReactiveWorkOrderSuggestion>; pageInfo: ThePageInfo; /** The downtime threshold the suggestions were selected with, in hours. */ thresholdHours: Scalars['Float']['output']; }; export type TheRecordEmissionInput = { assetId?: InputMaybe<Scalars['ID']['input']>; co2eTonnes: Scalars['Float']['input']; methodology?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; scope?: InputMaybe<TheEmissionScope>; source?: InputMaybe<Scalars['String']['input']>; }; export type TheRecordProductionInput = { assetId: Scalars['ID']['input']; downtimeHours?: InputMaybe<Scalars['Float']['input']>; grade?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; source?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<TheUnit>; volume: Scalars['Float']['input']; }; export type TheRecordSupplierScorecardInput = { comments?: InputMaybe<Scalars['String']['input']>; commercialScore: Scalars['Float']['input']; deliveryScore: Scalars['Float']['input']; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; qualityScore: Scalars['Float']['input']; safetyScore: Scalars['Float']['input']; /** Optionally scope the review to one service contract of the supplier. */ serviceContractId?: InputMaybe<Scalars['ID']['input']>; supplierId: Scalars['ID']['input']; }; export type TheRegisterCarbonCreditInput = { acquiredAt?: InputMaybe<Scalars['DateTime']['input']>; currency?: InputMaybe<Scalars['String']['input']>; evidenceFileId?: InputMaybe<Scalars['ID']['input']>; methodology?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId: Scalars['String']['input']; projectName: Scalars['String']['input']; quantityTonnes: Scalars['Float']['input']; registry?: InputMaybe<TheCarbonRegistry>; serialEnd?: InputMaybe<Scalars['String']['input']>; serialStart?: InputMaybe<Scalars['String']['input']>; unitCost?: InputMaybe<Scalars['Float']['input']>; vintageYear: Scalars['Int']['input']; }; export type TheReportSafetyIncidentInput = { assetId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<TheSafetyIncidentCategory>; description?: InputMaybe<Scalars['String']['input']>; evidenceFileId?: InputMaybe<Scalars['ID']['input']>; involvedParties?: InputMaybe<Scalars['String']['input']>; linkedComplianceCertId?: InputMaybe<Scalars['ID']['input']>; linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; occurredAt: Scalars['DateTime']['input']; severity?: InputMaybe<TheSafetyIncidentSeverity>; title: Scalars['String']['input']; }; export declare enum TheReserveCategory { Contingent = "CONTINGENT", Possible = "POSSIBLE", Probable = "PROBABLE", Prospective = "PROSPECTIVE", Proved = "PROVED" } export type TheReserveEstimate = { __typename?: 'TheReserveEstimate'; asOfDate: Scalars['DateTime']['output']; asset?: Maybe<TheAsset>; assetId: Scalars['ID']['output']; category: TheReserveCategory; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; methodology?: Maybe<Scalars['String']['output']>; notes?: Maybe<Scalars['String']['output']>; recoverable: Scalars['Float']['output']; recoveryFactor?: Maybe<Scalars['Float']['output']>; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; /** NPV valuation runs of this estimate, newest first (BOFF-4620). */ valuations: Array<TheReserveValuation>; workspaceId: Scalars['ID']['output']; }; export type TheReserveEstimateConnection = { __typename?: 'TheReserveEstimateConnection'; items: Array<TheReserveEstimate>; pageInfo: ThePageInfo; }; /** * An NPV valuation run of one reserve estimate (BOFF-4620). The input snapshot * (discount rate, costs, tax, production profile, price source) is stored next * to the computed outputs so an approved row is reproducible. */ export type TheReserveValuation = { __typename?: 'TheReserveValuation'; annualDeclinePct: Scalars['Float']['output']; approvedAt?: Maybe<Scalars['DateTime']['output']>; approvedBy?: Maybe<Scalars['ID']['output']>; capexAmount: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; currency: Scalars['String']['output']; discountRatePct: Scalars['Float']['output']; /** Start of the first year whose revenue no longer covered per-unit opex (the economic limit); null when the volume ran out first. */ economicLimitDate?: Maybe<Scalars['DateTime']['output']>; /** Produced volume in the first 12 months, in the reserve estimate's unit. */ firstYearVolume: Scalars['Float']['output']; /** FLAT price per unit; null for PRICE_INDEX. */ flatPrice?: Maybe<Scalars['Float']['output']>; grossRevenue: Scalars['Float']['output']; id: Scalars['ID']['output']; /** Undiscounted sum of annual net cash flows. */ netCashFlow: Scalars['Float']['output']; notes?: Maybe<Scalars['String']['output']>; /** Net present value at discountRatePct (year-end discounting). */ npv: Scalars['Float']['output']; opexPerUnit: Scalars['Float']['output']; /** ThePriceIndex priced for PRICE_INDEX; null for FLAT. */ priceIndexId?: Maybe<Scalars['ID']['output']>; priceSource: TheReserveValuationPriceSource; reserveEstimate?: Maybe<TheReserveEstimate>; reserveEstimateId: Scalars['ID']['output']; reversalReason?: Maybe<Scalars['String']['output']>; reversedAt?: Maybe<Scalars['DateTime']['output']>; reversedBy?: Maybe<Scalars['ID']['output']>; status: TheReserveValuationStatus; taxRatePct: Scalars['Float']['output']; totalCapex: Scalars['Float']['output']; totalOpex: Scalars['Float']['output']; totalTax: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; yearCount: Scalars['Int']['output']; /** Per-year rows driving the outputs, year 1 first. */ years: Array<TheReserveValuationYear>; }; export type TheReserveValuationConnection = { __typename?: 'TheReserveValuationConnection'; items: Array<TheReserveValuation>; pageInfo: ThePageInfo; }; export declare enum TheReserveValuationPriceSource { Flat = "FLAT", PriceIndex = "PRICE_INDEX" } export declare enum TheReserveValuationStatus { Approved = "APPROVED", Draft = "DRAFT", Reversed = "REVERSED" } /** One producing year of a valuation run. */ export type TheReserveValuationYear = { __typename?: 'TheReserveValuationYear'; capex: Scalars['Float']['output']; discountedNetCashFlow: Scalars['Float']['output']; netCashFlow: Scalars['Float']['output']; opex: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; /** Unit price for the year window, in the valuation currency. */ price: Scalars['Float']['output']; revenue: Scalars['Float']['output']; tax: Scalars['Float']['output']; volume: Scalars['Float']['output']; year: Scalars['Int']['output']; }; export type TheResetUnitConversionInput = { commodity: TheCommodityType; fromUnit: TheUnit; toUnit: TheUnit; }; export type TheRetireCarbonCreditsInput = { assetId?: InputMaybe<Scalars['ID']['input']>; beneficiary: Scalars['String']['input']; creditId: Scalars['ID']['input']; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; quantityTonnes: Scalars['Float']['input']; reason?: InputMaybe<Scalars['String']['input']>; registryReference?: InputMaybe<Scalars['String']['input']>; retiredAt?: InputMaybe<Scalars['DateTime']['input']>; scope?: InputMaybe<TheEmissionScope>; }; export type TheSafetyCategoryCount = { __typename?: 'TheSafetyCategoryCount'; category: TheSafetyIncidentCategory; count: Scalars['Int']['output']; }; /** * Aggregate counts for the safety dashboard — open incidents by severity/ * category and open corrective actions, computed live from current rows. */ export type TheSafetyDashboard = { __typename?: 'TheSafetyDashboard'; byCategory: Array<TheSafetyCategoryCount>; bySeverity: Array<TheSafetySeverityCount>; openCorrectiveActions: Scalars['Int']['output']; openIncidents: Scalars['Int']['output']; overdueCorrectiveActions: Scalars['Int']['output']; }; export type TheSafetyIncident = { __typename?: 'TheSafetyIncident'; assetId?: Maybe<Scalars['ID']['output']>; category: TheSafetyIncidentCategory; closedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** Reference to a wspace-files-svc File (investigation report / evidence). */ evidence?: Maybe<File>; id: Scalars['ID']['output']; investigationNotes?: Maybe<Scalars['String']['output']>; involvedParties?: Maybe<Scalars['String']['output']>; /** Optional link to a compliance cert this incident affects (e.g. a safety audit). */ linkedComplianceCertId?: Maybe<Scalars['ID']['output']>; /** Optional link to the production record whose downtime this incident caused. */ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; occurredAt: Scalars['DateTime']['output']; severity: TheSafetyIncidentSeverity; status: TheSafetyIncidentStatus; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TheSafetyIncidentCategory { EquipmentFailure = "EQUIPMENT_FAILURE", Injury = "INJURY", NearMiss = "NEAR_MISS", Release = "RELEASE", Spill = "SPILL" } export type TheSafetyIncidentConnection = { __typename?: 'TheSafetyIncidentConnection'; items: Array<TheSafetyIncident>; pageInfo: ThePageInfo; }; export declare enum TheSafetyIncidentSeverity { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum TheSafetyIncidentStatus { Closed = "CLOSED", CorrectiveAction = "CORRECTIVE_ACTION", Investigating = "INVESTIGATING", Reported = "REPORTED", RootCauseIdentified = "ROOT_CAUSE_IDENTIFIED" } export type TheSafetySeverityCount = { __typename?: 'TheSafetySeverityCount'; count: Scalars['Int']['output']; severity: TheSafetyIncidentSeverity; }; /** One simulated day of the resource chain. */ export type TheScenarioDay = { __typename?: 'TheScenarioDay'; /** Contracted volume due but not yet dispatched at the end of the day. */ backlog: Scalars['Float']['output']; /** Production that could not be stored because storage was full. */ curtailed: Scalars['Float']['output']; date: Scalars['DateTime']['output']; demand: Scalars['Float']['output']; dispatched: Scalars['Float']['output']; inbound: Scalars['Float']['output']; inventory: Scalars['Float']['output']; production: Scalars['Float']['output']; productionHigh: Scalars['Float']['output']; productionLow: Scalars['Float']['output']; }; export type TheScenarioResult = { __typename?: 'TheScenarioResult'; assets: Array<TheAssetForecastSummary>; commodity: TheCommodityType; contracts: Array<TheContractFulfilment>; days: Array<TheScenarioDay>; dispatchPlan: Array<TheDispatchRecommendation>; generatedAt: Scalars['DateTime']['output']; horizonDays: Scalars['Int']['output']; method: TheForecastMethod; name: Scalars['String']['output']; /** The saved scenario; null for a preview of unsaved assumptions. */ scenario?: Maybe<TheForecastScenario>; summary: TheScenarioSummary; unit: TheUnit; warnings: Array<Scalars['String']['output']>; }; export type TheScenarioSummary = { __typename?: 'TheScenarioSummary'; /** Days ending with contracted volume still owed. */ backlogDays: Scalars['Int']['output']; closingInventory: Scalars['Float']['output']; /** Estimated sales revenue of the recommended dispatches, per currency. */ estimatedRevenue: Array<TheCurrencyAmount>; fulfilmentPct: Scalars['Float']['output']; minInventory: Scalars['Float']['output']; openingInventory: Scalars['Float']['output']; peakInventory: Scalars['Float']['output']; totalCurtailed: Scalars['Float']['output']; totalDemand: Scalars['Float']['output']; totalDispatched: Scalars['Float']['output']; totalInbound: Scalars['Float']['output']; totalProduction: Scalars['Float']['output']; totalShortfall: Scalars['Float']['output']; }; export type TheScopeOffsetRow = { __typename?: 'TheScopeOffsetRow'; grossCo2eTonnes: Scalars['Float']['output']; netCo2eTonnes: Scalars['Float']['output']; offsetTonnes: Scalars['Float']['output']; scope: TheEmissionScope; }; export type TheServiceContract = { __typename?: 'TheServiceContract'; activatedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; currency: Scalars['String']['output']; /** Whole days until the end date (negative once past), or null without an end date. */ daysToExpiry?: Maybe<Scalars['Int']['output']>; endDate?: Maybe<Scalars['DateTime']['output']>; /** * True when the contract is ACTIVE and ends within its renewal-notice period * (or 30 days, whichever is longer). */ expiringSoon: Scalars['Boolean']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; paymentTerms?: Maybe<Scalars['String']['output']>; reference: Scalars['String']['output']; /** Days of notice needed before the end date to renew or exit. */ renewalNoticeDays?: Maybe<Scalars['Int']['output']>; scope?: Maybe<Scalars['String']['output']>; startDate?: Maybe<Scalars['DateTime']['output']>; status: TheServiceContractStatus; statusReason?: Maybe<Scalars['String']['output']>; supplier?: Maybe<TheSupplier>; supplierId: Scalars['ID']['output']; terminatedAt?: Maybe<Scalars['DateTime']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** Total contract value (commitment ceiling) in `currency`. */ value?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type TheServiceContractConnection = { __typename?: 'TheServiceContractConnection'; items: Array<TheServiceContract>; pageInfo: ThePageInfo; }; export declare enum TheServiceContractStatus { Active = "ACTIVE", Draft = "DRAFT", Expired = "EXPIRED", Suspended = "SUSPENDED", Terminated = "TERMINATED" } export type TheSetMaintenanceIntegrationsInput = { assetHandlerEnabled?: InputMaybe<Scalars['Boolean']['input']>; crewFoundryEnabled?: InputMaybe<Scalars['Boolean']['input']>; proServiceWorldEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; export type TheSetUnitConversionInput = { commodity: TheCommodityType; /** One fromUnit equals this many toUnit (> 0). */ factor: Scalars['Float']['input']; fromUnit: TheUnit; notes?: InputMaybe<Scalars['String']['input']>; toUnit: TheUnit; }; export type TheShipment = { __typename?: 'TheShipment'; carrier?: Maybe<Scalars['String']['output']>; carrierSupplier?: Maybe<TheSupplier>; /** * The carrier in the supplier register, if linked. `carrier` stays the * free-text name of record. */ carrierSupplierId?: Maybe<Scalars['ID']['output']>; contract?: Maybe<TheOfftakeContract>; contractId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; deliveredAt?: Maybe<Scalars['DateTime']['output']>; departedAt?: Maybe<Scalars['DateTime']['output']>; destination?: Maybe<Scalars['String']['output']>; /** Reference to a wspace-files-svc File (bill of lading / certificate). */ document?: Maybe<File>; id: Scalars['ID']['output']; mode: TheTransportMode; notes?: Maybe<Scalars['String']['output']>; origin?: Maybe<Scalars['String']['output']>; reference: Scalars['String']['output']; scheduledAt?: Maybe<Scalars['DateTime']['output']>; /** Inventory lots this shipment was loaded from (BOFF-4239). */ sources: Array<TheShipmentSource>; status: TheShipmentStatus; /** * Carrier-issued tracking / waybill / bill-of-lading number used to follow the * movement on the carrier's own network. Surfaced on the chain-of-custody view. */ trackingId?: Maybe<Scalars['String']['output']>; unit: TheUnit; updatedAt: Scalars['DateTime']['output']; volume: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TheShipmentConnection = { __typename?: 'TheShipmentConnection'; items: Array<TheShipment>; pageInfo: ThePageInfo; }; /** * A link in a custody chain that is missing, which keeps the certificate from * being complete. */ export declare enum TheShipmentProvenanceGapCode { LotWithoutAsset = "LOT_WITHOUT_ASSET", NotDelivered = "NOT_DELIVERED", NoProductionRecord = "NO_PRODUCTION_RECORD", NoSources = "NO_SOURCES", NoTransportDocument = "NO_TRANSPORT_DOCUMENT", NoValidCertification = "NO_VALID_CERTIFICATION", UnsourcedVolume = "UNSOURCED_VOLUME" } /** The quantity of one inventory lot loaded onto one shipment. */ export type TheShipmentSource = { __typename?: 'TheShipmentSource'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; lot: TheInventoryLot; lotId: Scalars['ID']['output']; quantity: Scalars['Float']['output']; shipmentId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TheShipmentStatus { Cancelled = "CANCELLED", Delivered = "DELIVERED", InTransit = "IN_TRANSIT", Loading = "LOADING", Scheduled = "SCHEDULED" } /** Volumes produced at the contributing assets that never reach the measurement point (BOFF-10789). */ export declare enum TheShrinkageCategory { /** Gas flared or vented. */ Flare = "FLARE", /** Fuel and own use on site. */ Fuel = "FUEL", /** Volumes re-injected into the reservoir. */ Injection = "INJECTION", /** Evaporation, metering and handling losses. */ Loss = "LOSS" } export type TheSupplier = { __typename?: 'TheSupplier'; address?: Maybe<Scalars['String']['output']>; approvedAt?: Maybe<Scalars['DateTime']['output']>; classification: TheSupplierClassification; /** Operator-assigned vendor number (e.g. ERP vendor code). */ code?: Maybe<Scalars['String']['output']>; /** Contacts at the supplier, primary first. */ contacts: Array<TheSupplierContact>; /** ISO 3166-1 alpha-2 country of registration. */ country?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; legalName?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; /** Offtake contracts whose counterparty is this supplier (up to 50, newest first). */ offtakeContracts: Array<TheOfftakeContract>; /** Scorecard roll-up: average, latest score, rating and trend. */ performance: TheSupplierPerformance; phone?: Maybe<Scalars['String']['output']>; /** The primary contact, if any. */ primaryContact?: Maybe<TheSupplierContact>; riskLevel: TheSupplierRiskLevel; /** What the supplier provides (scope of supply / services). */ scope?: Maybe<Scalars['String']['output']>; /** Service contracts held with the supplier, newest first (up to 50). */ serviceContracts: Array<TheServiceContract>; /** Shipments this supplier carries (up to 50, newest first). */ shipments: Array<TheShipment>; status: TheSupplierStatus; /** Why the supplier is on hold, blocked or inactive. */ statusReason?: Maybe<Scalars['String']['output']>; taxId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; website?: Maybe<Scalars['String']['output']>; /** Maintenance work orders contracted to this supplier (up to 50, newest first). */ workOrders: Array<TheWorkOrder>; workspaceId: Scalars['ID']['output']; }; export declare enum TheSupplierClassification { Carrier = "CARRIER", CommodityCounterparty = "COMMODITY_COUNTERPARTY", DrillingContractor = "DRILLING_CONTRACTOR", EquipmentVendor = "EQUIPMENT_VENDOR", Hauler = "HAULER", Laboratory = "LABORATORY", MaterialsVendor = "MATERIALS_VENDOR", Other = "OTHER", ServiceContractor = "SERVICE_CONTRACTOR" } export type TheSupplierClassificationCount = { __typename?: 'TheSupplierClassificationCount'; classification: TheSupplierClassification; count: Scalars['Int']['output']; }; export type TheSupplierConnection = { __typename?: 'TheSupplierConnection'; items: Array<TheSupplier>; pageInfo: ThePageInfo; }; export type TheSupplierContact = { __typename?: 'TheSupplierContact'; createdAt: Scalars['DateTime']['output']; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isPrimary: Scalars['Boolean']['output']; name: Scalars['String']['output']; notes?: Maybe<Scalars['String']['output']>; phone?: Maybe<Scalars['String']['output']>; role?: Maybe<Scalars['String']['output']>; supplierId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type TheSupplierPerformance = { __typename?: 'TheSupplierPerformance'; averageOverallScore?: Maybe<Scalars['Float']['output']>; lastReviewedAt?: Maybe<Scalars['DateTime']['output']>; latestOverallScore?: Maybe<Scalars['Float']['output']>; latestRating?: Maybe<Scalars['String']['output']>; previousOverallScore?: Maybe<Scalars['Float']['output']>; scorecardCount: Scalars['Int']['output']; trend?: Maybe<TheSupplierTrend>; }; /** Live counts for the supplier register. */ export type TheSupplierRegisterSummary = { __typename?: 'TheSupplierRegisterSummary'; activeServiceContracts: Scalars['Int']['output']; averageOverallScore?: Maybe<Scalars['Float']['output']>; byClassification: Array<TheSupplierClassificationCount>; byStatus: Array<TheSupplierStatusCount>; /** ACTIVE service contracts ending within the next 30 days. */ contractsExpiringSoon: Scalars['Int']['output']; highRiskSuppliers: Scalars['Int']['output']; totalSuppliers: Scalars['Int']['output']; }; export declare enum TheSupplierRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } /** * A performance assessment of a supplier over a review period. Dimension scores * are 0-100; the overall score is weighted delivery 35%, quality 30%, safety 25%, * commercial 10%, and maps to a rating A (>= 85), B (>= 70), C (>= 55) or D. */ export type TheSupplierScorecard = { __typename?: 'TheSupplierScorecard'; comments?: Maybe<Scalars['String']['output']>; commercialScore: Scalars['Float']['output']; createdAt: Scalars['DateTime']['output']; deliveryScore: Scalars['Float']['output']; id: Scalars['ID']['output']; overallScore: Scalars['Float']['output']; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; qualityScore: Scalars['Float']['output']; rating: Scalars['String']['output']; safetyScore: Scalars['Float']['output']; serviceContractId?: Maybe<Scalars['ID']['output']>; supplierId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TheSupplierScorecardConnection = { __typename?: 'TheSupplierScorecardConnection'; items: Array<TheSupplierScorecard>; pageInfo: ThePageInfo; }; /** * Qualification status of a supplier. Only APPROVED suppliers can hold an active * service contract; BLOCKED and INACTIVE suppliers cannot be linked to new work. */ export declare enum TheSupplierStatus { Approved = "APPROVED", Blocked = "BLOCKED", Inactive = "INACTIVE", OnHold = "ON_HOLD", Prospective = "PROSPECTIVE" } export type TheSupplierStatusCount = { __typename?: 'TheSupplierStatusCount'; count: Scalars['Int']['output']; status: TheSupplierStatus; }; /** Direction of a supplier's latest scorecard against the previous one. */ export declare enum TheSupplierTrend { Declining = "DECLINING", Improving = "IMPROVING", Stable = "STABLE" } export declare enum TheTransportMode { Grid = "GRID", Pipeline = "PIPELINE", Rail = "RAIL", Tanker = "TANKER", Truck = "TRUCK", VesselBulk = "VESSEL_BULK" } export declare enum TheUnit { Barrels = "BARRELS", CubicMeters = "CUBIC_METERS", Gj = "GJ", Kilograms = "KILOGRAMS", Mcf = "MCF", Mwh = "MWH", Tonnes = "TONNES" } /** An effective unit conversion factor for a commodity: a built-in default or this workspace's override. */ export type TheUnitConversion = { __typename?: 'TheUnitConversion'; commodity: TheCommodityType; /** The built-in factor for the same pair and direction, if any. */ defaultFactor?: Maybe<Scalars['Float']['output']>; /** One fromUnit equals this many toUnit. */ factor: Scalars['Float']['output']; fromUnit: TheUnit; /** Override id; null for a built-in default. */ id?: Maybe<Scalars['ID']['output']>; isDefault: Scalars['Boolean']['output']; notes?: Maybe<Scalars['String']['output']>; toUnit: TheUnit; }; export type TheUpdateAssetInput = { area?: InputMaybe<Scalars['Float']['input']>; capacityPerDay?: InputMaybe<Scalars['Float']['input']>; capacityUnit?: InputMaybe<TheUnit>; code?: InputMaybe<Scalars['String']['input']>; commissionedAt?: InputMaybe<Scalars['DateTime']['input']>; commodity?: InputMaybe<TheCommodityType>; decommissionedAt?: InputMaybe<Scalars['DateTime']['input']>; discoveryAt?: InputMaybe<Scalars['DateTime']['input']>; kind?: InputMaybe<TheAssetKind>; latitude?: InputMaybe<Scalars['Float']['input']>; location?: InputMaybe<Scalars['String']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; operatorLeadId?: InputMaybe<Scalars['ID']['input']>; /** * Replace the asset's photo with this wspace-files-svc File id. A null value is * ignored here; use theSetAssetPhoto to remove a photo. */ photoFileId?: InputMaybe<Scalars['ID']['input']>; reservoirType?: InputMaybe<Scalars['String']['input']>; waterDepth?: InputMaybe<Scalars['Float']['input']>; workingInterestPct?: InputMaybe<Scalars['Float']['input']>; }; /** * Fields left out keep their stored value. Passing nodes replaces every node; * links left out are kept and matched to the new nodes by name. Node and link ids * are reissued whenever the topology is replaced. */ export type TheUpdateChainNetworkInput = { carbonBudgetTonnes?: InputMaybe<Scalars['Float']['input']>; carbonPricePerTonne?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; links?: InputMaybe<Array<TheChainLinkInput>>; method?: InputMaybe<TheForecastMethod>; name?: InputMaybe<Scalars['String']['input']>; nodes?: InputMaybe<Array<TheChainNodeInput>>; objective?: InputMaybe<TheChainObjective>; shortfallPenalty?: InputMaybe<Scalars['Float']['input']>; useWeather?: InputMaybe<Scalars['Boolean']['input']>; }; export type TheUpdateConditionRuleInput = { active?: InputMaybe<Scalars['Boolean']['input']>; comparator?: InputMaybe<TheConditionComparator>; deviceCode?: InputMaybe<Scalars['String']['input']>; metricKey?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<TheMaintenancePriority>; threshold?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateEquipmentInput = { category?: InputMaybe<TheEquipmentCategory>; criticality?: InputMaybe<TheMaintenancePriority>; installedAt?: InputMaybe<Scalars['DateTime']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; serialNumber?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<TheEquipmentStatus>; tag?: InputMaybe<Scalars['String']['input']>; }; /** Fields left out keep their stored value; pass null to clear an optional constraint. */ export type TheUpdateForecastScenarioInput = { assetIds?: InputMaybe<Array<Scalars['ID']['input']>>; commodity?: InputMaybe<TheCommodityType>; dailyDispatchCapacity?: InputMaybe<Scalars['Float']['input']>; demandFactor?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; historyDays?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; method?: InputMaybe<TheForecastMethod>; name?: InputMaybe<Scalars['String']['input']>; openingInventory?: InputMaybe<Scalars['Float']['input']>; productionFactor?: InputMaybe<Scalars['Float']['input']>; storageCapacity?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<TheUnit>; }; /** Fields left out keep their stored value. The frozen forecast itself never changes. */ export type TheUpdateForecastSnapshotInput = { driftThresholdPct?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateMaintenanceScheduleInput = { active?: InputMaybe<Scalars['Boolean']['input']>; /** * Replace the checklist template (an empty list removes it). Work orders * already raised keep the steps they were created with. */ checklist?: InputMaybe<Array<TheChecklistStepInput>>; description?: InputMaybe<Scalars['String']['input']>; estimatedHours?: InputMaybe<Scalars['Float']['input']>; intervalDays?: InputMaybe<Scalars['Int']['input']>; nextDueAt?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<TheMaintenancePriority>; title?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateMaintenanceSettingsInput = { downtimeSuggestionThresholdHours?: InputMaybe<Scalars['Float']['input']>; }; export type TheUpdateOfftakeContractInput = { contractedVolume?: InputMaybe<Scalars['Float']['input']>; counterparty?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; deliveryLocation?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priceIndex?: InputMaybe<Scalars['String']['input']>; pricePerUnit?: InputMaybe<Scalars['Float']['input']>; pricingBasis?: InputMaybe<ThePricingBasis>; startDate?: InputMaybe<Scalars['DateTime']['input']>; unit?: InputMaybe<TheUnit>; }; export type TheUpdateServiceContractInput = { currency?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; paymentTerms?: InputMaybe<Scalars['String']['input']>; reference?: InputMaybe<Scalars['String']['input']>; renewalNoticeDays?: InputMaybe<Scalars['Int']['input']>; scope?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['Float']['input']>; }; /** * Mutable logistics metadata on an in-flight shipment. Lifecycle status is NOT * editable here — it moves only through theTransitionShipment/theDeliverShipment * so the contract's delivered-volume rollup stays authoritative. Volume and unit * are likewise immutable once scheduled, for the same reason. */ export type TheUpdateShipmentInput = { carrier?: InputMaybe<Scalars['String']['input']>; destination?: InputMaybe<Scalars['String']['input']>; documentFileId?: InputMaybe<Scalars['ID']['input']>; mode?: InputMaybe<TheTransportMode>; notes?: InputMaybe<Scalars['String']['input']>; origin?: InputMaybe<Scalars['String']['input']>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; trackingId?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateSupplierContactInput = { email?: InputMaybe<Scalars['String']['input']>; /** Set true to make this the primary contact. */ isPrimary?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; role?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateSupplierInput = { address?: InputMaybe<Scalars['String']['input']>; classification?: InputMaybe<TheSupplierClassification>; code?: InputMaybe<Scalars['String']['input']>; country?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; legalName?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; riskLevel?: InputMaybe<TheSupplierRiskLevel>; scope?: InputMaybe<Scalars['String']['input']>; taxId?: InputMaybe<Scalars['String']['input']>; website?: InputMaybe<Scalars['String']['input']>; }; export type TheUpdateWorkOrderInput = { assigneeId?: InputMaybe<Scalars['ID']['input']>; conditionTrigger?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<TheMaintenancePriority>; scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>; scheduledStart?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; /** * AVAILABLE: a price was found and the value is computed. UNAVAILABLE: no usable * price exists; `missingSource` names what is missing. A missing price is never * valued at zero. */ export declare enum TheValuationStatus { Available = "AVAILABLE", Unavailable = "UNAVAILABLE" } /** Valued contract amounts per currency: sales receivable, purchases payable. */ export type TheValuationTotal = { __typename?: 'TheValuationTotal'; currency: Scalars['String']['output']; net: Scalars['Float']['output']; purchases: Scalars['Float']['output']; sales: Scalars['Float']['output']; }; export type TheVintageOffsetRow = { __typename?: 'TheVintageOffsetRow'; /** True when the vintage is more than five years older than the reporting period. */ oldVintage: Scalars['Boolean']['output']; registry: TheCarbonRegistry; tonnes: Scalars['Float']['output']; vintageYear: Scalars['Int']['output']; }; export type TheWeatherCalibration = { __typename?: 'TheWeatherCalibration'; /** Output per unit of driver (per kWh/m² for solar, at capacity factor 1 for wind). */ coefficient: Scalars['Float']['output']; method: TheWeatherCalibrationMethod; /** Days where both production and historical weather are known. */ observations: Scalars['Int']['output']; rSquared?: Maybe<Scalars['Float']['output']>; /** Standard deviation of the daily residuals. */ sigma: Scalars['Float']['output']; }; /** * How the weather-to-output coefficient was obtained. * FITTED: least squares on the asset's own production against historical weather. * PHYSICAL: from nameplate capacity (too little overlapping history to fit). * NONE: no history and no capacity, so no forecast could be made. */ export declare enum TheWeatherCalibrationMethod { Fitted = "FITTED", None = "NONE", Physical = "PHYSICAL" } export type TheWeatherForecastPoint = { __typename?: 'TheWeatherForecastPoint'; date: Scalars['DateTime']['output']; /** Weather driver for the day: kWh/m² (solar) or turbine capacity factor (wind). */ driver?: Maybe<Scalars['Float']['output']>; high: Scalars['Float']['output']; low: Scalars['Float']['output']; source: TheWeatherPointSource; value: Scalars['Float']['output']; }; export type TheWeatherGenerationForecast = { __typename?: 'TheWeatherGenerationForecast'; assetId: Scalars['ID']['output']; assetName: Scalars['String']['output']; /** Hold-out MAPE of the weather model (fit on 80% of overlapping days, scored on the rest). */ backtestMape?: Maybe<Scalars['Float']['output']>; calibration: TheWeatherCalibration; capacityPerDay?: Maybe<Scalars['Float']['output']>; dailyRate: Scalars['Float']['output']; history: Array<TheWeatherHistoryPoint>; historyDays: Scalars['Int']['output']; horizonDays: Scalars['Int']['output']; /** Coordinates sent to the provider, rounded to two decimals. */ latitude: Scalars['Float']['output']; longitude: Scalars['Float']['output']; points: Array<TheWeatherForecastPoint>; /** Weather data provider (open-meteo). */ provider: Scalars['String']['output']; technology: TheWeatherTechnology; totalForecast: Scalars['Float']['output']; unit: TheUnit; warnings: Array<Scalars['String']['output']>; /** Leading forecast days covered by the numerical weather forecast. */ weatherDays: Scalars['Int']['output']; }; export type TheWeatherHistoryPoint = { __typename?: 'TheWeatherHistoryPoint'; actual?: Maybe<Scalars['Float']['output']>; date: Scalars['DateTime']['output']; driver?: Maybe<Scalars['Float']['output']>; modelled?: Maybe<Scalars['Float']['output']>; }; /** * FORECAST: the day is inside the weather provider's forecast window. * CLIMATOLOGY: the same calendar day last year (or the history mean) stands in. */ export declare enum TheWeatherPointSource { Climatology = "CLIMATOLOGY", Forecast = "FORECAST" } /** * Weather driver of a renewable asset. SOLAR uses daily irradiation; WIND uses a * turbine power curve on hourly hub-height wind speed. */ export declare enum TheWeatherTechnology { Solar = "SOLAR", Wind = "WIND" } export type TheWorkOrder = { __typename?: 'TheWorkOrder'; /** The AssetHandler mirror of this work order, if any. */ assetHandlerLink?: Maybe<TheWorkOrderExternalLink>; assetId: Scalars['ID']['output']; assigneeId?: Maybe<Scalars['ID']['output']>; /** Field photos and documents attached as evidence, oldest first. */ attachments: Array<TheWorkOrderAttachment>; cancelledAt?: Maybe<Scalars['DateTime']['output']>; /** Structured steps, in order. */ checklist: Array<TheWorkOrderChecklistItem>; checklistProgress: TheWorkOrderChecklistProgress; closedAt?: Maybe<Scalars['DateTime']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; completionNotes?: Maybe<Scalars['String']['output']>; conditionRule?: Maybe<TheConditionRule>; /** * The condition rule whose threshold breach raised this work order (see * condition-monitoring.gql). */ conditionRuleId?: Maybe<Scalars['ID']['output']>; /** For condition-based work: the monitored condition that triggered it. */ conditionTrigger?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** Equipment / asset downtime caused by this work, in hours. */ downtimeHours?: Maybe<Scalars['Float']['output']>; equipment?: Maybe<TheEquipment>; equipmentId?: Maybe<Scalars['ID']['output']>; /** The external crew or contractor assigned to this work order, if any. */ externalAssignment?: Maybe<TheWorkOrderExternalAssignment>; id: Scalars['ID']['output']; /** The production record whose downtime this work order explains, if attributed. */ linkedProductionRecordId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; /** True when the work is not finished and its scheduled end has passed. */ overdue: Scalars['Boolean']['output']; /** Parts and consumables used, oldest first. */ parts: Array<TheWorkOrderPart>; priority: TheMaintenancePriority; /** The preventive-maintenance schedule this work order was raised from, if any. */ scheduleId?: Maybe<Scalars['ID']['output']>; scheduledEnd?: Maybe<Scalars['DateTime']['output']>; scheduledStart?: Maybe<Scalars['DateTime']['output']>; /** The production record whose reported downtime this work order was raised from. */ sourceProductionRecordId?: Maybe<Scalars['ID']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: TheWorkOrderStatus; title: Scalars['String']['output']; type: TheWorkOrderType; updatedAt: Scalars['DateTime']['output']; vendor?: Maybe<TheSupplier>; /** The contracted vendor performing the work, from the supplier register. */ vendorSupplierId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; /** * A field photo or document attached to a work order as evidence. The file is * owned by wspace-files-svc. */ export type TheWorkOrderAttachment = { __typename?: 'TheWorkOrderAttachment'; caption?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; /** Federated reference to the File (key-only, owned by wspace-files-svc). */ file?: Maybe<File>; /** wspace-files-svc File id (resolve a download URL with getFileDownloadUrl). */ fileId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: TheWorkOrderAttachmentKind; workOrderId: Scalars['ID']['output']; }; /** What a work-order attachment is: a field photo or another document. */ export declare enum TheWorkOrderAttachmentKind { Document = "DOCUMENT", Photo = "PHOTO" } export type TheWorkOrderBulkSyncResult = { __typename?: 'TheWorkOrderBulkSyncResult'; conflicts: Scalars['Int']['output']; created: Scalars['Int']['output']; failed: Scalars['Int']['output']; inSync: Scalars['Int']['output']; processed: Scalars['Int']['output']; results: Array<TheWorkOrderSyncResult>; updated: Scalars['Int']['output']; }; /** One structured step on a work order. */ export type TheWorkOrderChecklistItem = { __typename?: 'TheWorkOrderChecklistItem'; completed: Scalars['Boolean']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Actor id of whoever ticked the step. */ completedBy?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; label: Scalars['String']['output']; /** Optional reading or remark captured with the step. */ note?: Maybe<Scalars['String']['output']>; position: Scalars['Int']['output']; required: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; workOrderId: Scalars['ID']['output']; }; /** Checklist completion counts for a work order. */ export type TheWorkOrderChecklistProgress = { __typename?: 'TheWorkOrderChecklistProgress'; completed: Scalars['Int']['output']; required: Scalars['Int']['output']; /** Required steps still unticked; the work order can be completed only at zero. */ requiredRemaining: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type TheWorkOrderConnection = { __typename?: 'TheWorkOrderConnection'; items: Array<TheWorkOrder>; pageInfo: ThePageInfo; }; /** Assignment of a work order to an external crew or contractor. */ export type TheWorkOrderExternalAssignment = { __typename?: 'TheWorkOrderExternalAssignment'; /** Crew members holding the required skill when the work was assigned. */ certifiedMemberCount?: Maybe<Scalars['Int']['output']>; createdAt: Scalars['DateTime']['output']; credentialExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** The ProServiceWorld credential the contractor was checked against. */ credentialId?: Maybe<Scalars['ID']['output']>; displayName: Scalars['String']['output']; /** CrewFoundry crew id or ProServiceWorld practitioner id. */ externalId: Scalars['ID']['output']; id: Scalars['ID']['output']; kind: TheExternalAssigneeKind; /** CREWFOUNDRY or PROSERVICEWORLD. */ provider: Scalars['String']['output']; /** The CrewFoundry skill (certification) the crew was checked against. */ requiredSkillId?: Maybe<Scalars['ID']['output']>; requiredSkillName?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workOrderId: Scalars['ID']['output']; }; /** * Link from a TheGlobalFuel work order to its AssetHandler mirror, with the * bookkeeping of the last sync. */ export type TheWorkOrderExternalLink = { __typename?: 'TheWorkOrderExternalLink'; createdAt: Scalars['DateTime']['output']; /** The AssetHandler work order downtime in hours as last seen. */ externalDowntimeHours?: Maybe<Scalars['Float']['output']>; /** The AssetHandler work order status as last seen. */ externalStatus?: Maybe<Scalars['String']['output']>; /** Null while the mirror is pending (its creation failed and will be retried). */ externalWorkOrderId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; lastPulledAt?: Maybe<Scalars['DateTime']['output']>; lastPushedAt?: Maybe<Scalars['DateTime']['output']>; lastSyncError?: Maybe<Scalars['String']['output']>; lastSyncOutcome?: Maybe<TheWorkOrderSyncOutcome>; provider: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workOrderId: Scalars['ID']['output']; }; /** A part or consumable used on a work order, optionally drawn from an inventory lot. */ export type TheWorkOrderPart = { __typename?: 'TheWorkOrderPart'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; inventoryLot?: Maybe<TheInventoryLot>; /** * Inventory lot the part was drawn from, if recorded (traceability only; the * lot quantity is not changed). */ inventoryLotId?: Maybe<Scalars['ID']['output']>; notes?: Maybe<Scalars['String']['output']>; partNumber?: Maybe<Scalars['String']['output']>; quantity: Scalars['Float']['output']; unit?: Maybe<Scalars['String']['output']>; workOrderId: Scalars['ID']['output']; }; export declare enum TheWorkOrderStatus { Cancelled = "CANCELLED", Closed = "CLOSED", Completed = "COMPLETED", InProgress = "IN_PROGRESS", Open = "OPEN", Scheduled = "SCHEDULED" } export type TheWorkOrderStatusCount = { __typename?: 'TheWorkOrderStatusCount'; count: Scalars['Int']['output']; status: TheWorkOrderStatus; }; /** Outcome of reconciling a work order with its AssetHandler mirror. */ export declare enum TheWorkOrderSyncOutcome { /** The two sides diverged; nothing was overwritten. */ Conflict = "CONFLICT", /** The AssetHandler mirror was created. */ Created = "CREATED", /** Both sides already agree. */ InSync = "IN_SYNC", /** AssetHandler refused the change (permissions, validation or a missing record). */ Rejected = "REJECTED", /** AssetHandler could not be reached. */ Unreachable = "UNREACHABLE", /** One side was brought up to date with the other. */ Updated = "UPDATED" } export type TheWorkOrderSyncResult = { __typename?: 'TheWorkOrderSyncResult'; /** TheGlobalFuel statuses applied from AssetHandler, in order. */ appliedStatuses: Array<TheWorkOrderStatus>; link?: Maybe<TheWorkOrderExternalLink>; message?: Maybe<Scalars['String']['output']>; outcome: TheWorkOrderSyncOutcome; workOrder?: Maybe<TheWorkOrder>; workOrderId: Scalars['ID']['output']; }; /** * Optional details captured with a lifecycle transition. Scheduling fields apply * to SCHEDULED; completion fields apply to COMPLETED. */ export type TheWorkOrderTransitionInput = { /** * Client-generated idempotency key (same format as on create). Replaying a key * that was already applied to this work order returns the work order unchanged * instead of failing with CONFLICT. */ clientMutationId?: InputMaybe<Scalars['String']['input']>; completionNotes?: InputMaybe<Scalars['String']['input']>; downtimeHours?: InputMaybe<Scalars['Float']['input']>; linkedProductionRecordId?: InputMaybe<Scalars['ID']['input']>; /** * When the transition actually happened, for work captured offline and synced * later. Stamps startedAt (IN_PROGRESS) or completedAt (COMPLETED) instead of * the server time. Must not be in the future (up to 5 minutes of clock skew is * clamped to now), more than 30 days old or, for COMPLETED, before the work was * started. It may be earlier than createdAt: a breakdown reported offline is * created when the device syncs, after the technician has already started it. */ occurredAt?: InputMaybe<Scalars['DateTime']['input']>; scheduledEnd?: InputMaybe<Scalars['DateTime']['input']>; scheduledStart?: InputMaybe<Scalars['DateTime']['input']>; }; /** * How a work order originated: a recurring schedule (PLANNED), a monitored * condition crossing a threshold (CONDITION_BASED), or a breakdown (REACTIVE). */ export declare enum TheWorkOrderType { ConditionBased = "CONDITION_BASED", Planned = "PLANNED", Reactive = "REACTIVE" } export type TheWorkOrderTypeCount = { __typename?: 'TheWorkOrderTypeCount'; count: Scalars['Int']['output']; type: TheWorkOrderType; }; export type TimeApprovalRequest = { __typename?: 'TimeApprovalRequest'; approverId?: Maybe<Scalars['ID']['output']>; billableHours: Scalars['Float']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; endDate: Scalars['DateTime']['output']; id: Scalars['ID']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; period: Scalars['String']['output']; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewer?: Maybe<Scalars['String']['output']>; reviewerNotes?: Maybe<Scalars['String']['output']>; startDate: Scalars['DateTime']['output']; status: ApprovalStatus; submittedAt: Scalars['DateTime']['output']; timeEntries: Array<TimeEntry>; totalHours: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeApprovalRequestTimeEntriesArgs = { pagination?: InputMaybe<PaginationInput>; }; /** The calling workspace's activation progress. */ export type TimeCampusActivation = { __typename?: 'TimeCampusActivation'; /** True once the core milestones (first project and first time entry) are reached. */ activated: Scalars['Boolean']['output']; /** When the last core milestone was reached; null until activated. */ activatedAt?: Maybe<Scalars['DateTime']['output']>; completedCount: Scalars['Int']['output']; milestones: Array<TimeCampusActivationMilestone>; totalCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** One milestone's state in the calling workspace. */ export type TimeCampusActivationMilestone = { __typename?: 'TimeCampusActivationMilestone'; /** True once the workspace has ever reached the milestone. */ completed: Scalars['Boolean']['output']; /** How many qualifying records the workspace has ever created. */ count: Scalars['Int']['output']; /** When the milestone was first reached; null until then. */ firstReachedAt?: Maybe<Scalars['DateTime']['output']>; key: TimeCampusActivationMilestoneKey; }; /** * A TimeCampus activation milestone: the first time a workspace does something * that shows it is getting value from the product. */ export declare enum TimeCampusActivationMilestoneKey { FirstApproval = "FIRST_APPROVAL", FirstClientPortalShare = "FIRST_CLIENT_PORTAL_SHARE", FirstExpense = "FIRST_EXPENSE", FirstInvoice = "FIRST_INVOICE", FirstPomodoro = "FIRST_POMODORO", FirstProject = "FIRST_PROJECT", FirstTimeEntry = "FIRST_TIME_ENTRY" } export type TimeCampusAdminMutationResult = { __typename?: 'TimeCampusAdminMutationResult'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; }; export type TimeCampusAdminWorkspaceState = { __typename?: 'TimeCampusAdminWorkspaceState'; applicationUsageCount: Scalars['Int']['output']; expenseCount: Scalars['Int']['output']; focusScoreCount: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; invoiceCount: Scalars['Int']['output']; locationEntryCount: Scalars['Int']['output']; meetingCount: Scalars['Int']['output']; pendingApprovalCount: Scalars['Int']['output']; pomodoroSessionCount: Scalars['Int']['output']; projectCount: Scalars['Int']['output']; taskCount: Scalars['Int']['output']; timeEntryCount: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** How one NL query was (not) answered. `answer` and `confidence` are null exactly when `fallbackReason` is set. */ export type TimeCampusAiAnswer = { __typename?: 'TimeCampusAiAnswer'; /** The model's answer in plain text, or null when `fallbackReason` is set. */ answer?: Maybe<Scalars['String']['output']>; /** Model-reported 0..1 confidence, or null when unknown / not answered. */ confidence?: Maybe<Scalars['Float']['output']>; /** Rows of the caller's own data (entries + work patterns + focus scores) behind the answer. */ dataPoints: Scalars['Int']['output']; /** Why the question was not answered, or null on success. */ fallbackReason?: Maybe<TimeCampusAiAnswerFallbackReason>; generatedAt: Scalars['DateTime']['output']; /** `provider:model` that produced the answer, or null when not answered by a model. */ model?: Maybe<Scalars['String']['output']>; /** The caller's personal-context rows in the window: excluded from the model's facts, counted here. */ personalExcluded: Scalars['Int']['output']; /** The caller's question as received (length-clamped, PII redacted). */ question: Scalars['String']['output']; /** * True when the window held more time entries than the read cap: the answer's * totals cover the most recent entries only, the oldest were dropped. */ truncated: Scalars['Boolean']['output']; /** Last day (exclusive, UTC, YYYY-MM-DD) of the data window. */ windowEnd: Scalars['String']['output']; /** * First day (inclusive, UTC, YYYY-MM-DD) of the data window the answer is * based on. */ windowStart: Scalars['String']['output']; }; export declare enum TimeCampusAiAnswerFallbackReason { /** The workspace has not opted in to `timecampus.ai.nl-query`. */ AiNotEnabled = "AI_NOT_ENABLED", /** The workspace has no `timecampus.ai.credits` left. */ CreditsExhausted = "CREDITS_EXHAUSTED", /** The caller has no corporate-context time data in the window. */ InsufficientData = "INSUFFICIENT_DATA", /** The model reply was not a usable answer. */ InvalidReply = "INVALID_REPLY", /** The model call failed (timeout, provider error). */ ProviderFailed = "PROVIDER_FAILED", /** No model provider key is configured in this environment. */ ProviderNotConfigured = "PROVIDER_NOT_CONFIGURED", /** The question matched prompt-injection patterns and was refused. */ QuestionRefused = "QUESTION_REFUSED", /** The caller could not be attributed in the AI ledger. */ UnattributedCaller = "UNATTRIBUTED_CALLER" } /** How many reverted events landed in each category. */ export type TimeCampusAiRevertCategoryCount = { __typename?: 'TimeCampusAiRevertCategoryCount'; category: TimeCampusTimelineCategory; count: Scalars['Int']['output']; }; /** * Result of reverting the model's timeline categorisations over a range * (BOFF-3894) — see `revertTimeCampusAiCategorizations`. */ export type TimeCampusAiRevertResult = { __typename?: 'TimeCampusAiRevertResult'; byCategory: Array<TimeCampusAiRevertCategoryCount>; from: Scalars['DateTime']['output']; reverted: Scalars['Int']['output']; to: Scalars['DateTime']['output']; }; /** A first-party applet and whether this workspace has it installed. */ export type TimeCampusApplet = { __typename?: 'TimeCampusApplet'; category: TimeCampusAppletCategory; description: Scalars['String']['output']; /** lucide icon name. */ icon: Scalars['String']['output']; installSource?: Maybe<TimeCampusAppletInstallSource>; installed: Scalars['Boolean']['output']; installedAt?: Maybe<Scalars['DateTime']['output']>; key: Scalars['ID']['output']; name: Scalars['String']['output']; /** App-shell path that opens the applet (/timecampus/... or a platform module). */ route: Scalars['String']['output']; /** Template that installed the applet, when installSource is TEMPLATE. */ templateKey?: Maybe<Scalars['String']['output']>; /** Widgets this applet adds to the widget catalogue. */ widgetKeys: Array<Scalars['String']['output']>; }; export declare enum TimeCampusAppletCategory { Analytics = "ANALYTICS", Automation = "AUTOMATION", Clients = "CLIENTS", Finance = "FINANCE", Focus = "FOCUS", Location = "LOCATION", Meetings = "MEETINGS", Team = "TEAM" } /** A TimeCampus data scope a third-party applet can ask for. */ export type TimeCampusAppletDataScope = { __typename?: 'TimeCampusAppletDataScope'; description: Scalars['String']['output']; key: Scalars['String']['output']; }; export type TimeCampusAppletFilterInput = { category?: InputMaybe<TimeCampusAppletCategory>; installedOnly?: InputMaybe<Scalars['Boolean']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; export declare enum TimeCampusAppletInstallSource { Manual = "MANUAL", Template = "TEMPLATE" } export declare enum TimeCampusAppletListingStatus { Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED", Suspended = "SUSPENDED" } export type TimeCampusAppletManifestValidation = { __typename?: 'TimeCampusAppletManifestValidation'; /** Every problem found, as "<JSON pointer>: <message>". */ errors: Array<Scalars['String']['output']>; valid: Scalars['Boolean']['output']; }; export declare enum TimeCampusAppletReviewDecision { Approve = "APPROVE", Reject = "REJECT" } export type TimeCampusAppletReviewItem = { __typename?: 'TimeCampusAppletReviewItem'; applet: TimeCampusThirdPartyApplet; version: TimeCampusThirdPartyAppletVersion; }; export declare enum TimeCampusAppletSource { Marketplace = "MARKETPLACE", Workspace = "WORKSPACE" } export declare enum TimeCampusAppletVersionStatus { Draft = "DRAFT", InReview = "IN_REVIEW", Published = "PUBLISHED", Rejected = "REJECTED", /** A later version was published. */ Superseded = "SUPERSEDED", Suspended = "SUSPENDED" } export type TimeCampusApplyTemplateInput = { /** ISO 4217 currency for the created projects (default USD). */ currency?: InputMaybe<Scalars['String']['input']>; /** Hourly rate for the template's billable projects; omitted leaves them without a rate. */ hourlyRate?: InputMaybe<Scalars['Float']['input']>; }; export type TimeCampusBalanceTarget = { __typename?: 'TimeCampusBalanceTarget'; createdAt: Scalars['DateTime']['output']; desiredHoursPerWeek: Scalars['Float']['output']; domain: TimeCampusLifeDomain; id: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusCaptureChannel = { __typename?: 'TimeCampusCaptureChannel'; connectedAt: Scalars['DateTime']['output']; createdAt: Scalars['DateTime']['output']; disconnectedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** Opaque reference to a wspace-integrations-svc connection for OAuth-backed connectors. */ integrationConnectionId?: Maybe<Scalars['String']['output']>; /** When the integration connection was revoked. A revoked channel needs a new connection to resume. */ integrationRevokedAt?: Maybe<Scalars['DateTime']['output']>; lastEventAt?: Maybe<Scalars['DateTime']['output']>; lastSyncAt?: Maybe<Scalars['DateTime']['output']>; /** When a sync of this pull channel last started. */ lastSyncAttemptAt?: Maybe<Scalars['DateTime']['output']>; /** Why the last sync (or the integration revoke) failed; null after a successful sync. */ lastSyncError?: Maybe<Scalars['String']['output']>; /** How the last sync of this pull channel ended; null before the first sync. */ lastSyncStatus?: Maybe<TimeCampusCaptureChannelSyncStatus>; name: Scalars['String']['output']; privacyMode: TimeCampusCaptureChannelPrivacyMode; provider?: Maybe<Scalars['String']['output']>; /** True when TimeCampus pulls this channel from its provider on a schedule (OAuth-backed connectors). */ pullSync: Scalars['Boolean']['output']; /** Captured events from this channel older than this many days are purged. Null keeps them. */ retentionDays?: Maybe<Scalars['Int']['output']>; status: TimeCampusCaptureChannelStatus; /** How often the source is expected to sync, in minutes (informational). */ syncIntervalMinutes?: Maybe<Scalars['Int']['output']>; /** Events accepted from this channel since it was connected. */ totalEvents: Scalars['Int']['output']; type: TimeCampusCaptureChannelType; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TimeCampusCaptureChannelPrivacyMode { /** Store only the app, category and timing; titles, URLs and metadata never reach storage. */ AggregateOnly = "AGGREGATE_ONLY", /** Store titles, URLs and metadata as sent. */ Full = "FULL", /** Store window/page titles but drop URLs and caller metadata. */ TitlesOnly = "TITLES_ONLY" } export type TimeCampusCaptureChannelPurgeResult = { __typename?: 'TimeCampusCaptureChannelPurgeResult'; channelId: Scalars['ID']['output']; purgedEvents: Scalars['Int']['output']; }; export declare enum TimeCampusCaptureChannelStatus { /** Events are accepted and stored. */ Active = "ACTIVE", /** Disconnected by the user: events are refused until the channel is resumed. */ Disconnected = "DISCONNECTED", /** Temporarily paused: events sent while paused are refused and never stored. */ Paused = "PAUSED" } export type TimeCampusCaptureChannelSyncResult = { __typename?: 'TimeCampusCaptureChannelSyncResult'; channel: TimeCampusCaptureChannel; duplicates: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; ingested: Scalars['Int']['output']; status: TimeCampusCaptureChannelSyncStatus; }; export declare enum TimeCampusCaptureChannelSyncStatus { /** The provider or the integrations service failed; the next scheduled sync retries. */ Failed = "FAILED", /** The integration connection is revoked, expired or rejected by the provider: connect the account again. */ ReconnectRequired = "RECONNECT_REQUIRED", /** Nothing was pulled (the channel stopped accepting events, or capture is turned off for the source). */ Skipped = "SKIPPED", /** Pulled and ingested. */ Synced = "SYNCED" } export declare enum TimeCampusCaptureChannelType { Api = "API", Browser = "BROWSER", Calendar = "CALENDAR", Cli = "CLI", Custom = "CUSTOM", Desktop = "DESKTOP", Ide = "IDE", /** Activity pulled from a connected third-party app through wspace-integrations-svc, e.g. GitHub. */ Integration = "INTEGRATION", Mobile = "MOBILE" } export type TimeCampusCaptureEvent = { __typename?: 'TimeCampusCaptureEvent'; app?: Maybe<Scalars['String']['output']>; /** * Which path produced the suggestion/correction: HISTORY (learned from the * user's own earlier project choices), RULE_BASED, LLM, or USER (manual). */ categorizationMethod?: Maybe<Scalars['String']['output']>; /** Model identifier, e.g. "keyword-match-v1", "correction-history-v1" or "gemini:gemini-2.5-flash". */ categorizationModel?: Maybe<Scalars['String']['output']>; category: TimeCampusTimelineCategory; /** * Model confidence (0..1) for `category`. Set only when `categorySource` is * "ai" (BOFF-3880); null for channel, user and rule-based categories. */ categoryConfidence?: Maybe<Scalars['Float']['output']>; /** The "provider:model" that decided `category` when `categorySource` is "ai". */ categoryModel?: Maybe<Scalars['String']['output']>; categorySource: Scalars['String']['output']; /** Confidence (0..1) of the last computed suggestion. */ categorySuggestionConfidence?: Maybe<Scalars['Float']['output']>; channelId?: Maybe<Scalars['ID']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; duration?: Maybe<Scalars['Int']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; externalId?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; /** * AI/ML auto-categorization (BOFF-4146). `projectId` is only ever set by the * user accepting a suggestion or making a manual correction — the classifier * never writes it directly. */ projectId?: Maybe<Scalars['ID']['output']>; source: Scalars['String']['output']; startTime: Scalars['DateTime']['output']; /** Pending project suggestion, or null once accepted/rejected/never computed. */ suggestedProjectId?: Maybe<Scalars['ID']['output']>; title?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; url?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusCaptureEventFilterInput = { app?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<TimeCampusTimelineCategory>; channelId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; }; export type TimeCampusCaptureEventInput = { app?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<TimeCampusTimelineCategory>; context?: InputMaybe<ContextInput>; duration?: InputMaybe<Scalars['Int']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; externalId?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; source?: InputMaybe<Scalars['String']['input']>; startTime: Scalars['DateTime']['input']; title?: InputMaybe<Scalars['String']['input']>; url?: InputMaybe<Scalars['String']['input']>; }; export type TimeCampusCaptureEventListResponse = { __typename?: 'TimeCampusCaptureEventListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<TimeCampusCaptureEvent>; total: Scalars['Int']['output']; }; /** * A third-party source TimeCampus can pull from (BOFF-10441, BOFF-4207), with an * OAuth grant or an API key held by wspace-integrations-svc. Connect it by * creating a wspace-integrations-svc connection for `integrationProviderKey`, * then `connectTimeCampusCaptureChannel` with `type: channelType`, * `provider: key` and the connection id. */ export type TimeCampusCapturePullProvider = { __typename?: 'TimeCampusCapturePullProvider'; channelType: TimeCampusCaptureChannelType; defaultSyncIntervalMinutes: Scalars['Int']['output']; description: Scalars['String']['output']; group: TimeCampusCapturePullProviderGroup; integrationProviderKey: Scalars['String']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; minSyncIntervalMinutes: Scalars['Int']['output']; }; /** How the Channels page groups the pull-provider catalogue (BOFF-4207). */ export declare enum TimeCampusCapturePullProviderGroup { /** Calendars and booked meetings. */ Calendar = "CALENDAR", /** Team chat. */ Chat = "CHAT", /** Code hosting. */ Code = "CODE", /** Documents, wikis, files and designs. */ Documents = "DOCUMENTS", /** Email. */ Email = "EMAIL", /** Issue trackers and task managers. */ ProjectManagement = "PROJECT_MANAGEMENT", /** CRM activity: calls, meetings and emails logged in a sales tool. */ Sales = "SALES" } /** * Result of computing (and persisting) a project suggestion for a capture * event — see `suggestTimeCampusCaptureEventCategory`. */ export type TimeCampusCategorySuggestion = { __typename?: 'TimeCampusCategorySuggestion'; captureEventId: Scalars['ID']['output']; confidence: Scalars['Float']['output']; method: Scalars['String']['output']; model: Scalars['String']['output']; suggestedProjectId?: Maybe<Scalars['ID']['output']>; suggestedProjectName?: Maybe<Scalars['String']['output']>; }; export type TimeCampusClientPortalView = { __typename?: 'TimeCampusClientPortalView'; clientName: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; logoUrl?: Maybe<Scalars['String']['output']>; projects: Array<TimeCampusClientPortalViewProject>; }; export type TimeCampusClientPortalViewProjectsArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TimeCampusClientPortalViewProject = { __typename?: 'TimeCampusClientPortalViewProject'; budget?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; status: Scalars['String']['output']; totalTrackedSeconds?: Maybe<Scalars['Int']['output']>; }; export type TimeCampusConnectCaptureChannelInput = { integrationConnectionId?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; privacyMode?: InputMaybe<TimeCampusCaptureChannelPrivacyMode>; provider?: InputMaybe<Scalars['String']['input']>; retentionDays?: InputMaybe<Scalars['Int']['input']>; syncIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; type: TimeCampusCaptureChannelType; }; export type TimeCampusContextSharingPolicy = { __typename?: 'TimeCampusContextSharingPolicy'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; recoveryBand: Scalars['Boolean']['output']; sustainableHours: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workLifeBoundary: Scalars['Boolean']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusContextSharingPolicyInput = { recoveryBand?: InputMaybe<Scalars['Boolean']['input']>; sustainableHours?: InputMaybe<Scalars['Boolean']['input']>; workLifeBoundary?: InputMaybe<Scalars['Boolean']['input']>; }; export type TimeCampusDataErasureRequest = { __typename?: 'TimeCampusDataErasureRequest'; completedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; requestedAt: Scalars['DateTime']['output']; requestedBy: Scalars['ID']['output']; status: TimeCampusDataErasureStatus; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum TimeCampusDataErasureStatus { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING" } export type TimeCampusDeadTimeBucket = { __typename?: 'TimeCampusDeadTimeBucket'; kind: Scalars['String']['output']; reclaimableSeconds: Scalars['Int']['output']; totalSeconds: Scalars['Int']['output']; }; export type TimeCampusDeadTimeRadar = { __typename?: 'TimeCampusDeadTimeRadar'; buckets: Array<TimeCampusDeadTimeBucket>; from: Scalars['DateTime']['output']; note: Scalars['String']['output']; reclaimableSeconds: Scalars['Int']['output']; to: Scalars['DateTime']['output']; totalSeconds: Scalars['Int']['output']; }; export type TimeCampusDomainAlignment = { __typename?: 'TimeCampusDomainAlignment'; actualShare: Scalars['Float']['output']; desiredShare: Scalars['Float']['output']; domain: TimeCampusLifeDomain; gap: Scalars['Float']['output']; }; export declare enum TimeCampusExportFormat { Csv = "CSV", Json = "JSON" } export type TimeCampusExportJob = { __typename?: 'TimeCampusExportJob'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; downloadExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** Pre-signed archive URL, present once the job is COMPLETED. */ downloadUrl?: Maybe<Scalars['String']['output']>; entityTypes: Array<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; format: TimeCampusExportFormat; id: Scalars['ID']['output']; /** Completion percentage, 0-100. */ progress?: Maybe<Scalars['Int']['output']>; /** CREATED, QUEUED, RUNNING, COMPLETED, FAILED, CANCELLED, EXPIRED or DELETED. */ status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusFeatureFlag = { __typename?: 'TimeCampusFeatureFlag'; category: Scalars['String']['output']; defaultValue: Scalars['Boolean']['output']; key: Scalars['String']['output']; value: Scalars['Boolean']['output']; }; export type TimeCampusFeatureFlagList = { __typename?: 'TimeCampusFeatureFlagList'; items: Array<TimeCampusFeatureFlag>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusFeatureFlagOverride = { __typename?: 'TimeCampusFeatureFlagOverride'; allowUserOptIn: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; featureFlagId: Scalars['String']['output']; id: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; export type TimeCampusFiniteLifeView = { __typename?: 'TimeCampusFiniteLifeView'; asOf: Scalars['DateTime']['output']; birthDate?: Maybe<Scalars['DateTime']['output']>; domainRollups: Array<TimeCampusLifeDomainTotal>; expectedTotalWeeks?: Maybe<Scalars['Int']['output']>; gridUnit: Scalars['String']['output']; hideRemainingWeeks: Scalars['Boolean']['output']; lifeExpectancyYears?: Maybe<Scalars['Int']['output']>; rollupFrom: Scalars['DateTime']['output']; rollupTo: Scalars['DateTime']['output']; weeksLived?: Maybe<Scalars['Int']['output']>; weeksRemaining?: Maybe<Scalars['Int']['output']>; }; /** * A focus block the caller responded to: scheduled (ACCEPTED/STARTED), or a * SNOOZED/DISMISSED slot the planner now plans around. */ export type TimeCampusFocusBlock = { __typename?: 'TimeCampusFocusBlock'; calendarEventId?: Maybe<Scalars['ID']['output']>; /** * The busy hold on the connected calendar; null for snoozed/dismissed blocks * and blocks accepted before calendar holds existed. */ calendarHoldStatus?: Maybe<TimeCampusFocusCalendarHoldStatus>; calendarId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; durationMinutes: Scalars['Int']['output']; endTime: Scalars['DateTime']['output']; focusSessionId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** When the "starts soon" notification was sent, if it was. */ nudgedAt?: Maybe<Scalars['DateTime']['output']>; reasons: Array<TimeCampusFocusBlockReason>; score?: Maybe<Scalars['Float']['output']>; snoozedUntil?: Maybe<Scalars['DateTime']['output']>; source: TimeCampusFocusBlockSource; startTime: Scalars['DateTime']['output']; status: TimeCampusFocusBlockStatus; updatedAt: Scalars['DateTime']['output']; }; /** Why the planner ranked a suggested block where it did. */ export declare enum TimeCampusFocusBlockReason { DefaultSchedule = "DEFAULT_SCHEDULE", FitsBetweenMeetings = "FITS_BETWEEN_MEETINGS", HistoricallyProtected = "HISTORICALLY_PROTECTED", LowInterruptions = "LOW_INTERRUPTIONS", MeetingFreeDay = "MEETING_FREE_DAY", PeakHours = "PEAK_HOURS" } export declare enum TimeCampusFocusBlockResponse { Accept = "ACCEPT", Dismiss = "DISMISS", Snooze = "SNOOZE" } export type TimeCampusFocusBlockResponseInput = { /** * The dayStart the suggestion was requested with, so the block is recorded as * ADAPTIVE with the planner's score and reasons. Omit for a manual block. */ dayStart?: InputMaybe<Scalars['DateTime']['input']>; endTime: Scalars['DateTime']['input']; response: TimeCampusFocusBlockResponse; /** SNOOZE only: minutes to hide the slot (5..1440, default 30). */ snoozeMinutes?: InputMaybe<Scalars['Int']['input']>; startTime: Scalars['DateTime']['input']; }; export declare enum TimeCampusFocusBlockSource { /** The block matched a live adaptive suggestion when it was accepted. */ Adaptive = "ADAPTIVE", Manual = "MANUAL" } export declare enum TimeCampusFocusBlockStatus { Accepted = "ACCEPTED", Canceled = "CANCELED", Dismissed = "DISMISSED", Snoozed = "SNOOZED", Started = "STARTED" } /** * A suggested protected window computed live by the adaptive planner. Not * stored until the caller responds to it. */ export type TimeCampusFocusBlockSuggestion = { __typename?: 'TimeCampusFocusBlockSuggestion'; durationMinutes: Scalars['Int']['output']; endTime: Scalars['DateTime']['output']; reasons: Array<TimeCampusFocusBlockReason>; /** 0..1 — how likely this window is to stay protected, from the caller's own history. */ score: Scalars['Float']['output']; startTime: Scalars['DateTime']['output']; }; /** What the browser extension should enforce right now for the caller. */ export type TimeCampusFocusBlockingState = { __typename?: 'TimeCampusFocusBlockingState'; /** True while the caller has an ACTIVE focus session and blocking is enabled. */ active: Scalars['Boolean']['output']; /** STANDARD sessions let the caller continue past a block (recorded); STRICT do not. */ allowBypass: Scalars['Boolean']['output']; /** Desktop apps to block now: the caller's list minus the session allow-list. Empty when inactive. */ blockedApps: Array<Scalars['String']['output']>; /** Hostnames to block now: the caller's list minus the session allow-list. Empty when inactive. */ blockedDomains: Array<Scalars['String']['output']>; blockingEnabled: Scalars['Boolean']['output']; /** * True while the caller has an ACTIVE session and wants the OS do-not-disturb * mode on for it (independent of blockingEnabled). */ doNotDisturb: Scalars['Boolean']['output']; /** Planned end of the session, when it has a planned duration. */ endsAt?: Maybe<Scalars['DateTime']['output']>; focusSessionId?: Maybe<Scalars['ID']['output']>; protectionLevel?: Maybe<TimeCampusFocusProtectionLevel>; startedAt?: Maybe<Scalars['DateTime']['output']>; }; /** * The caller's connected calendar: their own personal calendar in the platform * calendar module (preferring one an active external sync pushes to). */ export type TimeCampusFocusCalendarConnection = { __typename?: 'TimeCampusFocusCalendarConnection'; calendarId?: Maybe<Scalars['ID']['output']>; calendarName?: Maybe<Scalars['String']['output']>; connected: Scalars['Boolean']['output']; holdsEnabled: Scalars['Boolean']['output']; /** External provider the calendar syncs to (e.g. GOOGLE_CALENDAR), or null. */ provider?: Maybe<Scalars['String']['output']>; /** False when the calendar module could not be reached just now. */ reachable: Scalars['Boolean']['output']; }; /** Where an accepted block's busy hold on the connected calendar stands. */ export declare enum TimeCampusFocusCalendarHoldStatus { /** The caller turned calendar holds off in their focus preferences. */ Disabled = "DISABLED", /** The calendar could not be reached or refused the event. */ Failed = "FAILED", /** The hold is on the connected calendar. */ Held = "HELD", /** The caller has no personal calendar to hold the block on. */ NotConnected = "NOT_CONNECTED", /** The hold was deleted when the block was canceled. */ Removed = "REMOVED" } export type TimeCampusFocusInterruption = { __typename?: 'TimeCampusFocusInterruption'; app?: Maybe<Scalars['String']['output']>; captureEventId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; durationSeconds?: Maybe<Scalars['Int']['output']>; focusSessionId: Scalars['ID']['output']; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; occurredAt: Scalars['DateTime']['output']; source: TimeCampusFocusInterruptionSource; }; export declare enum TimeCampusFocusInterruptionSource { /** * The desktop app hid a blocked app (durationSeconds 0) or the caller kept * using it after the warning (durationSeconds = the self-reported estimate). */ BlockedApp = "BLOCKED_APP", /** * The browser extension blocked a site (durationSeconds 0) or the caller * continued past the block (durationSeconds = the self-reported estimate). */ BlockedSite = "BLOCKED_SITE", CaptureEvent = "CAPTURE_EVENT", SelfReported = "SELF_REPORTED" } export type TimeCampusFocusPreferences = { __typename?: 'TimeCampusFocusPreferences'; /** * Desktop app names the TimeCampus desktop app hides (strict sessions) or * warns about (standard sessions) during focus sessions. */ blockedApps: Array<Scalars['String']['output']>; /** Hostnames blocked during focus sessions (subdomains included). */ blockedDomains: Array<Scalars['String']['output']>; /** Whether the browser extension blocks sites during focus sessions. */ blockingEnabled: Scalars['Boolean']['output']; /** Whether accepted blocks are held as busy "Focus" events on the connected calendar. */ calendarHoldEnabled: Scalars['Boolean']['output']; /** False while the defaults are in effect (nothing saved yet). */ customised: Scalars['Boolean']['output']; /** Whether the desktop app turns on the OS do-not-disturb mode during focus sessions. */ doNotDisturb: Scalars['Boolean']['output']; maxBlocksPerDay: Scalars['Int']['output']; /** Minutes kept free before and after each meeting. */ meetingBufferMinutes: Scalars['Int']['output']; minBlockMinutes: Scalars['Int']['output']; preferredBlockMinutes: Scalars['Int']['output']; /** Minutes before an accepted block starts to send the "starts soon" notification (0 = off). */ startNudgeMinutes: Scalars['Int']['output']; /** Workday end, minutes after local midnight (default 1080 = 18:00). */ workdayEndMinute: Scalars['Int']['output']; /** Workday start, minutes after local midnight (default 540 = 09:00). */ workdayStartMinute: Scalars['Int']['output']; }; export type TimeCampusFocusPreferencesInput = { /** * Replaces the whole list. Entries are app names as the OS shows them * ("Discord", "Steam"); a trailing ".exe" or ".app" is dropped. */ blockedApps?: InputMaybe<Array<Scalars['String']['input']>>; /** * Replaces the whole list. Entries are normalised to bare hostnames * ("https://www.youtube.com/feed" becomes "youtube.com"). */ blockedDomains?: InputMaybe<Array<Scalars['String']['input']>>; blockingEnabled?: InputMaybe<Scalars['Boolean']['input']>; calendarHoldEnabled?: InputMaybe<Scalars['Boolean']['input']>; doNotDisturb?: InputMaybe<Scalars['Boolean']['input']>; maxBlocksPerDay?: InputMaybe<Scalars['Int']['input']>; meetingBufferMinutes?: InputMaybe<Scalars['Int']['input']>; minBlockMinutes?: InputMaybe<Scalars['Int']['input']>; preferredBlockMinutes?: InputMaybe<Scalars['Int']['input']>; /** 0..60; 0 turns the start notification off. */ startNudgeMinutes?: InputMaybe<Scalars['Int']['input']>; workdayEndMinute?: InputMaybe<Scalars['Int']['input']>; workdayStartMinute?: InputMaybe<Scalars['Int']['input']>; }; export declare enum TimeCampusFocusProtectionLevel { Standard = "STANDARD", Strict = "STRICT" } export type TimeCampusFocusSession = { __typename?: 'TimeCampusFocusSession'; allowedApps: Array<Scalars['String']['output']>; /** * Sites the browser extension blocked during this session without the caller * continuing past the block. */ blockedAttemptCount: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; endTime?: Maybe<Scalars['DateTime']['output']>; /** The accepted focus block this session was started from, if any. */ focusBlockId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; /** * Estimated time lost to interruptions: the real CaptureEvent duration for * CAPTURE_EVENT-sourced interruptions, or a fixed 60s estimate for * SELF_REPORTED ones (no duration is knowable for a self-flagged * interruption) — an honest approximation, not a precise measurement. */ interruptedSeconds: Scalars['Int']['output']; /** * Interruptions that cost focus time (self-reported, auto-detected and * bypassed site blocks). Held site blocks are counted in blockedAttemptCount. */ interruptionCount: Scalars['Int']['output']; interruptions: Array<TimeCampusFocusInterruption>; notes?: Maybe<Scalars['String']['output']>; plannedDurationSeconds?: Maybe<Scalars['Int']['output']>; /** * Elapsed session time minus interrupted time (never negative). For an * in-progress session, elapsed is measured up to now. */ protectedSeconds: Scalars['Int']['output']; protectionLevel: TimeCampusFocusProtectionLevel; startTime: Scalars['DateTime']['output']; status: TimeCampusFocusSessionStatus; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusFocusSessionFilterInput = { from?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<TimeCampusFocusSessionStatus>; to?: InputMaybe<Scalars['DateTime']['input']>; }; export declare enum TimeCampusFocusSessionStatus { Abandoned = "ABANDONED", Active = "ACTIVE", Completed = "COMPLETED" } export type TimeCampusFocusSummary = { __typename?: 'TimeCampusFocusSummary'; abandonedSessions: Scalars['Int']['output']; /** 0..1 — totalProtectedSeconds / (totalProtectedSeconds + totalInterruptedSeconds), 0 when no tracked time. */ averageProtectionRatio: Scalars['Float']['output']; completedSessions: Scalars['Int']['output']; from: Scalars['DateTime']['output']; to: Scalars['DateTime']['output']; totalInterruptedSeconds: Scalars['Int']['output']; totalInterruptionCount: Scalars['Int']['output']; totalProtectedSeconds: Scalars['Int']['output']; totalSessions: Scalars['Int']['output']; }; /** What happens to time the person was away from the keyboard (BOFF-4210). */ export declare enum TimeCampusIdleAction { Discard = "DISCARD", MarkAway = "MARK_AWAY" } /** * The calling user's idle detection settings for automatic desktop capture * (BOFF-4210). Defaults apply until the user changes them. */ export type TimeCampusIdleDetectionSettings = { __typename?: 'TimeCampusIdleDetectionSettings'; /** * Whether captured activity is cut at idle/return. When off, reported idle * periods are ignored and activity is stored exactly as captured. */ enabled: Scalars['Boolean']['output']; /** * What happens to idle time: MARK_AWAY records it as an away (BREAK) block * on the timeline, DISCARD leaves it out entirely. */ idleAction: TimeCampusIdleAction; /** * Minutes without keyboard or mouse input before a stretch counts as idle * (1-60, default 5). */ thresholdMinutes: Scalars['Int']['output']; }; /** * Changes to the caller's idle detection settings; omitted fields keep their * current value. */ export type TimeCampusIdleDetectionSettingsInput = { enabled?: InputMaybe<Scalars['Boolean']['input']>; idleAction?: InputMaybe<TimeCampusIdleAction>; thresholdMinutes?: InputMaybe<Scalars['Int']['input']>; }; /** * A stretch the person was away from the keyboard, reported by the desktop * app with a capture batch (BOFF-4210). */ export type TimeCampusIdlePeriodInput = { endTime: Scalars['DateTime']['input']; startTime: Scalars['DateTime']['input']; }; export type TimeCampusImpersonationAuditEntry = { __typename?: 'TimeCampusImpersonationAuditEntry'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; endedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; reason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; targetUserId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusIngestCaptureEventsResult = { __typename?: 'TimeCampusIngestCaptureEventsResult'; /** * Away blocks (BREAK events with categorySource "idle") stored for the * reported idle periods; 0 when the person chose to discard away time. */ awayRecorded: Scalars['Int']['output']; /** * Count of events in this batch that were NOT persisted because the capture * channel they were sent for is paused, disconnected or removed (BOFF-4036). */ channelBlocked: Scalars['Int']['output']; /** * Count of events in this batch that were NOT persisted because the caller * has explicitly revoked SourceConsent for this batch's source. Distinct * from `duplicates` (already-seen events) — these were never written. */ consentBlocked: Scalars['Int']['output']; duplicates: Scalars['Int']['output']; events: Array<TimeCampusCaptureEvent>; /** * Seconds of captured time left out of the stored events because the person * was away from the keyboard (BOFF-4210). */ idleSecondsExcluded: Scalars['Int']['output']; /** * Count of events in this batch that overlapped a reported idle period and * were cut at idle/return into their active parts (BOFF-4210). */ idleSplitEvents: Scalars['Int']['output']; ingested: Scalars['Int']['output']; }; export type TimeCampusInvoice = { __typename?: 'TimeCampusInvoice'; clientAddress?: Maybe<Scalars['String']['output']>; clientEmail?: Maybe<Scalars['String']['output']>; clientName: Scalars['String']['output']; clientPortalConfigId?: Maybe<Scalars['ID']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; dueDate?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; invoiceNumber: Scalars['String']['output']; /** * True when the invoice is still SENT (not PAID) and past its due date. * Computed on every read rather than stored — see module header for why a * persisted OVERDUE status is deferred. */ isOverdue: Scalars['Boolean']['output']; issueDate: Scalars['DateTime']['output']; lineItems: Array<TimeCampusInvoiceLineItem>; notes?: Maybe<Scalars['String']['output']>; onBehalfOf?: Maybe<Scalars['String']['output']>; paidAt?: Maybe<Scalars['DateTime']['output']>; periodEnd: Scalars['DateTime']['output']; periodStart: Scalars['DateTime']['output']; sentAt?: Maybe<Scalars['DateTime']['output']>; status: TimeCampusInvoiceStatus; subtotal: Scalars['Float']['output']; taxAmount: Scalars['Float']['output']; taxRate: Scalars['Float']['output']; total: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusInvoiceFilterInput = { clientName?: InputMaybe<Scalars['String']['input']>; dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<TimeCampusInvoiceStatus>; }; export type TimeCampusInvoiceLineItem = { __typename?: 'TimeCampusInvoiceLineItem'; amount: Scalars['Float']['output']; description: Scalars['String']['output']; id: Scalars['ID']['output']; invoiceId: Scalars['ID']['output']; periodEnd?: Maybe<Scalars['DateTime']['output']>; periodStart?: Maybe<Scalars['DateTime']['output']>; projectId?: Maybe<Scalars['ID']['output']>; quantity: Scalars['Float']['output']; taskId?: Maybe<Scalars['ID']['output']>; unitRate: Scalars['Float']['output']; }; export type TimeCampusInvoiceListResponse = { __typename?: 'TimeCampusInvoiceListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<TimeCampusInvoice>; total: Scalars['Int']['output']; }; export type TimeCampusInvoiceStats = { __typename?: 'TimeCampusInvoiceStats'; draftCount: Scalars['Int']['output']; paidCount: Scalars['Int']['output']; sentCount: Scalars['Int']['output']; totalInvoiced: Scalars['Float']['output']; totalOutstanding: Scalars['Float']['output']; totalPaid: Scalars['Float']['output']; }; export declare enum TimeCampusInvoiceStatus { Draft = "DRAFT", Paid = "PAID", Sent = "SENT" } export type TimeCampusLakeDataset = { __typename?: 'TimeCampusLakeDataset'; datasetId: Scalars['ID']['output']; datasetKey: Scalars['String']['output']; lastCommittedVersion: Scalars['Int']['output']; schemaVersion: Scalars['Int']['output']; }; export type TimeCampusLakePage = { __typename?: 'TimeCampusLakePage'; datasetId: Scalars['ID']['output']; lastCommittedVersion: Scalars['Int']['output']; rows: Array<Scalars['JSON']['output']>; schemaVersion: Scalars['Int']['output']; }; export type TimeCampusLifeBalance = { __typename?: 'TimeCampusLifeBalance'; byDomain: Array<TimeCampusLifeDomainBalance>; coveredSeconds: Scalars['Int']['output']; from: Scalars['DateTime']['output']; hasTargets: Scalars['Boolean']['output']; to: Scalars['DateTime']['output']; unaccountedSeconds: Scalars['Int']['output']; }; export declare enum TimeCampusLifeDomain { Chores = "CHORES", Commute = "COMMUTE", Family = "FAMILY", FinanceAdmin = "FINANCE_ADMIN", Health = "HEALTH", Learning = "LEARNING", Leisure = "LEISURE", Other = "OTHER", Reflection = "REFLECTION", SelfCare = "SELF_CARE", Sleep = "SLEEP", Social = "SOCIAL", Waiting = "WAITING", Work = "WORK" } export type TimeCampusLifeDomainBalance = { __typename?: 'TimeCampusLifeDomainBalance'; actualSeconds: Scalars['Int']['output']; actualShare: Scalars['Float']['output']; desiredShare: Scalars['Float']['output']; domain: TimeCampusLifeDomain; gap: Scalars['Float']['output']; }; export type TimeCampusLifeDomainTotal = { __typename?: 'TimeCampusLifeDomainTotal'; domain: TimeCampusLifeDomain; share: Scalars['Float']['output']; totalSeconds: Scalars['Int']['output']; }; export type TimeCampusLifeGoal = { __typename?: 'TimeCampusLifeGoal'; cadence: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; domain: TimeCampusLifeDomain; id: Scalars['ID']['output']; status: Scalars['String']['output']; targetValue: Scalars['Float']['output']; title: Scalars['String']['output']; unit: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; valueId?: Maybe<Scalars['ID']['output']>; window?: Maybe<Scalars['JSON']['output']>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusLifeGoalInput = { cadence?: InputMaybe<Scalars['String']['input']>; domain: TimeCampusLifeDomain; status?: InputMaybe<Scalars['String']['input']>; targetValue: Scalars['Float']['input']; title: Scalars['String']['input']; unit?: InputMaybe<Scalars['String']['input']>; valueId?: InputMaybe<Scalars['ID']['input']>; window?: InputMaybe<Scalars['JSON']['input']>; }; export type TimeCampusLifeGoalUpdateInput = { cadence?: InputMaybe<Scalars['String']['input']>; domain?: InputMaybe<TimeCampusLifeDomain>; status?: InputMaybe<Scalars['String']['input']>; targetValue?: InputMaybe<Scalars['Float']['input']>; title?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; valueId?: InputMaybe<Scalars['ID']['input']>; window?: InputMaybe<Scalars['JSON']['input']>; }; export type TimeCampusLifeProfile = { __typename?: 'TimeCampusLifeProfile'; birthDate?: Maybe<Scalars['DateTime']['output']>; companionPromptEnabled: Scalars['Boolean']['output']; companionSnoozeUntil?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; finiteLifeOptIn: Scalars['Boolean']['output']; gridUnit: Scalars['String']['output']; hideRemainingWeeks: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lifeExpectancyYears?: Maybe<Scalars['Int']['output']>; /** In-app theme picked on the settings page: light, dark, system, forest, ocean, sunset or high-contrast. Null until the user chooses one. */ themePreference?: Maybe<Scalars['String']['output']>; timezone: Scalars['String']['output']; treatBreakAsSelfCare: Scalars['Boolean']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; weekStartsOn: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusLifeProfileInput = { birthDate?: InputMaybe<Scalars['DateTime']['input']>; companionPromptEnabled?: InputMaybe<Scalars['Boolean']['input']>; companionSnoozeUntil?: InputMaybe<Scalars['DateTime']['input']>; finiteLifeOptIn?: InputMaybe<Scalars['Boolean']['input']>; gridUnit?: InputMaybe<Scalars['String']['input']>; hideRemainingWeeks?: InputMaybe<Scalars['Boolean']['input']>; lifeExpectancyYears?: InputMaybe<Scalars['Int']['input']>; /** One of light, dark, system, forest, ocean, sunset or high-contrast; null clears the stored choice. */ themePreference?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; treatBreakAsSelfCare?: InputMaybe<Scalars['Boolean']['input']>; weekStartsOn?: InputMaybe<Scalars['Int']['input']>; }; export type TimeCampusLifeSummary = { __typename?: 'TimeCampusLifeSummary'; byDomain: Array<TimeCampusLifeDomainTotal>; totalCoveredSeconds: Scalars['Int']['output']; unaccountedSeconds: Scalars['Int']['output']; }; export type TimeCampusLifeTimeline = { __typename?: 'TimeCampusLifeTimeline'; segments: Array<TimeCampusTimelineSegment>; summary: TimeCampusLifeSummary; }; export type TimeCampusLifeValue = { __typename?: 'TimeCampusLifeValue'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; domains: Array<TimeCampusLifeDomain>; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; weight: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusLifeValueInput = { description?: InputMaybe<Scalars['String']['input']>; domains?: InputMaybe<Array<TimeCampusLifeDomain>>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name: Scalars['String']['input']; weight?: InputMaybe<Scalars['Float']['input']>; }; export type TimeCampusLifeValueUpdateInput = { description?: InputMaybe<Scalars['String']['input']>; domains?: InputMaybe<Array<TimeCampusLifeDomain>>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; weight?: InputMaybe<Scalars['Float']['input']>; }; /** One fact behind the signal, tied to a week and to the rows it came from. */ export type TimeCampusLoadEvidence = { __typename?: 'TimeCampusLoadEvidence'; kind: TimeCampusLoadEvidenceKind; observation: Scalars['String']['output']; /** How many rows are behind this fact in total. */ refCount: Scalars['Int']['output']; /** Up to 20 of the rows behind this fact. */ refs: Array<TimeCampusLoadEvidenceRef>; /** The rules threshold the value is compared against. */ threshold?: Maybe<Scalars['Float']['output']>; /** The measured value (hours, share, days or rate, by kind). */ value?: Maybe<Scalars['Float']['output']>; /** Last local day (YYYY-MM-DD) of that week. */ weekEnd: Scalars['String']['output']; /** First local day (YYYY-MM-DD) of the week the fact is about. */ weekStart: Scalars['String']['output']; }; export declare enum TimeCampusLoadEvidenceKind { AfterHours = "AFTER_HOURS", Fragmentation = "FRAGMENTATION", LongHours = "LONG_HOURS", NoRecovery = "NO_RECOVERY", WithinRange = "WITHIN_RANGE" } /** A row the signal read: one of the caller's own time entries, work-pattern rows or app-usage rows. */ export type TimeCampusLoadEvidenceRef = { __typename?: 'TimeCampusLoadEvidenceRef'; id: Scalars['ID']['output']; type: TimeCampusLoadEvidenceRefType; }; export declare enum TimeCampusLoadEvidenceRefType { AppUsage = "APP_USAGE", TimeEntry = "TIME_ENTRY", WorkPattern = "WORK_PATTERN" } export declare enum TimeCampusLoadFallbackReason { AiNotEnabled = "AI_NOT_ENABLED", CreditsExhausted = "CREDITS_EXHAUSTED", InsufficientData = "INSUFFICIENT_DATA", InvalidReply = "INVALID_REPLY", LowConfidence = "LOW_CONFIDENCE", ProviderFailed = "PROVIDER_FAILED", ProviderNotConfigured = "PROVIDER_NOT_CONFIGURED" } export declare enum TimeCampusLoadLevel { Elevated = "ELEVATED", High = "HIGH", InsufficientData = "INSUFFICIENT_DATA", Low = "LOW" } export declare enum TimeCampusLoadSignalMethod { Model = "MODEL", Rules = "RULES" } /** Load facts for one week of local days. */ export type TimeCampusLoadWeek = { __typename?: 'TimeCampusLoadWeek'; activeDays: Scalars['Int']['output']; afterHoursHours?: Maybe<Scalars['Float']['output']>; /** Share (0..1) of time-entry time outside the workday window or on a weekend. */ afterHoursShare?: Maybe<Scalars['Float']['output']>; contextSwitchesPerHour?: Maybe<Scalars['Float']['output']>; interruptionsPerDay?: Maybe<Scalars['Float']['output']>; /** Days with over ten hours of tracked work. */ longDays: Scalars['Int']['output']; meetingHours?: Maybe<Scalars['Float']['output']>; /** Days with under one hour of tracked work. */ recoveryDays: Scalars['Int']['output']; /** True when the week crossed two or more load thresholds. */ strained: Scalars['Boolean']['output']; trackedHours: Scalars['Float']['output']; weekEnd: Scalars['String']['output']; weekStart: Scalars['String']['output']; }; /** An applet's listing in the public TimeCampus marketplace. */ export type TimeCampusMarketplaceListing = { __typename?: 'TimeCampusMarketplaceListing'; category: TimeCampusAppletCategory; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; developerId: Scalars['ID']['output']; developerName?: Maybe<Scalars['String']['output']>; icon: Scalars['String']['output']; id: Scalars['ID']['output']; key: Scalars['String']['output']; latestSubmission: TimeCampusMarketplaceSubmission; /** The certified submission workspaces install, if any. */ liveSubmission?: Maybe<TimeCampusMarketplaceSubmission>; name: Scalars['String']['output']; sourceAppletId: Scalars['ID']['output']; /** Workspace the applet was registered in. */ sourceWorkspaceId: Scalars['ID']['output']; status: TimeCampusMarketplaceListingStatus; /** Every submission, newest first. */ submissions: Array<TimeCampusMarketplaceSubmission>; suspendedAt?: Maybe<Scalars['DateTime']['output']>; suspendedReason?: Maybe<Scalars['String']['output']>; }; export declare enum TimeCampusMarketplaceListingStatus { InReview = "IN_REVIEW", Published = "PUBLISHED", Rejected = "REJECTED", Suspended = "SUSPENDED", Withdrawn = "WITHDRAWN" } export type TimeCampusMarketplaceReviewItem = { __typename?: 'TimeCampusMarketplaceReviewItem'; listing: TimeCampusMarketplaceListing; submission: TimeCampusMarketplaceSubmission; }; /** One version of an applet submitted for platform certification. */ export type TimeCampusMarketplaceSubmission = { __typename?: 'TimeCampusMarketplaceSubmission'; certifiedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; listingId: Scalars['ID']['output']; /** The manifest as it was when submitted. */ manifest: Scalars['JSON']['output']; requestedScopes: Array<Scalars['String']['output']>; /** Platform reviewer notes; always set on a rejection. */ reviewNotes?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['ID']['output']>; status: TimeCampusMarketplaceSubmissionStatus; submittedAt: Scalars['DateTime']['output']; submittedBy: Scalars['ID']['output']; version: Scalars['String']['output']; }; export declare enum TimeCampusMarketplaceSubmissionStatus { Certified = "CERTIFIED", InReview = "IN_REVIEW", Rejected = "REJECTED", /** A later submission was certified. */ Superseded = "SUPERSEDED", Withdrawn = "WITHDRAWN" } export declare enum TimeCampusOwnershipContext { Corporate = "CORPORATE", Personal = "PERSONAL" } export type TimeCampusPersonalDataSummary = { __typename?: 'TimeCampusPersonalDataSummary'; byDomain: Array<TimeCampusPersonalDomainCount>; from: Scalars['DateTime']['output']; sharedAggregates: Array<Scalars['String']['output']>; to: Scalars['DateTime']['output']; totalPersonalEvents: Scalars['Int']['output']; }; export type TimeCampusPersonalDomainCount = { __typename?: 'TimeCampusPersonalDomainCount'; domain: TimeCampusLifeDomain; eventCount: Scalars['Int']['output']; totalSeconds: Scalars['Int']['output']; }; export type TimeCampusProject = { __typename?: 'TimeCampusProject'; budget?: Maybe<Scalars['Float']['output']>; clientId?: Maybe<Scalars['ID']['output']>; color?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; currency: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; estimatedHours?: Maybe<Scalars['Float']['output']>; hourlyRate?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; onBehalfOf?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; tasks: Array<Task>; trackedHours: Scalars['Float']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusProjectTasksArgs = { pagination?: InputMaybe<PaginationInput>; }; export type TimeCampusProjectFilterInput = { clientId?: InputMaybe<Scalars['ID']['input']>; createdBy?: InputMaybe<Scalars['String']['input']>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type TimeCampusProjectListResponse = { __typename?: 'TimeCampusProjectListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<TimeCampusProject>; total: Scalars['Int']['output']; }; export type TimeCampusProjectOrderByInput = { direction: OrderDirection; field: ProjectOrderField; }; export declare enum TimeCampusProjectStatus { Active = "ACTIVE", Archived = "ARCHIVED", Completed = "COMPLETED", OnHold = "ON_HOLD" } export type TimeCampusRecommendation = { __typename?: 'TimeCampusRecommendation'; /** The provider:model that proposed an AI recommendation; null for rule-based ones. */ aiModel?: Maybe<Scalars['String']['output']>; confidence?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; dismissReason?: Maybe<Scalars['String']['output']>; domain?: Maybe<TimeCampusLifeDomain>; evidenceRefs?: Maybe<Scalars['JSON']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; goalId?: Maybe<Scalars['ID']['output']>; id: Scalars['ID']['output']; kind: Scalars['String']['output']; rationale: Scalars['String']['output']; snoozeUntil?: Maybe<Scalars['DateTime']['output']>; /** Who proposed it: RULES (the deterministic weekly rules) or AI (the opt-in model step). */ source: TimeCampusRecommendationSource; state: Scalars['String']['output']; suggestedAction?: Maybe<Scalars['JSON']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; valueAlignment?: Maybe<Scalars['Float']['output']>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusRecommendationPreference = { __typename?: 'TimeCampusRecommendationPreference'; /** Whether the autonomous loop may send this user a day summary and weekly digest unprompted. Off by default. */ autonomousEnabled: Scalars['Boolean']['output']; autonomousEnabledAt?: Maybe<Scalars['DateTime']['output']>; cadence: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** Hour of the day (0-23, UTC) from which digests may be sent. */ digestHourUtc: Scalars['Int']['output']; id: Scalars['ID']['output']; mutedKinds: Array<Scalars['String']['output']>; neverOptimiseForOutput: Scalars['Boolean']['output']; optedInDomains: Array<TimeCampusLifeDomain>; quietHoursEnd?: Maybe<Scalars['Int']['output']>; quietHoursStart?: Maybe<Scalars['Int']['output']>; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; /** ISO weekday (1 = Monday .. 7 = Sunday) of the weekly digest. */ weeklyDigestDay: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusRecommendationPreferenceInput = { /** Opt in to (true) or out of (false) the autonomous day summary and weekly digest. */ autonomousEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** DAILY (day summary and weekly digest) or WEEKLY (weekly digest only). */ cadence?: InputMaybe<Scalars['String']['input']>; digestHourUtc?: InputMaybe<Scalars['Int']['input']>; mutedKinds?: InputMaybe<Array<Scalars['String']['input']>>; neverOptimiseForOutput?: InputMaybe<Scalars['Boolean']['input']>; optedInDomains?: InputMaybe<Array<TimeCampusLifeDomain>>; quietHoursEnd?: InputMaybe<Scalars['Int']['input']>; quietHoursStart?: InputMaybe<Scalars['Int']['input']>; weeklyDigestDay?: InputMaybe<Scalars['Int']['input']>; }; export declare enum TimeCampusRecommendationSource { Ai = "AI", Rules = "RULES" } export declare enum TimeCampusSortDirection { asc = "asc", desc = "desc" } export type TimeCampusSourceConsent = { __typename?: 'TimeCampusSourceConsent'; createdAt: Scalars['DateTime']['output']; granted: Scalars['Boolean']['output']; id: Scalars['ID']['output']; mode: Scalars['String']['output']; onDeviceOnly: Scalars['Boolean']['output']; retentionDays?: Maybe<Scalars['Int']['output']>; source: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** * The two halves of a split capture event (BOFF-4213): `before` is the * original event, now ending at the split time; `after` is the new event that * covers the rest. */ export type TimeCampusSplitCaptureEventResult = { __typename?: 'TimeCampusSplitCaptureEventResult'; after: TimeCampusCaptureEvent; before: TimeCampusCaptureEvent; }; /** A published third-party applet in this workspace's applet store. */ export type TimeCampusStoreApplet = { __typename?: 'TimeCampusStoreApplet'; category: TimeCampusAppletCategory; description: Scalars['String']['output']; developerName?: Maybe<Scalars['String']['output']>; grantedScopes: Array<Scalars['String']['output']>; icon: Scalars['String']['output']; id: Scalars['ID']['output']; installed: Scalars['Boolean']['output']; installedAt?: Maybe<Scalars['DateTime']['output']>; key: Scalars['String']['output']; name: Scalars['String']['output']; requestedScopes: Array<Scalars['String']['output']>; /** * WORKSPACE for an applet registered in this workspace, MARKETPLACE for a * certified public one (id is then the marketplace listing id). */ source: TimeCampusAppletSource; /** Scopes the live version asks for that this workspace has not granted (re-consent to add them). */ ungrantedScopes: Array<Scalars['String']['output']>; version: Scalars['String']['output']; widgetKeys: Array<Scalars['String']['output']>; }; /** * Whether the caller's own work load has been heavy for several weeks running, * with a plain-language rationale and the evidence behind it. Never a * productivity score. `method` says whether the rules or a model (workspace * opt-in `timecampus.ai.sustained-load`) produced the level; `fallbackReason` * says why the rules were used. */ export type TimeCampusSustainedLoadSignal = { __typename?: 'TimeCampusSustainedLoadSignal'; confidence?: Maybe<Scalars['Float']['output']>; evidence: Array<TimeCampusLoadEvidence>; fallbackReason?: Maybe<TimeCampusLoadFallbackReason>; generatedAt: Scalars['DateTime']['output']; level: TimeCampusLoadLevel; method: TimeCampusLoadSignalMethod; /** provider:model that produced the level when method is MODEL. */ model?: Maybe<Scalars['String']['output']>; rationale: Scalars['String']['output']; /** The rules engine's level, shown next to a model level for comparison. */ rulesLevel: TimeCampusLoadLevel; timezone: Scalars['String']['output']; /** The weeks read, oldest first. */ weeks: Array<TimeCampusLoadWeek>; windowEnd: Scalars['String']['output']; windowStart: Scalars['String']['output']; }; export type TimeCampusTemplateApplication = { __typename?: 'TimeCampusTemplateApplication'; appliedBy: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; createdProjectIds: Array<Scalars['ID']['output']>; createdTaskCount: Scalars['Int']['output']; id: Scalars['ID']['output']; /** Applets this application newly installed (already-installed ones are not listed). */ installedAppletKeys: Array<Scalars['String']['output']>; /** Template projects left alone because a project with that name already existed. */ skippedProjectNames: Array<Scalars['String']['output']>; templateKey: Scalars['String']['output']; templateName: Scalars['String']['output']; }; export declare enum TimeCampusTemplateCategory { Creative = "CREATIVE", Independent = "INDEPENDENT", ProfessionalServices = "PROFESSIONAL_SERVICES", Research = "RESEARCH", Technology = "TECHNOLOGY" } export type TimeCampusTemplateProject = { __typename?: 'TimeCampusTemplateProject'; /** Billable projects receive the hourly rate given when the template is applied. */ billable: Scalars['Boolean']['output']; /** Accent token name (blue, indigo, purple, teal). */ color: Scalars['String']['output']; description: Scalars['String']['output']; name: Scalars['String']['output']; tasks: Array<Scalars['String']['output']>; }; /** A third-party applet registered in this workspace. */ export type TimeCampusThirdPartyApplet = { __typename?: 'TimeCampusThirdPartyApplet'; category: TimeCampusAppletCategory; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; developerId: Scalars['ID']['output']; developerName?: Maybe<Scalars['String']['output']>; icon: Scalars['String']['output']; id: Scalars['ID']['output']; key: Scalars['String']['output']; latestVersion: TimeCampusThirdPartyAppletVersion; /** The version that is live (published or suspended), if any. */ liveVersion?: Maybe<TimeCampusThirdPartyAppletVersion>; /** The applet's public marketplace listing, if it was ever offered. */ marketplace?: Maybe<TimeCampusMarketplaceListing>; name: Scalars['String']['output']; status: TimeCampusAppletListingStatus; /** Every version, newest first. */ versions: Array<TimeCampusThirdPartyAppletVersion>; }; export type TimeCampusThirdPartyAppletVersion = { __typename?: 'TimeCampusThirdPartyAppletVersion'; appletId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** The validated manifest. */ manifest: Scalars['JSON']['output']; publishedAt?: Maybe<Scalars['DateTime']['output']>; requestedScopes: Array<Scalars['String']['output']>; /** Reviewer notes; always set on a rejection. */ reviewNotes?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['ID']['output']>; status: TimeCampusAppletVersionStatus; submittedAt?: Maybe<Scalars['DateTime']['output']>; submittedBy?: Maybe<Scalars['ID']['output']>; suspendedAt?: Maybe<Scalars['DateTime']['output']>; suspendedReason?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; }; /** A day summary or weekly digest the loop handled for the calling user. */ export type TimeCampusTimeIntelligenceDelivery = { __typename?: 'TimeCampusTimeIntelligenceDelivery'; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; notified: Scalars['Boolean']['output']; /** DAILY or WEEKLY. */ period: Scalars['String']['output']; /** YYYY-MM-DD (UTC day) or YYYY-Www (ISO week). */ periodKey: Scalars['String']['output']; recommendationIds: Array<Scalars['ID']['output']>; /** SENT, EMPTY (nothing to report, so nothing was sent) or FAILED (the notification was not accepted). */ status: Scalars['String']['output']; /** Aggregate figures only (seconds, ratios, counts). */ summary?: Maybe<Scalars['JSON']['output']>; /** SCHEDULED or MANUAL. */ trigger: Scalars['String']['output']; }; export type TimeCampusTimeIntelligenceReconcileResult = { __typename?: 'TimeCampusTimeIntelligenceReconcileResult'; ensured: Scalars['Int']['output']; failed: Scalars['Int']['output']; workspaces: Scalars['Int']['output']; }; /** The workspace's registration with wspace-scheduler-svc. */ export type TimeCampusTimeIntelligenceSchedule = { __typename?: 'TimeCampusTimeIntelligenceSchedule'; cronExpression: Scalars['String']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; lastSweepAt?: Maybe<Scalars['DateTime']['output']>; /** Id of the job on the shared Schedules screen. */ schedulerJobId?: Maybe<Scalars['ID']['output']>; /** PENDING, ACTIVE or FAILED. */ status: Scalars['String']['output']; timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** One execution of the loop for a workspace. */ export type TimeCampusTimeIntelligenceSweep = { __typename?: 'TimeCampusTimeIntelligenceSweep'; /** AI credits the sweep consumed. The loop makes no model call today, so this is 0. */ aiCreditsUsed: Scalars['Int']['output']; dailySummariesSent: Scalars['Int']['output']; /** True when this fire repeated an idempotency key and returned the original sweep. */ duplicate: Scalars['Boolean']['output']; error?: Maybe<Scalars['String']['output']>; finishedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; recommendationsCreated: Scalars['Int']['output']; scheduledFor?: Maybe<Scalars['DateTime']['output']>; /** RATE_LIMITED, KILL_SWITCH or NO_OPTED_IN_USERS when status is SKIPPED. */ skippedReason?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; /** RUNNING, COMPLETED, SKIPPED or FAILED. */ status: Scalars['String']['output']; /** SCHEDULED (fired by wspace-scheduler-svc) or MANUAL (run by a super admin). */ trigger: Scalars['String']['output']; usersConsidered: Scalars['Int']['output']; weeklyDigestsSent: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; /** * Execution context the scheduler adds at fire time. idempotencyKey is * "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, * timezone, scheduleId and eventId. */ export type TimeCampusTimeIntelligenceSweepInput = { idempotencyKey?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; }; export type TimeCampusTimeTrigger = { __typename?: 'TimeCampusTimeTrigger'; /** Local hour (0-23) from which the trigger may fire each day. */ checkHour: Scalars['Int']['output']; comparator: TimeCampusTriggerComparator; createdAt: Scalars['DateTime']['output']; enabled: Scalars['Boolean']['output']; fireCount: Scalars['Int']['output']; id: Scalars['ID']['output']; lastCheckedAt?: Maybe<Scalars['DateTime']['output']>; lastFiredAt?: Maybe<Scalars['DateTime']['output']>; /** Local day (YYYY-MM-DD) the trigger last fired. */ lastFiredDay?: Maybe<Scalars['String']['output']>; /** The metric's value at the last check, in the threshold's unit. */ lastValue?: Maybe<Scalars['Float']['output']>; /** Optional note added to the nudge. */ message?: Maybe<Scalars['String']['output']>; metric: TimeCampusTriggerMetric; name: Scalars['String']['output']; /** When the scanner will next look at the trigger. */ nextCheckAt: Scalars['DateTime']['output']; threshold: Scalars['Float']['output']; /** IANA timezone that defines the trigger's day. */ timezone: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type TimeCampusTimeTriggerFiring = { __typename?: 'TimeCampusTimeTriggerFiring'; comparator: TimeCampusTriggerComparator; createdAt: Scalars['DateTime']['output']; day: Scalars['String']['output']; id: Scalars['ID']['output']; metric: TimeCampusTriggerMetric; /** Whether the nudge was accepted by the notification service. */ notified: Scalars['Boolean']['output']; source: TimeCampusTriggerSource; threshold: Scalars['Float']['output']; triggerId: Scalars['ID']['output']; value: Scalars['Float']['output']; }; /** The result of checking a trigger now. */ export type TimeCampusTimeTriggerRun = { __typename?: 'TimeCampusTimeTriggerRun'; /** The condition holds but the trigger already fired today. */ alreadyFiredToday: Scalars['Boolean']['output']; conditionMet: Scalars['Boolean']['output']; day: Scalars['String']['output']; fired: Scalars['Boolean']['output']; /** True when too little is tracked today for the metric to mean anything (FOCUS_PERCENT). */ insufficientData: Scalars['Boolean']['output']; notified: Scalars['Boolean']['output']; trigger: TimeCampusTimeTrigger; value: Scalars['Float']['output']; }; export type TimeCampusTimeWellSpent = { __typename?: 'TimeCampusTimeWellSpent'; byDomain: Array<TimeCampusDomainAlignment>; coverageConfidence: Scalars['Float']['output']; coveredSeconds: Scalars['Int']['output']; from: Scalars['DateTime']['output']; hasDeclaredValues: Scalars['Boolean']['output']; score?: Maybe<Scalars['Float']['output']>; to: Scalars['DateTime']['output']; }; export type TimeCampusTimeline = { __typename?: 'TimeCampusTimeline'; segments: Array<TimeCampusTimelineSegment>; summary: TimeCampusTimelineSummary; }; export declare enum TimeCampusTimelineCategory { Break = "BREAK", Communication = "COMMUNICATION", DeepWork = "DEEP_WORK", Meeting = "MEETING", Other = "OTHER" } export type TimeCampusTimelineCategoryTotal = { __typename?: 'TimeCampusTimelineCategoryTotal'; category: TimeCampusTimelineCategory; segmentCount: Scalars['Int']['output']; totalSeconds: Scalars['Int']['output']; }; export type TimeCampusTimelineFocusDetail = { __typename?: 'TimeCampusTimelineFocusDetail'; blockedAttemptCount: Scalars['Int']['output']; calendarHoldStatus?: Maybe<TimeCampusFocusCalendarHoldStatus>; focusBlockId?: Maybe<Scalars['ID']['output']>; focusSessionId?: Maybe<Scalars['ID']['output']>; interruptedSeconds: Scalars['Int']['output']; interruptionCount: Scalars['Int']['output']; plannedEndTime?: Maybe<Scalars['DateTime']['output']>; /** The accepted block's window (or the session's planned duration from its start). */ plannedStartTime?: Maybe<Scalars['DateTime']['output']>; protectedSeconds: Scalars['Int']['output']; protectionLevel?: Maybe<TimeCampusFocusProtectionLevel>; /** Session status (ACTIVE, COMPLETED, ABANDONED) or, for a planned block, ACCEPTED. */ status: Scalars['String']['output']; }; export type TimeCampusTimelineSegment = { __typename?: 'TimeCampusTimelineSegment'; app?: Maybe<Scalars['String']['output']>; /** * How the project was suggested or chosen: HISTORY (learned from your past * choices), RULE_BASED (project-name match), LLM, or USER (set by hand). */ categorizationMethod?: Maybe<Scalars['String']['output']>; category: TimeCampusTimelineCategory; /** * Model confidence (0..1) for `category`. Set only when `categorySource` is * "ai"; null for channel, user and rule-based categories and for every * non-capture segment. */ categoryConfidence?: Maybe<Scalars['Float']['output']>; /** The "provider:model" that decided `category` when `categorySource` is "ai". */ categoryModel?: Maybe<Scalars['String']['output']>; categorySource?: Maybe<Scalars['String']['output']>; /** Confidence (0..1) of the pending project suggestion; null without one. */ categorySuggestionConfidence?: Maybe<Scalars['Float']['output']>; channelId?: Maybe<Scalars['ID']['output']>; durationSeconds: Scalars['Int']['output']; endTime?: Maybe<Scalars['DateTime']['output']>; /** * Planned vs actual and protected vs interrupted time, on FOCUS_SESSION and * FOCUS_BLOCK segments only (null for every other source). Focus segments * appear only on the caller's own timeline. */ focus?: Maybe<TimeCampusTimelineFocusDetail>; id: Scalars['ID']['output']; /** True for a planned FOCUS_BLOCK: shown on the timeline, not counted as tracked time. */ isPlanned: Scalars['Boolean']['output']; isRecategorizable: Scalars['Boolean']['output']; lifeDomain: TimeCampusLifeDomain; ownershipContext: TimeCampusOwnershipContext; projectId?: Maybe<Scalars['ID']['output']>; source: TimeCampusTimelineSource; sourceId: Scalars['ID']['output']; startTime: Scalars['DateTime']['output']; /** * CAPTURE only (BOFF-4146): the project suggested for this activity and * waiting for approval (acceptTimeCampusCaptureEventSuggestion / * rejectTimeCampusCaptureEventSuggestion), or null. */ suggestedProjectId?: Maybe<Scalars['ID']['output']>; title?: Maybe<Scalars['String']['output']>; url?: Maybe<Scalars['String']['output']>; }; export declare enum TimeCampusTimelineSource { Capture = "CAPTURE", Email = "EMAIL", /** * An accepted focus block that has not been started yet (planned time; never * counted in the summary). */ FocusBlock = "FOCUS_BLOCK", /** A focus session (what actually happened), with protected vs interrupted time. */ FocusSession = "FOCUS_SESSION", Meeting = "MEETING", Pomodoro = "POMODORO", TimeEntry = "TIME_ENTRY" } export type TimeCampusTimelineSummary = { __typename?: 'TimeCampusTimelineSummary'; byCategory: Array<TimeCampusTimelineCategoryTotal>; contextSwitches: Scalars['Int']['output']; firstActivityAt?: Maybe<Scalars['DateTime']['output']>; focusRatio: Scalars['Float']['output']; lastActivityAt?: Maybe<Scalars['DateTime']['output']>; longestFocusBlockSeconds: Scalars['Int']['output']; totalTrackedSeconds: Scalars['Int']['output']; }; export declare enum TimeCampusTriggerComparator { Above = "ABOVE", Below = "BELOW" } export declare enum TimeCampusTriggerMetric { /** Category changes between consecutive timeline segments today. */ ContextSwitches = "CONTEXT_SWITCHES", /** Share of today's tracked time spent in deep work, 0-100. Needs 30 minutes tracked. */ FocusPercent = "FOCUS_PERCENT", /** Minutes in today's longest deep-work block. */ LongestFocusMinutes = "LONGEST_FOCUS_MINUTES", /** Hours tracked today. */ TrackedHours = "TRACKED_HOURS" } export declare enum TimeCampusTriggerSource { Manual = "MANUAL", Scheduled = "SCHEDULED" } /** * Partial update. Omitted fields are unchanged; `retentionDays`, * `syncIntervalMinutes`, `provider` and `integrationConnectionId` can be cleared * with an explicit null. `status` accepts ACTIVE or PAUSED (ACTIVE also resumes a * disconnected channel); use `disconnectTimeCampusCaptureChannel` to disconnect. */ export type TimeCampusUpdateCaptureChannelInput = { integrationConnectionId?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; privacyMode?: InputMaybe<TimeCampusCaptureChannelPrivacyMode>; provider?: InputMaybe<Scalars['String']['input']>; retentionDays?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<TimeCampusCaptureChannelStatus>; syncIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; }; export type TimeCampusWidget = { __typename?: 'TimeCampusWidget'; /** Applet that must be installed to place the widget; null for core widgets. */ appletKey?: Maybe<Scalars['String']['output']>; /** Whether the widget can be placed now (core, or its applet is installed). */ available: Scalars['Boolean']['output']; description: Scalars['String']['output']; /** Set for widgets contributed by an installed third-party applet. */ frame?: Maybe<TimeCampusWidgetFrame>; key: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** How the host renders a third-party widget in a sandboxed iframe. */ export type TimeCampusWidgetFrame = { __typename?: 'TimeCampusWidgetFrame'; appletId: Scalars['ID']['output']; appletKey: Scalars['String']['output']; appletName: Scalars['String']['output']; /** Data scopes the widget may request over the host bridge. */ grantedScopes: Array<Scalars['String']['output']>; height: Scalars['Int']['output']; /** Origin of url; the host only frames this origin. */ origin: Scalars['String']['output']; /** Registry the applet key belongs to; pass it to timeCampusAppletBridgeData. */ source: TimeCampusAppletSource; /** Absolute HTTPS URL of the widget page. */ url: Scalars['String']['output']; widgetKey: Scalars['String']['output']; }; /** The caller's own dashboard widget layout. */ export type TimeCampusWidgetLayout = { __typename?: 'TimeCampusWidgetLayout'; /** True until the caller saves a layout of their own. */ isDefault: Scalars['Boolean']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; /** Widget keys in display order. */ widgetKeys: Array<Scalars['String']['output']>; }; export type TimeCampusWorkspaceQuotaAssignment = { __typename?: 'TimeCampusWorkspaceQuotaAssignment'; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; limit?: Maybe<Scalars['Float']['output']>; noLimit: Scalars['Boolean']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; resetPeriod: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; used: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; export type TimeCampusWorkspaceQuotaOverview = { __typename?: 'TimeCampusWorkspaceQuotaOverview'; assignments: Array<TimeCampusWorkspaceQuotaAssignment>; workspaceId: Scalars['ID']['output']; }; export type TimeCampusWorkspaceTemplate = { __typename?: 'TimeCampusWorkspaceTemplate'; appletKeys: Array<Scalars['String']['output']>; category: TimeCampusTemplateCategory; description: Scalars['String']['output']; highlights: Array<Scalars['String']['output']>; icon: Scalars['String']['output']; key: Scalars['ID']['output']; /** When this workspace last applied the template. */ lastAppliedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; projects: Array<TimeCampusTemplateProject>; taskCount: Scalars['Int']['output']; widgetKeys: Array<Scalars['String']['output']>; }; export type TimeEntry = { __typename?: 'TimeEntry'; billable: Scalars['Boolean']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; duration?: Maybe<Scalars['Int']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; hourlyRate?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; isRunning: Scalars['Boolean']['output']; notes?: Maybe<Scalars['String']['output']>; onBehalfOf?: Maybe<Scalars['String']['output']>; project?: Maybe<TimeCampusProject>; projectId?: Maybe<Scalars['ID']['output']>; source: Scalars['String']['output']; startTime: Scalars['DateTime']['output']; task?: Maybe<Task>; taskId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type TimeEntryFilterInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; createdBy?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; isRunning?: InputMaybe<Scalars['Boolean']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; search?: InputMaybe<Scalars['String']['input']>; source?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; }; export type TimeEntryListResponse = { __typename?: 'TimeEntryListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<TimeEntry>; total: Scalars['Int']['output']; }; export type TimeEntryOrderByInput = { direction: OrderDirection; field: TimeEntryOrderField; }; export declare enum TimeEntryOrderField { CreatedAt = "CREATED_AT", Description = "DESCRIPTION", Duration = "DURATION", StartTime = "START_TIME" } export type TimeEntryStats = { __typename?: 'TimeEntryStats'; activeTimers: Scalars['Int']['output']; billableHours: Scalars['Float']['output']; totalEntries: Scalars['Int']['output']; totalHours: Scalars['Float']['output']; }; export declare enum TimeEntryStatus { Approved = "APPROVED", Draft = "DRAFT", Rejected = "REJECTED", Submitted = "SUBMITTED" } /** * Aggregated time-entry totals for a date range: the data behind questions such * as "how many billable hours did I spend on Client X last week?". Seconds are * whole numbers typed as Float so a large workspace total never overflows Int. */ export type TimeEntrySummary = { __typename?: 'TimeEntrySummary'; billableHours: Scalars['Float']['output']; billableSeconds: Scalars['Float']['output']; endDate: Scalars['DateTime']['output']; entryCount: Scalars['Int']['output']; groupBy?: Maybe<TimeEntrySummaryGroupBy>; /** Buckets ordered by totalSeconds descending (by key ascending for DAY / WEEK / MONTH). */ groups: Array<TimeEntrySummaryGroup>; /** How many clients the client filter matched in total. Every match is in the totals, even past the 50 listed. */ matchedClientCount: Scalars['Int']['output']; /** Clients matched by the client filter (at most 50, by name); empty when no client filter was given. */ matchedClients: Array<TimeEntrySummaryClientMatch>; nonBillableSeconds: Scalars['Float']['output']; /** Totals for the equally long period just before `startDate`, when `compareToPreviousPeriod` is set. */ previousPeriod?: Maybe<TimeEntrySummaryTotals>; /** Entries in the range whose timer is still running; counted up to now. */ runningEntryCount: Scalars['Int']['output']; startDate: Scalars['DateTime']['output']; totalHours: Scalars['Float']['output']; totalSeconds: Scalars['Float']['output']; /** True when the range held more entries than the service aggregates in one call; narrow the range. */ truncated: Scalars['Boolean']['output']; }; /** * A client (client portal) whose name matched the `clientName` filter of a * time-entry summary. Lets a caller see which client an answer was computed for, * and disambiguate when a name matched more than one. */ export type TimeEntrySummaryClientMatch = { __typename?: 'TimeEntrySummaryClientMatch'; clientName: Scalars['String']['output']; id: Scalars['ID']['output']; }; /** * One bucket of a time-entry summary (see `timeEntrySummary`). `key` is stable * and machine-readable (a project or client id, a user id, an ISO date such as * `2026-10-26`, a month such as `2026-10`, or `billable` / `non_billable`); * `label` is the human-readable name. Entries with no project or no client are * grouped under the key `none`. */ export type TimeEntrySummaryGroup = { __typename?: 'TimeEntrySummaryGroup'; billableHours: Scalars['Float']['output']; billableSeconds: Scalars['Float']['output']; entryCount: Scalars['Int']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; totalHours: Scalars['Float']['output']; totalSeconds: Scalars['Float']['output']; }; export declare enum TimeEntrySummaryGroupBy { Billable = "BILLABLE", Client = "CLIENT", Day = "DAY", Month = "MONTH", Project = "PROJECT", User = "USER", Week = "WEEK" } /** * Filters for `timeEntrySummary`. Entries are assigned to the range by their * `startTime`. The range is inclusive of `startDate` and exclusive of `endDate`. */ export type TimeEntrySummaryInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; clientIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Case-insensitive substring match on the client (client portal) name. */ clientName?: InputMaybe<Scalars['String']['input']>; /** Also return totals for the equally long period just before startDate. */ compareToPreviousPeriod?: InputMaybe<Scalars['Boolean']['input']>; endDate: Scalars['DateTime']['input']; groupBy?: InputMaybe<TimeEntrySummaryGroupBy>; /** Only the calling actor's own entries ("how much did I ..."). */ mine?: InputMaybe<Scalars['Boolean']['input']>; projectIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Case-insensitive substring match on the project name. */ projectName?: InputMaybe<Scalars['String']['input']>; startDate: Scalars['DateTime']['input']; /** Offset from UTC, in minutes, used for DAY / WEEK / MONTH buckets (e.g. 330 for IST). Defaults to 0. */ utcOffsetMinutes?: InputMaybe<Scalars['Int']['input']>; }; /** Totals for one period of a time-entry summary. */ export type TimeEntrySummaryTotals = { __typename?: 'TimeEntrySummaryTotals'; billableHours: Scalars['Float']['output']; billableSeconds: Scalars['Float']['output']; endDate: Scalars['DateTime']['output']; entryCount: Scalars['Int']['output']; nonBillableSeconds: Scalars['Float']['output']; startDate: Scalars['DateTime']['output']; totalHours: Scalars['Float']['output']; totalSeconds: Scalars['Float']['output']; }; export declare enum TimeGrain { Day = "DAY", Hour = "HOUR", Minute = "MINUTE", Month = "MONTH", Quarter = "QUARTER", Week = "WEEK", Year = "YEAR" } /** Time series data collection */ export type TimeSeriesData = { __typename?: 'TimeSeriesData'; dataPoints: Array<TimeSeriesDataPoint>; granularity: Scalars['String']['output']; metric: Scalars['String']['output']; }; /** Time series data point */ export type TimeSeriesDataPoint = { __typename?: 'TimeSeriesDataPoint'; averageDuration?: Maybe<Scalars['Float']['output']>; cancelledRuns: Scalars['Int']['output']; failedRuns: Scalars['Int']['output']; nodeExecutions: Scalars['Int']['output']; successfulRuns: Scalars['Int']['output']; timestamp: Scalars['DateTime']['output']; totalDuration?: Maybe<Scalars['Float']['output']>; workflowRuns: Scalars['Int']['output']; }; /** Input for time series data queries */ export type TimeSeriesInput = { contextFilter?: InputMaybe<Scalars['JSON']['input']>; endDate: Scalars['DateTime']['input']; granularity?: InputMaybe<Scalars['String']['input']>; metric?: InputMaybe<Scalars['String']['input']>; startDate: Scalars['DateTime']['input']; userId?: InputMaybe<Scalars['String']['input']>; }; export declare enum TlsMode { Flexible = "FLEXIBLE", Full = "FULL", Off = "OFF", Passthrough = "PASSTHROUGH", Strict = "STRICT" } export type ToggleGgnomadFavoriteInput = { targetId: Scalars['String']['input']; targetType: GgnomadBookingType; }; /** Token verification error */ export type TokenError = { __typename?: 'TokenError'; /** Error code for programmatic handling */ code: Scalars['String']['output']; /** Human-readable error message */ message: Scalars['String']['output']; }; /** Decoded token payload */ export type TokenPayload = { __typename?: 'TokenPayload'; /** User email */ email?: Maybe<Scalars['String']['output']>; /** Token expiration timestamp (Unix seconds) */ exp?: Maybe<Scalars['Int']['output']>; /** Token issued at timestamp (Unix seconds) */ iat?: Maybe<Scalars['Int']['output']>; /** Organization ID owning this workspace context */ organizationId?: Maybe<Scalars['String']['output']>; /** User role in workspace */ role?: Maybe<Scalars['String']['output']>; /** Granted scopes/permissions */ scopes?: Maybe<Array<Scalars['String']['output']>>; /** Global auth session binding, present on new tokens only. */ sid?: Maybe<Scalars['String']['output']>; /** User ID (subject) */ sub: Scalars['String']['output']; /** Tenant ID (optional) */ tenantId?: Maybe<Scalars['String']['output']>; /** Username */ username?: Maybe<Scalars['String']['output']>; /** Workspace ID this token grants access to */ workspaceId: Scalars['String']['output']; }; /** Token count by type */ export type TokenTypeCount = { __typename?: 'TokenTypeCount'; /** Count of tokens of this type */ count: Scalars['Int']['output']; /** Token type (workspace, auth, refresh, etc.) */ type: Scalars['String']['output']; }; /** Result of token verification */ export type TokenVerificationResult = { __typename?: 'TokenVerificationResult'; /** Error information if verification failed */ error?: Maybe<TokenError>; /** Token payload if verification succeeded */ payload?: Maybe<TokenPayload>; /** Whether the token is valid */ valid: Scalars['Boolean']['output']; }; export type ToolApprovalDecisionInput = { callId: Scalars['ID']['input']; decision: ToolApprovalDecisionValue; reason?: InputMaybe<Scalars['String']['input']>; }; /** The decision recorded for one `callId` inside a request's `toolCalls`. */ export type ToolApprovalDecisionRecord = { __typename?: 'ToolApprovalDecisionRecord'; callId: Scalars['ID']['output']; decision: ToolApprovalDecisionValue; reason?: Maybe<Scalars['String']['output']>; }; export declare enum ToolApprovalDecisionValue { Approved = "APPROVED", Rejected = "REJECTED" } /** * A batch of AI-agent tool calls parked for human approval. * Federated entity identified by id. */ export type ToolApprovalRequest = { __typename?: 'ToolApprovalRequest'; createdAt: Scalars['DateTime']['output']; decidedAt?: Maybe<Scalars['DateTime']['output']>; decidedBy?: Maybe<Scalars['String']['output']>; decisions?: Maybe<Array<ToolApprovalDecisionRecord>>; id: Scalars['ID']['output']; nodeId: Scalars['String']['output']; /** * sha256 over the canonical proposed calls (BOFF-9963). A decision is refused when the stored * calls no longer hash to it. Null on requests created before the binding existed. */ payloadHash?: Maybe<Scalars['String']['output']>; requestedAt: Scalars['DateTime']['output']; runId: Scalars['ID']['output']; status: ToolApprovalStatus; timeoutAction: ToolApprovalTimeoutAction; timeoutAt?: Maybe<Scalars['DateTime']['output']>; toolCalls: Array<PendingToolCall>; updatedAt: Scalars['DateTime']['output']; workflowId: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type ToolApprovalRequestPage = { __typename?: 'ToolApprovalRequestPage'; items: Array<ToolApprovalRequest>; totalCount: Scalars['Int']['output']; }; export declare enum ToolApprovalStatus { Approved = "APPROVED", Partial = "PARTIAL", Pending = "PENDING", Rejected = "REJECTED", TimedOut = "TIMED_OUT" } export declare enum ToolApprovalTimeoutAction { AutoApprove = "AUTO_APPROVE", AutoReject = "AUTO_REJECT" } export declare enum ToolRiskLevel { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export type TopTagUsage = { __typename?: 'TopTagUsage'; count: Scalars['Int']['output']; tagId: Scalars['ID']['output']; tagLabel: Scalars['String']['output']; }; export type TraceBatch = { __typename?: 'TraceBatch'; batchCode: Scalars['String']['output']; certifications: Array<Scalars['String']['output']>; /** Chain-integrity summary; null when events were not loaded with this batch. */ chainIntegrity?: Maybe<TraceChainIntegrity>; /** Number of hash-chained ledger events recorded for this batch. */ eventCount: Scalars['Int']['output']; expiryDate?: Maybe<Scalars['String']['output']>; /** GS1 Best-Before date, AI (15). */ gs1BestBefore?: Maybe<Scalars['String']['output']>; /** Scannable GS1 element string, e.g. (01)08901234567890(10)LOT(15)260810. Null until codes are registered. */ gs1ElementString?: Maybe<Scalars['String']['output']>; /** GS1 Global Trade Item Number, AI (01). 14 digits incl. check digit. */ gs1Gtin?: Maybe<Scalars['String']['output']>; /** GS1 Batch/Lot, AI (10). */ gs1LotNumber?: Maybe<Scalars['String']['output']>; /** GS1 Serial Shipping Container Code, AI (00). 18 digits incl. check digit. */ gs1Sscc?: Maybe<Scalars['String']['output']>; /** True when all present GS1 codes pass check-digit validation. */ gs1Verified: Scalars['Boolean']['output']; harvestDate: Scalars['String']['output']; id: Scalars['ID']['output']; origin: Scalars['String']['output']; packagingDate?: Maybe<Scalars['String']['output']>; processingDate?: Maybe<Scalars['String']['output']>; product: Scalars['String']['output']; /** * The GTIN of the product this batch is of (BOFF-5729), or null. * * Distinct from `gs1Gtin`, which is what this BATCH has registered. The Register GS1 modal * prefills from this so two batches of the same product carry the same GTIN without anyone * retyping it; the batch may still be given a different one deliberately. */ productGs1Gtin?: Maybe<Scalars['String']['output']>; /** Raw product id (nullable) so the edit form can pre-select the linked product. */ productId?: Maybe<Scalars['ID']['output']>; /** * Environment-independent path (`/b/{publicSlug}`), null until first published. * Clients join it to their own origin so an alpha link never points at prod. */ publicPath?: Maybe<Scalars['String']['output']>; /** Permanent, globally-unique public key. Allocated on first publish, then never changed. */ publicSlug?: Maybe<Scalars['String']['output']>; /** True when the batch resolves on the public farm-to-fork portal (BOFF-2879). */ published: Scalars['Boolean']['output']; publishedAt?: Maybe<Scalars['String']['output']>; qrCode?: Maybe<Scalars['String']['output']>; /** Owner-supplied recall reason (BOFF-6044); may be null even when recalled. */ recallReason?: Maybe<Scalars['String']['output']>; /** When the batch was recalled (BOFF-6044); null unless status is `recalled`. */ recalledAt?: Maybe<Scalars['String']['output']>; /** Livestock withdrawal gate (BOFF-2885/BOFF-6186): source animal, null for non-livestock batches. */ sourceAnimalId?: Maybe<Scalars['ID']['output']>; /** MILK | MEAT | EGGS — null for non-livestock batches. */ sourceProduceType?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; supplyChainSteps: Array<SupplyChainStep>; }; /** Result of walking a batch's hash chain to check nothing was edited after signing. */ export type TraceChainIntegrity = { __typename?: 'TraceChainIntegrity'; brokenAtEventId?: Maybe<Scalars['ID']['output']>; /** 1-based sequence of the first broken record; null when intact or empty. */ brokenAtSequence?: Maybe<Scalars['Int']['output']>; /** Human-readable summary, e.g. '5/5 records verified.' */ message: Scalars['String']['output']; /** VERIFIED — every record matches; BROKEN — a record was tampered; EMPTY — no events yet. */ status: Scalars['String']['output']; totalCount: Scalars['Int']['output']; verifiedCount: Scalars['Int']['output']; }; /** A single append-only, hash-chained event in a batch's trace ledger (BOFF-2895 · B-3). */ export type TraceEvent = { __typename?: 'TraceEvent'; /** HARVESTED | WASHED_GRADED | COLD_STORAGE_IN | PACKED | DISPATCHED | … (TEXT-backed). */ eventType: Scalars['String']['output']; handler?: Maybe<Scalars['String']['output']>; /** SHA-256 of this record's canonical payload chained to prevHash. Immutable once signed. */ hash: Scalars['String']['output']; id: Scalars['ID']['output']; location?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; occurredAt: Scalars['String']['output']; /** Hash of the previous record; the genesis record links to a fixed zero hash. */ prevHash: Scalars['String']['output']; /** 1-based position in the chain. Record #1 is genesis. */ sequence: Scalars['Int']['output']; signedAt: Scalars['String']['output']; signedBy?: Maybe<Scalars['String']['output']>; temperature?: Maybe<Scalars['Float']['output']>; title: Scalars['String']['output']; /** True when this record's recomputed hash matches its stored hash and its prevHash links correctly. */ verified: Scalars['Boolean']['output']; }; export type TraceLabelPdfInput = { /** * Origin of the app shell requesting the label, e.g. `https://app.gethealthybowl.com`. * Matched against an allow-list server-side; anything unrecognised silently falls * back to the canonical host, so a label can never point at an attacker's site. */ baseUrl?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** 1–100 labels, one per page. Clamped server-side. */ copies?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; /** 4x6 (Carton) | 3x2 (Compact) | 2x1 (Retail Shelf). Defaults to 4x6. */ labelSize?: InputMaybe<Scalars['String']['input']>; /** 1–5. Clamped server-side. */ qrScale?: InputMaybe<Scalars['Int']['input']>; showBestBefore?: InputMaybe<Scalars['Boolean']['input']>; showCertifications?: InputMaybe<Scalars['Boolean']['input']>; showFarmOrigin?: InputMaybe<Scalars['Boolean']['input']>; showHarvestDate?: InputMaybe<Scalars['Boolean']['input']>; /** STANDARD | COMPACT | RETAIL_SHELF. Defaults to STANDARD. */ template?: InputMaybe<Scalars['String']['input']>; }; export type TrackEventBatchResponse = { __typename?: 'TrackEventBatchResponse'; eventIds: Array<Scalars['ID']['output']>; failureCount: Scalars['Int']['output']; success: Scalars['Boolean']['output']; successCount: Scalars['Int']['output']; validations: Array<EventValidationResult>; }; export type TrackEventInput = { anonymousId?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; eventName: Scalars['String']['input']; properties?: InputMaybe<Scalars['JSON']['input']>; sessionId?: InputMaybe<Scalars['String']['input']>; timestamp?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; export type TrackEventResponse = { __typename?: 'TrackEventResponse'; eventId?: Maybe<Scalars['ID']['output']>; success: Scalars['Boolean']['output']; validation: EventValidationResult; }; export type TrackMetricInput = { dimensions?: InputMaybe<Scalars['JSON']['input']>; metricKey: Scalars['String']['input']; timestamp?: InputMaybe<Scalars['DateTime']['input']>; value: Scalars['Float']['input']; }; /** Input for tracking usage */ export type TrackUsageInput = { amount: Scalars['Float']['input']; /** * Billing account reference — stored on the UsageRecord for cross-service * queries but no longer required for enforcement. Omit for workspace quotas. */ billingAccountId?: InputMaybe<Scalars['ID']['input']>; description: Scalars['String']['input']; hash?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; productId: Scalars['String']['input']; /** * ID of the WorkspaceQuotaAssignment to charge. When omitted, activity-svc * resolves it from (workspaceId, quotaName). The gateway passes it when it * already received it from checkWorkspaceQuota to avoid a second DB lookup. */ quotaAssignmentId?: InputMaybe<Scalars['ID']['input']>; quotaName: Scalars['String']['input']; userId?: InputMaybe<Scalars['ID']['input']>; workspaceId: Scalars['ID']['input']; }; export declare enum TrackingEventType { Arrived = "ARRIVED", Created = "CREATED", Delivered = "DELIVERED", Departed = "DEPARTED", Failed = "FAILED", InTransit = "IN_TRANSIT", OutForDelivery = "OUT_FOR_DELIVERY", PickedUp = "PICKED_UP", Returned = "RETURNED" } export declare enum TrackingSourceTimeProvenance { LegacyUnknown = "LEGACY_UNKNOWN", ProviderTimeUnverified = "PROVIDER_TIME_UNVERIFIED", ProviderTimeValidated = "PROVIDER_TIME_VALIDATED", ReceiptTimeFallback = "RECEIPT_TIME_FALLBACK" } export type TrainingProgram = { __typename?: 'TrainingProgram'; capacity: Scalars['Int']['output']; category: Scalars['String']['output']; endDate: Scalars['String']['output']; enrolled: Scalars['Int']['output']; fee: Scalars['Float']['output']; id: Scalars['ID']['output']; location: Scalars['String']['output']; mode: Scalars['String']['output']; organizer: Scalars['String']['output']; startDate: Scalars['String']['output']; status: Scalars['String']['output']; title: Scalars['String']['output']; }; /** Canonical money-movement transaction owned by global-billing-svc. */ export type Transaction = { __typename?: 'Transaction'; id: Scalars['ID']['output']; }; export type TransferInventoryStockInput = { destinationInventoryItemId: Scalars['ID']['input']; quantity: Scalars['Int']['input']; sourceInventoryItemId: Scalars['ID']['input']; }; export type TransformRuntimeInfo = { __typename?: 'TransformRuntimeInfo'; maxInputBytes: Scalars['Int']['output']; maxMemoryMb: Scalars['Int']['output']; maxOutputBytes: Scalars['Int']['output']; supportedTypes: Array<Scalars['String']['output']>; wallTimeoutMs: Scalars['Int']['output']; }; export type TransformRuntimeResult = { __typename?: 'TransformRuntimeResult'; durationMs: Scalars['Int']['output']; /** Safe error message when the transform failed, timed out, or breached a limit. */ errorMessage?: Maybe<Scalars['String']['output']>; ok: Scalars['Boolean']['output']; /** Transform output (present only when ok). */ output?: Maybe<Scalars['JSON']['output']>; /** True when the failure was an output-size breach. */ truncated: Scalars['Boolean']['output']; }; export type TransitionHealthyBowlCarbonCreditInput = { context: ContextInput; id: Scalars['ID']['input']; registrySerial?: InputMaybe<Scalars['String']['input']>; /** PENDING | VERIFIED | ISSUED | RETIRED — forward-only from the current status. */ toStatus: Scalars['String']['input']; verifierRef?: InputMaybe<Scalars['String']['input']>; }; export declare enum TransportMode { Air = "AIR", Ocean = "OCEAN", Rail = "RAIL", Road = "ROAD" } export declare enum TraversalDirection { Any = "ANY", Inbound = "INBOUND", Outbound = "OUTBOUND" } export type Treatment = { __typename?: 'Treatment'; /** Chemical active ingredient, cross-checked against the banned-substance / MRL rules. */ activeIngredient?: Maybe<Scalars['String']['output']>; application: Scalars['String']['output']; dosage: Scalars['String']['output']; effectiveness: Scalars['Float']['output']; frequency: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; safetyPeriod: Scalars['Int']['output']; targetPests: Array<Scalars['String']['output']>; type: Scalars['String']['output']; }; /** * Input for triggering the FluidGrids workflow bound to a bot app or agent * (BOFF-5456). * * Exactly one of `appId` / `agentId` identifies the bot whose binding is used. * `workflowId` is optional for an app (its single `workflowId` binding is used) * and required for an agent bound to more than one workflow. */ export type TriggerBoundWorkflowInput = { /** Agent whose `workflowIds` binding should run */ agentId?: InputMaybe<Scalars['ID']['input']>; /** Bot app whose `workflowId` binding should run */ appId?: InputMaybe<Scalars['ID']['input']>; /** Opaque conversation reference recorded on the resulting Execution */ conversationId?: InputMaybe<Scalars['ID']['input']>; /** Payload handed to the workflow trigger node */ triggerData?: InputMaybe<Scalars['JSON']['input']>; /** Trigger node to start from; inferred when the workflow declares exactly one */ triggerNodeId?: InputMaybe<Scalars['String']['input']>; /** * Explicit workflow to run. Must be one of the bot's bound workflows — * arbitrary workflow ids are rejected. */ workflowId?: InputMaybe<Scalars['ID']['input']>; }; /** Workflow execution response */ export type TriggerResponse = { __typename?: 'TriggerResponse'; /** Node execution result (only populated for synchronous step execution) */ nodeResult?: Maybe<StepExecutionResult>; runId: Scalars['String']['output']; status: Scalars['String']['output']; triggerNodeId: Scalars['String']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** Input for triggering a scheduled comment immediately */ export type TriggerScheduledCommentInput = { scheduleId: Scalars['ID']['input']; }; /** The external watch of a push trigger (BOFF-12113). Read-only. */ export type TriggerSubscriptionState = { __typename?: 'TriggerSubscriptionState'; /** Failed attempts since the last success or activation. */ attempts: Scalars['Int']['output']; /** When the watch expires; it is renewed before then (BOUND only). */ expiresAt?: Maybe<Scalars['DateTime']['output']>; lastAttemptAt?: Maybe<Scalars['DateTime']['output']>; /** Why the last attempt failed. */ lastError?: Maybe<Scalars['String']['output']>; /** One line for the trigger's status, for example "subscription failed: <reason>". */ message?: Maybe<Scalars['String']['output']>; /** When the next retry is due (RETRYING only). */ nextAttemptAt?: Maybe<Scalars['DateTime']['output']>; status: TriggerSubscriptionStatus; }; /** Where creating a push trigger's external watch stands (BOFF-12113). */ export declare enum TriggerSubscriptionStatus { /** The trigger is bound to a working watch. */ Bound = "BOUND", /** Creating the watch failed too many times and is no longer retried. Activate the workflow again to retry. */ Failed = "FAILED", /** The watch is being created. */ Pending = "PENDING", /** Creating the watch failed. It is retried with backoff while the workflow is active. */ Retrying = "RETRYING" } /** Input for triggering workflow */ export type TriggerWorkflowInput = { /** * An AI budget for this run (BOFF-9943). It can only tighten the workflow's own budget (its * Settings): a lower limit or a new limit applies, and a higher or SOFTer one is ignored. */ budget?: InputMaybe<RunBudgetInput>; context?: InputMaybe<Scalars['JSON']['input']>; /** * What an open run with the same workflow id does: FAIL (default) or USE_EXISTING (returns that * run). TERMINATE_EXISTING (terminate the open run with the reason ID_CONFLICT, then start this one) * is taken only by triggerWorkflowTerminateExisting, which needs the workflow-run delete permission; * triggerWorkflow refuses it with VALIDATION. */ idConflictPolicy?: InputMaybe<WorkflowIdConflictPolicy>; /** Stable client request ID. Replays return the original run; changed payloads are rejected. */ idempotencyKey?: InputMaybe<Scalars['String']['input']>; /** * Manual (TEST) vs real (PRODUCTION) execution — BOFF-7511. Defaults to * PRODUCTION so every existing caller (webhooks, schedules, the SDK, older * builder clients) keeps behaving exactly as before. Only a TEST run may use * pinned node data — set this to TEST for builder "Test workflow"/step/ * run-from-node actions. */ mode?: InputMaybe<RunMode>; /** Keep execution inputs, outputs and logs private to the authenticated initiating actor. */ privateRun?: InputMaybe<Scalars['Boolean']['input']>; /** * Wait this long before the run's first node (at most 30 days): milliseconds, or a duration such as * `30s`, `2m` or `PT2H` (spec code-first 11 §2.23). The run is created PENDING with * `startDelayUntil`; a signal sent to it ends the delay at once, and a cancel or terminate ends it * without running any node. PRODUCTION runs only; when absent, the trigger node's own `startDelay` may * supply it. Durable-function parity: needs fluidgrids.durable-parity. */ startDelay?: InputMaybe<Scalars['String']['input']>; /** * Optional: Stop execution after this node ID. * When set, workflow executes from trigger up to and including this node, * then marks the run as COMPLETED without continuing to subsequent nodes. * Used for step-by-step debugging (n8n-style "Execute step" feature). */ stopAtNodeId?: InputMaybe<Scalars['String']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; triggerNodeId: Scalars['String']['input']; version: Scalars['String']['input']; /** * The run's workflow id (1 to 256 characters), unique among the open runs of the workflow key in * the workspace (spec code-first 11 §2.1). Read back as `WorkflowRun.businessId`. When absent on a * PRODUCTION start, the trigger node's own `workflowId` (with its `idConflictPolicy`; `{{ $json.path }}` * resolved against triggerData) supplies it. Durable-function * parity: needs fluidgrids.durable-parity. */ workflowId?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; /** * A managed tunnel exposing a local service to the public internet. * Tunnels are workspace-scoped and bound to an agent machine. */ export type Tunnel = { __typename?: 'Tunnel'; /** Currently active sessions for this tunnel. */ activeSessions: Array<TunnelSession>; agentId?: Maybe<Scalars['ID']['output']>; basicAuthUser?: Maybe<Scalars['String']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; /** All domains attached to this tunnel. */ domains: Array<TunnelDomain>; /** Whether basic auth is configured. The password is never returned. */ hasBasicAuth: Scalars['Boolean']['output']; /** Whether this Tunnel has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastError?: Maybe<Scalars['String']['output']>; localHost: Scalars['String']['output']; localPort: Scalars['Int']['output']; metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Tunnel (null if no direct grant). */ myRole?: Maybe<ShareRole>; name: Scalars['String']['output']; /** The primary domain for this tunnel (managed subdomain or custom). */ primaryDomain?: Maybe<TunnelDomain>; protocol: TunnelProtocol; provider: TunnelProvider; /** Provider-specific non-secret configuration. */ providerConfig?: Maybe<Scalars['JSON']['output']>; providerKey: TunnelProviderKey; /** * When set, public access to this tunnel auto-expires at this time — a background sweep stops the * tunnel (tearing down the public URL) once it passes. Null = no expiry (manual lifecycle). */ publicAccessExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** Active share grants on this Tunnel (owner/MANAGER only). */ shares: Array<ShareGrant>; slug: Scalars['String']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: TunnelStatus; stoppedAt?: Maybe<Scalars['DateTime']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; tlsMode: TlsMode; updatedAt: Scalars['DateTime']['output']; /** * Optional Vibe linkage. Tunnels track agentId for routing; vibeId attaches * the tunnel to a Vibe for cross-entity grouping. */ vibeId?: Maybe<Scalars['ID']['output']>; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. */ visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; /** * A domain attached to a tunnel. Either a managed subdomain under * *.vibetunnels.com (auto-verified at reservation time) or a user-owned custom * domain verified via a TXT record challenge. */ export type TunnelDomain = { __typename?: 'TunnelDomain'; /** * Name of the TXT record the user must create for verification * (e.g. `_vibetunnels-challenge.example.com`). Only populated for CUSTOM * domains in PENDING or VERIFYING state. */ challengeRecordName?: Maybe<Scalars['String']['output']>; /** * Verification token value the user must put in the TXT record. Only * returned while verification is still in progress — redacted after * verification completes. */ challengeToken?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * Suggested DNS target (CNAME) the user should point their custom domain at * once verification is complete. */ dnsTargetHint?: Maybe<Scalars['String']['output']>; environment?: Maybe<TunnelEnvironment>; hostname: Scalars['String']['output']; id: Scalars['ID']['output']; isPrimary: Scalars['Boolean']['output']; lastCheckError?: Maybe<Scalars['String']['output']>; lastCheckedAt?: Maybe<Scalars['DateTime']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** * The tunnel this domain is attached to. Null for reserved-but-unattached * domains. */ tunnel?: Maybe<Tunnel>; tunnelId?: Maybe<Scalars['ID']['output']>; type: TunnelDomainType; updatedAt: Scalars['DateTime']['output']; verificationStatus: TunnelDomainVerificationStatus; verifiedAt?: Maybe<Scalars['DateTime']['output']>; workspaceId: Scalars['ID']['output']; }; export type TunnelDomainFilterInput = { context?: InputMaybe<ContextFilterInput>; environment?: InputMaybe<TunnelEnvironment>; search?: InputMaybe<Scalars['String']['input']>; tunnelId?: InputMaybe<Scalars['ID']['input']>; type?: InputMaybe<TunnelDomainType>; verificationStatus?: InputMaybe<TunnelDomainVerificationStatus>; }; export type TunnelDomainList = { __typename?: 'TunnelDomainList'; hasMore: Scalars['Boolean']['output']; items: Array<TunnelDomain>; total: Scalars['Int']['output']; }; export declare enum TunnelDomainType { Custom = "CUSTOM", ManagedSubdomain = "MANAGED_SUBDOMAIN" } export declare enum TunnelDomainVerificationStatus { Expired = "EXPIRED", Failed = "FAILED", Pending = "PENDING", Verified = "VERIFIED", Verifying = "VERIFYING" } export declare enum TunnelEnvironment { Alpha = "ALPHA", Prod = "PROD" } export type TunnelFilterInput = { agentId?: InputMaybe<Scalars['ID']['input']>; context?: InputMaybe<ContextFilterInput>; providerKey?: InputMaybe<TunnelProviderKey>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Array<TunnelStatus>>; }; export type TunnelList = { __typename?: 'TunnelList'; hasMore: Scalars['Boolean']['output']; items: Array<Tunnel>; total: Scalars['Int']['output']; }; export declare enum TunnelProtocol { Http = "HTTP", Https = "HTTPS", Tcp = "TCP", Udp = "UDP" } /** * A tunnel provider implementation. Seeded rows: VIBETUNNELS (frp-based) and * CLOUDFLARE (cloudflared-based). */ export type TunnelProvider = { __typename?: 'TunnelProvider'; capabilities: TunnelProviderCapabilities; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; key: TunnelProviderKey; minAgentVersion?: Maybe<Scalars['String']['output']>; pluginPackage: Scalars['String']['output']; /** Shards (frps instances) that this provider manages, if any. */ shards: Array<TunnelShard>; updatedAt: Scalars['DateTime']['output']; }; /** Capability flags the UI uses to render provider-aware wizards and forms. */ export type TunnelProviderCapabilities = { __typename?: 'TunnelProviderCapabilities'; /** Platforms the provider can run on (agent machine). */ platforms: Array<Scalars['String']['output']>; /** Allowed visibility values for tunnels on this provider. */ supportedVisibilities: Array<Scalars['String']['output']>; supportsCustomDomains: Scalars['Boolean']['output']; supportsHttp: Scalars['Boolean']['output']; supportsHttps: Scalars['Boolean']['output']; supportsLiveLogs: Scalars['Boolean']['output']; supportsManagedSubdomains: Scalars['Boolean']['output']; supportsReservedSubdomain: Scalars['Boolean']['output']; supportsRotateCredentials: Scalars['Boolean']['output']; supportsSessionTokens: Scalars['Boolean']['output']; supportsTcp: Scalars['Boolean']['output']; supportsUdp: Scalars['Boolean']['output']; supportsUsageMetrics: Scalars['Boolean']['output']; }; export declare enum TunnelProviderKey { Cloudflare = "CLOUDFLARE", Vibetunnels = "VIBETUNNELS" } /** * A single tunnel session lifetime. Represents one token-authenticated * connection from the agent's provider subprocess to the tunnel server. */ export type TunnelSession = { __typename?: 'TunnelSession'; agentId?: Maybe<Scalars['ID']['output']>; bytesIn: Scalars['Float']['output']; bytesOut: Scalars['Float']['output']; clientIp?: Maybe<Scalars['String']['output']>; connectedAt?: Maybe<Scalars['DateTime']['output']>; disconnectedAt?: Maybe<Scalars['DateTime']['output']>; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; issuedAt: Scalars['DateTime']['output']; metadata?: Maybe<Scalars['JSON']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; revokedReason?: Maybe<Scalars['String']['output']>; shardId?: Maybe<Scalars['ID']['output']>; status: TunnelSessionStatus; /** * First 8 hex characters of the token hash — useful for UI identification * without exposing the token itself. */ tokenFingerprint: Scalars['String']['output']; tunnelId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** * Result of issuing a tunnel session. The token is returned exactly once — the * backend stores only its sha256 hash. The agentConfigHint contains provider- * specific connection metadata (frps address, proxy name, etc.) that the agent * plugin uses to spawn frpc or cloudflared. */ export type TunnelSessionIssueResult = { __typename?: 'TunnelSessionIssueResult'; agentConfigHint: Scalars['JSON']['output']; session: TunnelSession; token: Scalars['String']['output']; }; export type TunnelSessionList = { __typename?: 'TunnelSessionList'; hasMore: Scalars['Boolean']['output']; items: Array<TunnelSession>; total: Scalars['Int']['output']; }; export declare enum TunnelSessionStatus { Connected = "CONNECTED", Disconnected = "DISCONNECTED", Expired = "EXPIRED", Issued = "ISSUED", Revoked = "REVOKED" } /** * A tunnel server shard (e.g. an frps instance). Backends select a shard when * issuing a session. */ export type TunnelShard = { __typename?: 'TunnelShard'; capacity: Scalars['Int']['output']; controlPort: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; currentLoad: Scalars['Int']['output']; environment: TunnelEnvironment; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; providerId: Scalars['ID']['output']; proxyPortRange: Scalars['String']['output']; publicHost: Scalars['String']['output']; region: Scalars['String']['output']; status: TunnelShardStatus; updatedAt: Scalars['DateTime']['output']; }; export declare enum TunnelShardStatus { Active = "ACTIVE", Draining = "DRAINING", Maintenance = "MAINTENANCE", Offline = "OFFLINE" } export declare enum TunnelStatus { Active = "ACTIVE", Degraded = "DEGRADED", Deleting = "DELETING", Draft = "DRAFT", Error = "ERROR", Provisioning = "PROVISIONING", Stopped = "STOPPED" } /** One hour of usage for a single tunnel. */ export type TunnelUsageBucket = { __typename?: 'TunnelUsageBucket'; bytesIn: Scalars['Float']['output']; bytesOut: Scalars['Float']['output']; connections: Scalars['Float']['output']; hourBucket: Scalars['DateTime']['output']; requests: Scalars['Float']['output']; tunnelId: Scalars['ID']['output']; }; export type TypeFacet = { __typename?: 'TypeFacet'; count: Scalars['Int']['output']; type: Scalars['String']['output']; }; export type TypingIndicator = { __typename?: 'TypingIndicator'; conversationId: Scalars['ID']['output']; startedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; }; export type TypingIndicatorPayload = { __typename?: 'TypingIndicatorPayload'; conversation: Conversation; isTyping: Scalars['Boolean']['output']; userId: Scalars['ID']['output']; }; /** * Persisted UI state for user sessions. * Stores active vibe, panel layout, and user preferences. */ export type UiSession = { __typename?: 'UISession'; /** Currently active session */ activeSession?: Maybe<Session>; /** Currently active session ID (opaque reference) */ activeSessionId?: Maybe<Scalars['ID']['output']>; /** Currently active vibe */ activeVibe?: Maybe<Vibe>; /** Currently active vibe ID (opaque reference) */ activeVibeId?: Maybe<Scalars['ID']['output']>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Recently accessed sessions (opaque references) */ recentSessions: Array<Scalars['ID']['output']>; /** Recently accessed vibes (opaque references) */ recentVibes: Array<Scalars['ID']['output']>; /** UI state (active vibe, panel layout, preferences) */ state: Scalars['JSON']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated user ID (opaque reference) */ userId: Scalars['ID']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type UninstallParserTypeInput = { parserTypeKey: Scalars['String']['input']; /** * Version from the caller's install snapshot; recorded for audit only. * Uninstall disables whichever version of the key is active. */ parserVersion: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; /** * UniversalTag type stub - exists in wspace-tags-svc * Federation stub for referencing tags from other services */ export type UniversalTag = { __typename?: 'UniversalTag'; ancestors: Array<UniversalTag>; assignmentCount: Scalars['Int']['output']; assignments: Array<UniversalTagAssignment>; children: Array<UniversalTag>; color?: Maybe<Scalars['String']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['ID']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; descendants: Array<UniversalTag>; description?: Maybe<Scalars['String']['output']>; displayOrder: Scalars['Int']['output']; hierarchyLevel: Scalars['Int']['output']; hierarchyPath?: Maybe<Scalars['String']['output']>; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; key: Scalars['String']['output']; label: Scalars['String']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; parent?: Maybe<UniversalTag>; parentId?: Maybe<Scalars['ID']['output']>; relatedTags: Array<UniversalTagRelation>; scope: TagScope; /** Tags applied to THIS tag itself (tags-on-tags self-integration). */ selfTagAssignments: Array<UniversalTagAssignment>; slug: Scalars['String']['output']; tenantId?: Maybe<Scalars['ID']['output']>; topEntities: Array<EntityTagUsage>; translations: Array<UniversalTagTranslation>; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; value?: Maybe<Scalars['String']['output']>; vocabulary: TagVocabulary; vocabularyId: Scalars['ID']['output']; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagAnalytics = { __typename?: 'UniversalTagAnalytics'; assignmentCount: Scalars['Int']['output']; avgQueryTimeMs?: Maybe<Scalars['Float']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; entityTypeBreakdown?: Maybe<Scalars['JSON']['output']>; hour?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; removalCount: Scalars['Int']['output']; tagId?: Maybe<Scalars['ID']['output']>; tenantId?: Maybe<Scalars['ID']['output']>; uniqueEntities: Scalars['Int']['output']; uniqueUsers: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; vocabularyId?: Maybe<Scalars['ID']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagAssignment = { __typename?: 'UniversalTagAssignment'; assignedById?: Maybe<Scalars['ID']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; inheritedAssignments: Array<UniversalTagAssignment>; inheritedFrom?: Maybe<UniversalTagAssignment>; inheritedFromId?: Maybe<Scalars['ID']['output']>; isCurrentlyValid: Scalars['Boolean']['output']; metadata?: Maybe<Scalars['JSON']['output']>; propagateToChildren: Scalars['Boolean']['output']; source: AssignmentSource; tag: UniversalTag; tagId: Scalars['ID']['output']; tenantId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; validFrom: Scalars['DateTime']['output']; validTo?: Maybe<Scalars['DateTime']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagHistory = { __typename?: 'UniversalTagHistory'; action: Scalars['String']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; entityId?: Maybe<Scalars['ID']['output']>; entityType?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; newValue?: Maybe<Scalars['JSON']['output']>; performedById: Scalars['ID']['output']; previousValue?: Maybe<Scalars['JSON']['output']>; tag: UniversalTag; tagId: Scalars['ID']['output']; }; export type UniversalTagRelation = { __typename?: 'UniversalTagRelation'; bidirectional: Scalars['Boolean']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['ID']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; fromTag: UniversalTag; fromTagId: Scalars['ID']['output']; id: Scalars['ID']['output']; relationType: TagRelationType; toTag: UniversalTag; toTagId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; export type UniversalTagRule = { __typename?: 'UniversalTagRule'; /** Actions to execute when rule matches */ actions: Array<UniversalTagRuleAction>; /** Rule conditions (all must match for rule to trigger) */ conditions: Array<UniversalTagRuleCondition>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['ID']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; enabled: Scalars['Boolean']['output']; entityType: Scalars['String']['output']; /** Execution history for this rule */ executions: Array<UniversalTagRuleExecution>; id: Scalars['ID']['output']; name: Scalars['String']['output']; priority: Scalars['Int']['output']; runMode: RuleRunMode; tenantId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; vocabulary?: Maybe<TagVocabulary>; vocabularyId?: Maybe<Scalars['ID']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagRuleAction = { __typename?: 'UniversalTagRuleAction'; /** Generic config for other action types */ actionConfig?: Maybe<Scalars['JSON']['output']>; actionType: RuleActionType; /** Contextual IDs for filtering and scoping */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; executionOrder: Scalars['Int']['output']; id: Scalars['ID']['output']; rule?: Maybe<UniversalTagRule>; ruleId: Scalars['ID']['output']; tag?: Maybe<UniversalTag>; /** Tag to assign/remove (for ASSIGN_TAG/REMOVE_TAG actions) */ tagId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagRuleCondition = { __typename?: 'UniversalTagRuleCondition'; /** Logical group for AND/OR logic */ conditionGroup: Scalars['String']['output']; /** Contextual IDs for filtering and scoping */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; /** Entity field to check */ field: Scalars['String']['output']; id: Scalars['ID']['output']; operator: RuleConditionOperator; rule?: Maybe<UniversalTagRule>; ruleId: Scalars['ID']['output']; /** The value to compare against */ value: Scalars['JSON']['output']; }; export type UniversalTagRuleExecution = { __typename?: 'UniversalTagRuleExecution'; /** Contextual IDs for filtering and scoping */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; error?: Maybe<Scalars['String']['output']>; executionTimeMs?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; rule?: Maybe<UniversalTagRule>; ruleId: Scalars['ID']['output']; success: Scalars['Boolean']['output']; }; export type UniversalTagSegment = { __typename?: 'UniversalTagSegment'; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['ID']['output']>; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; filterQuery: Scalars['JSON']['output']; id: Scalars['ID']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; tenantId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; usageCount: Scalars['Int']['output']; visibility: SegmentVisibility; workspaceId?: Maybe<Scalars['ID']['output']>; }; export type UniversalTagTranslation = { __typename?: 'UniversalTagTranslation'; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; label: Scalars['String']['output']; locale: Scalars['String']['output']; tag: UniversalTag; tagId: Scalars['ID']['output']; updatedAt: Scalars['DateTime']['output']; }; export type UntagAnalyticsDashboardInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagAnalyticsMetricInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagAnalyticsReportInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagAssetInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagBigConsoleEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; /** Input for untagging a comment */ export type UntagCommentInput = { commentId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagConnectionInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagCosEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type UntagEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type UntagFileInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagFluidgridsEntityInput = { entityId: Scalars['ID']['input']; entityType: Scalars['String']['input']; tagId: Scalars['ID']['input']; }; export type UntagFolderInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagGroupInput = { groupId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagNoteInput = { /** ID of the note to untag */ noteId: Scalars['ID']['input']; /** ID of the tag to remove */ tagId: Scalars['ID']['input']; }; export type UntagProjectInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagSandboxInput = { sandboxId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagScheduledJobInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagSecretInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UntagWorkspaceInput = { entityId: Scalars['ID']['input']; tagId: Scalars['ID']['input']; }; export type UpdateA2AConnectionInput = { config?: InputMaybe<Scalars['JSON']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateA2ARegistryEntryInput = { agentCard?: InputMaybe<Scalars['JSON']['input']>; bucketId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; entitlements?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; trustLevel?: InputMaybe<A2ATrustLevel>; visibility?: InputMaybe<Visibility>; wellKnownUrl?: InputMaybe<Scalars['String']['input']>; }; export type UpdateAiPromptInput = { category?: InputMaybe<AiPromptCategory>; content?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; isShared?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<AiPromptStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; variables?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateActionInput = { actionType?: InputMaybe<VibecontrolsActionType>; category?: InputMaybe<Scalars['String']['input']>; color?: InputMaybe<Scalars['String']['input']>; command?: InputMaybe<Scalars['String']['input']>; confirmationRequired?: InputMaybe<Scalars['Boolean']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; environmentVariables?: InputMaybe<Scalars['JSON']['input']>; eventFilters?: InputMaybe<Scalars['JSON']['input']>; icon?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; retryCount?: InputMaybe<Scalars['Int']['input']>; schedule?: InputMaybe<Scalars['String']['input']>; script?: InputMaybe<Scalars['String']['input']>; scriptInterpreter?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; targetAgentId?: InputMaybe<Scalars['ID']['input']>; targetPlatformFilter?: InputMaybe<Scalars['String']['input']>; timeoutMs?: InputMaybe<Scalars['Int']['input']>; triggerType?: InputMaybe<ActionTriggerType>; /** * Pass an ID to link / re-link, or `null` to unlink. Omit to keep * whatever's on the row. */ vibeId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<VibeVisibility>; webhookAuthType?: InputMaybe<Scalars['String']['input']>; webhookAuthValue?: InputMaybe<Scalars['String']['input']>; webhookBody?: InputMaybe<Scalars['String']['input']>; webhookHeaders?: InputMaybe<Scalars['JSON']['input']>; webhookMethod?: InputMaybe<Scalars['String']['input']>; webhookUrl?: InputMaybe<Scalars['String']['input']>; workflowDefinition?: InputMaybe<Scalars['JSON']['input']>; workingDirectory?: InputMaybe<Scalars['String']['input']>; }; export type UpdateActionItemInput = { assigneeId?: InputMaybe<Scalars['ID']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<MeetingActionItemStatus>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateAgentInstructionFileInput = { content?: InputMaybe<Scalars['String']['input']>; customName?: InputMaybe<Scalars['String']['input']>; filename?: InputMaybe<InstructionFilename>; metadata?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateAgentMessageBookmarkInput = { label?: InputMaybe<Scalars['String']['input']>; }; /** Input for changing the `ownerUserId` of an agent. */ export type UpdateAgentOwnershipInput = { /** Agent to update. */ agentId: Scalars['ID']['input']; /** * New owner. A user id hands the agent to that user; `null` releases it, which * also forces `visibility` to `WORKSPACE` (an ownerless `PRIVATE` agent would be * reachable by nobody). */ ownerUserId?: InputMaybe<Scalars['ID']['input']>; }; export type UpdateAgentTemplateInput = { category?: InputMaybe<TemplateCategory>; config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; previewImage?: InputMaybe<Scalars['String']['input']>; tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; visibility?: InputMaybe<TemplateVisibility>; }; export type UpdateAiContextInput = { content?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<AiContextStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<AiContextType>; }; export type UpdateAiSpendAlertSettingsInput = { enabled?: InputMaybe<Scalars['Boolean']['input']>; /** Non-negative USD micro-dollars as a decimal string. */ floorMicroUsd?: InputMaybe<Scalars['String']['input']>; /** Between 1.1 and 100. */ spikeMultiplier?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateAllocationInput = { actualHours?: InputMaybe<Scalars['Float']['input']>; allocatedHours?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; endDate?: InputMaybe<Scalars['DateTime']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; }; export type UpdateAnimalInput = { breed?: InputMaybe<Scalars['String']['input']>; context: ContextInput; dateOfBirth?: InputMaybe<Scalars['String']['input']>; /** Gender. Must be one of: MALE, FEMALE (case-insensitive). */ gender?: InputMaybe<Scalars['String']['input']>; healthStatus?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; imageIds?: InputMaybe<Array<Scalars['String']['input']>>; lastCheckup?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; productionType?: InputMaybe<Scalars['String']['input']>; tagNumber?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: CATTLE, BUFFALO, GOAT, SHEEP, PIG, POULTRY (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; vaccinations?: InputMaybe<Scalars['Int']['input']>; weight?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateAppAgentInput = { fallbackAgentId?: InputMaybe<Scalars['ID']['input']>; intentPatterns?: InputMaybe<Array<Scalars['String']['input']>>; isActive?: InputMaybe<Scalars['Boolean']['input']>; maxQueueSize?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; routingRules?: InputMaybe<Scalars['JSON']['input']>; timeout?: InputMaybe<Scalars['Int']['input']>; triggerKeywords?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateAppTemplateInput = { category?: InputMaybe<TemplateCategory>; config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; previewImage?: InputMaybe<Scalars['String']['input']>; tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; visibility?: InputMaybe<TemplateVisibility>; }; export type UpdateApplicationUsageInput = { applicationName?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; firstUsed?: InputMaybe<Scalars['DateTime']['input']>; lastUsed?: InputMaybe<Scalars['DateTime']['input']>; sessions?: InputMaybe<Scalars['Int']['input']>; switches?: InputMaybe<Scalars['Int']['input']>; timeSpent?: InputMaybe<Scalars['Int']['input']>; }; /** * Partial update of an asset. Every field is optional; only provided fields are * written. Identity (assetNumber, workspaceId) is immutable and not accepted here. */ export type UpdateAssetInput = { assignedTo?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; condition?: InputMaybe<AssetCondition>; customAttributes?: InputMaybe<Scalars['JSONObject']['input']>; department?: InputMaybe<Scalars['String']['input']>; depreciationMethod?: InputMaybe<AssetDepreciationMethod>; description?: InputMaybe<Scalars['String']['input']>; locationName?: InputMaybe<Scalars['String']['input']>; meterUnit?: InputMaybe<AssetMeterUnit>; name?: InputMaybe<Scalars['String']['input']>; purchaseDate?: InputMaybe<Scalars['DateTime']['input']>; purchaseValue?: InputMaybe<Scalars['Float']['input']>; salvageValue?: InputMaybe<Scalars['Float']['input']>; serialNumber?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<AssetStatus>; supplier?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; unitsOfProductionCapacity?: InputMaybe<Scalars['Int']['input']>; unitsProduced?: InputMaybe<Scalars['Int']['input']>; usefulLifeMonths?: InputMaybe<Scalars['Int']['input']>; warrantyExpiry?: InputMaybe<Scalars['DateTime']['input']>; }; export type UpdateAuditInput = { auditor?: InputMaybe<Scalars['String']['input']>; /** * The certification this audit was carried out against. Pass null to unlink it — the Active gate * must not become permanent once a link is set. */ certificationId?: InputMaybe<Scalars['ID']['input']>; completedDate?: InputMaybe<Scalars['String']['input']>; context: ContextInput; criticalFindings?: InputMaybe<Scalars['Int']['input']>; findings?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; scheduledDate?: InputMaybe<Scalars['String']['input']>; score?: InputMaybe<Scalars['Float']['input']>; /** Status. Must be one of: SCHEDULED, IN_PROGRESS, COMPLETED, FAILED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: INTERNAL, EXTERNAL, CERTIFICATION (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateAvailabilityRuleInput = { bufferAfter?: InputMaybe<Scalars['Int']['input']>; bufferBefore?: InputMaybe<Scalars['Int']['input']>; dailyLimit?: InputMaybe<Scalars['Int']['input']>; effectiveFrom?: InputMaybe<Scalars['DateTime']['input']>; effectiveTo?: InputMaybe<Scalars['DateTime']['input']>; endTime?: InputMaybe<Scalars['String']['input']>; isAvailable?: InputMaybe<Scalars['Boolean']['input']>; maxNotice?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; minGapBetweenEvents?: InputMaybe<Scalars['Int']['input']>; minNotice?: InputMaybe<Scalars['Int']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; slotIncrement?: InputMaybe<Scalars['Int']['input']>; startTime?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; weeklyLimit?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateBookingPageInput = { bufferAfter?: InputMaybe<Scalars['Int']['input']>; bufferBefore?: InputMaybe<Scalars['Int']['input']>; collectiveHosts?: InputMaybe<Array<Scalars['String']['input']>>; confirmationMessage?: InputMaybe<Scalars['String']['input']>; customColor?: InputMaybe<Scalars['String']['input']>; customLogo?: InputMaybe<Scalars['String']['input']>; enableWaitlist?: InputMaybe<Scalars['Boolean']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; locationDetails?: InputMaybe<Scalars['String']['input']>; locationType?: InputMaybe<LocationType>; maxAttendees?: InputMaybe<Scalars['Int']['input']>; maxBookingsPerDay?: InputMaybe<Scalars['Int']['input']>; maxBookingsPerWeek?: InputMaybe<Scalars['Int']['input']>; maxNotice?: InputMaybe<Scalars['Int']['input']>; meetingProvider?: InputMaybe<MeetingProvider>; metadata?: InputMaybe<Scalars['JSON']['input']>; minNotice?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; redirectAfterBooking?: InputMaybe<Scalars['String']['input']>; reminderMinutes?: InputMaybe<Scalars['Int']['input']>; requireApproval?: InputMaybe<Scalars['Boolean']['input']>; requirePayment?: InputMaybe<Scalars['Boolean']['input']>; roundRobinHosts?: InputMaybe<Array<Scalars['String']['input']>>; sendConfirmationEmail?: InputMaybe<Scalars['Boolean']['input']>; sendReminderEmail?: InputMaybe<Scalars['Boolean']['input']>; slotIncrement?: InputMaybe<Scalars['Int']['input']>; welcomeMessage?: InputMaybe<Scalars['String']['input']>; }; export type UpdateBotAppInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; context?: InputMaybe<ContextInput>; defaultAgentId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; fallbackMessage?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; routingStrategy?: InputMaybe<RoutingStrategy>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<BotAppStatus>; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Replaces the row's `BotApp.tags` Json column on update. */ tags?: InputMaybe<Scalars['JSON']['input']>; type?: InputMaybe<BotAppType>; visibility?: InputMaybe<BotAppVisibility>; welcomeMessage?: InputMaybe<Scalars['String']['input']>; workflowId?: InputMaybe<Scalars['ID']['input']>; }; /** Deprecated: use UpdateBotmanorAgentInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type UpdateBotlitAgentInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; capabilities?: InputMaybe<Array<BotlitAgentCapability>>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>; llmModelId?: InputMaybe<Scalars['ID']['input']>; maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>; maxTokens?: InputMaybe<Scalars['Int']['input']>; mcpConnectionIds?: InputMaybe<Array<Scalars['ID']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; specialization?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<BotlitAgentStatus>; systemPrompt?: InputMaybe<Scalars['String']['input']>; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `BotlitAgent.tags` Json column. */ tags?: InputMaybe<Scalars['JSON']['input']>; temperature?: InputMaybe<Scalars['Float']['input']>; type?: InputMaybe<BotlitAgentType>; visibility?: InputMaybe<AgentVisibility>; workflowIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; /** Deprecated: use UpdateBotmanorLLMModelInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type UpdateBotlitLlmModelInput = { contextWindow?: InputMaybe<Scalars['Int']['input']>; inputPricePerMToken?: InputMaybe<Scalars['Float']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; maxOutputTokens?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; outputPricePerMToken?: InputMaybe<Scalars['Float']['input']>; supportsFunctionCalling?: InputMaybe<Scalars['Boolean']['input']>; supportsStreaming?: InputMaybe<Scalars['Boolean']['input']>; supportsVision?: InputMaybe<Scalars['Boolean']['input']>; }; /** Deprecated: use UpdateBotmanorLLMProviderInput. Scheduled for removal no earlier than 2027-02-05 (BOFF-9561). */ export type UpdateBotlitLlmProviderInput = { apiEndpoint?: InputMaybe<Scalars['String']['input']>; connectionId?: InputMaybe<Scalars['String']['input']>; credentials?: InputMaybe<Scalars['JSON']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateBotmanorAgentInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; capabilities?: InputMaybe<Array<BotmanorAgentCapability>>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; knowledgeBaseIds?: InputMaybe<Array<Scalars['ID']['input']>>; llmModelId?: InputMaybe<Scalars['ID']['input']>; maxConcurrentExecutions?: InputMaybe<Scalars['Int']['input']>; maxTokens?: InputMaybe<Scalars['Int']['input']>; mcpConnectionIds?: InputMaybe<Array<Scalars['ID']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; specialization?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<BotmanorAgentStatus>; systemPrompt?: InputMaybe<Scalars['String']['input']>; /** Opaque tag IDs for federated tag lookup (legacy). */ tagIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical agent `tags` Json column. */ tags?: InputMaybe<Scalars['JSON']['input']>; temperature?: InputMaybe<Scalars['Float']['input']>; type?: InputMaybe<BotmanorAgentType>; visibility?: InputMaybe<AgentVisibility>; workflowIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; export type UpdateBotmanorLlmModelInput = { contextWindow?: InputMaybe<Scalars['Int']['input']>; inputPricePerMToken?: InputMaybe<Scalars['Float']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; maxOutputTokens?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; outputPricePerMToken?: InputMaybe<Scalars['Float']['input']>; supportsFunctionCalling?: InputMaybe<Scalars['Boolean']['input']>; supportsStreaming?: InputMaybe<Scalars['Boolean']['input']>; supportsVision?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateBotmanorLlmProviderInput = { apiEndpoint?: InputMaybe<Scalars['String']['input']>; connectionId?: InputMaybe<Scalars['String']['input']>; credentials?: InputMaybe<Scalars['JSON']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateBreedingRecordInput = { animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; /** The OBSERVED delivery date. Send this when moving a record to DELIVERED. */ deliveredOn?: InputMaybe<Scalars['String']['input']>; expectedDueDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; mateId?: InputMaybe<Scalars['ID']['input']>; matingDate?: InputMaybe<Scalars['String']['input']>; matingType?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** Offspring born. */ offspringBorn?: InputMaybe<Scalars['Int']['input']>; /** Offspring born alive. Must not exceed offspringBorn. */ offspringLive?: InputMaybe<Scalars['Int']['input']>; /** * Whether the pregnancy was confirmed (BOFF-6279). * * STICKY by design: the server also sets it when the status becomes CONFIRMED or DELIVERED, and * never clears it on the way to FAILED. `status` keeps no history, so without a marker that * survives the transition, a lost calf and a service that never took are the same row — which is * exactly why pregnancy loss could not be measured before. Send it explicitly to correct a mistake. */ pregnancyConfirmed?: InputMaybe<Scalars['Boolean']['input']>; /** Status. Must be one of: MATED, CONFIRMED, DELIVERED, FAILED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateBucketInput = { color?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; parentBucketId?: InputMaybe<Scalars['ID']['input']>; slug?: InputMaybe<Scalars['String']['input']>; }; export type UpdateBudgetInput = { allocated?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; period?: InputMaybe<Scalars['String']['input']>; /** * BOFF-6073 - IGNORED. Kept so existing callers do not break. Spend is derived from the * transactions in this budget category and period; accepting a typed figure here is exactly what * made budget-vs-actual fiction. */ spent?: InputMaybe<Scalars['Float']['input']>; /** BOFF-6073 - IGNORED, derived from spend against allocation for the same reason. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCalendarInput = { color?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCalendarResourceInput = { approverUserId?: InputMaybe<Scalars['String']['input']>; bufferAfter?: InputMaybe<Scalars['Int']['input']>; bufferBefore?: InputMaybe<Scalars['Int']['input']>; building?: InputMaybe<Scalars['String']['input']>; capacity?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; features?: InputMaybe<Scalars['JSON']['input']>; floor?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; isBookable?: InputMaybe<Scalars['Boolean']['input']>; location?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; requireApproval?: InputMaybe<Scalars['Boolean']['input']>; room?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCallParticipantInput = { callSessionId: Scalars['ID']['input']; isMuted?: InputMaybe<Scalars['Boolean']['input']>; isScreenSharing?: InputMaybe<Scalars['Boolean']['input']>; isVideoEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateCargoItemInput = { brand?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; dimensions?: InputMaybe<Scalars['JSON']['input']>; fragile?: InputMaybe<Scalars['Boolean']['input']>; hazardous?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; sku?: InputMaybe<Scalars['String']['input']>; temperatureControlled?: InputMaybe<Scalars['Boolean']['input']>; value?: InputMaybe<Scalars['Float']['input']>; weight?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateCatalogInput = { /** Operation context for scoping */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; ownerName?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; visibility?: InputMaybe<CatalogVisibility>; }; export type UpdateCertificationInput = { certifyingBody?: InputMaybe<Scalars['String']['input']>; context: ContextInput; expiryDate?: InputMaybe<Scalars['String']['input']>; icsGroupId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; issuedDate?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; scope?: InputMaybe<Array<Scalars['String']['input']>>; /** Workflow stage. Must be one of: NOT_STARTED, IN_PROGRESS, CERTIFIED (case-insensitive). */ stage?: InputMaybe<Scalars['String']['input']>; standard?: InputMaybe<Scalars['String']['input']>; /** * Structured standard. Must be one of: NPOP, GLOBALGAP, EUDR, FAIRTRADE, USDA_NOP, * EU_ORGANIC, OTHER (case-insensitive). */ standardCode?: InputMaybe<Scalars['String']['input']>; /** Status. Must be one of: ACTIVE, EXPIRED, PENDING_RENEWAL, SUSPENDED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateChannelConnectorInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; credentialsRefId?: InputMaybe<Scalars['ID']['input']>; defaultPolicyBindings?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; visibility?: InputMaybe<Visibility>; }; export type UpdateChannelRouteInput = { appId?: InputMaybe<Scalars['ID']['input']>; formatPolicyId?: InputMaybe<Scalars['ID']['input']>; locationId?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; policyBindings?: InputMaybe<Scalars['JSON']['input']>; routingOverrides?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateChecklistItemInput = { context: ContextInput; /** ComplianceDocument satisfying this item. Pass null to unlink. */ documentId?: InputMaybe<Scalars['ID']['input']>; /** * HbEudrStatement satisfying a GEO item. Pass null to unlink. * * Linking one whose statement carries coordinates sets the item APPROVED on its own — that * second manual step is the duplicate work this exists to remove. Rejected on a DOCUMENT * item, and rejected when the statement is not in this workspace or has no coordinates yet. */ evidenceRefId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; /** MISSING | UPLOADED | UNDER_REVIEW | APPROVED | REJECTED | NOT_APPLICABLE (case-insensitive). */ status: Scalars['String']['input']; }; export type UpdateClientPortalConfigInput = { clientName?: InputMaybe<Scalars['String']['input']>; contactEmail?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; logoUrl?: InputMaybe<Scalars['String']['input']>; permissions?: InputMaybe<Scalars['JSON']['input']>; settings?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateCohortInput = { criteria?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; userIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; export type UpdateCollectionInput = { color?: InputMaybe<Scalars['String']['input']>; coverImageId?: InputMaybe<Scalars['ID']['input']>; criteria?: InputMaybe<SmartCollectionCriteriaInput>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<CollectionVisibility>; }; export type UpdateCollectionShareInput = { canAddItems?: InputMaybe<Scalars['Boolean']['input']>; canEdit?: InputMaybe<Scalars['Boolean']['input']>; canRemoveItems?: InputMaybe<Scalars['Boolean']['input']>; canShare?: InputMaybe<Scalars['Boolean']['input']>; canView?: InputMaybe<Scalars['Boolean']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; shareId: Scalars['ID']['input']; }; export type UpdateComplianceDocumentInput = { certificationId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; /** Reference to a real uploaded file in wspace-files-svc (from the fe-libs upload). */ fileId?: InputMaybe<Scalars['ID']['input']>; fileName?: InputMaybe<Scalars['String']['input']>; fileUrl?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; /** Status. Must be one of: CURRENT, EXPIRED, PENDING (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: CERTIFICATE, PLAN, REPORT, LEGAL, LOG, RECORD (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateComplianceSubstanceRuleInput = { activeIngredient?: InputMaybe<Scalars['String']['input']>; casNumber?: InputMaybe<Scalars['String']['input']>; context: ContextInput; cropScope?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; mrlMgPerKg?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; prohibited?: InputMaybe<Scalars['Boolean']['input']>; source?: InputMaybe<Scalars['String']['input']>; standardCode?: InputMaybe<Scalars['String']['input']>; substanceName?: InputMaybe<Scalars['String']['input']>; }; export type UpdateComponentInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; dependencies?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; documentationUrl?: InputMaybe<Scalars['String']['input']>; framework?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; lifecycle?: InputMaybe<ComponentLifecycle>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; ownerName?: InputMaybe<Scalars['String']['input']>; repositoryUrl?: InputMaybe<Scalars['String']['input']>; sbomData?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; teamId?: InputMaybe<Scalars['ID']['input']>; teamName?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<ComponentType>; version?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCompostBatchInput = { brownsKg?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; greensKg?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; yieldKg?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateConnectionInput = { config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateConnectionPermissionsInput = { description?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; permissions?: InputMaybe<Array<Scalars['String']['input']>>; scopes?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateConversationInput = { avatarUrl?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; settings?: InputMaybe<ConversationSettingsInput>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateConversationPayload = { __typename?: 'UpdateConversationPayload'; conversation?: Maybe<Conversation>; success: Scalars['Boolean']['output']; }; export type UpdateCrewAnnouncementInput = { category?: InputMaybe<Scalars['String']['input']>; content?: InputMaybe<Scalars['String']['input']>; isPinned?: InputMaybe<Scalars['Boolean']['input']>; priority?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewCandidateInput = { appliedDate?: InputMaybe<Scalars['DateTime']['input']>; currentCompany?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; experience?: InputMaybe<Scalars['Int']['input']>; firstName?: InputMaybe<Scalars['String']['input']>; hiredDate?: InputMaybe<Scalars['DateTime']['input']>; jobPostingId?: InputMaybe<Scalars['ID']['input']>; lastName?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; resumeUrl?: InputMaybe<Scalars['String']['input']>; skills?: InputMaybe<Array<Scalars['String']['input']>>; source?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewClientInput = { contactPerson?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; industry?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; projects?: InputMaybe<Scalars['Int']['input']>; revenue?: InputMaybe<Scalars['Float']['input']>; since?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewDepartmentInput = { budget?: InputMaybe<Scalars['Float']['input']>; headId?: InputMaybe<Scalars['ID']['input']>; headName?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewDispatchInput = { description?: InputMaybe<Scalars['String']['input']>; dueAt?: InputMaybe<Scalars['DateTime']['input']>; priority?: InputMaybe<CrewDispatchPriority>; siteAddress?: InputMaybe<Scalars['String']['input']>; siteLatitude?: InputMaybe<Scalars['Float']['input']>; siteLongitude?: InputMaybe<Scalars['Float']['input']>; siteName?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewEmployeeInput = { avatar?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; firstName?: InputMaybe<Scalars['String']['input']>; lastName?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; managerId?: InputMaybe<Scalars['ID']['input']>; performanceScore?: InputMaybe<Scalars['Float']['input']>; phone?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['String']['input']>; salary?: InputMaybe<Scalars['Float']['input']>; skills?: InputMaybe<Array<Scalars['String']['input']>>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; terminationDate?: InputMaybe<Scalars['DateTime']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewInterviewInput = { candidateName?: InputMaybe<Scalars['String']['input']>; date?: InputMaybe<Scalars['DateTime']['input']>; feedback?: InputMaybe<Scalars['String']['input']>; interviewerId?: InputMaybe<Scalars['ID']['input']>; interviewerName?: InputMaybe<Scalars['String']['input']>; position?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; time?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewJobPostingInput = { applicants?: InputMaybe<Scalars['Int']['input']>; benefits?: InputMaybe<Array<Scalars['String']['input']>>; deadline?: InputMaybe<Scalars['DateTime']['input']>; department?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; experienceLevel?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; postedDate?: InputMaybe<Scalars['DateTime']['input']>; requirements?: InputMaybe<Array<Scalars['String']['input']>>; salaryMax?: InputMaybe<Scalars['Float']['input']>; salaryMin?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewLeaveRequestInput = { approverName?: InputMaybe<Scalars['String']['input']>; days?: InputMaybe<Scalars['Int']['input']>; department?: InputMaybe<Scalars['String']['input']>; employeeId?: InputMaybe<Scalars['ID']['input']>; employeeName?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; reason?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewOnboardingInput = { currentStage?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; employeeId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewOnboardingTaskInput = { assigneeActorId?: InputMaybe<Scalars['ID']['input']>; assigneeName?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; stage?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewPayrollRecordInput = { deductions?: InputMaybe<Scalars['Float']['input']>; grossPay?: InputMaybe<Scalars['Float']['input']>; netPay?: InputMaybe<Scalars['Float']['input']>; payDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewProjectInput = { budget?: InputMaybe<Scalars['Float']['input']>; completedTasks?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; managerId?: InputMaybe<Scalars['ID']['input']>; managerName?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['String']['input']>; progress?: InputMaybe<Scalars['Int']['input']>; spent?: InputMaybe<Scalars['Float']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; tasks?: InputMaybe<Scalars['Int']['input']>; teamId?: InputMaybe<Scalars['ID']['input']>; teamName?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewServiceListingInput = { category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; rate?: InputMaybe<Scalars['Float']['input']>; rateUnit?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewShiftInput = { assigneeUserId?: InputMaybe<Scalars['ID']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; /** 3-100 vertices; null clears the polygon so the radius applies again. */ geofencePolygon?: InputMaybe<Array<CrewGeoPointInput>>; geofenceRadiusMeters?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; reminderMinutesBefore?: InputMaybe<Scalars['Int']['input']>; role?: InputMaybe<Scalars['String']['input']>; siteAddress?: InputMaybe<Scalars['String']['input']>; siteLatitude?: InputMaybe<Scalars['Float']['input']>; siteLongitude?: InputMaybe<Scalars['Float']['input']>; siteName?: InputMaybe<Scalars['String']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; /** Edits to the whole series. Schedule changes regenerate future, unedited occurrences. */ export type UpdateCrewShiftPatternInput = { assigneeUserId?: InputMaybe<Scalars['ID']['input']>; daysOfWeek?: InputMaybe<Array<Scalars['Int']['input']>>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; employeeId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['String']['input']>; geofenceRadiusMeters?: InputMaybe<Scalars['Int']['input']>; horizonDays?: InputMaybe<Scalars['Int']['input']>; intervalWeeks?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; openSlots?: InputMaybe<Scalars['Int']['input']>; reminderMinutesBefore?: InputMaybe<Scalars['Int']['input']>; role?: InputMaybe<Scalars['String']['input']>; siteAddress?: InputMaybe<Scalars['String']['input']>; siteLatitude?: InputMaybe<Scalars['Float']['input']>; siteLongitude?: InputMaybe<Scalars['Float']['input']>; siteName?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; startTime?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; /** * Edit a skill. Omitted fields are left unchanged; `aliases` replaces the list. * A rename keeps the old name as an alias. Editing a BACKFILL skill marks it * reviewed (source becomes CUSTOM). */ export type UpdateCrewSkillInput = { aliases?: InputMaybe<Array<Scalars['String']['input']>>; category?: InputMaybe<Scalars['String']['input']>; /** Empty string clears it. */ description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewTeamInput = { department?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; leadId?: InputMaybe<Scalars['ID']['input']>; leadName?: InputMaybe<Scalars['String']['input']>; members?: InputMaybe<Array<Scalars['String']['input']>>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewTimeEntryInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; clockOut?: InputMaybe<Scalars['String']['input']>; overtime?: InputMaybe<Scalars['Float']['input']>; project?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; totalHours?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateCrewTrainingCourseInput = { contentUrl?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; durationMinutes?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; requiredForRoles?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCrewVendorInput = { category?: InputMaybe<Scalars['String']['input']>; contactPerson?: InputMaybe<Scalars['String']['input']>; contractValue?: InputMaybe<Scalars['Float']['input']>; email?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCropInput = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; daysToHarvest?: InputMaybe<Scalars['Int']['input']>; expectedHarvestDate?: InputMaybe<Scalars['String']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; growthStage?: InputMaybe<Scalars['String']['input']>; /** Crop health. Must be one of: EXCELLENT, GOOD, FAIR, POOR, CRITICAL (case-insensitive). */ healthStatus?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; imageIds?: InputMaybe<Array<Scalars['String']['input']>>; name?: InputMaybe<Scalars['String']['input']>; organicCertified?: InputMaybe<Scalars['Boolean']['input']>; plantingDate?: InputMaybe<Scalars['String']['input']>; progress?: InputMaybe<Scalars['Int']['input']>; /** Growing season. Must be one of: KHARIF, RABI, ZAID, PERENNIAL (case-insensitive). */ season?: InputMaybe<Scalars['String']['input']>; /** Crop status. Must be one of: PLANNING, PLANTED, GROWING, FLOWERING, FRUITING, HARVEST_READY, HARVESTED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; variety?: InputMaybe<Scalars['String']['input']>; yieldEstimate?: InputMaybe<Scalars['Float']['input']>; yieldUnit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateCustomerInput = { address?: InputMaybe<Scalars['JSON']['input']>; businessLicense?: InputMaybe<Scalars['String']['input']>; company?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; email?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notifyByEmail?: InputMaybe<Scalars['Boolean']['input']>; notifyBySms?: InputMaybe<Scalars['Boolean']['input']>; phone?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; taxId?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateDashboardInput = { description?: InputMaybe<Scalars['String']['input']>; filters?: InputMaybe<Scalars['JSON']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; layout?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating a data sink */ export type UpdateDataSinkInput = { /** Alert rules */ alerts?: InputMaybe<Array<DataSinkAlertInput>>; /** Updated data payload */ data?: InputMaybe<Scalars['JSON']['input']>; /** * Data sensitivity classification. L4_REGULATED requires the sink's * resulting fieldMaskingEnabled (existing or provided in this same update) * to be true — rejected otherwise. */ dataClassification?: InputMaybe<DataClassification>; /** Description */ description?: InputMaybe<Scalars['String']['input']>; /** Export configurations */ exports?: InputMaybe<Array<DataSinkExportInput>>; /** Field masking enabled */ fieldMaskingEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Field masking rules */ fieldMaskingRules?: InputMaybe<Scalars['JSON']['input']>; /** Data sink ID */ id: Scalars['ID']['input']; /** Active status */ isActive?: InputMaybe<Scalars['Boolean']['input']>; /** Metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** DataSink name */ name?: InputMaybe<Scalars['String']['input']>; /** Resource quota configuration */ quota?: InputMaybe<DataSinkQuotaInput>; /** Refresh configuration */ refresh?: InputMaybe<DataSinkRefreshConfigInput>; /** Setup state (tracks DataSink configuration progress) */ setupState?: InputMaybe<DataSinkSetupState>; /** Status */ status?: InputMaybe<DataSinkStatus>; /** Cache TTL */ ttl?: InputMaybe<Scalars['Int']['input']>; /** Version for optimistic locking (required) */ version: Scalars['Int']['input']; }; /** Input for updating a DataSink-Workflow link */ export type UpdateDataSinkLinkInput = { dataMapping?: InputMaybe<Scalars['JSON']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateDataTableInput = { /** * Replaces the full column list. Existing rows are NOT retroactively * re-validated against a narrowed schema (e.g. a column newly marked * `required`) — only rows written AFTER the change are validated against it. */ columns?: InputMaybe<Array<DataTableColumnInput>>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateDeliveryJobInput = { cargoItems?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; customerId?: InputMaybe<Scalars['ID']['input']>; deliveryAddress?: InputMaybe<Scalars['JSON']['input']>; driverId?: InputMaybe<Scalars['ID']['input']>; pickupAddress?: InputMaybe<Scalars['JSON']['input']>; pricing?: InputMaybe<Scalars['JSON']['input']>; priority?: InputMaybe<DeliveryPriority>; routeId?: InputMaybe<Scalars['ID']['input']>; scheduledDelivery?: InputMaybe<Scalars['DateTime']['input']>; specialInstructions?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<DeliveryJobStatus>; storeOrderId?: InputMaybe<Scalars['ID']['input']>; trackingNumber?: InputMaybe<Scalars['String']['input']>; vehicleId?: InputMaybe<Scalars['ID']['input']>; }; export type UpdateDeliveryJobStatusInput = { location?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; status: DeliveryJobStatus; }; export type UpdateDriverInput = { baseSalary?: InputMaybe<Scalars['Float']['input']>; bonusYtd?: InputMaybe<Scalars['Float']['input']>; certifications?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; currentLocation?: InputMaybe<Scalars['JSON']['input']>; email?: InputMaybe<Scalars['String']['input']>; firstName?: InputMaybe<Scalars['String']['input']>; hireDate?: InputMaybe<Scalars['DateTime']['input']>; lastName?: InputMaybe<Scalars['String']['input']>; licenseClass?: InputMaybe<Scalars['String']['input']>; licenseExpiry?: InputMaybe<Scalars['DateTime']['input']>; licenseNumber?: InputMaybe<Scalars['String']['input']>; maxDrivingHoursPerShift?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; onLeaveUntil?: InputMaybe<Scalars['DateTime']['input']>; payCurrency?: InputMaybe<Scalars['String']['input']>; performanceMetrics?: InputMaybe<Scalars['JSON']['input']>; phone?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<DriverStatus>; terminatedAt?: InputMaybe<Scalars['DateTime']['input']>; terminationReason?: InputMaybe<Scalars['String']['input']>; userId?: InputMaybe<Scalars['String']['input']>; vehicleId?: InputMaybe<Scalars['String']['input']>; vehicleIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; export type UpdateEmailTimeEntryInput = { category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; date?: InputMaybe<Scalars['DateTime']['input']>; duration?: InputMaybe<Scalars['Int']['input']>; isImportant?: InputMaybe<Scalars['Boolean']['input']>; recipients?: InputMaybe<Scalars['String']['input']>; responseTime?: InputMaybe<Scalars['Int']['input']>; sender?: InputMaybe<Scalars['String']['input']>; subject?: InputMaybe<Scalars['String']['input']>; threadId?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating an entity comment */ export type UpdateEntityCommentInput = { content?: InputMaybe<EntityCommentContentInput>; contentType?: InputMaybe<ContentType>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; id: Scalars['ID']['input']; isPinned?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; reason?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<CommentVisibility>; }; /** * Mutable ESG metric values. Canonical identity fields (metric key, period, and * asset/source attribution) are intentionally absent. */ export type UpdateEsgMetricInput = { category?: InputMaybe<Scalars['String']['input']>; metricName?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; target?: InputMaybe<Scalars['Float']['input']>; trend?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateEventInput = { allDay?: InputMaybe<Scalars['Boolean']['input']>; checkInEnabled?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; location?: InputMaybe<Scalars['String']['input']>; locationAddress?: InputMaybe<Scalars['String']['input']>; locationType?: InputMaybe<Scalars['String']['input']>; locationUrl?: InputMaybe<Scalars['String']['input']>; maxAttendees?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; onlineMeetingProvider?: InputMaybe<Scalars['String']['input']>; onlineMeetingUrl?: InputMaybe<Scalars['String']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; timezone?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating event registration */ export type UpdateEventRegistrationInput = { config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; payloadMapping?: InputMaybe<Scalars['JSON']['input']>; secretToken?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EventStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; validationMethod?: InputMaybe<ValidationMethod>; }; export type UpdateEventSchemaInput = { description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; schema?: InputMaybe<Scalars['JSON']['input']>; }; /** * Input for updating an execution to a terminal state and recording its outcome. * * `output` is the raw result payload. `errorCode`, `errorMessage` and * `errorDetails` capture failure context. Token counts, duration and cost are * aggregated into `ExecutionMetrics` and the workspace's daily rollups. */ export type UpdateExecutionStatusInput = { cost?: InputMaybe<Scalars['Float']['input']>; duration?: InputMaybe<Scalars['Int']['input']>; errorCode?: InputMaybe<Scalars['String']['input']>; errorDetails?: InputMaybe<Scalars['JSON']['input']>; errorMessage?: InputMaybe<Scalars['String']['input']>; inputTokens?: InputMaybe<Scalars['Int']['input']>; output?: InputMaybe<Scalars['String']['input']>; outputTokens?: InputMaybe<Scalars['Int']['input']>; ragChunks?: InputMaybe<Scalars['Int']['input']>; status: ExecutionStatus; tokensUsed?: InputMaybe<Scalars['Int']['input']>; toolCalls?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateExpenseInput = { amount?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; date?: InputMaybe<Scalars['DateTime']['input']>; description?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; receiptFileId?: InputMaybe<Scalars['ID']['input']>; receiptUrl?: InputMaybe<Scalars['String']['input']>; }; export type UpdateExpertInput = { availability?: InputMaybe<Scalars['String']['input']>; context: ContextInput; experience?: InputMaybe<Scalars['Int']['input']>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; languages?: InputMaybe<Array<Scalars['String']['input']>>; location?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; reviews?: InputMaybe<Scalars['Int']['input']>; specialization?: InputMaybe<Scalars['String']['input']>; }; export type UpdateExportJobInput = { context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateExportTemplateInput = { context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; entityFilters?: InputMaybe<Scalars['JSON']['input']>; entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; format?: InputMaybe<ExportFormat>; includeMedia?: InputMaybe<Scalars['Boolean']['input']>; includeMetadata?: InputMaybe<Scalars['Boolean']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateFarmEventInput = { capacity?: InputMaybe<Scalars['Int']['input']>; context: ContextInput; date?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; fee?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; location?: InputMaybe<Scalars['String']['input']>; /** Mode. Must be one of: ONLINE, OFFLINE, HYBRID (case-insensitive). */ mode?: InputMaybe<Scalars['String']['input']>; organizer?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: WORKSHOP, CONFERENCE, TRAINING, FIELD_DAY, WEBINAR (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateFarmInput = { areaUnit?: InputMaybe<Scalars['String']['input']>; /** * GeoJSON polygon for the farm's outline (Field Map). Send null to clear; * omit to leave unchanged. */ boundary?: InputMaybe<Scalars['JSON']['input']>; certificationBody?: InputMaybe<Scalars['String']['input']>; certificationDate?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; imageIds?: InputMaybe<Array<Scalars['String']['input']>>; latitude?: InputMaybe<Scalars['Float']['input']>; location?: InputMaybe<Scalars['String']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; organicCertified?: InputMaybe<Scalars['Boolean']['input']>; owner?: InputMaybe<Scalars['String']['input']>; totalArea?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateFeedRecordInput = { animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; cost?: InputMaybe<Scalars['Float']['input']>; date?: InputMaybe<Scalars['String']['input']>; feedType?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateFieldSensorThresholdsInput = { context: ContextInput; fieldId: Scalars['ID']['input']; rules: Array<FieldSensorThresholdRuleInput>; }; export type UpdateFileInput = { description?: InputMaybe<Scalars['String']['input']>; folderId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Replaces the row's `File.tags` Json column on update. */ tags?: InputMaybe<Scalars['JSON']['input']>; visibility?: InputMaybe<FileVisibility>; }; export type UpdateFocusScoreInput = { consistencyScore?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; deepWorkScore?: InputMaybe<Scalars['Float']['input']>; distractionResistanceScore?: InputMaybe<Scalars['Float']['input']>; energyManagementScore?: InputMaybe<Scalars['Float']['input']>; factors?: InputMaybe<Scalars['JSON']['input']>; overallScore?: InputMaybe<Scalars['Float']['input']>; taskCompletionScore?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateFolderInput = { color?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Replaces the row's `Folder.tags` Json column on update. */ tags?: InputMaybe<Scalars['JSON']['input']>; visibility?: InputMaybe<FileVisibility>; }; export type UpdateFunnelInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; stepOrder?: InputMaybe<FunnelStepOrder>; steps?: InputMaybe<Array<FunnelStepInput>>; timeWindowHours?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateGardenCareTaskInput = { context: ContextInput; dueDate?: InputMaybe<Scalars['DateTime']['input']>; id: Scalars['ID']['input']; intervalDays?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; quantityUnit?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGardenInputInput = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; cost?: InputMaybe<Scalars['Float']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; id: Scalars['ID']['input']; lowStockAt?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; purchasedAt?: InputMaybe<Scalars['DateTime']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; store?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGardenPlantingInput = { context: ContextInput; daysToMaturity?: InputMaybe<Scalars['Int']['input']>; health?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; method?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; perennial?: InputMaybe<Scalars['Boolean']['input']>; plantName?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Int']['input']>; source?: InputMaybe<Scalars['String']['input']>; sourceRef?: InputMaybe<Scalars['String']['input']>; sownAt?: InputMaybe<Scalars['DateTime']['input']>; stage?: InputMaybe<Scalars['String']['input']>; variety?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGeofenceInput = { address?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; isActive?: InputMaybe<Scalars['Boolean']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; linkedProjectId?: InputMaybe<Scalars['ID']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; radius?: InputMaybe<Scalars['Float']['input']>; trigger?: InputMaybe<GeofenceTrigger>; }; export type UpdateGgnomadActivityInput = { accessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; difficulty?: InputMaybe<Scalars['String']['input']>; duration?: InputMaybe<Scalars['String']['input']>; images?: InputMaybe<Array<Scalars['String']['input']>>; includes?: InputMaybe<Array<Scalars['String']['input']>>; instantBook?: InputMaybe<Scalars['Boolean']['input']>; location?: InputMaybe<Scalars['JSON']['input']>; maxParticipants?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; providerId?: InputMaybe<Scalars['String']['input']>; requirements?: InputMaybe<Array<Scalars['String']['input']>>; safetyInfo?: InputMaybe<Scalars['String']['input']>; /** BOFF-10194 — accepted only when it equals the current status (LISTING_STATUS_REQUIRES_TRANSITION otherwise). Change status with submitGgnomadListingForReview, approve/reject (operators), pause, resume or archive. */ status?: InputMaybe<Scalars['String']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; sustainabilityPractices?: InputMaybe<Array<GgnomadSustainabilityPractice>>; }; /** Fields to change; the result is validated as a whole rule. Pass null to clear partnerId or bookingType. */ export type UpdateGgnomadAffiliateCommissionRuleInput = { active?: InputMaybe<Scalars['Boolean']['input']>; bookingType?: InputMaybe<GgnomadBookingType>; commissionPercent?: InputMaybe<Scalars['Float']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; kind?: InputMaybe<GgnomadAffiliateRuleKind>; name?: InputMaybe<Scalars['String']['input']>; partnerId?: InputMaybe<Scalars['ID']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; volumeCurrency?: InputMaybe<Scalars['String']['input']>; volumeMetric?: InputMaybe<GgnomadAffiliateVolumeMetric>; volumePeriodDays?: InputMaybe<Scalars['Int']['input']>; volumeThreshold?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateGgnomadAffiliatePartnerInput = { actorId?: InputMaybe<Scalars['String']['input']>; attributionWindowDays?: InputMaybe<Scalars['Int']['input']>; commissionPercent?: InputMaybe<Scalars['Float']['input']>; contactEmail?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<GgnomadAffiliatePartnerStatus>; widgetAllowedOrigins?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateGgnomadAffiliatePayoutScheduleInput = { cadence?: InputMaybe<GgnomadAffiliatePayoutCadence>; enabled?: InputMaybe<Scalars['Boolean']['input']>; /** 1-100000, in the commission currency. */ minimumAmount?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateGgnomadCheckoutSettingsInput = { /** At least one method. */ acceptedPaymentMethods?: InputMaybe<Array<GgnomadPaymentMethod>>; /** 0-50. */ serviceFeePercent?: InputMaybe<Scalars['Float']['input']>; /** 1-60 characters, shown on the checkout (e.g. Taxes, VAT, GST). */ taxLabel?: InputMaybe<Scalars['String']['input']>; /** 0-50. */ taxPercent?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateGgnomadEventInput = { accessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; category?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endsAt?: InputMaybe<Scalars['DateTime']['input']>; images?: InputMaybe<Array<Scalars['String']['input']>>; instantBook?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; performers?: InputMaybe<Array<Scalars['String']['input']>>; price?: InputMaybe<Scalars['Float']['input']>; providerId?: InputMaybe<Scalars['String']['input']>; startsAt?: InputMaybe<Scalars['DateTime']['input']>; /** BOFF-10194 — accepted only when it equals the current status (LISTING_STATUS_REQUIRES_TRANSITION otherwise). Change status with submitGgnomadListingForReview, approve/reject (operators), pause, resume or archive. */ status?: InputMaybe<Scalars['String']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; sustainabilityPractices?: InputMaybe<Array<GgnomadSustainabilityPractice>>; venue?: InputMaybe<Scalars['JSON']['input']>; }; /** BOFF-4392 — changes to the governance policy. Omitted fields keep their value. */ export type UpdateGgnomadGovernancePolicyInput = { /** Restrict exports to these entity types (from ggnomadExportEntityTypes); an empty list allows every type. */ allowedExportEntityTypes?: InputMaybe<Array<Scalars['String']['input']>>; /** Must be one of ggnomadResidencyRegions. */ dataRegion?: InputMaybe<Scalars['String']['input']>; exportsEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateGgnomadOperatorStorefrontInput = { aboutText?: InputMaybe<Scalars['String']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; logoUrl?: InputMaybe<Scalars['String']['input']>; primaryColor?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; }; /** Any field left out keeps its stored value; the merged rule is validated as a whole. */ export type UpdateGgnomadPricingRuleInput = { adjustmentPercent?: InputMaybe<Scalars['Float']['input']>; daysOfWeek?: InputMaybe<Array<Scalars['Int']['input']>>; endDate?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; minOccupancyPercent?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGgnomadPropertyInput = { accessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; address?: InputMaybe<Scalars['JSON']['input']>; amenities?: InputMaybe<Array<Scalars['String']['input']>>; bathrooms?: InputMaybe<Scalars['Int']['input']>; bedrooms?: InputMaybe<Scalars['Int']['input']>; checkInTime?: InputMaybe<Scalars['String']['input']>; checkOutTime?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; images?: InputMaybe<Array<Scalars['String']['input']>>; instantBook?: InputMaybe<Scalars['Boolean']['input']>; maxGuests?: InputMaybe<Scalars['Int']['input']>; /** BOFF-3938 — shortest stay in nights; null resets it to 1. */ minStayNights?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; pricePerNight?: InputMaybe<Scalars['Float']['input']>; providerId?: InputMaybe<Scalars['String']['input']>; /** BOFF-10194 — accepted only when it equals the current status (LISTING_STATUS_REQUIRES_TRANSITION otherwise). Change status with submitGgnomadListingForReview, approve/reject (operators), pause, resume or archive. */ status?: InputMaybe<Scalars['String']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; sustainabilityPractices?: InputMaybe<Array<GgnomadSustainabilityPractice>>; type?: InputMaybe<Scalars['String']['input']>; /** BOFF-3938 — Friday/Saturday nightly price; null removes weekend pricing. */ weekendPricePerNight?: InputMaybe<Scalars['Float']['input']>; }; /** * BOFF-3953 — a partial provider-profile edit: omitted fields are left alone, * null or a blank string clears an optional field. `address` takes only the * keys line1, line2, city, region, postalCode and country. */ export type UpdateGgnomadProviderInput = { address?: InputMaybe<Scalars['JSON']['input']>; contactEmail?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; logo?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<GgnomadProviderType>; website?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGgnomadTourInput = { accessibilityFeatures?: InputMaybe<Array<GgnomadAccessibilityFeature>>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; difficulty?: InputMaybe<Scalars['String']['input']>; duration?: InputMaybe<Scalars['String']['input']>; guideName?: InputMaybe<Scalars['String']['input']>; highlights?: InputMaybe<Array<Scalars['String']['input']>>; images?: InputMaybe<Array<Scalars['String']['input']>>; instantBook?: InputMaybe<Scalars['Boolean']['input']>; languages?: InputMaybe<Array<Scalars['String']['input']>>; location?: InputMaybe<Scalars['JSON']['input']>; maxGroupSize?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; providerId?: InputMaybe<Scalars['String']['input']>; /** BOFF-10194 — accepted only when it equals the current status (LISTING_STATUS_REQUIRES_TRANSITION otherwise). Change status with submitGgnomadListingForReview, approve/reject (operators), pause, resume or archive. */ status?: InputMaybe<Scalars['String']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; sustainabilityPractices?: InputMaybe<Array<GgnomadSustainabilityPractice>>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGgnomadTravelPolicyInput = { allowedTravelClasses?: InputMaybe<Array<Scalars['String']['input']>>; blockedDestinations?: InputMaybe<Array<Scalars['String']['input']>>; costCenter?: InputMaybe<Scalars['String']['input']>; currency?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; maxBookingAmount?: InputMaybe<Scalars['Float']['input']>; maxMonthlyPerTraveler?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; requireApprovalAlways?: InputMaybe<Scalars['Boolean']['input']>; }; /** * BOFF-10228 — `class`, `price`, `currency` and `passengers` cannot be changed * after creation (INVALID_INPUT). For a fare-verified trip the itinerary is fixed * too: only `name`, `status` and `storeProductId` can change. */ export type UpdateGgnomadTripInput = { arrivalAt?: InputMaybe<Scalars['DateTime']['input']>; carrier?: InputMaybe<Scalars['String']['input']>; carrierCode?: InputMaybe<Scalars['String']['input']>; class?: InputMaybe<Scalars['String']['input']>; co2Emissions?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; departureAt?: InputMaybe<Scalars['DateTime']['input']>; destination?: InputMaybe<Scalars['JSON']['input']>; ecoFriendly?: InputMaybe<Scalars['Boolean']['input']>; isRoundTrip?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; origin?: InputMaybe<Scalars['JSON']['input']>; passengers?: InputMaybe<Scalars['Int']['input']>; price?: InputMaybe<Scalars['Float']['input']>; returnArrivalAt?: InputMaybe<Scalars['DateTime']['input']>; returnDepartureAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; stops?: InputMaybe<Scalars['JSON']['input']>; storeProductId?: InputMaybe<Scalars['String']['input']>; transportMode?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGgnomadTripPlanInput = { description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; name?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; travelers?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateGovernmentSchemeInput = { applicationDeadline?: InputMaybe<Scalars['String']['input']>; applicationUrl?: InputMaybe<Scalars['String']['input']>; benefits?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** Canonical scheme geography. */ country?: InputMaybe<Scalars['String']['input']>; /** Canonical ISO 4217 currency. */ currency?: InputMaybe<Scalars['String']['input']>; department?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; eligibility?: InputMaybe<Array<Scalars['String']['input']>>; /** * BOFF-6110 — optional machine-evaluable criteria, each `{ id, label, fact, operator, value }`. * Additive: omit it and the scheme keeps only its free-text `eligibility` wording. */ eligibilityRules?: InputMaybe<Array<Scalars['JSON']['input']>>; id: Scalars['ID']['input']; maxAmount?: InputMaybe<Scalars['Float']['input']>; /** Scheme-authored application document checklist; [] clears it. */ requiredDocuments?: InputMaybe<Array<Scalars['String']['input']>>; /** Status. Must be one of: OPEN, CLOSING_SOON, CLOSED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateGroupInput = { allowMemberInvites?: InputMaybe<Scalars['Boolean']['input']>; allowNestedGroups?: InputMaybe<Scalars['Boolean']['input']>; allowedEntityTypes?: InputMaybe<Array<Scalars['String']['input']>>; color?: InputMaybe<Scalars['String']['input']>; compositionMode?: InputMaybe<GroupCompositionMode>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; materializationStrategy?: InputMaybe<RuleMaterializationStrategy>; maxMembers?: InputMaybe<Scalars['Int']['input']>; maxNestingDepth?: InputMaybe<Scalars['Int']['input']>; membershipType?: InputMaybe<MembershipType>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; requireApprovalToJoin?: InputMaybe<Scalars['Boolean']['input']>; ruleSyncFrequencyMinutes?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<GroupStatus>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Replaces the row's `Group.tags` Json column on update. */ tags?: InputMaybe<Scalars['JSON']['input']>; visibility?: InputMaybe<GroupVisibility>; }; export type UpdateGroupSettingInput = { description?: InputMaybe<Scalars['String']['input']>; isOverride?: InputMaybe<Scalars['Boolean']['input']>; scope?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateGroupTemplateInput = { allowMemberInvites?: InputMaybe<Scalars['Boolean']['input']>; allowNestedGroups?: InputMaybe<Scalars['Boolean']['input']>; allowedEntityTypes?: InputMaybe<Array<Scalars['String']['input']>>; category?: InputMaybe<Scalars['String']['input']>; color?: InputMaybe<Scalars['String']['input']>; compositionMode?: InputMaybe<GroupCompositionMode>; defaultMetadata?: InputMaybe<Scalars['JSON']['input']>; defaultSettings?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; maxMembers?: InputMaybe<Scalars['Int']['input']>; maxNestingDepth?: InputMaybe<Scalars['Int']['input']>; membershipType?: InputMaybe<MembershipType>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; requireApprovalToJoin?: InputMaybe<Scalars['Boolean']['input']>; scope?: InputMaybe<GroupScope>; visibility?: InputMaybe<GroupVisibility>; }; export type UpdateGrowSpaceInput = { context: ContextInput; diameterCm?: InputMaybe<Scalars['Float']['input']>; heightCm?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; lengthCm?: InputMaybe<Scalars['Float']['input']>; mediaRefreshedAt?: InputMaybe<Scalars['DateTime']['input']>; medium?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Int']['input']>; slots?: InputMaybe<Scalars['Int']['input']>; spaceType?: InputMaybe<Scalars['String']['input']>; sunExposure?: InputMaybe<Scalars['String']['input']>; widthCm?: InputMaybe<Scalars['Float']['input']>; zoneLabel?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHarvestRecordInput = { context: ContextInput; cropId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; harvestDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; /** * BOFF-6056 — attach a banked harvest to the plan it came from, after the fact. * * `createHarvestRecord` has always accepted this, but the update path did not, so a harvest * recorded without it was stranded outside plan-vs-actual forever. That is why * `PlanExecutionPanel` renders actual: 0 against a real harvest — the panel is correct, the link * was simply never writable a second time. */ plantingPlanId?: InputMaybe<Scalars['ID']['input']>; pricePerUnit?: InputMaybe<Scalars['Float']['input']>; quality?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; storageLocation?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHeadshotmarketingAdCampaignInput = { audienceId?: InputMaybe<Scalars['ID']['input']>; bidStrategy?: InputMaybe<Scalars['String']['input']>; dailyBudget?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; metrics?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; platform?: InputMaybe<HeadshotmarketingAdPlatform>; /** Platform-native campaign id to link for external ad-network sync. */ platformCampaignId?: InputMaybe<Scalars['String']['input']>; spent?: InputMaybe<Scalars['Float']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<HeadshotmarketingAdCampaignStatus>; totalBudget?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHeadshotmarketingAdCreativeInput = { body?: InputMaybe<Scalars['String']['input']>; callToAction?: InputMaybe<Scalars['String']['input']>; destinationUrl?: InputMaybe<Scalars['String']['input']>; headline?: InputMaybe<Scalars['String']['input']>; mediaUrls?: InputMaybe<Array<Scalars['String']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; metrics?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingAdCreativeStatus>; type?: InputMaybe<HeadshotmarketingAdCreativeType>; }; export type UpdateHeadshotmarketingAudienceInput = { description?: InputMaybe<Scalars['String']['input']>; estimatedSize?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; targetingCriteria?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateHeadshotmarketingCampaignInput = { budget?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; goals?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; spent?: InputMaybe<Scalars['Float']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<HeadshotmarketingCampaignStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<HeadshotmarketingCampaignType>; }; export type UpdateHeadshotmarketingCampaignTemplateInput = { configuration?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<HeadshotmarketingCampaignType>; }; export type UpdateHeadshotmarketingContactInput = { address?: InputMaybe<Scalars['JSON']['input']>; avatarUrl?: InputMaybe<Scalars['String']['input']>; company?: InputMaybe<Scalars['String']['input']>; customFields?: InputMaybe<Scalars['JSON']['input']>; email?: InputMaybe<Scalars['String']['input']>; firstName?: InputMaybe<Scalars['String']['input']>; jobTitle?: InputMaybe<Scalars['String']['input']>; lastName?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; phone?: InputMaybe<Scalars['String']['input']>; socialProfiles?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<HeadshotmarketingContactStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateHeadshotmarketingDealInput = { closedAt?: InputMaybe<Scalars['DateTime']['input']>; contactId?: InputMaybe<Scalars['ID']['input']>; customFields?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; expectedCloseDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; pipelineId?: InputMaybe<Scalars['ID']['input']>; probability?: InputMaybe<Scalars['Int']['input']>; stageId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<HeadshotmarketingDealStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; value?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHeadshotmarketingInfluencerCampaignInput = { compensation?: InputMaybe<Scalars['Float']['input']>; compensationType?: InputMaybe<Scalars['String']['input']>; contentDeadline?: InputMaybe<Scalars['DateTime']['input']>; deliverables?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; metrics?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<HeadshotmarketingInfluencerCampaignStatus>; }; export type UpdateHeadshotmarketingInfluencerInput = { audienceDemographics?: InputMaybe<Scalars['JSON']['input']>; avatarUrl?: InputMaybe<Scalars['String']['input']>; bio?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; engagementRate?: InputMaybe<Scalars['Float']['input']>; location?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; niches?: InputMaybe<Array<Scalars['String']['input']>>; phone?: InputMaybe<Scalars['String']['input']>; platforms?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; tier?: InputMaybe<HeadshotmarketingInfluencerTier>; totalFollowers?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateHeadshotmarketingInfluencerRelationshipInput = { lastInteractionDate?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<HeadshotmarketingInfluencerRelationshipStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; totalCampaigns?: InputMaybe<Scalars['Int']['input']>; totalCompensation?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHeadshotmarketingLeadInput = { campaignId?: InputMaybe<Scalars['ID']['input']>; contactId?: InputMaybe<Scalars['ID']['input']>; customFields?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; estimatedValue?: InputMaybe<Scalars['Float']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; ownerId?: InputMaybe<Scalars['ID']['input']>; score?: InputMaybe<Scalars['Int']['input']>; source?: InputMaybe<HeadshotmarketingLeadSource>; status?: InputMaybe<HeadshotmarketingLeadStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHeadshotmarketingPipelineInput = { description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHeadshotmarketingPipelineStageInput = { color?: InputMaybe<Scalars['String']['input']>; defaultProbability?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; order?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateHeadshotmarketingSocialAccountInput = { accountName?: InputMaybe<Scalars['String']['input']>; avatarUrl?: InputMaybe<Scalars['String']['input']>; deliveryMode?: InputMaybe<HeadshotmarketingSocialAccountDeliveryMode>; followerCount?: InputMaybe<Scalars['Int']['input']>; /** * Rebind this account to an already-created OAuth connection in * wspace-integrations-svc (tokens live server-side in the integrations * owner, never in this service). */ integrationConnectionId?: InputMaybe<Scalars['ID']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; profileUrl?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<HeadshotmarketingSocialAccountStatus>; tokenExpiresAt?: InputMaybe<Scalars['DateTime']['input']>; webhookUrl?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHeadshotmarketingSocialPostInput = { content?: InputMaybe<Scalars['String']['input']>; mediaUrls?: InputMaybe<Array<Scalars['String']['input']>>; metadata?: InputMaybe<Scalars['JSON']['input']>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<HeadshotmarketingSocialPostStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateHealthRecordInput = { animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; cost?: InputMaybe<Scalars['Float']['input']>; date?: InputMaybe<Scalars['String']['input']>; diagnosis?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; status?: InputMaybe<Scalars['String']['input']>; treatment?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: CHECKUP, TREATMENT, VACCINATION, SURGERY, INJURY (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; veterinarian?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlAccountingSyncSettingsInput = { autoSyncDaily?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; pushInvoices?: InputMaybe<Scalars['Boolean']['input']>; syncCoaMapping?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateHealthyBowlAdvisoryTaskStatusInput = { id: Scalars['ID']['input']; /** Status. Must be one of: OPEN, IN_PROGRESS, DONE (case-insensitive). */ status: HealthyBowlAdvisoryTaskStatus; workspaceId: Scalars['ID']['input']; }; export type UpdateHealthyBowlAnimalDepthInput = { animalId: Scalars['ID']['input']; bodyConditionScore?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; /** Loose link to another animal (dam). Pass null to clear. */ damId?: InputMaybe<Scalars['ID']['input']>; /** * EID / RFID electronic tag. Stored exactly as typed — trimmed, with runs of inner whitespace * collapsed to one space — because the spacing is how a farmer reads the tag off the device. * * Unique per workspace across live animals, compared case-insensitively and ignoring every * non-alphanumeric character: `982 000123456789`, `982000123456789` and `982-000123456789` are ONE * tag. A clash is rejected with `extensions.code = "CONFLICT"` and a message naming the tag number * of the animal that already holds it. A soft-deleted animal does not hold its EID, so a culled * animal's tag can be reused. * * At most 100 characters; only letters, digits, spaces, `-` and `_`, and at least one letter or * digit. Anything else is rejected with `BAD_USER_INPUT`. Pass `null` or an empty string to clear * it; any number of animals may have no EID. */ eidTag?: InputMaybe<Scalars['String']['input']>; grazingNotes?: InputMaybe<Scalars['String']['input']>; grazingPaddock?: InputMaybe<Scalars['String']['input']>; groupId?: InputMaybe<Scalars['ID']['input']>; rotationDate?: InputMaybe<Scalars['String']['input']>; sireId?: InputMaybe<Scalars['ID']['input']>; }; export type UpdateHealthyBowlAnimalGroupInput = { color?: InputMaybe<Scalars['String']['input']>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; kind?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; smartRule?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateHealthyBowlAuctionInput = { bidIncrement?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; endTime?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; marketplaceProductId?: InputMaybe<Scalars['ID']['input']>; reservePrice?: InputMaybe<Scalars['Float']['input']>; startTime?: InputMaybe<Scalars['String']['input']>; startingPrice?: InputMaybe<Scalars['Float']['input']>; /** Set to live to open bidding, or cancelled to cancel the auction. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlBankAccountInput = { accountNumber?: InputMaybe<Scalars['String']['input']>; bankName?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; ledgerAccountId?: InputMaybe<Scalars['ID']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlBedInput = { area?: InputMaybe<Scalars['Float']['input']>; /** GeoJSON polygon for the bed's map boundary. Optional. */ boundary?: InputMaybe<Scalars['JSON']['input']>; context: ContextInput; cropId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; orientationDeg?: InputMaybe<Scalars['Float']['input']>; plantCount?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; widthM?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHealthyBowlConsultationStatusInput = { context: ContextInput; id: Scalars['ID']['input']; status: ConsultationStatus; }; export type UpdateHealthyBowlContactInput = { address?: InputMaybe<Scalars['String']['input']>; context: ContextInput; email?: InputMaybe<Scalars['String']['input']>; gstin?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlCostCenterInput = { context: ContextInput; id: Scalars['ID']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; kind?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; season?: InputMaybe<Scalars['String']['input']>; yieldQuantity?: InputMaybe<Scalars['Float']['input']>; yieldUnit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlCrewInput = { context: ContextInput; id: Scalars['ID']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; leadWorkerId?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; workerIds?: InputMaybe<Array<Scalars['ID']['input']>>; }; export type UpdateHealthyBowlCsaDeliveryInput = { context: ContextInput; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; /** * SCHEDULED | PACKED | DISPATCHED | AWAITING_COLLECTION | DELIVERED | SKIPPED. * * For a collected box, prefer `collectHealthyBowlCsaPickupBox` over setting DELIVERED here — it * checks the box actually reached the stand first, so a handover cannot be recorded for something * still on the farm. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlCsaMembershipInput = { context: ContextInput; deliveryAddress?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; lat?: InputMaybe<Scalars['Float']['input']>; lng?: InputMaybe<Scalars['Float']['input']>; memberEmail?: InputMaybe<Scalars['String']['input']>; memberName?: InputMaybe<Scalars['String']['input']>; memberPhone?: InputMaybe<Scalars['String']['input']>; pausedUntil?: InputMaybe<Scalars['String']['input']>; /** ACTIVE | PAUSED | CANCELLED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlCsaPickupLocationInput = { /** Pass null to CLEAR the address. Omit to leave it alone — the two are different requests. */ address?: InputMaybe<Scalars['JSON']['input']>; /** Pass null to clear the cap back to uncapped. */ capacity?: InputMaybe<Scalars['Int']['input']>; contactName?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; context: ContextInput; hoursNote?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; lat?: InputMaybe<Scalars['Float']['input']>; lng?: InputMaybe<Scalars['Float']['input']>; /** * Renaming carries onto the boxes not yet shipped (SCHEDULED, PACKED), so the delivery list and the * manifest stop naming the same box's stand differently. Boxes already DISPATCHED or handed over * keep the old name: where a box went, and what it was called at the time, is a fact about the past. */ name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** Replaces the whole list — windows are edited as a set, never patched one at a time. */ openingWindows?: InputMaybe<Array<HealthyBowlPickupWindowInput>>; /** * ACTIVE only — this un-archives a location, which strands nobody. * * ARCHIVED is REFUSED here; use `archiveHealthyBowlCsaPickupLocation`. It makes the identical * transition, but it is the only path that checks nobody is still assigned AND that requires the * `delete` permission. Accepting the value here made both optional: anyone holding `update` could * retire a stand out from under the members collecting at it, one field away from the guard. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlCsaPlanInput = { boxSize?: InputMaybe<Scalars['String']['input']>; capacity?: InputMaybe<Scalars['Int']['input']>; contents?: InputMaybe<Array<CsaBoxItemInput>>; context: ContextInput; deliveryDayOfWeek?: InputMaybe<Scalars['Int']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['String']['input']>; frequency?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; price?: InputMaybe<Scalars['Float']['input']>; /** ACTIVE | PAUSED | ARCHIVED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlDeliveryStopInput = { context: ContextInput; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; sequence?: InputMaybe<Scalars['Int']['input']>; /** PENDING | ARRIVED | DELIVERED | FAILED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlDiseaseWarningRuleInput = { advisoryMessage?: InputMaybe<Scalars['String']['input']>; alertType?: InputMaybe<Scalars['String']['input']>; appliesToCrops?: InputMaybe<Array<Scalars['String']['input']>>; conditions: Array<DiseaseWarningRuleConditionInput>; context: ContextInput; evaluateUsing?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; logicalOperator: Scalars['String']['input']; name?: InputMaybe<Scalars['String']['input']>; notifyInApp?: InputMaybe<Scalars['Boolean']['input']>; /** Set to active / paused to resume or pause the rule (also enables/disables the FluidGrids cron). */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlFieldInput = { area?: InputMaybe<Scalars['Float']['input']>; /** GeoJSON polygon for the field's map boundary (Field Map, Phase 1). Optional. */ boundary?: InputMaybe<Scalars['JSON']['input']>; context: ContextInput; crops?: InputMaybe<Array<Scalars['String']['input']>>; /** Per-type growing geometry — see `Field.growGeometry`. Omit to leave unchanged. */ growGeometry?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; imageIds?: InputMaybe<Array<Scalars['String']['input']>>; irrigationType?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; organicCertified?: InputMaybe<Scalars['Boolean']['input']>; soilType?: InputMaybe<Scalars['String']['input']>; /** Status. Must be one of: ACTIVE, FALLOW, PREPARATION (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<GrowLocationType>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlInputPlanInput = { context: ContextInput; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; season?: InputMaybe<Scalars['String']['input']>; /** ACTIVE | ARCHIVED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlInputPlanItemInput = { allocatedQty?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; cropName?: InputMaybe<Scalars['String']['input']>; fieldName?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; inputType?: InputMaybe<Scalars['String']['input']>; plannedBudget?: InputMaybe<Scalars['Float']['input']>; plannedQty?: InputMaybe<Scalars['Float']['input']>; unit?: InputMaybe<Scalars['String']['input']>; unitCost?: InputMaybe<Scalars['Float']['input']>; usedQty?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHealthyBowlInsuranceClaimInput = { approvedAmount?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; status?: InputMaybe<Scalars['String']['input']>; surveyorName?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlInsurancePolicyInput = { context: ContextInput; id: Scalars['ID']['input']; insurer?: InputMaybe<Scalars['String']['input']>; policyNumber?: InputMaybe<Scalars['String']['input']>; /** SUBMITTED | UNDER_REVIEW | ENROLLED | REJECTED | EXPIRED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlIrrigationAutomationInput = { autoTaskEnabled?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; id: Scalars['ID']['input']; notifyInApp?: InputMaybe<Scalars['Boolean']['input']>; rainProbThreshold?: InputMaybe<Scalars['Int']['input']>; skipIfRain?: InputMaybe<Scalars['Boolean']['input']>; soilThresholdPct?: InputMaybe<Scalars['Int']['input']>; /** Set to active / paused to resume or pause the rule (also enables/disables the cron). */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlIrrigationScheduleInput = { context: ContextInput; cropId?: InputMaybe<Scalars['ID']['input']>; durationMin?: InputMaybe<Scalars['Int']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; frequencyDays?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; method?: InputMaybe<Scalars['String']['input']>; startTime?: InputMaybe<Scalars['String']['input']>; /** Set to active / paused to resume or pause the schedule. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlLabourEntryInput = { context: ContextInput; costCenterId: Scalars['ID']['input']; crewId?: InputMaybe<Scalars['ID']['input']>; cropId?: InputMaybe<Scalars['ID']['input']>; date?: InputMaybe<Scalars['String']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; hours?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; note?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; rateAmount?: InputMaybe<Scalars['Float']['input']>; rateType?: InputMaybe<Scalars['String']['input']>; taskId?: InputMaybe<Scalars['String']['input']>; workerId: Scalars['ID']['input']; }; export type UpdateHealthyBowlLedgerAccountInput = { accountType?: InputMaybe<Scalars['String']['input']>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateHealthyBowlLoanFacilitationInput = { context: ContextInput; id: Scalars['ID']['input']; interestRatePct?: InputMaybe<Scalars['Float']['input']>; /** SHARED | REVIEWING | APPROVED | DECLINED | REVOKED. DISBURSED/REPAID are server-managed. */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlMapFeatureInput = { color?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** GeoJSON point/line/polygon geometry. Optional on update. */ geometry?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; /** One of: BUFFER_ZONE, IRRIGATION_LINE, WATER_SOURCE, BUILDING, GREENHOUSE, ENCLOSURE, HAZARD, CUSTOM. */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlNurseryBatchInput = { batchCode?: InputMaybe<Scalars['String']['input']>; context: ContextInput; cropId?: InputMaybe<Scalars['ID']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; germinationPct?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; quantity?: InputMaybe<Scalars['Int']['input']>; seedLotId?: InputMaybe<Scalars['ID']['input']>; sowDate?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; trayCount?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateHealthyBowlPlantCatalogInput = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; daysToMaturity?: InputMaybe<Scalars['Int']['input']>; /** Germination rate as a fraction in [0, 1] (e.g. 0.85 = 85%). */ germinationRate?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; organicSuitable?: InputMaybe<Scalars['Boolean']['input']>; plantSpacingCm?: InputMaybe<Scalars['Int']['input']>; rowSpacingCm?: InputMaybe<Scalars['Int']['input']>; seedsPerCell?: InputMaybe<Scalars['Int']['input']>; seedsPerGram?: InputMaybe<Scalars['Int']['input']>; variety?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlPlantingActivityInput = { activityDate?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; laborHours?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; type?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlPriceAlertRuleInput = { commodity?: InputMaybe<Scalars['String']['input']>; comparator?: InputMaybe<Scalars['String']['input']>; context: ContextInput; enabled?: InputMaybe<Scalars['Boolean']['input']>; id: Scalars['ID']['input']; marketName?: InputMaybe<Scalars['String']['input']>; threshold?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHealthyBowlProductInput = { batchNumber?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** * GS1 AI (01) GTIN. Accepts GTIN-8/12/13/14 with or without spaces/hyphens — a 13-digit EAN off * a packet is left-padded to 14. Rejected with BAD_USER_INPUT when the mod-10 check digit fails. * Pass an empty string to CLEAR it. */ gs1Gtin?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; minStock?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; organicCertified?: InputMaybe<Scalars['Boolean']['input']>; price?: InputMaybe<Scalars['Float']['input']>; shelfLife?: InputMaybe<Scalars['Int']['input']>; sku?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; stock?: InputMaybe<Scalars['Int']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlSeedLotInput = { certExpiry?: InputMaybe<Scalars['String']['input']>; certStandard?: InputMaybe<Scalars['String']['input']>; certifiedOrganic?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; cropVariety?: InputMaybe<Scalars['String']['input']>; fileIds?: InputMaybe<Array<Scalars['String']['input']>>; id: Scalars['ID']['input']; lotNumber?: InputMaybe<Scalars['String']['input']>; purchaseDate?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; supplierId?: InputMaybe<Scalars['ID']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlStorageLocationInput = { capacity?: InputMaybe<Scalars['Float']['input']>; capacityUnit?: InputMaybe<Scalars['String']['input']>; context: ContextInput; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; storageType?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlStorageLotInput = { context: ContextInput; expiryDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; lotCode?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; produce?: InputMaybe<Scalars['String']['input']>; /** STORED | DEPLETED | EXPIRED */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlSupplierInput = { address?: InputMaybe<Scalars['String']['input']>; certification?: InputMaybe<Scalars['String']['input']>; comProfileId?: InputMaybe<Scalars['String']['input']>; contactPerson?: InputMaybe<Scalars['String']['input']>; context: ContextInput; directoryId?: InputMaybe<Scalars['String']['input']>; email?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; location?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; phone?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlTransactionInput = { amount?: InputMaybe<Scalars['Float']['input']>; category?: InputMaybe<Scalars['String']['input']>; /** * BOFF-6116 — CRM supplier link. Omit to leave unchanged; pass null or an empty string to clear it; * pass a live supplier id from the current workspace to set it. */ contactId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; /** * BOFF-6072 — cost-center attribution. Omit to leave unchanged; pass null or an empty string to clear * the tag; pass an existing cost-center id to set it. */ costCenterId?: InputMaybe<Scalars['ID']['input']>; /** * BOFF-6136 — crop/field attribution. Omit to leave unchanged; pass null or an empty string to * clear the link; pass an existing crop/field id (in this workspace) to set it. Clearing cropId * also clears an auto-attached (crop-derived) costCenterId — a manually chosen one is untouched. */ cropId?: InputMaybe<Scalars['ID']['input']>; date?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; fieldId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; paymentMethod?: InputMaybe<Scalars['String']['input']>; /** Omit to preserve, pass null to clear, or pass a stable Files id to set/replace. */ receiptFileId?: InputMaybe<Scalars['ID']['input']>; reference?: InputMaybe<Scalars['String']['input']>; /** Omit to preserve, pass [] to convert to unsplit, or pass rows to atomically replace allocations. */ splits?: InputMaybe<Array<HealthyBowlTransactionSplitInput>>; status?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: INCOME, EXPENSE (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateHealthyBowlWholesaleOrderInput = { buyerContact?: InputMaybe<Scalars['String']['input']>; buyerName?: InputMaybe<Scalars['String']['input']>; context: ContextInput; expectedDeliveryDate?: InputMaybe<Scalars['String']['input']>; /** CONFIRMED | PACKING | FULFILLED | CANCELLED */ fulfilmentStatus?: InputMaybe<Scalars['String']['input']>; /** WholesaleOrderDetail id. */ id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; pricePerKg?: InputMaybe<Scalars['Float']['input']>; quantityKg?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateHealthyBowlWorkerInput = { context: ContextInput; dailyWage?: InputMaybe<Scalars['Float']['input']>; employmentType?: InputMaybe<Scalars['String']['input']>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; isActive?: InputMaybe<Scalars['Boolean']['input']>; linkedActorId?: InputMaybe<Scalars['String']['input']>; name: Scalars['String']['input']; phone?: InputMaybe<Scalars['String']['input']>; piecePrice?: InputMaybe<Scalars['Float']['input']>; skills?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateIcsGroupInput = { certificationId?: InputMaybe<Scalars['ID']['input']>; code?: InputMaybe<Scalars['String']['input']>; contactPerson?: InputMaybe<Scalars['String']['input']>; contactPhone?: InputMaybe<Scalars['String']['input']>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; name?: InputMaybe<Scalars['String']['input']>; registrationNumber?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateIcsGrowerInput = { active?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; conversionStatus?: InputMaybe<Scalars['String']['input']>; district?: InputMaybe<Scalars['String']['input']>; fullName?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; memberCode?: InputMaybe<Scalars['String']['input']>; mobile?: InputMaybe<Scalars['String']['input']>; plotAreaHectares?: InputMaybe<Scalars['Float']['input']>; plots?: InputMaybe<Array<IcsPlotInput>>; primaryCrop?: InputMaybe<Scalars['String']['input']>; riskLevel?: InputMaybe<Scalars['String']['input']>; village?: InputMaybe<Scalars['String']['input']>; }; export type UpdateIncidentInput = { assignedTo?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Priority>; status?: InputMaybe<IncidentStatus>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateInstalledPackageInput = { bindings?: InputMaybe<Scalars['JSON']['input']>; installedVersion?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; mode?: InputMaybe<InstallMode>; pinnedByEnv?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateIntegrationInput = { apiKey?: InputMaybe<Scalars['String']['input']>; apiSecret?: InputMaybe<Scalars['String']['input']>; config?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<IntegrationStatus>; }; export type UpdateInventoryItemInput = { allocated?: InputMaybe<Scalars['Int']['input']>; available?: InputMaybe<Scalars['Int']['input']>; context?: InputMaybe<ContextInput>; damaged?: InputMaybe<Scalars['Int']['input']>; locationId?: InputMaybe<Scalars['ID']['input']>; onHand?: InputMaybe<Scalars['Int']['input']>; reorderPoint?: InputMaybe<Scalars['Int']['input']>; safetyStock?: InputMaybe<Scalars['Int']['input']>; unitCost?: InputMaybe<Scalars['Float']['input']>; }; /** Input for updating an existing invitation */ export type UpdateInvitationInput = { /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** Updated expiration timestamp */ expiresAt?: InputMaybe<Scalars['DateTime']['input']>; /** Workspace projects to add the invitee to upon acceptance */ projectIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Array of role IDs to assign */ roleIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Updated status */ status?: InputMaybe<InviteStatus>; /** Universal entity-owned tags to replace on the invitation */ tags?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateInvoiceInput = { amount?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; customer?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; items?: InputMaybe<Array<Scalars['JSON']['input']>>; /** Status. Must be one of: DRAFT, SENT, PAID, OVERDUE (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; tax?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateKnowledgeArticleInput = { content?: InputMaybe<Scalars['String']['input']>; relatedAssetId?: InputMaybe<Scalars['ID']['input']>; relatedIncidentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<KnowledgeArticleStatus>; summary?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateKnowledgeBaseInput = { chunkOverlap?: InputMaybe<Scalars['Int']['input']>; chunkSize?: InputMaybe<Scalars['Int']['input']>; chunkingStrategy?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateLocationEntryInput = { accuracy?: InputMaybe<Scalars['Float']['input']>; address?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; duration?: InputMaybe<Scalars['Int']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; geofenceId?: InputMaybe<Scalars['ID']['input']>; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; }; export type UpdateLogStreamDestinationInput = { config?: InputMaybe<Scalars['JSON']['input']>; endpoint?: InputMaybe<Scalars['String']['input']>; eventFilters?: InputMaybe<Array<LogStreamEventType>>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * WEBHOOK only. Pass null-omit to leave unchanged; pass an empty string to * clear a previously configured secret. */ secret?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMcpConnectionInput = { config?: InputMaybe<Scalars['JSON']['input']>; credentials?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMcpToolInput = { riskLevel?: InputMaybe<McpToolRiskLevel>; }; export type UpdateMaintenanceContractInput = { /** Replaces the covered-asset set outright when supplied. */ assetIds?: InputMaybe<Array<Scalars['ID']['input']>>; autoRenew?: InputMaybe<Scalars['Boolean']['input']>; billingCycle?: InputMaybe<Scalars['String']['input']>; contractRef?: InputMaybe<Scalars['String']['input']>; contractValue?: InputMaybe<Scalars['Float']['input']>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; renewalNoticeDays?: InputMaybe<Scalars['Int']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; vendorName?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMaintenancePlanInput = { checklistTemplate?: InputMaybe<Array<Scalars['JSONObject']['input']>>; description?: InputMaybe<Scalars['String']['input']>; estimatedCost?: InputMaybe<Scalars['Float']['input']>; intervalDays?: InputMaybe<Scalars['Int']['input']>; intervalMeter?: InputMaybe<Scalars['Int']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; leadTimeDays?: InputMaybe<Scalars['Int']['input']>; priority?: InputMaybe<Priority>; startAt?: InputMaybe<Scalars['DateTime']['input']>; startMeter?: InputMaybe<Scalars['Int']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMaintenanceRecordInput = { actualCost?: InputMaybe<Scalars['Float']['input']>; description?: InputMaybe<Scalars['String']['input']>; estimatedCost?: InputMaybe<Scalars['Float']['input']>; priority?: InputMaybe<Priority>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMarketplaceOrderInput = { channel?: InputMaybe<Scalars['String']['input']>; context: ContextInput; deliveryDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; paymentStatus?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMarketplaceProductInput = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; image?: InputMaybe<Scalars['String']['input']>; location?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; organicCertified?: InputMaybe<Scalars['Boolean']['input']>; price?: InputMaybe<Scalars['Float']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; reviews?: InputMaybe<Scalars['Int']['input']>; seller?: InputMaybe<Scalars['String']['input']>; sellerRating?: InputMaybe<Scalars['Float']['input']>; /** Livestock withdrawal gate (BOFF-6186): set/replace the source animal for animal-derived produce. */ sourceAnimalId?: InputMaybe<Scalars['ID']['input']>; /** MILK | MEAT | EGGS — required together with sourceAnimalId (blocks the listing while under withdrawal). */ sourceProduceType?: InputMaybe<Scalars['String']['input']>; stock?: InputMaybe<Scalars['Int']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMedicationLibraryItemInput = { className?: InputMaybe<Scalars['String']['input']>; context: ContextInput; eggsWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; meatWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; milkWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; route?: InputMaybe<Scalars['String']['input']>; species?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateMedicationTreatmentInput = { administeredBy?: InputMaybe<Scalars['String']['input']>; className?: InputMaybe<Scalars['String']['input']>; context: ContextInput; dose?: InputMaybe<Scalars['String']['input']>; eggsWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; id: Scalars['ID']['input']; meatWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; medicationName?: InputMaybe<Scalars['String']['input']>; milkWithdrawalDays?: InputMaybe<Scalars['Int']['input']>; notes?: InputMaybe<Scalars['String']['input']>; route?: InputMaybe<Scalars['String']['input']>; treatmentDate?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMeetingInput = { calendarEventId?: InputMaybe<Scalars['String']['input']>; cost?: InputMaybe<Scalars['Float']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; meetingType?: InputMaybe<MeetingType>; notes?: InputMaybe<Scalars['String']['input']>; recordingUrl?: InputMaybe<Scalars['String']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMentorInput = { availability?: InputMaybe<Scalars['String']['input']>; context: ContextInput; experience?: InputMaybe<Scalars['Int']['input']>; focusAreas?: InputMaybe<Array<Scalars['String']['input']>>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; languages?: InputMaybe<Array<Scalars['String']['input']>>; location?: InputMaybe<Scalars['String']['input']>; mentees?: InputMaybe<Scalars['Int']['input']>; mentoringSince?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; rating?: InputMaybe<Scalars['Float']['input']>; reviews?: InputMaybe<Scalars['Int']['input']>; specialization?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMetadataInput = { isPublic?: InputMaybe<Scalars['Boolean']['input']>; value?: InputMaybe<Scalars['String']['input']>; valueType?: InputMaybe<MetadataValueType>; }; export type UpdateMetricInput = { aggregationField?: InputMaybe<Scalars['String']['input']>; aggregationFieldType?: InputMaybe<MetricAggregationField>; customSql?: InputMaybe<Scalars['String']['input']>; defaultTimeGrain?: InputMaybe<TimeGrain>; description?: InputMaybe<Scalars['String']['input']>; eventName?: InputMaybe<Scalars['String']['input']>; filters?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<MetricType>; }; /** Changes to the customer notification settings. Omitted fields keep their value. */ export type UpdateMtwCustomerNotificationSettingsInput = { emailEnabled?: InputMaybe<Scalars['Boolean']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; events?: InputMaybe<Array<MtwCustomerNotificationEvent>>; smsEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; /** * Changes to the workspace's MoveTheWheels defaults. Omitted fields keep their * current value. `timezone: null` (or an empty string) clears the time zone so * each viewer sees their own local time. */ export type UpdateMtwModuleSettingsInput = { defaultCurrency?: InputMaybe<Scalars['String']['input']>; defaultDeliveryWindowHours?: InputMaybe<Scalars['Int']['input']>; defaultOrderPriority?: InputMaybe<DeliveryPriority>; distanceUnit?: InputMaybe<MtwDistanceUnit>; timezone?: InputMaybe<Scalars['String']['input']>; weightUnit?: InputMaybe<MtwWeightUnit>; }; export type UpdateMyAssistantConversationInput = { archived?: InputMaybe<Scalars['Boolean']['input']>; /** Exactly one of clientConversationId / conversationId (legacy rows). */ clientConversationId?: InputMaybe<Scalars['ID']['input']>; conversationId?: InputMaybe<Scalars['ID']['input']>; pinned?: InputMaybe<Scalars['Boolean']['input']>; /** The owning product. A renamed product's spellings (botlit / botmanor) are one history scope. */ productId: Scalars['String']['input']; /** Rename: whitespace collapsed and trimmed, then 1-80 characters (code points). Never recorded in audit records. */ title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateMyAssistantConversationPayload = { __typename?: 'UpdateMyAssistantConversationPayload'; conversation: AssistantHistoryConversation; outcome: AssistantHistoryUpdateOutcome; }; export type UpdateNavViewInput = { homePath?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; visibleItems?: InputMaybe<Array<Scalars['String']['input']>>; workspaceId: Scalars['String']['input']; }; export type UpdateNotificationPreferencesInput = { agentOffline?: InputMaybe<Scalars['Boolean']['input']>; digestFrequency?: InputMaybe<Scalars['String']['input']>; emailDigest?: InputMaybe<Scalars['Boolean']['input']>; securityFinding?: InputMaybe<Scalars['Boolean']['input']>; sessionError?: InputMaybe<Scalars['Boolean']['input']>; shareReceived?: InputMaybe<Scalars['Boolean']['input']>; vibeStatusChange?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateNotificationSettingsInput = { conversationId: Scalars['ID']['input']; notificationLevel: NotificationLevel; }; export type UpdateParserInput = { description?: InputMaybe<Scalars['String']['input']>; expression?: InputMaybe<Scalars['String']['input']>; inputSinkKey?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; outputKey?: InputMaybe<Scalars['String']['input']>; /** Optional target widget ID (v2.1 - parser pushes output to this widget) */ outputWidgetId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<ParserStatus>; ttl?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateParticipantRoleInput = { conversationId: Scalars['ID']['input']; role: ParticipantRole; userId: Scalars['ID']['input']; }; export type UpdatePestIssueInput = { context: ContextInput; cropAffected?: InputMaybe<Scalars['String']['input']>; detectedDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; pestName?: InputMaybe<Scalars['String']['input']>; /** Severity. Must be one of: LOW, MEDIUM, HIGH, CRITICAL (case-insensitive). */ severity?: InputMaybe<Scalars['String']['input']>; /** Status. Must be one of: ACTIVE, TREATING, RESOLVED, MONITORING (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; treatment?: InputMaybe<Scalars['String']['input']>; /** Type. Must be one of: INSECT, DISEASE, WEED, FUNGUS (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdatePipelineInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** Key of the derived DataSink that receives this pipeline's output */ outputSinkKey?: InputMaybe<Scalars['String']['input']>; stages?: InputMaybe<Array<UpdatePipelineStageInput>>; status?: InputMaybe<PipelineStatus>; }; export type UpdatePipelineStageInput = { description?: InputMaybe<Scalars['String']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; expression?: InputMaybe<Scalars['String']['input']>; fallbackValue?: InputMaybe<Scalars['JSON']['input']>; id?: InputMaybe<Scalars['ID']['input']>; inputKey?: InputMaybe<Scalars['String']['input']>; onError?: InputMaybe<StageErrorHandling>; outputKey?: InputMaybe<Scalars['String']['input']>; parserId?: InputMaybe<Scalars['ID']['input']>; parserName?: InputMaybe<Scalars['String']['input']>; parserType?: InputMaybe<ParserType>; }; export type UpdatePlantingPlanInput = { /** Optional loose link to a Bed (no FK). */ bedId?: InputMaybe<Scalars['ID']['input']>; bedWidthM?: InputMaybe<Scalars['Float']['input']>; context: ContextInput; cropId?: InputMaybe<Scalars['ID']['input']>; /** BOFF-6100 — server-derived density on bed fields; caller fallback only for non-bed/no-area fields. */ density?: InputMaybe<Scalars['Float']['input']>; endDate?: InputMaybe<Scalars['String']['input']>; expectedYield?: InputMaybe<Scalars['Float']['input']>; fertilizers?: InputMaybe<Array<Scalars['String']['input']>>; fieldId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; pathWidthM?: InputMaybe<Scalars['Float']['input']>; /** Optional loose link to a PlantCatalog entry (no FK). */ plantCatalogId?: InputMaybe<Scalars['ID']['input']>; /** Optional geometry. Supplying any of these causes the server to derive all plan figures together. */ plantSpacingCm?: InputMaybe<Scalars['Float']['input']>; /** I-5 seed-rate result — total plants required. */ plantsNeeded?: InputMaybe<Scalars['Int']['input']>; priority?: InputMaybe<Scalars['String']['input']>; rowSpacingCm?: InputMaybe<Scalars['Float']['input']>; /** Growing season. Must be one of: KHARIF, RABI, ZAID, PERENNIAL (case-insensitive). */ season?: InputMaybe<Scalars['String']['input']>; /** I-5 seed-rate result — grams of seed required. */ seedGrams?: InputMaybe<Scalars['Float']['input']>; seedRequired?: InputMaybe<Scalars['Float']['input']>; /** I-5 seed-rate result — seedlings/transplants to raise. Server-derived when this update touches planting inputs. */ seedlingsToRaise?: InputMaybe<Scalars['Int']['input']>; /** Sow/nursery-start date (ISO); distinct from the transplant startDate. */ sowDate?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['String']['input']>; /** Status. Must be one of: DRAFT, APPROVED, ACTIVE, COMPLETED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; /** I-7 — transplant date (ISO): nursery seedlings moved out to the bed. */ transplantDate?: InputMaybe<Scalars['String']['input']>; weatherRisk?: InputMaybe<Scalars['String']['input']>; }; export type UpdatePolicyInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<PolicyType>; visibility?: InputMaybe<Visibility>; }; export type UpdatePolicyReferenceInput = { action?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; opaPackage?: InputMaybe<Scalars['String']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; resourceType?: InputMaybe<Scalars['String']['input']>; }; export type UpdatePomodoroGoalInput = { endDate?: InputMaybe<Scalars['DateTime']['input']>; period?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; target?: InputMaybe<Scalars['Int']['input']>; type?: InputMaybe<PomodoroGoalType>; }; export type UpdatePomodoroSettingsInput = { autoStartBreaks?: InputMaybe<Scalars['Boolean']['input']>; autoStartFocus?: InputMaybe<Scalars['Boolean']['input']>; focusDuration?: InputMaybe<Scalars['Int']['input']>; longBreakDuration?: InputMaybe<Scalars['Int']['input']>; notificationsEnabled?: InputMaybe<Scalars['Boolean']['input']>; sessionsBeforeLongBreak?: InputMaybe<Scalars['Int']['input']>; shortBreakDuration?: InputMaybe<Scalars['Int']['input']>; soundEnabled?: InputMaybe<Scalars['Boolean']['input']>; workspaceId: Scalars['ID']['input']; }; export type UpdatePreferencesInput = { codeFont?: InputMaybe<Scalars['String']['input']>; codeFontSize?: InputMaybe<Scalars['Int']['input']>; /** * Per-user-per-Vibe default agent. See UserPreferences.defaultAgentForVibe. * Same overwrite semantics as vibeDetailTabOrder. */ defaultAgentForVibe?: InputMaybe<Scalars['JSON']['input']>; /** * Preferred IDE command for host-editor launches. See * UserPreferences.preferredIdeCommand. Pass `null` to clear. */ preferredIdeCommand?: InputMaybe<Scalars['String']['input']>; /** * Per-user override for session-history recording (F2). `null` inherits the * workspace default; `true`/`false` opt the user explicitly in/out. */ sessionHistoryRecording?: InputMaybe<Scalars['Boolean']['input']>; sidebarCollapsed?: InputMaybe<Scalars['Boolean']['input']>; theme?: InputMaybe<Scalars['String']['input']>; uiDensity?: InputMaybe<Scalars['String']['input']>; /** * Per-user-per-mountPoint-per-context tab ordering. See * UserPreferences.vibeDetailTabOrder. Send the entire JSON object to * overwrite; the resolver does NOT merge below the top-level keys. */ vibeDetailTabOrder?: InputMaybe<Scalars['JSON']['input']>; /** * Per-Vibe IDE override map. See UserPreferences.vibeIdeOverrides. * Same overwrite semantics as vibeDetailTabOrder. */ vibeIdeOverrides?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateProductionRecordInput = { animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; date?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; notes?: InputMaybe<Scalars['String']['input']>; quality?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Float']['input']>; type?: InputMaybe<Scalars['String']['input']>; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateProfileInput = { avatar?: InputMaybe<Scalars['String']['input']>; bio?: InputMaybe<Scalars['String']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; language?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating an existing project */ export type UpdateProjectInput = { /** Whether the project is archived */ archived?: InputMaybe<Scalars['Boolean']['input']>; /** Project configuration and settings */ config?: InputMaybe<Scalars['JSON']['input']>; /** Optional human-readable description (BOFF-9202) */ description?: InputMaybe<Scalars['String']['input']>; /** Unique project key/code */ key?: InputMaybe<Scalars['String']['input']>; /** Display name of the project */ name?: InputMaybe<Scalars['String']['input']>; /** Current operational status */ status?: InputMaybe<ProjectStatus>; /** Universal entity-owned tags to replace on the project */ tags?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdatePromptTemplateInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; description?: InputMaybe<Scalars['String']['input']>; exampleInputs?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; templateText?: InputMaybe<Scalars['String']['input']>; variables?: InputMaybe<Scalars['JSON']['input']>; version?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<Visibility>; }; export type UpdateProviderPluginInput = { apiVersion?: InputMaybe<Scalars['String']['input']>; availableScopes?: InputMaybe<Scalars['JSON']['input']>; baseUrl?: InputMaybe<Scalars['String']['input']>; color?: InputMaybe<Scalars['String']['input']>; configSchema?: InputMaybe<Scalars['JSON']['input']>; defaultScopes?: InputMaybe<Array<Scalars['String']['input']>>; description?: InputMaybe<Scalars['String']['input']>; displayOrder?: InputMaybe<Scalars['Int']['input']>; docsUrl?: InputMaybe<Scalars['String']['input']>; icon?: InputMaybe<Scalars['String']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; oauthConfig?: InputMaybe<Scalars['JSON']['input']>; pluginAuthor?: InputMaybe<Scalars['String']['input']>; pluginRepository?: InputMaybe<Scalars['String']['input']>; pluginVersion?: InputMaybe<Scalars['String']['input']>; rateLimitConfig?: InputMaybe<Scalars['JSON']['input']>; supportedFeatures?: InputMaybe<Array<Scalars['String']['input']>>; website?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating RBAC configuration */ export type UpdateRbacConfigInput = { description?: InputMaybe<Scalars['String']['input']>; key: Scalars['String']['input']; scopeId: Scalars['String']['input']; value: Scalars['String']['input']; valueType?: InputMaybe<Scalars['String']['input']>; }; export type UpdateRecipeInput = { category?: InputMaybe<Scalars['String']['input']>; context: ContextInput; costPerUnit?: InputMaybe<Scalars['Float']['input']>; id: Scalars['ID']['input']; ingredients?: InputMaybe<Array<Scalars['String']['input']>>; name?: InputMaybe<Scalars['String']['input']>; processingTime?: InputMaybe<Scalars['Int']['input']>; productName?: InputMaybe<Scalars['String']['input']>; shelfLife?: InputMaybe<Scalars['Int']['input']>; steps?: InputMaybe<Array<Scalars['String']['input']>>; yieldQuantity?: InputMaybe<Scalars['Float']['input']>; yieldUnit?: InputMaybe<Scalars['String']['input']>; }; export type UpdateReportInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; parameters?: InputMaybe<Scalars['JSON']['input']>; sections?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateReportScheduleInput = { cronExpression?: InputMaybe<Scalars['String']['input']>; deliveryChannels?: InputMaybe<Scalars['JSON']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type UpdateRepositorySecurityConfigInput = { configYamlEquivalent?: InputMaybe<Scalars['JSON']['input']>; enabledStages?: InputMaybe<Array<SecurityStage>>; pluginAssignments?: InputMaybe<Scalars['JSON']['input']>; policyLevel?: InputMaybe<SecurityPolicyLevel>; }; export type UpdateResourceBookingInput = { endTime?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; notes?: InputMaybe<Scalars['String']['input']>; quantity?: InputMaybe<Scalars['Int']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; }; /** Input for updating a registered resource */ export type UpdateResourceInput = { metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ownerId?: InputMaybe<Scalars['String']['input']>; ownerType?: InputMaybe<ActorType>; parentResourceId?: InputMaybe<Scalars['String']['input']>; }; export type UpdateResourcePlanInput = { context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; name?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateRetrievalProfileInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; citationFormat?: InputMaybe<Scalars['String']['input']>; citationsRequired?: InputMaybe<Scalars['Boolean']['input']>; description?: InputMaybe<Scalars['String']['input']>; hybridWeights?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; minRelevanceScore?: InputMaybe<Scalars['Float']['input']>; minSources?: InputMaybe<Scalars['Int']['input']>; multiHop?: InputMaybe<Scalars['String']['input']>; multiHopDepth?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; noAnswerIfBelowThreshold?: InputMaybe<Scalars['Boolean']['input']>; queryRewrite?: InputMaybe<Scalars['String']['input']>; reranker?: InputMaybe<Scalars['String']['input']>; rerankerModelPolicyId?: InputMaybe<Scalars['ID']['input']>; showSources?: InputMaybe<Scalars['Boolean']['input']>; snippetMaxChars?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<EntityStatus>; strategyMode?: InputMaybe<RetrievalMode>; tags?: InputMaybe<Array<Scalars['String']['input']>>; testQueries?: InputMaybe<Scalars['JSON']['input']>; topK?: InputMaybe<Scalars['Int']['input']>; visibility?: InputMaybe<Visibility>; }; /** Input for updating a role */ export type UpdateRoleInput = { description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; priority?: InputMaybe<Scalars['Int']['input']>; /** * Product this role belongs to (PlatformProduct.slug). Set to null only from * admin-app flows that intentionally manage cross-product platform roles. */ productSlug?: InputMaybe<Scalars['String']['input']>; }; export type UpdateRouteInput = { actualDistance?: InputMaybe<Scalars['Float']['input']>; actualDuration?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; driverId?: InputMaybe<Scalars['ID']['input']>; estimatedDistance?: InputMaybe<Scalars['Float']['input']>; estimatedDuration?: InputMaybe<Scalars['Float']['input']>; fuelCost?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; shipmentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<RouteStatus>; vehicleId?: InputMaybe<Scalars['ID']['input']>; waypoints?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateRuleSetInput = { definition?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** The `version` the editor loaded. The save is refused when the rule set was saved since. */ expectedVersion?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; sampleInput?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateSandboxConfigInput = { allowedTemplates?: InputMaybe<Array<SandboxTemplate>>; context: ContextInput; defaultCpuLimit?: InputMaybe<Scalars['String']['input']>; defaultCpuRequest?: InputMaybe<Scalars['String']['input']>; defaultMemoryLimit?: InputMaybe<Scalars['String']['input']>; defaultMemoryRequest?: InputMaybe<Scalars['String']['input']>; defaultTtlSeconds?: InputMaybe<Scalars['Int']['input']>; maxConcurrentPerUser?: InputMaybe<Scalars['Int']['input']>; maxConcurrentPerWorkspace?: InputMaybe<Scalars['Int']['input']>; maxTtlSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateSandboxTemplateInput = { allowedImages?: InputMaybe<Array<Scalars['String']['input']>>; config?: InputMaybe<Scalars['JSON']['input']>; containers?: InputMaybe<Array<ContainerSpecInput>>; context: ContextInput; description?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; isDefault?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; resources?: InputMaybe<SandboxResourcesInput>; storage?: InputMaybe<SandboxStorageInput>; ttlSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateSavedQueryInput = { description?: InputMaybe<Scalars['String']['input']>; isFavorite?: InputMaybe<Scalars['Boolean']['input']>; isShared?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; query?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateScheduleTemplateInput = { businessCalendarId?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; circuitBreaker?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; executorConfig?: InputMaybe<Scalars['JSON']['input']>; failurePolicy?: InputMaybe<Scalars['JSON']['input']>; isPublic?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; payloadTemplate?: InputMaybe<Scalars['JSON']['input']>; retryPolicy?: InputMaybe<Scalars['JSON']['input']>; scheduleConfig?: InputMaybe<Scalars['JSON']['input']>; }; /** Input for updating a scheduled comment */ export type UpdateScheduledCommentInput = { content?: InputMaybe<EntityCommentContentInput>; contentType?: InputMaybe<ContentType>; cronExpression?: InputMaybe<Scalars['String']['input']>; interval?: InputMaybe<Scalars['Int']['input']>; intervalUnit?: InputMaybe<Scalars['String']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; scheduleId: Scalars['ID']['input']; scheduleType?: InputMaybe<CommentScheduleType>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; visibility?: InputMaybe<CommentVisibility>; }; export type UpdateScheduledJobInput = { actionId?: InputMaybe<Scalars['String']['input']>; autoDisableAfter?: InputMaybe<Scalars['Int']['input']>; businessCalendarId?: InputMaybe<Scalars['String']['input']>; changeReason?: InputMaybe<Scalars['String']['input']>; circuitBreaker?: InputMaybe<Scalars['JSON']['input']>; cronExpression?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; executorConfig?: InputMaybe<Scalars['JSON']['input']>; failurePolicy?: InputMaybe<Scalars['JSON']['input']>; interval?: InputMaybe<Scalars['Int']['input']>; intervalUnit?: InputMaybe<Scalars['String']['input']>; maxOccurrences?: InputMaybe<Scalars['Int']['input']>; maxRetries?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; misfirePolicy?: InputMaybe<MisfirePolicy>; misfireThreshold?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; payloadTemplate?: InputMaybe<Scalars['JSON']['input']>; priority?: InputMaybe<SchedulePriority>; retryDelay?: InputMaybe<Scalars['Int']['input']>; retryPolicy?: InputMaybe<Scalars['JSON']['input']>; rrule?: InputMaybe<Scalars['String']['input']>; /** * Switch the schedule type in place (for example CRON to RRULE). The job keeps its * id, execution history, metadata and pause state; the expression fields that * belong to the previous type are cleared, and the new type's expression must be * supplied in the same update. */ scheduleType?: InputMaybe<ScheduleType>; scheduledAt?: InputMaybe<Scalars['DateTime']['input']>; secrets?: InputMaybe<Scalars['JSON']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<JobStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; timeWindows?: InputMaybe<Scalars['JSON']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type UpdateSchemeApplicationStatusInput = { context: ContextInput; /** * The government portal's reference for the application (max 128 characters). Omit to keep the * current value; send an empty string to clear it. */ externalReference?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; /** Officer-visible reason; applicant notes remain unchanged. */ remarks?: InputMaybe<Scalars['String']['input']>; /** SUBMITTED | UNDER_REVIEW | APPROVED | REJECTED | DISBURSED. */ status: Scalars['String']['input']; /** * Who is setting this status: OFFICER (default) or PORTAL_SYNC. PORTAL_SYNC is accepted only from a * service or app actor, so a person can never make an officer decision look portal-synced. */ statusSource?: InputMaybe<Scalars['String']['input']>; }; export declare enum UpdateScope { AllEvents = "ALL_EVENTS", ThisAndFuture = "THIS_AND_FUTURE", ThisEvent = "THIS_EVENT" } export type UpdateScorecardMetricInput = { /** Human-readable description */ description?: InputMaybe<Scalars['String']['input']>; /** Whether higher or lower values are better. */ direction?: InputMaybe<ScorecardMetricDirection>; /** Height of the iframe in pixels */ iframeHeight?: InputMaybe<Scalars['Int']['input']>; /** Optional iframe embed URL for custom visualization */ iframeUrl?: InputMaybe<Scalars['String']['input']>; /** Flexible key-value metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Metric display name */ name?: InputMaybe<Scalars['String']['input']>; /** Guidance shown when the metric is WARNING or FAILING. */ remediation?: InputMaybe<Scalars['String']['input']>; /** Pin the status manually. Omit to auto-derive from value vs threshold. */ status?: InputMaybe<ScorecardMetricStatus>; /** Target threshold for passing */ threshold?: InputMaybe<Scalars['Float']['input']>; tier?: InputMaybe<ScorecardTier>; /** Classification of this metric */ type?: InputMaybe<ScorecardMetricType>; /** Unit of measurement */ unit?: InputMaybe<Scalars['String']['input']>; /** Current metric value */ value?: InputMaybe<Scalars['Float']['input']>; /** Relative weight in the overall score. */ weight?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateSecretInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; rotationConfig?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<SecretStatus>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; value?: InputMaybe<Scalars['String']['input']>; }; export type UpdateSensorProbeInput = { active?: InputMaybe<Scalars['Boolean']['input']>; connectivity?: InputMaybe<Scalars['String']['input']>; context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; location?: InputMaybe<Scalars['String']['input']>; manufacturer?: InputMaybe<Scalars['String']['input']>; model?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; probeType?: InputMaybe<Scalars['String']['input']>; reportingIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; vendorGateway?: InputMaybe<Scalars['String']['input']>; }; export type UpdateSessionInput = { autoStart?: InputMaybe<Scalars['Boolean']['input']>; command?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; ttydUrl?: InputMaybe<Scalars['String']['input']>; workingDirectory?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating an existing session share */ export type UpdateSessionShareInput = { /** New expiration time */ expiresAt?: InputMaybe<Scalars['DateTime']['input']>; /** New permission level */ permission?: InputMaybe<SessionSharePermission>; }; /** Input for changing the role on an existing grant. */ export type UpdateShareRoleInput = { resourceId: Scalars['ID']['input']; role: ShareRole; shareId: Scalars['ID']['input']; }; export type UpdateShipmentInput = { actualDelivery?: InputMaybe<Scalars['DateTime']['input']>; cargoDetails?: InputMaybe<Scalars['JSON']['input']>; carrierId?: InputMaybe<Scalars['ID']['input']>; context?: InputMaybe<ContextInput>; customerId?: InputMaybe<Scalars['ID']['input']>; deliveryJobId?: InputMaybe<Scalars['ID']['input']>; destination?: InputMaybe<Scalars['JSON']['input']>; estimatedDelivery?: InputMaybe<Scalars['DateTime']['input']>; expectedStatusRevision?: InputMaybe<Scalars['Int']['input']>; origin?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<ShipmentStatus>; statusReason?: InputMaybe<Scalars['String']['input']>; storeOrderId?: InputMaybe<Scalars['ID']['input']>; trackingNumber?: InputMaybe<Scalars['String']['input']>; }; export type UpdateSiemDestinationInput = { destinationUrl?: InputMaybe<Scalars['String']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; format?: InputMaybe<SiemExportFormat>; name?: InputMaybe<Scalars['String']['input']>; rotateSecret?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpdateSkillInput = { bucketId?: InputMaybe<Scalars['ID']['input']>; capabilityFlags?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; promptTemplateId?: InputMaybe<Scalars['ID']['input']>; recommendedPolicies?: InputMaybe<Array<Scalars['String']['input']>>; retrievalProfileId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<EntityStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; toolPackDeps?: InputMaybe<Array<Scalars['String']['input']>>; toolPolicyId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<Visibility>; }; export type UpdateSoilTestInput = { context: ContextInput; fieldId?: InputMaybe<Scalars['ID']['input']>; id: Scalars['ID']['input']; moisture?: InputMaybe<Scalars['Float']['input']>; nitrogen?: InputMaybe<Scalars['Float']['input']>; organicMatter?: InputMaybe<Scalars['Float']['input']>; ph?: InputMaybe<Scalars['Float']['input']>; phosphorus?: InputMaybe<Scalars['Float']['input']>; potassium?: InputMaybe<Scalars['Float']['input']>; status?: InputMaybe<Scalars['String']['input']>; testDate?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating a product subscription */ export type UpdateSubscribedProductInput = { /** Updated product configuration */ config?: InputMaybe<Scalars['JSON']['input']>; /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** Updated tenant-specific endpoint URL */ productTenantEndpoint?: InputMaybe<Scalars['String']['input']>; }; export type UpdateSyncSettingsInput = { conflictResolution?: InputMaybe<ConflictResolution>; direction?: InputMaybe<ExternalCalendarSyncDirection>; metadata?: InputMaybe<Scalars['JSON']['input']>; syncEnabled?: InputMaybe<Scalars['Boolean']['input']>; syncFrequency?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateTagAssignmentInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; metadata?: InputMaybe<Scalars['JSON']['input']>; propagateToChildren?: InputMaybe<Scalars['Boolean']['input']>; validTo?: InputMaybe<Scalars['DateTime']['input']>; }; export type UpdateTagInput = { color?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; displayOrder?: InputMaybe<Scalars['Int']['input']>; icon?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; value?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTagRelationInput = { bidirectional?: InputMaybe<Scalars['Boolean']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; relationType?: InputMaybe<TagRelationType>; }; export type UpdateTagTranslationInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTargetInput = { host?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; password?: InputMaybe<Scalars['String']['input']>; port?: InputMaybe<Scalars['Int']['input']>; privateKeyPath?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; username?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTaskInput = { assigneeId?: InputMaybe<Scalars['ID']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; dueDate?: InputMaybe<Scalars['DateTime']['input']>; estimatedHours?: InputMaybe<Scalars['Float']['input']>; order?: InputMaybe<Scalars['Int']['input']>; priority?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTaskQueueInput = { /** Remove the rate limit. */ clearMaxTasksPerSecond?: InputMaybe<Scalars['Boolean']['input']>; /** A new description; an empty string clears it. */ description?: InputMaybe<Scalars['String']['input']>; /** A new rate limit (0.01 to 10000). */ maxTasksPerSecond?: InputMaybe<Scalars['Float']['input']>; workerUnavailableTimeoutSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateTerraceGardenInput = { areaSqm?: InputMaybe<Scalars['Float']['input']>; city?: InputMaybe<Scalars['String']['input']>; climateZone?: InputMaybe<Scalars['String']['input']>; context: ContextInput; floorLevel?: InputMaybe<Scalars['Int']['input']>; gardenType?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; latitude?: InputMaybe<Scalars['Float']['input']>; longitude?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; orientation?: InputMaybe<Scalars['String']['input']>; region?: InputMaybe<Scalars['String']['input']>; shadeNotes?: InputMaybe<Scalars['String']['input']>; sunHours?: InputMaybe<Scalars['Float']['input']>; waterSource?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTimeCampusInvoiceStatusInput = { id: Scalars['ID']['input']; status: TimeCampusInvoiceStatus; workspaceId: Scalars['ID']['input']; }; export type UpdateTimeCampusProjectInput = { budget?: InputMaybe<Scalars['Float']['input']>; clientId?: InputMaybe<Scalars['ID']['input']>; color?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; currency?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; estimatedHours?: InputMaybe<Scalars['Float']['input']>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTimeCampusTimeTriggerInput = { checkHour?: InputMaybe<Scalars['Int']['input']>; comparator?: InputMaybe<TimeCampusTriggerComparator>; enabled?: InputMaybe<Scalars['Boolean']['input']>; /** An empty string clears the message. */ message?: InputMaybe<Scalars['String']['input']>; metric?: InputMaybe<TimeCampusTriggerMetric>; name?: InputMaybe<Scalars['String']['input']>; threshold?: InputMaybe<Scalars['Float']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTimeEntryInput = { billable?: InputMaybe<Scalars['Boolean']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; duration?: InputMaybe<Scalars['Int']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; hourlyRate?: InputMaybe<Scalars['Float']['input']>; notes?: InputMaybe<Scalars['String']['input']>; projectId?: InputMaybe<Scalars['ID']['input']>; source?: InputMaybe<Scalars['String']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; tags?: InputMaybe<Scalars['JSON']['input']>; taskId?: InputMaybe<Scalars['ID']['input']>; }; export type UpdateTraceBatchInput = { batchCode?: InputMaybe<Scalars['String']['input']>; certifications?: InputMaybe<Array<Scalars['String']['input']>>; context: ContextInput; expiryDate?: InputMaybe<Scalars['String']['input']>; harvestDate?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; origin?: InputMaybe<Scalars['String']['input']>; packagingDate?: InputMaybe<Scalars['String']['input']>; processingDate?: InputMaybe<Scalars['String']['input']>; productId?: InputMaybe<Scalars['ID']['input']>; /** Livestock withdrawal gate (BOFF-6186): set/replace the source animal for an animal-derived batch. */ sourceAnimalId?: InputMaybe<Scalars['ID']['input']>; /** MILK | MEAT | EGGS — required together with sourceAnimalId (blocks the batch while under withdrawal). */ sourceProduceType?: InputMaybe<Scalars['String']['input']>; /** Status. Must be one of: IN_PRODUCTION, IN_TRANSIT, DELIVERED, RECALLED (case-insensitive). */ status?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTracePortalSettingsInput = { autoPublishOnCreate?: InputMaybe<Scalars['Boolean']['input']>; context: ContextInput; showBestBeforeDate?: InputMaybe<Scalars['Boolean']['input']>; showCertifications?: InputMaybe<Scalars['Boolean']['input']>; showFarmOrigin?: InputMaybe<Scalars['Boolean']['input']>; showHarvestDate?: InputMaybe<Scalars['Boolean']['input']>; showProcessingDates?: InputMaybe<Scalars['Boolean']['input']>; showSeedCertification?: InputMaybe<Scalars['Boolean']['input']>; showSeedPurchaseDate?: InputMaybe<Scalars['Boolean']['input']>; showSeedSupplier?: InputMaybe<Scalars['Boolean']['input']>; showSupplyChainSteps?: InputMaybe<Scalars['Boolean']['input']>; showVerifiedOrganicBanner?: InputMaybe<Scalars['Boolean']['input']>; tagline?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTreatmentInput = { /** Chemical active ingredient. Recording it lets the compliance scan flag prohibited inputs. */ activeIngredient?: InputMaybe<Scalars['String']['input']>; context: ContextInput; dosage?: InputMaybe<Scalars['String']['input']>; effectiveness?: InputMaybe<Scalars['Float']['input']>; frequency?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; method?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; safetyPeriod?: InputMaybe<Scalars['Int']['input']>; targetPests?: InputMaybe<Array<Scalars['String']['input']>>; /** Type. Must be one of: ORGANIC, BIOLOGICAL, MECHANICAL, CULTURAL (case-insensitive). */ type?: InputMaybe<Scalars['String']['input']>; }; export type UpdateTunnelInput = { basicAuthPassword?: InputMaybe<Scalars['String']['input']>; basicAuthUser?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; localHost?: InputMaybe<Scalars['String']['input']>; localPort?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; providerConfig?: InputMaybe<Scalars['JSON']['input']>; tlsMode?: InputMaybe<TlsMode>; /** * Pass an ID to link / re-link, or `null` to unlink. Omit to keep * whatever's on the row. */ vibeId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<VibeVisibility>; }; export type UpdateVaccinationInput = { administeredBy?: InputMaybe<Scalars['String']['input']>; animalId?: InputMaybe<Scalars['ID']['input']>; context: ContextInput; date?: InputMaybe<Scalars['String']['input']>; id: Scalars['ID']['input']; nextDue?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; vaccineName?: InputMaybe<Scalars['String']['input']>; }; export type UpdateVaultInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; lockAfterMinutes?: InputMaybe<Scalars['Int']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; settings?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<VaultStatus>; }; export type UpdateVaultIntegrationInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; /** Replaces the stored credentials. Omit to keep them. */ credentials?: InputMaybe<Scalars['JSON']['input']>; displayName?: InputMaybe<Scalars['String']['input']>; providerConfig?: InputMaybe<Scalars['JSON']['input']>; referenceKey?: InputMaybe<Scalars['String']['input']>; syncDirection?: InputMaybe<SyncDirection>; syncEnabled?: InputMaybe<Scalars['Boolean']['input']>; syncIntervalMinutes?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateVaultSyncConfigInput = { pathMapping?: InputMaybe<Scalars['JSON']['input']>; secretFilter?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateVehicleInput = { capacity?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; currentLocation?: InputMaybe<Scalars['JSON']['input']>; fuelEfficiencyLPer100Km?: InputMaybe<Scalars['Float']['input']>; fuelLevel?: InputMaybe<Scalars['Float']['input']>; fuelType?: InputMaybe<FuelType>; lastServiceDate?: InputMaybe<Scalars['DateTime']['input']>; licensePlate?: InputMaybe<Scalars['String']['input']>; make?: InputMaybe<Scalars['String']['input']>; mileage?: InputMaybe<Scalars['Float']['input']>; model?: InputMaybe<Scalars['String']['input']>; nextServiceDueDate?: InputMaybe<Scalars['DateTime']['input']>; nextServiceDueMileage?: InputMaybe<Scalars['Float']['input']>; ownershipType?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VehicleStatus>; type?: InputMaybe<VehicleType>; vehicleNumber?: InputMaybe<Scalars['String']['input']>; year?: InputMaybe<Scalars['Int']['input']>; }; export type UpdateVibeCalendarTaskInput = { actionId?: InputMaybe<Scalars['ID']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<VibeCalendarTaskStatus>; }; export type UpdateVibeDeckButtonInput = { actionId?: InputMaybe<Scalars['ID']['input']>; category?: InputMaybe<Scalars['String']['input']>; colSpan?: InputMaybe<Scalars['Int']['input']>; color?: InputMaybe<Scalars['String']['input']>; column?: InputMaybe<Scalars['Int']['input']>; confirmationRequired?: InputMaybe<Scalars['Boolean']['input']>; context?: InputMaybe<ContextInput>; icon?: InputMaybe<Scalars['String']['input']>; keyboardShortcut?: InputMaybe<Scalars['String']['input']>; label?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; row?: InputMaybe<Scalars['Int']['input']>; rowSpan?: InputMaybe<Scalars['Int']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; style?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateVibeDeckInput = { buttonSize?: InputMaybe<Scalars['String']['input']>; colorTheme?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; gridColumns?: InputMaybe<Scalars['Int']['input']>; gridRows?: InputMaybe<Scalars['Int']['input']>; icon?: InputMaybe<Scalars['String']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; /** * Pass an ID to link / re-link, or `null` to unlink. Omit to keep * whatever's on the row. */ vibeId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<VibeVisibility>; }; export type UpdateVibeDeckShareLinkInput = { allowIframe?: InputMaybe<Scalars['Boolean']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; maxUses?: InputMaybe<Scalars['Int']['input']>; name?: InputMaybe<Scalars['String']['input']>; password?: InputMaybe<Scalars['String']['input']>; permission?: InputMaybe<VibeDeckSharePermission>; visibility?: InputMaybe<VibeDeckShareVisibility>; }; export type UpdateVibeInput = { /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; environmentVariables?: InputMaybe<Scalars['JSON']['input']>; /** * Partial feature flag overrides ({ featureId: boolean }). Provided keys are * merged on top of the existing stored value; omitted keys are left untouched. * Unknown feature ids are ignored. */ featureFlags?: InputMaybe<Scalars['JSON']['input']>; gitBranch?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VibeStatus>; /** * Legacy tag input (string array). Use `tagsV2` for the canonical * `[{key,value,...}]` shape (marqueue §251). Both fields are still written. */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** * Canonical universal-tag input (marqueue §251). JSON array of `{key,value,...}` * records. When provided, takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; }; export type UpdateVibecontrolsAgentInput = { /** * Agent REST API key (`vcak_…`) the backend must present on every * authenticated agent call. Carried on the agent's own auto-report/heartbeat * so a key the agent re-mints on restart (e.g. after a machine-bound secrets * re-key) is reconciled into the backend's stored copy instead of drifting and * 401-ing every backend→agent call (plugin install, tunnel start, scans). * The service-layer write validates the supplied key against the live agent * before persisting (`updateAgent` probe-guard), so a wrong/stale key can never * be saved this way. Send `""` to explicitly clear it. */ agentApiKey?: InputMaybe<Scalars['String']['input']>; /** Custom AI context (markdown) surfaced to AI tools running on this agent */ aiContext?: InputMaybe<Scalars['String']['input']>; /** * Auth-svc App clientId. Server-managed like `appId`: a non-null value is * rejected with `BAD_USER_INPUT`. */ appClientId?: InputMaybe<Scalars['String']['input']>; /** * Linked auth-svc App ID (OAuth2 identity for gateway access). Server-managed * (BOFF-7920): written only by `setupAgentGatewayAuth`. A non-null value is * rejected with `BAD_USER_INPUT`; `null` clears the link ("unlink app"), * which only ever removes access. */ appId?: InputMaybe<Scalars['String']['input']>; capabilities?: InputMaybe<Scalars['JSON']['input']>; configuration?: InputMaybe<Scalars['JSON']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; /** Data directory the adapter should use. Restart to apply. */ dbPath?: InputMaybe<Scalars['String']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** * Storage adapter the agent should use (e.g. "postgres", "skalex"). Takes effect * on the agent's next restart. */ storageAdapter?: InputMaybe<Scalars['String']['input']>; /** * Adapter options forwarded verbatim to the storage adapter (flat string map, * e.g. { "connectionString": "postgres://…" }). Restart to apply. */ storageOptions?: InputMaybe<Scalars['JSON']['input']>; tunnelStatus?: InputMaybe<Scalars['String']['input']>; tunnelUrl?: InputMaybe<Scalars['String']['input']>; }; export type UpdateVibecontrolsAgentProfileInput = { name?: InputMaybe<Scalars['String']['input']>; port?: InputMaybe<Scalars['Int']['input']>; status?: InputMaybe<Scalars['String']['input']>; tunnelUrl?: InputMaybe<Scalars['String']['input']>; }; export type UpdateVibecontrolsDocsBuildImageInput = { buildCommand?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; imagePullPolicy?: InputMaybe<VibecontrolsDocsBuildImagePullPolicy>; name?: InputMaybe<Scalars['String']['input']>; outputDir?: InputMaybe<Scalars['String']['input']>; }; export type UpdateVibecontrolsDocsPageInput = { category?: InputMaybe<Scalars['String']['input']>; content?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; frontmatter?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; sidebarPosition?: InputMaybe<Scalars['Int']['input']>; slug?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VibecontrolsDocsPageStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; }; export type UpdateVibecontrolsDocsSiteInput = { context?: InputMaybe<ContextInput>; /** Legacy alias for `providerConfig`. Ignored when `providerConfig` is set. */ docusaurusConfig?: InputMaybe<Scalars['JSON']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name?: InputMaybe<Scalars['String']['input']>; provider?: InputMaybe<VibecontrolsDocsProvider>; providerConfig?: InputMaybe<Scalars['JSON']['input']>; signedUrlExpiryMs?: InputMaybe<Scalars['Int']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type UpdateVibecontrolsNoteInput = { content?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; isPinned?: InputMaybe<Scalars['Boolean']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; title?: InputMaybe<Scalars['String']['input']>; visibility?: InputMaybe<NoteVisibility>; }; export type UpdateVocabularyInput = { allowCustomTags?: InputMaybe<Scalars['Boolean']['input']>; applicableEntityTypes?: InputMaybe<Array<Scalars['String']['input']>>; color?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; description?: InputMaybe<Scalars['String']['input']>; displayOrder?: InputMaybe<Scalars['Int']['input']>; enumValues?: InputMaybe<Array<Scalars['String']['input']>>; icon?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<VocabularyKind>; maxValue?: InputMaybe<Scalars['Float']['input']>; minValue?: InputMaybe<Scalars['Float']['input']>; name?: InputMaybe<Scalars['String']['input']>; predefinedValuesOnly?: InputMaybe<Scalars['Boolean']['input']>; required?: InputMaybe<Scalars['Boolean']['input']>; validationPattern?: InputMaybe<Scalars['String']['input']>; }; export type UpdateWarehouseInput = { address?: InputMaybe<Scalars['JSON']['input']>; capabilities?: InputMaybe<Scalars['JSON']['input']>; code?: InputMaybe<Scalars['String']['input']>; contactInfo?: InputMaybe<Scalars['JSON']['input']>; context?: InputMaybe<ContextInput>; name?: InputMaybe<Scalars['String']['input']>; operatingHours?: InputMaybe<Scalars['JSON']['input']>; status?: InputMaybe<Scalars['String']['input']>; totalCapacity?: InputMaybe<Scalars['Float']['input']>; type?: InputMaybe<WarehouseType>; usedCapacity?: InputMaybe<Scalars['Float']['input']>; }; export type UpdateWarehouseLocationInput = { aisle?: InputMaybe<Scalars['String']['input']>; bin?: InputMaybe<Scalars['String']['input']>; capacity?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; locationCode?: InputMaybe<Scalars['String']['input']>; locationType?: InputMaybe<Scalars['String']['input']>; rack?: InputMaybe<Scalars['String']['input']>; shelf?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; zone?: InputMaybe<Scalars['String']['input']>; }; export type UpdateWebhookInput = { agentIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Operation context for scoping (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextInput>; events?: InputMaybe<Array<Scalars['String']['input']>>; isActive?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; retryPolicy?: InputMaybe<Scalars['JSON']['input']>; secret?: InputMaybe<Scalars['String']['input']>; signingKey?: InputMaybe<Scalars['String']['input']>; url?: InputMaybe<Scalars['String']['input']>; }; export type UpdateWidgetInput = { config?: InputMaybe<Scalars['JSON']['input']>; position?: InputMaybe<Scalars['JSON']['input']>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<WidgetType>; }; export type UpdateWorkOrderInput = { assetId?: InputMaybe<Scalars['ID']['input']>; assignedTo?: InputMaybe<Scalars['String']['input']>; checklist?: InputMaybe<Array<Scalars['JSONObject']['input']>>; /** * Client-generated idempotency key (BOFF-10632). The field app's offline queue * sends one per queued status change; replaying the same key returns the work * order instead of applying the change again. A queued change that would * reopen a work order completed or cancelled in the meantime is refused with * CONFLICT. Max 128 characters. */ clientMutationId?: InputMaybe<Scalars['String']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** Correct the recorded downtime in hours. Must not be negative; null clears it. */ downtimeHours?: InputMaybe<Scalars['Float']['input']>; priority?: InputMaybe<Priority>; status?: InputMaybe<WorkOrderStatus>; title?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<WorkOrderType>; }; export type UpdateWorkPatternInput = { breakHours?: InputMaybe<Scalars['Float']['input']>; context?: InputMaybe<ContextInput>; deepWorkSessions?: InputMaybe<Scalars['Int']['input']>; energyLevel?: InputMaybe<Scalars['String']['input']>; focusHours?: InputMaybe<Scalars['Float']['input']>; interruptions?: InputMaybe<Scalars['Int']['input']>; meetingHours?: InputMaybe<Scalars['Float']['input']>; mood?: InputMaybe<Scalars['String']['input']>; peakHours?: InputMaybe<Scalars['JSON']['input']>; productivityScore?: InputMaybe<Scalars['Float']['input']>; stressLevel?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating workflow definition */ export type UpdateWorkflowDefinitionInput = { alias?: InputMaybe<Scalars['String']['input']>; category?: InputMaybe<Scalars['String']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; definitionJson?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; /** * The builder's edit-lease session (BOFF-9725). When set, the save is refused * with a CONFLICT error while another session holds the workflow's edit lease. */ editSessionId?: InputMaybe<Scalars['String']['input']>; /** * The `revision` the caller loaded (BOFF-9725). When set, a save made after the * version changed is refused with a CONFLICT error instead of overwriting the change. * It covers what `revision` covers; tags, icon, category, context and the version * label keep the last value written. */ expectedRevision?: InputMaybe<Scalars['Int']['input']>; icon?: InputMaybe<Scalars['String']['input']>; /** * Lay `definitionJson` over the stored definition instead of replacing it (BOFF-10389): a * top-level field the input leaves out keeps its stored value, and so does a field of the stored * `data` object that the input's `data` leaves out. An editor that owns only part of the * definition (the builder owns the canvas, not the Settings page's `config` or pinned node data) * saves it this way without reading the definition first. Default false: the input replaces the * stored definition. */ mergeStoredDefinition?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */ tagsV2?: InputMaybe<Scalars['JSON']['input']>; version?: InputMaybe<Scalars['String']['input']>; }; /** Partial update: a field that is left out keeps its current value. */ export type UpdateWorkflowEnvironmentPolicyInput = { allowSelfApproval?: InputMaybe<Scalars['Boolean']['input']>; lockDirectActivation?: InputMaybe<Scalars['Boolean']['input']>; requireProdApproval?: InputMaybe<Scalars['Boolean']['input']>; /** Phase C (CWD16): needs fluidgrids.self-hosted-workers to turn on. */ requireScopedQueuesForProd?: InputMaybe<Scalars['Boolean']['input']>; requireStagingApproval?: InputMaybe<Scalars['Boolean']['input']>; }; /** Partial update: a field that is left out keeps its current value. */ export type UpdateWorkflowExecutionSettingsInput = { /** The archive destination (Phase C). See WorkflowArchiveSettingsInput. */ archive?: InputMaybe<WorkflowArchiveSettingsInput>; /** Remove the archive destination (Phase C; never checks a flag). Runs that were waiting for it are purged normally. */ clearArchive?: InputMaybe<Scalars['Boolean']['input']>; /** Send the browser's credentials to the codec server (Phase C; needs fluidgrids.self-hosted-workers). */ codecServerIncludeCredentials?: InputMaybe<Scalars['Boolean']['input']>; /** The codec server URL (Phase C; needs fluidgrids.self-hosted-workers). An empty string clears it. */ codecServerUrl?: InputMaybe<Scalars['String']['input']>; /** The inline byte cap of new durable-function runs: 1 MiB to the plan ceiling. Null returns to the plan ceiling. Parity. */ maxHistoryBytes?: InputMaybe<Scalars['Float']['input']>; /** * The event cap of new durable-function runs: 1,000 to the plan ceiling (10,000 by default, at most * 50,000). Null returns to the plan ceiling. Needs fluidgrids.durable-parity. */ maxHistoryEvents?: InputMaybe<Scalars['Int']['input']>; retentionDays?: InputMaybe<Scalars['Int']['input']>; retentionMaxRunsPerWorkflow?: InputMaybe<Scalars['Int']['input']>; saveFailedRuns?: InputMaybe<Scalars['Boolean']['input']>; saveManualRuns?: InputMaybe<Scalars['Boolean']['input']>; saveSuccessfulRuns?: InputMaybe<Scalars['Boolean']['input']>; }; /** Input for updating an existing FluidGrids Workflow */ export type UpdateWorkflowInput = { config?: InputMaybe<Scalars['JSON']['input']>; description?: InputMaybe<Scalars['String']['input']>; name?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<FluidGridsWorkflowStatus>; }; /** Partial update: a field that is left out keeps its current value. */ export type UpdateWorkflowNotificationSettingsInput = { notifyOnApprovalRequest?: InputMaybe<Scalars['Boolean']['input']>; notifyOnFailure?: InputMaybe<Scalars['Boolean']['input']>; notifyOnSuccess?: InputMaybe<Scalars['Boolean']['input']>; notifyOnTriggerDisabled?: InputMaybe<Scalars['Boolean']['input']>; pushEnabled?: InputMaybe<Scalars['Boolean']['input']>; throttleMinutes?: InputMaybe<Scalars['Int']['input']>; workflowKey: Scalars['String']['input']; }; export type UpdateWorkflowVariableInput = { description?: InputMaybe<Scalars['String']['input']>; externalProvider?: InputMaybe<SecretProviderType>; externalRef?: InputMaybe<Scalars['String']['input']>; isSecret?: InputMaybe<Scalars['Boolean']['input']>; value?: InputMaybe<Scalars['String']['input']>; }; export type UpdateWorkflowWorkspaceAiPolicyInput = { /** Required when enabling. Must match the current server disclosure. */ consentVersion?: InputMaybe<Scalars['String']['input']>; enabled: Scalars['Boolean']['input']; expectedRevision: Scalars['Int']['input']; }; export type UpdateWorkspaceDefaultsInput = { agentAutoReconnect?: InputMaybe<Scalars['Boolean']['input']>; agentHeartbeatInterval?: InputMaybe<Scalars['Int']['input']>; agentMaxSessions?: InputMaybe<Scalars['Int']['input']>; autoGitSync?: InputMaybe<Scalars['Boolean']['input']>; autoStartSessions?: InputMaybe<Scalars['Boolean']['input']>; autoUpdate?: InputMaybe<Scalars['Boolean']['input']>; defaultAgent?: InputMaybe<Scalars['String']['input']>; defaultEnvironmentVariables?: InputMaybe<Scalars['String']['input']>; defaultSessionType?: InputMaybe<Scalars['String']['input']>; defaultVibeType?: InputMaybe<Scalars['String']['input']>; logLevel?: InputMaybe<Scalars['String']['input']>; /** * Workspace default for session-history recording (F2). OFF by default; * admin-set for the whole workspace. */ sessionHistoryRecording?: InputMaybe<Scalars['Boolean']['input']>; telemetryEnabled?: InputMaybe<Scalars['Boolean']['input']>; }; /** Input for updating an existing workspace */ export type UpdateWorkspaceInput = { /** Physical or mailing address */ address?: InputMaybe<Scalars['String']['input']>; /** Primary contact email */ contactEmail?: InputMaybe<Scalars['String']['input']>; /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** Custom domain for the workspace */ domain?: InputMaybe<Scalars['String']['input']>; /** Display name of the workspace */ name?: InputMaybe<Scalars['String']['input']>; /** Current owner user ID */ ownerId?: InputMaybe<Scalars['ID']['input']>; /** Current operational status */ status?: InputMaybe<WorkspaceStatus>; /** Public website URL */ website?: InputMaybe<Scalars['String']['input']>; }; /** Input for updating an installed workspace app */ export type UpdateWorkspaceInstalledAppInput = { /** New display name */ displayName?: InputMaybe<Scalars['String']['input']>; /** Enable/disable the app */ isEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Updated manifest */ manifest?: InputMaybe<Scalars['JSON']['input']>; /** New type */ type?: InputMaybe<Scalars['String']['input']>; /** New version */ version?: InputMaybe<Scalars['String']['input']>; }; /** * Input for updating workspace member roles. * Workspace ID is read from gateway context (x-workspace-id header). */ export type UpdateWorkspaceMemberRolesInput = { /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** * Workspace RBAC role IDs the member should hold (at most 100, duplicates ignored). * Exact replacement, applied atomically. [] removes every workspace-wide role. * Removing roles requires assignment:delete. */ roleIds: Array<Scalars['ID']['input']>; /** User ID whose roles to update */ userId: Scalars['ID']['input']; }; /** Input for updating an existing workspace resource */ export type UpdateWorkspaceResourceInput = { /** Updated resource configuration */ config?: InputMaybe<Scalars['JSON']['input']>; /** Operation context for scoping */ context?: InputMaybe<WorkspaceContextInput>; /** Updated resource metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Updated display name */ name?: InputMaybe<Scalars['String']['input']>; /** Updated operational status */ status?: InputMaybe<WorkspaceResourceStatus>; /** Updated backward-compatible flat tags for categorization */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Updated universal entity-owned tags for categorization */ universalTags?: InputMaybe<Scalars['JSON']['input']>; }; export type UploadFileInput = { description?: InputMaybe<Scalars['String']['input']>; extension: Scalars['String']['input']; folderId?: InputMaybe<Scalars['ID']['input']>; mimeType: Scalars['String']['input']; name: Scalars['String']['input']; s3Bucket: Scalars['String']['input']; s3Key: Scalars['String']['input']; size: Scalars['BigInt']['input']; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` * records. Backed by the canonical `File.tags` Json column. */ tags?: InputMaybe<Scalars['JSON']['input']>; visibility?: InputMaybe<FileVisibility>; }; export type UploadFileResponse = { __typename?: 'UploadFileResponse'; file: File; message?: Maybe<Scalars['String']['output']>; uploadProgress?: Maybe<Scalars['Float']['output']>; }; export type UploadPartInput = { /** ETag returned by S3 after part upload */ etag: Scalars['String']['input']; /** Part number (1-indexed) */ partNumber: Scalars['Int']['input']; /** Upload session ID */ sessionId: Scalars['ID']['input']; }; export type UploadPartResponse = { __typename?: 'UploadPartResponse'; message?: Maybe<Scalars['String']['output']>; session: UploadSession; }; export type UploadSession = { __typename?: 'UploadSession'; completedAt?: Maybe<Scalars['DateTime']['output']>; expiresAt: Scalars['DateTime']['output']; fileId?: Maybe<Scalars['ID']['output']>; fileName: Scalars['String']['output']; fileSize: Scalars['BigInt']['output']; id: Scalars['ID']['output']; mimeType: Scalars['String']['output']; partSize: Scalars['Int']['output']; s3Bucket?: Maybe<Scalars['String']['output']>; s3Key?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; startedById: Scalars['ID']['output']; status: UploadStatus; totalParts: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; uploadId: Scalars['String']['output']; uploadProgress: Scalars['Float']['output']; uploadType: UploadType; uploadedParts: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; }; export type UploadSessionFilterInput = { createdAfter?: InputMaybe<Scalars['DateTime']['input']>; createdBefore?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<UploadStatus>; uploadType?: InputMaybe<UploadType>; }; export type UploadSessionList = { __typename?: 'UploadSessionList'; hasMore: Scalars['Boolean']['output']; limit: Scalars['Int']['output']; page: Scalars['Int']['output']; sessions: Array<UploadSession>; total: Scalars['Int']['output']; }; export type UploadSessionWithUrls = { __typename?: 'UploadSessionWithUrls'; multipartUploadId?: Maybe<Scalars['String']['output']>; presignedUrls?: Maybe<Array<PresignedPartUrl>>; session: UploadSession; uploadUrl?: Maybe<Scalars['String']['output']>; }; export declare enum UploadStatus { /** Upload was aborted by user */ Aborted = "ABORTED", /** All parts have been uploaded */ Completed = "COMPLETED", /** Upload session expired */ Expired = "EXPIRED", /** Upload failed */ Failed = "FAILED", /** Upload has been finalized and file record created */ Finalized = "FINALIZED", /** Upload is currently in progress */ InProgress = "IN_PROGRESS" } export declare enum UploadType { /** Direct upload for small files */ Direct = "DIRECT", /** S3 multipart upload for large files */ Multipart = "MULTIPART", /** TUS protocol resumable upload */ Resumable = "RESUMABLE" } export type UpsertConfigurationItemInput = { attributes?: InputMaybe<Scalars['JSONObject']['input']>; ciNumber: Scalars['String']['input']; ciType: Scalars['String']['input']; environment?: InputMaybe<Scalars['String']['input']>; id?: InputMaybe<Scalars['ID']['input']>; name: Scalars['String']['input']; owner?: InputMaybe<Scalars['String']['input']>; status: Scalars['String']['input']; }; export type UpsertEsgMetricInput = { assetId?: InputMaybe<Scalars['ID']['input']>; category: Scalars['String']['input']; metricKey: Scalars['String']['input']; metricName: Scalars['String']['input']; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['DateTime']['input']; periodStart: Scalars['DateTime']['input']; target?: InputMaybe<Scalars['Float']['input']>; trend?: InputMaybe<Scalars['String']['input']>; unit: Scalars['String']['input']; value: Scalars['Float']['input']; }; export type UpsertHealthyBowlEudrStatementInput = { commodity: Scalars['String']['input']; context: ContextInput; cutoffCompliant?: InputMaybe<Scalars['Boolean']['input']>; /** Defaults to the EUDR cut-off 2020-12-31. */ cutoffDate?: InputMaybe<Scalars['String']['input']>; dataSource?: InputMaybe<Scalars['String']['input']>; /** LOW | STANDARD | HIGH */ deforestationRisk?: InputMaybe<Scalars['String']['input']>; dueDiligenceRef?: InputMaybe<Scalars['String']['input']>; farmId: Scalars['ID']['input']; /** Source the plot geometry/area from this Field's boundary when plotGeojson is omitted. */ fieldId?: InputMaybe<Scalars['ID']['input']>; geoLatitude?: InputMaybe<Scalars['Float']['input']>; geoLongitude?: InputMaybe<Scalars['Float']['input']>; id?: InputMaybe<Scalars['ID']['input']>; notes?: InputMaybe<Scalars['String']['input']>; plotAreaHa?: InputMaybe<Scalars['Float']['input']>; plotGeojson?: InputMaybe<Scalars['JSON']['input']>; productionDateFrom?: InputMaybe<Scalars['String']['input']>; productionDateTo?: InputMaybe<Scalars['String']['input']>; traceBatchId?: InputMaybe<Scalars['ID']['input']>; }; export type UpsertHealthyBowlGhgActivityInput = { activityDate?: InputMaybe<Scalars['String']['input']>; context: ContextInput; /** Emission-factor key from the catalog (e.g. DIESEL, ELECTRICITY_IN_GRID, FERTILIZER_UREA). */ factorKey: Scalars['String']['input']; /** Omit to add a new manual line; provide to edit an existing one. */ id?: InputMaybe<Scalars['ID']['input']>; inventoryId: Scalars['ID']['input']; label?: InputMaybe<Scalars['String']['input']>; quantity: Scalars['Float']['input']; /** SCOPE_1 | SCOPE_2 | SCOPE_3 */ scope: Scalars['String']['input']; unit?: InputMaybe<Scalars['String']['input']>; }; export type UpsertHealthyBowlSoilCarbonEstimateInput = { areaHa?: InputMaybe<Scalars['Float']['input']>; baselineSoc?: InputMaybe<Scalars['Float']['input']>; /** LOW | MEDIUM | HIGH */ confidence?: InputMaybe<Scalars['String']['input']>; context: ContextInput; currentSoc?: InputMaybe<Scalars['Float']['input']>; farmId: Scalars['ID']['input']; fieldId?: InputMaybe<Scalars['ID']['input']>; id?: InputMaybe<Scalars['ID']['input']>; /** MODELED | SOIL_SAMPLED */ methodology?: InputMaybe<Scalars['String']['input']>; notes?: InputMaybe<Scalars['String']['input']>; periodEnd: Scalars['String']['input']; periodStart: Scalars['String']['input']; practiceId?: InputMaybe<Scalars['ID']['input']>; tCo2eSequestered?: InputMaybe<Scalars['Float']['input']>; }; export type UpsertHealthyBowlWeatherAlertSettingsInput = { advisoryLanguage?: InputMaybe<Scalars['String']['input']>; aiAdvisoryEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Destination for EMAIL alerts. Rejected with BAD_USER_INPUT if it is not a usable address. */ alertEmail?: InputMaybe<Scalars['String']['input']>; alertLeadTimeHours?: InputMaybe<Scalars['Int']['input']>; baselineYears?: InputMaybe<Scalars['Int']['input']>; context: ContextInput; deviationThresholdPct?: InputMaybe<Scalars['Int']['input']>; emailEnabled?: InputMaybe<Scalars['Boolean']['input']>; escalateCriticalFrost?: InputMaybe<Scalars['Boolean']['input']>; inAppEnabled?: InputMaybe<Scalars['Boolean']['input']>; quietHoursEnabled?: InputMaybe<Scalars['Boolean']['input']>; quietHoursEnd?: InputMaybe<Scalars['String']['input']>; quietHoursStart?: InputMaybe<Scalars['String']['input']>; /** IANA zone the quiet window is evaluated in. Null means UTC, which is rarely what a farm means. */ quietHoursTimezone?: InputMaybe<Scalars['String']['input']>; smsEnabled?: InputMaybe<Scalars['Boolean']['input']>; smsNumber?: InputMaybe<Scalars['String']['input']>; units?: InputMaybe<Scalars['String']['input']>; webhookEnabled?: InputMaybe<Scalars['Boolean']['input']>; webhookUrl?: InputMaybe<Scalars['String']['input']>; weeklyDigestEmail?: InputMaybe<Scalars['Boolean']['input']>; }; export type UpsertLicenseEntitlementInput = { currency?: InputMaybe<Scalars['String']['input']>; effectiveDate?: InputMaybe<Scalars['DateTime']['input']>; expiryDate?: InputMaybe<Scalars['DateTime']['input']>; id?: InputMaybe<Scalars['ID']['input']>; metricType: LicenseMetricType; notes?: InputMaybe<Scalars['String']['input']>; purchaseOrderRef?: InputMaybe<Scalars['String']['input']>; quantityEntitled: Scalars['Int']['input']; sku: Scalars['String']['input']; softwareAssetId: Scalars['ID']['input']; unitCost?: InputMaybe<Scalars['Float']['input']>; vendorContractRef?: InputMaybe<Scalars['String']['input']>; }; /** * Create or replace an auth method on a provider. Matched on `key` within the * provider, so re-sending the same key updates in place. */ export type UpsertProviderAuthMethodInput = { authType: AuthType; availableScopes?: InputMaybe<Scalars['JSON']['input']>; configSchema?: InputMaybe<Scalars['JSON']['input']>; defaultScopes?: InputMaybe<Array<Scalars['String']['input']>>; description?: InputMaybe<Scalars['String']['input']>; displayName: Scalars['String']['input']; displayOrder?: InputMaybe<Scalars['Int']['input']>; flow?: InputMaybe<AuthMethodFlow>; inject?: InputMaybe<Scalars['JSON']['input']>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; isEnabled?: InputMaybe<Scalars['Boolean']['input']>; key: Scalars['String']['input']; oauthConfig?: InputMaybe<Scalars['JSON']['input']>; }; export type UpsertScorecardInput = { /** Operation context for scoping */ context?: InputMaybe<ContextInput>; /** Flexible key-value metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** ID of the owning entity */ ownerId: Scalars['ID']['input']; /** Type of entity that owns this scorecard */ ownerType: ScorecardOwnerType; }; export type UpsertSecurityComplianceFrameworkInput = { failedControls?: InputMaybe<Scalars['Int']['input']>; id?: InputMaybe<Scalars['ID']['input']>; lastAssessedAt?: InputMaybe<Scalars['DateTime']['input']>; lastAssessment: Scalars['DateTime']['input']; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; nextAssessment: Scalars['DateTime']['input']; passedControls?: InputMaybe<Scalars['Int']['input']>; score?: InputMaybe<Scalars['Int']['input']>; sourceProduct?: InputMaybe<Scalars['String']['input']>; sourceRefId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SecurityComplianceStatus>; totalControls?: InputMaybe<Scalars['Int']['input']>; version: Scalars['String']['input']; }; export type UpsertSecurityGovernancePolicyInput = { applicableTo?: InputMaybe<Array<Scalars['String']['input']>>; category: Scalars['String']['input']; description?: InputMaybe<Scalars['String']['input']>; effectiveDate: Scalars['DateTime']['input']; id?: InputMaybe<Scalars['ID']['input']>; metadata?: InputMaybe<Scalars['JSON']['input']>; name: Scalars['String']['input']; owner: Scalars['String']['input']; reviewDate: Scalars['DateTime']['input']; sourceProduct?: InputMaybe<Scalars['String']['input']>; sourceRefId?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<SecurityGovernancePolicyStatus>; version: Scalars['String']['input']; }; export type UpsertSoftwareAssetInput = { id?: InputMaybe<Scalars['ID']['input']>; licenseType: Scalars['String']['input']; name: Scalars['String']['input']; seatsPurchased?: InputMaybe<Scalars['Int']['input']>; seatsUsed?: InputMaybe<Scalars['Int']['input']>; vendor: Scalars['String']['input']; version: Scalars['String']['input']; }; /** Usage query filters */ export type UsageFilters = { billingAccountId?: InputMaybe<Scalars['ID']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; productId?: InputMaybe<Scalars['String']['input']>; quotaAssignmentId?: InputMaybe<Scalars['ID']['input']>; quotaName?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Comprehensive usage metrics for a time period */ export type UsageMetrics = { __typename?: 'UsageMetrics'; nodeMetrics: NodeExecutionMetrics; period: Scalars['JSON']['output']; workflowMetrics: WorkflowExecutionMetrics; }; /** Input for querying usage metrics */ export type UsageQueryInput = { contextFilter?: InputMaybe<Scalars['JSON']['input']>; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; userId?: InputMaybe<Scalars['String']['input']>; }; /** Usage record tracking resource consumption */ export type UsageRecord = { __typename?: 'UsageRecord'; amount: Scalars['Float']['output']; billingAccountId: Scalars['ID']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description: Scalars['String']['output']; hash?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; onBehalfOf: Scalars['String']['output']; productId: Scalars['String']['output']; quotaAssignmentId: Scalars['ID']['output']; quotaName: Scalars['String']['output']; status: UsageStatus; userId?: Maybe<Scalars['ID']['output']>; workspaceId?: Maybe<Scalars['ID']['output']>; }; /** * Cursor-based pagination input for usage records. * Pass `cursor` from the previous page's `nextCursor` to fetch the next page. */ export type UsageRecordPaginationInput = { /** Opaque cursor (record ID) from the previous page's nextCursor. Omit for the first page. */ cursor?: InputMaybe<Scalars['ID']['input']>; /** Maximum records to return per page. Defaults to 50, capped at 200. */ limit?: InputMaybe<Scalars['Int']['input']>; }; /** Paginated list of usage records */ export type UsageRecordsPage = { __typename?: 'UsageRecordsPage'; hasNextPage: Scalars['Boolean']['output']; items: Array<UsageRecord>; /** Opaque cursor to pass as `cursor` on the next request. Null when there are no more records. */ nextCursor?: Maybe<Scalars['ID']['output']>; }; /** * Tracks whether the quota decrement in billing-svc succeeded for a usage record. * pending — record written, decrement not yet confirmed * done — record written and quota decremented successfully * failed — record written but quota decrement failed (pending reconciliation) */ export declare enum UsageStatus { done = "done", failed = "failed", pending = "pending" } /** Usage summary (aggregated data) */ export type UsageSummary = { __typename?: 'UsageSummary'; count: Scalars['Int']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; totalAmount: Scalars['Float']['output']; }; /** User type (owned by auth service) */ export type User = { __typename?: 'User'; id: Scalars['ID']['output']; /** Files owned/created by this user */ ownedFiles: Array<File>; /** Folders created by this user */ ownedFolders: Array<Folder>; /** Files uploaded by this user */ uploadedFiles: Array<File>; }; /** User type (owned by auth service) */ export type UserOwnedFilesArgs = { filter?: InputMaybe<FileFilterInput>; pagination?: InputMaybe<PaginationInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** User type (owned by auth service) */ export type UserOwnedFoldersArgs = { pagination?: InputMaybe<PaginationInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** User type (owned by auth service) */ export type UserUploadedFilesArgs = { filter?: InputMaybe<FileFilterInput>; pagination?: InputMaybe<PaginationInput>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Resolved user actor identity for email-based assignment UX. */ export type UserActorLookupResult = { __typename?: 'UserActorLookupResult'; actorId: Scalars['ID']['output']; actorType: ActorType; displayName?: Maybe<Scalars['String']['output']>; email: Scalars['String']['output']; firstName?: Maybe<Scalars['String']['output']>; lastName?: Maybe<Scalars['String']['output']>; }; /** User permission summary for a file */ export type UserFilePermissions = { __typename?: 'UserFilePermissions'; /** Can delete file */ canDelete: Scalars['Boolean']['output']; /** Can read file */ canRead: Scalars['Boolean']['output']; /** Can share file */ canShare: Scalars['Boolean']['output']; /** Can write/update file */ canWrite: Scalars['Boolean']['output']; /** File ID */ fileId: Scalars['ID']['output']; }; /** User permission summary for a folder */ export type UserFolderPermissions = { __typename?: 'UserFolderPermissions'; /** Can delete folder */ canDelete: Scalars['Boolean']['output']; /** Can read folder */ canRead: Scalars['Boolean']['output']; /** Can share folder */ canShare: Scalars['Boolean']['output']; /** Can write/update folder */ canWrite: Scalars['Boolean']['output']; /** Folder ID */ folderId: Scalars['ID']['output']; }; export type UserMentionedEvent = { __typename?: 'UserMentionedEvent'; commentId: Scalars['ID']['output']; fileId: Scalars['ID']['output']; mentionedUserId: Scalars['ID']['output']; metadata?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; type: FileEventType; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** User UI preferences (theme, density, editor font, etc.) */ export type UserPreferences = { __typename?: 'UserPreferences'; /** Code editor font family */ codeFont?: Maybe<Scalars['String']['output']>; /** Code editor font size in pixels */ codeFontSize?: Maybe<Scalars['Int']['output']>; /** * Per-user default agent for each Vibe. Shape: * { [vibeId: string]: string }. When the Vibe detail page opens with * multiple attached agents, the host picks this default before * falling back to the heuristic selection. */ defaultAgentForVibe?: Maybe<Scalars['JSON']['output']>; /** * User's preferred IDE command for "Open in editor" actions on a Vibe. * One of the known presets (e.g. `code`, `cursor`, `idea`, `pycharm`, * `webstorm`, `goland`, `zed`, `subl`, `vim`, `nvim`, `emacs`, * `neovide`) or a custom token the user has whitelisted on their * agent. Used as the fallback when a Vibe has no override. */ preferredIdeCommand?: Maybe<Scalars['String']['output']>; /** * Per-user override for session-history recording (F2). Tri-state: `null` * inherits the workspace default; `true`/`false` opt the user explicitly * in/out. Effective value: userOverride ?? workspaceDefault ?? false. */ sessionHistoryRecording?: Maybe<Scalars['Boolean']['output']>; /** Whether the sidebar is collapsed by default */ sidebarCollapsed: Scalars['Boolean']['output']; /** UI theme: light, dark, or system */ theme: Scalars['String']['output']; /** UI density: compact, comfortable, or spacious */ uiDensity: Scalars['String']['output']; /** * Per-user tab ordering for any mountPoint × context pair. Shape: * { [mountPoint: string]: { [contextKey: string]: string[] } }. * Used by the host to reconcile a user's persisted tab order across * devices. Cross-device sync. */ vibeDetailTabOrder?: Maybe<Scalars['JSON']['output']>; /** * Per-Vibe override for the IDE command used by "Open in editor". * Shape: { [vibeId: string]: string }. Same merge/overwrite semantics * as defaultAgentForVibe — send the entire JSON object on update. */ vibeIdeOverrides?: Maybe<Scalars['JSON']['output']>; }; export type UserPresenceEvent = { __typename?: 'UserPresenceEvent'; fileId: Scalars['ID']['output']; metadata?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; type: FileEventType; userAvatar?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; userName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** User profile information (display name, avatar, timezone, etc.) */ export type UserProfile = { __typename?: 'UserProfile'; avatar?: Maybe<Scalars['String']['output']>; bio?: Maybe<Scalars['String']['output']>; displayName?: Maybe<Scalars['String']['output']>; language?: Maybe<Scalars['String']['output']>; timezone?: Maybe<Scalars['String']['output']>; }; /** * Per-user storage consumption + the plan-driven cap, used by the UI to render * "X of Y GB used" and to gate upload affordances client-side. Source of truth for * enforcement is the server's `uploadFile` mutation, which throws * `STORAGE_QUOTA_EXCEEDED` with the same fields in `extensions`. */ export type UserStorageUsage = { __typename?: 'UserStorageUsage'; /** Bytes currently consumed across all workspaces known to this svc. BigInt as String. */ currentBytes: Scalars['String']['output']; /** Cap in bytes resolved from the user's billing plan. BigInt as String. */ limitBytes: Scalars['String']['output']; /** Plan id providing the cap; null when platform default is in use. */ planId?: Maybe<Scalars['ID']['output']>; /** Plan name (or "Free" when default is in use). */ planName: Scalars['String']['output']; /** Where the cap came from: PLAN_FIELD | PLAN_QUOTA | DEFAULT_FREE | DEFAULT_PAID | DEFAULT_FREE_FALLBACK. */ source: Scalars['String']['output']; /** User whose footprint this represents. */ userId: Scalars['ID']['output']; }; export type Vaccination = { __typename?: 'Vaccination'; administrationDate: Scalars['String']['output']; animalId: Scalars['String']['output']; animalName: Scalars['String']['output']; batchNumber?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; nextDueDate?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; vaccineName: Scalars['String']['output']; veterinarian?: Maybe<Scalars['String']['output']>; }; /** Standard validation error */ export type ValidationError = { __typename?: 'ValidationError'; field: Scalars['String']['output']; message: Scalars['String']['output']; }; export declare enum ValidationMethod { ApiKeyHeader = "API_KEY_HEADER", BasicAuth = "BASIC_AUTH", BearerToken = "BEARER_TOKEN", HmacSha256 = "HMAC_SHA256", Jwt = "JWT", None = "NONE", Signature = "SIGNATURE", StandardWebhooks = "STANDARD_WEBHOOKS", TimestampedHmacSha256 = "TIMESTAMPED_HMAC_SHA256" } export declare enum VariableScope { Project = "PROJECT", Workspace = "WORKSPACE" } export type Vault = { __typename?: 'Vault'; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; encryptionKeyId: Scalars['String']['output']; id: Scalars['ID']['output']; integrations?: Maybe<Array<VaultIntegration>>; integrationsList: VaultIntegrationList; lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; lockAfterMinutes?: Maybe<Scalars['Int']['output']>; lockedAt?: Maybe<Scalars['DateTime']['output']>; memberCount: Scalars['Int']['output']; members?: Maybe<Array<VaultMember>>; membersList: VaultMemberList; metadata?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; salt: Scalars['String']['output']; scope: VaultScope; scopeId?: Maybe<Scalars['String']['output']>; secretCount: Scalars['Int']['output']; secrets?: Maybe<Array<Secret>>; secretsList: SecretList; settings?: Maybe<Scalars['JSON']['output']>; status: VaultStatus; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. */ tags: Scalars['JSON']['output']; tenantId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['String']['output']; }; export type VaultIntegrationsListArgs = { filter?: InputMaybe<VaultIntegrationFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; export type VaultMembersListArgs = { pagination?: InputMaybe<SecurityPaginationInput>; }; export type VaultSecretsListArgs = { filter?: InputMaybe<SecretFilterInput>; pagination?: InputMaybe<SecurityPaginationInput>; }; export type VaultAccessLog = { __typename?: 'VaultAccessLog'; action: Scalars['String']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; tenantId?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; userId: Scalars['String']['output']; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type VaultAccessLogFilterInput = { action?: InputMaybe<Scalars['String']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; endDate?: InputMaybe<Scalars['DateTime']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; success?: InputMaybe<Scalars['Boolean']['input']>; userId?: InputMaybe<Scalars['String']['input']>; vaultId?: InputMaybe<Scalars['ID']['input']>; }; export type VaultAccessLogList = { __typename?: 'VaultAccessLogList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultAccessLog>; total: Scalars['Int']['output']; }; export type VaultAuditLog = { __typename?: 'VaultAuditLog'; action: Scalars['String']['output']; actorId: Scalars['String']['output']; actorType: Scalars['String']['output']; changesAfter?: Maybe<Scalars['JSON']['output']>; changesBefore?: Maybe<Scalars['JSON']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; entityId?: Maybe<Scalars['String']['output']>; entityType: Scalars['String']['output']; entryHash: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; previousHash?: Maybe<Scalars['String']['output']>; requestId?: Maybe<Scalars['String']['output']>; sequenceNumber: Scalars['Int']['output']; tenantId?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type VaultAuditLogFilterInput = { action?: InputMaybe<Scalars['String']['input']>; actorId?: InputMaybe<Scalars['String']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; endDate?: InputMaybe<Scalars['DateTime']['input']>; entityId?: InputMaybe<Scalars['String']['input']>; entityType?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; }; export type VaultAuditLogList = { __typename?: 'VaultAuditLogList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultAuditLog>; total: Scalars['Int']['output']; }; export type VaultBackupResult = { __typename?: 'VaultBackupResult'; count: Scalars['Int']['output']; deliveryStatus: Scalars['String']['output']; downloadUrl: Scalars['String']['output']; fileId: Scalars['ID']['output']; fileName: Scalars['String']['output']; format: Scalars['String']['output']; passwordDelivered: Scalars['Boolean']['output']; }; export type VaultCreatedPayload = { __typename?: 'VaultCreatedPayload'; vault: Vault; workspaceId: Scalars['String']['output']; }; export type VaultDeletedPayload = { __typename?: 'VaultDeletedPayload'; vaultId: Scalars['ID']['output']; workspaceId: Scalars['String']['output']; }; export type VaultFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; createdBy?: InputMaybe<Scalars['ID']['input']>; scope?: InputMaybe<VaultScope>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VaultStatus>; }; export declare enum VaultIncidentSeverity { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM" } export declare enum VaultIncidentStatus { Closed = "CLOSED", Confirmed = "CONFIRMED", FalsePositive = "FALSE_POSITIVE", Investigating = "INVESTIGATING", Mitigating = "MITIGATING", New = "NEW", Resolved = "RESOLVED" } export type VaultIntegration = { __typename?: 'VaultIntegration'; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; displayName: Scalars['String']['output']; /** Whether provider credentials are stored. The credentials themselves are never returned. */ hasCredentials: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** Legacy: the connection holding the provider credentials. Null for integrations that keep their own. */ integrationConnectionId?: Maybe<Scalars['String']['output']>; lastSyncAt?: Maybe<Scalars['DateTime']['output']>; lastTestMessage?: Maybe<Scalars['String']['output']>; /** SUCCESS or FAILURE. */ lastTestStatus?: Maybe<Scalars['String']['output']>; lastTestedAt?: Maybe<Scalars['DateTime']['output']>; onBehalfOf: Scalars['ID']['output']; /** Settings that are not secret (region, address, project...). Credentials are never here. */ providerConfig?: Maybe<Scalars['JSON']['output']>; providerType: ExternalProviderType; /** How connection fields reference this provider: {{ $secrets.<referenceKey>.<name> }} (BOFF-9741). */ referenceKey?: Maybe<Scalars['String']['output']>; syncConfigs?: Maybe<Array<VaultSyncConfig>>; syncDirection: SyncDirection; syncEnabled: Scalars['Boolean']['output']; syncIntervalMinutes: Scalars['Int']['output']; syncLogs?: Maybe<Array<VaultSyncLog>>; tenantId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; vaultId: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type VaultIntegrationFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; providerType?: InputMaybe<ExternalProviderType>; syncEnabled?: InputMaybe<Scalars['Boolean']['input']>; vaultId?: InputMaybe<Scalars['ID']['input']>; }; export type VaultIntegrationList = { __typename?: 'VaultIntegrationList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultIntegration>; total: Scalars['Int']['output']; }; export type VaultIntegrationTestResult = { __typename?: 'VaultIntegrationTestResult'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; testedAt: Scalars['DateTime']['output']; }; export type VaultList = { __typename?: 'VaultList'; hasMore: Scalars['Boolean']['output']; items: Array<Vault>; total: Scalars['Int']['output']; }; export type VaultLockedPayload = { __typename?: 'VaultLockedPayload'; vault: Vault; workspaceId: Scalars['String']['output']; }; export type VaultMember = { __typename?: 'VaultMember'; actorId: Scalars['String']['output']; actorType: Scalars['String']['output']; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; onBehalfOf: Scalars['ID']['output']; role: VaultMemberRole; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; vaultId: Scalars['String']['output']; }; export type VaultMemberList = { __typename?: 'VaultMemberList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultMember>; total: Scalars['Int']['output']; }; export declare enum VaultMemberRole { Admin = "ADMIN", Editor = "EDITOR", Viewer = "VIEWER" } export declare enum VaultRotationStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", InProgress = "IN_PROGRESS", Pending = "PENDING" } export declare enum VaultScope { Personal = "PERSONAL", Product = "PRODUCT", Tenant = "TENANT", Workspace = "WORKSPACE" } export type VaultSecurityEvent = { __typename?: 'VaultSecurityEvent'; city?: Maybe<Scalars['String']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; correlationId?: Maybe<Scalars['String']['output']>; country?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; detectionRules?: Maybe<Array<Scalars['String']['output']>>; deviceId?: Maybe<Scalars['String']['output']>; eventData?: Maybe<Scalars['JSON']['output']>; eventType: VaultSecurityEventType; id: Scalars['ID']['output']; incidentId?: Maybe<Scalars['String']['output']>; ipAddress?: Maybe<Scalars['String']['output']>; latitude?: Maybe<Scalars['Float']['output']>; longitude?: Maybe<Scalars['Float']['output']>; message: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; resourceId?: Maybe<Scalars['String']['output']>; resourceType?: Maybe<Scalars['String']['output']>; reviewNotes?: Maybe<Scalars['String']['output']>; reviewed: Scalars['Boolean']['output']; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedBy?: Maybe<Scalars['String']['output']>; riskScore?: Maybe<Scalars['Int']['output']>; sessionId?: Maybe<Scalars['String']['output']>; severity: VaultSecurityEventSeverity; sourceProduct?: Maybe<Scalars['String']['output']>; sourceRefId?: Maybe<Scalars['String']['output']>; tenantId?: Maybe<Scalars['String']['output']>; timestamp: Scalars['DateTime']['output']; userAgent?: Maybe<Scalars['String']['output']>; userId?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['String']['output']; }; export type VaultSecurityEventFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; correlationId?: InputMaybe<Scalars['String']['input']>; endDate?: InputMaybe<Scalars['DateTime']['input']>; eventType?: InputMaybe<VaultSecurityEventType>; resourceType?: InputMaybe<Scalars['String']['input']>; reviewed?: InputMaybe<Scalars['Boolean']['input']>; severity?: InputMaybe<VaultSecurityEventSeverity>; sourceProduct?: InputMaybe<Scalars['String']['input']>; sourceRefId?: InputMaybe<Scalars['String']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; userId?: InputMaybe<Scalars['String']['input']>; }; export type VaultSecurityEventList = { __typename?: 'VaultSecurityEventList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultSecurityEvent>; total: Scalars['Int']['output']; }; export declare enum VaultSecurityEventSeverity { Critical = "CRITICAL", High = "HIGH", Info = "INFO", Low = "LOW", Medium = "MEDIUM" } export declare enum VaultSecurityEventType { AnomalousBehaviorDetected = "ANOMALOUS_BEHAVIOR_DETECTED", ApiKeyCreated = "API_KEY_CREATED", ApiKeyRevoked = "API_KEY_REVOKED", BruteForceDetected = "BRUTE_FORCE_DETECTED", CompromisedCredentialDetected = "COMPROMISED_CREDENTIAL_DETECTED", CredentialStuffingDetected = "CREDENTIAL_STUFFING_DETECTED", DataExfiltrationDetected = "DATA_EXFILTRATION_DETECTED", ImpossibleTravelDetected = "IMPOSSIBLE_TRAVEL_DETECTED", LoginFailed = "LOGIN_FAILED", LoginSuccess = "LOGIN_SUCCESS", Logout = "LOGOUT", MfaChallengeFailed = "MFA_CHALLENGE_FAILED", MfaDisabled = "MFA_DISABLED", MfaEnabled = "MFA_ENABLED", PasswordChanged = "PASSWORD_CHANGED", PasswordResetCompleted = "PASSWORD_RESET_COMPLETED", PasswordResetRequested = "PASSWORD_RESET_REQUESTED", PermissionGranted = "PERMISSION_GRANTED", PermissionRevoked = "PERMISSION_REVOKED", PrivilegeEscalationDetected = "PRIVILEGE_ESCALATION_DETECTED", RateLimitExceeded = "RATE_LIMIT_EXCEEDED", RoleAssigned = "ROLE_ASSIGNED", RoleRevoked = "ROLE_REVOKED", SecretAccessed = "SECRET_ACCESSED", SecretCreated = "SECRET_CREATED", SecretDeleted = "SECRET_DELETED", SecretLeakedDetected = "SECRET_LEAKED_DETECTED", SecretRotated = "SECRET_ROTATED", SecretUpdated = "SECRET_UPDATED", SessionCreated = "SESSION_CREATED", SessionExpired = "SESSION_EXPIRED", SessionTerminated = "SESSION_TERMINATED", SuspiciousIpDetected = "SUSPICIOUS_IP_DETECTED", UnauthorizedAccessAttempt = "UNAUTHORIZED_ACCESS_ATTEMPT", VaultAccessed = "VAULT_ACCESSED", VaultCreated = "VAULT_CREATED", VaultDeleted = "VAULT_DELETED" } export type VaultSecurityIncident = { __typename?: 'VaultSecurityIncident'; affectedResourceIds: Array<Scalars['String']['output']>; affectedUserIds: Array<Scalars['String']['output']>; assignedTo?: Maybe<Scalars['String']['output']>; category?: Maybe<Scalars['String']['output']>; closedAt?: Maybe<Scalars['DateTime']['output']>; confirmedAt?: Maybe<Scalars['DateTime']['output']>; /** Contextual IDs for filtering and scoping (workspaceId, userId, projectId, etc.) */ context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; detectedAt: Scalars['DateTime']['output']; eventCount: Scalars['Int']['output']; findings?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; incidentType: Scalars['String']['output']; investigationNotes?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; mitigationSteps?: Maybe<Scalars['String']['output']>; onBehalfOf: Scalars['ID']['output']; priority: Scalars['Int']['output']; resolvedAt?: Maybe<Scalars['DateTime']['output']>; severity: VaultIncidentSeverity; status: VaultIncidentStatus; tenantId?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['String']['output']; }; export type VaultSecurityIncidentFilterInput = { assignedTo?: InputMaybe<Scalars['String']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; endDate?: InputMaybe<Scalars['DateTime']['input']>; incidentType?: InputMaybe<Scalars['String']['input']>; severity?: InputMaybe<VaultIncidentSeverity>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<VaultIncidentStatus>; }; export type VaultSecurityIncidentList = { __typename?: 'VaultSecurityIncidentList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultSecurityIncident>; total: Scalars['Int']['output']; }; export declare enum VaultStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deleted = "DELETED", Locked = "LOCKED", Suspended = "SUSPENDED" } export type VaultSyncConfig = { __typename?: 'VaultSyncConfig'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; id: Scalars['ID']['output']; integrationId: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; pathMapping?: Maybe<Scalars['JSON']['output']>; secretFilter?: Maybe<Scalars['JSON']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['String']['output']; }; export type VaultSyncLog = { __typename?: 'VaultSyncLog'; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; details?: Maybe<Scalars['JSON']['output']>; direction: SyncDirection; durationMs?: Maybe<Scalars['Int']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; integrationId: Scalars['String']['output']; onBehalfOf: Scalars['ID']['output']; secretsFailed: Scalars['Int']['output']; secretsSynced: Scalars['Int']['output']; startedAt: Scalars['DateTime']['output']; status: VaultSyncStatus; workspaceId: Scalars['String']['output']; }; export type VaultSyncLogFilterInput = { direction?: InputMaybe<SyncDirection>; endDate?: InputMaybe<Scalars['DateTime']['input']>; integrationId?: InputMaybe<Scalars['ID']['input']>; startDate?: InputMaybe<Scalars['DateTime']['input']>; status?: InputMaybe<VaultSyncStatus>; }; export type VaultSyncLogList = { __typename?: 'VaultSyncLogList'; hasMore: Scalars['Boolean']['output']; items: Array<VaultSyncLog>; total: Scalars['Int']['output']; }; export declare enum VaultSyncStatus { Completed = "COMPLETED", Failed = "FAILED", InProgress = "IN_PROGRESS", Partial = "PARTIAL", Pending = "PENDING" } export type VaultUnlockedPayload = { __typename?: 'VaultUnlockedPayload'; vault: Vault; workspaceId: Scalars['String']['output']; }; export type VaultUpdatedPayload = { __typename?: 'VaultUpdatedPayload'; vault: Vault; workspaceId: Scalars['String']['output']; }; export type VehicleFilterInput = { driverId?: InputMaybe<Scalars['ID']['input']>; /** Fetch exactly these vehicles by id, regardless of how many. Ignores other filters/pagination when set. */ ids?: InputMaybe<Array<Scalars['ID']['input']>>; search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VehicleStatus>; type?: InputMaybe<VehicleType>; }; export declare enum VehicleStatus { Active = "ACTIVE", Decommissioned = "DECOMMISSIONED", Inactive = "INACTIVE", InTransit = "IN_TRANSIT", Maintenance = "MAINTENANCE" } export declare enum VehicleType { Bicycle = "BICYCLE", Drone = "DRONE", Flatbed = "FLATBED", Motorcycle = "MOTORCYCLE", Refrigerated = "REFRIGERATED", SemiTrailer = "SEMI_TRAILER", Truck = "TRUCK", Van = "VAN" } export type VerifyMtwInspectorQualificationInput = { evidence: Array<MtwContainerEvidenceInput>; expectedVersion: Scalars['Int']['input']; idempotencyKey: Scalars['String']['input']; issuerConfirmationReference: Scalars['String']['input']; qualificationId: Scalars['ID']['input']; reviewNote: Scalars['String']['input']; }; export declare enum VersionStatus { Draft = "DRAFT", Historical = "HISTORICAL", Published = "PUBLISHED" } /** * Which bundle a durable-function run uses (spec code-first 11 §2.27). Durable-function parity: needs * fluidgrids.durable-parity. */ export declare enum VersioningBehavior { /** The ACTIVE version's bundle at each new workflow task (the code must stay replay-compatible). */ AutoUpgrade = "AUTO_UPGRADE", /** The bundle of the version the run started on, for its whole life (the default). */ Pinned = "PINNED" } /** * A versioning override: `{behavior: PINNED, version}` pins the run to that version's bundle (after a * replay check of the run when the bundle differs), `{behavior: AUTO_UPGRADE}` upgrades it at its next * workflow task. */ export type VersioningOverrideInput = { behavior: VersioningBehavior; /** Required for PINNED: a version of the same workflow that exports the run's workflow function. */ version?: InputMaybe<Scalars['String']['input']>; }; /** * A development project or repository representing a development environment. * Vibes can be organized hierarchically and support various types (local, remote, docker, cloud). */ export type Vibe = { __typename?: 'Vibe'; /** * Attachment records (provenance: addedBy, addedAt). Use for the * Vibe → Agents tab; use `agents` for plain agent lists. */ agentAttachments: Array<VibeAgentAttachment>; /** * Agents attached to this vibe. A vibe may have 0..N agents — each * collaborating developer can bring their own (host machine, dev VM) * alongside shared environment agents (alpha, prod, customer envs). * Empty list disables agent-dependent tabs (sessions, tunnels, gitops, * plugins). The "default agent for this vibe" is a per-user concern * persisted in the client store; there is no vibe-global default. */ agents: Array<VibecontrolsAgent>; /** Timestamp when archived */ archivedAt?: Maybe<Scalars['DateTime']['output']>; /** Child vibes */ children: Array<Vibe>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Vibe description */ description?: Maybe<Scalars['String']['output']>; /** * Per-vibe feature toggles after merging stored overrides on top of the catalog defaults. * Always returns a value for every known feature id. */ effectiveFeatureFlags: Scalars['JSON']['output']; /** * Typed list of this vibe's environment variables, including secret ones. Secret values are * masked (`value` is null, `isSecret` true) and are never returned in plaintext after save. */ envVars: Array<VibeEnvVar>; /** * Environment variables (plaintext, non-secret map). Legacy shape kept for back-compat. * Prefer `envVars` for the typed list that also includes (masked) secret vars. */ environmentVariables?: Maybe<Scalars['JSON']['output']>; /** * Raw per-vibe feature toggles as stored on the vibe. * Shape: { "<featureId>": boolean }. Missing keys fall back to the catalog default. * Use `effectiveFeatureFlags` for the merged view that the UI should drive off. */ featureFlags?: Maybe<Scalars['JSON']['output']>; /** Current Git branch */ gitBranch?: Maybe<Scalars['String']['output']>; /** Git remote URL */ gitRemote?: Maybe<Scalars['String']['output']>; /** Git status information */ gitStatus?: Maybe<Scalars['JSON']['output']>; /** Whether this Vibe has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** * All entities linked to this vibe, grouped by type. Each list is filtered by the * same visibility rules as the standalone list queries (caller's own PRIVATE + * workspace SHARED_WITH_VIBE). * Follow-up: Sandbox + ScheduledJob lists land here once Federation v2 stubs * are wired (queried directly via separate listSandboxes/scheduledJobs filtered * by vibeId for now). */ linkedEntities: VibeLinkedEntities; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Vibe (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** Vibe display name */ name: Scalars['String']['output']; /** Notes associated with this vibe */ notes: Array<VibecontrolsNote>; /** Parent vibe */ parent?: Maybe<Vibe>; /** Parent vibe ID for hierarchical organization */ parentId?: Maybe<Scalars['ID']['output']>; /** File system path or URL. Optional — a vibe need not be bound to a path. */ path?: Maybe<Scalars['String']['output']>; /** Sessions associated with this vibe */ sessions: Array<Session>; /** Active share grants on this Vibe (owner/MANAGER only). */ shares: Array<ShareGrant>; /** Current status */ status: VibeStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** * Tags for categorization (legacy String[] shape). * Backwards-compat projection of the canonical `tagsV2` Json column (marqueue §251). * @deprecated Use tagsV2 (canonical Json shape). This field will be removed once consumers migrate. */ tags: Array<Scalars['String']['output']>; /** * Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}` * records mirroring `wspace-workspace-svc` Project.tags shape. */ tagsV2: Scalars['JSON']['output']; /** Vibe type */ type: VibeType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type VibeAction = { __typename?: 'VibeAction'; id: Scalars['ID']['output']; }; /** * A single attachment of an agent to a vibe, with provenance. RBAC governs * who can create/delete attachments (update:vibe). There is no per-attachment * role — personal-vs-shared semantics live on the Agent itself via * `VibecontrolsAgent.ownerUserId`. */ export type VibeAgentAttachment = { __typename?: 'VibeAgentAttachment'; addedAt: Scalars['DateTime']['output']; addedBy: Scalars['ID']['output']; agent: VibecontrolsAgent; agentId: Scalars['ID']['output']; id: Scalars['ID']['output']; vibeId: Scalars['ID']['output']; }; export type VibeAnalytics = { __typename?: 'VibeAnalytics'; byStatus: Array<AnalyticsBreakdownBucket>; byType: Array<AnalyticsBreakdownBucket>; /** Vibes created over time */ createdOverTime: Array<AnalyticsTimeSeriesPoint>; total: Scalars['Int']['output']; /** Vibes assigned to an agent */ withAgent: Scalars['Int']['output']; /** Vibes without an agent */ withoutAgent: Scalars['Int']['output']; }; export declare enum VibeAuditAction { Archive = "ARCHIVE", Create = "CREATE", Delete = "DELETE", Execute = "EXECUTE", Export = "EXPORT", Read = "READ", Restore = "RESTORE", Revoke = "REVOKE", Share = "SHARE", Update = "UPDATE" } export type VibeAuditActionCount = { __typename?: 'VibeAuditActionCount'; action: VibeAuditAction; count: Scalars['Int']['output']; }; export type VibeAuditActorCount = { __typename?: 'VibeAuditActorCount'; actorId: Scalars['ID']['output']; count: Scalars['Int']['output']; }; export type VibeAuditDayCount = { __typename?: 'VibeAuditDayCount'; count: Scalars['Int']['output']; date: Scalars['String']['output']; }; export declare enum VibeAuditExportFormat { Csv = "CSV", Json = "JSON" } export type VibeAuditExportInput = { filter?: InputMaybe<VibeAuditLogFilterInput>; format?: InputMaybe<VibeAuditExportFormat>; }; /** * An audit log entry recording a single operation within VibeControls. * Captures who did what, when, on which resource, with full state snapshots. */ export type VibeAuditLog = { __typename?: 'VibeAuditLog'; action: VibeAuditAction; actorId: Scalars['ID']['output']; actorType?: Maybe<Scalars['String']['output']>; changeset?: Maybe<Scalars['JSON']['output']>; command?: Maybe<Scalars['String']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; deleteReason?: Maybe<Scalars['String']['output']>; description?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; exitCode?: Maybe<Scalars['Int']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; newState?: Maybe<Scalars['JSON']['output']>; operationName?: Maybe<Scalars['String']['output']>; output?: Maybe<Scalars['String']['output']>; previousState?: Maybe<Scalars['JSON']['output']>; requestId?: Maybe<Scalars['String']['output']>; resourceId?: Maybe<Scalars['ID']['output']>; resourceName?: Maybe<Scalars['String']['output']>; resourceType: VibeAuditResourceType; script?: Maybe<Scalars['String']['output']>; status: VibeAuditStatus; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; export type VibeAuditLogExport = { __typename?: 'VibeAuditLogExport'; count: Scalars['Int']['output']; data: Scalars['String']['output']; format: VibeAuditExportFormat; generatedAt: Scalars['DateTime']['output']; }; export type VibeAuditLogFilterInput = { action?: InputMaybe<VibeAuditAction>; actions?: InputMaybe<Array<VibeAuditAction>>; actorId?: InputMaybe<Scalars['ID']['input']>; /** Filter to audit events touching this Agent (resourceType=AGENT AND resourceId=agentId). */ agentId?: InputMaybe<Scalars['ID']['input']>; context?: InputMaybe<ContextFilterInput>; dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; hasCommand?: InputMaybe<Scalars['Boolean']['input']>; resourceId?: InputMaybe<Scalars['ID']['input']>; resourceType?: InputMaybe<VibeAuditResourceType>; resourceTypes?: InputMaybe<Array<VibeAuditResourceType>>; search?: InputMaybe<Scalars['String']['input']>; /** * Filter to audit events touching this Session (resourceType=SESSION AND * resourceId=sessionId). Surfaces the full activity timeline for a session and * keeps working after the session is killed (audit_logs is an independent table). * Powers the Audit Log → session drill-down (F2). */ sessionId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<VibeAuditStatus>; /** Filter to audit events touching this Vibe (resourceType=VIBE AND resourceId=vibeId). */ vibeId?: InputMaybe<Scalars['ID']['input']>; }; export type VibeAuditLogList = { __typename?: 'VibeAuditLogList'; hasMore: Scalars['Boolean']['output']; items: Array<VibeAuditLog>; total: Scalars['Int']['output']; }; export type VibeAuditLogStats = { __typename?: 'VibeAuditLogStats'; logsByAction: Array<VibeAuditActionCount>; logsByDay: Array<VibeAuditDayCount>; logsByResourceType: Array<VibeAuditResourceCount>; logsByStatus: Array<VibeAuditStatusCount>; retentionPolicy: VibeAuditRetentionInfo; topActors: Array<VibeAuditActorCount>; totalLogs: Scalars['Int']['output']; }; export type VibeAuditResourceCount = { __typename?: 'VibeAuditResourceCount'; count: Scalars['Int']['output']; resourceType: VibeAuditResourceType; }; export declare enum VibeAuditResourceType { Action = "ACTION", ActionExecution = "ACTION_EXECUTION", Agent = "AGENT", AgentConnection = "AGENT_CONNECTION", AgentMeshLink = "AGENT_MESH_LINK", AgentMessageBookmark = "AGENT_MESSAGE_BOOKMARK", AiContext = "AI_CONTEXT", AiCredit = "AI_CREDIT", AiPrompt = "AI_PROMPT", AiToolEvent = "AI_TOOL_EVENT", AuditLog = "AUDIT_LOG", CalendarTask = "CALENDAR_TASK", Catalog = "CATALOG", CatalogComponent = "CATALOG_COMPONENT", CatalogVibe = "CATALOG_VIBE", Component = "COMPONENT", Configuration = "CONFIGURATION", DocsBuildImage = "DOCS_BUILD_IMAGE", DocsPage = "DOCS_PAGE", DocsRevision = "DOCS_REVISION", DocsSite = "DOCS_SITE", GitopsProvider = "GITOPS_PROVIDER", InstructionFile = "INSTRUCTION_FILE", Note = "NOTE", Scorecard = "SCORECARD", ScorecardMetric = "SCORECARD_METRIC", SecurityException = "SECURITY_EXCEPTION", SecurityFinding = "SECURITY_FINDING", SecurityPolicy = "SECURITY_POLICY", SecurityProvider = "SECURITY_PROVIDER", SecurityScanRun = "SECURITY_SCAN_RUN", Session = "SESSION", SessionRecording = "SESSION_RECORDING", SessionShare = "SESSION_SHARE", SessionShareLink = "SESSION_SHARE_LINK", Tag = "TAG", Target = "TARGET", Template = "TEMPLATE", Tunnel = "TUNNEL", TunnelDomain = "TUNNEL_DOMAIN", TunnelSession = "TUNNEL_SESSION", UiSession = "UI_SESSION", Vibe = "VIBE", VibeAgent = "VIBE_AGENT", VibeDeck = "VIBE_DECK", VibeDeckButton = "VIBE_DECK_BUTTON", Webhook = "WEBHOOK" } export type VibeAuditRetentionInfo = { __typename?: 'VibeAuditRetentionInfo'; nextCleanup?: Maybe<Scalars['DateTime']['output']>; retentionDays: Scalars['Int']['output']; tier: Scalars['String']['output']; }; export declare enum VibeAuditStatus { Denied = "DENIED", Error = "ERROR", Failure = "FAILURE", Success = "SUCCESS" } export type VibeAuditStatusCount = { __typename?: 'VibeAuditStatusCount'; count: Scalars['Int']['output']; status: VibeAuditStatus; }; export type VibeCalendarExecution = { __typename?: 'VibeCalendarExecution'; completedAt?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; exitCode?: Maybe<Scalars['Int']['output']>; id: Scalars['ID']['output']; output?: Maybe<Scalars['String']['output']>; startedAt: Scalars['DateTime']['output']; status: VibeCalendarExecutionStatus; task: VibeCalendarTask; taskId: Scalars['ID']['output']; webhookStatusCode?: Maybe<Scalars['Int']['output']>; }; export declare enum VibeCalendarExecutionStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Running = "RUNNING", Timeout = "TIMEOUT" } export type VibeCalendarTask = { __typename?: 'VibeCalendarTask'; action: VibeAction; actionId: Scalars['ID']['output']; calendarId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; cronExpression?: Maybe<Scalars['String']['output']>; event: CalendarEvent; id: Scalars['ID']['output']; isRecurring?: Maybe<Scalars['Boolean']['output']>; lastExecutedAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; nextExecutionAt?: Maybe<Scalars['DateTime']['output']>; status: VibeCalendarTaskStatus; updatedAt: Scalars['DateTime']['output']; }; export declare enum VibeCalendarTaskStatus { Active = "ACTIVE", Completed = "COMPLETED", Disabled = "DISABLED", Failed = "FAILED", Paused = "PAUSED", Pending = "PENDING" } export type VibeDeck = { __typename?: 'VibeDeck'; buttonSize?: Maybe<Scalars['String']['output']>; buttons: Array<VibeDeckButton>; colorTheme?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; gridColumns: Scalars['Int']['output']; gridRows: Scalars['Int']['output']; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; /** Whether this deck has any active share links */ isShared: Scalars['Boolean']['output']; metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective canonical role (generic sharing). */ myGrantRole?: Maybe<ShareRole>; name: Scalars['String']['output']; /** Canonical generic grants on this VibeDeck (owner/MANAGER only). */ shareGrants: Array<ShareGrant>; /** All share links for this deck (owner-only) */ shareLinks: Array<VibeDeckShareLink>; sortOrder: Scalars['Int']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** @deprecated Use tagsV2 (canonical Json shape). This field will be removed once consumers migrate. */ tags: Array<Scalars['String']['output']>; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; updatedAt: Scalars['DateTime']['output']; /** Optional Vibe linkage. When set the vibedeck surfaces on the Vibe detail page. */ vibeId?: Maybe<Scalars['ID']['output']>; /** * Visibility when linked to a Vibe. PRIVATE = only the owner; SHARED_WITH_VIBE = * workspace members with vibe access. */ visibility: VibeVisibility; workspaceId: Scalars['ID']['output']; }; export type VibeDeckAnalytics = { __typename?: 'VibeDeckAnalytics'; buttonsByActionType: Array<AnalyticsBreakdownBucket>; totalButtons: Scalars['Int']['output']; totalDecks: Scalars['Int']['output']; }; export type VibeDeckButton = { __typename?: 'VibeDeckButton'; action?: Maybe<Action>; actionId?: Maybe<Scalars['ID']['output']>; category?: Maybe<Scalars['String']['output']>; colSpan: Scalars['Int']['output']; color?: Maybe<Scalars['String']['output']>; column: Scalars['Int']['output']; confirmationRequired: Scalars['Boolean']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; keyboardShortcut?: Maybe<Scalars['String']['output']>; label: Scalars['String']['output']; metadata?: Maybe<Scalars['JSON']['output']>; row: Scalars['Int']['output']; rowSpan: Scalars['Int']['output']; sortOrder: Scalars['Int']['output']; style?: Maybe<Scalars['JSON']['output']>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; vibeDeck: VibeDeck; vibeDeckId: Scalars['ID']['output']; }; export declare enum VibeDeckButtonActionType { Command = "COMMAND", Script = "SCRIPT", Webhook = "WEBHOOK", /** * The button runs an action of type WORKFLOW. Only reported on execution * results; buttons themselves are stored as COMMAND, SCRIPT or WEBHOOK. */ Workflow = "WORKFLOW" } export type VibeDeckButtonConnection = { __typename?: 'VibeDeckButtonConnection'; hasMore: Scalars['Boolean']['output']; items: Array<VibeDeckButton>; total: Scalars['Int']['output']; }; export type VibeDeckButtonExecution = { __typename?: 'VibeDeckButtonExecution'; actionType: VibeDeckButtonActionType; agentId?: Maybe<Scalars['ID']['output']>; buttonId: Scalars['ID']['output']; command?: Maybe<Scalars['String']['output']>; executedAt: Scalars['DateTime']['output']; exitCode?: Maybe<Scalars['Int']['output']>; output?: Maybe<Scalars['String']['output']>; status: Scalars['String']['output']; webhookStatusCode?: Maybe<Scalars['Int']['output']>; webhookUrl?: Maybe<Scalars['String']['output']>; }; export type VibeDeckButtonFilterInput = { category?: InputMaybe<Scalars['String']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; targetAgentId?: InputMaybe<Scalars['ID']['input']>; targetPlatformFilter?: InputMaybe<Scalars['String']['input']>; vibeDeckId?: InputMaybe<Scalars['ID']['input']>; }; export type VibeDeckButtonPositionInput = { buttonId: Scalars['ID']['input']; colSpan?: InputMaybe<Scalars['Int']['input']>; column: Scalars['Int']['input']; row: Scalars['Int']['input']; rowSpan?: InputMaybe<Scalars['Int']['input']>; }; export type VibeDeckConnection = { __typename?: 'VibeDeckConnection'; hasMore: Scalars['Boolean']['output']; items: Array<VibeDeck>; total: Scalars['Int']['output']; }; export type VibeDeckFilterInput = { context?: InputMaybe<ContextFilterInput>; isDefault?: InputMaybe<Scalars['Boolean']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** A share link for a VibeDeck. Owners create links to share decks with others. */ export type VibeDeckShareLink = { __typename?: 'VibeDeckShareLink'; allowIframe: Scalars['Boolean']['output']; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; hasPassword: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; maxUses?: Maybe<Scalars['Int']['output']>; name?: Maybe<Scalars['String']['output']>; permission: VibeDeckSharePermission; shareUrl: Scalars['String']['output']; status: VibeDeckShareStatus; token: Scalars['String']['output']; useCount: Scalars['Int']['output']; vibeDeck: VibeDeck; vibeDeckId: Scalars['ID']['output']; visibility: VibeDeckShareVisibility; }; export type VibeDeckShareLinkList = { __typename?: 'VibeDeckShareLinkList'; items: Array<VibeDeckShareLink>; total: Scalars['Int']['output']; }; /** * Result of validating a share link token. Used by the public shared page * to determine if the link is valid and what access it grants. */ export type VibeDeckShareLinkValidation = { __typename?: 'VibeDeckShareLinkValidation'; allowIframe?: Maybe<Scalars['Boolean']['output']>; error?: Maybe<Scalars['String']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; isValid: Scalars['Boolean']['output']; ownerName?: Maybe<Scalars['String']['output']>; permission?: Maybe<VibeDeckSharePermission>; requiresPassword: Scalars['Boolean']['output']; vibeDeckId?: Maybe<Scalars['ID']['output']>; vibeDeckName?: Maybe<Scalars['String']['output']>; }; export declare enum VibeDeckSharePermission { Execute = "EXECUTE", View = "VIEW" } export declare enum VibeDeckShareStatus { Active = "ACTIVE", Expired = "EXPIRED", Revoked = "REVOKED" } export declare enum VibeDeckShareVisibility { Public = "PUBLIC", Restricted = "RESTRICTED", SignedLink = "SIGNED_LINK" } /** * Selector for the generic linkEntity/unlinkEntity/updateEntityVisibility mutations. * SANDBOX and SCHEDULED_JOB are cross-svc — those mutations route to the owning * subgraph; the rest are owned locally by wspace-vibecontrols-svc. */ export declare enum VibeEntityType { Action = "ACTION", AiContext = "AI_CONTEXT", AiPrompt = "AI_PROMPT", InstructionFile = "INSTRUCTION_FILE", Sandbox = "SANDBOX", ScheduledJob = "SCHEDULED_JOB", Tunnel = "TUNNEL", VibeDeck = "VIBE_DECK" } /** * A single environment variable on a vibe. Secret values are masked: `value` is null and * `isSecret`/`hasValue` are true. Non-secret vars carry their plaintext `value`. */ export type VibeEnvVar = { __typename?: 'VibeEnvVar'; hasValue: Scalars['Boolean']['output']; isSecret: Scalars['Boolean']['output']; key: Scalars['String']['output']; value?: Maybe<Scalars['String']['output']>; }; /** Definition of a single toggleable feature on a Vibe. */ export type VibeFeatureDefinition = { __typename?: 'VibeFeatureDefinition'; /** Default state when no per-vibe override has been stored. */ defaultEnabled: Scalars['Boolean']['output']; /** Stable feature identifier (matches keys in `Vibe.featureFlags`). */ id: Scalars['String']['output']; /** Human-readable feature label. */ label: Scalars['String']['output']; }; export type VibeFilterInput = { /** * Filter to vibes that have any of these agents attached. * Replaces the singular `agentId` filter from before multi-agent support. */ attachedAgentIds?: InputMaybe<Array<Scalars['ID']['input']>>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; parentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<VibeStatus>; tags?: InputMaybe<Array<Scalars['String']['input']>>; type?: InputMaybe<VibeType>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * Vibe linkedEntities grouping. Owned-entity lists (VibeDecks/Actions/AiPrompts/ * Tunnels) come from wspace-vibecontrols-svc directly. Sandbox + ScheduledJob * linkage lives in their own subgraphs — call listSandboxes(filter: {vibeId}) * and scheduledJobs(filter: {vibeId}) on the gateway for those (follow-up: * fold into this shape via Federation v2 stub once supergraph cleanly composes). */ export type VibeLinkedEntities = { __typename?: 'VibeLinkedEntities'; actions: Array<Action>; aiContexts: Array<AiContext>; aiPrompts: Array<AiPrompt>; instructionFiles: Array<AgentInstructionFile>; tunnels: Array<Tunnel>; vibeDecks: Array<VibeDeck>; }; /** * Union of all entities that can be linked to a Vibe. Returned by Vibe.linkedEntities * queries and link/unlink mutations. */ export type VibeLinkedEntity = Action | AgentInstructionFile | AiContext | AiPrompt | Tunnel | VibeDeck; export type VibeList = { __typename?: 'VibeList'; hasMore: Scalars['Boolean']['output']; items: Array<Vibe>; total: Scalars['Int']['output']; }; export type VibeLlmContextFetchAudit = { __typename?: 'VibeLlmContextFetchAudit'; bytes: Scalars['Int']['output']; durationMs: Scalars['Int']['output']; fetchedAt: Scalars['DateTime']['output']; format: Scalars['String']['output']; id: Scalars['ID']['output']; jti: Scalars['ID']['output']; remoteIp?: Maybe<Scalars['String']['output']>; status: Scalars['Int']['output']; tokenId: Scalars['ID']['output']; userAgent?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; vibeId: Scalars['ID']['output']; }; export type VibeLlmContextMintInput = { defaultAgentIdOverride?: InputMaybe<Scalars['ID']['input']>; includeCredentials?: InputMaybe<Scalars['Boolean']['input']>; includes?: InputMaybe<Array<Scalars['String']['input']>>; label?: InputMaybe<Scalars['String']['input']>; ttlSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type VibeLlmContextPreview = { __typename?: 'VibeLlmContextPreview'; includeCredentials: Scalars['Boolean']['output']; includes: Array<Scalars['String']['output']>; json: Scalars['String']['output']; markdown: Scalars['String']['output']; }; export type VibeLlmContextSettings = { __typename?: 'VibeLlmContextSettings'; customContextText?: Maybe<Scalars['String']['output']>; defaultAgentIdOverride?: Maybe<Scalars['ID']['output']>; docsPagesLimit: Scalars['Int']['output']; includeCredentials: Scalars['Boolean']['output']; includes: Array<Scalars['String']['output']>; notesLimit: Scalars['Int']['output']; securityRunsLimit: Scalars['Int']['output']; sessionsLimit: Scalars['Int']['output']; ttlSeconds: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; vibeId: Scalars['ID']['output']; }; export type VibeLlmContextSettingsInput = { customContextText?: InputMaybe<Scalars['String']['input']>; defaultAgentIdOverride?: InputMaybe<Scalars['ID']['input']>; docsPagesLimit?: InputMaybe<Scalars['Int']['input']>; includeCredentials?: InputMaybe<Scalars['Boolean']['input']>; includes?: InputMaybe<Array<Scalars['String']['input']>>; notesLimit?: InputMaybe<Scalars['Int']['input']>; securityRunsLimit?: InputMaybe<Scalars['Int']['input']>; sessionsLimit?: InputMaybe<Scalars['Int']['input']>; ttlSeconds?: InputMaybe<Scalars['Int']['input']>; }; export type VibeLlmContextToken = { __typename?: 'VibeLlmContextToken'; createdAt: Scalars['DateTime']['output']; expiresAt: Scalars['DateTime']['output']; fetchCount: Scalars['Int']['output']; id: Scalars['ID']['output']; includeCredentials: Scalars['Boolean']['output']; includes: Array<Scalars['String']['output']>; label?: Maybe<Scalars['String']['output']>; lastFetchedAt?: Maybe<Scalars['DateTime']['output']>; revokedAt?: Maybe<Scalars['DateTime']['output']>; revokedReason?: Maybe<Scalars['String']['output']>; status: VibeLlmContextTokenStatus; tokenFingerprint: Scalars['String']['output']; userId: Scalars['ID']['output']; vibeId: Scalars['ID']['output']; }; export declare enum VibeLlmContextTokenStatus { Active = "ACTIVE", Revoked = "REVOKED" } export type VibeLlmContextUrl = { __typename?: 'VibeLlmContextUrl'; expiresAt: Scalars['DateTime']['output']; includeCredentials: Scalars['Boolean']['output']; includes: Array<Scalars['String']['output']>; label?: Maybe<Scalars['String']['output']>; token: Scalars['String']['output']; tokenFingerprint: Scalars['String']['output']; tokenId: Scalars['ID']['output']; ttlSeconds: Scalars['Int']['output']; url: Scalars['String']['output']; }; export type VibeSecurityPolicy = { __typename?: 'VibeSecurityPolicy'; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; level: SecurityPolicyLevel; name: Scalars['String']['output']; rules: Scalars['JSON']['output']; version: Scalars['Int']['output']; vibeId?: Maybe<Scalars['ID']['output']>; workspaceId: Scalars['ID']['output']; }; export declare enum VibeStatus { Active = "ACTIVE", Archived = "ARCHIVED", Error = "ERROR", Inactive = "INACTIVE" } export declare enum VibeType { Custom = "CUSTOM", Monorepo = "MONOREPO", Package = "PACKAGE", Project = "PROJECT", Repository = "REPOSITORY", Workspace = "WORKSPACE" } /** * Visibility of an entity when linked to a Vibe. PRIVATE = only the owner sees it, * even when linked. SHARED_WITH_VIBE = workspace members with vibe access see it. * Each subgraph owns its own copy because Federation v2 does not share enums. */ export declare enum VibeVisibility { Private = "PRIVATE", SharedWithVibe = "SHARED_WITH_VIBE" } export declare enum VibecontrolsActionType { Command = "COMMAND", Script = "SCRIPT", Webhook = "WEBHOOK", Workflow = "WORKFLOW" } /** * A service running on a host machine that manages local development environments. * Agents execute sessions and manage vibes. */ export type VibecontrolsAgent = { __typename?: 'VibecontrolsAgent'; /** Custom AI context (markdown) surfaced to AI tools running on this agent */ aiContext?: Maybe<Scalars['String']['output']>; /** Agent REST API version (e.g. "v1") */ apiVersion?: Maybe<Scalars['String']['output']>; /** Auth-svc App clientId (for display/reference) */ appClientId?: Maybe<Scalars['String']['output']>; /** Linked auth-svc App ID (OAuth2 identity for gateway access) */ appId?: Maybe<Scalars['String']['output']>; /** CPU architecture */ architecture: Scalars['String']['output']; /** Latest available version from registry */ availableUpdate?: Maybe<Scalars['String']['output']>; /** Agent capabilities and features */ capabilities?: Maybe<Scalars['JSON']['output']>; /** Agent-specific configuration */ configuration?: Maybe<Scalars['JSON']['output']>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Data directory the agent's storage adapter uses, if explicitly configured. */ dbPath?: Maybe<Scalars['String']['output']>; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** * Whether custom storage adapter options (e.g. a connection string) are * configured. The option VALUES are never returned — they can hold secrets. */ hasStorageOptions: Scalars['Boolean']['output']; /** Machine hostname */ hostname: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether agent is currently connected */ isActive: Scalars['Boolean']['output']; /** Timestamp of the most recent gateway-auth push attempt or completion. */ lastGatewayAuthPushAt?: Maybe<Scalars['DateTime']['output']>; /** * Human-readable failure message from the most recent gateway-auth * push. Cleared on success. */ lastGatewayAuthPushError?: Maybe<Scalars['String']['output']>; /** * Status of the most recent gateway-auth push to the agent. `pending` * while the async finalize is in flight, `ok` once the agent acked * finalize, `failed` when preflight or finalize errored (see * `lastGatewayAuthPushError` for the message). Null on agents that * predate the push-status tracking (legacy / never pushed). */ lastGatewayAuthPushStatus?: Maybe<Scalars['String']['output']>; /** Last heartbeat timestamp */ lastHeartbeat?: Maybe<Scalars['DateTime']['output']>; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Agent display name */ name: Scalars['String']['output']; /** Outbound connections from this agent to other targets */ outboundConnections: Array<AgentConnection>; /** * Owner of this agent — the user who added it. NULL only for agents created by * an `app` / `service` actor (mesh deploy, CLI app token, agent self-register), * which have no human owner and are therefore always `WORKSPACE`-visible. * Independent of `createdBy`: ownership can be handed over afterwards via * `updateAgentOwnership`, `createdBy` never changes. */ ownerUserId?: Maybe<Scalars['ID']['output']>; /** Operating system platform */ platform: Scalars['String']['output']; /** Sessions running on this agent */ sessions: Array<Session>; /** * Storage adapter this agent is configured to use (e.g. "postgres", "skalex"), * or null for the default. Settable to reuse an existing same-workspace DB. */ storageAdapter?: Maybe<Scalars['String']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Target entity this agent is installed on */ target?: Maybe<Target>; /** The target this agent is installed on */ targetId: Scalars['String']['output']; /** Tunnel connection status */ tunnelStatus?: Maybe<Scalars['String']['output']>; /** * Tunnel URL for remote access — single canonical URL the platform uses * to reach the agent (legacy `apiUrl` was consolidated into this field * on 2026-05-01). */ tunnelUrl?: Maybe<Scalars['String']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Agent version (semver) */ version: Scalars['String']['output']; /** Vibes managed by this agent */ vibes: Array<Vibe>; /** * Who inside the workspace can see and use this agent (BOFF-6394). * * `PRIVATE` (the default for a user-added agent) = only `ownerUserId`. * `WORKSPACE` = any member holding the matching `@rbac` permission — the * pre-BOFF-6394 behaviour, and what every agent that existed before the change * was migrated to. Flip it with `setAgentVisibility`. */ visibility: VibecontrolsAgentVisibility; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type VibecontrolsAgentFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; isActive?: InputMaybe<Scalars['Boolean']['input']>; platform?: InputMaybe<Scalars['String']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type VibecontrolsAgentList = { __typename?: 'VibecontrolsAgentList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsAgent>; total: Scalars['Int']['output']; }; /** * Result of `vibecontrolsAgentNetworkLookup` — the live tunnel URL and a * peer API key the caller can use to talk to the target. The key is minted * fresh on every lookup and bound to the operation tag for audit logging. */ export type VibecontrolsAgentNetworkLookupResult = { __typename?: 'VibecontrolsAgentNetworkLookupResult'; expiresAt?: Maybe<Scalars['DateTime']['output']>; peerApiKey: Scalars['String']['output']; permissions: Array<Scalars['String']['output']>; tunnelUrl: Scalars['String']['output']; }; /** * A named profile hosted by an agent. The profile's `name` is the path * segment used when reaching `/api/profiles/<name>/...` on the agent. */ export type VibecontrolsAgentProfile = { __typename?: 'VibecontrolsAgentProfile'; agentId: Scalars['ID']['output']; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isDefault: Scalars['Boolean']['output']; name: Scalars['String']['output']; port?: Maybe<Scalars['Int']['output']>; status: Scalars['String']['output']; tunnelUrl?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; }; /** * Who inside the workspace can see and use an agent (BOFF-6394). * * An agent is remote code execution on a physical machine, so it carries this * second authorization dimension on top of the `@rbac` directives: the gateway * answers "may this actor do `update` on `agent` here?", `visibility` answers * "…on THIS agent?". * * Named for the subgraph on purpose: `botlit` already publishes an unrelated * `AgentVisibility` enum whose values include `PUBLIC`, and Federation requires * an enum used as BOTH input and output to carry identical values in every * subgraph that defines it. Sharing the name would break composition of the * whole workspaces supergraph. */ export declare enum VibecontrolsAgentVisibility { /** * Only `ownerUserId` can see or use the agent. The default for an agent added * by a user, or created by an agent on its owner's behalf (mesh deploy). * There is no actor-type bypass (BOFF-7920): super-admins and services are * held to it like any member, and an agent's own OAuth identity (`app`) only * reaches the agent it is plus its owner's other agents. */ Private = "PRIVATE", /** * Every workspace member holding the matching `@rbac` permission can see and * use the agent. The pre-BOFF-6394 behaviour, and the default for agents that * have no human owner (created by a `service` actor, or by an agent that is * itself ownerless). */ Workspace = "WORKSPACE" } export type VibecontrolsAnalyticsInput = { /** Optional: filter analytics by specific agent */ agentId?: InputMaybe<Scalars['ID']['input']>; /** Time range end (required) */ endDate: Scalars['DateTime']['input']; /** Optional: only fetch specific entity types (null = all) */ entityTypes?: InputMaybe<Array<AnalyticsEntityType>>; /** Granularity for time-series data (default: DAY) */ granularity?: InputMaybe<AnalyticsGranularity>; /** Time range start (required) */ startDate: Scalars['DateTime']['input']; /** Optional: filter analytics by specific vibe */ vibeId?: InputMaybe<Scalars['ID']['input']>; }; /** * Consolidated analytics result for all VibeControls entities. * Fields are nullable — null means the entity was not requested via entityTypes filter. */ export type VibecontrolsAnalyticsResult = { __typename?: 'VibecontrolsAnalyticsResult'; actions?: Maybe<ActionAnalytics>; agents?: Maybe<AgentAnalytics>; aiEvents?: Maybe<AiEventAnalytics>; audit?: Maybe<AuditAnalytics>; /** Whether the result was served from cache */ cached: Scalars['Boolean']['output']; configurations?: Maybe<ConfigurationAnalytics>; docs?: Maybe<DocsAnalytics>; /** Query execution time in milliseconds */ executionTimeMs: Scalars['Int']['output']; notes?: Maybe<NoteAnalytics>; sessions?: Maybe<SessionAnalytics>; targets?: Maybe<TargetAnalytics>; vibeDecks?: Maybe<VibeDeckAnalytics>; vibes?: Maybe<VibeAnalytics>; webhooks?: Maybe<WebhookAnalytics>; }; /** * A curated collection of components and vibes within a workspace. * Catalogs support visibility controls, dependency graphs, and aggregated SBOMs. */ export type VibecontrolsCatalog = { __typename?: 'VibecontrolsCatalog'; /** Number of components in this catalog */ componentCount: Scalars['Int']['output']; /** Components in this catalog (resolved) */ components: Array<VibecontrolsCatalogComponent>; /** Opaque IDs for cross-service context */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created the catalog (opaque reference) */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Catalog description */ description?: Maybe<Scalars['String']['output']>; /** Associated docs site (polymorphic, ownerType=CATALOG) */ docsSite?: Maybe<VibecontrolsDocsSite>; /** Whether this Catalog has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Catalog (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** Catalog name */ name: Scalars['String']['output']; /** User on whose behalf the catalog was created */ onBehalfOf: Scalars['ID']['output']; /** Actor who owns the catalog (opaque reference) */ ownerId?: Maybe<Scalars['ID']['output']>; /** Display name of the owner */ ownerName?: Maybe<Scalars['String']['output']>; /** Associated scorecard (polymorphic, ownerType=CATALOG) */ scorecard?: Maybe<VibecontrolsScorecard>; /** Active share grants on this Catalog (owner/MANAGER only). */ shares: Array<ShareGrant>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** User who last updated the catalog */ updatedBy?: Maybe<Scalars['ID']['output']>; /** Number of vibes in this catalog */ vibeCount: Scalars['Int']['output']; /** Vibes in this catalog (resolved) */ vibes: Array<VibecontrolsCatalogVibe>; /** Visibility level of the catalog */ visibility: CatalogVisibility; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** A component membership in a catalog (join entity). */ export type VibecontrolsCatalogComponent = { __typename?: 'VibecontrolsCatalogComponent'; /** When the component was added to the catalog */ addedAt: Scalars['DateTime']['output']; /** Actor who added the component */ addedBy: Scalars['ID']['output']; /** The catalog entity (resolved) */ catalog?: Maybe<VibecontrolsCatalog>; /** Catalog ID */ catalogId: Scalars['ID']['output']; /** The component entity (resolved) */ component?: Maybe<VibecontrolsComponent>; /** Component ID */ componentId: Scalars['ID']['output']; /** Unique identifier of the membership */ id: Scalars['ID']['output']; /** Additional metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Associated workspace ID */ workspaceId: Scalars['ID']['output']; }; export type VibecontrolsCatalogList = { __typename?: 'VibecontrolsCatalogList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsCatalog>; total: Scalars['Int']['output']; }; /** A vibe membership in a catalog (join entity). */ export type VibecontrolsCatalogVibe = { __typename?: 'VibecontrolsCatalogVibe'; /** When the vibe was added to the catalog */ addedAt: Scalars['DateTime']['output']; /** Actor who added the vibe */ addedBy: Scalars['ID']['output']; /** Catalog ID */ catalogId: Scalars['ID']['output']; /** Unique identifier of the membership */ id: Scalars['ID']['output']; /** Additional metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The vibe entity (resolved) */ vibe?: Maybe<Vibe>; /** Vibe ID */ vibeId: Scalars['ID']['output']; /** Associated workspace ID */ workspaceId: Scalars['ID']['output']; }; export type VibecontrolsCloneTemplateInput = { /** Operation context for scoping */ context?: InputMaybe<ContextInput>; /** Description for the new component */ description?: InputMaybe<Scalars['String']['input']>; /** Flexible key-value metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Name for the new component */ name: Scalars['String']['input']; /** Variable values to override snapshot defaults during instantiation */ variableValues?: InputMaybe<Scalars['JSON']['input']>; /** Target workspace ID (defaults to current workspace) */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * A software component (microservice, library, API, etc.) registered in the service catalog. * Components can be organized into catalogs, scored via scorecards, and published as templates. */ export type VibecontrolsComponent = { __typename?: 'VibecontrolsComponent'; /** Number of catalogs this component belongs to */ catalogCount: Scalars['Int']['output']; /** Catalogs this component belongs to */ catalogs: Array<VibecontrolsCatalogComponent>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Dependency list as JSON [{name, version, type}] */ dependencies?: Maybe<Scalars['JSON']['output']>; /** Component description */ description?: Maybe<Scalars['String']['output']>; /** Documentation site for this component */ docsSite?: Maybe<VibecontrolsDocsSite>; /** Documentation URL */ documentationUrl?: Maybe<Scalars['String']['output']>; /** Primary framework */ framework?: Maybe<Scalars['String']['output']>; /** Whether this Component has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Primary programming language */ language?: Maybe<Scalars['String']['output']>; /** Lifecycle stage */ lifecycle: ComponentLifecycle; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Component (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** Component display name */ name: Scalars['String']['output']; /** Owner actor ID (opaque reference) */ ownerId?: Maybe<Scalars['ID']['output']>; /** Owner display name */ ownerName?: Maybe<Scalars['String']['output']>; /** Source code repository URL */ repositoryUrl?: Maybe<Scalars['String']['output']>; /** Full SBOM in SPDX/CycloneDX format */ sbomData?: Maybe<Scalars['JSON']['output']>; /** Scorecard for this component */ scorecard?: Maybe<VibecontrolsScorecard>; /** Active share grants on this Component (owner/MANAGER only). */ shares: Array<ShareGrant>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Team ID (opaque reference) */ teamId?: Maybe<Scalars['ID']['output']>; /** Team display name */ teamName?: Maybe<Scalars['String']['output']>; /** Templates published from this component */ templates: Array<VibecontrolsTemplate>; /** Component type (service, library, API, etc.) */ type: ComponentType; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Semantic version */ version?: Maybe<Scalars['String']['output']>; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type VibecontrolsComponentList = { __typename?: 'VibecontrolsComponentList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsComponent>; total: Scalars['Int']['output']; }; /** Dependency graph for a catalog, built from component dependencies. */ export type VibecontrolsDependencyGraph = { __typename?: 'VibecontrolsDependencyGraph'; /** Graph edges (dependency relationships) */ edges: Array<VibecontrolsDependencyGraphEdge>; /** Graph nodes (components) */ nodes: Array<VibecontrolsDependencyGraphNode>; }; /** An edge in the dependency graph representing a dependency relationship. */ export type VibecontrolsDependencyGraphEdge = { __typename?: 'VibecontrolsDependencyGraphEdge'; /** Dependency type (e.g., runtime, dev, peer) */ dependencyType?: Maybe<Scalars['String']['output']>; /** Source component ID */ source: Scalars['ID']['output']; /** Target dependency name */ target: Scalars['String']['output']; /** Dependency version constraint */ version?: Maybe<Scalars['String']['output']>; }; /** A node in the dependency graph representing a component. */ export type VibecontrolsDependencyGraphNode = { __typename?: 'VibecontrolsDependencyGraphNode'; /** Component ID */ id: Scalars['ID']['output']; /** Component name */ name: Scalars['String']['output']; /** Component type */ type: Scalars['String']['output']; /** Component version */ version?: Maybe<Scalars['String']['output']>; }; export type VibecontrolsDocsBuildImage = { __typename?: 'VibecontrolsDocsBuildImage'; buildCommand?: Maybe<Scalars['String']['output']>; contractVersion?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; imageDigest?: Maybe<Scalars['String']['output']>; imagePullPolicy: VibecontrolsDocsBuildImagePullPolicy; imageRef: Scalars['String']['output']; lastValidatedAt?: Maybe<Scalars['DateTime']['output']>; lastValidationError?: Maybe<Scalars['String']['output']>; manifestJson?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; outputDir?: Maybe<Scalars['String']['output']>; scanResults?: Maybe<Scalars['JSON']['output']>; scanStatus: VibecontrolsDocsBuildImageScanStatus; status: VibecontrolsDocsBuildImageStatus; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; export type VibecontrolsDocsBuildImageFilterInput = { search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<VibecontrolsDocsBuildImageStatus>; }; export type VibecontrolsDocsBuildImageList = { __typename?: 'VibecontrolsDocsBuildImageList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsDocsBuildImage>; total: Scalars['Int']['output']; }; /** * Image pull policy for sandbox builder pods (mirrors Kubernetes semantics): * - IF_NOT_PRESENT (default): pull only if missing from the node cache. * - ALWAYS: pull on every build (use when imageRef is a mutable tag). * - DIGEST_ONLY: refuse to schedule unless imageRef is a digest pin (sha256:...). */ export declare enum VibecontrolsDocsBuildImagePullPolicy { Always = "ALWAYS", DigestOnly = "DIGEST_ONLY", IfNotPresent = "IF_NOT_PRESENT" } export declare enum VibecontrolsDocsBuildImageScanStatus { Failed = "FAILED", NotScanned = "NOT_SCANNED", Passed = "PASSED", Scanning = "SCANNING" } export declare enum VibecontrolsDocsBuildImageStatus { Approved = "APPROVED", Disabled = "DISABLED", Pending = "PENDING", Rejected = "REJECTED", Validating = "VALIDATING" } export declare enum VibecontrolsDocsBuildRuntime { CustomerImage = "CUSTOMER_IMAGE", Managed = "MANAGED" } /** Response containing rendered docs HTML content for embedding */ export type VibecontrolsDocsContentPayload = { __typename?: 'VibecontrolsDocsContentPayload'; /** Content-Type of the response */ contentType: Scalars['String']['output']; /** HTML content of the requested docs page */ html: Scalars['String']['output']; }; export type VibecontrolsDocsPage = { __typename?: 'VibecontrolsDocsPage'; category?: Maybe<Scalars['String']['output']>; children: Array<VibecontrolsDocsPage>; content: Scalars['String']['output']; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; description?: Maybe<Scalars['String']['output']>; frontmatter?: Maybe<Scalars['JSON']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; parent?: Maybe<VibecontrolsDocsPage>; parentId?: Maybe<Scalars['ID']['output']>; sidebarPosition: Scalars['Int']['output']; site: VibecontrolsDocsSite; siteId: Scalars['ID']['output']; slug: Scalars['String']['output']; status: VibecontrolsDocsPageStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; tags: Array<Scalars['String']['output']>; title: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type VibecontrolsDocsPageFilterInput = { category?: InputMaybe<Scalars['String']['input']>; parentId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<VibecontrolsDocsPageStatus>; }; export type VibecontrolsDocsPageOrderInput = { id: Scalars['ID']['input']; parentId?: InputMaybe<Scalars['ID']['input']>; sidebarPosition: Scalars['Int']['input']; }; export declare enum VibecontrolsDocsPageStatus { Draft = "DRAFT", Published = "PUBLISHED" } /** * Static-site generator backing a docs site. Each provider has its own builder * image and workspace-assembly logic. DOCUSAURUS is the legacy default. */ export declare enum VibecontrolsDocsProvider { Docusaurus = "DOCUSAURUS", Mkdocs = "MKDOCS", Vitepress = "VITEPRESS" } export type VibecontrolsDocsRevision = { __typename?: 'VibecontrolsDocsRevision'; artifactSizeBytes?: Maybe<Scalars['String']['output']>; buildCommandSnapshot?: Maybe<Scalars['String']['output']>; buildDurationMs?: Maybe<Scalars['Int']['output']>; buildImage?: Maybe<VibecontrolsDocsBuildImage>; buildImageDigestSnapshot?: Maybe<Scalars['String']['output']>; buildImageRefSnapshot?: Maybe<Scalars['String']['output']>; buildRuntimeMode: VibecontrolsDocsBuildRuntime; buildSettings?: Maybe<Scalars['JSON']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; errorCategory?: Maybe<Scalars['String']['output']>; errorDetails?: Maybe<Scalars['JSON']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; outputDirSnapshot?: Maybe<Scalars['String']['output']>; pageCount?: Maybe<Scalars['Int']['output']>; /** Provider snapshot taken at compile-time for reproducibility. */ providerSnapshot: VibecontrolsDocsProvider; publishedAt?: Maybe<Scalars['DateTime']['output']>; revisionNumber: Scalars['Int']['output']; s3ArtifactPath?: Maybe<Scalars['String']['output']>; sandboxId?: Maybe<Scalars['ID']['output']>; sandboxLogs?: Maybe<Scalars['String']['output']>; site: VibecontrolsDocsSite; siteId: Scalars['ID']['output']; status: VibecontrolsDocsRevisionStatus; updatedAt: Scalars['DateTime']['output']; }; export type VibecontrolsDocsRevisionSandboxLogsArgs = { containerName?: InputMaybe<Scalars['String']['input']>; tailLines?: InputMaybe<Scalars['Int']['input']>; }; export type VibecontrolsDocsRevisionList = { __typename?: 'VibecontrolsDocsRevisionList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsDocsRevision>; total: Scalars['Int']['output']; }; export declare enum VibecontrolsDocsRevisionStatus { Building = "BUILDING", CollectingOutput = "COLLECTING_OUTPUT", CompileRequested = "COMPILE_REQUESTED", Draft = "DRAFT", Failed = "FAILED", PreparingWorkspace = "PREPARING_WORKSPACE", Published = "PUBLISHED", StartingSandbox = "STARTING_SANDBOX", Succeeded = "SUCCEEDED", Uploading = "UPLOADING", ValidatingRuntime = "VALIDATING_RUNTIME", ValidatingSite = "VALIDATING_SITE" } export type VibecontrolsDocsSignedUrlPayload = { __typename?: 'VibecontrolsDocsSignedUrlPayload'; expiresAt: Scalars['DateTime']['output']; url: Scalars['String']['output']; }; export type VibecontrolsDocsSite = { __typename?: 'VibecontrolsDocsSite'; buildImage?: Maybe<VibecontrolsDocsBuildImage>; buildImageId?: Maybe<Scalars['ID']['output']>; context?: Maybe<OperationContext>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['ID']['output']; currentRevision?: Maybe<VibecontrolsDocsRevision>; currentRevisionId?: Maybe<Scalars['ID']['output']>; /** @deprecated Renamed to `providerConfig`. Will be removed in the next major release. */ docusaurusConfig: Scalars['JSON']['output']; /** Whether this DocsSite has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this DocsSite (null if no direct grant). */ myRole?: Maybe<ShareRole>; name: Scalars['String']['output']; ownerId: Scalars['ID']['output']; ownerType: VibecontrolsDocsSiteOwnerType; pages: Array<VibecontrolsDocsPage>; provider: VibecontrolsDocsProvider; /** * Provider-specific configuration blob. Shape depends on `provider`. * Renamed from `docusaurusConfig`; the legacy alias is kept for one release * cycle and resolves to the same column. */ providerConfig: Scalars['JSON']['output']; revisions: Array<VibecontrolsDocsRevision>; runtime: VibecontrolsDocsBuildRuntime; s3BasePath?: Maybe<Scalars['String']['output']>; /** Active share grants on this DocsSite (owner/MANAGER only). */ shares: Array<ShareGrant>; signedUrlExpiryMs: Scalars['Int']['output']; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; tags: Array<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; vibe?: Maybe<Vibe>; /** Backward-compatible field: returns ownerId when ownerType is VIBE, null otherwise */ vibeId?: Maybe<Scalars['ID']['output']>; visibility: VibecontrolsDocsSiteVisibility; workspaceId: Scalars['ID']['output']; }; export type VibecontrolsDocsSiteFilterInput = { context?: InputMaybe<ContextFilterInput>; ownerId?: InputMaybe<Scalars['ID']['input']>; ownerType?: InputMaybe<VibecontrolsDocsSiteOwnerType>; visibility?: InputMaybe<VibecontrolsDocsSiteVisibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type VibecontrolsDocsSiteList = { __typename?: 'VibecontrolsDocsSiteList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsDocsSite>; total: Scalars['Int']['output']; }; export declare enum VibecontrolsDocsSiteOwnerType { Catalog = "CATALOG", Component = "COMPONENT", Vibe = "VIBE" } export declare enum VibecontrolsDocsSiteVisibility { Private = "PRIVATE", Public = "PUBLIC" } /** * Input for server-side GitHub fork/create via OAuth connection or PAT. * Exactly one of connectionId or token must be provided. */ export type VibecontrolsForkGitHubRepoInput = { /** OAuth connection ID — the backend resolves the token server-side */ connectionId?: InputMaybe<Scalars['ID']['input']>; /** Repository description */ description?: InputMaybe<Scalars['String']['input']>; /** Organization name — required when scope is ORG */ orgName?: InputMaybe<Scalars['String']['input']>; /** Name for the new repository */ repoName: Scalars['String']['input']; /** Whether to create under the user account or an organization */ scope: VibecontrolsGitHubRepoScope; /** URL of the repository to fork. If omitted or fork fails, a new empty repo is created. */ sourceRepoUrl?: InputMaybe<Scalars['String']['input']>; /** Personal access token — sent directly if the user has no connected account */ token?: InputMaybe<Scalars['String']['input']>; /** Repository visibility */ visibility: VibecontrolsGitHubRepoVisibility; }; export type VibecontrolsForkRepoResult = { __typename?: 'VibecontrolsForkRepoResult'; /** True if the repo was forked from sourceRepoUrl; false if a new empty repo was created */ isForked: Scalars['Boolean']['output']; /** owner/repo full name */ repoFullName: Scalars['String']['output']; /** HTTPS URL of the new repository */ repoUrl: Scalars['String']['output']; }; export declare enum VibecontrolsGitHubRepoScope { Org = "ORG", User = "USER" } export declare enum VibecontrolsGitHubRepoVisibility { Private = "PRIVATE", Public = "PUBLIC" } /** * Decrypted integration token returned to the agent. Same shape as * `ConnectionToken` from wspace-integrations-svc, kept local so we don't * have to extend a federated type owned by another subgraph. */ export type VibecontrolsIntegrationToken = { __typename?: 'VibecontrolsIntegrationToken'; accessToken: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; providerKey: Scalars['String']['output']; refreshToken?: Maybe<Scalars['String']['output']>; scopes: Array<Scalars['String']['output']>; tokenType: Scalars['String']['output']; }; /** * Result of `vibecontrolsResolveIntegrationToken` — a passthrough of the * upstream `ConnectionTokenResult` from wspace-integrations-svc, narrowed to * the fields agents actually need at runtime. */ export type VibecontrolsIntegrationTokenResult = { __typename?: 'VibecontrolsIntegrationTokenResult'; /** * Current connection status after resolution * (e.g. ACTIVE, EXPIRED, REVOKED). */ connectionStatus: Scalars['String']['output']; /** Error message if `success` is false. */ error?: Maybe<Scalars['String']['output']>; /** Whether the token resolution succeeded. */ success: Scalars['Boolean']['output']; /** The decrypted token data. Null when `success` is false. */ token?: Maybe<VibecontrolsIntegrationToken>; /** Whether the token was refreshed during this call (OAuth providers). */ wasRefreshed: Scalars['Boolean']['output']; }; /** * A markdown-formatted note associated with a vibe or workspace. * Notes support tagging, pinning, and full-text search. */ export type VibecontrolsNote = { __typename?: 'VibecontrolsNote'; /** Markdown content */ content: Scalars['String']['output']; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** User who created the note (opaque reference) */ createdBy: Scalars['ID']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Whether this note has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether note is pinned */ isPinned: Scalars['Boolean']['output']; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this note (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** * Associated session ID (opaque reference) — set when the note was authored * against a terminal session. Nullable; the note stays workspace-reusable. */ sessionId?: Maybe<Scalars['ID']['output']>; /** Active share grants on this note (owner/MANAGER only). */ shares: Array<ShareGrant>; /** Structured tag assignments via wspace-tags-svc */ tagAssignments: Array<NoteTagAssignment>; /** Note title */ title: Scalars['String']['output']; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated vibe */ vibe?: Maybe<Vibe>; /** Associated vibe ID (opaque reference) */ vibeId?: Maybe<Scalars['ID']['output']>; /** Who can see this note: PRIVATE (creator only) or WORKSPACE (all members) */ visibility: NoteVisibility; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type VibecontrolsNoteFilterInput = { /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; createdBy?: InputMaybe<Scalars['ID']['input']>; isPinned?: InputMaybe<Scalars['Boolean']['input']>; /** Filter to notes authored against this session (in-session notes drawer). */ sessionId?: InputMaybe<Scalars['ID']['input']>; tags?: InputMaybe<Array<Scalars['String']['input']>>; vibeId?: InputMaybe<Scalars['ID']['input']>; visibility?: InputMaybe<NoteVisibility>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type VibecontrolsNoteList = { __typename?: 'VibecontrolsNoteList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsNote>; total: Scalars['Int']['output']; }; export type VibecontrolsPublishTemplateInput = { /** Template category */ category?: InputMaybe<VibecontrolsTemplateCategory>; /** Operation context for scoping */ context?: InputMaybe<ContextInput>; /** Template description */ description?: InputMaybe<Scalars['String']['input']>; /** File tree structure [{path, type, description}] */ fileTree?: InputMaybe<Scalars['JSON']['input']>; /** Flexible key-value metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Template display name */ name: Scalars['String']['input']; /** Markdown setup instructions/guide */ setupInstructions?: InputMaybe<Scalars['String']['input']>; /** Source repository URL to fork when this template is instantiated with GitHub enabled */ sourceRepositoryUrl?: InputMaybe<Scalars['String']['input']>; /** Tags for categorization */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Template variables [{name, description, default, required}] */ variables?: InputMaybe<Scalars['JSON']['input']>; /** Template version string */ version?: InputMaybe<Scalars['String']['input']>; }; /** * Live record count behind one VibeControls count quota in one workspace, read * by wspace-activity-svc's count reconciler to correct drifted `used` counters. */ export type VibecontrolsQuotaCountMetric = { __typename?: 'VibecontrolsQuotaCountMetric'; currentValue: Scalars['Float']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** Software Bill of Materials aggregated from all components in a catalog. */ export type VibecontrolsSbom = { __typename?: 'VibecontrolsSBOM'; /** SBOM component entries */ components: Array<VibecontrolsSbomEntry>; /** SBOM format (e.g., CycloneDX, SPDX) */ format: Scalars['String']['output']; /** When the SBOM was generated */ generatedAt: Scalars['DateTime']['output']; /** Total number of unique entries */ totalCount: Scalars['Int']['output']; }; /** A single entry in the aggregated SBOM. */ export type VibecontrolsSbomEntry = { __typename?: 'VibecontrolsSBOMEntry'; /** License identifier (e.g., MIT, Apache-2.0) */ license?: Maybe<Scalars['String']['output']>; /** Package or component name */ name: Scalars['String']['output']; /** Package URL (purl) for identification */ purl?: Maybe<Scalars['String']['output']>; /** Supplier or publisher */ supplier?: Maybe<Scalars['String']['output']>; /** Entry type (e.g., library, framework, application) */ type?: Maybe<Scalars['String']['output']>; /** Version string */ version?: Maybe<Scalars['String']['output']>; }; /** A scorecard aggregating health and quality metrics for a vibe, catalog, or component. */ export type VibecontrolsScorecard = { __typename?: 'VibecontrolsScorecard'; /** Opaque IDs for cross-service context */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Whether this Scorecard has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Timestamp of last evaluation */ lastEvaluatedAt?: Maybe<Scalars['DateTime']['output']>; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Individual metrics tracked by this scorecard */ metrics: Array<VibecontrolsScorecardMetric>; /** The calling actor's effective role on this Scorecard (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** Aggregate overall score (0-100), computed from individual metrics */ overallScore?: Maybe<Scalars['Float']['output']>; /** ID of the owning entity (vibe, catalog, or component) */ ownerId: Scalars['ID']['output']; /** Type of entity that owns this scorecard */ ownerType: ScorecardOwnerType; /** * Derived production-readiness tier: the highest tier (BRONZE < SILVER < GOLD) for which every * tier-tagged metric at that tier or below is passing. Null when no metric is tier-tagged or even * BRONZE is not fully met. */ securityTier?: Maybe<ScorecardTier>; /** Active share grants on this Scorecard (owner/MANAGER only). */ shares: Array<ShareGrant>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID */ workspaceId: Scalars['ID']['output']; }; /** An individual metric within a scorecard. */ export type VibecontrolsScorecardMetric = { __typename?: 'VibecontrolsScorecardMetric'; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Human-readable description */ description?: Maybe<Scalars['String']['output']>; /** Whether higher or lower values are better. Drives scoring + status. */ direction: ScorecardMetricDirection; /** Unique identifier */ id: Scalars['ID']['output']; /** Height of the iframe in pixels */ iframeHeight?: Maybe<Scalars['Int']['output']>; /** Optional iframe embed URL for custom visualization */ iframeUrl?: Maybe<Scalars['String']['output']>; /** Timestamp when the metric value was last updated */ lastUpdatedAt?: Maybe<Scalars['DateTime']['output']>; /** Metric display name */ name: Scalars['String']['output']; /** Guidance shown to users when the metric is WARNING or FAILING. */ remediation?: Maybe<Scalars['String']['output']>; /** Effective status. Auto-derived from value/threshold/direction unless pinned. */ status: ScorecardMetricStatus; /** When set, the status was pinned manually rather than derived. */ statusOverride?: Maybe<ScorecardMetricStatus>; /** Target threshold for passing */ threshold?: Maybe<Scalars['Float']['output']>; tier?: Maybe<ScorecardTier>; /** Classification of this metric */ type: ScorecardMetricType; /** Unit of measurement (%, count, ms, etc.) */ unit?: Maybe<Scalars['String']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Current metric value */ value?: Maybe<Scalars['Float']['output']>; /** Relative weight of this metric in the scorecard's overall score (default 1). */ weight: Scalars['Float']['output']; }; /** A point in a metric's value/score history, used for trend charts. */ export type VibecontrolsScorecardMetricHistoryPoint = { __typename?: 'VibecontrolsScorecardMetricHistoryPoint'; id: Scalars['ID']['output']; recordedAt: Scalars['DateTime']['output']; score?: Maybe<Scalars['Float']['output']>; source?: Maybe<Scalars['String']['output']>; status: ScorecardMetricStatus; value?: Maybe<Scalars['Float']['output']>; }; /** Non-secret metadata about a workspace's scorecard CI push token. */ export type VibecontrolsScorecardPushTokenInfo = { __typename?: 'VibecontrolsScorecardPushTokenInfo'; exists: Scalars['Boolean']['output']; lastUsedAt?: Maybe<Scalars['DateTime']['output']>; tokenPrefix?: Maybe<Scalars['String']['output']>; updatedAt?: Maybe<Scalars['DateTime']['output']>; }; /** * Result of rotating a push token. The raw token is returned only here and is * never retrievable again — store it in your CI secrets immediately. */ export type VibecontrolsScorecardPushTokenSecret = { __typename?: 'VibecontrolsScorecardPushTokenSecret'; token: Scalars['String']['output']; tokenPrefix: Scalars['String']['output']; }; /** A reusable set of metric definitions applied to vibes, catalogs, or components. */ export type VibecontrolsScorecardTemplate = { __typename?: 'VibecontrolsScorecardTemplate'; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isBuiltIn: Scalars['Boolean']['output']; metrics: Array<VibecontrolsScorecardTemplateMetric>; name: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * A reusable definition of a metric within a scorecard template (no measured * value — only the target, unit, direction, weight, and remediation to copy). */ export type VibecontrolsScorecardTemplateMetric = { __typename?: 'VibecontrolsScorecardTemplateMetric'; description?: Maybe<Scalars['String']['output']>; direction: ScorecardMetricDirection; id: Scalars['ID']['output']; name: Scalars['String']['output']; position: Scalars['Int']['output']; remediation?: Maybe<Scalars['String']['output']>; threshold?: Maybe<Scalars['Float']['output']>; tier?: Maybe<ScorecardTier>; type: ScorecardMetricType; unit?: Maybe<Scalars['String']['output']>; weight: Scalars['Float']['output']; }; export declare enum VibecontrolsSessionStatus { Error = "ERROR", Pending = "PENDING", Running = "RUNNING", Starting = "STARTING", Stopped = "STOPPED", Terminated = "TERMINATED" } export declare enum VibecontrolsSessionType { Custom = "CUSTOM", Script = "SCRIPT", Ssh = "SSH", Terminal = "TERMINAL", Tmux = "TMUX", Wezterm = "WEZTERM", Zellij = "ZELLIJ" } /** * A reusable template created from a component snapshot. * Templates can be instantiated to create new components. */ export type VibecontrolsTemplate = { __typename?: 'VibecontrolsTemplate'; /** Template category classification */ category: VibecontrolsTemplateCategory; /** Number of times this template has been cloned */ cloneCount: Scalars['Int']['output']; /** Components that were instantiated from this template */ clonedComponents: Array<VibecontrolsComponent>; /** Frozen component definition at publish time */ componentSnapshot?: Maybe<Scalars['JSON']['output']>; /** Opaque IDs for cross-service context */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Template description */ description?: Maybe<Scalars['String']['output']>; /** File tree structure [{path, type, description}] */ fileTree?: Maybe<Scalars['JSON']['output']>; /** Whether this Template has any active grants or public links (generic sharing). */ hasShares: Scalars['Boolean']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Flexible key-value metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** The calling actor's effective role on this Template (null if no direct grant). */ myRole?: Maybe<ShareRole>; /** Template display name */ name: Scalars['String']['output']; /** Markdown setup instructions/guide */ setupInstructions?: Maybe<Scalars['String']['output']>; /** Active share grants on this Template (owner/MANAGER only). */ shares: Array<ShareGrant>; /** The component this template was created from (if still exists) */ sourceComponent?: Maybe<VibecontrolsComponent>; /** Source repository URL to fork when this template is instantiated with GitHub enabled */ sourceRepositoryUrl?: Maybe<Scalars['String']['output']>; /** Current status (draft, published, archived) */ status: VibecontrolsTemplateStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Tags for categorization and search */ tags: Array<Scalars['String']['output']>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Template variables [{name, description, default, required}] */ variables?: Maybe<Scalars['JSON']['output']>; /** Template version string */ version?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['ID']['output']; }; export declare enum VibecontrolsTemplateCategory { Backend = "BACKEND", Custom = "CUSTOM", Frontend = "FRONTEND", Fullstack = "FULLSTACK", Infrastructure = "INFRASTRUCTURE", Library = "LIBRARY", Microservice = "MICROSERVICE", Starter = "STARTER" } export type VibecontrolsTemplateFilterInput = { /** Filter by category */ category?: InputMaybe<VibecontrolsTemplateCategory>; /** Search by name or description */ search?: InputMaybe<Scalars['String']['input']>; /** Filter by status */ status?: InputMaybe<VibecontrolsTemplateStatus>; /** Filter by tags (matches any) */ tags?: InputMaybe<Array<Scalars['String']['input']>>; }; export type VibecontrolsTemplateList = { __typename?: 'VibecontrolsTemplateList'; hasMore: Scalars['Boolean']['output']; items: Array<VibecontrolsTemplate>; total: Scalars['Int']['output']; }; export declare enum VibecontrolsTemplateStatus { Archived = "ARCHIVED", Draft = "DRAFT", Published = "PUBLISHED" } export type VibecontrolsUpdateTemplateInput = { /** Template category */ category?: InputMaybe<VibecontrolsTemplateCategory>; /** Template description */ description?: InputMaybe<Scalars['String']['input']>; /** File tree structure [{path, type, description}] */ fileTree?: InputMaybe<Scalars['JSON']['input']>; /** Flexible key-value metadata */ metadata?: InputMaybe<Scalars['JSON']['input']>; /** Template display name */ name?: InputMaybe<Scalars['String']['input']>; /** Markdown setup instructions/guide */ setupInstructions?: InputMaybe<Scalars['String']['input']>; /** Source repository URL to fork when this template is instantiated with GitHub enabled */ sourceRepositoryUrl?: InputMaybe<Scalars['String']['input']>; /** Current status */ status?: InputMaybe<VibecontrolsTemplateStatus>; /** Tags for categorization */ tags?: InputMaybe<Array<Scalars['String']['input']>>; /** Template variables [{name, description, default, required}] */ variables?: InputMaybe<Scalars['JSON']['input']>; /** Template version string */ version?: InputMaybe<Scalars['String']['input']>; }; export declare enum Visibility { Private = "PRIVATE", Public = "PUBLIC", Workspace = "WORKSPACE" } /** Input for checking resource visibility */ export type VisibilityCheckInput = { actorId: Scalars['String']['input']; actorType: ActorType; resourceIdentifier: Scalars['String']['input']; resourceType: Scalars['String']['input']; scopeId: Scalars['String']['input']; }; /** Visibility check result */ export type VisibilityCheckResult = { __typename?: 'VisibilityCheckResult'; /** Reason for the visibility decision */ reason: Scalars['String']['output']; /** Whether the resource is visible to the actor */ visible: Scalars['Boolean']['output']; }; /** Visibility rule controlling who can see a resource */ export type VisibilityRule = { __typename?: 'VisibilityRule'; conditions?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; isActive: Scalars['Boolean']['output']; priority: Scalars['Int']['output']; resourceId: Scalars['String']['output']; resourceType: Scalars['String']['output']; scopeId: Scalars['String']['output']; targetId?: Maybe<Scalars['String']['output']>; targetType?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; visibilityType: VisibilityType; }; /** Visibility statistics */ export type VisibilityStats = { __typename?: 'VisibilityStats'; count: Scalars['Int']['output']; visibility: CommentVisibility; }; /** Types of visibility rules for resources */ export declare enum VisibilityType { /** Custom conditions (JSON-based) */ Custom = "CUSTOM", /** Visible to specific group members */ Group = "GROUP", /** Visible only to owner */ Private = "PRIVATE", /** Visible to all workspace members */ Public = "PUBLIC", /** Visible to actors with specific role */ Role = "ROLE" } export type VocabularyFilterInput = { applicableEntityType?: InputMaybe<Scalars['String']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; dataType?: InputMaybe<TagDataType>; key?: InputMaybe<Scalars['String']['input']>; kind?: InputMaybe<VocabularyKind>; scope?: InputMaybe<VocabularyScope>; tenantId?: InputMaybe<Scalars['ID']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export declare enum VocabularyKind { Standard = "STANDARD", Template = "TEMPLATE" } export type VocabularyList = { __typename?: 'VocabularyList'; hasMore: Scalars['Boolean']['output']; items: Array<TagVocabulary>; /** * Opaque cursor pointing to the item immediately after the last item in * `items`. Pass it back as `pagination.cursor` to fetch the next page. * Null when `hasMore` is false. */ nextCursor?: Maybe<Scalars['String']['output']>; total: Scalars['Int']['output']; }; export declare enum VocabularyScope { Global = "GLOBAL", Private = "PRIVATE", Tenant = "TENANT", Workspace = "WORKSPACE" } export type VoidHealthyBowlLoanRepaymentInput = { context: ContextInput; /** Required audit reason. The event and journal become VOID; amounts are never edited or deleted. */ reason: Scalars['String']['input']; repaymentId: Scalars['ID']['input']; }; export type VoteGgnomadTripPlanItemInput = { choice: GgnomadGroupTripVoteChoice; comment?: InputMaybe<Scalars['String']['input']>; tripPlanItemId: Scalars['ID']['input']; }; export type WarehouseFilterInput = { search?: InputMaybe<Scalars['String']['input']>; status?: InputMaybe<Scalars['String']['input']>; type?: InputMaybe<WarehouseType>; }; export declare enum WarehouseType { ColdStorage = "COLD_STORAGE", CrossDock = "CROSS_DOCK", Distribution = "DISTRIBUTION", Fulfillment = "FULFILLMENT", Retail = "RETAIL" } /** A single watering execution for a field, logged manually or by automation. */ export type WateringRun = { __typename?: 'WateringRun'; fieldId: Scalars['ID']['output']; id: Scalars['ID']['output']; litres?: Maybe<Scalars['Float']['output']>; /** Run timestamp as an ISO-8601 string. */ runAt: Scalars['String']['output']; /** The IrrigationSchedule that produced this run, if any (no FK enforced). */ scheduleId?: Maybe<Scalars['ID']['output']>; skippedReason?: Maybe<Scalars['String']['output']>; /** How the run was triggered: manual / automation. */ source: Scalars['String']['output']; /** Outcome of the run: ran / skipped. */ status: Scalars['String']['output']; }; export type WeatherAlert = { __typename?: 'WeatherAlert'; affectedAreas: Array<Scalars['String']['output']>; description: Scalars['String']['output']; endTime: Scalars['String']['output']; id: Scalars['ID']['output']; severity: Scalars['String']['output']; startTime: Scalars['String']['output']; title: Scalars['String']['output']; type: Scalars['String']['output']; }; /** A fired weather early-warning event (the Alert-History feed). */ export type WeatherAlertEvent = { __typename?: 'WeatherAlertEvent'; advisory?: Maybe<Scalars['String']['output']>; /** Alert category: FROST / STORM / HEAT / DISEASE. */ alertType: Scalars['String']['output']; /** Delivery channels, e.g. ["IN_APP","SMS"]. */ channels: Array<Scalars['String']['output']>; /** Stable deduplication signature for the rule/field/window. */ conditionSignature?: Maybe<Scalars['String']['output']>; cropName?: Maybe<Scalars['String']['output']>; /** Field/crop context the alert fired for. */ fieldId?: Maybe<Scalars['ID']['output']>; handledAt?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; metric: Scalars['String']['output']; observedValue?: Maybe<Scalars['Float']['output']>; ruleId?: Maybe<Scalars['ID']['output']>; ruleName?: Maybe<Scalars['String']['output']>; /** Severity band: RED / AMBER / GREY. */ severity: Scalars['String']['output']; snoozedUntil?: Maybe<Scalars['String']['output']>; /** Lifecycle: delivered / handled / snoozed. */ status: Scalars['String']['output']; threshold?: Maybe<Scalars['Float']['output']>; title: Scalars['String']['output']; triggeredAt: Scalars['String']['output']; unit?: Maybe<Scalars['String']['output']>; /** Evaluated window end (ISO-8601). */ windowEndAt?: Maybe<Scalars['String']['output']>; /** Evaluated window start (ISO-8601). */ windowStartAt?: Maybe<Scalars['String']['output']>; }; /** Per-workspace weather & alert preferences (settings screen). */ export type WeatherAlertSettings = { __typename?: 'WeatherAlertSettings'; advisoryLanguage: Scalars['String']['output']; aiAdvisoryEnabled: Scalars['Boolean']['output']; /** Where an EMAIL alert is sent. Without it `emailEnabled` cannot deliver anything (BOFF-6027). */ alertEmail?: Maybe<Scalars['String']['output']>; alertLeadTimeHours: Scalars['Int']['output']; baselineYears: Scalars['Int']['output']; deviationThresholdPct: Scalars['Int']['output']; emailEnabled: Scalars['Boolean']['output']; escalateCriticalFrost: Scalars['Boolean']['output']; historyEndYear?: Maybe<Scalars['Int']['output']>; historyLastSyncedAt?: Maybe<Scalars['DateTime']['output']>; historyStartYear?: Maybe<Scalars['Int']['output']>; inAppEnabled: Scalars['Boolean']['output']; /** * True once a human has saved these settings. Until then the quiet window is NOT enforced — the * toggle defaults on and the row is auto-created, so acting on the default would mute farms that * never chose it (BOFF-6027). */ quietHoursConfigured: Scalars['Boolean']['output']; quietHoursEnabled: Scalars['Boolean']['output']; quietHoursEnd: Scalars['String']['output']; quietHoursStart: Scalars['String']['output']; /** IANA zone the window is evaluated in. Null means UTC. */ quietHoursTimezone?: Maybe<Scalars['String']['output']>; smsEnabled: Scalars['Boolean']['output']; smsNumber?: Maybe<Scalars['String']['output']>; /** metric or imperial. */ units: Scalars['String']['output']; webhookEnabled: Scalars['Boolean']['output']; webhookUrl?: Maybe<Scalars['String']['output']>; weeklyDigestEmail: Scalars['Boolean']['output']; }; /** A concrete anomaly callout, e.g. "Warmest March on record (+2.4°C)". */ export type WeatherAnomalyCallout = { __typename?: 'WeatherAnomalyCallout'; /** The month/period the anomaly refers to (e.g. "Mar 2026"). */ date: Scalars['String']['output']; id: Scalars['ID']['output']; /** The metric family: temperature / rainfall / frost. */ metric: Scalars['String']['output']; /** Severity band: high / moderate / low. */ severity: Scalars['String']['output']; title: Scalars['String']['output']; }; /** One calendar-month point comparing the current year's value against the baseline band. */ export type WeatherAnomalyMonthPoint = { __typename?: 'WeatherAnomalyMonthPoint'; baselineAvg: Scalars['Float']['output']; baselineMax: Scalars['Float']['output']; baselineMin: Scalars['Float']['output']; /** This year's value for the month (temperature °C or rainfall mm). */ currentValue: Scalars['Float']['output']; /** Month number 1-12. */ month: Scalars['Int']['output']; monthName: Scalars['String']['output']; }; /** This-season vs multi-year-baseline comparison for the farm (the Anomaly Detector / Report). */ export type WeatherAnomalyReport = { __typename?: 'WeatherAnomalyReport'; /** Signed °C deviation of the recent average temperature vs the baseline. */ avgTempDeltaC: Scalars['Float']['output']; /** The baseline average first-frost date (ISO yyyy-mm-dd) if derivable. */ baselineFirstFrostDate?: Maybe<Scalars['String']['output']>; baselineYears: Scalars['Int']['output']; callouts: Array<WeatherAnomalyCallout>; /** Current calendar month, 1-12. */ currentMonth: Scalars['Int']['output']; currentMonthName: Scalars['String']['output']; endYear: Scalars['Int']['output']; /** This year's first-frost date (ISO yyyy-mm-dd) if one has occurred, else null. */ firstFrostDate?: Maybe<Scalars['String']['output']>; /** Signed day delta of this year's first frost vs baseline (negative = earlier). */ firstFrostDeltaDays?: Maybe<Scalars['Int']['output']>; frostDaysBaseline: Scalars['Int']['output']; frostDaysDelta: Scalars['Int']['output']; frostDaysThisSeason: Scalars['Int']['output']; generatedAt: Scalars['DateTime']['output']; /** Per-month current-year rainfall vs baseline band, for the anomaly chart. */ monthlyRainfall: Array<WeatherAnomalyMonthPoint>; /** Per-month current-year temperature vs baseline band, for the anomaly chart. */ monthlyTemperature: Array<WeatherAnomalyMonthPoint>; rainfallBaselineMm: Scalars['Float']['output']; /** Signed % deviation of this month's rainfall vs the baseline (negative = below normal). */ rainfallDeviationPct: Scalars['Float']['output']; rainfallThisMonthMm: Scalars['Float']['output']; source: Scalars['String']['output']; startYear: Scalars['Int']['output']; synced: Scalars['Boolean']['output']; }; export type WeatherCurrent = { __typename?: 'WeatherCurrent'; condition: Scalars['String']['output']; feelsLike: Scalars['Float']['output']; humidity: Scalars['Float']['output']; icon: Scalars['String']['output']; pressure: Scalars['Float']['output']; temperature: Scalars['Float']['output']; uvIndex: Scalars['Float']['output']; visibility: Scalars['Float']['output']; windDirection: Scalars['String']['output']; windSpeed: Scalars['Float']['output']; }; export type WeatherData = { __typename?: 'WeatherData'; alerts: Array<WeatherAlert>; current: WeatherCurrent; forecast: Array<WeatherForecast>; latitude?: Maybe<Scalars['Float']['output']>; location: Scalars['String']['output']; longitude?: Maybe<Scalars['Float']['output']>; }; export type WeatherForecast = { __typename?: 'WeatherForecast'; condition: Scalars['String']['output']; date: Scalars['String']['output']; high: Scalars['Float']['output']; humidity: Scalars['Float']['output']; icon: Scalars['String']['output']; low: Scalars['Float']['output']; precipitation: Scalars['Float']['output']; windSpeed: Scalars['Float']['output']; }; /** The N-year baseline for a calendar month, with the observed min/max band across those years. */ export type WeatherHistoryBaselinePoint = { __typename?: 'WeatherHistoryBaselinePoint'; avgRainfall: Scalars['Float']['output']; avgTemp: Scalars['Float']['output']; /** Month number 1-12. */ month: Scalars['Int']['output']; monthName: Scalars['String']['output']; rainfallMax: Scalars['Float']['output']; rainfallMin: Scalars['Float']['output']; /** Highest monthly-average temperature seen for this month across the baseline window. */ tempMax: Scalars['Float']['output']; /** Lowest monthly-average temperature seen for this month across the baseline window. */ tempMin: Scalars['Float']['output']; }; /** One calendar-month data point for a specific year (multi-year history chart). */ export type WeatherHistoryMonthPoint = { __typename?: 'WeatherHistoryMonthPoint'; avgHumidity: Scalars['Float']['output']; avgTemp: Scalars['Float']['output']; /** Month number 1-12. */ month: Scalars['Int']['output']; monthName: Scalars['String']['output']; totalRainfall: Scalars['Float']['output']; year: Scalars['Int']['output']; }; export type WeatherHistoryRecord = { __typename?: 'WeatherHistoryRecord'; condition: Scalars['String']['output']; date: Scalars['String']['output']; humidity: Scalars['Float']['output']; id: Scalars['ID']['output']; pressure: Scalars['Float']['output']; rainfall: Scalars['Float']['output']; sunrise: Scalars['String']['output']; sunset: Scalars['String']['output']; tempAvg: Scalars['Float']['output']; tempMax: Scalars['Float']['output']; tempMin: Scalars['Float']['output']; uvIndex: Scalars['Float']['output']; windSpeed: Scalars['Float']['output']; }; /** Real multi-year daily+monthly history for the farm, sourced from the Open-Meteo ERA5 archive. */ export type WeatherHistorySeries = { __typename?: 'WeatherHistorySeries'; /** N-year baseline per calendar month with the min/max band (this year vs average). */ baseline: Array<WeatherHistoryBaselinePoint>; baselineYears: Scalars['Int']['output']; endYear: Scalars['Int']['output']; lastSyncedAt?: Maybe<Scalars['DateTime']['output']>; /** Per-year monthly points (avg temp / total rainfall / avg humidity), oldest first. */ points: Array<WeatherHistoryMonthPoint>; /** Human-readable data source, e.g. "Open-Meteo Archive (ERA5)". */ source: Scalars['String']['output']; startYear: Scalars['Int']['output']; /** Whether the response is backed by real archive data (false = farm location not yet resolvable). */ synced: Scalars['Boolean']['output']; }; export type WeatherMonthlySummary = { __typename?: 'WeatherMonthlySummary'; avgHumidity: Scalars['Float']['output']; avgTemp: Scalars['Float']['output']; extremeEvents: Scalars['Int']['output']; id: Scalars['ID']['output']; month: Scalars['String']['output']; rainyDays: Scalars['Int']['output']; sunnyDays: Scalars['Int']['output']; totalRainfall: Scalars['Float']['output']; year: Scalars['Int']['output']; }; /** * Webhook configuration for event notifications. * Webhooks receive HTTP POST requests when subscribed events occur. */ export type Webhook = { __typename?: 'Webhook'; /** Scoped agent IDs (empty = all agents) */ agentIds: Array<Scalars['ID']['output']>; /** Opaque IDs for cross-service context (organizationId, userId, etc.) */ context?: Maybe<OperationContext>; /** Timestamp when created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Total deliveries */ deliveryCount: Scalars['Int']['output']; /** Subscribed event types */ events: Array<Scalars['String']['output']>; /** Total failures */ failureCount: Scalars['Int']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Whether webhook is active */ isActive: Scalars['Boolean']['output']; /** Last successful delivery timestamp */ lastDelivery?: Maybe<Scalars['DateTime']['output']>; /** Last error message */ lastError?: Maybe<Scalars['String']['output']>; /** Webhook name */ name: Scalars['String']['output']; /** Retry configuration */ retryPolicy: Scalars['JSON']['output']; /** HMAC signing key for delivery verification */ signingKey?: Maybe<Scalars['String']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<EntityTagAssignment>; /** Timestamp when last updated */ updatedAt: Scalars['DateTime']['output']; /** Target URL */ url: Scalars['String']['output']; /** Associated workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type WebhookAnalytics = { __typename?: 'WebhookAnalytics'; active: Scalars['Int']['output']; /** Delivery success rate as a percentage (0-100) */ deliverySuccessRate?: Maybe<Scalars['Float']['output']>; inactive: Scalars['Int']['output']; total: Scalars['Int']['output']; totalDeliveries: Scalars['Int']['output']; totalFailures: Scalars['Int']['output']; }; export type WebhookDelivery = { __typename?: 'WebhookDelivery'; error?: Maybe<Scalars['String']['output']>; event: Scalars['String']['output']; id: Scalars['ID']['output']; payload: Scalars['JSON']['output']; response?: Maybe<Scalars['JSON']['output']>; statusCode?: Maybe<Scalars['Int']['output']>; success: Scalars['Boolean']['output']; timestamp: Scalars['DateTime']['output']; webhookId: Scalars['ID']['output']; }; /** WebhookDeliveryLog: Tracks webhook delivery attempts for debugging and monitoring */ export type WebhookDeliveryLog = { __typename?: 'WebhookDeliveryLog'; attemptCount: Scalars['Int']['output']; duration?: Maybe<Scalars['Float']['output']>; eventRegistrationId: Scalars['String']['output']; executionError?: Maybe<Scalars['String']['output']>; executionStarted: Scalars['Boolean']['output']; id: Scalars['ID']['output']; nextRetryTime?: Maybe<Scalars['DateTime']['output']>; processedAt?: Maybe<Scalars['DateTime']['output']>; receivedAt: Scalars['DateTime']['output']; requestBody?: Maybe<Scalars['JSON']['output']>; requestHeaders?: Maybe<Scalars['JSON']['output']>; requestIp?: Maybe<Scalars['String']['output']>; responseBody?: Maybe<Scalars['JSON']['output']>; responseStatus?: Maybe<Scalars['Int']['output']>; retryBlockedReason?: Maybe<Scalars['String']['output']>; retryable: Scalars['Boolean']['output']; validationError?: Maybe<Scalars['String']['output']>; validationPassed: Scalars['Boolean']['output']; workflowRunId?: Maybe<Scalars['String']['output']>; }; export type WebhookFilterInput = { agentId?: InputMaybe<Scalars['ID']['input']>; /** Filter by operation context (workspaceId, userId, projectId, etc.) */ context?: InputMaybe<ContextFilterInput>; isActive?: InputMaybe<Scalars['Boolean']['input']>; workspaceId?: InputMaybe<Scalars['ID']['input']>; }; export type WebhookList = { __typename?: 'WebhookList'; hasMore: Scalars['Boolean']['output']; items: Array<Webhook>; total: Scalars['Int']['output']; }; /** * A one-shot test URL for one trigger of one saved workflow version: "Listen for test event" on a * webhook trigger (listenForWebhookTestEvent) or "Listen for test submission" on a Form Trigger * (listenForFormTestSubmission). The first request or submission that passes that version's checks * starts a single TEST run of it. */ export type WebhookTestListener = { __typename?: 'WebhookTestListener'; error?: Maybe<Scalars['String']['output']>; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; receivedAt?: Maybe<Scalars['DateTime']['output']>; /** The TEST run the received event or submission started. */ runId?: Maybe<Scalars['String']['output']>; status: WebhookTestListenerStatus; /** * The test URL. Returned only by listenForWebhookTestEvent or listenForFormTestSubmission; its * token is never stored, so it cannot be read back later. */ testUrl?: Maybe<Scalars['String']['output']>; triggerNodeId: Scalars['String']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export declare enum WebhookTestListenerStatus { Expired = "EXPIRED", Failed = "FAILED", Listening = "LISTENING", Received = "RECEIVED", Stopped = "STOPPED" } export type WholesaleOrder = { __typename?: 'WholesaleOrder'; /** The WholesalePriceTier rung that set pricePerKg. Null when the price was typed by hand (BOFF-6091). */ appliedTierId?: Maybe<Scalars['ID']['output']>; buyerContact?: Maybe<Scalars['String']['output']>; buyerName: Scalars['String']['output']; buyerUserId?: Maybe<Scalars['String']['output']>; expectedDeliveryDate?: Maybe<Scalars['String']['output']>; /** CONFIRMED | PACKING | FULFILLED | CANCELLED */ fulfilmentStatus: Scalars['String']['output']; id: Scalars['ID']['output']; notes?: Maybe<Scalars['String']['output']>; orderDate: Scalars['String']['output']; orderId: Scalars['ID']['output']; orderNumber: Scalars['String']['output']; pricePerKg: Scalars['Float']['output']; /** TIER | MANUAL — where pricePerKg came from. Stamped at write time; a later ladder edit never reprices this order. */ priceSource: Scalars['String']['output']; productId?: Maybe<Scalars['ID']['output']>; productName: Scalars['String']['output']; quantityKg: Scalars['Float']['output']; totalAmount: Scalars['Float']['output']; }; /** * One rung of a product's wholesale quantity ladder (BOFF-6091). The whole order prices at the rung * with the highest minQuantityKg at or under the ordered quantity — minimum-quantity brackets, not * progressive slabs. Keyed on productName (the wholesale form sends no productId). */ export type WholesalePriceTier = { __typename?: 'WholesalePriceTier'; createdAt: Scalars['String']['output']; id: Scalars['ID']['output']; minQuantityKg: Scalars['Float']['output']; pricePerKg: Scalars['Float']['output']; productId?: Maybe<Scalars['ID']['output']>; productName: Scalars['String']['output']; }; export type WholesalePriceTierInput = { /** First quantity (kg, inclusive) this rung's price applies from. Must be unique within the ladder. */ minQuantityKg: Scalars['Float']['input']; pricePerKg: Scalars['Float']['input']; }; export type WidgetQueryResult = { __typename?: 'WidgetQueryResult'; data: Scalars['JSON']['output']; executedAt: Scalars['DateTime']['output']; executionTimeMs: Scalars['Int']['output']; type: WidgetType; widgetId: Scalars['ID']['output']; }; export declare enum WidgetType { AreaChart = "AREA_CHART", BarChart = "BAR_CHART", BoxPlot = "BOX_PLOT", Funnel = "FUNNEL", Heatmap = "HEATMAP", Kpi = "KPI", LineChart = "LINE_CHART", Map = "MAP", PieChart = "PIE_CHART", Retention = "RETENTION", Sankey = "SANKEY", Table = "TABLE", Waterfall = "WATERFALL" } /** A clear-date calendar entry (one per animal+produce with an active/recent clear date). */ export type WithdrawalCalendarEntry = { __typename?: 'WithdrawalCalendarEntry'; animalId: Scalars['ID']['output']; /** Clear date (YYYY-MM-DD). */ date: Scalars['String']['output']; medicationName: Scalars['String']['output']; /** MILK | MEAT | EGGS */ produceType: Scalars['String']['output']; /** BLOCKED | UNDER_WITHDRAWAL | CLEARED */ status: Scalars['String']['output']; tagNumber: Scalars['String']['output']; treatmentId: Scalars['ID']['output']; }; /** Result of the idempotent clear-date scan. */ export type WithdrawalScanResult = { __typename?: 'WithdrawalScanResult'; /** Produce that newly cleared on THIS run (an unchanged workspace returns 0). */ cleared: Scalars['Int']['output']; notificationsSent: Scalars['Int']['output']; scannedAt: Scalars['String']['output']; }; /** The four withdrawal-dashboard stat cards. */ export type WithdrawalSummary = { __typename?: 'WithdrawalSummary'; animalsUnderWithdrawal: Scalars['Int']['output']; clearedThisWeek: Scalars['Int']['output']; clearsNext48h: Scalars['Int']['output']; productsBlocked: Scalars['Int']['output']; }; /** * A unit of work within a project. Work items form a hierarchy (epic > story > * task/bug > sub-task) and flow through boards and sprints. */ export type WorkItem = { __typename?: 'WorkItem'; /** * For an EPIC: the union of its own requiredSkills and those of its live (not deleted) direct children, in that * order, case-insensitive duplicates dropped keeping the first spelling. Computed on every read and never copied onto * the epic, so it cannot drift from the children. For every other type: exactly requiredSkills. Read-only. */ aggregatedRequiredSkills: Array<Scalars['String']['output']>; /** Assigned actor ID */ assigneeId?: Maybe<Scalars['String']['output']>; /** Children work items */ children: Array<WorkItem>; /** * AUT-12 — PRs/commits/releases discovered to reference this item's key (newest by remoteUpdatedAt first, capped * at 50). See ExternalSync/planmagnetRefreshSyncCodeLinks. */ codeLinks: Array<PlanmagnetWorkItemCodeLink>; /** Context information */ context?: Maybe<Scalars['JSON']['output']>; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this work item */ createdBy: Scalars['String']['output']; /** Custom field values */ customFieldValues: Array<CustomFieldValue>; /** Soft-delete timestamp */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Dependencies where this item is the source */ dependencies: Array<WorkItemDependency>; /** Detailed description */ description?: Maybe<Scalars['String']['output']>; /** * The id of a conversation (platform Conversations API) this item is discussed in (CWF-26). Null when no * discussion is linked. The UI creates the conversation itself as the user — this service only stores and * format-validates the id; see `planmagnetSetWorkItemDiscussion`. */ discussionConversationId?: Maybe<Scalars['String']['output']>; /** Due date */ dueDate?: Maybe<Scalars['DateTime']['output']>; /** * Which due-date bucket this item falls into (OVERDUE, DUE_TODAY, DUE_THIS_WEEK within 7 days, * DUE_LATER, or NO_DUE_DATE). Server-computed so the My Work grouping can never disagree between two * clients or two requests — see utils/my-work.ts. */ dueGroup: PlanmagnetDueGroup; /** Original time estimate in minutes */ estimateMinutes?: Maybe<Scalars['Int']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** * True when dueDate is set and earlier than the start of today (UTC). Open items only in spirit — a * DONE/CANCELLED item past its due date still reports true; callers that only care about * outstanding overdue work must also check status/category. */ isOverdue: Scalars['Boolean']['output']; /** Human-readable key (e.g. PROJ-123) */ key: Scalars['String']['output']; /** Labels for categorization */ labels: Array<Scalars['String']['output']>; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Milestone reference — null when the milestone was deleted */ milestone?: Maybe<Milestone>; /** Milestone this work item delivers towards (PDM-22). Always a milestone of the item's own project. */ milestoneId?: Maybe<Scalars['String']['output']>; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Parent work item */ parent?: Maybe<WorkItem>; /** Parent work item ID (for sub-tasks) */ parentId?: Maybe<Scalars['String']['output']>; /** Priority level */ priority: WorkItemPriority; /** * PRM-01: the product feature this EPIC is linked to (see planmagnetLinkEpicToProductFeature). Null unless this item * is an EPIC linked to a live feature — a story reaches its feature through its epic (`parent`). Batched per request. */ productFeature?: Maybe<PlanmagnetProductFeature>; /** Parent project */ project?: Maybe<PlanmagnetProject>; /** Parent project ID */ projectId: Scalars['String']['output']; /** Reporter actor ID */ reporterId?: Maybe<Scalars['String']['output']>; /** * Skills this work item needs (ANR-07, ANR-28, CWF-29) — PlanMagnet's own free-text tags, normalized on every write: * trimmed, inner whitespace collapsed, case-insensitive duplicates dropped keeping the first spelling, at most 20 * tags of at most 64 characters each. Matched case-insensitively against CrewFoundry person skills, which PlanMagnet * only reads (see planmagnetSkillCoverage). Empty when none are set. */ requiredSkills: Array<Scalars['String']['output']>; /** Sort order within lists */ sortOrder: Scalars['Int']['output']; /** Sprint reference */ sprint?: Maybe<Sprint>; /** Sprint this work item belongs to */ sprintId?: Maybe<Scalars['String']['output']>; /** Current status */ status: WorkItemStatus; /** * When it entered its current status (card aging). Null when that moment is unknown: its status was changed by a * path that records no history, such as an import */ statusSince?: Maybe<Scalars['DateTime']['output']>; /** Story points estimate */ storyPoints?: Maybe<Scalars['Int']['output']>; /** Tags for categorization */ tags: Array<Scalars['String']['output']>; /** Time spent in minutes */ timeSpentMinutes?: Maybe<Scalars['Int']['output']>; /** Work item title */ title: Scalars['String']['output']; /** Work item type */ type: WorkItemType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Actor who last updated this work item */ updatedBy?: Maybe<Scalars['String']['output']>; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** A dependency relationship between two work items. */ export type WorkItemDependency = { __typename?: 'WorkItemDependency'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this dependency */ createdBy: Scalars['String']['output']; /** Optional description */ description?: Maybe<Scalars['String']['output']>; /** Unique identifier */ id: Scalars['ID']['output']; /** * Offset applied to the constraint, in minutes. Negative means lead (overlap) * rather than lag. The column has always existed as `lagDays`; the SDL never * exposed it, so a lagged constraint could not be expressed at all. */ lagMinutes?: Maybe<Scalars['Int']['output']>; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** The constraining work item */ predecessor?: Maybe<WorkItem>; /** * The work item that constrains the other. Renamed from `sourceWorkItemId`: * with `type` now purely a scheduling relationship, source/target read as a * generic graph edge while predecessor/successor state the actual meaning. */ predecessorId: Scalars['String']['output']; /** Current status */ status: DependencyStatus; /** The constrained work item */ successor?: Maybe<WorkItem>; /** The work item whose schedule is constrained. Renamed from `targetWorkItemId`. */ successorId: Scalars['String']['output']; /** Type of dependency */ type: DependencyType; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** A link between a work item and an external entity owned by another product. */ export type WorkItemLink = { __typename?: 'WorkItemLink'; /** Creation timestamp */ createdAt: Scalars['DateTime']['output']; /** Actor who created this link */ createdBy: Scalars['String']['output']; /** Deep link to the entity captured at link time */ deepLinkSnapshot?: Maybe<Scalars['String']['output']>; /** Human label captured at link time; shown if the entity can't be resolved */ displayNameSnapshot?: Maybe<Scalars['String']['output']>; /** Primary key of the linked entity within the source product */ entityId: Scalars['String']['output']; /** Entity type within the source product, e.g. "FIELD" | "CROP" | "ANIMAL" */ entityType: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** Arbitrary metadata */ metadata?: Maybe<Scalars['JSON']['output']>; /** Actor on whose behalf this was created */ onBehalfOf?: Maybe<Scalars['String']['output']>; /** Semantic of the link */ relationType: WorkItemLinkRelation; /** Owning product of the linked entity, e.g. "healthybowl" */ sourceProduct: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** Linked work item */ workItem?: Maybe<WorkItem>; /** Linked work item ID */ workItemId: Scalars['String']['output']; /** Associated workspace ID */ workspaceId: Scalars['String']['output']; }; /** * How a work item relates to the thing it is linked to. * * The first six are cross-product verbs: a work item INSPECTS a HealthyBowl * sensor, PRODUCES an artifact. The five added in 20260924130000 are the * work-item-to-work-item issue-link verbs that used to sit on * `WorkItemDependency.type`, where they were indistinguishable from scheduling * constraints and dragged semantic links into critical-path maths. * * For a link between two PlanMagnet work items, use `sourceProduct: "planmagnet"` * and `entityType: "WorkItem"`. **None of these relations affect scheduling** — * that is `WorkItemDependency` and only `WorkItemDependency`. */ export declare enum WorkItemLinkRelation { Affects = "AFFECTS", /** This work item is blocked by the linked one. Semantic only: it does NOT schedule. */ BlockedBy = "BLOCKED_BY", Blocks = "BLOCKS", CausedBy = "CAUSED_BY", Causes = "CAUSES", DuplicatedBy = "DUPLICATED_BY", Duplicates = "DUPLICATES", Inspects = "INSPECTS", Produces = "PRODUCES", RelatedTo = "RELATED_TO", WorksOn = "WORKS_ON" } export declare enum WorkItemPriority { Critical = "CRITICAL", High = "HIGH", Low = "LOW", Medium = "MEDIUM", None = "NONE" } export declare enum WorkItemStatus { Backlog = "BACKLOG", Cancelled = "CANCELLED", Done = "DONE", InProgress = "IN_PROGRESS", InReview = "IN_REVIEW", Testing = "TESTING", Todo = "TODO" } export declare enum WorkItemType { Bug = "BUG", Epic = "EPIC", Story = "STORY", SubTask = "SUB_TASK", Task = "TASK" } export type WorkOrder = { __typename?: 'WorkOrder'; assetId?: Maybe<Scalars['ID']['output']>; assignedTo?: Maybe<Scalars['String']['output']>; /** Federated bridge to the assigned user via global-auth-svc (BOFF-3341). */ assignedToUser?: Maybe<User>; checklist: Array<Scalars['JSONObject']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; /** Closing notes captured when the work order is completed. */ completionNotes?: Maybe<Scalars['String']['output']>; /** Actual cost captured when the work order is completed. */ cost?: Maybe<Scalars['Float']['output']>; createdAt: Scalars['DateTime']['output']; description?: Maybe<Scalars['String']['output']>; /** * Equipment downtime caused by this work, in hours. Captured on completion and * mirrored to linked products (TheGlobalFuel maintenance, BOFF-10914). */ downtimeHours?: Maybe<Scalars['Float']['output']>; id: Scalars['ID']['output']; priority: Priority; status: WorkOrderStatus; title: Scalars['String']['output']; type: WorkOrderType; updatedAt: Scalars['DateTime']['output']; /** Federated bridge to the owning workspace via wspace-workspaces-svc (BOFF-3341). */ workspace: Workspace; workspaceId: Scalars['ID']['output']; }; /** * Optional filter for the work-order list (BOFF-10632). Every field narrows the * result; omitted fields do not filter. */ export type WorkOrderFilterInput = { /** Only work orders on this asset. */ assetId?: InputMaybe<Scalars['ID']['input']>; /** * Only work orders whose assignee equals one of these values, ignoring case. * assignedTo is free text, so pass every identity the caller is known by (for * example the user id and email). At most 10 values. */ assignedToIn?: InputMaybe<Array<Scalars['String']['input']>>; /** Only work orders that are not COMPLETED or CANCELLED. */ openOnly?: InputMaybe<Scalars['Boolean']['input']>; }; export declare enum WorkOrderStatus { Approved = "APPROVED", Cancelled = "CANCELLED", Completed = "COMPLETED", Draft = "DRAFT", InProgress = "IN_PROGRESS", Scheduled = "SCHEDULED" } export declare enum WorkOrderType { Corrective = "CORRECTIVE", Emergency = "EMERGENCY", Predictive = "PREDICTIVE", Preventive = "PREVENTIVE" } /** * An individual's own daily work pattern, including self-reported wellbeing * signals (mood/stressLevel/energyLevel). This is personal data — every field * is self-scoped (authenticated actor only); the resolvers additionally * owner-filter every query/mutation by the calling actor's id (or, inside the * workspace-wide team feed, redact the wellbeing fields for rows that are not * the caller's own — see WorkPatternService.getTeamWorkPatterns). */ export type WorkPattern = { __typename?: 'WorkPattern'; breakHours: Scalars['Float']['output']; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; date: Scalars['DateTime']['output']; deepWorkSessions: Scalars['Int']['output']; energyLevel?: Maybe<Scalars['String']['output']>; focusHours: Scalars['Float']['output']; id: Scalars['ID']['output']; interruptions: Scalars['Int']['output']; meetingHours: Scalars['Float']['output']; mood?: Maybe<Scalars['String']['output']>; peakHours?: Maybe<Scalars['JSON']['output']>; productivityScore?: Maybe<Scalars['Float']['output']>; stressLevel?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; userId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; export type WorkPatternInsight = { __typename?: 'WorkPatternInsight'; description: Scalars['String']['output']; impact?: Maybe<Scalars['String']['output']>; recommendation?: Maybe<Scalars['String']['output']>; title: Scalars['String']['output']; type: WorkPatternInsightType; }; export declare enum WorkPatternInsightType { Negative = "NEGATIVE", Neutral = "NEUTRAL", Positive = "POSITIVE", Recommendation = "RECOMMENDATION", Warning = "WARNING" } export type WorkPatternSummary = { __typename?: 'WorkPatternSummary'; averageFocusHours: Scalars['Float']['output']; averageMeetingHours: Scalars['Float']['output']; averageProductivity: Scalars['Float']['output']; insights: Array<WorkPatternInsight>; leastProductiveDay?: Maybe<Scalars['String']['output']>; mostProductiveDay?: Maybe<Scalars['String']['output']>; }; export type WorkerActionPolicyDecision = { __typename?: 'WorkerActionPolicyDecision'; approvalExpiresAt?: Maybe<Scalars['DateTime']['output']>; /** REQUIRE_APPROVAL: the ask the node parks on. */ approvalRequestId?: Maybe<Scalars['ID']['output']>; /** The stored decision; null when no policy matched. */ decisionId?: Maybe<Scalars['ID']['output']>; effect: ActionPolicyEffect; environment: WorkflowEnvironment; loggedPolicyIds: Array<Scalars['ID']['output']>; /** sha256 of the canonical {nodeType, operation, connectionId, params}. */ payloadHash: Scalars['String']['output']; policyId?: Maybe<Scalars['ID']['output']>; policyName?: Maybe<Scalars['String']['output']>; /** * NO_POLICY, MATCHED, DEFAULT_DENY, LOGGED, APPROVED, PAYLOAD_CHANGED, APPROVAL_ALREADY_USED, * APPROVAL_DECLINED, APPROVAL_TIMED_OUT or PAYLOAD_TOO_LARGE. */ reason: Scalars['String']['output']; }; /** Credentials of one connection a user activity attempt may use (H2). */ export type WorkerActivityConnection = { __typename?: 'WorkerActivityConnection'; adapter: Scalars['String']['output']; connectionId: Scalars['ID']['output']; /** Short-lived credentials (an OAuth access token, never a refresh token). */ credentials: Scalars['JSON']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; name: Scalars['String']['output']; }; /** Park the attempt in flight for asynchronous completion (Phase C, spec code-first 11 §2.2). */ export type WorkerActivityParkInput = { activityId: Scalars['ID']['input']; attempt: Scalars['Int']['input']; /** When the park ends; default ASYNC_ACTIVITY_DEFAULT_TTL_SECONDS (30 days), capped by schedule-to-close. */ deadline?: InputMaybe<Scalars['DateTime']['input']>; /** human, tool, policy (resumed by that request) or external (completed by token or by id). */ reason: Scalars['String']['input']; /** The human-response, tool-approval or policy request id; required unless reason is external. */ requestId?: InputMaybe<Scalars['String']['input']>; runId: Scalars['ID']['input']; /** State kept for the resume (at most 256 KiB). */ state?: InputMaybe<Scalars['JSON']['input']>; }; export type WorkerActivityParkResult = { __typename?: 'WorkerActivityParkResult'; /** * False with a reason when the park is refused: FEATURE_DISABLED (fluidgrids.run-control is off; keep * the Phase B behaviour), RUN_CLOSED, NOT_FOUND, STALE_ATTEMPT, ALREADY_PARKED, CANCELLED, * INVALID_REASON, REQUEST_REQUIRED, STATE_TOO_LARGE or TOKEN_LIMIT. Parking an attempt again with the * same reason and request (a retry after a lost answer) is accepted with the recorded deadline; an * external park is ALREADY_PARKED, since its token is shown once. */ accepted: Scalars['Boolean']['output']; deadline?: Maybe<Scalars['DateTime']['output']>; reason?: Maybe<Scalars['String']['output']>; /** The task token of an external park (shown once); null otherwise. */ taskToken?: Maybe<Scalars['String']['output']>; }; /** The agent an AI Agent node runs under, read from the run's stored definition. */ export type WorkerAgentProfile = { __typename?: 'WorkerAgentProfile'; /** The agent's app actor id. */ agentAppId: Scalars['String']['output']; agentDefinitionId: Scalars['ID']['output']; connectionScope: Array<Scalars['String']['output']>; name: Scalars['String']['output']; requireToolApproval: Scalars['Boolean']['output']; /** DISABLED also covers a definition that was deleted or is not in this workspace. */ status: AgentDefinitionStatus; toolAllowlist: Array<AgentToolRule>; }; /** One step of an AI Agent loop, as the worker recorded it (BOFF-9936). */ export type WorkerAgentStepInput = { approvalId?: InputMaybe<Scalars['String']['input']>; /** Worker-assigned UUID of the step. A re-sent batch carries the same ids and is stored once. */ id: Scalars['ID']['input']; /** * What the step was given; redacted of the run's secrets by the worker. Values above 32 KiB of JSON * are stored as a truncated preview. */ input?: InputMaybe<Scalars['JSON']['input']>; iteration: Scalars['Int']['input']; kind: AgentStepKind; latencyMs?: InputMaybe<Scalars['Int']['input']>; model?: InputMaybe<Scalars['String']['input']>; /** What the step produced; the same rules as input. */ output?: InputMaybe<Scalars['JSON']['input']>; /** The callId of the step's model call in workerRecordRunAiInvocations (PLAN steps). */ promptInvocationId?: InputMaybe<Scalars['ID']['input']>; /** Order of the step inside its node execution. */ sequence: Scalars['Int']['input']; tokensIn?: InputMaybe<Scalars['Int']['input']>; tokensOut?: InputMaybe<Scalars['Int']['input']>; toolCallId?: InputMaybe<Scalars['String']['input']>; toolName?: InputMaybe<Scalars['String']['input']>; }; /** Input for appending a batch of run log lines */ export type WorkerAppendRunLogsInput = { lines: Array<WorkerRunLogLineInput>; runId: Scalars['ID']['input']; }; /** Response for appending run log lines */ export type WorkerAppendRunLogsResponse = { __typename?: 'WorkerAppendRunLogsResponse'; /** Lines written. */ accepted: Scalars['Int']['output']; /** Lines discarded because the run had already hit its log cap. */ dropped: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type WorkerBuildCompatibility = { __typename?: 'WorkerBuildCompatibility'; buildId: Scalars['String']['output']; /** Builds a worker running `buildId` may also serve (the bundle's compatibleBuildIds, 06 §5). */ compatibleBuildIds: Array<Scalars['String']['output']>; }; export type WorkerCancelHumanResponseRequestInput = { requestId: Scalars['ID']['input']; workspaceId: Scalars['String']['input']; }; export type WorkerCancelHumanResponseRequestResponse = { __typename?: 'WorkerCancelHumanResponseRequestResponse'; /** False when the ask was already answered, timed out or withdrawn. */ cancelled: Scalars['Boolean']['output']; error?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; /** * Whether the worker may start a coding-agent job for a Coding Agent node (BOFF-9968), and who the * job runs for. Decided from stored data: the node must be a Coding Agent node of the run's own * definition and the workspace must have the fluidgrids.coding-agent flag on (fail closed). */ export type WorkerCodingAgentAccess = { __typename?: 'WorkerCodingAgentAccess'; enabled: Scalars['Boolean']['output']; /** The person the job and its model spend are attributed to. */ onBehalfOfUserId?: Maybe<Scalars['ID']['output']>; /** NOT_A_CODING_AGENT_NODE or FEATURE_DISABLED when refused. */ reason?: Maybe<Scalars['String']['output']>; /** The run's AI-ledger trigger: interactive, scheduled, webhook, event or test. */ trigger: Scalars['String']['output']; }; /** Input for completing a run */ export type WorkerCompleteRunInput = { errorMessage?: InputMaybe<Scalars['String']['input']>; errorType?: InputMaybe<ErrorType>; runId: Scalars['ID']['input']; status: RunStatus; }; /** Response for workflow completion */ export type WorkerCompleteRunResponse = { __typename?: 'WorkerCompleteRunResponse'; completedNodes?: Maybe<Scalars['Int']['output']>; error?: Maybe<Scalars['String']['output']>; failedNodes?: Maybe<Scalars['Int']['output']>; run?: Maybe<WorkerRunData>; success: Scalars['Boolean']['output']; totalNodes?: Maybe<Scalars['Int']['output']>; }; export type WorkerCompleteWorkflowTaskInput = { /** Flat command objects, exactly as in @fluidgrids/workflows schema/workflow-command.schema.json. */ commands: Array<Scalars['JSON']['input']>; /** The historyLength of the lease. */ expectedHistoryLength: Scalars['Int']['input']; /** Non-replayed log lines of the task. */ logs?: InputMaybe<Array<Scalars['JSON']['input']>>; /** Phase C (CX8): the answers to the lease's `queries`, each { queryId, value, error, rejected }. */ queryResults?: InputMaybe<Array<Scalars['JSON']['input']>>; runId: Scalars['ID']['input']; taskId: Scalars['ID']['input']; }; /** Input for starting a Sub-workflow node's child run. */ export type WorkerCreateChildRunInput = { /** * GRAPH (default) runs the target workflow's canvas. DURABLE_FN runs `workflowFn` of the parent * version's own code bundle (`internal:code-workflow`, BOFF-9905); it needs the * fluidgrids.durable-functions flag. */ executionKind?: InputMaybe<ExecutionKind>; /** Mapped data handed to the child as its trigger data. */ input?: InputMaybe<Scalars['JSON']['input']>; /** DURABLE_FN only: what happens to the child when the parent closes (default by waitForCompletion). */ parentClosePolicy?: InputMaybe<ParentClosePolicy>; parentNodeId: Scalars['String']['input']; parentRunId: Scalars['ID']['input']; /** DURABLE_FN only: the task queue; `managed` in Phase B. */ taskQueue?: InputMaybe<Scalars['String']['input']>; /** Pinned version; omitted resolves the executable one (ACTIVE wins, else newest). */ version?: InputMaybe<Scalars['String']['input']>; /** DURABLE_FN only: the export name of the workflow function. */ workflowFn?: InputMaybe<Scalars['String']['input']>; /** Target workflow, always resolved inside the parent's workspace. */ workflowKey: Scalars['String']['input']; }; /** Result of starting a child run. */ export type WorkerCreateChildRunResponse = { __typename?: 'WorkerCreateChildRunResponse'; childRunId?: Maybe<Scalars['ID']['output']>; error?: Maybe<Scalars['String']['output']>; /** One of: PARENT_NOT_FOUND, WORKFLOW_NOT_FOUND, DEPTH_EXCEEDED, CYCLE_DETECTED, NO_ENTRY_NODE. */ errorCode?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; triggerNodeId?: Maybe<Scalars['String']['output']>; version?: Maybe<Scalars['String']['output']>; workflowKey?: Maybe<Scalars['String']['output']>; }; /** Input for recording a "Send and wait for response" ask. */ export type WorkerCreateHumanResponseRequestInput = { /** EMAIL, SLACK or IN_APP — how the ask is delivered. */ channel: Scalars['String']['input']; /** Absolute deadline from the node's limit-wait-time; omitted waits until answered. */ expiresAt?: InputMaybe<Scalars['DateTime']['input']>; nodeId: Scalars['String']['input']; /** * The node's response options: responseType, approvalType, labels, subject/formTitle, * message, formFields; for an in-app approval also quorum (any, all or count), quorumCount * and responderRoles (role names or ids whose members approve, BOFF-9956). */ options: Scalars['JSON']['input']; /** Who is asked, for display (an address, a channel, user ids). */ recipient?: InputMaybe<Scalars['String']['input']>; /** In-app only: user ids allowed to answer. Empty means any workspace member. */ responders?: InputMaybe<Array<Scalars['String']['input']>>; runId: Scalars['ID']['input']; workspaceId: Scalars['String']['input']; }; /** Input for creating node state */ export type WorkerCreateNodeStateInput = { context?: InputMaybe<Scalars['JSON']['input']>; inputArgs?: InputMaybe<Scalars['JSON']['input']>; nodeId: Scalars['String']['input']; nodeType: Scalars['String']['input']; nodeVersion: Scalars['String']['input']; runId: Scalars['ID']['input']; status: NodeStatus; }; /** Input for recording a pending tool-approval request. */ export type WorkerCreateToolApprovalRequestInput = { nodeId: Scalars['String']['input']; nodeStateId: Scalars['ID']['input']; runId: Scalars['ID']['input']; timeoutAction?: InputMaybe<ToolApprovalTimeoutAction>; /** * Minutes from now before the timeout sweep auto-resolves this request. * Omitted/0 means no timeout (it waits indefinitely for a human). */ timeoutMinutes?: InputMaybe<Scalars['Int']['input']>; /** JSON array of `{ callId, name, argsJson }` — the calls awaiting a decision. */ toolCalls: Scalars['JSON']['input']; workflowId: Scalars['String']['input']; workflowKey: Scalars['String']['input']; workspaceId: Scalars['String']['input']; }; export type WorkerDataTableDeleteResponse = { __typename?: 'WorkerDataTableDeleteResponse'; affected: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type WorkerDataTableDeleteRowsInput = { filters?: InputMaybe<Array<DataTableRowFilterInput>>; rowIds?: InputMaybe<Array<Scalars['ID']['input']>>; tableId?: InputMaybe<Scalars['ID']['input']>; tableName?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type WorkerDataTableInsertRowInput = { data: Scalars['JSON']['input']; tableId?: InputMaybe<Scalars['ID']['input']>; tableName?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type WorkerDataTableRowResponse = { __typename?: 'WorkerDataTableRowResponse'; error?: Maybe<Scalars['String']['output']>; row?: Maybe<Scalars['JSON']['output']>; success: Scalars['Boolean']['output']; }; export type WorkerDataTableRowsQueryInput = { filters?: InputMaybe<Array<DataTableRowFilterInput>>; limit?: InputMaybe<Scalars['Int']['input']>; tableId?: InputMaybe<Scalars['ID']['input']>; tableName?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; /** * WORKER-INTERNAL: response shape for the Data Table node's operations. * Mirrors the user-facing responses but never throws on a business-logic * failure (quota exceeded, validation failed, row not found) — the Data Table * node surfaces `error` as a normal node failure instead of an unhandled * GraphQL exception. */ export type WorkerDataTableRowsResponse = { __typename?: 'WorkerDataTableRowsResponse'; error?: Maybe<Scalars['String']['output']>; rows: Scalars['JSON']['output']; success: Scalars['Boolean']['output']; total: Scalars['Int']['output']; }; export type WorkerDataTableUpdateRowInput = { data: Scalars['JSON']['input']; rowId: Scalars['ID']['input']; tableId?: InputMaybe<Scalars['ID']['input']>; tableName?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type WorkerDataTableUpsertRowInput = { data: Scalars['JSON']['input']; matchColumns: Array<Scalars['String']['input']>; tableId?: InputMaybe<Scalars['ID']['input']>; tableName?: InputMaybe<Scalars['String']['input']>; workspaceId: Scalars['ID']['input']; }; export type WorkerDedupeCheckAndMarkInput = { /** * SHA-256 hex digests of each item's compare-key (never the raw item value — * see the `WorkflowDedupeSeen` model doc comment). */ hashes: Array<Scalars['String']['input']>; /** * Cap on distinct values remembered per node — oldest entries are pruned * once exceeded. Defaults to 10000. */ maxTracked?: InputMaybe<Scalars['Int']['input']>; /** * The Dedupe node's id in the DAG — scopes the "seen" set to this one node * instance, matching PollState's (workflowKey, triggerNodeId) scoping. */ nodeId: Scalars['String']['input']; /** * Only treat a previously-seen hash as "still seen" if it was recorded * within the last N seconds. Omitted = remember indefinitely (until * `maxTracked` pruning). */ windowSeconds?: InputMaybe<Scalars['Int']['input']>; workflowKey: Scalars['String']['input']; workspaceId: Scalars['ID']['input']; }; export type WorkerDedupeCheckAndMarkResponse = { __typename?: 'WorkerDedupeCheckAndMarkResponse'; error?: Maybe<Scalars['String']['output']>; /** * Subset of the input `hashes` that were NOT already seen (within the * window, if any) — these are the ones this call just recorded as seen. */ newHashes: Array<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; /** Definition data for worker execution */ export type WorkerDefinitionData = { __typename?: 'WorkerDefinitionData'; definitionJson: Scalars['JSON']['output']; id: Scalars['ID']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type WorkerEvaluateActionPolicyInput = { /** The policy approval ask the resumed node was parked on. */ approvalRequestId?: InputMaybe<Scalars['ID']['input']>; /** Agent tool call id, when the action is a tool call. */ callId?: InputMaybe<Scalars['String']['input']>; /** Connection ids the action runs with. */ connectionIds?: InputMaybe<Array<Scalars['String']['input']>>; /** Connection providers (adapter names) the action runs with. */ connectionProviders?: InputMaybe<Array<Scalars['String']['input']>>; nodeId: Scalars['String']['input']; nodeType: Scalars['String']['input']; operation?: InputMaybe<Scalars['String']['input']>; /** The resolved parameters; null when paramsTooLarge. */ params?: InputMaybe<Scalars['JSON']['input']>; /** The worker did not send the parameters because they exceed its size limit. */ paramsTooLarge?: InputMaybe<Scalars['Boolean']['input']>; runId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; /** * Execution context data returned to worker at job start * Contains all data needed to execute a workflow run */ export type WorkerExecutionContext = { __typename?: 'WorkerExecutionContext'; /** Workflow definition with full JSON */ definition: WorkerDefinitionData; /** Workflow run details */ run: WorkerRunData; }; /** The recorded ask and the links the message carries. */ export type WorkerHumanResponseRequestResponse = { __typename?: 'WorkerHumanResponseRequestResponse'; /** Approval only. */ approveUrl?: Maybe<Scalars['String']['output']>; /** In-app approvals (BOFF-9956): how many approvers were asked, and how many must approve. */ approverCount?: Maybe<Scalars['Int']['output']>; /** Approval with Approve and Decline only. */ declineUrl?: Maybe<Scalars['String']['output']>; error?: Maybe<Scalars['String']['output']>; /** One of: INVALID_INPUT, NOT_FOUND, NOT_WAITING. */ errorCode?: Maybe<Scalars['String']['output']>; expiresAt?: Maybe<Scalars['DateTime']['output']>; /** * Who was asked, for display: the input's recipient, or the approvers' user ids once * approver roles were resolved (BOFF-9956). */ recipient?: Maybe<Scalars['String']['output']>; requestId?: Maybe<Scalars['ID']['output']>; requiredApprovals?: Maybe<Scalars['Int']['output']>; respondUrl?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; export type WorkerMarkRunQueuedInput = { /** Runs holding a slot when the worker last checked. */ active: Scalars['Int']['input']; /** The limit the run waits behind: the workflow's Max parallel executions or the workspace cap. */ limit: Scalars['Int']['input']; /** 1-based position in the queue the run waits in. */ position: Scalars['Int']['input']; runId: Scalars['ID']['input']; /** Which limit holds the run back. Defaults to WORKFLOW. */ scope?: InputMaybe<WorkerRunQueueScope>; }; export type WorkerMarkRunQueuedResponse = { __typename?: 'WorkerMarkRunQueuedResponse'; error?: Maybe<Scalars['String']['output']>; /** False when the run was not PENDING, so nothing was recorded. */ queued: Scalars['Boolean']['output']; success: Scalars['Boolean']['output']; }; /** Node endpoint from registry */ export type WorkerNodeEndpoint = { __typename?: 'WorkerNodeEndpoint'; adapterOutputType?: Maybe<Scalars['String']['output']>; endpointUrl: Scalars['String']['output']; /** * Adapter declarations for cluster nodes (e.g. AI Agent's Chat Model / Memory / * Tool ports). The worker's resolveAdapterInputs needs these to run connected * sub-node adapters; without them an adapter node never receives its sub-nodes. */ nodeAdapters?: Maybe<Scalars['JSON']['output']>; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; /** * Operation metadata (state types, output fields) for building GraphQL queries. * JSON array of operation configs: [{ name, type, state_type, context_type, output_fields }] */ operations?: Maybe<Scalars['JSON']['output']>; status: Scalars['String']['output']; supportsAdapterMode?: Maybe<Scalars['Boolean']['output']>; }; /** Response for node endpoint resolution */ export type WorkerNodeEndpointResponse = { __typename?: 'WorkerNodeEndpointResponse'; endpoint?: Maybe<WorkerNodeEndpoint>; error?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; /** Node state data for worker */ export type WorkerNodeState = { __typename?: 'WorkerNodeState'; attemptCount: Scalars['Int']['output']; context?: Maybe<Scalars['JSON']['output']>; duration?: Maybe<Scalars['Float']['output']>; endTime?: Maybe<Scalars['DateTime']['output']>; error?: Maybe<Scalars['String']['output']>; errorType?: Maybe<ErrorType>; id: Scalars['ID']['output']; inputArgs?: Maybe<Scalars['JSON']['output']>; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; output?: Maybe<Scalars['JSON']['output']>; runId: Scalars['String']['output']; startTime?: Maybe<Scalars['DateTime']['output']>; status: NodeStatus; /** * True when a TEST run's test case mocked this node's connection call, so no * external call was made (BOFF-9960). Observational, like usedPinnedData. */ usedMock?: Maybe<Scalars['Boolean']['output']>; /** * True when this node's output came from pinned data instead of a real call * (BOFF-7511). The executor decides this itself from the job message's own * `mode`/pinned data (never a server round-trip) and stamps the result here * purely for the UI/audit trail — the server never reads this to decide * behavior. */ usedPinnedData?: Maybe<Scalars['Boolean']['output']>; }; /** Response for node state operations */ export type WorkerNodeStateResponse = { __typename?: 'WorkerNodeStateResponse'; error?: Maybe<Scalars['String']['output']>; nodeState?: Maybe<WorkerNodeState>; success: Scalars['Boolean']['output']; }; /** Response for batch node state update */ export type WorkerNodeStatesResponse = { __typename?: 'WorkerNodeStatesResponse'; error?: Maybe<Scalars['String']['output']>; nodeStates: Array<WorkerNodeState>; success: Scalars['Boolean']['output']; }; export type WorkerNotifyHumanRespondersInput = { requestId: Scalars['ID']['input']; /** The respondUrl returned when the ask was recorded. */ respondUrl: Scalars['String']['input']; workspaceId: Scalars['String']['input']; }; export type WorkerNotifyHumanRespondersResponse = { __typename?: 'WorkerNotifyHumanRespondersResponse'; error?: Maybe<Scalars['String']['output']>; errorCode?: Maybe<Scalars['String']['output']>; /** False when there is no one to notify or the ask was already notified. */ notified: Scalars['Boolean']['output']; success: Scalars['Boolean']['output']; }; export type WorkerPollTasksInput = { activitySlots: Scalars['Int']['input']; /** The builds the worker serves (its own and those compatible with them); workflow tasks are partitioned by build. */ buildIds: Array<Scalars['String']['input']>; /** Runs the worker holds in its sticky cache (informational). */ cachedRuns?: InputMaybe<Scalars['Int']['input']>; /** The worker session (sandbox_worker_sessions.id); leases go to `worker:<sessionId>`. */ sessionId: Scalars['ID']['input']; /** A self-hosted queue name (every environment of it) or `name@dev|staging|prod` (only that environment's scoped row). */ taskQueue: Scalars['String']['input']; /** How long to wait for work when there is none (at most 5000 ms, CX13). */ waitMs?: InputMaybe<Scalars['Int']['input']>; /** Free workflow-task and activity slots: at most this many tasks of each kind are handed out. */ workflowSlots: Scalars['Int']['input']; }; export type WorkerPollTasksResult = { __typename?: 'WorkerPollTasksResult'; /** False when the workspace has no task queue of that name (nothing will ever arrive on it). */ queueKnown: Scalars['Boolean']['output']; tasks: Array<WorkerPolledTask>; }; /** A task workerPollTasks handed to a worker session. The bridge takes its lease with workerStartWorkflowTask or workerStartActivity. */ export type WorkerPolledTask = { __typename?: 'WorkerPolledTask'; /** Activity tasks. */ activityId?: Maybe<Scalars['ID']['output']>; attempt?: Maybe<Scalars['Int']['output']>; /** `workflow` or `activity`. */ kind: Scalars['String']['output']; runId: Scalars['ID']['output']; /** Workflow tasks. */ taskId?: Maybe<Scalars['ID']['output']>; }; /** A query task of a self-hosted `worker`-determinism run (CX8). */ export type WorkerQueryTask = { __typename?: 'WorkerQueryTask'; /** The history length the queries are answered at. */ historyLength: Scalars['Int']['output']; info: Scalars['JSON']['output']; /** [{ queryId, name, args }]. */ queries: Scalars['JSON']['output']; queryTaskId: Scalars['ID']['output']; runId: Scalars['ID']['output']; workflowFn: Scalars['String']['output']; }; /** Input for recording the steps of one AI Agent node execution (BOFF-9936), usually one loop iteration */ export type WorkerRecordAgentStepsInput = { nodeId: Scalars['String']['input']; nodeStateId?: InputMaybe<Scalars['String']['input']>; runId: Scalars['ID']['input']; steps: Array<WorkerAgentStepInput>; }; /** Result of recording AI Agent steps */ export type WorkerRecordAgentStepsResponse = { __typename?: 'WorkerRecordAgentStepsResponse'; /** Steps stored by this call (a re-sent step counts once, on its first send). */ accepted: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; success: Scalars['Boolean']['output']; }; /** Input for recording the model calls of one node execution (BOFF-9935) */ export type WorkerRecordRunAiInvocationsInput = { entries: Array<WorkerRunAiInvocationInput>; nodeId: Scalars['String']['input']; nodeType: Scalars['String']['input']; operation: Scalars['String']['input']; runId: Scalars['ID']['input']; }; /** Result of recording a node execution's model calls */ export type WorkerRecordRunAiInvocationsResponse = { __typename?: 'WorkerRecordRunAiInvocationsResponse'; /** Calls stored on the run. */ accepted: Scalars['Int']['output']; error?: Maybe<Scalars['String']['output']>; /** Calls the ledger did not take this time; kept on the run for reconciliation. */ held: Scalars['Int']['output']; /** Calls the AI ledger acknowledged (now or on an earlier send). */ recorded: Scalars['Int']['output']; /** Malformed calls that were dropped. */ rejected: Scalars['Int']['output']; /** Calls not sent to the ledger (no person to attribute them to, or no provider/model reported). */ skipped: Scalars['Int']['output']; success: Scalars['Boolean']['output']; }; /** A limit of a run's AI budget the worker found exceeded (BOFF-9943). */ export type WorkerRecordRunBudgetExceededInput = { dimension: RunBudgetDimension; limit: Scalars['Float']['input']; mode: RunBudgetMode; observed: Scalars['Float']['input']; runId: Scalars['ID']['input']; }; export type WorkerRecordRunBudgetExceededResponse = { __typename?: 'WorkerRecordRunBudgetExceededResponse'; error?: Maybe<Scalars['String']['output']>; /** False when the run had already recorded this limit and mode. */ recorded: Scalars['Boolean']['output']; success: Scalars['Boolean']['output']; }; /** Resolved credential for worker */ export type WorkerResolvedCredential = { __typename?: 'WorkerResolvedCredential'; adapter: Scalars['String']['output']; data: Scalars['JSON']['output']; type: Scalars['String']['output']; }; /** * One model call a node made, as the node's `_aiUsage` envelope reported it (BOFF-9935). * Tokens only: no prompt or completion text, and no cost (the AI ledger prices calls server-side). */ export type WorkerRunAiInvocationInput = { cachedInputTokens?: InputMaybe<Scalars['Float']['input']>; /** Worker-assigned UUID of this call. A re-sent batch carries the same id and is recorded once. */ callId: Scalars['ID']['input']; /** "platform" for a platform-managed key, "byo" for the workspace's own provider key. */ credentialSource: Scalars['String']['input']; finishedAt: Scalars['DateTime']['input']; /** * BOFF-9969: SHA-256 (64 lowercase hex) of the call's canonical model input, as defined in * wspace-workflow-svc src/modules/optimisation/core/input-fingerprint.ts. Never the input itself. * Equal fingerprints mark a repeated input (a response-cache candidate). Anything else is dropped. */ inputFingerprint?: InputMaybe<Scalars['String']['input']>; /** Input tokens, including cached input. */ inputTokens?: InputMaybe<Scalars['Float']['input']>; latencyMs?: InputMaybe<Scalars['Int']['input']>; /** The model id sent to the provider. */ model?: InputMaybe<Scalars['String']['input']>; /** succeeded, failed, blocked or timed_out. */ outcome: Scalars['String']['input']; outputTokens?: InputMaybe<Scalars['Float']['input']>; /** Ledger provider key (openai, anthropic, google, mistral, groq, bedrock, ollama, openrouter). */ provider?: InputMaybe<Scalars['String']['input']>; /** Call index inside the node execution (the agent iteration for planStep). */ sequence: Scalars['Int']['input']; startedAt: Scalars['DateTime']['input']; }; /** Where a workspace's concurrent-run cap came from (BOFF-9949). */ export declare enum WorkerRunConcurrencySource { /** The workspace's plan has no `fluidgrids.runs.concurrent` quota. */ NotProvisioned = "NOT_PROVISIONED", /** The plan sets the cap; `limit` holds it. */ Plan = "PLAN", /** The quota service could not answer. */ Unavailable = "UNAVAILABLE", /** The plan's quota has no limit. */ Unlimited = "UNLIMITED" } /** Run data for worker execution" */ export type WorkerRunData = { __typename?: 'WorkerRunData'; /** BOFF-9943 (and BOFF-7514): seconds the run spent RUNNING before activeSince. */ activeSeconds?: Maybe<Scalars['Float']['output']>; /** When the run last became RUNNING; null while it is not RUNNING. */ activeSince?: Maybe<Scalars['DateTime']['output']>; /** * BOFF-9943: the run's effective AI budget ({ maxSteps, maxWallTimeSec, maxTokens, * maxCostMicroUsd }, each { limit, mode }): the one fixed when it started, else the one it will * get. Null when it has none. */ budget?: Maybe<Scalars['JSON']['output']>; context?: Maybe<Scalars['JSON']['output']>; /** When the run was created. Orders runs queued behind a workflow's parallel-run limit (BOFF-7647). */ createdAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; /** * BOFF-7650: cached by the executor alongside the rest of this record so * `completeRun` can gate static-data persistence on it without a second * round trip. Re-verified independently server-side in * `StaticDataProvider.syncForRun` regardless — this field is a convenience * for the caller, never the source of truth for the safety check. */ mode: RunMode; parentRunId?: Maybe<Scalars['String']['output']>; /** BOFF-9943: the top-level run's budget, for a sub-workflow's run (null for a root run). */ rootBudget?: Maybe<Scalars['JSON']['output']>; /** * BOFF-9943: the top-level run of a sub-workflow's run tree (this run's id when it is the root). * The budget fields are filled by workerGetExecutionContext only. */ rootRunId?: Maybe<Scalars['String']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: RunStatus; triggerData?: Maybe<Scalars['JSON']['output']>; triggerNodeId: Scalars['String']['output']; triggeredById?: Maybe<Scalars['String']['output']>; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workspaceId: Scalars['String']['output']; }; export type WorkerRunFailureTriageInput = { clusterId?: InputMaybe<Scalars['ID']['input']>; maxClusters?: InputMaybe<Scalars['Int']['input']>; nodeId: Scalars['String']['input']; /** triage, propose, notify or digest. */ operation: Scalars['String']['input']; /** The system workflow run executing the node. */ runId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; export type WorkerRunFailureTriageResponse = { __typename?: 'WorkerRunFailureTriageResponse'; error?: Maybe<Scalars['String']['output']>; errorCode?: Maybe<Scalars['String']['output']>; /** The step's output for the node (JSON object). */ output?: Maybe<Scalars['JSON']['output']>; success: Scalars['Boolean']['output']; }; /** * One log line emitted by the executor. * * `id` and `timestamp` are assigned by the WORKER, not the server: a run's nodes * execute across several worker replicas, so only the emitter knows the true * order, and a UUIDv7 id lets the live (pub/sub) and durable (database) copies of * the same line be de-duplicated by the reader. */ export type WorkerRunLogLineInput = { attempt?: InputMaybe<Scalars['Int']['input']>; data?: InputMaybe<Scalars['JSON']['input']>; id: Scalars['ID']['input']; level: RunLogLevel; message: Scalars['String']['input']; nodeId?: InputMaybe<Scalars['String']['input']>; nodeStateId?: InputMaybe<Scalars['String']['input']>; phase?: InputMaybe<Scalars['String']['input']>; stream: RunLogStream; timestamp: Scalars['DateTime']['input']; truncated?: InputMaybe<Scalars['Boolean']['input']>; }; export type WorkerRunOptimisationInput = { nodeId: Scalars['String']['input']; /** scan */ operation: Scalars['String']['input']; /** The system workflow run executing the node. */ runId: Scalars['ID']['input']; workspaceId: Scalars['ID']['input']; }; export type WorkerRunOptimisationResponse = { __typename?: 'WorkerRunOptimisationResponse'; error?: Maybe<Scalars['String']['output']>; errorCode?: Maybe<Scalars['String']['output']>; /** The step's output for the node (JSON object). */ output?: Maybe<Scalars['JSON']['output']>; success: Scalars['Boolean']['output']; }; /** Which limit a queued run waits behind (BOFF-9949). */ export declare enum WorkerRunQueueScope { /** The workflow's Max parallel executions. */ Workflow = "WORKFLOW", /** The workspace's concurrent-run cap. */ Workspace = "WORKSPACE" } export type WorkerRunStatusEntry = { __typename?: 'WorkerRunStatusEntry'; /** How the run executes. The worker drops a graph job that reaches a DURABLE_FN run. */ executionKind: ExecutionKind; id: Scalars['ID']['output']; status: RunStatus; }; /** Response for run status update */ export type WorkerRunStatusResponse = { __typename?: 'WorkerRunStatusResponse'; error?: Maybe<Scalars['String']['output']>; run?: Maybe<WorkerRunData>; success: Scalars['Boolean']['output']; }; /** The signal an `internal:signal-run` node sends (Phase C, C-H6). */ export type WorkerSignalRunInput = { attempt: Scalars['Int']['input']; name: Scalars['String']['input']; /** The node state the node runs as; with `attempt` the signal's dedupe key (DC14). */ nodeStateId: Scalars['ID']['input']; payload?: InputMaybe<Scalars['JSON']['input']>; /** The graph run executing the node. */ sourceRunId: Scalars['ID']['input']; /** The run to signal: { runId } or { workflowKey, workflowId, firstRunId }. */ target: RunTargetInput; }; export type WorkerSignalRunResult = { __typename?: 'WorkerSignalRunResult'; buffered: Scalars['Boolean']['output']; delivered: Scalars['Boolean']['output']; /** The same node attempt already sent it. */ duplicate: Scalars['Boolean']['output']; /** The run the signal was sent to (the latest run of the target's chain). */ targetRunId?: Maybe<Scalars['ID']['output']>; }; /** * BOFF-10385: input for starting a node: its state moves to RUNNING with the attempt, the resolved * input, the loop context and the start time in one write. */ export type WorkerStartNodeStateInput = { /** The attempt this execution is (the worker counts only genuine re-executions). */ attemptCount: Scalars['Int']['input']; context?: InputMaybe<Scalars['JSON']['input']>; /** The node state to move to RUNNING. */ id: Scalars['ID']['input']; /** The node's resolved input. */ inputArgs?: InputMaybe<Scalars['JSON']['input']>; startTime: Scalars['DateTime']['input']; }; /** BOFF-10385: response for starting a node. */ export type WorkerStartNodeStateResponse = { __typename?: 'WorkerStartNodeStateResponse'; error?: Maybe<Scalars['String']['output']>; nodeState?: Maybe<WorkerNodeState>; /** The run's status when it had ended (set only when started is false). */ runStatus?: Maybe<RunStatus>; /** * False when the node's run had already ended (completed, failed, cancelled or terminated): * nothing was written and the node must not run. */ started: Scalars['Boolean']['output']; success: Scalars['Boolean']['output']; }; export type WorkerStaticDataNodeWriteInput = { data: Scalars['JSON']['input']; nodeId: Scalars['String']['input']; }; /** * WORKER-INTERNAL: current persisted static data for a workflow, hydrated by * fluidgrids-workers at the start of every node execution that might read it. */ export type WorkerStaticDataResponse = { __typename?: 'WorkerStaticDataResponse'; error?: Maybe<Scalars['String']['output']>; /** Global-scope blob (`{}` when never written). */ global: Scalars['JSON']['output']; /** Node-scope blobs, keyed by nodeId (`{}` when a given node has never written one). */ nodes: Scalars['JSON']['output']; success: Scalars['Boolean']['output']; }; export type WorkerStaticDataSyncResponse = { __typename?: 'WorkerStaticDataSyncResponse'; error?: Maybe<Scalars['String']['output']>; /** * True only when at least one blob's `data` actually changed content * (server-side content compare) — lets the caller avoid bumping `version` * unnecessarily and gives the run log a meaningful "persisted" vs "no-op" line. */ persisted: Scalars['Boolean']['output']; success: Scalars['Boolean']['output']; }; export type WorkerToolApprovalRequestResponse = { __typename?: 'WorkerToolApprovalRequestResponse'; error?: Maybe<Scalars['String']['output']>; request?: Maybe<ToolApprovalRequest>; success: Scalars['Boolean']['output']; }; /** Input for updating node state */ export type WorkerUpdateNodeStateInput = { attemptCount?: InputMaybe<Scalars['Int']['input']>; context?: InputMaybe<Scalars['JSON']['input']>; duration?: InputMaybe<Scalars['Float']['input']>; endTime?: InputMaybe<Scalars['DateTime']['input']>; error?: InputMaybe<Scalars['String']['input']>; errorType?: InputMaybe<ErrorType>; id: Scalars['ID']['input']; inputArgs?: InputMaybe<Scalars['JSON']['input']>; output?: InputMaybe<Scalars['JSON']['input']>; startTime?: InputMaybe<Scalars['DateTime']['input']>; status: NodeStatus; /** * Set true when the executor answered the node's connection call from a test * case's mock instead of calling it (BOFF-9960). Only ever true on a TEST run. */ usedMock?: InputMaybe<Scalars['Boolean']['input']>; /** * Set true when the executor used pinned data instead of actually calling the * node (BOFF-7511). */ usedPinnedData?: InputMaybe<Scalars['Boolean']['input']>; }; /** Input for updating run status */ export type WorkerUpdateRunStatusInput = { completedAt?: InputMaybe<Scalars['DateTime']['input']>; errorMessage?: InputMaybe<Scalars['String']['input']>; errorType?: InputMaybe<ErrorType>; runId: Scalars['ID']['input']; startedAt?: InputMaybe<Scalars['DateTime']['input']>; status: RunStatus; }; /** * Worker-only, execution-time resolution of every variable visible to a run * (workspace-scope merged with project-scope overrides), with secret values * resolved (local decrypt, or wspace-security-svc for SECRET_REFERENCE). Never exposed to normal * user-facing callers — see the `actorTypes: ["service"]` directive below. */ export type WorkerVariablesResponse = { __typename?: 'WorkerVariablesResponse'; error?: Maybe<Scalars['String']['output']>; /** * Variables that could not be resolved (left out of `vars`), one entry each, * with a reason that never contains a value. */ errors: Array<WorkflowVariableResolutionError>; /** Keys whose value is secret — the caller (fluidgrids-workers) uses this to scrub the values out of run log lines before they are ever persisted. */ secretKeys: Array<Scalars['String']['output']>; success: Scalars['Boolean']['output']; /** Flattened `{ key: value }` map, ready to use as `$vars`. */ vars: Scalars['JSON']['output']; }; export type WorkerWorkspaceRunConcurrency = { __typename?: 'WorkerWorkspaceRunConcurrency'; /** The plan's cap. Null unless source is PLAN. */ limit?: Maybe<Scalars['Int']['output']>; source: WorkerRunConcurrencySource; }; /** The strongest way the caller reaches a workflow (BOFF-9726). */ export declare enum WorkflowAccess { /** The caller administers the workspace's workflows. */ Administrator = "ADMINISTRATOR", /** Shared with the caller as an editor. */ Editor = "EDITOR", /** The caller owns it. */ Owner = "OWNER", /** Shared with the caller as a viewer: they can read it, not change or run it. */ Viewer = "VIEWER", /** Visible to the whole workspace; the workspace role decides. */ Workspace = "WORKSPACE" } /** Narrow the workflow list by how the caller reaches each workflow (BOFF-9726). */ export declare enum WorkflowAccessFilter { /** Every workflow the caller can see. */ All = "ALL", /** Workflows the caller owns. */ OwnedByMe = "OWNED_BY_ME", /** Someone else's workflows shared with the caller, directly or through a group or project. */ SharedWithMe = "SHARED_WITH_ME" } export type WorkflowActivityFailureInput = { category?: InputMaybe<Scalars['String']['input']>; details?: InputMaybe<Scalars['JSON']['input']>; errorType: ErrorType; message: Scalars['String']['input']; /** Overrides the retry policy's delay for the next attempt only. */ nextRetryDelayMs?: InputMaybe<Scalars['Int']['input']>; nonRetryable?: InputMaybe<Scalars['Boolean']['input']>; /** `node:<type>`, `sdk-ts` or `engine`. */ source: Scalars['String']['input']; stackTrace?: InputMaybe<Scalars['String']['input']>; /** The free-form application failure type (ApplicationError type). */ type?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowActivityHeartbeatAck = { __typename?: 'WorkflowActivityHeartbeatAck'; cancelRequested: Scalars['Boolean']['output']; pauseReason?: Maybe<Scalars['String']['output']>; /** Phase C (11 §2.28): the activity was paused; stop the attempt with ActivityPausedError. */ paused: Scalars['Boolean']['output']; }; /** The lease of one activity attempt. */ export type WorkflowActivityLease = { __typename?: 'WorkflowActivityLease'; accepted: Scalars['Boolean']['output']; activityId: Scalars['ID']['output']; /** Phase C (C-S3): the user activity's name (kind user); null for a node activity. */ activityName?: Maybe<Scalars['String']['output']>; args?: Maybe<Scalars['JSON']['output']>; /** * True only while fluidgrids.run-control is on for the workspace when the lease is granted: the * worker parks the attempt (workerParkActivityAsync) or runs internal:send-and-wait only then * (D-W1-16). False keeps the Phase B behaviour. */ asyncCompletionAllowed: Scalars['Boolean']['output']; attempt: Scalars['Int']['output']; /** * Phase C (C-H4): SYNC for an ordinary attempt; RESUMED for an attempt dispatched again to finish a * park (workerParkActivityAsync), whose `resume` carries what finishes it. */ completion: Scalars['String']['output']; /** The connection names the attempt may resolve with workerResolveActivityConnection (H2). */ connectionNames: Array<Scalars['String']['output']>; /** Resolved connections: [{ connectionId, adapter }]. */ connections?: Maybe<Scalars['JSON']['output']>; /** Interceptor headers the command carried (11 §2.10), an object of strings. */ headers?: Maybe<Scalars['JSON']['output']>; heartbeatDetails?: Maybe<Scalars['JSON']['output']>; heartbeatTimeoutMs?: Maybe<Scalars['Int']['output']>; /** The activity's info: { runId, workspaceId, workflowKey, version, activityId, activityName, attempt, taskQueue, scheduledAt, priority, ... }. */ info: Scalars['JSON']['output']; kind: Scalars['String']['output']; nodeType?: Maybe<Scalars['String']['output']>; nodeVersion?: Maybe<Scalars['String']['output']>; operation?: Maybe<Scalars['String']['output']>; /** * True while fluidgrids.durable-parity is on for the workspace (Phase B parity). The worker applies * the parity activity semantics (the code's $activity, thrown error fields, checkpoints, BENIGN) * only when it is true, so a Phase B activity behaves exactly as before with the flag off. */ parity: Scalars['Boolean']['output']; /** How the run's payloads are encoded: null (plain JSON), binary/encrypted or kms/envelope. */ payloadEncoding?: Maybe<Scalars['String']['output']>; /** TEST runs only: the pinned output of this activity (key act:<activityType>#<ordinal>). */ pinnedOutput?: Maybe<Scalars['JSON']['output']>; /** Why the lease was refused: NOT_FOUND, NOT_DURABLE, RUN_CLOSED, STALE_ATTEMPT, NOT_DUE, CANCELLED, NOT_ALLOWED. */ reason?: Maybe<Scalars['String']['output']>; /** RESUMED only: { kind, requestId, payload, state }: the park's kind and request, the answer, the parked state. */ resume?: Maybe<Scalars['JSON']['output']>; rootRunId: Scalars['ID']['output']; runId: Scalars['ID']['output']; runMode: RunMode; runOn?: Maybe<Scalars['String']['output']>; scheduleToCloseDeadline?: Maybe<Scalars['DateTime']['output']>; startToCloseTimeoutMs: Scalars['Int']['output']; /** The queue the attempt was dispatched on: a self-hosted queue for a user activity, `managed` otherwise. */ taskQueue: Scalars['String']['output']; /** The attempt's trace context (gap G20): its `fluidgrids.activity` span is the parent. Null when refused. */ traceContext?: Maybe<WorkflowTraceContext>; }; /** New options for activities; they apply from the next attempt. */ export type WorkflowActivityOptionsInput = { heartbeatTimeoutMs?: InputMaybe<Scalars['Int']['input']>; retry?: InputMaybe<WorkflowActivityRetryInput>; scheduleToCloseTimeoutMs?: InputMaybe<Scalars['Int']['input']>; scheduleToStartTimeoutMs?: InputMaybe<Scalars['Int']['input']>; startToCloseTimeoutMs?: InputMaybe<Scalars['Int']['input']>; }; /** A workspace rule that pauses matching durable activities when they are scheduled or retried. */ export type WorkflowActivityPauseRule = { __typename?: 'WorkflowActivityPauseRule'; /** Matches the node type an activity runs (or a user activity's name). */ activityType?: Maybe<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; /** The rule ends (and unpauses what it paused) at this time; null: until deleted. */ expiresAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; nodeType?: Maybe<Scalars['String']['output']>; reason: Scalars['String']['output']; workflowKey?: Maybe<Scalars['String']['output']>; }; /** A new pause rule: at least one of activityType, nodeType or workflowKey. */ export type WorkflowActivityPauseRuleInput = { activityType?: InputMaybe<Scalars['String']['input']>; expiresAt?: InputMaybe<Scalars['DateTime']['input']>; nodeType?: InputMaybe<Scalars['String']['input']>; reason: Scalars['String']['input']; workflowKey?: InputMaybe<Scalars['String']['input']>; }; /** A retry policy change (each field optional). */ export type WorkflowActivityRetryInput = { backoffMultiplier?: InputMaybe<Scalars['Float']['input']>; /** The longest delay, in milliseconds. */ maxDelay?: InputMaybe<Scalars['Int']['input']>; maxRetries?: InputMaybe<Scalars['Int']['input']>; nonRetryableErrorTypes?: InputMaybe<Array<Scalars['String']['input']>>; /** Milliseconds before the first retry. */ retryDelay?: InputMaybe<Scalars['Int']['input']>; retryOnErrorTypes?: InputMaybe<Array<ErrorType>>; }; /** Which activities of a run an operation acts on: exactly one of the three. */ export type WorkflowActivitySelectorInput = { activityId?: InputMaybe<Scalars['ID']['input']>; /** The node type the activities run. */ activityType?: InputMaybe<Scalars['String']['input']>; /** Every open activity of the run. */ all?: InputMaybe<Scalars['Boolean']['input']>; }; /** One approver's answer to an Approval ask (BOFF-9956). */ export declare enum WorkflowApprovalDecision { Approved = "APPROVED", /** Not answered (yet). Stays so when the ask was decided, timed out or withdrawn without them. */ Pending = "PENDING", Rejected = "REJECTED" } /** * One approver of an Approval ask made by "Send and Wait for Response" (BOFF-9956): who was asked, * how they came to be asked, and what they answered. */ export type WorkflowApprovalRecord = { __typename?: 'WorkflowApprovalRecord'; answeredAt?: Maybe<Scalars['DateTime']['output']>; /** The user asked. */ approverId: Scalars['String']['output']; /** The role the approver was asked through, when assignedVia is role. */ assignedFrom?: Maybe<Scalars['String']['output']>; /** user (named on the node), role (held one of the node's roles when it asked) or member (answered an ask open to the workspace). */ assignedVia: Scalars['String']['output']; /** The approver's note with their answer. */ comment?: Maybe<Scalars['String']['output']>; decision: WorkflowApprovalDecision; id: Scalars['ID']['output']; requestId: Scalars['ID']['output']; }; /** * A workspace's archive destination (Phase C, spec code-first 11 §2.26): an S3 bucket in your own AWS * account. The service assumes `roleArn` with the external id set to the workspace id, writes * `<prefix>/<yyyy>/<mm>/<dd>/<runId>/history.jsonl.gz`, `run.json` and `nodes.jsonl.gz` for each run * the retention purge is about to delete, and purges the run only once the write succeeded. A failing * destination keeps the purge waiting (and raises WORKFLOW_ARCHIVE_FAILED daily); after 30 days of * failures a run is purged anyway with the `workflow-run.archive-failed` audit event. */ export type WorkflowArchiveSettings = { __typename?: 'WorkflowArchiveSettings'; bucket: Scalars['String']['output']; /** Always `s3` in this release. */ destination: Scalars['String']['output']; enabled: Scalars['Boolean']['output']; /** Finished runs whose archive keeps failing, so their purge waits. */ failingRuns: Scalars['Int']['output']; /** When the oldest of those first failed (purged without an archive 30 days later). */ firstFailureAt?: Maybe<Scalars['DateTime']['output']>; /** Always `JSONL_GZIP` in this release. */ format: Scalars['String']['output']; /** False writes event types, sequences and times only (no payloads, inputs or outputs). */ includePayloads: Scalars['Boolean']['output']; /** The most recent failure. */ lastError?: Maybe<Scalars['String']['output']>; /** Object key prefix, without leading or trailing slashes; empty writes at the bucket root. */ prefix: Scalars['String']['output']; region: Scalars['String']['output']; /** The role in your account the service assumes (with the workspace id as its external id). */ roleArn: Scalars['String']['output']; }; /** * The archive destination to save (Phase C). Enabling it needs fluidgrids.run-archival and run * archival on the service, and the destination must accept a probe object written with your role; * disabling it never checks a flag. */ export type WorkflowArchiveSettingsInput = { bucket: Scalars['String']['input']; enabled: Scalars['Boolean']['input']; /** Default true. */ includePayloads?: InputMaybe<Scalars['Boolean']['input']>; prefix?: InputMaybe<Scalars['String']['input']>; region: Scalars['String']['input']; roleArn: Scalars['String']['input']; }; /** A failure reported for an activity from outside the run (asynchronous completion). */ export type WorkflowAsyncFailureInput = { details?: InputMaybe<Scalars['JSON']['input']>; errorType?: InputMaybe<ErrorType>; message: Scalars['String']['input']; nonRetryable?: InputMaybe<Scalars['Boolean']['input']>; /** The application failure type (an ApplicationError type). */ type?: InputMaybe<Scalars['String']['input']>; }; /** What a heartbeat of an asynchronously completed activity answers. */ export type WorkflowAsyncHeartbeatAck = { __typename?: 'WorkflowAsyncHeartbeatAck'; cancelRequested: Scalars['Boolean']['output']; pauseReason?: Maybe<Scalars['String']['output']>; paused: Scalars['Boolean']['output']; }; /** * How a workflow version was written (BOFF-3720). * DIRECT: a person, with their own sign-in. * AGENT: an app acting for the person with a delegated token, such as the AI assistant. * AI_PROPOSAL: a person approved a change the AI proposed (applyWorkflowProposal). * SERVICE: an app or service identity. * UNKNOWN: provenance was not verified or not recorded (older versions). */ export declare enum WorkflowAuthoringChannel { Agent = "AGENT", AiProposal = "AI_PROPOSAL", Direct = "DIRECT", Service = "SERVICE", Unknown = "UNKNOWN" } /** * How much an agent in the workflow may do on its own (BOFF-9955), chosen by the author in the * workflow's Settings (`definitionJson.config.autonomyLevel`). This release records the level and * audits every change; it does not change how agent tool calls are approved yet. */ export declare enum WorkflowAutonomyLevel { /** Suggest only: the agent proposes actions and runs none of them. */ L0 = "L0", /** Approve every action: every tool call waits for a person. */ L1 = "L1", /** Approve risky actions: only destructive or outbound tool calls wait for a person. */ L2 = "L2", /** Act within budget: tool calls run without approval, inside the run's AI budget. */ L3 = "L3" } /** A batch job. */ export type WorkflowBatchJob = { __typename?: 'WorkflowBatchJob'; cancelRequestedAt?: Maybe<Scalars['DateTime']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; /** True for a dryRun answer: nothing was stored or run, and `total` is what the job would select. */ dryRun: Scalars['Boolean']['output']; /** The first 1,000 runs that failed, with why. */ errors: Array<WorkflowBatchJobError>; failed: Scalars['Int']['output']; /** Why the whole job stopped (FAILED). */ failureMessage?: Maybe<Scalars['String']['output']>; /** The list filter the job selected with (null when it was given run ids). */ filter?: Maybe<Scalars['JSON']['output']>; /** `dry-run` for a dryRun answer, which is never stored. */ id: Scalars['ID']['output']; maxOperationsPerSecond: Scalars['Int']['output']; reason: Scalars['String']['output']; requestedBy: Scalars['String']['output']; /** Runs that closed (or changed closed status) after the snapshot, or that no longer exist. */ skipped: Scalars['Int']['output']; startedAt?: Maybe<Scalars['DateTime']['output']>; status: WorkflowBatchJobStatus; succeeded: Scalars['Int']['output']; /** Runs the job selected. */ total: Scalars['Int']['output']; type: WorkflowBatchOperationType; }; /** A run a batch job could not apply its operation to. */ export type WorkflowBatchJobError = { __typename?: 'WorkflowBatchJobError'; message: Scalars['String']['output']; runId: Scalars['ID']['output']; }; /** A page of batch jobs, newest first. */ export type WorkflowBatchJobPage = { __typename?: 'WorkflowBatchJobPage'; items: Array<WorkflowBatchJob>; /** Pass as `after` for the next page; null on the last page. */ nextCursor?: Maybe<Scalars['String']['output']>; }; /** The state of a batch job (Phase C, 11 §2.19). */ export declare enum WorkflowBatchJobStatus { Cancelled = "CANCELLED", Completed = "COMPLETED", /** The job stopped before its end (a flag was turned off); `failureMessage` says why. */ Failed = "FAILED", Pending = "PENDING", Running = "RUNNING" } /** What a batch job does to each run it selected (Phase C, spec code-first 11 §2.19). */ export declare enum WorkflowBatchOperationType { Cancel = "CANCEL", /** Write each run to the workspace's archive destination without purging it (startBatchExport). */ Export = "EXPORT", PauseActivity = "PAUSE_ACTIVITY", Reset = "RESET", ResetActivity = "RESET_ACTIVITY", Signal = "SIGNAL", Terminate = "TERMINATE", UnpauseActivity = "UNPAUSE_ACTIVITY", UpdateActivityOptions = "UPDATE_ACTIVITY_OPTIONS", /** Set or remove each run's versioning override. */ UpdateRunOptions = "UPDATE_RUN_OPTIONS" } /** What the operation of a batch job needs, by type. */ export type WorkflowBatchPayloadInput = { /** UPDATE_ACTIVITY_OPTIONS: the new options. */ activityOptions?: InputMaybe<WorkflowActivityOptionsInput>; /** UPDATE_RUN_OPTIONS: remove each run's versioning override instead. */ clearVersioningOverride?: InputMaybe<Scalars['Boolean']['input']>; /** RESET: re-apply the signals received after the reset point (default true). */ reapplySignals?: InputMaybe<Scalars['Boolean']['input']>; /** RESET: re-apply the updates accepted after the reset point (default true). */ reapplyUpdates?: InputMaybe<Scalars['Boolean']['input']>; /** UNPAUSE_ACTIVITY: restart the attempt count. */ resetAttempts?: InputMaybe<Scalars['Boolean']['input']>; /** UNPAUSE_ACTIVITY, RESET_ACTIVITY: drop the heartbeat details. */ resetHeartbeat?: InputMaybe<Scalars['Boolean']['input']>; /** RESET: where to reset each run. */ resetTo?: InputMaybe<WorkflowResetTargetInput>; /** PAUSE_ACTIVITY, UNPAUSE_ACTIVITY, RESET_ACTIVITY, UPDATE_ACTIVITY_OPTIONS: which activities of each run. */ selector?: InputMaybe<WorkflowActivitySelectorInput>; /** SIGNAL: the signal to send. */ signalName?: InputMaybe<Scalars['String']['input']>; /** SIGNAL: its payload. */ signalPayload?: InputMaybe<Scalars['JSON']['input']>; /** UPDATE_RUN_OPTIONS: the versioning override to set. */ versioningOverride?: InputMaybe<VersioningOverrideInput>; }; /** One input a called workflow declares on its Execute Workflow Trigger (BOFF-10831). */ export type WorkflowCallInputField = { __typename?: 'WorkflowCallInputField'; name: Scalars['String']['output']; required: Scalars['Boolean']['output']; /** string, number, boolean, object, array or any */ type: Scalars['String']['output']; }; /** * What a workflow declares about the data a Sub-workflow node must send it (BOFF-10831), * for the caller's "Workflow Inputs" mapping fields. */ export type WorkflowCallInputs = { __typename?: 'WorkflowCallInputs'; fields: Array<WorkflowCallInputField>; /** True when the workflow starts with an Execute Workflow Trigger. */ hasCallTrigger: Scalars['Boolean']['output']; /** passthrough (any data), fields or jsonExample */ inputSource: Scalars['String']['output']; /** Why the declared inputs cannot be read, such as a JSON example that is not an object. */ problem?: Maybe<Scalars['String']['output']>; /** The version a Sub-workflow node calling with the requested version would run. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** A connection slot of a connector operation. */ export type WorkflowCatalogCredentialAdapter = { __typename?: 'WorkflowCatalogCredentialAdapter'; name: Scalars['String']['output']; provider: Scalars['String']['output']; }; /** A configuration field of a catalog node operation. */ export type WorkflowCatalogField = { __typename?: 'WorkflowCatalogField'; choices?: Maybe<Array<Scalars['String']['output']>>; default?: Maybe<Scalars['JSON']['output']>; description?: Maybe<Scalars['String']['output']>; id: Scalars['String']['output']; required: Scalars['Boolean']['output']; type: Scalars['String']['output']; }; /** * A node AI authoring may place on a workflow: internal and trigger nodes plus * the connector registry nodes the workspace can see. The same catalog grounds * the workflow generator and the AI assistant. */ export type WorkflowCatalogNode = { __typename?: 'WorkflowCatalogNode'; category: Scalars['String']['output']; description: Scalars['String']['output']; dynamicHandlesFrom?: Maybe<Scalars['String']['output']>; extraHandles: Array<Scalars['String']['output']>; inputHandles: Array<Scalars['String']['output']>; /** False for a store node the workspace has not installed yet */ installed: Scalars['Boolean']['output']; kind: Array<Scalars['String']['output']>; name: Scalars['String']['output']; nodeType: Scalars['String']['output']; operations: Array<WorkflowCatalogOperation>; outputHandles: Array<Scalars['String']['output']>; /** trigger or action */ role: Scalars['String']['output']; /** trigger, internal or registry */ source: Scalars['String']['output']; version: Scalars['String']['output']; }; /** One operation of a catalog node. */ export type WorkflowCatalogOperation = { __typename?: 'WorkflowCatalogOperation'; /** Connection slots the operation declares; a workflow binds a connection to an adapter name */ credentialAdapters: Array<WorkflowCatalogCredentialAdapter>; /** Connection providers the operation needs (for example slack), empty for internal nodes */ credentialProviders: Array<Scalars['String']['output']>; description: Scalars['String']['output']; fields: Array<WorkflowCatalogField>; name: Scalars['String']['output']; /** The node's declared output fields (connector nodes), for expressions in later nodes */ outputFields?: Maybe<Scalars['JSON']['output']>; type: Scalars['String']['output']; }; /** * A download of a version's whole source archive (Phase D D4): the gzipped JSON archive the bundle * was built from, with its project files, vendored packages, lockfile and, for bundles pushed with * SDK R2 or later, the source map (`map`). The replay debugger rebuilds the bundle from it and * refuses when the rebuilt `buildId` differs. */ export type WorkflowCodeArchive = { __typename?: 'WorkflowCodeArchive'; buildId: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; /** The `@fluidgrids/workflows` version that built the bundle. */ sdkVersion: Scalars['String']['output']; /** The archive's sourceHash (for a Python bundle, the SDK source hash of its files). */ sourceHash: Scalars['String']['output']; /** A presigned GET of the archive, valid until `expiresAt` (at most 15 minutes). */ url: Scalars['String']['output']; }; /** One build finding. `line` and `column` are 1-based when known. */ export type WorkflowCodeBuildDiagnostic = { __typename?: 'WorkflowCodeBuildDiagnostic'; code?: Maybe<Scalars['String']['output']>; column?: Maybe<Scalars['Int']['output']>; line?: Maybe<Scalars['Int']['output']>; message: Scalars['String']['output']; path?: Maybe<Scalars['String']['output']>; /** error or warning. */ severity: Scalars['String']['output']; }; export type WorkflowCodeBuildResult = { __typename?: 'WorkflowCodeBuildResult'; buildId?: Maybe<Scalars['String']['output']>; diagnostics: Array<WorkflowCodeBuildDiagnostic>; exports?: Maybe<Scalars['JSON']['output']>; sdkVersion: Scalars['String']['output']; /** No error diagnostic. With commit, the version was created. */ success: Scalars['Boolean']['output']; /** The version created by a commit. */ version?: Maybe<Scalars['String']['output']>; }; /** A stored code bundle. */ export type WorkflowCodeBundle = { __typename?: 'WorkflowCodeBundle'; buildId: Scalars['String']['output']; bundleBytes: Scalars['Int']['output']; /** Builds whose histories this bundle replays (replaced by a hotfix). */ compatibleBuildIds: Array<Scalars['String']['output']>; createdAt: Scalars['DateTime']['output']; determinism: Scalars['String']['output']; entry: Scalars['String']['output']; exports: Scalars['JSON']['output']; id: Scalars['ID']['output']; language: Scalars['String']['output']; /** Set when a hotfix replaced this bundle. */ replacedAt?: Maybe<Scalars['DateTime']['output']>; sdkVersion: Scalars['String']['output']; /** Bytes of the gzipped source archive; null when none was stored. */ sourceBytes?: Maybe<Scalars['Int']['output']>; }; /** A presigned download of a code bundle. */ export type WorkflowCodeBundleAccess = { __typename?: 'WorkflowCodeBundleAccess'; /** `sha256:<hex>` of the bundle. */ buildId: Scalars['String']['output']; bytes: Scalars['Int']['output']; /** `isolate` (TypeScript, any queue) or `worker` (Python: the managed VM pool or a self-hosted worker). */ determinism: Scalars['String']['output']; entry: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; /** Phase C (C-LEASE): `typescript` or `python`; a worker picks its runtime from it (DCP8). */ language: Scalars['String']['output']; /** Phase C (C-LEASE): the SDK version that built the bundle; the managed Python pool key carries it. */ sdkVersion: Scalars['String']['output']; /** Presigned GET, valid for at most 15 minutes. */ url: Scalars['String']['output']; }; /** * What a generation should emit. CANVAS is the builder definition only. TYPESCRIPT and PYTHON also * lift the validated draft to a tier-1 module (`WorkflowDraft.code`, `WorkflowProposal.code`) and * need the `fluidgrids.code-first` and `fluidgrids.ai-code` features, checked before any model call. */ export declare enum WorkflowCodeOutput { Canvas = "CANVAS", Python = "PYTHON", Typescript = "TYPESCRIPT" } /** * A presigned PUT. Send the body with exactly `headers` (they are signed: the length, the content * type and, for a bundle, its SHA-256), before `expiresAt`. When `alreadyStored` is true the object * is already in place and nothing needs to be sent (`url` is empty). */ export type WorkflowCodePresignedPut = { __typename?: 'WorkflowCodePresignedPut'; alreadyStored: Scalars['Boolean']['output']; expiresAt: Scalars['DateTime']['output']; headers: Scalars['JSON']['output']; method: Scalars['String']['output']; url: Scalars['String']['output']; }; /** A hotfix job (spec code-first 06 §4). Poll it with workflowCodeReplace until REPLACED or REJECTED. */ export type WorkflowCodeReplaceResult = { __typename?: 'WorkflowCodeReplaceResult'; buildId: Scalars['String']['output']; /** ACTIVATION: the activation was forced past the check (audited). */ force: Scalars['Boolean']['output']; id: Scalars['ID']['output']; /** HOTFIX, or a versioning check (ACTIVATION, RUN_OVERRIDE, ROLLOUT; parity, spec code-first 11 §2.27). */ kind: CodeReplaceKind; previousBuildId: Scalars['String']['output']; /** RUN_OVERRIDE: the run checked. */ runId?: Maybe<Scalars['ID']['output']>; status: CodeReplaceStatus; /** ACTIVATION: the version activated once the check passes; RUN_OVERRIDE: the version the run moves to; ROLLOUT: the rollout's target. */ targetVersion?: Maybe<Scalars['String']['output']>; /** Runs replayed against the new bundle so far. */ verifiedRuns: Scalars['Int']['output']; violations: Array<WorkflowCodeReplaceViolation>; }; export type WorkflowCodeReplaceViolation = { __typename?: 'WorkflowCodeReplaceViolation'; message: Scalars['String']['output']; runId: Scalars['ID']['output']; /** The history position the replay diverged at, when known. */ seq?: Maybe<Scalars['Int']['output']>; }; /** The project files a bundle was built from (vendored packages and the lockfile are not included). */ export type WorkflowCodeSource = { __typename?: 'WorkflowCodeSource'; buildId: Scalars['String']['output']; files: Array<WorkflowCodeSourceFile>; sourceHash?: Maybe<Scalars['String']['output']>; }; export type WorkflowCodeSourceFile = { __typename?: 'WorkflowCodeSourceFile'; content: Scalars['String']['output']; path: Scalars['String']['output']; }; /** An upload ticket: one createWorkflowVersion, importWorkflow or replaceWorkflowVersionCode consumes it. */ export type WorkflowCodeUploadTicket = { __typename?: 'WorkflowCodeUploadTicket'; bundle: WorkflowCodePresignedPut; /** Null when no source archive was declared. */ source?: Maybe<WorkflowCodePresignedPut>; uploadId: Scalars['ID']['output']; }; /** * WorkflowDefinition: Reusable workflow template with versioning * Federated entity identified by id */ export type WorkflowDefinition = { __typename?: 'WorkflowDefinition'; /** The newest activation check of this version, if it ever needed one. Durable-function parity. */ activationCheck?: Maybe<WorkflowCodeReplaceResult>; /** True when an AI wrote this version: an applied AI proposal or an agent acting for the person. */ aiAuthored: Scalars['Boolean']['output']; /** True when the last in-place edit of this version was written by an AI. */ aiEdited: Scalars['Boolean']['output']; alias?: Maybe<Scalars['String']['output']>; /** How the definition was authored (`definitionJson.authoring.mode`: canvas, code or hybrid); null when unrecorded. */ authoringMode?: Maybe<Scalars['String']['output']>; /** * The autonomy level the author chose in the workflow's Settings (BOFF-9955), or null when none was * chosen. Set it through `definitionJson.config.autonomyLevel` when saving. Recorded and audited; * not enforced on agent tool calls yet. */ autonomyLevel?: Maybe<WorkflowAutonomyLevel>; category?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; /** * How this version was written. Versions saved before provenance was recorded * read as UNKNOWN. */ createdVia: WorkflowAuthoringChannel; /** * The proposal this version was applied from (createdVia AI_PROPOSAL), or the * app that wrote it on the person's behalf (createdVia AGENT), when known. */ createdViaRef?: Maybe<Scalars['String']['output']>; definitionJson: Scalars['JSON']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; /** * Who decides the steps of this version's runs (BOFF-9955), derived from its nodes on every save. * See WorkflowExecutionMode. */ executionMode: WorkflowExecutionMode; /** Nested folder placement (BOFF-7518). */ folderId?: Maybe<Scalars['String']['output']>; icon?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** * `sha256:<hex>` over the normalised definition with literal secrets masked and the `authoring` * block left out. Two versions with the same irHash describe the same workflow, however they * were authored (canvas, TypeScript, Python). */ irHash: Scalars['String']['output']; /** Computed field: true if status is ACTIVE */ isActive: Scalars['Boolean']['output']; /** How the caller reaches this workflow; null for services and apps. */ myAccess?: Maybe<WorkflowAccess>; name: Scalars['String']['output']; /** * Manifests of the node types this version uses, each at the version the builder * palette offers (the newest AVAILABLE one this workspace can use), in the shape * `nodeManifest` returns. Node types the registry does not know are left out. * Lets the builder draw its canvas from the response that carries the workflow * (BOFF-10387). */ nodeManifests: Array<Scalars['JSON']['output']>; /** Stable references for the nodes used by this workflow version */ nodeReferences: Array<WorkflowNodeReference>; /** The workflow's owner, the same on every version: whose connection access its runs use. */ ownerId?: Maybe<Scalars['String']['output']>; /** * Pinned/mock output data, keyed by nodeId (BOFF-7511). Mirrors * `definitionJson.pinnedData` as a typed convenience field so the builder * doesn't need to reach into the raw definition blob. Each value is * `{ data, pinnedAt, pinnedBy }`. Honored ONLY by TEST-mode runs — see * `TriggerWorkflowInput.mode` / `RunMode`. */ pinnedNodeData: Scalars['JSON']['output']; productId?: Maybe<Scalars['String']['output']>; projectId?: Maybe<Scalars['String']['output']>; /** * Optimistic-concurrency counter (BOFF-9725). Raised whenever what a builder * edits changes (this version's canvas, name, description or alias) and when * its status changes or it is deleted. The settings-page `config`, pinned data, * tags, icon, category, context and the version label do not raise it, so * editing them never turns an open builder's save into a conflict; those fields * keep the last value written. Send it back as `expectedRevision` when saving. */ revision: Scalars['Int']['output']; runs: Array<WorkflowRun>; /** * Workflow IR schema version of this definition (code-first workflows, BOFF-9904): 1 when it uses * no version-2 field (every canvas workflow saved before code-first), 2 otherwise. */ schemaVersion: Scalars['Int']['output']; status: WorkflowStatus; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<FluidgridsTagAssignment>; tags: Array<Scalars['String']['output']>; /** Universal entity-owned tags (marqueue §251). JSON array of `{key, value, ...}`. */ tagsV2: Scalars['JSON']['output']; tenantId?: Maybe<Scalars['String']['output']>; /** Total number of versions for this workflowKey (computed, not stored) */ totalVersions?: Maybe<Scalars['Int']['output']>; updatedAt: Scalars['DateTime']['output']; /** Who last changed this version, when known. */ updatedById?: Maybe<Scalars['String']['output']>; /** How the last in-place edit of this version was written; null when it was never edited. */ updatedVia?: Maybe<WorkflowAuthoringChannel>; /** * Non-blocking authoring warnings for this version, computed from its * definition (for example an AI node whose system message is built from run * data). Read it from the save mutation's result to show warnings at save time. */ validationWarnings: Array<Scalars['String']['output']>; version: Scalars['String']['output']; /** * PINNED, or AUTO_UPGRADE when the version's code declares `versioningBehavior: 'AUTO_UPGRADE'` * (its `config`, or any exported workflow function's). It is part of the definition: changing it * stores a new version. Durable-function parity. */ versioningBehavior: VersioningBehavior; visibility: WorkflowVisibility; workflowKey: Scalars['String']['output']; workspaceId?: Maybe<Scalars['String']['output']>; }; /** * WorkflowDefinition: Reusable workflow template with versioning * Federated entity identified by id */ export type WorkflowDefinitionRunsArgs = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; }; /** Workflow list response with pagination */ export type WorkflowDefinitionListResponse = { __typename?: 'WorkflowDefinitionListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<WorkflowDefinition>; total: Scalars['Int']['output']; }; export declare enum WorkflowDiffKind { Added = "ADDED", Changed = "CHANGED", Removed = "REMOVED" } /** * A generated workflow draft. `definitionJson` is in the exact format the builder * saves, so it can be loaded onto the canvas, saved as a new workflow * (`createWorkflowDefinition`) or as a new version (`createWorkflowVersion`). */ export type WorkflowDraft = { __typename?: 'WorkflowDraft'; /** * The draft lifted to code (Generate with AI emits code). The model never writes code: the * service lifts the validated definition, so the files always lower back to it and the fidelity * report proves it. `format` defaults to the generation's `output`; the field is null for a * CANVAS generation asked without a format. TYPESCRIPT and PYTHON only. Needs the * `fluidgrids.code-first` and `fluidgrids.ai-code` features; computed on each read, never stored. */ code?: Maybe<WorkflowDraftCode>; definitionJson: Scalars['JSON']['output']; description: Scalars['String']['output']; edgeCount: Scalars['Int']['output']; explanation?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; nodeCount: Scalars['Int']['output']; /** Short questions about details the request left open. The draft already uses sensible defaults; answering a question and regenerating refines it. Empty when nothing was unclear. */ questions: Array<Scalars['String']['output']>; }; /** * A generated workflow draft. `definitionJson` is in the exact format the builder * saves, so it can be loaded onto the canvas, saved as a new workflow * (`createWorkflowDefinition`) or as a new version (`createWorkflowVersion`). */ export type WorkflowDraftCodeArgs = { format?: InputMaybe<WorkflowExportFormat>; }; /** * A generated draft or proposal lifted to code: the project files, the fidelity report and the * irHash of the definition the files describe. Importing the files with importWorkflow(source) * yields the same irHash. */ export type WorkflowDraftCode = { __typename?: 'WorkflowDraftCode'; fidelity: FidelityReport; files: Array<ExportedFile>; format: WorkflowExportFormat; irHash: Scalars['String']['output']; }; /** * Who is editing a workflow in the builder. One session (a browser page load) at * a time holds a workflow's edit lease; everyone else gets a read-only view until * they take it over. The lease lapses unless renewed. */ export type WorkflowEditLease = { __typename?: 'WorkflowEditLease'; /** When the holder took the lease. */ acquiredAt?: Maybe<Scalars['DateTime']['output']>; /** * False when the lease store could not be reached. Editing is then not * coordinated, and saves are still protected by revision checks. */ available: Scalars['Boolean']['output']; /** When the lease lapses unless it is renewed. */ expiresAt?: Maybe<Scalars['DateTime']['output']>; /** True while some session holds the lease. */ held: Scalars['Boolean']['output']; /** True when the caller holds the lease, in this session or another one (another tab or window). */ heldByCaller: Scalars['Boolean']['output']; /** True when the session named in the request holds the lease. */ heldBySelf: Scalars['Boolean']['output']; /** The actor holding the lease. */ holderActorId?: Maybe<Scalars['String']['output']>; /** The version the holder has open. */ holderVersion?: Maybe<Scalars['String']['output']>; /** After a take-over: who held the lease before, when that was another session. */ previousHolderActorId?: Maybe<Scalars['String']['output']>; workflowKey: Scalars['String']['output']; }; /** A builder session asking for a workflow's edit lease. */ export type WorkflowEditLeaseInput = { /** The caller's session from before a page reload, so the reloaded page gets its lease back. */ resumeSessionId?: InputMaybe<Scalars['String']['input']>; /** * This page's call number, starting at 1 and higher on every lease call it sends (a fencing * token per session). After a numbered release, an acquire, renewal or take-over of the same * session numbered at or below it changes nothing, so a call the release overtook cannot take * the lease back for a closed page. Optional: calls without it behave as before. */ sequence?: InputMaybe<Scalars['Int']['input']>; /** The calling page load's session id: 8 to 64 letters, digits, '-' or '_'. */ sessionId: Scalars['String']['input']; /** The version the caller has open. */ version?: InputMaybe<Scalars['String']['input']>; workflowKey: Scalars['String']['input']; }; export type WorkflowEntitySearchCapability = { __typename?: 'WorkflowEntitySearchCapability'; description: Scalars['String']['output']; displayName: Scalars['String']['output']; entityType: Scalars['String']['output']; searchableFields: Array<Scalars['String']['output']>; supportedFilters: Array<Scalars['String']['output']>; }; export declare enum WorkflowEnvironment { Dev = "DEV", Prod = "PROD", Staging = "STAGING" } /** Workspace promotion rules. A workspace that never saved a policy uses the defaults. */ export type WorkflowEnvironmentPolicy = { __typename?: 'WorkflowEnvironmentPolicy'; /** The requester may approve their own promotion. Default false (a second person must approve). */ allowSelfApproval: Scalars['Boolean']['output']; /** False until an admin saves the policy: the values are the defaults. */ customized: Scalars['Boolean']['output']; /** * Direct activate/publish is refused, so PROD only changes through an approved * promotion. Default false. */ lockDirectActivation: Scalars['Boolean']['output']; /** Promotions into PROD wait for an approver. Default true. */ requireProdApproval: Scalars['Boolean']['output']; /** * A version activated for PROD may name only self-hosted task queues that have a PROD-scoped * queue (Phase C, CWD16). Default false. */ requireScopedQueuesForProd: Scalars['Boolean']['output']; /** Promotions into STAGING wait for an approver. Default false. */ requireStagingApproval: Scalars['Boolean']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; }; /** What is deployed to one environment of a workflow. */ export type WorkflowEnvironmentState = { __typename?: 'WorkflowEnvironmentState'; /** False when the deployed version has since been deleted. */ available: Scalars['Boolean']['output']; deployedAt?: Maybe<Scalars['DateTime']['output']>; deployedById?: Maybe<Scalars['String']['output']>; environment: WorkflowEnvironment; /** Commit in the linked Git repository that holds this deployment (BOFF-9673); null when none was made. */ gitCommitSha?: Maybe<Scalars['String']['output']>; /** * PROD only: true when the ACTIVE version was activated directly rather than * through a promotion, so there is no promotion record for it. */ outOfBand: Scalars['Boolean']['output']; /** Environment the version was promoted from; null for a direct DEV deploy or an out-of-band activation. */ promotedFrom?: Maybe<WorkflowEnvironment>; promotionRequestId?: Maybe<Scalars['ID']['output']>; /** Deployed version; null when nothing is deployed to this environment. */ version?: Maybe<Scalars['String']['output']>; /** Deployed WorkflowDefinition id; null when nothing is deployed. */ workflowDefinitionId?: Maybe<Scalars['ID']['output']>; }; /** The environment view of one workflow. */ export type WorkflowEnvironments = { __typename?: 'WorkflowEnvironments'; /** Always DEV, STAGING and PROD, in that order. */ environments: Array<WorkflowEnvironmentState>; pendingPromotions: Array<WorkflowPromotionRequest>; policy: WorkflowEnvironmentPolicy; workflowKey: Scalars['String']['output']; }; /** * WorkflowExecutionLog: Detailed execution logs for debugging * Note: Consider using tenantmodule-activity for production */ export type WorkflowExecutionLog = { __typename?: 'WorkflowExecutionLog'; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; level: Scalars['String']['output']; message: Scalars['String']['output']; nodeStateId?: Maybe<Scalars['String']['output']>; runId: Scalars['String']['output']; }; /** Workflow execution metrics */ export type WorkflowExecutionMetrics = { __typename?: 'WorkflowExecutionMetrics'; averageDurationSeconds: Scalars['Float']['output']; cancelledRuns: Scalars['Int']['output']; failedRuns: Scalars['Int']['output']; maxDurationSeconds?: Maybe<Scalars['Float']['output']>; medianDurationSeconds?: Maybe<Scalars['Float']['output']>; minDurationSeconds?: Maybe<Scalars['Float']['output']>; successfulRuns: Scalars['Int']['output']; totalDurationSeconds: Scalars['Float']['output']; totalRuns: Scalars['Int']['output']; }; /** * Who decides the steps of a workflow version's runs (BOFF-9955). The service derives it from the * version's nodes on every save; it cannot be set. * * Agent nodes are the AI Agent (`store/ai-agent`) and the Coding Agent (`internal:coding-agent`): a * model chooses their steps while the run is going. Triggers, sub-nodes wired to a parent's adapter * port (Chat Model, Memory, Tool, ...) and nodes that do nothing (No Operation) are not counted as * steps. LLM Chain and other single model calls are fixed steps. */ export declare enum WorkflowExecutionMode { /** Apart from triggers, the steps are agent nodes only. */ Agentic = "AGENTIC", /** No agent node: the author fixed every step. */ Deterministic = "DETERMINISTIC", /** Agent nodes and steps the author fixed. */ Hybrid = "HYBRID" } /** A workspace's defaults for the data of finished runs. */ export type WorkflowExecutionSettings = { __typename?: 'WorkflowExecutionSettings'; /** * Where finished runs are archived before the retention purge (Phase C, 11 §2.26). Null: no * archive destination. */ archive?: Maybe<WorkflowArchiveSettings>; /** Whether the browser sends its own credentials to the codec server; no platform token ever goes there (CWD13). */ codecServerIncludeCredentials: Scalars['Boolean']['output']; /** * The codec server the run page decodes payloads a self-hosted worker encoded with (Phase C, 11 * §2.9): https, or http to localhost for development. Null: such payloads show as encoded. */ codecServerUrl?: Maybe<Scalars['String']['output']>; /** False until someone saves the settings: the values are the defaults. */ customized: Scalars['Boolean']['output']; /** The inline byte cap of new durable-function runs (parity); null means the plan ceiling. */ maxHistoryBytes?: Maybe<Scalars['Float']['output']>; /** * The event cap of new durable-function runs (parity, spec code-first 11 §2.15); null means the * plan ceiling. Runs keep the cap they were created with. */ maxHistoryEvents?: Maybe<Scalars['Int']['output']>; /** Delete finished runs older than this many days (1-3650, default 30). */ retentionDays: Scalars['Int']['output']; /** Keep at most this many finished runs per workflow; older ones are deleted (1-1000000, default 10000). */ retentionMaxRunsPerWorkflow: Scalars['Int']['output']; /** Keep the data of runs that failed, were cancelled or terminated. Default true. */ saveFailedRuns: Scalars['Boolean']['output']; /** Keep the data of manual test runs from the editor. Default true. */ saveManualRuns: Scalars['Boolean']['output']; /** Keep the data (trigger data, node inputs and outputs, logs) of runs that succeeded. Default true. */ saveSuccessfulRuns: Scalars['Boolean']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; }; /** * Portable workflow document returned by exportWorkflow. The envelope fields (format through * nodeReferences) are the document as it is committed to Git; `files`, `exportFormat`, `fidelity` * and `irHash` describe the export in the requested format. */ export type WorkflowExport = { __typename?: 'WorkflowExport'; category?: Maybe<Scalars['String']['output']>; context?: Maybe<Scalars['JSON']['output']>; definitionJson: Scalars['JSON']['output']; description?: Maybe<Scalars['String']['output']>; /** The format of `files` (the `format` argument). `format` above stays the envelope marker `fluidgrids.workflow`. */ exportFormat: WorkflowExportFormat; exportedAt: Scalars['DateTime']['output']; /** Whether lowering the exported files reproduces the definition, computed by actually lowering them. */ fidelity: FidelityReport; /** * The exported files. JSON: `workflows/<key>.json` holding the envelope (with `exportedAt` pinned * to the version's creation time, so repeated exports are identical). TYPESCRIPT and PYTHON: the * tier-1 module, the layout sidecar and, when nodes have typed clients, `.fluidgrids/nodes.*`. */ files: Array<ExportedFile>; format: Scalars['String']['output']; icon?: Maybe<Scalars['String']['output']>; /** `irHash` of the exported definition. */ irHash: Scalars['String']['output']; name: Scalars['String']['output']; nodeReferences: Array<WorkflowNodeReference>; schemaVersion: Scalars['Int']['output']; tags: Array<Scalars['String']['output']>; tagsV2: Scalars['JSON']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** * Formats a workflow can be exported in. BUNDLE (a project tarball) and YAML (a read-only * rendering) are reserved and refused until they ship. */ export declare enum WorkflowExportFormat { Bundle = "BUNDLE", Json = "JSON", Python = "PYTHON", Typescript = "TYPESCRIPT", Yaml = "YAML" } export type WorkflowFilterCapability = { __typename?: 'WorkflowFilterCapability'; dataType: WorkflowFilterDataType; description: Scalars['String']['output']; displayName: Scalars['String']['output']; entityTypes: Array<Scalars['String']['output']>; enumValues?: Maybe<Array<Scalars['String']['output']>>; name: Scalars['String']['output']; supportedOperators: Array<WorkflowFilterOperator>; }; export declare enum WorkflowFilterDataType { Array = "ARRAY", Boolean = "BOOLEAN", Date = "DATE", Datetime = "DATETIME", Enum = "ENUM", Number = "NUMBER", Object = "OBJECT", String = "STRING" } export declare enum WorkflowFilterOperator { Between = "BETWEEN", Contains = "CONTAINS", Equals = "EQUALS", GreaterThan = "GREATER_THAN", In = "IN", IsNotNull = "IS_NOT_NULL", IsNull = "IS_NULL", LessThan = "LESS_THAN" } /** * A folder in the nested workflow organization tree. Scoped to one workspace+product; * `parentId` nests it under another folder in the same workspace+product. */ export type WorkflowFolder = { __typename?: 'WorkflowFolder'; /** Direct child folders, for building the tree without N+1 queries per level. */ children: Array<WorkflowFolder>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; parentId?: Maybe<Scalars['ID']['output']>; productId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; /** Workflows directly in this folder (not counting subfolders). */ workflowCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; /** * A natural-language workflow generation request and, once finished, its draft. * Stored in prompt history under the category `workflow-generation`. */ export type WorkflowGeneration = { __typename?: 'WorkflowGeneration'; attempts: Scalars['Int']['output']; createdAt: Scalars['DateTime']['output']; draft?: Maybe<WorkflowDraft>; id: Scalars['ID']['output']; message?: Maybe<Scalars['String']['output']>; modelUsed?: Maybe<Scalars['String']['output']>; prompt: Scalars['String']['output']; status: WorkflowGenerationStatus; template?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; validation?: Maybe<WorkflowGenerationValidation>; workflowId?: Maybe<Scalars['String']['output']>; }; /** * Lifecycle of a natural-language workflow generation. Generation runs in the * background (an LLM call can outlast the gateway's request deadline), so the * mutation returns PROCESSING and the client polls `workflowGeneration(id)`. */ export declare enum WorkflowGenerationStatus { /** Stopped with cancelWorkflowGeneration before a draft was produced */ Cancelled = "CANCELLED", Completed = "COMPLETED", Failed = "FAILED", Processing = "PROCESSING", /** The assistant refused the request as harmful (BOFF-10032); no draft was produced and none was charged. The message says why in neutral terms. */ Refused = "REFUSED" } /** A starting pattern that steers generation (webhook processing, scheduled job, ...). */ export type WorkflowGenerationTemplate = { __typename?: 'WorkflowGenerationTemplate'; description: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** * Result of validating a generated draft with the service's structural rules and * the builder's flow rules. Errors block acceptance; warnings list settings the * user still has to fill in (for example an API URL or a credential). */ export type WorkflowGenerationValidation = { __typename?: 'WorkflowGenerationValidation'; errors: Array<Scalars['String']['output']>; valid: Scalars['Boolean']['output']; warnings: Array<Scalars['String']['output']>; }; /** A commit that touched a workflow's file on the linked branch. */ export type WorkflowGitCommit = { __typename?: 'WorkflowGitCommit'; authorName?: Maybe<Scalars['String']['output']>; authoredAt?: Maybe<Scalars['DateTime']['output']>; environment?: Maybe<WorkflowEnvironment>; message: Scalars['String']['output']; sha: Scalars['String']['output']; url?: Maybe<Scalars['String']['output']>; /** The version pushed in this commit when it was pushed from FluidGrids. */ version?: Maybe<Scalars['String']['output']>; }; /** Deterministic JSON diff between the workflow file at a commit (before) and a version (after). */ export type WorkflowGitDiff = { __typename?: 'WorkflowGitDiff'; commitSha: Scalars['String']['output']; entries: Array<WorkflowVersionDiffEntry>; truncated: Scalars['Boolean']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export declare enum WorkflowGitProvider { /** Azure DevOps Services, dev.azure.com (integrations provider key azure-devops). */ AzureDevops = "AZURE_DEVOPS", /** github.com (integrations provider key github). */ Github = "GITHUB", /** gitlab.com or an allow-listed self-managed instance (integrations provider key gitlab). */ Gitlab = "GITLAB" } /** One attempt to commit a workflow version. */ export type WorkflowGitPush = { __typename?: 'WorkflowGitPush'; branch: Scalars['String']['output']; commitSha?: Maybe<Scalars['String']['output']>; commitUrl?: Maybe<Scalars['String']['output']>; environment?: Maybe<WorkflowEnvironment>; errorMessage?: Maybe<Scalars['String']['output']>; filePath: Scalars['String']['output']; id: Scalars['ID']['output']; promotionRequestId?: Maybe<Scalars['ID']['output']>; pushedAt: Scalars['DateTime']['output']; pushedById: Scalars['String']['output']; repository: Scalars['String']['output']; status: WorkflowGitPushStatus; trigger: WorkflowGitPushTrigger; version: Scalars['String']['output']; workflowDefinitionId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; }; export declare enum WorkflowGitPushStatus { /** The push failed; see errorMessage. The deploy that caused it still applied. */ Failed = "FAILED", /** A new commit was made. */ Pushed = "PUSHED", /** The file already held this version; no commit was needed. */ Unchanged = "UNCHANGED" } export declare enum WorkflowGitPushTrigger { /** Pushed after a direct publish/activation. */ Activation = "ACTIVATION", /** Pushed from the builder or the API. */ Manual = "MANUAL", /** Pushed after a promotion applied to STAGING or PROD. */ Promotion = "PROMOTION" } /** The repository a workspace keeps its workflows in. */ export type WorkflowGitRepository = { __typename?: 'WorkflowGitRepository'; /** Instance URL of a self-managed GitLab; null for the provider's public cloud. */ baseUrl?: Maybe<Scalars['String']['output']>; branch: Scalars['String']['output']; /** The wspace-integrations-svc connection whose token is used. */ connectionId: Scalars['ID']['output']; id: Scalars['ID']['output']; /** When access to the branch was last proven (at link time). */ lastVerifiedAt?: Maybe<Scalars['DateTime']['output']>; linkedById: Scalars['String']['output']; /** Folder inside the repository (empty for the root). */ pathPrefix: Scalars['String']['output']; provider: WorkflowGitProvider; pushOnActivation: Scalars['Boolean']['output']; pushOnPromotion: Scalars['Boolean']['output']; /** owner/name (GitHub), group[/subgroup]/project (GitLab) or organization/project/repository (Azure DevOps). */ repository: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; export type WorkflowHumanFormField = { __typename?: 'WorkflowHumanFormField'; label?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; options?: Maybe<Array<Scalars['String']['output']>>; placeholder?: Maybe<Scalars['String']['output']>; required: Scalars['Boolean']['output']; type?: Maybe<Scalars['String']['output']>; }; /** One ask a workflow made of a person, and its answer once there is one. */ export type WorkflowHumanRequest = { __typename?: 'WorkflowHumanRequest'; /** single (Approve only) or double (Approve and Decline). */ approvalType: Scalars['String']['output']; /** * The approvers and their answers, in the order they were asked. Empty when the ask named nobody * and nobody has answered it in-app yet. */ approvals: Array<WorkflowApprovalRecord>; approveLabel: Scalars['String']['output']; /** Whether the caller may answer this ask in-app. */ canRespond: Scalars['Boolean']['output']; /** EMAIL, SLACK or IN_APP. */ channel: Scalars['String']['output']; createdAt: Scalars['DateTime']['output']; /** approved, declined, responded or timedOut. */ decision?: Maybe<Scalars['String']['output']>; declineLabel: Scalars['String']['output']; expiresAt?: Maybe<Scalars['DateTime']['output']>; fields: Array<WorkflowHumanFormField>; id: Scalars['ID']['output']; message: Scalars['String']['output']; /** The caller's own answer when they are one of the approvers (PENDING until they answer); null otherwise. */ myDecision?: Maybe<WorkflowApprovalDecision>; nodeId: Scalars['String']['output']; /** * Set when the ask is an action-policy approval (BOFF-9963). Those are decided through * decideActionPolicyApproval, which needs workflow publish rights, never through * respondToWorkflowHumanRequest. */ policyDecisionId?: Maybe<Scalars['ID']['output']>; /** * In-app approvals (BOFF-9956): any (the first answer decides), all (everyone must approve), or * count (requiredApprovals of the approvers must approve). Null for other asks. */ quorum?: Maybe<Scalars['String']['output']>; /** Who was asked: an address, a channel id, or user ids. */ recipient?: Maybe<Scalars['String']['output']>; /** Approvals needed to approve, for an in-app approval. */ requiredApprovals?: Maybe<Scalars['Int']['output']>; respondedAt?: Maybe<Scalars['DateTime']['output']>; respondedBy?: Maybe<Scalars['String']['output']>; /** link, in_app or timer. */ respondedVia?: Maybe<Scalars['String']['output']>; /** The answer that became the node output. */ response?: Maybe<Scalars['JSON']['output']>; responseType: WorkflowHumanResponseType; runId: Scalars['ID']['output']; status: WorkflowHumanRequestStatus; submitLabel: Scalars['String']['output']; title: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export type WorkflowHumanRequestPage = { __typename?: 'WorkflowHumanRequestPage'; items: Array<WorkflowHumanRequest>; totalCount: Scalars['Int']['output']; }; export declare enum WorkflowHumanRequestStatus { Cancelled = "CANCELLED", Pending = "PENDING", Responded = "RESPONDED", TimedOut = "TIMED_OUT" } export declare enum WorkflowHumanResponseType { Approval = "APPROVAL", CustomForm = "CUSTOM_FORM", FreeText = "FREE_TEXT" } /** * What a start with a workflow id does when a run with the id is still open (spec code-first 11 * §2.1). Durable-function parity: needs fluidgrids.durable-parity. */ export declare enum WorkflowIdConflictPolicy { /** Refuse the start with CONFLICT (reason WORKFLOW_ID_ALREADY_RUNNING). The default. */ Fail = "FAIL", /** * Terminate the open run (reason ID_CONFLICT, durable-function or canvas) and start a new one. * Only through startWorkflowTerminateExisting or triggerWorkflowTerminateExisting (the * workflow-run delete permission). */ TerminateExisting = "TERMINATE_EXISTING", /** Return the open run instead of starting one; startWorkflow delivers its start signals to it. */ UseExisting = "USE_EXISTING" } /** * What a start with a workflow id does when the id's latest run has closed (spec code-first 11 * §2.1). Durable-function parity: needs fluidgrids.durable-parity. */ export declare enum WorkflowIdReusePolicy { /** Start a new run whatever the last one did (the default). */ AllowDuplicate = "ALLOW_DUPLICATE", /** Start a new run only when the last run of the id did not complete (failed, cancelled or terminated). */ AllowDuplicateFailedOnly = "ALLOW_DUPLICATE_FAILED_ONLY", /** Never start a second run with the same workflow id. */ RejectDuplicate = "REJECT_DUPLICATE" } /** Validation result returned for a workflow import. */ export type WorkflowImportValidation = { __typename?: 'WorkflowImportValidation'; errors: Array<Scalars['String']['output']>; missingNodes: Array<WorkflowNodeReference>; valid: Scalars['Boolean']['output']; warnings: Array<Scalars['String']['output']>; }; export type WorkflowInstanceInfo = { __typename?: 'WorkflowInstanceInfo'; createdAt: Scalars['DateTime']['output']; currentNode?: Maybe<Scalars['String']['output']>; errorMessage?: Maybe<Scalars['String']['output']>; executionTimeSeconds?: Maybe<Scalars['Float']['output']>; runId: Scalars['ID']['output']; /** When execution actually started; null while the run is still queued. */ startedAt?: Maybe<Scalars['DateTime']['output']>; status: Scalars['String']['output']; totalNodesExecuted: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; userId: Scalars['String']['output']; workflowName: Scalars['String']['output']; workflowVersion: Scalars['String']['output']; /** The workspace the run belongs to. */ workspaceId?: Maybe<Scalars['String']['output']>; }; /** A connection an imported node needs. n8n credentials are never imported. */ export type WorkflowN8nImportConnectionNeeded = { __typename?: 'WorkflowN8nImportConnectionNeeded'; n8nCredentialName?: Maybe<Scalars['String']['output']>; n8nCredentialType?: Maybe<Scalars['String']['output']>; nodeId: Scalars['String']['output']; nodeName: Scalars['String']['output']; nodeType: Scalars['String']['output']; /** The FluidGrids connection provider, when the node declares one (`*` accepts any). */ provider?: Maybe<Scalars['String']['output']>; }; /** An expression or condition the import could not translate; rewrite it on the node. */ export type WorkflowN8nImportExpressionIssue = { __typename?: 'WorkflowN8nImportExpressionIssue'; expression: Scalars['String']['output']; nodeName: Scalars['String']['output']; reason: Scalars['String']['output']; }; /** An n8n node that became a FluidGrids node. */ export type WorkflowN8nImportMappedNode = { __typename?: 'WorkflowN8nImportMappedNode'; n8nType: Scalars['String']['output']; /** The n8n node name, kept as the FluidGrids node label. */ name: Scalars['String']['output']; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; }; /** * An n8n node FluidGrids has no equivalent for: it is kept as a disabled No-op with its * original parameters in its notes. */ export type WorkflowN8nImportPlaceholder = { __typename?: 'WorkflowN8nImportPlaceholder'; n8nType: Scalars['String']['output']; name: Scalars['String']['output']; nodeId: Scalars['String']['output']; reason: Scalars['String']['output']; }; /** An n8n workflow export converted for preview: the FluidGrids definition it becomes and the report. */ export type WorkflowN8nImportPreview = { __typename?: 'WorkflowN8nImportPreview'; /** The FluidGrids definition, ready to pass to importWorkflow. */ definitionJson: Scalars['JSON']['output']; /** The n8n workflow name (or a default when it has none). */ name: Scalars['String']['output']; report: WorkflowN8nImportReport; }; /** What importing an n8n workflow export did with each of its parts (BOFF-9730). */ export type WorkflowN8nImportReport = { __typename?: 'WorkflowN8nImportReport'; connectionsNeeded: Array<WorkflowN8nImportConnectionNeeded>; expressionIssues: Array<WorkflowN8nImportExpressionIssue>; mappedNodes: Array<WorkflowN8nImportMappedNode>; /** The n8n nodes, not counting sticky notes. */ nodeCount: Scalars['Int']['output']; placeholders: Array<WorkflowN8nImportPlaceholder>; warnings: Array<WorkflowN8nImportWarning>; }; /** Something about the imported workflow the user should check. */ export type WorkflowN8nImportWarning = { __typename?: 'WorkflowN8nImportWarning'; message: Scalars['String']['output']; /** The n8n node it concerns; null for the workflow as a whole. */ nodeName?: Maybe<Scalars['String']['output']>; }; /** A node reference included in a portable workflow export. */ export type WorkflowNodeReference = { __typename?: 'WorkflowNodeReference'; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; nodeVersion?: Maybe<Scalars['String']['output']>; }; /** Product-notification preferences of one workflow. */ export type WorkflowNotificationSettings = { __typename?: 'WorkflowNotificationSettings'; /** False until someone saves a preference: the values are the defaults. */ customized: Scalars['Boolean']['output']; /** Notify when an AI Agent node waits for a tool-call approval. Default true. */ notifyOnApprovalRequest: Scalars['Boolean']['output']; /** Notify when a PRODUCTION run fails. Default true. */ notifyOnFailure: Scalars['Boolean']['output']; /** Notify when a PRODUCTION run succeeds. Default false. */ notifyOnSuccess: Scalars['Boolean']['output']; /** Notify when a trigger is switched off after repeated errors. Default true. */ notifyOnTriggerDisabled: Scalars['Boolean']['output']; /** Also push to the person's registered devices. Default true. */ pushEnabled: Scalars['Boolean']['output']; /** * At most one run-outcome notification of each kind per this many minutes (0-1440, default 15). * Outcomes inside the window are counted and summarised in the next notification. 0 sends every one. */ throttleMinutes: Scalars['Int']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; workflowKey: Scalars['String']['output']; }; /** Pagination input for listing operations */ export type WorkflowPaginationInput = { limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; page?: InputMaybe<Scalars['Int']['input']>; }; /** * A first-class project grouping. Supersedes the legacy free-form `context.projectId` * JSON key on WorkflowDefinition — see that field's own resolver for the fallback. */ export type WorkflowProject = { __typename?: 'WorkflowProject'; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; productId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; workflowCount: Scalars['Int']['output']; workspaceId: Scalars['String']['output']; }; /** A request to move a version into STAGING or PROD, and its review outcome. */ export type WorkflowPromotionRequest = { __typename?: 'WorkflowPromotionRequest'; appliedAt?: Maybe<Scalars['DateTime']['output']>; /** True when no approval was required and the request applied as soon as it was made. */ autoApplied: Scalars['Boolean']['output']; fromEnvironment: WorkflowEnvironment; /** Commit made in the linked Git repository when this promotion applied (BOFF-9673). */ gitCommitSha?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; note?: Maybe<Scalars['String']['output']>; requestedAt: Scalars['DateTime']['output']; requestedById: Scalars['String']['output']; reviewNote?: Maybe<Scalars['String']['output']>; reviewedAt?: Maybe<Scalars['DateTime']['output']>; reviewedById?: Maybe<Scalars['String']['output']>; status: WorkflowPromotionStatus; toEnvironment: WorkflowEnvironment; version: Scalars['String']['output']; workflowDefinitionId: Scalars['ID']['output']; workflowKey: Scalars['String']['output']; }; export declare enum WorkflowPromotionStatus { /** The version was deployed to the target environment. */ Applied = "APPLIED", /** The requester withdrew the request. */ Canceled = "CANCELED", /** Waiting for an approver. */ Pending = "PENDING", /** An approver turned the request down. */ Rejected = "REJECTED" } /** * An AI decision to review before it changes anything: a validated workflow * definition, its diff against the base version, validation warnings and the * model's explanation. Stored in prompt history under the category * `workflow-proposal` and visible only to the member who asked for it. */ export type WorkflowProposal = { __typename?: 'WorkflowProposal'; afterNodeId?: Maybe<Scalars['String']['output']>; appliedVersion?: Maybe<Scalars['String']['output']>; appliedWorkflowId?: Maybe<Scalars['String']['output']>; appliedWorkflowKey?: Maybe<Scalars['String']['output']>; attempts: Scalars['Int']['output']; baseVersion?: Maybe<Scalars['String']['output']>; /** * The proposed definition lifted to code; see WorkflowDraft.code. `format` defaults to the * proposal's `output`; null while there is no proposed definition. Needs the * `fluidgrids.code-first` and `fluidgrids.ai-code` features. */ code?: Maybe<WorkflowDraftCode>; createdAt: Scalars['DateTime']['output']; /** The proposed definition in the builder's format; load it on the canvas to preview */ definitionJson?: Maybe<Scalars['JSON']['output']>; description?: Maybe<Scalars['String']['output']>; diff?: Maybe<WorkflowProposalDiff>; explanation?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; kind: WorkflowProposalKind; message?: Maybe<Scalars['String']['output']>; modelUsed?: Maybe<Scalars['String']['output']>; name?: Maybe<Scalars['String']['output']>; progress?: Maybe<WorkflowProposalProgress>; prompt: Scalars['String']['output']; /** Why applyWorkflowProposal(rerun: true) did not start a run */ rerunHint?: Maybe<Scalars['String']['output']>; /** Run started by applyWorkflowProposal(rerun: true) */ rerunRunId?: Maybe<Scalars['ID']['output']>; /** How to undo an applied proposal with the version history */ restoreHint?: Maybe<Scalars['String']['output']>; runId?: Maybe<Scalars['String']['output']>; status: WorkflowProposalStatus; updatedAt: Scalars['DateTime']['output']; validation?: Maybe<WorkflowGenerationValidation>; /** Database id of the workflow version the proposal changes */ workflowId?: Maybe<Scalars['String']['output']>; workflowKey?: Maybe<Scalars['String']['output']>; }; /** * An AI decision to review before it changes anything: a validated workflow * definition, its diff against the base version, validation warnings and the * model's explanation. Stored in prompt history under the category * `workflow-proposal` and visible only to the member who asked for it. */ export type WorkflowProposalCodeArgs = { format?: InputMaybe<WorkflowExportFormat>; }; /** Node- and edge-level difference between the proposal and the version it was made from. */ export type WorkflowProposalDiff = { __typename?: 'WorkflowProposalDiff'; addedEdges: Array<WorkflowProposalEdgeChange>; addedNodes: Array<WorkflowProposalNodeChange>; changedNodes: Array<WorkflowProposalNodeChange>; removedEdges: Array<WorkflowProposalEdgeChange>; removedNodes: Array<WorkflowProposalNodeChange>; summary: Scalars['String']['output']; }; /** A connection a proposal adds or removes. */ export type WorkflowProposalEdgeChange = { __typename?: 'WorkflowProposalEdgeChange'; source: Scalars['String']['output']; sourceHandle?: Maybe<Scalars['String']['output']>; target: Scalars['String']['output']; targetHandle?: Maybe<Scalars['String']['output']>; }; /** What a proposal does. */ export declare enum WorkflowProposalKind { /** A new workflow, or a change to an existing one, from a description */ Author = "AUTHOR", /** One more node after a chosen node */ NextNode = "NEXT_NODE", /** The change behind a continuous-optimisation suggestion, built without a model call (proposeOptimisation) */ Optimise = "OPTIMISE", /** A fix for a failed run */ Repair = "REPAIR" } /** A node a proposal adds, removes or changes. */ export type WorkflowProposalNodeChange = { __typename?: 'WorkflowProposalNodeChange'; /** Changed parameters (or operation, type, label); empty for added and removed nodes */ fields: Array<Scalars['String']['output']>; id: Scalars['String']['output']; label: Scalars['String']['output']; type: Scalars['String']['output']; }; /** Where a running proposal is. */ export type WorkflowProposalProgress = { __typename?: 'WorkflowProposalProgress'; attempt: Scalars['Int']['output']; /** prompting, validating, repairing, building or done */ stage: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; }; /** Lifecycle of a proposal. Only applyWorkflowProposal changes a workflow. */ export declare enum WorkflowProposalStatus { /** Applied as a new DRAFT version or a new DRAFT workflow */ Applied = "APPLIED", Cancelled = "CANCELLED", Failed = "FAILED", /** The model is still working; poll workflowProposal */ Processing = "PROCESSING", /** Ready to review; apply or reject it */ Proposed = "PROPOSED", /** The assistant refused the request as harmful (BOFF-10032); there is nothing to review or apply */ Refused = "REFUSED", Rejected = "REJECTED", /** The workflow changed after the proposal was made; ask for a new one */ Stale = "STALE" } /** When queryWorkflowRun refuses instead of answering (Phase C, spec code-first 11 §2.21). */ export declare enum WorkflowQueryRejectCondition { None = "NONE", /** Refuse when the run ended other than COMPLETED. */ NotCompletedCleanly = "NOT_COMPLETED_CLEANLY", /** Refuse when the run has ended. */ NotOpen = "NOT_OPEN" } /** One query's answer. */ export type WorkflowQueryResult = { __typename?: 'WorkflowQueryResult'; /** Why the query was refused or failed. */ error?: Maybe<Scalars['String']['output']>; name: Scalars['String']['output']; /** No handler takes the name, or rejectCondition refused the query (`error` says why). */ rejected: Scalars['Boolean']['output']; /** The handler's answer, following the run's data-privacy settings. */ value?: Maybe<Scalars['JSON']['output']>; }; /** Where a reset cuts the history: exactly one of `seq` or `type` (with `buildId` for BUILD_ID). */ export type WorkflowResetTargetInput = { /** The bundle a BUILD_ID reset steps back from (`sha256:<hex>`). */ buildId?: InputMaybe<Scalars['String']['input']>; /** Reset to the last completed workflow task at or before this history seq. */ seq?: InputMaybe<Scalars['Int']['input']>; type?: InputMaybe<WorkflowResetType>; }; /** Where resetWorkflowRun cuts a run's history (Phase C, spec code-first 11 §2.7). */ export declare enum WorkflowResetType { /** After the last workflow task completed before the bundle `buildId` first served the run. */ BuildId = "BUILD_ID", /** After the first completed workflow task. */ FirstTask = "FIRST_TASK", /** After the last completed workflow task of the run this one continued as new from. */ LastContinuedAsNew = "LAST_CONTINUED_AS_NEW", /** After the last completed workflow task (the last clean task). */ LastTask = "LAST_TASK" } /** * A gradual rollout (spec code-first 11 §2.27): `percent` % of the automatic starts of the workflow * (startWorkflow without a version, or `active`) run `toVersion` instead of the ACTIVE `fromVersion`. * A start's share is fixed by its workflow id (else its run id): the SDK's `rolloutBucket`, FNV-1a * modulo 100, below `percent`. In-flight AUTO_UPGRADE runs follow the same split, but only up to * `verifiedPercent`: a run moves to `toVersion` once a ROLLOUT check replayed the runs of its bucket. * Lowering the percent or removing the rollout moves no run back; a run that upgraded to `toVersion` * stays on it until another version is activated (that activation's check covers it). */ export type WorkflowRollout = { __typename?: 'WorkflowRollout'; /** * The check the rollout waits for: the ROLLOUT check of a raised percent (in-flight AUTO_UPGRADE runs * replay against `toVersion` first), or the ACTIVATION check of a promotion. */ activationCheck?: Maybe<WorkflowCodeReplaceResult>; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; /** PROD (the ACTIVE version) in this release. */ environment: WorkflowEnvironment; /** The ACTIVE version the rollout starts from; a rollout whose fromVersion is no longer ACTIVE has no effect. */ fromVersion: Scalars['String']['output']; id: Scalars['ID']['output']; /** 0 to 100: the share of new automatic starts. */ percent: Scalars['Int']['output']; /** * True when `percent: 100` promoted `toVersion` (activated it) and the rollout was removed, or when * the promotion waits for its activation check (`activationCheck`). */ promoted: Scalars['Boolean']['output']; toVersion: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedById?: Maybe<Scalars['String']['output']>; /** 0 to `percent`: the share of in-flight AUTO_UPGRADE runs verified against `toVersion` (a ROLLOUT check), which move to it. */ verifiedPercent: Scalars['Int']['output']; workflowKey: Scalars['String']['output']; }; export type WorkflowRolloutInput = { /** PROD only in this release. */ environment?: InputMaybe<WorkflowEnvironment>; /** The ACTIVE version (the default); any other value is refused. */ fromVersion?: InputMaybe<Scalars['String']['input']>; /** 0 (every start runs fromVersion) to 100 (promote toVersion: activate it and remove the rollout). */ percent: Scalars['Int']['input']; /** Another DRAFT version of the workflow with durable workflow functions. */ toVersion: Scalars['String']['input']; }; /** * WorkflowRun: Instance of workflow execution * Federated entity identified by id */ export type WorkflowRun = { __typename?: 'WorkflowRun'; /** * Model calls this run's nodes made and their estimated cost (BOFF-9935). Costs come from the AI * ledger, which prices each call server-side; calls it could not price count in `calls` only. */ aiUsage: WorkflowRunAiUsage; /** * The run's AI budget, what it has used against it, and the limits it went over (BOFF-9943). * Null when the run has no budget. */ budget?: Maybe<RunBudgetState>; /** The code bundle a durable-function run replays (`sha256:<hex>`). */ buildId?: Maybe<Scalars['String']['output']>; /** * The run's workflow id (spec code-first 11 §2.1), unique among the open runs of its workflow key; * null for runs started without durable-function parity. `workflowId` is the definition's id. */ businessId?: Maybe<Scalars['String']['output']>; /** When cancellation was requested for a durable-function run. */ cancelRequestedAt?: Maybe<Scalars['DateTime']['output']>; childRuns: Array<WorkflowRun>; completedAt?: Maybe<Scalars['DateTime']['output']>; completedNodes?: Maybe<Scalars['Int']['output']>; /** The run's completion callback, when it was started with one (parity, 11 §2.32). */ completionCallback?: Maybe<RunCallbackDelivery>; context?: Maybe<Scalars['JSON']['output']>; /** The run this one continues (continue-as-new). */ continuedFromRunId?: Maybe<Scalars['ID']['output']>; /** The run that continues this one; operations by workflow id follow it. */ continuedToRunId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; /** What the run says it is doing now (`ctx.setCurrentDetails`, Markdown; parity). */ currentDetails?: Maybe<Scalars['String']['output']>; /** * When this run's data (trigger data, node inputs and outputs, logs) was dropped because its * workflow does not save runs like it (Settings, BOFF-7514). Null when the data is kept. */ dataPrunedAt?: Maybe<Scalars['DateTime']['output']>; /** * When this run's stored trigger data, node inputs and outputs and context had the workflow's * redacted fields and the platform's secret-shaped keys replaced (privacy settings, BOFF-9752). * Null when nothing was redacted. */ dataRedactedAt?: Maybe<Scalars['DateTime']['output']>; /** Markdown about the run (parity). */ details?: Maybe<Scalars['String']['output']>; /** Whether a durable-function run's workflow task is failing; null for a graph run. */ determinism?: Maybe<WorkflowRunDeterminismStatus>; duration?: Maybe<Scalars['Float']['output']>; /** * Environment the run was admitted in (BOFF-9963): TEST runs are DEV, every other run PROD, a * child run inherits its parent's. Action policies are evaluated in this environment. Null for * runs admitted before the snapshot existed; those are evaluated as PROD. */ environment?: Maybe<WorkflowEnvironment>; errorMessage?: Maybe<Scalars['String']['output']>; errorType?: Maybe<ErrorType>; /** GRAPH for canvas runs, DURABLE_FN for durable-function runs. */ executionKind: ExecutionKind; /** When the chain's execution timeout expires (parity, 11 §2.20). */ executionTimeoutAt?: Maybe<Scalars['DateTime']['output']>; failedNodes?: Maybe<Scalars['Int']['output']>; /** The fairness key of the run's tasks; null means the workspace id (Phase C, 11 §2.11). */ fairnessKey?: Maybe<Scalars['String']['output']>; /** The first run of the continue-as-new chain; null on the first run itself. */ firstRunId?: Maybe<Scalars['ID']['output']>; /** Events in the run's history; 0 for a graph run. */ historyLength: Scalars['Int']['output']; id: Scalars['ID']['output']; isSubWorkflowRun: Scalars['Boolean']['output']; /** The run's memo (`context` of its start, merged with `ctx.upsertContext`; parity). */ memo?: Maybe<Scalars['JSON']['output']>; /** * Manual/debug (TEST) vs real (PRODUCTION) run — BOFF-7511. Defaults to * PRODUCTION. Only a TEST run may use pinned node data. */ mode: RunMode; nodeStates: Array<NodeState>; /** What happens to this child run when its parent closes; null for runs started by the canvas. */ parentClosePolicy?: Maybe<ParentClosePolicy>; parentRun?: Maybe<WorkflowRun>; parentRunId?: Maybe<Scalars['String']['output']>; /** How the run's payloads are stored: null (plain JSON), binary/encrypted (a worker's codec) or kms/envelope (Phase C). */ payloadEncoding?: Maybe<Scalars['String']['output']>; /** What the run is waiting on (parity, 11 §2.34; needs fluidgrids.durable-parity). */ pending?: Maybe<RunPendingState>; /** The run's priority (1 is the highest, 5 the lowest; 3 by default). */ priority: Scalars['Int']['output']; progress: Scalars['Float']['output']; /** The run this one replaced: a reset forked this run from it and terminated it with reason RESET. */ resetFromRunId?: Maybe<Scalars['ID']['output']>; /** The run a reset forked from this one (Phase C, 11 §2.7); operations by workflow id follow it. */ resetToRunId?: Maybe<Scalars['ID']['output']>; rootRunId?: Maybe<Scalars['String']['output']>; /** Run-level retry attempt, 1-based. */ runAttempt: Scalars['Int']['output']; /** When the run's run timeout expires (parity, 11 §2.20). */ runTimeoutAt?: Maybe<Scalars['DateTime']['output']>; /** The run's search attributes (Phase C, 11 §2.8); null when it has none. */ searchAttributes?: Maybe<Scalars['JSON']['output']>; skippedNodes?: Maybe<Scalars['Int']['output']>; /** * Debug-in-editor / run-from-node (BOFF-7511): the run this one reused * upstream node outputs from, if it was started via `runFromNode`. */ sourceRunId?: Maybe<Scalars['String']['output']>; /** When a delayed start's first workflow task is due (parity, 11 §2.23). */ startDelayUntil?: Maybe<Scalars['DateTime']['output']>; startedAt?: Maybe<Scalars['DateTime']['output']>; status: RunStatus; subworkflowDepth: Scalars['Int']['output']; /** One line about the run (parity, spec code-first 11 §2.22). */ summary?: Maybe<Scalars['String']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<FluidgridsTagAssignment>; taskQueue?: Maybe<Scalars['String']['output']>; totalNodes?: Maybe<Scalars['Int']['output']>; triggerData?: Maybe<Scalars['JSON']['output']>; triggerNodeId: Scalars['String']['output']; triggeredById?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; /** Which bundle the run uses and why (parity, 11 §2.27); null for a graph run. */ versioning?: Maybe<RunVersioning>; workflow?: Maybe<WorkflowDefinition>; /** The workflow function a durable-function run executes. */ workflowFn?: Maybe<Scalars['String']['output']>; workflowId: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** * Totals over a set of model calls made by workflow runs (BOFF-9935). Token totals count only the * calls that reported them; `costMicroUsd` is null when no call was priced. */ export type WorkflowRunAiUsage = { __typename?: 'WorkflowRunAiUsage'; /** Calls made with the workspace's own provider key. */ byoCalls: Scalars['Int']['output']; cachedInputTokens: Scalars['Float']['output']; calls: Scalars['Int']['output']; /** Estimated cost in micro-USD (1,000,000 = 1 USD) of the priced calls. */ costMicroUsd?: Maybe<Scalars['Float']['output']>; inputTokens: Scalars['Float']['output']; outputTokens: Scalars['Float']['output']; /** Calls not yet confirmed by the AI ledger. */ pendingCalls: Scalars['Int']['output']; /** Calls made with a platform-managed provider key. */ platformCalls: Scalars['Int']['output']; /** Calls the AI ledger priced. */ pricedCalls: Scalars['Int']['output']; }; /** A run's model calls per node and model (BOFF-9935). */ export type WorkflowRunAiUsageBreakdown = { __typename?: 'WorkflowRunAiUsageBreakdown'; lines: Array<WorkflowRunAiUsageLine>; runId: Scalars['ID']['output']; total: WorkflowRunAiUsage; }; /** Model calls of one node and model within a run (BOFF-9935). */ export type WorkflowRunAiUsageLine = { __typename?: 'WorkflowRunAiUsageLine'; modelKey?: Maybe<Scalars['String']['output']>; nodeId: Scalars['String']['output']; nodeType: Scalars['String']['output']; operation: Scalars['String']['output']; providerKey?: Maybe<Scalars['String']['output']>; usage: WorkflowRunAiUsage; }; /** * Whether a durable-function run's workflow task is failing (spec code-first 11 §2.37). A failing * task is retried with a backoff and never fails the run; a NON_DETERMINISM failure keeps retrying * until a compatible bundle is deployed. */ export type WorkflowRunDeterminismStatus = { __typename?: 'WorkflowRunDeterminismStatus'; /** Attempts of the current failure streak. */ attempts: Scalars['Int']['output']; cause?: Maybe<WorkflowTaskFailureCause>; failing: Scalars['Boolean']['output']; /** The seq of that failure's WORKFLOW_TASK_FAILED or WORKFLOW_TASK_TIMED_OUT event. */ lastFailureSeq?: Maybe<Scalars['Int']['output']>; message?: Maybe<Scalars['String']['output']>; /** When the streak's first failure was recorded. */ since?: Maybe<Scalars['DateTime']['output']>; }; /** One event of a durable-function run's history. */ export type WorkflowRunEvent = { __typename?: 'WorkflowRunEvent'; createdAt: Scalars['DateTime']['output']; /** The event payload. For an offloaded payload, `payloadUrl` (public reads) or the inlined payload (worker reads). */ payload?: Maybe<Scalars['JSON']['output']>; /** * Phase C (09 §2): the stored payload is under the at-rest envelope (kms/envelope). Public reads * return it decrypted; an offloaded encrypted payload has no `payloadUrl` and is read with * `workflowRunEventPayload`. */ payloadEncrypted: Scalars['Boolean']['output']; /** A short-lived presigned GET for an offloaded payload; null when the payload is inline. */ payloadUrl?: Maybe<Scalars['String']['output']>; runId: Scalars['ID']['output']; /** 1-based and gapless within the run. */ seq: Scalars['Int']['output']; /** The workflow task that appended the event (command and task events). */ taskId?: Maybe<Scalars['String']['output']>; type: WorkflowRunEventType; }; /** A page of a run's history, in seq order. */ export type WorkflowRunEventPage = { __typename?: 'WorkflowRunEventPage'; /** * Why an archived run's events could not be read back from the bucket (the destination does not * grant read, the object is gone, run archival is off on the service). Null when they were read, * and for a run that is not archived. */ archiveReadError?: Maybe<Scalars['String']['output']>; /** Where the archive is (`s3://<bucket>/<prefix>/<yyyy>/<mm>/<dd>/<runId>/`), when archived. */ archiveRef?: Maybe<Scalars['String']['output']>; /** * Phase C (11 §2.26): the run was archived to the workspace's bucket and then purged by retention * (needs fluidgrids.run-archival). The events are read back from the archive's history.jsonl.gz * when the destination grants read (s3:GetObject to the archive role); otherwise the page is empty * and `archiveReadError` says why. `historyLength` is then the number of events archived. */ archived: Scalars['Boolean']['output']; events: Array<WorkflowRunEvent>; hasMore: Scalars['Boolean']['output']; /** UTF-8 bytes of the run's inline payloads. */ historyBytes: Scalars['Float']['output']; /** The run's history length when the page was read. */ historyLength: Scalars['Int']['output']; /** Pass as `after` to read the next page; null when there is none. */ nextAfter?: Maybe<Scalars['Int']['output']>; }; /** One event type of a durable-function run's history (spec code-first 04 §3). */ export declare enum WorkflowRunEventType { ActivityCancelled = "ACTIVITY_CANCELLED", ActivityCancelRequested = "ACTIVITY_CANCEL_REQUESTED", ActivityCompleted = "ACTIVITY_COMPLETED", ActivityFailed = "ACTIVITY_FAILED", ActivityHeartbeat = "ACTIVITY_HEARTBEAT", ActivityOptionsUpdated = "ACTIVITY_OPTIONS_UPDATED", ActivityPaused = "ACTIVITY_PAUSED", ActivityReset = "ACTIVITY_RESET", ActivityScheduled = "ACTIVITY_SCHEDULED", ActivityStarted = "ACTIVITY_STARTED", ActivityTimedOut = "ACTIVITY_TIMED_OUT", ActivityUnpaused = "ACTIVITY_UNPAUSED", ChildRunCancelled = "CHILD_RUN_CANCELLED", ChildRunCompleted = "CHILD_RUN_COMPLETED", ChildRunFailed = "CHILD_RUN_FAILED", ChildRunInitiated = "CHILD_RUN_INITIATED", ChildRunStarted = "CHILD_RUN_STARTED", ChildRunTerminated = "CHILD_RUN_TERMINATED", ChildRunTimedOut = "CHILD_RUN_TIMED_OUT", ContextUpserted = "CONTEXT_UPSERTED", ExternalRunCancelRequested = "EXTERNAL_RUN_CANCEL_REQUESTED", ExternalRunCancelResolved = "EXTERNAL_RUN_CANCEL_RESOLVED", ExternalRunSignaled = "EXTERNAL_RUN_SIGNALED", LocalActivityCompleted = "LOCAL_ACTIVITY_COMPLETED", LocalActivityFailed = "LOCAL_ACTIVITY_FAILED", MarkerRecorded = "MARKER_RECORDED", SearchAttributesUpserted = "SEARCH_ATTRIBUTES_UPSERTED", SideEffectRecorded = "SIDE_EFFECT_RECORDED", SignalReceived = "SIGNAL_RECEIVED", TimerCancelled = "TIMER_CANCELLED", TimerFired = "TIMER_FIRED", TimerStarted = "TIMER_STARTED", UpdateAccepted = "UPDATE_ACCEPTED", UpdateAdmitted = "UPDATE_ADMITTED", UpdateCompleted = "UPDATE_COMPLETED", VersioningOverrideSet = "VERSIONING_OVERRIDE_SET", WorkflowCancelled = "WORKFLOW_CANCELLED", WorkflowCancelRequested = "WORKFLOW_CANCEL_REQUESTED", WorkflowCompleted = "WORKFLOW_COMPLETED", WorkflowContinuedAsNew = "WORKFLOW_CONTINUED_AS_NEW", WorkflowFailed = "WORKFLOW_FAILED", WorkflowReset = "WORKFLOW_RESET", WorkflowStarted = "WORKFLOW_STARTED", WorkflowTaskCompleted = "WORKFLOW_TASK_COMPLETED", WorkflowTaskFailed = "WORKFLOW_TASK_FAILED", WorkflowTaskScheduled = "WORKFLOW_TASK_SCHEDULED", WorkflowTaskStarted = "WORKFLOW_TASK_STARTED", WorkflowTaskTimedOut = "WORKFLOW_TASK_TIMED_OUT", WorkflowTerminated = "WORKFLOW_TERMINATED", WorkflowTimedOut = "WORKFLOW_TIMED_OUT" } /** Read-only diagnosis of a workflow run. */ export type WorkflowRunExplanation = { __typename?: 'WorkflowRunExplanation'; cause: Scalars['String']['output']; errorType?: Maybe<Scalars['String']['output']>; /** Recent warning and error log lines, redacted and truncated */ evidence: Array<Scalars['String']['output']>; failed: Scalars['Boolean']['output']; failingNodeId?: Maybe<Scalars['String']['output']>; failingNodeLabel?: Maybe<Scalars['String']['output']>; failingNodeType?: Maybe<Scalars['String']['output']>; runId: Scalars['ID']['output']; status: Scalars['String']['output']; suggestions: Array<Scalars['String']['output']>; version: Scalars['String']['output']; workflowId: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** Sub-workflow hierarchy tree */ export type WorkflowRunHierarchy = { __typename?: 'WorkflowRunHierarchy'; children: Array<WorkflowRunHierarchyNode>; /** * Every run of the tree but the root, flat and breadth first (each with its depth; nest them by * run.parentRunId). Select this instead of nesting `children` when the tree can be deeper than one * query may nest. */ descendants: Array<WorkflowRunHierarchyNode>; root: WorkflowRun; totalDepth: Scalars['Int']['output']; /** * More descendants exist than the tree holds (at most 500, breadth first). The requested run and * its ancestors are always in the tree. */ truncated: Scalars['Boolean']['output']; }; /** Node in the sub-workflow hierarchy tree */ export type WorkflowRunHierarchyNode = { __typename?: 'WorkflowRunHierarchyNode'; children: Array<WorkflowRunHierarchyNode>; depth: Scalars['Int']['output']; parentNodeId?: Maybe<Scalars['String']['output']>; run: WorkflowRun; }; /** Workflow run list response with pagination */ export type WorkflowRunListResponse = { __typename?: 'WorkflowRunListResponse'; hasMore: Scalars['Boolean']['output']; items: Array<WorkflowRun>; total: Scalars['Int']['output']; }; /** The built-in `__metadata` query of a durable-function run (spec code-first 11 §2.21). */ export type WorkflowRunMetadata = { __typename?: 'WorkflowRunMetadata'; /** The run's current details (`ctx.setCurrentDetails`), Markdown. */ currentDetails?: Maybe<Scalars['String']['output']>; /** The workflow function's definition: its name, signals, queries and updates, each with its description. */ definition: Scalars['JSON']['output']; }; /** The built-in stack-trace queries of an open durable-function run, answered by a replay in the service. */ export type WorkflowRunStackTrace = { __typename?: 'WorkflowRunStackTrace'; /** The `__enhanced_stack_trace` answer (SDK, stacks with file, line and column), when asked for. */ enhanced?: Maybe<Scalars['JSON']['output']>; /** The `__metadata` answer, when asked for with `metadata: true` (parity). */ metadata?: Maybe<WorkflowRunMetadata>; /** Where each pending await of the workflow code is (`__stack_trace`); null for a closed run. */ trace?: Maybe<Scalars['String']['output']>; }; /** * The lifecycle of an update to a durable-function run (Phase C, spec code-first 11 §2.39). REJECTED * lives on the update only, never in the run's history. */ export declare enum WorkflowRunUpdateStatus { /** The handler accepted it and is running. */ Accepted = "ACCEPTED", /** Already in history (update-with-start); the next workflow task runs it. */ Admitted = "ADMITTED", /** The handler finished: `result`, or `failure`. */ Completed = "COMPLETED", /** Requested; the next workflow task receives it. */ Pending = "PENDING", /** The validator refused it, or no handler answered it (UPDATE_NOT_HANDLED), or the run ended first (RUN_CLOSED). */ Rejected = "REJECTED" } /** The outcome of backfillWorkflowSchedule: the ticks it queued (they start one after another). */ export type WorkflowScheduleBackfillResult = { __typename?: 'WorkflowScheduleBackfillResult'; /** Fire times already backfilled before (not queued again). */ alreadyQueued: Scalars['Int']['output']; /** Fire times in the range. */ fireTimes: Scalars['Int']['output']; overlapPolicy: WorkflowScheduleOverlapPolicy; /** Ticks queued (DELAYED, released by the service in order). */ queued: Scalars['Int']['output']; }; /** A Schedule Trigger node of a workflow, as the scheduler runs it (11 §2.33). */ export type WorkflowScheduleDescription = { __typename?: 'WorkflowScheduleDescription'; catchupWindowSeconds?: Maybe<Scalars['Int']['output']>; jitterSeconds?: Maybe<Scalars['Int']['output']>; /** The scheduler jobs of the trigger (one per rule or spec entry). */ jobs: Scalars['Int']['output']; /** The next ten fire times (excluded calendars left out). */ nextFireTimes: Array<Scalars['DateTime']['output']>; /** Null: the schedule has no policy and every fire starts a run (ALLOW_ALL). */ overlapPolicy?: Maybe<WorkflowScheduleOverlapPolicy>; pauseOnFailure: Scalars['Boolean']['output']; /** The ten most recent ticks, newest first. */ recentActions: Array<WorkflowScheduleTick>; /** The trigger's spec, or { cron } / { rrule } for a schedule saved without one. */ spec?: Maybe<Scalars['JSON']['output']>; specKind?: Maybe<WorkflowScheduleSpecKind>; state: WorkflowScheduleState; triggerNodeId: Scalars['String']['output']; /** The version that owns the schedule. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; /** What a schedule tick does while a run an earlier tick started is still open (Phase C, spec code-first 11 §2.16). */ export declare enum WorkflowScheduleOverlapPolicy { /** Start the tick whatever is open (what a schedule without a policy does). */ AllowAll = "ALLOW_ALL", /** Keep every tick (up to 1,000) and start them one after another. */ BufferAll = "BUFFER_ALL", /** Keep one tick and start it when the open run closes; later ticks are skipped. */ BufferOne = "BUFFER_ONE", /** Ask the open run to cancel, then start the tick when it has closed. */ CancelOther = "CANCEL_OTHER", /** Skip the tick (the default for a new policy). */ Skip = "SKIP", /** Terminate the open run and start the tick at once. */ TerminateOther = "TERMINATE_OTHER" } /** The kind of a schedule trigger's spec (Phase C, 11 §2.33). */ export declare enum WorkflowScheduleSpecKind { Calendar = "CALENDAR", Cron = "CRON", Interval = "INTERVAL" } /** Whether a schedule is paused, and how many actions it has left. */ export type WorkflowScheduleState = { __typename?: 'WorkflowScheduleState'; note?: Maybe<Scalars['String']['output']>; paused: Scalars['Boolean']['output']; pausedAt?: Maybe<Scalars['DateTime']['output']>; pausedBy?: Maybe<Scalars['String']['output']>; /** Fires left before the schedule stops (limitedActions); null is unlimited. */ remainingActions?: Maybe<Scalars['Int']['output']>; }; /** One tick of a schedule: a fire and what became of it. */ export type WorkflowScheduleTick = { __typename?: 'WorkflowScheduleTick'; /** The open run that made the tick skip or wait. */ blockingRunId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; /** The fire time the tick stands for. */ dueAt: Scalars['DateTime']['output']; /** When it started its run. */ firedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; kind: WorkflowScheduleTickKind; note?: Maybe<Scalars['String']['output']>; outcome: WorkflowScheduleTickOutcome; overlapPolicy?: Maybe<WorkflowScheduleOverlapPolicy>; /** DELAYED: when it is released. */ releaseAt?: Maybe<Scalars['DateTime']['output']>; runId?: Maybe<Scalars['ID']['output']>; }; /** What produced a schedule tick (Phase C). */ export declare enum WorkflowScheduleTickKind { /** backfillWorkflowSchedule. */ Backfill = "BACKFILL", /** triggerWorkflowSchedule. */ Manual = "MANUAL", /** A fire of the schedule. */ Scheduled = "SCHEDULED" } /** What became of a schedule tick (Phase C, 11 §2.16). */ export declare enum WorkflowScheduleTickOutcome { /** Waiting for the open run of an earlier tick to close. */ Buffered = "BUFFERED", /** A buffered or delayed tick dropped before it could start (the schedule was paused, or the run could not start). */ Cancelled = "CANCELLED", /** Waiting out the schedule's jitter, or a backfilled tick waiting its turn. */ Delayed = "DELAYED", /** Older than the catch-up window when it arrived. */ DroppedCatchup = "DROPPED_CATCHUP", /** On an excluded calendar, or in a year the calendar does not list. */ Excluded = "EXCLUDED", /** The tick started a run. */ Fired = "FIRED", /** Missed while the schedule could not fire; skipped by the misfire policy. */ MissedSkipped = "MISSED_SKIPPED", /** A run of an earlier tick was open and the overlap policy skipped this one. */ SkippedOverlap = "SKIPPED_OVERLAP", /** The schedule was paused, or had no remaining actions. */ SkippedPaused = "SKIPPED_PAUSED" } /** The outcome of triggerWorkflowSchedule. */ export type WorkflowScheduleTriggerResult = { __typename?: 'WorkflowScheduleTriggerResult'; /** The run the tick started (null when the overlap policy skipped or buffered it). */ runId?: Maybe<Scalars['ID']['output']>; tick: WorkflowScheduleTick; }; export type WorkflowScheduledJob = { __typename?: 'WorkflowScheduledJob'; config?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; creator: Scalars['String']['output']; deletedAt?: Maybe<Scalars['DateTime']['output']>; enabled: Scalars['Boolean']['output']; id: Scalars['ID']['output']; lastRun?: Maybe<Scalars['DateTime']['output']>; /** NOT_MIGRATED, MIGRATED or MIGRATION_FAILED */ migrationStatus: Scalars['String']['output']; name: Scalars['String']['output']; nextRun?: Maybe<Scalars['DateTime']['output']>; /** RFC 5545 recurrence rule for rules cron cannot express exactly */ rrule?: Maybe<Scalars['String']['output']>; /** Cron expression (empty for RRULE rules) */ schedule: Scalars['String']['output']; /** CRON or RRULE */ scheduleType?: Maybe<Scalars['String']['output']>; /** Id of the job in wspace-scheduler-svc; null until the row has been registered there */ schedulerJobId?: Maybe<Scalars['String']['output']>; /** Mirror of the wspace-scheduler-svc job state: ACTIVE, PAUSED, DRAFT */ status?: Maybe<Scalars['String']['output']>; /** Structured tag assignments (wspace-tags-svc). */ tagAssignments: Array<FluidgridsTagAssignment>; tenantId?: Maybe<Scalars['String']['output']>; /** IANA timezone the schedule is evaluated in */ timezone?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workspaceId?: Maybe<Scalars['String']['output']>; }; /** A run search attribute the workspace defined. */ export type WorkflowSearchAttribute = { __typename?: 'WorkflowSearchAttribute'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; /** A letter, then letters, digits and underscores (at most 64). */ name: Scalars['String']['output']; type: WorkflowSearchAttributeType; }; /** One condition of a search-attribute filter. */ export type WorkflowSearchAttributeConditionInput = { /** A defined attribute. */ name: Scalars['String']['input']; op: WorkflowSearchAttributeOperator; /** A value of the attribute's type (an array for IN). */ value?: InputMaybe<Scalars['JSON']['input']>; }; /** * A filter on the runs' search attributes: every `and` condition, at least one `or` condition (when * given), and every word of `text` in the run's TEXT attributes. At most 20 conditions. */ export type WorkflowSearchAttributeFilterInput = { and?: InputMaybe<Array<WorkflowSearchAttributeConditionInput>>; or?: InputMaybe<Array<WorkflowSearchAttributeConditionInput>>; /** Free text over the run's TEXT attributes (1 to 256 characters). */ text?: InputMaybe<Scalars['String']['input']>; }; /** How a search-attribute condition compares (Phase C, 11 §2.8); each type takes some of them. */ export declare enum WorkflowSearchAttributeOperator { /** TEXT: every word of the value; KEYWORD_LIST: holds the value. */ Contains = "CONTAINS", /** KEYWORD, INT, DOUBLE, BOOL, DATETIME. */ Eq = "EQ", /** INT, DOUBLE, DATETIME. */ Gt = "GT", Gte = "GTE", /** KEYWORD, INT, DOUBLE: one of the values; KEYWORD_LIST: holds one of them. `value` is an array. */ In = "IN", Lt = "LT", Lte = "LTE", /** KEYWORD, INT, DOUBLE, BOOL, DATETIME: the run has the attribute with another value. */ Neq = "NEQ", /** KEYWORD. */ StartsWith = "STARTS_WITH" } /** The type of a run search attribute (Phase C, spec code-first 11 §2.8). */ export declare enum WorkflowSearchAttributeType { Bool = "BOOL", /** A date and time (ISO-8601), stored in UTC. */ Datetime = "DATETIME", /** A number. */ Double = "DOUBLE", /** A whole number. */ Int = "INT", /** A string matched exactly (at most 256 characters). */ Keyword = "KEYWORD", /** A list of at most 100 keywords. */ KeywordList = "KEYWORD_LIST", /** Free text, matched by words (at most 2 KiB). */ Text = "TEXT" } export type WorkflowSearchCapabilities = { __typename?: 'WorkflowSearchCapabilities'; defaultSort: Scalars['String']['output']; entities: Array<WorkflowEntitySearchCapability>; filters: Array<WorkflowFilterCapability>; maxResultsPerEntity: Scalars['Int']['output']; }; export type WorkflowSearchFilterInput = { dateFrom?: InputMaybe<Scalars['DateTime']['input']>; dateTo?: InputMaybe<Scalars['DateTime']['input']>; eventSource?: InputMaybe<Scalars['String']['input']>; eventType?: InputMaybe<Scalars['String']['input']>; isDeleted?: InputMaybe<Scalars['Boolean']['input']>; isLatest?: InputMaybe<Scalars['Boolean']['input']>; status?: InputMaybe<Scalars['String']['input']>; workflowKey?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowSearchRequestInput = { entityTypes?: InputMaybe<Array<Scalars['String']['input']>>; filters?: InputMaybe<WorkflowSearchFilterInput>; highlight?: InputMaybe<Scalars['Boolean']['input']>; limit?: InputMaybe<Scalars['Int']['input']>; offset?: InputMaybe<Scalars['Int']['input']>; query: Scalars['String']['input']; sort?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowSearchResponse = { __typename?: 'WorkflowSearchResponse'; entityCounts: Scalars['JSON']['output']; metadata: Scalars['JSON']['output']; query: Scalars['String']['output']; results: Scalars['JSON']['output']; totalResults: Scalars['Int']['output']; }; export type WorkflowSearchResultItem = { __typename?: 'WorkflowSearchResultItem'; createdAt?: Maybe<Scalars['DateTime']['output']>; description?: Maybe<Scalars['String']['output']>; entityId: Scalars['String']['output']; entityType: Scalars['String']['output']; highlights?: Maybe<Array<Scalars['String']['output']>>; metadata: Scalars['JSON']['output']; title: Scalars['String']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; url?: Maybe<Scalars['String']['output']>; }; /** A check of the workspace security report (BOFF-9747). */ export declare enum WorkflowSecurityCheck { /** A node that runs user-supplied code or a shell: Code, Code workflow, Coding Agent, Code Tool. */ CodeExecution = "CODE_EXECUTION", /** An HTTP node whose literal URL targets a private, loopback, link-local, metadata or cluster-internal host. */ HttpToPrivateAddress = "HTTP_TO_PRIVATE_ADDRESS", /** A Node Store node pinned to an older version than the newest one available. */ OutdatedStoreNode = "OUTDATED_STORE_NODE", /** An active workflow's production webhook or form that anyone can call: validation NONE, or a public form. */ PublicTriggerWithoutAuth = "PUBLIC_TRIGGER_WITHOUT_AUTH", /** A SQL node (or the Database Poll trigger) whose query text embeds expressions (injection risk). */ SqlWithExpressions = "SQL_WITH_EXPRESSIONS" } /** How many findings one check produced, before the findings list is cut. */ export type WorkflowSecurityCheckCount = { __typename?: 'WorkflowSecurityCheckCount'; check: WorkflowSecurityCheck; count: Scalars['Int']['output']; }; /** One risky node of one workflow version. */ export type WorkflowSecurityFinding = { __typename?: 'WorkflowSecurityFinding'; /** Whether that version is the workflow's ACTIVE one; false for a never-activated draft. */ active: Scalars['Boolean']['output']; check: WorkflowSecurityCheck; /** The connection the finding is about, when it is about one. */ connectionId?: Maybe<Scalars['String']['output']>; /** OUTDATED_STORE_NODE only: the newest version available in the Node Store. */ latestVersion?: Maybe<Scalars['String']['output']>; /** What is risky and what to do about it, in English; clients can localise by check. */ message: Scalars['String']['output']; nodeId: Scalars['String']['output']; nodeLabel?: Maybe<Scalars['String']['output']>; nodeType: Scalars['String']['output']; severity: WorkflowSecuritySeverity; /** The version the finding is in. */ version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; workflowName: Scalars['String']['output']; }; /** How serious a security finding is. */ export declare enum WorkflowSecuritySeverity { High = "HIGH", Low = "LOW", Medium = "MEDIUM" } /** One grant on a workflow. */ export type WorkflowShare = { __typename?: 'WorkflowShare'; createdAt: Scalars['DateTime']['output']; createdById: Scalars['String']['output']; /** A user, group or workspace project id. */ principalId: Scalars['String']['output']; principalType: WorkflowSharePrincipalType; role: WorkflowShareRole; }; export type WorkflowShareInput = { principalId: Scalars['String']['input']; principalType: WorkflowSharePrincipalType; role?: InputMaybe<WorkflowShareRole>; }; /** Whom a workflow share names. */ export declare enum WorkflowSharePrincipalType { Group = "GROUP", /** A workspace project: everyone who is a member of it. */ Project = "PROJECT", User = "USER" } /** What a workflow share grants. */ export declare enum WorkflowShareRole { /** Also change, run and share it. */ Editor = "EDITOR", /** Read the workflow and its versions; no changes and no runs. */ Viewer = "VIEWER" } /** Who a workflow belongs to and who it is shared with. */ export type WorkflowSharing = { __typename?: 'WorkflowSharing'; /** Whether the caller may hand the workflow to someone else (workspace admins). */ canTransferOwnership: Scalars['Boolean']['output']; /** How the caller reaches this workflow; null for services and apps. OWNER, EDITOR and ADMINISTRATOR may change its sharing. */ myAccess?: Maybe<WorkflowAccess>; ownerId?: Maybe<Scalars['String']['output']>; shares: Array<WorkflowShare>; visibility: WorkflowVisibility; workflowKey: Scalars['String']['output']; }; /** The outcome of `signalWorkflowRun`. */ export type WorkflowSignalResult = { __typename?: 'WorkflowSignalResult'; /** False when the run ended at its history limit before it could take the signal. */ accepted: Scalars['Boolean']['output']; /** A graph run kept the signal for a Wait for Signal node that has not parked yet. */ buffered: Scalars['Boolean']['output']; /** The signal reached a durable-function run's history or resumed a parked Wait for Signal node. */ delivered: Scalars['Boolean']['output']; /** A repeat of a signal already accepted with the same idempotency key. */ duplicate: Scalars['Boolean']['output']; /** The durable-function child of a graph run that received the signal, when it was forwarded. */ forwardedToRunId?: Maybe<Scalars['ID']['output']>; /** The SIGNAL_RECEIVED event's seq in a durable-function run's history. */ seq?: Maybe<Scalars['Int']['output']>; }; /** A signal token of a run (the token itself is shown only once, when it is created). */ export type WorkflowSignalToken = { __typename?: 'WorkflowSignalToken'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; expiresAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** IPv4 addresses and CIDR ranges a post must come from; empty: any. */ ipAllowlist: Array<Scalars['String']['output']>; /** A reusable token can be posted to until it expires; otherwise it is spent by its first signal. */ reusable: Scalars['Boolean']['output']; revokedAt?: Maybe<Scalars['DateTime']['output']>; runId: Scalars['ID']['output']; /** The signal a POST to the token's URL sends. */ signalName: Scalars['String']['output']; /** When the token was last used (a single-use token is spent then). */ usedAt?: Maybe<Scalars['DateTime']['output']>; }; /** A new signal token: post the signal's payload as JSON to `url`. */ export type WorkflowSignalTokenCreated = { __typename?: 'WorkflowSignalTokenCreated'; signalToken: WorkflowSignalToken; /** The opaque token (wrt1.…); shown only here. */ token: Scalars['String']['output']; /** POST /api/webhooks/signal/<token> on the workflow service's public host. */ url: Scalars['String']['output']; }; export type WorkflowStaticDataRecord = { __typename?: 'WorkflowStaticDataRecord'; createdAt: Scalars['DateTime']['output']; data: Scalars['JSON']['output']; id: Scalars['ID']['output']; /** Empty string for GLOBAL-scoped records. */ nodeId: Scalars['String']['output']; scope: StaticDataScope; sizeBytes: Scalars['Int']['output']; updatedAt: Scalars['DateTime']['output']; version: Scalars['Int']['output']; workflowKey: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; export declare enum WorkflowStatus { Active = "ACTIVE", Archived = "ARCHIVED", Deprecated = "DEPRECATED", Draft = "DRAFT" } /** Workflow summary response */ export type WorkflowSummaryResponse = { __typename?: 'WorkflowSummaryResponse'; createdAt: Scalars['DateTime']['output']; lastModified: Scalars['DateTime']['output']; latestVersion?: Maybe<Scalars['String']['output']>; totalVersions: Scalars['Int']['output']; workflowKey: Scalars['String']['output']; }; /** Why a workflow task failed. A workflow task failure never fails the run; the task is retried. */ export declare enum WorkflowTaskFailureCause { BundleIntegrity = "BUNDLE_INTEGRITY", BundleUnavailable = "BUNDLE_UNAVAILABLE", HistoryLimit = "HISTORY_LIMIT", Internal = "INTERNAL", InvalidRequest = "INVALID_REQUEST", IsolateMemory = "ISOLATE_MEMORY", NonDeterminism = "NON_DETERMINISM", ProtocolMismatch = "PROTOCOL_MISMATCH", TaskTimeout = "TASK_TIMEOUT", UnsupportedCommand = "UNSUPPORTED_COMMAND", WorkflowCodeError = "WORKFLOW_CODE_ERROR" } export type WorkflowTaskFailureInput = { cause: WorkflowTaskFailureCause; details?: InputMaybe<Scalars['JSON']['input']>; message: Scalars['String']['input']; stackTrace?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowTaskHeartbeatAck = { __typename?: 'WorkflowTaskHeartbeatAck'; cancelRequested: Scalars['Boolean']['output']; /** * The named local activities the service holds as granted (their la:<id> NodeState is RUNNING): * their results are accepted. A worker runs only these; with fluidgrids.durable-parity off it is * empty unless an earlier heartbeat granted them. */ grantedLocalActivityIds: Array<Scalars['String']['output']>; leaseExpiresAt: Scalars['DateTime']['output']; }; /** The lease of one workflow-task attempt. Everything that decides behaviour comes from here, never from the job. */ export type WorkflowTaskLease = { __typename?: 'WorkflowTaskLease'; accepted: Scalars['Boolean']['output']; attempt: Scalars['Int']['output']; buildId?: Maybe<Scalars['String']['output']>; bundle?: Maybe<WorkflowCodeBundleAccess>; cancelRequested: Scalars['Boolean']['output']; /** * Phase C (D-SDK1-32): the bundle features (code.features names) the workspace's flags enable, sent * as the task request's `features`. A bundle with interceptors runs only when they are listed. */ features: Array<Scalars['String']['output']>; historyBytes: Scalars['Float']['output']; /** The history length the attempt works from; pass it back as expectedHistoryLength. */ historyLength: Scalars['Int']['output']; /** The WorkflowInfoSnapshot of the task request. */ info: Scalars['JSON']['output']; leaseExpiresAt: Scalars['DateTime']['output']; /** Milliseconds from the task's start that local activities may extend it to (parity, spec code-first 11 §2.12). */ localActivityBudgetMs: Scalars['Int']['output']; maxHistoryBytes: Scalars['Float']['output']; /** The run's history caps: its snapshot (parity, raised per workspace up to the plan ceiling), else the defaults. */ maxHistoryEvents: Scalars['Int']['output']; /** * Phase C (CX8): the queries this task answers once its history is replayed, each { queryId, name, * args }. Only query tasks of a self-hosted `worker`-determinism run carry them; a managed run's * queries are a service replay (DC2), so this is empty for every managed lease. */ queries: Array<Scalars['JSON']['output']>; /** Why the lease was refused: NOT_FOUND, NOT_DURABLE, RUN_CLOSED, STALE_TASK, ALREADY_STARTED, BACKOFF. */ reason?: Maybe<Scalars['String']['output']>; runId: Scalars['ID']['output']; runMode: RunMode; /** The attempt's start: the task request's nowMs. */ startedAt: Scalars['DateTime']['output']; taskId: Scalars['ID']['output']; taskQueue?: Maybe<Scalars['String']['output']>; /** The attempt's trace context (gap G20): its `fluidgrids.workflow_task` span is the parent. Null when refused. */ traceContext?: Maybe<WorkflowTraceContext>; /** * Phase C (C-ABI-H): the pending updates this task is delivered, each { updateId, name, args, * headers }: the task request's `updates`. Answering them is relief (accepted with any flag state). */ updates: Array<Scalars['JSON']['output']>; version?: Maybe<Scalars['String']['output']>; workflowFn?: Maybe<Scalars['String']['output']>; workflowKey?: Maybe<Scalars['String']['output']>; workflowTaskTimeoutMs: Scalars['Int']['output']; }; /** A local activity a worker is about to run inside its workflow task (parity). */ export type WorkflowTaskLocalActivityInput = { /** The attempt the worker runs, 1-based. */ attempt?: InputMaybe<Scalars['Int']['input']>; localActivityId: Scalars['String']['input']; nodeType?: InputMaybe<Scalars['String']['input']>; operation?: InputMaybe<Scalars['String']['input']>; summary?: InputMaybe<Scalars['String']['input']>; }; export declare enum WorkflowTestAssertionOperator { /** A number lies between `min` and `max` (inclusive; either may be omitted). */ Between = "BETWEEN", /** A string contains `expected`, or an array contains an element equal to it. */ Contains = "CONTAINS", /** The value equals `expected` (deep equality). */ Equals = "EQUALS", Exists = "EXISTS", /** An array has between `min` and `max` items (inclusive; either may be omitted). */ ItemCount = "ITEM_COUNT", /** The value is valid against the JSON Schema in `expected`. */ JsonSchema = "JSON_SCHEMA", /** A string matches the regular expression in `expected`. */ Matches = "MATCHES", NotContains = "NOT_CONTAINS", NotEquals = "NOT_EQUALS", NotExists = "NOT_EXISTS" } /** One rule on a node's output. */ export type WorkflowTestAssertionRule = { __typename?: 'WorkflowTestAssertionRule'; expected?: Maybe<Scalars['JSON']['output']>; max?: Maybe<Scalars['Float']['output']>; /** Shown when the rule does not hold. */ message?: Maybe<Scalars['String']['output']>; min?: Maybe<Scalars['Float']['output']>; operator: WorkflowTestAssertionOperator; /** Dotted path into the node output (e.g. `body.items.0.id`); null checks the whole output. */ path?: Maybe<Scalars['String']['output']>; }; export type WorkflowTestAssertionRuleInput = { expected?: InputMaybe<Scalars['JSON']['input']>; max?: InputMaybe<Scalars['Float']['input']>; message?: InputMaybe<Scalars['String']['input']>; min?: InputMaybe<Scalars['Float']['input']>; operator: WorkflowTestAssertionOperator; path?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowTestCase = { __typename?: 'WorkflowTestCase'; connectionMocks: Array<WorkflowTestConnectionMock>; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; enabled: Scalars['Boolean']['output']; expectations: Array<WorkflowTestNodeExpectation>; expectedStatus: WorkflowTestExpectedStatus; id: Scalars['ID']['output']; /** The case's result in the most recent of the workflow's last 20 finished suite runs that ran it; null when none of them did. */ lastResult?: Maybe<WorkflowTestCaseResult>; name: Scalars['String']['output']; /** Pinned node outputs: { [nodeId]: { data: { ... } } }. */ pinnedOutputs: Scalars['JSON']['output']; sortOrder: Scalars['Int']['output']; triggerData: Scalars['JSON']['output']; /** The node the run starts on; null starts on the workflow's single entry node. */ triggerNodeId?: Maybe<Scalars['String']['output']>; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workflowKey: Scalars['String']['output']; }; /** * A whole test case. Updating replaces every field. At most 256 KiB of JSON per * case, 100 mocks, 100 pinned nodes and 100 checked nodes. */ export type WorkflowTestCaseInput = { connectionMocks?: InputMaybe<Array<WorkflowTestConnectionMockInput>>; description?: InputMaybe<Scalars['String']['input']>; /** Default true; disabled cases are skipped by runWorkflowTests. */ enabled?: InputMaybe<Scalars['Boolean']['input']>; expectations?: InputMaybe<Array<WorkflowTestNodeExpectationInput>>; /** Default COMPLETED. */ expectedStatus?: InputMaybe<WorkflowTestExpectedStatus>; /** 1 to 200 characters, unique (ignoring case) among the workflow's test cases. */ name: Scalars['String']['input']; /** { [nodeId]: { data: { ... } } } */ pinnedOutputs?: InputMaybe<Scalars['JSON']['input']>; sortOrder?: InputMaybe<Scalars['Int']['input']>; triggerData?: InputMaybe<Scalars['JSON']['input']>; triggerNodeId?: InputMaybe<Scalars['String']['input']>; }; export type WorkflowTestCaseResult = { __typename?: 'WorkflowTestCaseResult'; caseId: Scalars['ID']['output']; caseName: Scalars['String']['output']; completedAt?: Maybe<Scalars['DateTime']['output']>; failures: Array<WorkflowTestFailure>; /** The TEST run of the case; null when it could not start. */ runId?: Maybe<Scalars['ID']['output']>; runStatus?: Maybe<RunStatus>; status: WorkflowTestRunStatus; }; /** * A canned connection result: the node returns `response` (or fails with `error`) * instead of calling its connection. `operation` narrows it to one operation. */ export type WorkflowTestConnectionMock = { __typename?: 'WorkflowTestConnectionMock'; error?: Maybe<WorkflowTestMockError>; nodeId: Scalars['String']['output']; operation?: Maybe<Scalars['String']['output']>; response?: Maybe<Scalars['JSON']['output']>; }; export type WorkflowTestConnectionMockInput = { error?: InputMaybe<WorkflowTestMockErrorInput>; nodeId: Scalars['String']['input']; operation?: InputMaybe<Scalars['String']['input']>; /** Set exactly one of response and error. */ response?: InputMaybe<Scalars['JSON']['input']>; }; /** The run outcome a test case expects. */ export declare enum WorkflowTestExpectedStatus { Completed = "COMPLETED", Failed = "FAILED" } export type WorkflowTestFailure = { __typename?: 'WorkflowTestFailure'; /** ASSERTION_FAILED, NODE_FAILED, NODE_TIMEOUT, RUN_FAILED, UNEXPECTED_STATUS, EXPECTED_NODE_NOT_RUN, RUN_NOT_STARTED, UNKNOWN_NODE, RUN_CANCELLED, RUN_TERMINATED, RUN_MISSING or SUITE_TIMEOUT. */ code: Scalars['String']['output']; /** For ASSERTION_FAILED, the rules that did not hold; the node's output on the run holds every rule result. */ message: Scalars['String']['output']; nodeId?: Maybe<Scalars['String']['output']>; }; export type WorkflowTestMockError = { __typename?: 'WorkflowTestMockError'; errorType?: Maybe<ErrorType>; message: Scalars['String']['output']; }; export type WorkflowTestMockErrorInput = { errorType?: InputMaybe<ErrorType>; message: Scalars['String']['input']; }; /** The rules a test case checks on one node's output when the node completes. */ export type WorkflowTestNodeExpectation = { __typename?: 'WorkflowTestNodeExpectation'; nodeId: Scalars['String']['output']; rules: Array<WorkflowTestAssertionRule>; }; export type WorkflowTestNodeExpectationInput = { nodeId: Scalars['String']['input']; /** 1 to 50 rules. */ rules: Array<WorkflowTestAssertionRuleInput>; }; export type WorkflowTestRun = { __typename?: 'WorkflowTestRun'; completedAt?: Maybe<Scalars['DateTime']['output']>; id: Scalars['ID']['output']; results: Array<WorkflowTestCaseResult>; source: WorkflowTestRunSource; startedAt: Scalars['DateTime']['output']; status: WorkflowTestRunStatus; summary: WorkflowTestRunSummary; triggeredBy: Scalars['String']['output']; version: Scalars['String']['output']; workflowKey: Scalars['String']['output']; }; export declare enum WorkflowTestRunSource { Api = "API", Cli = "CLI", Ui = "UI" } export declare enum WorkflowTestRunStatus { /** No case failed, but at least one could not run (not started, cancelled or timed out). */ Error = "ERROR", /** At least one case failed: an assertion did not hold or the run did not end as expected. */ Failed = "FAILED", /** Every case passed. */ Passed = "PASSED", /** Started; no case run has begun yet. */ Pending = "PENDING", /** At least one case run has not finished. */ Running = "RUNNING" } export type WorkflowTestRunSummary = { __typename?: 'WorkflowTestRunSummary'; errored: Scalars['Int']['output']; failed: Scalars['Int']['output']; passed: Scalars['Int']['output']; /** Cases whose run has not finished. */ pending: Scalars['Int']['output']; total: Scalars['Int']['output']; }; export type WorkflowTimeRange = { __typename?: 'WorkflowTimeRange'; from: Scalars['String']['output']; to: Scalars['String']['output']; }; /** * The W3C trace context of a workflow-task or activity attempt (gap G20, spec code-first 09 §5). * `traceparent` names the attempt's span of the run's trace; a worker parents its spans on it so * they join the run trace. */ export type WorkflowTraceContext = { __typename?: 'WorkflowTraceContext'; traceparent: Scalars['String']['output']; tracestate?: Maybe<Scalars['String']['output']>; }; /** One update of a durable-function run. */ export type WorkflowUpdateResult = { __typename?: 'WorkflowUpdateResult'; acceptedAt?: Maybe<Scalars['DateTime']['output']>; completedAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; /** The failure of a REJECTED update, or of a COMPLETED one whose handler failed. */ failure?: Maybe<Scalars['JSON']['output']>; name: Scalars['String']['output']; /** The handler's result (COMPLETED), following the run's data-privacy settings. */ result?: Maybe<Scalars['JSON']['output']>; runId: Scalars['ID']['output']; status: WorkflowRunUpdateStatus; updateId: Scalars['ID']['output']; }; export type WorkflowUpdateScheduledJobInput = { config?: InputMaybe<Scalars['JSON']['input']>; enabled?: InputMaybe<Scalars['Boolean']['input']>; name?: InputMaybe<Scalars['String']['input']>; schedule?: InputMaybe<Scalars['String']['input']>; timezone?: InputMaybe<Scalars['String']['input']>; }; /** How long updateWorkflowRun waits before it answers (Phase C). */ export declare enum WorkflowUpdateWaitFor { /** Until a workflow task accepts or rejects the update. */ Accepted = "ACCEPTED", /** Until the update completes (or is rejected). */ Completed = "COMPLETED" } /** * Workflow usage summary over the service's own run data. * * Non-monetary counters only. Money figures (usage charges, rate card) are * owned by global-billing-svc — the canonical meter already flows there via * @usage(quotaName: "minutes-run", productId: "workflow") on run triggers. */ export type WorkflowUsageSummary = { __typename?: 'WorkflowUsageSummary'; breakdown: Scalars['JSON']['output']; nodeMinutes: Scalars['Float']['output']; period: Scalars['JSON']['output']; totalDurationSeconds: Scalars['Float']['output']; totalNodeExecutions: Scalars['Int']['output']; totalWorkflowRuns: Scalars['Int']['output']; }; /** Input for workflow usage summary queries */ export type WorkflowUsageSummaryInput = { contextFilter?: InputMaybe<Scalars['JSON']['input']>; endDate: Scalars['DateTime']['input']; startDate: Scalars['DateTime']['input']; }; /** * One validation finding. `code` is stable (for example `edge.sourceNotFound`, * `interface.invalidSchema`, `strict.legacyMirror`); `message` is English. */ export type WorkflowValidationIssue = { __typename?: 'WorkflowValidationIssue'; code: Scalars['String']['output']; message: Scalars['String']['output']; nodeId?: Maybe<Scalars['String']['output']>; path?: Maybe<Scalars['String']['output']>; }; /** Result of validateWorkflowDefinition. */ export type WorkflowValidationResult = { __typename?: 'WorkflowValidationResult'; errors: Array<WorkflowValidationIssue>; /** irHash of the definition; null when it is not structurally a definition. */ irHash?: Maybe<Scalars['String']['output']>; /** 1 when the definition uses no version-2 field, 2 otherwise. */ schemaVersion: Scalars['Int']['output']; /** Every task queue the definition names. */ taskQueues: Array<Scalars['String']['output']>; valid: Scalars['Boolean']['output']; warnings: Array<WorkflowValidationIssue>; }; export type WorkflowVariable = { __typename?: 'WorkflowVariable'; createdAt: Scalars['DateTime']['output']; createdBy: Scalars['String']['output']; description?: Maybe<Scalars['String']['output']>; externalProvider: SecretProviderType; /** * For SECRET_REFERENCE, the reference in its canonical form * (`$secrets.<provider>.<name>[.<field>]`). Never a value. */ externalRef?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; isSecret: Scalars['Boolean']['output']; key: Scalars['String']['output']; projectId?: Maybe<Scalars['ID']['output']>; scope: VariableScope; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; /** * Resolved value for display. Always null when `isSecret` is true, or when * the variable is externally-backed (`externalProvider != NONE`) — use * `revealWorkflowVariableValue` to fetch the real value in either case. */ value?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** Why one variable could not be resolved for a run. */ export type WorkflowVariableResolutionError = { __typename?: 'WorkflowVariableResolutionError'; /** * PROVIDER_NOT_FOUND, SECRET_NOT_FOUND, FIELD_NOT_FOUND, PROVIDER_UNAVAILABLE, * ACCESS_DENIED, INVALID_REFERENCE (from wspace-security-svc), or NO_AUTHOR, * SECURITY_SERVICE_UNAVAILABLE, PROVIDER_RETIRED, UNRESOLVED. */ code: Scalars['String']['output']; key: Scalars['String']['output']; message: Scalars['String']['output']; }; export type WorkflowVariableResponse = MutationResponse & { __typename?: 'WorkflowVariableResponse'; message: Scalars['String']['output']; success: Scalars['Boolean']['output']; variable?: Maybe<WorkflowVariable>; }; export type WorkflowVariablesListResponse = { __typename?: 'WorkflowVariablesListResponse'; total: Scalars['Int']['output']; variables: Array<WorkflowVariable>; }; /** Deterministic JSON diff between two versions of one workflow. */ export type WorkflowVersionDiff = { __typename?: 'WorkflowVersionDiff'; entries: Array<WorkflowVersionDiffEntry>; fromVersion: Scalars['String']['output']; toVersion: Scalars['String']['output']; truncated: Scalars['Boolean']['output']; workflowKey: Scalars['String']['output']; }; /** One structural change between two workflow versions. */ export type WorkflowVersionDiffEntry = { __typename?: 'WorkflowVersionDiffEntry'; after?: Maybe<Scalars['JSON']['output']>; before?: Maybe<Scalars['JSON']['output']>; kind: WorkflowDiffKind; path: Scalars['String']['output']; }; /** Who can reach a workflow (BOFF-9726). */ export declare enum WorkflowVisibility { /** Only the owner, the grantees and workspace admins. */ Restricted = "RESTRICTED", /** Everyone in the workspace, as their workspace role allows. */ Workspace = "WORKSPACE" } /** Explicit workspace controls for managed FluidGrids AI. Unenrolled workspaces retain legacy behavior. */ export type WorkflowWorkspaceAiPolicy = { __typename?: 'WorkflowWorkspaceAiPolicy'; customized: Scalars['Boolean']['output']; enabled: Scalars['Boolean']['output']; /** Whether managed execution enforces this approval. Inactive controls cannot acknowledge a policy change. */ enforcementActive: Scalars['Boolean']['output']; /** Whether an owner can make the first enrollment decision. This does not itself change execution behavior. */ enrollmentAvailable: Scalars['Boolean']['output']; requiredConsentVersion: Scalars['String']['output']; revision: Scalars['Int']['output']; updatedAt?: Maybe<Scalars['DateTime']['output']>; }; /** Workspace type (owned by workspace service) */ export type Workspace = { __typename?: 'Workspace'; /** Physical or mailing address */ address?: Maybe<Scalars['String']['output']>; /** Primary contact email for the workspace */ contactEmail?: Maybe<Scalars['String']['output']>; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when workspace was created */ createdAt: Scalars['DateTime']['output']; /** User ID who created the workspace (opaque reference) */ createdBy?: Maybe<Scalars['ID']['output']>; /** Timestamp when workspace was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Custom domain for the workspace */ domain?: Maybe<Scalars['String']['output']>; /** All files in this workspace */ files: Array<File>; /** All folders in this workspace */ folders: Array<Folder>; /** Unique identifier for the workspace */ id: Scalars['ID']['output']; /** Apps installed in this workspace */ installedApps: Array<WorkspaceInstalledApp>; /** * Platform-controlled disposable-workspace marker (BOFF-6560). true only for * workspaces created through createDisposableWorkspace (service-actor-only); * every other workspace — including ones with a "test"/"demo"-looking name — * is false and cannot be reclassified after creation. wspace services use * this as the authoritative precondition before running destructive * demo/test-only seed or teardown operations against a workspace. */ isDisposable: Scalars['Boolean']['output']; /** Display name of the workspace */ name: Scalars['String']['output']; /** Organization ID if part of an organization (opaque reference) */ orgId?: Maybe<Scalars['ID']['output']>; /** Current owner user ID (opaque reference) */ ownerId: Scalars['ID']['output']; /** Current operational status */ status: WorkspaceStatus; /** Storage usage breakdown by type */ storageUsage: StorageUsage; /** Total storage used by this workspace in bytes */ storageUsed: Scalars['BigInt']['output']; /** Structured tag assignments via wspace-tags-svc (preferred) */ tagAssignments?: Maybe<Array<WorkspaceTagAssignment>>; /** Parent tenant ID (opaque reference) */ tenantId: Scalars['ID']['output']; /** Type of workspace (multi-user or personal) */ type: WorkspaceType; /** Timestamp when workspace was last updated */ updatedAt: Scalars['DateTime']['output']; /** Public website URL */ website?: Maybe<Scalars['String']['output']>; }; /** Workspace type (owned by workspace service) */ export type WorkspaceFilesArgs = { filter?: InputMaybe<FileFilterInput>; pagination?: InputMaybe<PaginationInput>; sort?: InputMaybe<FileSortInput>; }; /** Workspace type (owned by workspace service) */ export type WorkspaceFoldersArgs = { filter?: InputMaybe<FolderFilterInput>; parentId?: InputMaybe<Scalars['ID']['input']>; }; export type WorkspaceActivityEvent = { __typename?: 'WorkspaceActivityEvent'; /** The action performed (e.g., 'create', 'update', 'delete') */ action: Scalars['String']['output']; /** The actor who performed the action */ actorId: Scalars['String']['output']; /** When the activity occurred */ createdAt: Scalars['DateTime']['output']; /** Unique identifier for the activity event */ id: Scalars['ID']['output']; /** Additional metadata about the activity */ metadata?: Maybe<Scalars['JSON']['output']>; /** The ID of the resource affected */ resourceId?: Maybe<Scalars['String']['output']>; /** The type of resource affected (e.g., 'workspace', 'member', 'project') */ resourceType?: Maybe<Scalars['String']['output']>; /** The workspace where the activity occurred */ workspaceId: Scalars['String']['output']; }; /** The workspace's run model calls in a period, per workflow, most expensive first (BOFF-9935). */ export type WorkspaceAiUsage = { __typename?: 'WorkspaceAiUsage'; from: Scalars['DateTime']['output']; lines: Array<WorkspaceAiUsageLine>; to: Scalars['DateTime']['output']; total: WorkflowRunAiUsage; /** True when more workflows made calls than `lines` lists (at most 500). */ truncated: Scalars['Boolean']['output']; }; /** Model calls of one workflow's runs in a period (BOFF-9935). */ export type WorkspaceAiUsageLine = { __typename?: 'WorkspaceAiUsageLine'; /** Runs that made at least one model call. */ runs: Scalars['Int']['output']; usage: WorkflowRunAiUsage; workflowKey: Scalars['String']['output']; }; /** Result of a single workspace app installation */ export type WorkspaceAppInstallResult = { __typename?: 'WorkspaceAppInstallResult'; /** Installed app if successful */ app?: Maybe<WorkspaceInstalledApp>; /** Error message if failed */ error?: Maybe<Scalars['String']['output']>; /** Whether installation succeeded */ success: Scalars['Boolean']['output']; /** Workspace ID */ workspaceId: Scalars['ID']['output']; }; export type WorkspaceAuditLog = { __typename?: 'WorkspaceAuditLog'; actorId: Scalars['ID']['output']; actorType: Scalars['String']['output']; changes?: Maybe<Scalars['JSON']['output']>; context?: Maybe<Scalars['JSON']['output']>; createdAt: Scalars['DateTime']['output']; description: Scalars['String']['output']; eventType: Scalars['String']['output']; id: Scalars['ID']['output']; ipAddress?: Maybe<Scalars['String']['output']>; metadata?: Maybe<Scalars['JSON']['output']>; userAgent?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** * Paginated list of workspace audit log entries. * Follows the module's `{items, total, hasMore}` convention used by * `WorkspaceList`, `ProjectList`, `WorkspaceMemberList`, etc. */ export type WorkspaceAuditLogList = { __typename?: 'WorkspaceAuditLogList'; hasMore: Scalars['Boolean']['output']; items: Array<WorkspaceAuditLog>; total: Scalars['Int']['output']; }; /** An industry pack: a named, ordered set of modules with suggested workflows. */ export type WorkspaceBlueprint = { __typename?: 'WorkspaceBlueprint'; description: Scalars['String']['output']; icon?: Maybe<Scalars['String']['output']>; industry: Scalars['String']['output']; key: Scalars['String']['output']; moduleKeys: Array<Scalars['String']['output']>; name: Scalars['String']['output']; /** Plain-English cross-module workflow suggestions. Not auto-provisioned. */ workflowHints: Array<Scalars['String']['output']>; }; /** What the customer told us about their business. */ export type WorkspaceBusinessProfile = { __typename?: 'WorkspaceBusinessProfile'; description?: Maybe<Scalars['String']['output']>; goals: Array<Scalars['String']['output']>; industry?: Maybe<Scalars['String']['output']>; region?: Maybe<Scalars['String']['output']>; teamSize?: Maybe<Scalars['String']['output']>; }; export type WorkspaceBusinessProfileInput = { description: Scalars['String']['input']; goals?: InputMaybe<Array<Scalars['String']['input']>>; industry?: InputMaybe<Scalars['String']['input']>; region?: InputMaybe<Scalars['String']['input']>; teamSize?: InputMaybe<Scalars['String']['input']>; }; /** The saved composition of a workspace. */ export type WorkspaceComposition = { __typename?: 'WorkspaceComposition'; blueprintKey?: Maybe<Scalars['String']['output']>; businessProfile: WorkspaceBusinessProfile; createdAt: Scalars['DateTime']['output']; createdBy?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; modules: Array<WorkspaceCompositionModule>; pricingMode: WorkspaceCompositionPricingMode; rationale?: Maybe<Scalars['String']['output']>; /** Increments on every save and every reset; the sequence continues across a reset, so a composition saved again after a reset has a revision above 1. */ revision: Scalars['Int']['output']; source: WorkspaceCompositionSource; /** Always `ACTIVE` on a returned composition: a reset composition is kept (with its history) as `RESET` and reads as null until it is saved again. */ status: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; updatedBy?: Maybe<Scalars['String']['output']>; workspaceId: Scalars['ID']['output']; }; /** One module inside a composition. */ export type WorkspaceCompositionModule = { __typename?: 'WorkspaceCompositionModule'; enabled: Scalars['Boolean']['output']; key: Scalars['String']['output']; /** How the module opens from the composed navigation. Always `EMBEDDED` for platform (EMBEDDED-kind) modules; rows saved before open modes existed read as `EMBEDDED`. */ openMode: WorkspaceModuleOpenMode; order: Scalars['Int']['output']; pinned: Scalars['Boolean']['output']; }; export type WorkspaceCompositionModuleInput = { enabled: Scalars['Boolean']['input']; key: Scalars['String']['input']; /** How the module opens. Defaults to `EMBEDDED`; ignored (stored as `EMBEDDED`) for platform (EMBEDDED-kind) modules. */ openMode?: InputMaybe<WorkspaceModuleOpenMode>; order?: InputMaybe<Scalars['Int']['input']>; pinned?: InputMaybe<Scalars['Boolean']['input']>; }; /** How a workspace is billed once composed. */ export declare enum WorkspaceCompositionPricingMode { /** The à-la-carte Modules plan: one base plan plus one add-on per module. */ Modules = "MODULES", /** Keep the existing per-product plans. */ Product = "PRODUCT" } /** A proposed composition (not persisted until saved). */ export type WorkspaceCompositionProposal = { __typename?: 'WorkspaceCompositionProposal'; blueprintKey?: Maybe<Scalars['String']['output']>; businessProfile: WorkspaceBusinessProfile; /** 0–1. */ confidence: Scalars['Float']['output']; /** `ai:<provider>` or `heuristic`. */ generatedBy: Scalars['String']['output']; modules: Array<WorkspaceCompositionModule>; /** Plain-English note for the customer about how this proposal was made (e.g. AI proposals were rate limited for the workspace, so the rule-based composer answered). Null when there is nothing to say. */ notice?: Maybe<Scalars['String']['output']>; rationale: Scalars['String']['output']; suggestedPricingMode: WorkspaceCompositionPricingMode; }; /** Where a composition came from. */ export declare enum WorkspaceCompositionSource { Ai = "AI", Blueprint = "BLUEPRINT", Manual = "MANUAL" } /** Filter input for context-based queries */ export type WorkspaceContextFilterInput = { /** Filter by metadata fields */ metadata?: InputMaybe<Scalars['JSONObject']['input']>; /** Filter by operation type */ type?: InputMaybe<Scalars['String']['input']>; }; /** Input for operation context */ export type WorkspaceContextInput = { /** Additional context data */ metadata?: InputMaybe<Scalars['JSONObject']['input']>; /** Operation type identifier */ type?: InputMaybe<Scalars['String']['input']>; }; export type WorkspaceCountMetric = { __typename?: 'WorkspaceCountMetric'; currentValue: Scalars['Float']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** Workspace-level default settings for agents, sessions, vibes, and advanced options */ export type WorkspaceDefaults = { __typename?: 'WorkspaceDefaults'; /** Auto-reconnect agents after network interruptions */ agentAutoReconnect: Scalars['Boolean']['output']; /** Agent heartbeat interval in seconds */ agentHeartbeatInterval: Scalars['Int']['output']; /** Maximum sessions per agent */ agentMaxSessions: Scalars['Int']['output']; /** Auto-sync git status when a vibe is activated */ autoGitSync: Scalars['Boolean']['output']; /** Auto-start sessions when a vibe is activated */ autoStartSessions: Scalars['Boolean']['output']; /** Auto-update agents when new versions are available */ autoUpdate: Scalars['Boolean']['output']; /** Default agent ID for new sessions */ defaultAgent?: Maybe<Scalars['String']['output']>; /** Default environment variables (KEY=value format, newline separated) */ defaultEnvironmentVariables?: Maybe<Scalars['String']['output']>; /** Default session type (TMUX, SSH, TERMINAL, SCRIPT) */ defaultSessionType: Scalars['String']['output']; /** Default vibe type (PROJECT, REPOSITORY, WORKSPACE, MONOREPO, PACKAGE, CUSTOM) */ defaultVibeType: Scalars['String']['output']; /** Log level (debug, info, warn, error) */ logLevel: Scalars['String']['output']; /** * Workspace default for session-history recording (F2). OFF by default. An * admin flips this for the whole workspace; a per-user override * (UserPreferences.sessionHistoryRecording) takes precedence when set. */ sessionHistoryRecording: Scalars['Boolean']['output']; /** Whether anonymous telemetry is enabled */ telemetryEnabled: Scalars['Boolean']['output']; }; /** Paginated directory of workspace members. */ export type WorkspaceDirectoryConnection = { __typename?: 'WorkspaceDirectoryConnection'; edges: Array<WorkspaceDirectoryEntry>; pageInfo: PageInfo; totalCount?: Maybe<Scalars['Int']['output']>; }; /** * A single workspace member as seen by the directory. Identity fields are resolved * from wspace-workspace-svc; `id` is the member's user id. */ export type WorkspaceDirectoryEntry = { __typename?: 'WorkspaceDirectoryEntry'; avatar?: Maybe<Scalars['String']['output']>; email?: Maybe<Scalars['String']['output']>; id: Scalars['ID']['output']; name: Scalars['String']['output']; }; /** Filter for the workspace member directory. */ export type WorkspaceDirectoryFilter = { /** Case-insensitive substring matched against member name and email. */ search?: InputMaybe<Scalars['String']['input']>; }; export type WorkspaceFacet = { __typename?: 'WorkspaceFacet'; count: Scalars['Int']['output']; workspaceId: Scalars['ID']['output']; workspaceName?: Maybe<Scalars['String']['output']>; }; /** Filter input for querying workspaces */ export type WorkspaceFilterInput = { /** Filter by operation context */ context?: InputMaybe<WorkspaceContextFilterInput>; /** Filter by creator user ID */ createdById?: InputMaybe<Scalars['ID']['input']>; /** Filter by organization ID */ orgId?: InputMaybe<Scalars['ID']['input']>; /** Filter by owner user ID */ ownerId?: InputMaybe<Scalars['ID']['input']>; /** Search by name (partial match) */ search?: InputMaybe<Scalars['String']['input']>; /** Filter by workspace status */ status?: InputMaybe<WorkspaceStatus>; /** Filter by tenant ID */ tenantId?: InputMaybe<Scalars['ID']['input']>; /** Filter by workspace type */ type?: InputMaybe<WorkspaceType>; }; /** Authoritative target context returned only to the guardian admission service. */ export type WorkspaceGuardianContext = { __typename?: 'WorkspaceGuardianContext'; membershipCreated: Scalars['Boolean']['output']; membershipId: Scalars['ID']['output']; organizationId: Scalars['ID']['output']; tenantId: Scalars['ID']['output']; workspaceId: Scalars['ID']['output']; }; /** An app installed in a workspace */ export type WorkspaceInstalledApp = { __typename?: 'WorkspaceInstalledApp'; /** App name (identifier) */ appName: Scalars['String']['output']; /** Display name for the app */ displayName: Scalars['String']['output']; /** Unique identifier */ id: Scalars['ID']['output']; /** When the app was installed */ installedAt: Scalars['DateTime']['output']; /** User ID who installed the app */ installedById?: Maybe<Scalars['String']['output']>; /** Whether the app is enabled */ isEnabled: Scalars['Boolean']['output']; /** Full app manifest JSON */ manifest: Scalars['JSON']['output']; /** App type (widget, integration, tool, etc.) */ type: Scalars['String']['output']; /** Last update timestamp */ updatedAt: Scalars['DateTime']['output']; /** App version */ version: Scalars['String']['output']; /** Workspace this app is installed in */ workspaceId: Scalars['ID']['output']; }; /** A single workspace-level invite sent to one email address. */ export type WorkspaceInvite = { __typename?: 'WorkspaceInvite'; /** Set when the invitee accepts. Null otherwise. */ acceptedAt?: Maybe<Scalars['DateTime']['output']>; /** Set when the inviter cancels. Null otherwise. */ cancelledAt?: Maybe<Scalars['DateTime']['output']>; createdAt: Scalars['DateTime']['output']; /** Hard expiry — 14 days after `createdAt` by default. */ expiresAt: Scalars['DateTime']['output']; /** Stable invite identifier (used by sender-side mutations / cancel). */ id: Scalars['ID']['output']; /** Email address of the invitee. Not necessarily a user yet. */ inviteeEmail: Scalars['String']['output']; /** Actor (user) who sent the invite. */ inviterId: Scalars['ID']['output']; /** Optional message from the inviter included in the email. */ message?: Maybe<Scalars['String']['output']>; /** Set when the invitee rejects. Null otherwise. */ rejectedAt?: Maybe<Scalars['DateTime']['output']>; /** Workspace role to grant on acceptance, e.g. "member", "admin". */ role: Scalars['String']['output']; /** * Lifecycle status. May be reported as `EXPIRED` even when the underlying row * is still `PENDING` if `expiresAt < now()` (resolver-computed, not mutated). */ status: WorkspaceInviteStatus; /** * Opaque random token used in the email accept/reject link. Exposed so * sender-side UIs can rebuild the URL; the recipient flow uses * `acceptWorkspaceInvite(token:)` / `rejectWorkspaceInvite(token:)`. */ token: Scalars['String']['output']; updatedAt: Scalars['DateTime']['output']; /** Workspace the invitee is being invited to join. */ workspaceId: Scalars['ID']['output']; }; /** Paginated list of workspace invites. */ export type WorkspaceInviteList = { __typename?: 'WorkspaceInviteList'; hasMore: Scalars['Boolean']['output']; items: Array<WorkspaceInvite>; total: Scalars['Int']['output']; }; /** Lifecycle status of a workspace-level invite. */ export declare enum WorkspaceInviteStatus { /** Invitee has accepted; a corresponding workspace membership now exists. */ Accepted = "ACCEPTED", /** Inviter (or workspace admin) cancelled the invite before acceptance. */ Cancelled = "CANCELLED", /** Invite was not acted on before `expiresAt`. */ Expired = "EXPIRED", /** Invite has been sent and is awaiting acceptance. */ Pending = "PENDING", /** Invitee has declined the invite. */ Rejected = "REJECTED" } export type WorkspaceJobExecutionsFilter = { fromDate?: InputMaybe<Scalars['DateTime']['input']>; scheduledJobId?: InputMaybe<Scalars['ID']['input']>; status?: InputMaybe<JobStatus>; toDate?: InputMaybe<Scalars['DateTime']['input']>; }; /** A recorded legal acceptance for a specific actor, workspace, and checkpoint. */ export type WorkspaceLegalAcceptance = { __typename?: 'WorkspaceLegalAcceptance'; acceptedAt: Scalars['DateTime']['output']; actorId: Scalars['ID']['output']; checkpointType: WorkspaceLegalCheckpointType; /** * Version of the legal document that was accepted. Clients compare it with the * version they currently publish and re-prompt when the stored one is older. */ documentVersion: Scalars['String']['output']; id: Scalars['ID']['output']; /** * Product whose legal documents were accepted (for example `workspaces` or * `timecampus`). Acceptances are isolated per product. */ productKey: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** Connection of legal acceptance records. */ export type WorkspaceLegalAcceptanceConnection = { __typename?: 'WorkspaceLegalAcceptanceConnection'; items: Array<WorkspaceLegalAcceptance>; totalCount: Scalars['Int']['output']; }; /** In-product legal acceptance checkpoint types. */ export declare enum WorkspaceLegalCheckpointType { AiFirstUse = "AI_FIRST_USE", Signup = "SIGNUP", TenantDpaAccept = "TENANT_DPA_ACCEPT" } /** Paginated list of workspaces */ export type WorkspaceList = { __typename?: 'WorkspaceList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of workspace items */ items: Array<Workspace>; /** Total count of workspaces matching the filter */ total: Scalars['Int']['output']; }; /** * WorkspaceMember represents a user's membership in a workspace. * Used to track which users belong to which workspaces. */ export type WorkspaceMember = { __typename?: 'WorkspaceMember'; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when membership was created */ createdAt: Scalars['DateTime']['output']; /** Timestamp when membership was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier for the workspace member record */ id: Scalars['ID']['output']; /** Member role (e.g. owner, admin, member, viewer) */ role: Scalars['String']['output']; /** Member status (e.g. active, pending, suspended) */ status: Scalars['String']['output']; /** Timestamp when membership was last updated */ updatedAt: Scalars['DateTime']['output']; /** User ID (opaque reference) */ userId: Scalars['ID']['output']; /** Workspace ID (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** A membership fact for a caller-supplied user ID; contains no directory/profile data. */ export type WorkspaceMemberEligibility = { __typename?: 'WorkspaceMemberEligibility'; eligible: Scalars['Boolean']['output']; userId: Scalars['ID']['output']; }; /** Filter input for querying workspace members */ export type WorkspaceMemberFilterInput = { /** Filter by operation context */ context?: InputMaybe<WorkspaceContextFilterInput>; /** Filter by user ID */ userId?: InputMaybe<Scalars['ID']['input']>; /** Filter by workspace ID */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** Workspace-scoped user identity for visible members. */ export type WorkspaceMemberIdentity = { __typename?: 'WorkspaceMemberIdentity'; avatar?: Maybe<Scalars['String']['output']>; displayName: Scalars['String']['output']; email?: Maybe<Scalars['String']['output']>; userId: Scalars['ID']['output']; }; /** Paginated list of workspace members */ export type WorkspaceMemberList = { __typename?: 'WorkspaceMemberList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of workspace member items */ items: Array<WorkspaceMember>; /** Total count of workspace members matching the filter */ total: Scalars['Int']['output']; }; /** A module the customer can bring into their workspace. */ export type WorkspaceModuleDefinition = { __typename?: 'WorkspaceModuleDefinition'; /** Exact name of the billing add-on under product `composed`, when the module is priced à la carte. */ addonName?: Maybe<Scalars['String']['output']>; /** Catalog grouping. Embedded: core|collaboration|content|automation|operations|commerce; linked: the product catalogue category. */ category: Scalars['String']['output']; /** Core modules are always enabled and cannot be removed. */ core: Scalars['Boolean']['output']; dependsOn: Array<Scalars['String']['output']>; description: Scalars['String']['output']; /** Product app URL for LINKED modules (used when the module's open mode is `PRODUCT_APP`). */ externalUrl?: Maybe<Scalars['String']['output']>; /** lucide-react icon name. */ icon?: Maybe<Scalars['String']['output']>; industries: Array<Scalars['String']['output']>; /** Stable key, e.g. `files` or `product:healthybowl`. */ key: Scalars['String']['output']; keywords: Array<Scalars['String']['output']>; kind: WorkspaceModuleKind; name: Scalars['String']['output']; /** Shell navigation item id for EMBEDDED modules (null for route-only modules such as `dashboard`). */ navId?: Maybe<Scalars['String']['output']>; /** In-shell route: `/<key>` for EMBEDDED modules (e.g. `/files`); the embedded product route `/m/<slug>` for LINKED modules (FluidGrids reuses `/workflows`). */ path?: Maybe<Scalars['String']['output']>; /** Product slug for LINKED modules. */ productSlug?: Maybe<Scalars['String']['output']>; /** Existing quota names (the names `@usage`/quota enforcement key on, e.g. `platform.files.count`) metered while the module is enabled. */ quotaNames: Array<Scalars['String']['output']>; }; /** * Whether a module renders inside the Workspaces shell or opens a product's * own app shell. */ export declare enum WorkspaceModuleKind { Embedded = "EMBEDDED", Linked = "LINKED" } /** How a module opens from the composed navigation. */ export declare enum WorkspaceModuleOpenMode { /** Render inside the Workspaces shell at the module's `path` (default). */ Embedded = "EMBEDDED", /** Hand off to the product's own app shell (`externalUrl`). */ ProductApp = "PRODUCT_APP" } /** * WorkspaceNodeInstallation: Tracks which nodes are installed/enabled in each workspace * Federated entity identified by id */ export type WorkspaceNodeInstallation = { __typename?: 'WorkspaceNodeInstallation'; config?: Maybe<Scalars['JSON']['output']>; disabledAt?: Maybe<Scalars['DateTime']['output']>; enabledAt: Scalars['DateTime']['output']; enabledById: Scalars['String']['output']; id: Scalars['ID']['output']; isEnabled: Scalars['Boolean']['output']; nodeType: Scalars['String']['output']; nodeVersion: Scalars['String']['output']; publishType: PublishType; updatedAt: Scalars['DateTime']['output']; workspaceId: Scalars['String']['output']; }; /** Operation context for filtering and scoping */ export type WorkspaceOperationContext = { __typename?: 'WorkspaceOperationContext'; /** Application identifier */ appId?: Maybe<Scalars['ID']['output']>; /** Custom context data */ custom?: Maybe<Scalars['JSONObject']['output']>; /** Additional context data */ metadata?: Maybe<Scalars['JSONObject']['output']>; /** Project identifier */ projectId?: Maybe<Scalars['ID']['output']>; /** Operation type identifier */ type?: Maybe<Scalars['String']['output']>; /** User identifier */ userId?: Maybe<Scalars['ID']['output']>; /** Workspace identifier */ workspaceId?: Maybe<Scalars['ID']['output']>; }; /** * A quota limit assigned to a specific workspace, funded by a billing subscription or add-on. * Activity Service is the source of truth for these records. */ export type WorkspaceQuotaAssignment = { __typename?: 'WorkspaceQuotaAssignment'; /** Reference to the billing account that funded this assignment. */ billingAccountId?: Maybe<Scalars['ID']['output']>; createdAt: Scalars['DateTime']['output']; id: Scalars['ID']['output']; /** False when the assignment is soft-deleted or superseded. */ isActive: Scalars['Boolean']['output']; /** When the used counter was last zeroed by the reset job. */ lastResetAt?: Maybe<Scalars['DateTime']['output']>; /** The maximum allowed value. Null when noLimit is true. */ limit?: Maybe<Scalars['Float']['output']>; /** True when this quota is unlimited. */ noLimit: Scalars['Boolean']['output']; productId: Scalars['String']['output']; quotaMode: WorkspaceQuotaMode; quotaName: Scalars['String']['output']; /** Reset cadence: NEVER | DAILY | MONTHLY. */ resetPeriod: Scalars['String']['output']; /** Reference to the billing subscription that includes this quota. */ subscriptionId?: Maybe<Scalars['ID']['output']>; updatedAt: Scalars['DateTime']['output']; /** Accumulated usage since the last reset. */ used: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; /** * Result of a workspace quota capacity check. * The gateway uses assignmentId in the subsequent trackUsage call so that * activity-svc does not have to re-resolve the assignment for every request. */ export type WorkspaceQuotaCheckResult = { __typename?: 'WorkspaceQuotaCheckResult'; /** True when the quota has enough remaining capacity for the requested amount. */ allowed: Scalars['Boolean']['output']; /** * ID of the active WorkspaceQuotaAssignment. Null when no assignment exists * (feature not provisioned for this workspace). */ assignmentId?: Maybe<Scalars['ID']['output']>; /** * Remaining capacity after deducting the requested amount. * Null when noLimit is true or no assignment exists. */ limitLeft?: Maybe<Scalars['Float']['output']>; /** True when the quota is unlimited. */ noLimit: Scalars['Boolean']['output']; }; /** * Whether a workspace quota is pooled (shared across resource types) or dedicated * to a specific resource type. */ export declare enum WorkspaceQuotaMode { dedicated = "dedicated", pooled = "pooled" } /** Combined view of a workspace quota — the assignment (limit) plus the live scraped value. */ export type WorkspaceQuotaOverview = { __typename?: 'WorkspaceQuotaOverview'; assignment: WorkspaceQuotaAssignment; /** Effective usage: liveStatus.currentValue if available, otherwise assignment.used. */ effectiveUsed: Scalars['Float']['output']; /** Latest scraped value from service metrics (null if the scraper has not run yet). */ liveStatus?: Maybe<WorkspaceQuotaStatus>; /** Remaining quota: limit - effectiveUsed. Null when noLimit is true. */ remaining?: Maybe<Scalars['Float']['output']>; /** Usage as a percentage of the limit (0-100). 0 when noLimit is true. */ usagePercentage: Scalars['Float']['output']; }; /** * Point-in-time snapshot of a workspace quota (at most one per hour per quota). * Useful for trend charts on the usage page. */ export type WorkspaceQuotaSnapshot = { __typename?: 'WorkspaceQuotaSnapshot'; id: Scalars['ID']['output']; limit?: Maybe<Scalars['Float']['output']>; noLimit: Scalars['Boolean']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; snapshotAt: Scalars['DateTime']['output']; value: Scalars['Float']['output']; workspaceId: Scalars['ID']['output']; }; /** * Current live value of a workspace's quota, as scraped from service metrics. * Updated every scrape cycle (default 60 s). Source of truth for collector-tracked quotas. */ export type WorkspaceQuotaStatus = { __typename?: 'WorkspaceQuotaStatus'; currentValue: Scalars['Float']['output']; limit?: Maybe<Scalars['Float']['output']>; noLimit: Scalars['Boolean']['output']; productId: Scalars['String']['output']; quotaName: Scalars['String']['output']; scrapedAt: Scalars['DateTime']['output']; workspaceId: Scalars['ID']['output']; }; /** * WorkspaceResource represents a managed resource within a workspace. * Resources can be compute instances, databases, storage, or other infrastructure. */ export type WorkspaceResource = { __typename?: 'WorkspaceResource'; /** Resource configuration as JSON (provider-specific) */ config?: Maybe<Scalars['JSON']['output']>; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when resource was created */ createdAt: Scalars['DateTime']['output']; /** User ID who created the resource (opaque reference) */ createdBy?: Maybe<Scalars['ID']['output']>; /** Timestamp when resource was soft deleted */ deletedAt?: Maybe<Scalars['DateTime']['output']>; /** Unique identifier for the resource */ id: Scalars['ID']['output']; /** Timestamp of last access/usage */ lastAccessedAt?: Maybe<Scalars['DateTime']['output']>; /** Resource metadata as JSON (labels, annotations) */ metadata?: Maybe<Scalars['JSON']['output']>; /** Display name of the resource */ name: Scalars['String']['output']; /** Current operational status */ status: WorkspaceResourceStatus; /** Backward-compatible flat tags view derived from universal tags */ tags?: Maybe<Array<Scalars['String']['output']>>; /** Type of resource (compute, storage, database, etc.) */ type: WorkspaceResourceType; /** Universal entity-owned tags for categorization and filtering */ universalTags: Scalars['JSON']['output']; /** Timestamp when resource was last updated */ updatedAt: Scalars['DateTime']['output']; /** Workspace ID that owns this resource (opaque reference) */ workspaceId: Scalars['ID']['output']; }; /** Exported resource configuration */ export type WorkspaceResourceConfigExport = { __typename?: 'WorkspaceResourceConfigExport'; /** Resource configuration (provider-specific) */ config?: Maybe<Scalars['JSON']['output']>; /** Timestamp when the config was exported */ exportedAt: Scalars['DateTime']['output']; /** Resource metadata (tags, labels, annotations) */ metadata?: Maybe<Scalars['JSON']['output']>; /** Resource name */ name: Scalars['String']['output']; /** Resource ID that was exported */ resourceId: Scalars['ID']['output']; /** Resource type */ type: Scalars['String']['output']; /** Export format version */ version: Scalars['String']['output']; }; /** Filter input for querying workspace resources */ export type WorkspaceResourceFilterInput = { /** Filter by operation context */ context?: InputMaybe<WorkspaceContextFilterInput>; /** Filter by creator user ID */ createdById?: InputMaybe<Scalars['ID']['input']>; /** Search by name (partial match) */ search?: InputMaybe<Scalars['String']['input']>; /** Filter by resource status */ status?: InputMaybe<WorkspaceResourceStatus>; /** Filter by resource type */ type?: InputMaybe<WorkspaceResourceType>; /** Filter by workspace ID */ workspaceId?: InputMaybe<Scalars['ID']['input']>; }; /** * WorkspaceResourceLimits exposes the workspace's plan quota ceilings, sourced * on read from the workspace's billing plan (global-billing-svc — the canonical * quota owner) via src/utils/usage-billing.ts. * * Every field is null when there is no finite plan cap: the quota is assigned * as unlimited, the workspace has no billing account (unbilled/dev/internal), * or billing is temporarily unreachable (fail-open). Null never means zero. */ export type WorkspaceResourceLimits = { __typename?: 'WorkspaceResourceLimits'; /** * Activity/audit log retention window in days * (billing quota workspaces.activity.retention_days); null = unlimited/unassigned */ activityRetentionDays?: Maybe<Scalars['Int']['output']>; /** * Maximum active projects per workspace * (billing quota workspaces.projects.count); null = unlimited/unassigned */ maxProjects?: Maybe<Scalars['Int']['output']>; /** * Total storage across all workspaces in GB * (billing quota workspaces.storage.total_gb); null = unlimited/unassigned */ maxStorageGb?: Maybe<Scalars['Int']['output']>; /** * Maximum workspace containers for the account * (billing quota workspaces.workspaces.count); null = unlimited/unassigned */ maxWorkspaces?: Maybe<Scalars['Int']['output']>; /** Workspace ID these limits apply to (from gateway context) */ workspaceId: Scalars['ID']['output']; }; /** Paginated list of workspace resources */ export type WorkspaceResourceList = { __typename?: 'WorkspaceResourceList'; /** Whether there are more items beyond the current page */ hasMore: Scalars['Boolean']['output']; /** Array of workspace resource items */ items: Array<WorkspaceResource>; /** Total count of resources matching the filter */ total: Scalars['Int']['output']; }; export declare enum WorkspaceResourceStatus { /** Resource is active and operational */ Active = "ACTIVE", /** Resource is being provisioned */ Creating = "CREATING", /** Resource has been deleted */ Deleted = "DELETED", /** Resource is being deleted */ Deleting = "DELETING", /** Resource is in an error state */ Error = "ERROR", /** Resource exists but is not currently running */ Inactive = "INACTIVE", /** Resource is restarting */ Restarting = "RESTARTING", /** Resource is starting up */ Starting = "STARTING", /** Resource is stopped */ Stopped = "STOPPED", /** Resource is shutting down */ Stopping = "STOPPING", /** Resource is suspended */ Suspended = "SUSPENDED" } export declare enum WorkspaceResourceType { /** API gateway and endpoint resources */ Api = "API", /** Cache resources (Redis, Memcached) */ Cache = "CACHE", /** CDN resources (content delivery networks) */ Cdn = "CDN", /** Compute resources (VMs, containers, serverless functions) */ Compute = "COMPUTE", /** Container orchestration resources (Kubernetes, Docker) */ Container = "CONTAINER", /** Custom resource types */ Custom = "CUSTOM", /** Database resources (SQL, NoSQL, graph databases) */ Database = "DATABASE", /** Serverless function resources */ Function = "FUNCTION", /** Network resources (VPCs, load balancers) */ Network = "NETWORK", /** Message queue resources (NATS, RabbitMQ, Kafka) */ Queue = "QUEUE", /** Storage resources (object storage, file systems) */ Storage = "STORAGE" } /** Information about a workspace resource type */ export type WorkspaceResourceTypeInfo = { __typename?: 'WorkspaceResourceTypeInfo'; /** Description of what this resource type is used for */ description: Scalars['String']['output']; /** Unique identifier for the resource type */ id: Scalars['ID']['output']; /** Display name of the resource type */ name: Scalars['String']['output']; }; /** * WorkspaceResourceUsage tracks current resource consumption for a workspace. * Updated periodically to reflect actual usage. */ export type WorkspaceResourceUsage = { __typename?: 'WorkspaceResourceUsage'; /** Operation context for filtering and scoping */ context?: Maybe<WorkspaceOperationContext>; /** Timestamp when usage record was created */ createdAt: Scalars['DateTime']['output']; /** Current number of API endpoints */ currentApiEndpoints: Scalars['Int']['output']; /** Bandwidth usage this month in GB */ currentBandwidthGb: Scalars['Float']['output']; /** Current number of compute resources */ currentComputeResources: Scalars['Int']['output']; /** Current number of containers */ currentContainers: Scalars['Int']['output']; /** Current CPU cores in use */ currentCpuCores: Scalars['Int']['output']; /** Current number of database instances */ currentDatabases: Scalars['Int']['output']; /** Function invocations this month */ currentFunctionInvocations: Scalars['Int']['output']; /** Current memory usage in GB */ currentMemoryGb: Scalars['Float']['output']; /** Current storage usage in GB */ currentStorageGb: Scalars['Float']['output']; /** Custom usage metrics as JSON */ customUsage?: Maybe<Scalars['JSON']['output']>; /** Unique identifier for the usage record */ id: Scalars['ID']['output']; /** Timestamp of last usage calculation */ lastCalculatedAt: Scalars['DateTime']['output']; /** Timestamp when usage record was last updated */ updatedAt: Scalars['DateTime']['output']; /** Workspace ID this usage applies to (opaque reference) */ workspaceId: Scalars['ID']['output']; }; export type WorkspaceScheduleQuotas = { __typename?: 'WorkspaceScheduleQuotas'; currentActiveSchedules: Scalars['Int']['output']; currentExecutionsThisHour: Scalars['Int']['output']; maxActiveSchedules: Scalars['Int']['output']; maxScheduleExecutionsPerHour: Scalars['Int']['output']; nearingLimit: Scalars['Boolean']['output']; utilizationPercentage: Scalars['Float']['output']; }; /** Workspace secret metadata (does not expose actual secret) */ export type WorkspaceSecretInfo = { __typename?: 'WorkspaceSecretInfo'; /** Whether a secret exists for this workspace */ exists: Scalars['Boolean']['output']; /** Whether the secret is currently in rotation grace period */ inGracePeriod: Scalars['Boolean']['output']; /** When the secret was last rotated */ lastRotatedAt?: Maybe<Scalars['String']['output']>; /** Number of times the secret has been rotated */ rotationCount?: Maybe<Scalars['Int']['output']>; /** Secret status (ACTIVE, ROTATING, REVOKED) */ status?: Maybe<Scalars['String']['output']>; /** Workspace ID */ workspaceId: Scalars['String']['output']; }; /** Risky workflows of the workspace (BOFF-9747). */ export type WorkspaceSecurityReport = { __typename?: 'WorkspaceSecurityReport'; /** The checks that ran. */ checks: Array<WorkflowSecurityCheck>; counts: Array<WorkflowSecurityCheckCount>; /** Findings, most severe first. */ findings: Array<WorkflowSecurityFinding>; generatedAt: Scalars['DateTime']['output']; /** What the report covers and what it does not. */ notes: Array<Scalars['String']['output']>; /** True when workflows or findings were left out because the report is bounded. */ truncated: Scalars['Boolean']['output']; workflowsScanned: Scalars['Int']['output']; }; /** Which checks to run; every check when omitted or empty. */ export type WorkspaceSecurityReportInput = { checks?: InputMaybe<Array<WorkflowSecurityCheck>>; }; export declare enum WorkspaceStatus { /** Workspace is active and operational */ Active = "ACTIVE", /** Workspace is archived but not deleted */ Archived = "ARCHIVED", /** Workspace is marked for deletion */ Deleted = "DELETED", /** Workspace is temporarily suspended */ Suspended = "SUSPENDED" } /** Structured tag assignment for a Workspace entity */ export type WorkspaceTagAssignment = { __typename?: 'WorkspaceTagAssignment'; assignedAt?: Maybe<Scalars['DateTime']['output']>; assignedBy?: Maybe<Scalars['ID']['output']>; entityId: Scalars['ID']['output']; entityType: Scalars['String']['output']; id: Scalars['ID']['output']; metadata?: Maybe<Scalars['JSON']['output']>; source: Scalars['String']['output']; tag?: Maybe<UniversalTag>; tagId: Scalars['ID']['output']; validFrom?: Maybe<Scalars['DateTime']['output']>; validTo?: Maybe<Scalars['DateTime']['output']>; }; export declare enum WorkspaceType { /** Personal single-user workspace */ user = "user", /** Standard multi-user workspace */ workspace = "workspace" } export declare enum WorkspacesExportFormat { Csv = "CSV", Json = "JSON" } export type WorkspacesExportJobResponse = { __typename?: 'WorkspacesExportJobResponse'; createdAt: Scalars['DateTime']['output']; entityTypes: Array<Scalars['String']['output']>; format: Scalars['String']['output']; id: Scalars['ID']['output']; status: Scalars['String']['output']; workspaceId: Scalars['ID']['output']; }; /** One crop's harvested quantity, in one unit, inside a single month of the yield trend. */ export type YieldSeriesEntry = { __typename?: 'YieldSeriesEntry'; /** The crop's own name, exactly as the farmer registered it. */ cropName: Scalars['String']['output']; /** Total harvested quantity for this crop, in this unit, in this month. */ quantity: Scalars['Float']['output']; /** * The unit the quantity is recorded in, as stored on the harvest record (\"kg\", \"boxes\", …). * A crop harvested in more than one unit yields one entry PER unit: quantities in different * units are never added together, because 100 kg + 10 boxes is not 110 of anything. */ unit: Scalars['String']['output']; }; export type YieldTrendPoint = { __typename?: 'YieldTrendPoint'; /** @deprecated Use `series`, which reports every crop and keeps units apart (BOFF-6363) */ basil: Scalars['Float']['output']; /** @deprecated Use `series`, which reports every crop and keeps units apart (BOFF-6363) */ lettuce: Scalars['Float']['output']; month: Scalars['String']['output']; /** @deprecated Use `series`, which reports every crop and keeps units apart (BOFF-6363) */ peppers: Scalars['Float']['output']; /** * Every crop that yielded in this month, by its real name and unit, largest quantity first. * A crop harvested in two units appears twice, once per unit. Empty when nothing was * harvested — never fabricated. */ series: Array<YieldSeriesEntry>; /** * DEPRECATED shape (BOFF-6363). These four fields only ever counted crops whose name * contained "tomato", "pepper", "lettuce" or "basil"; every other crop's harvest was * dropped, so a wheat farmer saw a flat-zero chart while the Crop Yield KPI counted the * same harvest. They also sum across units. Kept so existing clients keep resolving — * read `series` instead. * @deprecated Use `series`, which reports every crop and keeps units apart (BOFF-6363) */ tomatoes: Scalars['Float']['output']; };