@legendsoflearning/lol-sdk-core 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,6 +129,22 @@ type AgentsAdmin = {
129
129
  role: AdminRole;
130
130
  updatedAt: Scalars['DateTime']['output'];
131
131
  };
132
+ /** Error from authentication */
133
+ type AuthError = {
134
+ __typename?: 'AuthError';
135
+ /** Field that caused the error */
136
+ field: Scalars['String']['output'];
137
+ /** Error message */
138
+ message: Scalars['String']['output'];
139
+ };
140
+ /** Minimal user info returned from sign-in */
141
+ type AuthUser = {
142
+ __typename?: 'AuthUser';
143
+ email: Scalars['String']['output'];
144
+ firstName?: Maybe<Scalars['String']['output']>;
145
+ id: Scalars['ID']['output'];
146
+ lastName?: Maybe<Scalars['String']['output']>;
147
+ };
132
148
  type Conversation = {
133
149
  __typename?: 'Conversation';
134
150
  agent?: Maybe<Agent>;
@@ -225,6 +241,11 @@ declare enum MessageRole {
225
241
  ToolResult = "TOOL_RESULT",
226
242
  User = "USER"
227
243
  }
244
+ /** OAuth providers */
245
+ declare enum OauthProvider {
246
+ /** Google OAuth */
247
+ Google = "GOOGLE"
248
+ }
228
249
  type RootMutationType = {
229
250
  __typename?: 'RootMutationType';
230
251
  /** Archive an agent */
@@ -257,6 +278,16 @@ type RootMutationType = {
257
278
  disableAgentsSchedule?: Maybe<Schedule>;
258
279
  /** Enable a schedule */
259
280
  enableAgentsSchedule?: Maybe<Schedule>;
281
+ /**
282
+ * Exchange an OAuth authorization code for a session token.
283
+ *
284
+ * After the user authenticates with an OAuth provider (e.g., Google),
285
+ * the frontend receives an authorization code. This mutation exchanges
286
+ * that code for user info and returns a session token with all roles.
287
+ *
288
+ * This is a public endpoint - no authentication required.
289
+ */
290
+ exchangeOauthCode?: Maybe<SignInResult>;
260
291
  /** Reject a tool call that requires confirmation */
261
292
  rejectAgentsToolCall?: Maybe<Scalars['Boolean']['output']>;
262
293
  /** Remove a tool from an agent */
@@ -265,6 +296,18 @@ type RootMutationType = {
265
296
  restoreAgent?: Maybe<Agent>;
266
297
  /** Send a message to a conversation */
267
298
  sendAgentsMessage?: Maybe<Message>;
299
+ /**
300
+ * Sign in with email/password.
301
+ *
302
+ * Validates credentials against the users table. Returns a session token
303
+ * that includes all roles the user qualifies for.
304
+ *
305
+ * The optional `role` parameter can verify the user has a specific role,
306
+ * but the token will always contain ALL roles regardless.
307
+ *
308
+ * This is a public endpoint - no authentication required.
309
+ */
310
+ signIn?: Maybe<SignInResult>;
268
311
  /** Update an existing agent */
269
312
  updateAgent?: Maybe<Agent>;
270
313
  /** Update an agents admin */
@@ -320,6 +363,11 @@ type RootMutationTypeDisableAgentsScheduleArgs = {
320
363
  type RootMutationTypeEnableAgentsScheduleArgs = {
321
364
  id: Scalars['ID']['input'];
322
365
  };
366
+ type RootMutationTypeExchangeOauthCodeArgs = {
367
+ code: Scalars['String']['input'];
368
+ provider: OauthProvider;
369
+ redirectUri: Scalars['String']['input'];
370
+ };
323
371
  type RootMutationTypeRejectAgentsToolCallArgs = {
324
372
  id: Scalars['ID']['input'];
325
373
  };
@@ -333,6 +381,11 @@ type RootMutationTypeRestoreAgentArgs = {
333
381
  type RootMutationTypeSendAgentsMessageArgs = {
334
382
  input: SendMessageInput;
335
383
  };
384
+ type RootMutationTypeSignInArgs = {
385
+ email: Scalars['String']['input'];
386
+ password: Scalars['String']['input'];
387
+ role?: InputMaybe<SignInRole>;
388
+ };
336
389
  type RootMutationTypeUpdateAgentArgs = {
337
390
  id: Scalars['ID']['input'];
338
391
  input: UpdateAgentInput;
@@ -495,6 +548,43 @@ type SendMessageInput = {
495
548
  content: Scalars['String']['input'];
496
549
  conversationId: Scalars['ID']['input'];
497
550
  };
551
+ /** Result of sign-in mutation */
552
+ type SignInResult = {
553
+ __typename?: 'SignInResult';
554
+ /** Any errors that occurred */
555
+ errors: Array<Maybe<AuthError>>;
556
+ /** All roles this user has */
557
+ roles?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
558
+ /** JWT token for subsequent requests */
559
+ sessionToken?: Maybe<Scalars['String']['output']>;
560
+ /** Whether authentication succeeded */
561
+ success: Scalars['Boolean']['output'];
562
+ /** Authenticated user info */
563
+ user?: Maybe<AuthUser>;
564
+ };
565
+ /** Available roles for sign-in verification */
566
+ declare enum SignInRole {
567
+ /** Super admin - internal users */
568
+ Admin = "ADMIN",
569
+ /** Agents dashboard access */
570
+ AgentsAdmin = "AGENTS_ADMIN",
571
+ /** Content admin - is_content_admin flag */
572
+ ContentAdmin = "CONTENT_ADMIN",
573
+ /** District admin - enterprise customers */
574
+ DistrictAdmin = "DISTRICT_ADMIN",
575
+ /** Game developer role - requires game_developer_id on user */
576
+ GameDeveloper = "GAME_DEVELOPER",
577
+ /** Parent role - requires parent_id on user */
578
+ Parent = "PARENT",
579
+ /** Question editor - can_edit_questions flag */
580
+ QuestionEditor = "QUESTION_EDITOR",
581
+ /** School admin - enterprise customers */
582
+ SchoolAdmin = "SCHOOL_ADMIN",
583
+ /** Student role - requires student_id on user */
584
+ Student = "STUDENT",
585
+ /** Teacher role - requires teacher_id on user */
586
+ Teacher = "TEACHER"
587
+ }
498
588
  type ToolCall = {
499
589
  __typename?: 'ToolCall';
500
590
  cacheHit: Scalars['Boolean']['output'];
@@ -641,6 +731,58 @@ type UsageStats = {
641
731
  totalRuns?: Maybe<Scalars['Int']['output']>;
642
732
  totalToolCalls?: Maybe<Scalars['Int']['output']>;
643
733
  };
734
+ type SignInMutationVariables = Exact<{
735
+ email: Scalars['String']['input'];
736
+ password: Scalars['String']['input'];
737
+ role?: InputMaybe<SignInRole>;
738
+ }>;
739
+ type SignInMutation = {
740
+ __typename?: 'RootMutationType';
741
+ signIn?: {
742
+ __typename?: 'SignInResult';
743
+ success: boolean;
744
+ sessionToken?: string | null;
745
+ roles?: Array<string | null> | null;
746
+ user?: {
747
+ __typename?: 'AuthUser';
748
+ id: string;
749
+ email: string;
750
+ firstName?: string | null;
751
+ lastName?: string | null;
752
+ } | null;
753
+ errors: Array<{
754
+ __typename?: 'AuthError';
755
+ field: string;
756
+ message: string;
757
+ } | null>;
758
+ } | null;
759
+ };
760
+ type ExchangeOauthCodeMutationVariables = Exact<{
761
+ code: Scalars['String']['input'];
762
+ provider: OauthProvider;
763
+ redirectUri: Scalars['String']['input'];
764
+ }>;
765
+ type ExchangeOauthCodeMutation = {
766
+ __typename?: 'RootMutationType';
767
+ exchangeOauthCode?: {
768
+ __typename?: 'SignInResult';
769
+ success: boolean;
770
+ sessionToken?: string | null;
771
+ roles?: Array<string | null> | null;
772
+ user?: {
773
+ __typename?: 'AuthUser';
774
+ id: string;
775
+ email: string;
776
+ firstName?: string | null;
777
+ lastName?: string | null;
778
+ } | null;
779
+ errors: Array<{
780
+ __typename?: 'AuthError';
781
+ field: string;
782
+ message: string;
783
+ } | null>;
784
+ } | null;
785
+ };
644
786
  type CreateAgentMutationVariables = Exact<{
645
787
  input: CreateAgentInput;
646
788
  }>;
@@ -1461,6 +1603,8 @@ type GetAgentsCurrentAdminQuery = {
1461
1603
  updatedAt: any;
1462
1604
  } | null;
1463
1605
  };
1606
+ declare const SignInDocument: TypedDocumentNode<SignInMutation, SignInMutationVariables>;
1607
+ declare const ExchangeOauthCodeDocument: TypedDocumentNode<ExchangeOauthCodeMutation, ExchangeOauthCodeMutationVariables>;
1464
1608
  declare const CreateAgentDocument: TypedDocumentNode<CreateAgentMutation, CreateAgentMutationVariables>;
1465
1609
  declare const UpdateAgentDocument: TypedDocumentNode<UpdateAgentMutation, UpdateAgentMutationVariables>;
1466
1610
  declare const ArchiveAgentDocument: TypedDocumentNode<ArchiveAgentMutation, ArchiveAgentMutationVariables>;
@@ -1531,6 +1675,8 @@ declare function isFragmentReady<TQuery, TFrag>(queryNode: DocumentTypeDecoratio
1531
1675
  * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1532
1676
  */
1533
1677
  type Documents = {
1678
+ "\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": typeof SignInDocument;
1679
+ "\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": typeof ExchangeOauthCodeDocument;
1534
1680
  "\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n": typeof CreateAgentDocument;
1535
1681
  "\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n": typeof UpdateAgentDocument;
1536
1682
  "\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n": typeof ArchiveAgentDocument;
@@ -1585,6 +1731,14 @@ declare const documents: Documents;
1585
1731
  * Please regenerate the types.
1586
1732
  */
1587
1733
  declare function graphql(source: string): unknown;
1734
+ /**
1735
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1736
+ */
1737
+ declare function graphql(source: "\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"): (typeof documents)["\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"];
1738
+ /**
1739
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1740
+ */
1741
+ declare function graphql(source: "\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"): (typeof documents)["\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"];
1588
1742
  /**
1589
1743
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1590
1744
  */
@@ -1743,4 +1897,4 @@ declare function graphql(source: "\n query GetAgentsAdmins {\n agentsAdmins
1743
1897
  declare function graphql(source: "\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"];
1744
1898
  type DocumentType<TDocumentNode extends TypedDocumentNode<any, any>> = TDocumentNode extends TypedDocumentNode<infer TType, any> ? TType : never;
1745
1899
 
1746
- export { AdminRole, type Agent, AgentRole, AgentStatus, type AgentsAdmin, ArchiveAgentDocument, type ArchiveAgentMutation, type ArchiveAgentMutationVariables, ArchiveAgentsConversationDocument, type ArchiveAgentsConversationMutation, type ArchiveAgentsConversationMutationVariables, AssignToolToAgentDocument, type AssignToolToAgentMutation, type AssignToolToAgentMutationVariables, CancelAgentsRunDocument, type CancelAgentsRunMutation, type CancelAgentsRunMutationVariables, ConfirmAgentsToolCallDocument, type ConfirmAgentsToolCallMutation, type ConfirmAgentsToolCallMutationVariables, type Conversation, ConversationStatus, type CreateAdminInput, CreateAgentDocument, type CreateAgentInput, type CreateAgentMutation, type CreateAgentMutationVariables, CreateAgentsAdminDocument, type CreateAgentsAdminMutation, type CreateAgentsAdminMutationVariables, CreateAgentsConversationDocument, type CreateAgentsConversationMutation, type CreateAgentsConversationMutationVariables, CreateAgentsScheduleDocument, type CreateAgentsScheduleMutation, type CreateAgentsScheduleMutationVariables, CreateAgentsToolDocument, type CreateAgentsToolMutation, type CreateAgentsToolMutationVariables, type CreateConversationInput, type CreateScheduleInput, type CreateToolInput, DeleteAgentsAdminDocument, type DeleteAgentsAdminMutation, type DeleteAgentsAdminMutationVariables, DeleteAgentsScheduleDocument, type DeleteAgentsScheduleMutation, type DeleteAgentsScheduleMutationVariables, DeleteAgentsToolDocument, type DeleteAgentsToolMutation, type DeleteAgentsToolMutationVariables, DisableAgentsScheduleDocument, type DisableAgentsScheduleMutation, type DisableAgentsScheduleMutationVariables, type DocumentType, EnableAgentsScheduleDocument, type EnableAgentsScheduleMutation, type EnableAgentsScheduleMutationVariables, type Exact, type FragmentType, GetAgentDocument, type GetAgentQuery, type GetAgentQueryVariables, GetAgentsAdminsDocument, type GetAgentsAdminsQuery, type GetAgentsAdminsQueryVariables, GetAgentsConversationDocument, type GetAgentsConversationQuery, type GetAgentsConversationQueryVariables, GetAgentsConversationsDocument, type GetAgentsConversationsQuery, type GetAgentsConversationsQueryVariables, GetAgentsCurrentAdminDocument, type GetAgentsCurrentAdminQuery, type GetAgentsCurrentAdminQueryVariables, GetAgentsDocument, type GetAgentsQuery, type GetAgentsQueryVariables, GetAgentsRunDocument, type GetAgentsRunQuery, type GetAgentsRunQueryVariables, GetAgentsRunsDocument, type GetAgentsRunsQuery, type GetAgentsRunsQueryVariables, GetAgentsScheduleDocument, type GetAgentsScheduleQuery, type GetAgentsScheduleQueryVariables, GetAgentsSchedulesDocument, type GetAgentsSchedulesQuery, type GetAgentsSchedulesQueryVariables, GetAgentsToolCategoriesDocument, type GetAgentsToolCategoriesQuery, type GetAgentsToolCategoriesQueryVariables, GetAgentsToolDocument, type GetAgentsToolQuery, type GetAgentsToolQueryVariables, GetAgentsToolSourcesDocument, type GetAgentsToolSourcesQuery, type GetAgentsToolSourcesQueryVariables, GetAgentsToolsDocument, type GetAgentsToolsQuery, type GetAgentsToolsQueryVariables, GetAgentsUsageDailyDocument, type GetAgentsUsageDailyQuery, type GetAgentsUsageDailyQueryVariables, GetAgentsUsageStatsDocument, type GetAgentsUsageStatsQuery, type GetAgentsUsageStatsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Message, MessageRole, RejectAgentsToolCallDocument, type RejectAgentsToolCallMutation, type RejectAgentsToolCallMutationVariables, RemoveToolFromAgentDocument, type RemoveToolFromAgentMutation, type RemoveToolFromAgentMutationVariables, RestoreAgentDocument, type RestoreAgentMutation, type RestoreAgentMutationVariables, type RootMutationType, type RootMutationTypeArchiveAgentArgs, type RootMutationTypeArchiveAgentsConversationArgs, type RootMutationTypeAssignToolToAgentArgs, type RootMutationTypeCancelAgentsRunArgs, type RootMutationTypeConfirmAgentsToolCallArgs, type RootMutationTypeCreateAgentArgs, type RootMutationTypeCreateAgentsAdminArgs, type RootMutationTypeCreateAgentsConversationArgs, type RootMutationTypeCreateAgentsScheduleArgs, type RootMutationTypeCreateAgentsToolArgs, type RootMutationTypeDeleteAgentsAdminArgs, type RootMutationTypeDeleteAgentsScheduleArgs, type RootMutationTypeDeleteAgentsToolArgs, type RootMutationTypeDisableAgentsScheduleArgs, type RootMutationTypeEnableAgentsScheduleArgs, type RootMutationTypeRejectAgentsToolCallArgs, type RootMutationTypeRemoveToolFromAgentArgs, type RootMutationTypeRestoreAgentArgs, type RootMutationTypeSendAgentsMessageArgs, type RootMutationTypeUpdateAgentArgs, type RootMutationTypeUpdateAgentsAdminArgs, type RootMutationTypeUpdateAgentsScheduleArgs, type RootMutationTypeUpdateAgentsToolArgs, type RootQueryType, type RootQueryTypeAgentArgs, type RootQueryTypeAgentsArgs, type RootQueryTypeAgentsConversationArgs, type RootQueryTypeAgentsConversationsArgs, type RootQueryTypeAgentsRunArgs, type RootQueryTypeAgentsRunsArgs, type RootQueryTypeAgentsScheduleArgs, type RootQueryTypeAgentsSchedulesArgs, type RootQueryTypeAgentsToolArgs, type RootQueryTypeAgentsToolsArgs, type RootQueryTypeAgentsUsageDailyArgs, type RootQueryTypeAgentsUsageStatsArgs, type Run, RunStatus, type Scalars, type Schedule, ScheduleTaskType, SendAgentsMessageDocument, type SendAgentsMessageMutation, type SendAgentsMessageMutationVariables, type SendMessageInput, type ToolCall, ToolCallStatus, type ToolCategory, type ToolRegistry, type ToolSource, type UpdateAdminInput, UpdateAgentDocument, type UpdateAgentInput, type UpdateAgentMutation, type UpdateAgentMutationVariables, UpdateAgentsAdminDocument, type UpdateAgentsAdminMutation, type UpdateAgentsAdminMutationVariables, UpdateAgentsScheduleDocument, type UpdateAgentsScheduleMutation, type UpdateAgentsScheduleMutationVariables, UpdateAgentsToolDocument, type UpdateAgentsToolMutation, type UpdateAgentsToolMutationVariables, type UpdateScheduleInput, type UpdateToolInput, type UsageDaily, type UsageStats, graphql, isFragmentReady, makeFragmentData, useFragment };
1900
+ export { AdminRole, type Agent, AgentRole, AgentStatus, type AgentsAdmin, ArchiveAgentDocument, type ArchiveAgentMutation, type ArchiveAgentMutationVariables, ArchiveAgentsConversationDocument, type ArchiveAgentsConversationMutation, type ArchiveAgentsConversationMutationVariables, AssignToolToAgentDocument, type AssignToolToAgentMutation, type AssignToolToAgentMutationVariables, type AuthError, type AuthUser, CancelAgentsRunDocument, type CancelAgentsRunMutation, type CancelAgentsRunMutationVariables, ConfirmAgentsToolCallDocument, type ConfirmAgentsToolCallMutation, type ConfirmAgentsToolCallMutationVariables, type Conversation, ConversationStatus, type CreateAdminInput, CreateAgentDocument, type CreateAgentInput, type CreateAgentMutation, type CreateAgentMutationVariables, CreateAgentsAdminDocument, type CreateAgentsAdminMutation, type CreateAgentsAdminMutationVariables, CreateAgentsConversationDocument, type CreateAgentsConversationMutation, type CreateAgentsConversationMutationVariables, CreateAgentsScheduleDocument, type CreateAgentsScheduleMutation, type CreateAgentsScheduleMutationVariables, CreateAgentsToolDocument, type CreateAgentsToolMutation, type CreateAgentsToolMutationVariables, type CreateConversationInput, type CreateScheduleInput, type CreateToolInput, DeleteAgentsAdminDocument, type DeleteAgentsAdminMutation, type DeleteAgentsAdminMutationVariables, DeleteAgentsScheduleDocument, type DeleteAgentsScheduleMutation, type DeleteAgentsScheduleMutationVariables, DeleteAgentsToolDocument, type DeleteAgentsToolMutation, type DeleteAgentsToolMutationVariables, DisableAgentsScheduleDocument, type DisableAgentsScheduleMutation, type DisableAgentsScheduleMutationVariables, type DocumentType, EnableAgentsScheduleDocument, type EnableAgentsScheduleMutation, type EnableAgentsScheduleMutationVariables, type Exact, ExchangeOauthCodeDocument, type ExchangeOauthCodeMutation, type ExchangeOauthCodeMutationVariables, type FragmentType, GetAgentDocument, type GetAgentQuery, type GetAgentQueryVariables, GetAgentsAdminsDocument, type GetAgentsAdminsQuery, type GetAgentsAdminsQueryVariables, GetAgentsConversationDocument, type GetAgentsConversationQuery, type GetAgentsConversationQueryVariables, GetAgentsConversationsDocument, type GetAgentsConversationsQuery, type GetAgentsConversationsQueryVariables, GetAgentsCurrentAdminDocument, type GetAgentsCurrentAdminQuery, type GetAgentsCurrentAdminQueryVariables, GetAgentsDocument, type GetAgentsQuery, type GetAgentsQueryVariables, GetAgentsRunDocument, type GetAgentsRunQuery, type GetAgentsRunQueryVariables, GetAgentsRunsDocument, type GetAgentsRunsQuery, type GetAgentsRunsQueryVariables, GetAgentsScheduleDocument, type GetAgentsScheduleQuery, type GetAgentsScheduleQueryVariables, GetAgentsSchedulesDocument, type GetAgentsSchedulesQuery, type GetAgentsSchedulesQueryVariables, GetAgentsToolCategoriesDocument, type GetAgentsToolCategoriesQuery, type GetAgentsToolCategoriesQueryVariables, GetAgentsToolDocument, type GetAgentsToolQuery, type GetAgentsToolQueryVariables, GetAgentsToolSourcesDocument, type GetAgentsToolSourcesQuery, type GetAgentsToolSourcesQueryVariables, GetAgentsToolsDocument, type GetAgentsToolsQuery, type GetAgentsToolsQueryVariables, GetAgentsUsageDailyDocument, type GetAgentsUsageDailyQuery, type GetAgentsUsageDailyQueryVariables, GetAgentsUsageStatsDocument, type GetAgentsUsageStatsQuery, type GetAgentsUsageStatsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Message, MessageRole, OauthProvider, RejectAgentsToolCallDocument, type RejectAgentsToolCallMutation, type RejectAgentsToolCallMutationVariables, RemoveToolFromAgentDocument, type RemoveToolFromAgentMutation, type RemoveToolFromAgentMutationVariables, RestoreAgentDocument, type RestoreAgentMutation, type RestoreAgentMutationVariables, type RootMutationType, type RootMutationTypeArchiveAgentArgs, type RootMutationTypeArchiveAgentsConversationArgs, type RootMutationTypeAssignToolToAgentArgs, type RootMutationTypeCancelAgentsRunArgs, type RootMutationTypeConfirmAgentsToolCallArgs, type RootMutationTypeCreateAgentArgs, type RootMutationTypeCreateAgentsAdminArgs, type RootMutationTypeCreateAgentsConversationArgs, type RootMutationTypeCreateAgentsScheduleArgs, type RootMutationTypeCreateAgentsToolArgs, type RootMutationTypeDeleteAgentsAdminArgs, type RootMutationTypeDeleteAgentsScheduleArgs, type RootMutationTypeDeleteAgentsToolArgs, type RootMutationTypeDisableAgentsScheduleArgs, type RootMutationTypeEnableAgentsScheduleArgs, type RootMutationTypeExchangeOauthCodeArgs, type RootMutationTypeRejectAgentsToolCallArgs, type RootMutationTypeRemoveToolFromAgentArgs, type RootMutationTypeRestoreAgentArgs, type RootMutationTypeSendAgentsMessageArgs, type RootMutationTypeSignInArgs, type RootMutationTypeUpdateAgentArgs, type RootMutationTypeUpdateAgentsAdminArgs, type RootMutationTypeUpdateAgentsScheduleArgs, type RootMutationTypeUpdateAgentsToolArgs, type RootQueryType, type RootQueryTypeAgentArgs, type RootQueryTypeAgentsArgs, type RootQueryTypeAgentsConversationArgs, type RootQueryTypeAgentsConversationsArgs, type RootQueryTypeAgentsRunArgs, type RootQueryTypeAgentsRunsArgs, type RootQueryTypeAgentsScheduleArgs, type RootQueryTypeAgentsSchedulesArgs, type RootQueryTypeAgentsToolArgs, type RootQueryTypeAgentsToolsArgs, type RootQueryTypeAgentsUsageDailyArgs, type RootQueryTypeAgentsUsageStatsArgs, type Run, RunStatus, type Scalars, type Schedule, ScheduleTaskType, SendAgentsMessageDocument, type SendAgentsMessageMutation, type SendAgentsMessageMutationVariables, type SendMessageInput, SignInDocument, type SignInMutation, type SignInMutationVariables, type SignInResult, SignInRole, type ToolCall, ToolCallStatus, type ToolCategory, type ToolRegistry, type ToolSource, type UpdateAdminInput, UpdateAgentDocument, type UpdateAgentInput, type UpdateAgentMutation, type UpdateAgentMutationVariables, UpdateAgentsAdminDocument, type UpdateAgentsAdminMutation, type UpdateAgentsAdminMutationVariables, UpdateAgentsScheduleDocument, type UpdateAgentsScheduleMutation, type UpdateAgentsScheduleMutationVariables, UpdateAgentsToolDocument, type UpdateAgentsToolMutation, type UpdateAgentsToolMutationVariables, type UpdateScheduleInput, type UpdateToolInput, type UsageDaily, type UsageStats, graphql, isFragmentReady, makeFragmentData, useFragment };
@@ -129,6 +129,22 @@ type AgentsAdmin = {
129
129
  role: AdminRole;
130
130
  updatedAt: Scalars['DateTime']['output'];
131
131
  };
132
+ /** Error from authentication */
133
+ type AuthError = {
134
+ __typename?: 'AuthError';
135
+ /** Field that caused the error */
136
+ field: Scalars['String']['output'];
137
+ /** Error message */
138
+ message: Scalars['String']['output'];
139
+ };
140
+ /** Minimal user info returned from sign-in */
141
+ type AuthUser = {
142
+ __typename?: 'AuthUser';
143
+ email: Scalars['String']['output'];
144
+ firstName?: Maybe<Scalars['String']['output']>;
145
+ id: Scalars['ID']['output'];
146
+ lastName?: Maybe<Scalars['String']['output']>;
147
+ };
132
148
  type Conversation = {
133
149
  __typename?: 'Conversation';
134
150
  agent?: Maybe<Agent>;
@@ -225,6 +241,11 @@ declare enum MessageRole {
225
241
  ToolResult = "TOOL_RESULT",
226
242
  User = "USER"
227
243
  }
244
+ /** OAuth providers */
245
+ declare enum OauthProvider {
246
+ /** Google OAuth */
247
+ Google = "GOOGLE"
248
+ }
228
249
  type RootMutationType = {
229
250
  __typename?: 'RootMutationType';
230
251
  /** Archive an agent */
@@ -257,6 +278,16 @@ type RootMutationType = {
257
278
  disableAgentsSchedule?: Maybe<Schedule>;
258
279
  /** Enable a schedule */
259
280
  enableAgentsSchedule?: Maybe<Schedule>;
281
+ /**
282
+ * Exchange an OAuth authorization code for a session token.
283
+ *
284
+ * After the user authenticates with an OAuth provider (e.g., Google),
285
+ * the frontend receives an authorization code. This mutation exchanges
286
+ * that code for user info and returns a session token with all roles.
287
+ *
288
+ * This is a public endpoint - no authentication required.
289
+ */
290
+ exchangeOauthCode?: Maybe<SignInResult>;
260
291
  /** Reject a tool call that requires confirmation */
261
292
  rejectAgentsToolCall?: Maybe<Scalars['Boolean']['output']>;
262
293
  /** Remove a tool from an agent */
@@ -265,6 +296,18 @@ type RootMutationType = {
265
296
  restoreAgent?: Maybe<Agent>;
266
297
  /** Send a message to a conversation */
267
298
  sendAgentsMessage?: Maybe<Message>;
299
+ /**
300
+ * Sign in with email/password.
301
+ *
302
+ * Validates credentials against the users table. Returns a session token
303
+ * that includes all roles the user qualifies for.
304
+ *
305
+ * The optional `role` parameter can verify the user has a specific role,
306
+ * but the token will always contain ALL roles regardless.
307
+ *
308
+ * This is a public endpoint - no authentication required.
309
+ */
310
+ signIn?: Maybe<SignInResult>;
268
311
  /** Update an existing agent */
269
312
  updateAgent?: Maybe<Agent>;
270
313
  /** Update an agents admin */
@@ -320,6 +363,11 @@ type RootMutationTypeDisableAgentsScheduleArgs = {
320
363
  type RootMutationTypeEnableAgentsScheduleArgs = {
321
364
  id: Scalars['ID']['input'];
322
365
  };
366
+ type RootMutationTypeExchangeOauthCodeArgs = {
367
+ code: Scalars['String']['input'];
368
+ provider: OauthProvider;
369
+ redirectUri: Scalars['String']['input'];
370
+ };
323
371
  type RootMutationTypeRejectAgentsToolCallArgs = {
324
372
  id: Scalars['ID']['input'];
325
373
  };
@@ -333,6 +381,11 @@ type RootMutationTypeRestoreAgentArgs = {
333
381
  type RootMutationTypeSendAgentsMessageArgs = {
334
382
  input: SendMessageInput;
335
383
  };
384
+ type RootMutationTypeSignInArgs = {
385
+ email: Scalars['String']['input'];
386
+ password: Scalars['String']['input'];
387
+ role?: InputMaybe<SignInRole>;
388
+ };
336
389
  type RootMutationTypeUpdateAgentArgs = {
337
390
  id: Scalars['ID']['input'];
338
391
  input: UpdateAgentInput;
@@ -495,6 +548,43 @@ type SendMessageInput = {
495
548
  content: Scalars['String']['input'];
496
549
  conversationId: Scalars['ID']['input'];
497
550
  };
551
+ /** Result of sign-in mutation */
552
+ type SignInResult = {
553
+ __typename?: 'SignInResult';
554
+ /** Any errors that occurred */
555
+ errors: Array<Maybe<AuthError>>;
556
+ /** All roles this user has */
557
+ roles?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
558
+ /** JWT token for subsequent requests */
559
+ sessionToken?: Maybe<Scalars['String']['output']>;
560
+ /** Whether authentication succeeded */
561
+ success: Scalars['Boolean']['output'];
562
+ /** Authenticated user info */
563
+ user?: Maybe<AuthUser>;
564
+ };
565
+ /** Available roles for sign-in verification */
566
+ declare enum SignInRole {
567
+ /** Super admin - internal users */
568
+ Admin = "ADMIN",
569
+ /** Agents dashboard access */
570
+ AgentsAdmin = "AGENTS_ADMIN",
571
+ /** Content admin - is_content_admin flag */
572
+ ContentAdmin = "CONTENT_ADMIN",
573
+ /** District admin - enterprise customers */
574
+ DistrictAdmin = "DISTRICT_ADMIN",
575
+ /** Game developer role - requires game_developer_id on user */
576
+ GameDeveloper = "GAME_DEVELOPER",
577
+ /** Parent role - requires parent_id on user */
578
+ Parent = "PARENT",
579
+ /** Question editor - can_edit_questions flag */
580
+ QuestionEditor = "QUESTION_EDITOR",
581
+ /** School admin - enterprise customers */
582
+ SchoolAdmin = "SCHOOL_ADMIN",
583
+ /** Student role - requires student_id on user */
584
+ Student = "STUDENT",
585
+ /** Teacher role - requires teacher_id on user */
586
+ Teacher = "TEACHER"
587
+ }
498
588
  type ToolCall = {
499
589
  __typename?: 'ToolCall';
500
590
  cacheHit: Scalars['Boolean']['output'];
@@ -641,6 +731,58 @@ type UsageStats = {
641
731
  totalRuns?: Maybe<Scalars['Int']['output']>;
642
732
  totalToolCalls?: Maybe<Scalars['Int']['output']>;
643
733
  };
734
+ type SignInMutationVariables = Exact<{
735
+ email: Scalars['String']['input'];
736
+ password: Scalars['String']['input'];
737
+ role?: InputMaybe<SignInRole>;
738
+ }>;
739
+ type SignInMutation = {
740
+ __typename?: 'RootMutationType';
741
+ signIn?: {
742
+ __typename?: 'SignInResult';
743
+ success: boolean;
744
+ sessionToken?: string | null;
745
+ roles?: Array<string | null> | null;
746
+ user?: {
747
+ __typename?: 'AuthUser';
748
+ id: string;
749
+ email: string;
750
+ firstName?: string | null;
751
+ lastName?: string | null;
752
+ } | null;
753
+ errors: Array<{
754
+ __typename?: 'AuthError';
755
+ field: string;
756
+ message: string;
757
+ } | null>;
758
+ } | null;
759
+ };
760
+ type ExchangeOauthCodeMutationVariables = Exact<{
761
+ code: Scalars['String']['input'];
762
+ provider: OauthProvider;
763
+ redirectUri: Scalars['String']['input'];
764
+ }>;
765
+ type ExchangeOauthCodeMutation = {
766
+ __typename?: 'RootMutationType';
767
+ exchangeOauthCode?: {
768
+ __typename?: 'SignInResult';
769
+ success: boolean;
770
+ sessionToken?: string | null;
771
+ roles?: Array<string | null> | null;
772
+ user?: {
773
+ __typename?: 'AuthUser';
774
+ id: string;
775
+ email: string;
776
+ firstName?: string | null;
777
+ lastName?: string | null;
778
+ } | null;
779
+ errors: Array<{
780
+ __typename?: 'AuthError';
781
+ field: string;
782
+ message: string;
783
+ } | null>;
784
+ } | null;
785
+ };
644
786
  type CreateAgentMutationVariables = Exact<{
645
787
  input: CreateAgentInput;
646
788
  }>;
@@ -1461,6 +1603,8 @@ type GetAgentsCurrentAdminQuery = {
1461
1603
  updatedAt: any;
1462
1604
  } | null;
1463
1605
  };
1606
+ declare const SignInDocument: TypedDocumentNode<SignInMutation, SignInMutationVariables>;
1607
+ declare const ExchangeOauthCodeDocument: TypedDocumentNode<ExchangeOauthCodeMutation, ExchangeOauthCodeMutationVariables>;
1464
1608
  declare const CreateAgentDocument: TypedDocumentNode<CreateAgentMutation, CreateAgentMutationVariables>;
1465
1609
  declare const UpdateAgentDocument: TypedDocumentNode<UpdateAgentMutation, UpdateAgentMutationVariables>;
1466
1610
  declare const ArchiveAgentDocument: TypedDocumentNode<ArchiveAgentMutation, ArchiveAgentMutationVariables>;
@@ -1531,6 +1675,8 @@ declare function isFragmentReady<TQuery, TFrag>(queryNode: DocumentTypeDecoratio
1531
1675
  * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1532
1676
  */
1533
1677
  type Documents = {
1678
+ "\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": typeof SignInDocument;
1679
+ "\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": typeof ExchangeOauthCodeDocument;
1534
1680
  "\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n": typeof CreateAgentDocument;
1535
1681
  "\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n": typeof UpdateAgentDocument;
1536
1682
  "\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n": typeof ArchiveAgentDocument;
@@ -1585,6 +1731,14 @@ declare const documents: Documents;
1585
1731
  * Please regenerate the types.
1586
1732
  */
1587
1733
  declare function graphql(source: string): unknown;
1734
+ /**
1735
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1736
+ */
1737
+ declare function graphql(source: "\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"): (typeof documents)["\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"];
1738
+ /**
1739
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1740
+ */
1741
+ declare function graphql(source: "\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"): (typeof documents)["\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n"];
1588
1742
  /**
1589
1743
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
1590
1744
  */
@@ -1743,4 +1897,4 @@ declare function graphql(source: "\n query GetAgentsAdmins {\n agentsAdmins
1743
1897
  declare function graphql(source: "\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"): (typeof documents)["\n query GetAgentsCurrentAdmin {\n agentsCurrentAdmin {\n id\n email\n role\n canManageAgents\n canManageTools\n canManageAdmins\n canViewAllConversations\n expiresAt\n lastAccessedAt\n insertedAt\n updatedAt\n }\n }\n"];
1744
1898
  type DocumentType<TDocumentNode extends TypedDocumentNode<any, any>> = TDocumentNode extends TypedDocumentNode<infer TType, any> ? TType : never;
1745
1899
 
1746
- export { AdminRole, type Agent, AgentRole, AgentStatus, type AgentsAdmin, ArchiveAgentDocument, type ArchiveAgentMutation, type ArchiveAgentMutationVariables, ArchiveAgentsConversationDocument, type ArchiveAgentsConversationMutation, type ArchiveAgentsConversationMutationVariables, AssignToolToAgentDocument, type AssignToolToAgentMutation, type AssignToolToAgentMutationVariables, CancelAgentsRunDocument, type CancelAgentsRunMutation, type CancelAgentsRunMutationVariables, ConfirmAgentsToolCallDocument, type ConfirmAgentsToolCallMutation, type ConfirmAgentsToolCallMutationVariables, type Conversation, ConversationStatus, type CreateAdminInput, CreateAgentDocument, type CreateAgentInput, type CreateAgentMutation, type CreateAgentMutationVariables, CreateAgentsAdminDocument, type CreateAgentsAdminMutation, type CreateAgentsAdminMutationVariables, CreateAgentsConversationDocument, type CreateAgentsConversationMutation, type CreateAgentsConversationMutationVariables, CreateAgentsScheduleDocument, type CreateAgentsScheduleMutation, type CreateAgentsScheduleMutationVariables, CreateAgentsToolDocument, type CreateAgentsToolMutation, type CreateAgentsToolMutationVariables, type CreateConversationInput, type CreateScheduleInput, type CreateToolInput, DeleteAgentsAdminDocument, type DeleteAgentsAdminMutation, type DeleteAgentsAdminMutationVariables, DeleteAgentsScheduleDocument, type DeleteAgentsScheduleMutation, type DeleteAgentsScheduleMutationVariables, DeleteAgentsToolDocument, type DeleteAgentsToolMutation, type DeleteAgentsToolMutationVariables, DisableAgentsScheduleDocument, type DisableAgentsScheduleMutation, type DisableAgentsScheduleMutationVariables, type DocumentType, EnableAgentsScheduleDocument, type EnableAgentsScheduleMutation, type EnableAgentsScheduleMutationVariables, type Exact, type FragmentType, GetAgentDocument, type GetAgentQuery, type GetAgentQueryVariables, GetAgentsAdminsDocument, type GetAgentsAdminsQuery, type GetAgentsAdminsQueryVariables, GetAgentsConversationDocument, type GetAgentsConversationQuery, type GetAgentsConversationQueryVariables, GetAgentsConversationsDocument, type GetAgentsConversationsQuery, type GetAgentsConversationsQueryVariables, GetAgentsCurrentAdminDocument, type GetAgentsCurrentAdminQuery, type GetAgentsCurrentAdminQueryVariables, GetAgentsDocument, type GetAgentsQuery, type GetAgentsQueryVariables, GetAgentsRunDocument, type GetAgentsRunQuery, type GetAgentsRunQueryVariables, GetAgentsRunsDocument, type GetAgentsRunsQuery, type GetAgentsRunsQueryVariables, GetAgentsScheduleDocument, type GetAgentsScheduleQuery, type GetAgentsScheduleQueryVariables, GetAgentsSchedulesDocument, type GetAgentsSchedulesQuery, type GetAgentsSchedulesQueryVariables, GetAgentsToolCategoriesDocument, type GetAgentsToolCategoriesQuery, type GetAgentsToolCategoriesQueryVariables, GetAgentsToolDocument, type GetAgentsToolQuery, type GetAgentsToolQueryVariables, GetAgentsToolSourcesDocument, type GetAgentsToolSourcesQuery, type GetAgentsToolSourcesQueryVariables, GetAgentsToolsDocument, type GetAgentsToolsQuery, type GetAgentsToolsQueryVariables, GetAgentsUsageDailyDocument, type GetAgentsUsageDailyQuery, type GetAgentsUsageDailyQueryVariables, GetAgentsUsageStatsDocument, type GetAgentsUsageStatsQuery, type GetAgentsUsageStatsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Message, MessageRole, RejectAgentsToolCallDocument, type RejectAgentsToolCallMutation, type RejectAgentsToolCallMutationVariables, RemoveToolFromAgentDocument, type RemoveToolFromAgentMutation, type RemoveToolFromAgentMutationVariables, RestoreAgentDocument, type RestoreAgentMutation, type RestoreAgentMutationVariables, type RootMutationType, type RootMutationTypeArchiveAgentArgs, type RootMutationTypeArchiveAgentsConversationArgs, type RootMutationTypeAssignToolToAgentArgs, type RootMutationTypeCancelAgentsRunArgs, type RootMutationTypeConfirmAgentsToolCallArgs, type RootMutationTypeCreateAgentArgs, type RootMutationTypeCreateAgentsAdminArgs, type RootMutationTypeCreateAgentsConversationArgs, type RootMutationTypeCreateAgentsScheduleArgs, type RootMutationTypeCreateAgentsToolArgs, type RootMutationTypeDeleteAgentsAdminArgs, type RootMutationTypeDeleteAgentsScheduleArgs, type RootMutationTypeDeleteAgentsToolArgs, type RootMutationTypeDisableAgentsScheduleArgs, type RootMutationTypeEnableAgentsScheduleArgs, type RootMutationTypeRejectAgentsToolCallArgs, type RootMutationTypeRemoveToolFromAgentArgs, type RootMutationTypeRestoreAgentArgs, type RootMutationTypeSendAgentsMessageArgs, type RootMutationTypeUpdateAgentArgs, type RootMutationTypeUpdateAgentsAdminArgs, type RootMutationTypeUpdateAgentsScheduleArgs, type RootMutationTypeUpdateAgentsToolArgs, type RootQueryType, type RootQueryTypeAgentArgs, type RootQueryTypeAgentsArgs, type RootQueryTypeAgentsConversationArgs, type RootQueryTypeAgentsConversationsArgs, type RootQueryTypeAgentsRunArgs, type RootQueryTypeAgentsRunsArgs, type RootQueryTypeAgentsScheduleArgs, type RootQueryTypeAgentsSchedulesArgs, type RootQueryTypeAgentsToolArgs, type RootQueryTypeAgentsToolsArgs, type RootQueryTypeAgentsUsageDailyArgs, type RootQueryTypeAgentsUsageStatsArgs, type Run, RunStatus, type Scalars, type Schedule, ScheduleTaskType, SendAgentsMessageDocument, type SendAgentsMessageMutation, type SendAgentsMessageMutationVariables, type SendMessageInput, type ToolCall, ToolCallStatus, type ToolCategory, type ToolRegistry, type ToolSource, type UpdateAdminInput, UpdateAgentDocument, type UpdateAgentInput, type UpdateAgentMutation, type UpdateAgentMutationVariables, UpdateAgentsAdminDocument, type UpdateAgentsAdminMutation, type UpdateAgentsAdminMutationVariables, UpdateAgentsScheduleDocument, type UpdateAgentsScheduleMutation, type UpdateAgentsScheduleMutationVariables, UpdateAgentsToolDocument, type UpdateAgentsToolMutation, type UpdateAgentsToolMutationVariables, type UpdateScheduleInput, type UpdateToolInput, type UsageDaily, type UsageStats, graphql, isFragmentReady, makeFragmentData, useFragment };
1900
+ export { AdminRole, type Agent, AgentRole, AgentStatus, type AgentsAdmin, ArchiveAgentDocument, type ArchiveAgentMutation, type ArchiveAgentMutationVariables, ArchiveAgentsConversationDocument, type ArchiveAgentsConversationMutation, type ArchiveAgentsConversationMutationVariables, AssignToolToAgentDocument, type AssignToolToAgentMutation, type AssignToolToAgentMutationVariables, type AuthError, type AuthUser, CancelAgentsRunDocument, type CancelAgentsRunMutation, type CancelAgentsRunMutationVariables, ConfirmAgentsToolCallDocument, type ConfirmAgentsToolCallMutation, type ConfirmAgentsToolCallMutationVariables, type Conversation, ConversationStatus, type CreateAdminInput, CreateAgentDocument, type CreateAgentInput, type CreateAgentMutation, type CreateAgentMutationVariables, CreateAgentsAdminDocument, type CreateAgentsAdminMutation, type CreateAgentsAdminMutationVariables, CreateAgentsConversationDocument, type CreateAgentsConversationMutation, type CreateAgentsConversationMutationVariables, CreateAgentsScheduleDocument, type CreateAgentsScheduleMutation, type CreateAgentsScheduleMutationVariables, CreateAgentsToolDocument, type CreateAgentsToolMutation, type CreateAgentsToolMutationVariables, type CreateConversationInput, type CreateScheduleInput, type CreateToolInput, DeleteAgentsAdminDocument, type DeleteAgentsAdminMutation, type DeleteAgentsAdminMutationVariables, DeleteAgentsScheduleDocument, type DeleteAgentsScheduleMutation, type DeleteAgentsScheduleMutationVariables, DeleteAgentsToolDocument, type DeleteAgentsToolMutation, type DeleteAgentsToolMutationVariables, DisableAgentsScheduleDocument, type DisableAgentsScheduleMutation, type DisableAgentsScheduleMutationVariables, type DocumentType, EnableAgentsScheduleDocument, type EnableAgentsScheduleMutation, type EnableAgentsScheduleMutationVariables, type Exact, ExchangeOauthCodeDocument, type ExchangeOauthCodeMutation, type ExchangeOauthCodeMutationVariables, type FragmentType, GetAgentDocument, type GetAgentQuery, type GetAgentQueryVariables, GetAgentsAdminsDocument, type GetAgentsAdminsQuery, type GetAgentsAdminsQueryVariables, GetAgentsConversationDocument, type GetAgentsConversationQuery, type GetAgentsConversationQueryVariables, GetAgentsConversationsDocument, type GetAgentsConversationsQuery, type GetAgentsConversationsQueryVariables, GetAgentsCurrentAdminDocument, type GetAgentsCurrentAdminQuery, type GetAgentsCurrentAdminQueryVariables, GetAgentsDocument, type GetAgentsQuery, type GetAgentsQueryVariables, GetAgentsRunDocument, type GetAgentsRunQuery, type GetAgentsRunQueryVariables, GetAgentsRunsDocument, type GetAgentsRunsQuery, type GetAgentsRunsQueryVariables, GetAgentsScheduleDocument, type GetAgentsScheduleQuery, type GetAgentsScheduleQueryVariables, GetAgentsSchedulesDocument, type GetAgentsSchedulesQuery, type GetAgentsSchedulesQueryVariables, GetAgentsToolCategoriesDocument, type GetAgentsToolCategoriesQuery, type GetAgentsToolCategoriesQueryVariables, GetAgentsToolDocument, type GetAgentsToolQuery, type GetAgentsToolQueryVariables, GetAgentsToolSourcesDocument, type GetAgentsToolSourcesQuery, type GetAgentsToolSourcesQueryVariables, GetAgentsToolsDocument, type GetAgentsToolsQuery, type GetAgentsToolsQueryVariables, GetAgentsUsageDailyDocument, type GetAgentsUsageDailyQuery, type GetAgentsUsageDailyQueryVariables, GetAgentsUsageStatsDocument, type GetAgentsUsageStatsQuery, type GetAgentsUsageStatsQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Message, MessageRole, OauthProvider, RejectAgentsToolCallDocument, type RejectAgentsToolCallMutation, type RejectAgentsToolCallMutationVariables, RemoveToolFromAgentDocument, type RemoveToolFromAgentMutation, type RemoveToolFromAgentMutationVariables, RestoreAgentDocument, type RestoreAgentMutation, type RestoreAgentMutationVariables, type RootMutationType, type RootMutationTypeArchiveAgentArgs, type RootMutationTypeArchiveAgentsConversationArgs, type RootMutationTypeAssignToolToAgentArgs, type RootMutationTypeCancelAgentsRunArgs, type RootMutationTypeConfirmAgentsToolCallArgs, type RootMutationTypeCreateAgentArgs, type RootMutationTypeCreateAgentsAdminArgs, type RootMutationTypeCreateAgentsConversationArgs, type RootMutationTypeCreateAgentsScheduleArgs, type RootMutationTypeCreateAgentsToolArgs, type RootMutationTypeDeleteAgentsAdminArgs, type RootMutationTypeDeleteAgentsScheduleArgs, type RootMutationTypeDeleteAgentsToolArgs, type RootMutationTypeDisableAgentsScheduleArgs, type RootMutationTypeEnableAgentsScheduleArgs, type RootMutationTypeExchangeOauthCodeArgs, type RootMutationTypeRejectAgentsToolCallArgs, type RootMutationTypeRemoveToolFromAgentArgs, type RootMutationTypeRestoreAgentArgs, type RootMutationTypeSendAgentsMessageArgs, type RootMutationTypeSignInArgs, type RootMutationTypeUpdateAgentArgs, type RootMutationTypeUpdateAgentsAdminArgs, type RootMutationTypeUpdateAgentsScheduleArgs, type RootMutationTypeUpdateAgentsToolArgs, type RootQueryType, type RootQueryTypeAgentArgs, type RootQueryTypeAgentsArgs, type RootQueryTypeAgentsConversationArgs, type RootQueryTypeAgentsConversationsArgs, type RootQueryTypeAgentsRunArgs, type RootQueryTypeAgentsRunsArgs, type RootQueryTypeAgentsScheduleArgs, type RootQueryTypeAgentsSchedulesArgs, type RootQueryTypeAgentsToolArgs, type RootQueryTypeAgentsToolsArgs, type RootQueryTypeAgentsUsageDailyArgs, type RootQueryTypeAgentsUsageStatsArgs, type Run, RunStatus, type Scalars, type Schedule, ScheduleTaskType, SendAgentsMessageDocument, type SendAgentsMessageMutation, type SendAgentsMessageMutationVariables, type SendMessageInput, SignInDocument, type SignInMutation, type SignInMutationVariables, type SignInResult, SignInRole, type ToolCall, ToolCallStatus, type ToolCategory, type ToolRegistry, type ToolSource, type UpdateAdminInput, UpdateAgentDocument, type UpdateAgentInput, type UpdateAgentMutation, type UpdateAgentMutationVariables, UpdateAgentsAdminDocument, type UpdateAgentsAdminMutation, type UpdateAgentsAdminMutationVariables, UpdateAgentsScheduleDocument, type UpdateAgentsScheduleMutation, type UpdateAgentsScheduleMutationVariables, UpdateAgentsToolDocument, type UpdateAgentsToolMutation, type UpdateAgentsToolMutationVariables, type UpdateScheduleInput, type UpdateToolInput, type UsageDaily, type UsageStats, graphql, isFragmentReady, makeFragmentData, useFragment };
@@ -55,6 +55,10 @@ var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
55
55
  MessageRole2["User"] = "USER";
56
56
  return MessageRole2;
57
57
  })(MessageRole || {});
58
+ var OauthProvider = /* @__PURE__ */ ((OauthProvider2) => {
59
+ OauthProvider2["Google"] = "GOOGLE";
60
+ return OauthProvider2;
61
+ })(OauthProvider || {});
58
62
  var RunStatus = /* @__PURE__ */ ((RunStatus2) => {
59
63
  RunStatus2["Cancelled"] = "CANCELLED";
60
64
  RunStatus2["Completed"] = "COMPLETED";
@@ -70,6 +74,19 @@ var ScheduleTaskType = /* @__PURE__ */ ((ScheduleTaskType2) => {
70
74
  ScheduleTaskType2["Report"] = "REPORT";
71
75
  return ScheduleTaskType2;
72
76
  })(ScheduleTaskType || {});
77
+ var SignInRole = /* @__PURE__ */ ((SignInRole2) => {
78
+ SignInRole2["Admin"] = "ADMIN";
79
+ SignInRole2["AgentsAdmin"] = "AGENTS_ADMIN";
80
+ SignInRole2["ContentAdmin"] = "CONTENT_ADMIN";
81
+ SignInRole2["DistrictAdmin"] = "DISTRICT_ADMIN";
82
+ SignInRole2["GameDeveloper"] = "GAME_DEVELOPER";
83
+ SignInRole2["Parent"] = "PARENT";
84
+ SignInRole2["QuestionEditor"] = "QUESTION_EDITOR";
85
+ SignInRole2["SchoolAdmin"] = "SCHOOL_ADMIN";
86
+ SignInRole2["Student"] = "STUDENT";
87
+ SignInRole2["Teacher"] = "TEACHER";
88
+ return SignInRole2;
89
+ })(SignInRole || {});
73
90
  var ToolCallStatus = /* @__PURE__ */ ((ToolCallStatus2) => {
74
91
  ToolCallStatus2["AwaitingConfirmation"] = "AWAITING_CONFIRMATION";
75
92
  ToolCallStatus2["Cancelled"] = "CANCELLED";
@@ -79,6 +96,8 @@ var ToolCallStatus = /* @__PURE__ */ ((ToolCallStatus2) => {
79
96
  ToolCallStatus2["Running"] = "RUNNING";
80
97
  return ToolCallStatus2;
81
98
  })(ToolCallStatus || {});
99
+ var SignInDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SignIn" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "password" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "role" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SignInRole" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "signIn" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "email" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "password" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "password" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "role" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "role" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "field" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
100
+ var ExchangeOauthCodeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ExchangeOauthCode" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "code" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "provider" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OauthProvider" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "redirectUri" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "exchangeOauthCode" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "code" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "code" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "provider" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "provider" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "redirectUri" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "redirectUri" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "firstName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "field" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
82
101
  var CreateAgentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateAgent" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateAgentInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createAgent" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "systemPrompt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPublic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
83
102
  var UpdateAgentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateAgent" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateAgentInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateAgent" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "statusMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "systemPrompt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatarUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isPublic" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastActiveAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
84
103
  var ArchiveAgentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ArchiveAgent" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "archiveAgent" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "archivedAt" } }] } }] } }] };
@@ -121,6 +140,8 @@ var GetAgentsCurrentAdminDocument = { "kind": "Document", "definitions": [{ "kin
121
140
 
122
141
  // src/generated/agents/gql.ts
123
142
  var documents = {
143
+ "\n mutation SignIn($email: String!, $password: String!, $role: SignInRole) {\n signIn(email: $email, password: $password, role: $role) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": SignInDocument,
144
+ "\n mutation ExchangeOauthCode($code: String!, $provider: OauthProvider!, $redirectUri: String!) {\n exchangeOauthCode(code: $code, provider: $provider, redirectUri: $redirectUri) {\n success\n sessionToken\n roles\n user {\n id\n email\n firstName\n lastName\n }\n errors {\n field\n message\n }\n }\n }\n": ExchangeOauthCodeDocument,
124
145
  "\n mutation CreateAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n id\n slug\n name\n role\n status\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n insertedAt\n updatedAt\n }\n }\n": CreateAgentDocument,
125
146
  "\n mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n updateAgent(id: $id, input: $input) {\n id\n slug\n name\n role\n status\n statusMessage\n description\n systemPrompt\n model\n temperature\n maxTokens\n avatarUrl\n isPublic\n lastActiveAt\n updatedAt\n }\n }\n": UpdateAgentDocument,
126
147
  "\n mutation ArchiveAgent($id: ID!) {\n archiveAgent(id: $id) {\n id\n archivedAt\n }\n }\n": ArchiveAgentDocument,
@@ -184,6 +205,7 @@ exports.DeleteAgentsScheduleDocument = DeleteAgentsScheduleDocument;
184
205
  exports.DeleteAgentsToolDocument = DeleteAgentsToolDocument;
185
206
  exports.DisableAgentsScheduleDocument = DisableAgentsScheduleDocument;
186
207
  exports.EnableAgentsScheduleDocument = EnableAgentsScheduleDocument;
208
+ exports.ExchangeOauthCodeDocument = ExchangeOauthCodeDocument;
187
209
  exports.GetAgentDocument = GetAgentDocument;
188
210
  exports.GetAgentsAdminsDocument = GetAgentsAdminsDocument;
189
211
  exports.GetAgentsConversationDocument = GetAgentsConversationDocument;
@@ -201,12 +223,15 @@ exports.GetAgentsToolsDocument = GetAgentsToolsDocument;
201
223
  exports.GetAgentsUsageDailyDocument = GetAgentsUsageDailyDocument;
202
224
  exports.GetAgentsUsageStatsDocument = GetAgentsUsageStatsDocument;
203
225
  exports.MessageRole = MessageRole;
226
+ exports.OauthProvider = OauthProvider;
204
227
  exports.RejectAgentsToolCallDocument = RejectAgentsToolCallDocument;
205
228
  exports.RemoveToolFromAgentDocument = RemoveToolFromAgentDocument;
206
229
  exports.RestoreAgentDocument = RestoreAgentDocument;
207
230
  exports.RunStatus = RunStatus;
208
231
  exports.ScheduleTaskType = ScheduleTaskType;
209
232
  exports.SendAgentsMessageDocument = SendAgentsMessageDocument;
233
+ exports.SignInDocument = SignInDocument;
234
+ exports.SignInRole = SignInRole;
210
235
  exports.ToolCallStatus = ToolCallStatus;
211
236
  exports.UpdateAgentDocument = UpdateAgentDocument;
212
237
  exports.UpdateAgentsAdminDocument = UpdateAgentsAdminDocument;