@dvina/sdk 4.0.172 → 4.0.199
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.
- package/dist/{_generated_documents-4M7HM6CW.cjs → _generated_documents-AR6ISLTA.cjs} +767 -543
- package/dist/{_generated_documents-4M7HM6CW.cjs.map → _generated_documents-AR6ISLTA.cjs.map} +1 -1
- package/dist/_generated_documents-XGXYPVHZ.js +4 -0
- package/dist/{_generated_documents-IQN37P3X.js.map → _generated_documents-XGXYPVHZ.js.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.d.cts +1 -1
- package/dist/adapters/angular/index.d.ts +1 -1
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-H6YNVP5R.js → chunk-NE4IXNQK.js} +124 -19
- package/dist/chunk-NE4IXNQK.js.map +1 -0
- package/dist/{chunk-GMBMIL5U.cjs → chunk-SLPANKVO.cjs} +179 -18
- package/dist/chunk-SLPANKVO.cjs.map +1 -0
- package/dist/{chunk-7Q2QYIF6.cjs → chunk-SMEJRZG2.cjs} +2101 -532
- package/dist/chunk-SMEJRZG2.cjs.map +1 -0
- package/dist/{chunk-KFKQQFBI.js → chunk-U3M3VJSQ.js} +1580 -51
- package/dist/chunk-U3M3VJSQ.js.map +1 -0
- package/dist/{client-DPQN--1s.d.cts → client-Bcq6vHcs.d.cts} +1061 -5
- package/dist/{client-CMLCF01U.d.ts → client-VdxyMRd6.d.ts} +1061 -5
- package/dist/index.cjs +585 -397
- package/dist/index.d.cts +374 -3
- package/dist/index.d.ts +374 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/_generated_documents-IQN37P3X.js +0 -4
- package/dist/chunk-7Q2QYIF6.cjs.map +0 -1
- package/dist/chunk-GMBMIL5U.cjs.map +0 -1
- package/dist/chunk-H6YNVP5R.js.map +0 -1
- package/dist/chunk-KFKQQFBI.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { Request, Connection, PageInfo, defaultConnection } from './chunk-KEM6SU
|
|
|
2
2
|
import { createInferenceClientInternal } from './chunk-PDM2KR7T.js';
|
|
3
3
|
import { createHttpTransport, BillingClient, print, Kind } from './chunk-5TAY5I34.js';
|
|
4
4
|
import { GRAPHQL_ERROR_CODES, DvinaAuthenticationError, DvinaNetworkError, DvinaGraphQLError, DvinaError, createGraphQLError } from './chunk-7XBJ77RJ.js';
|
|
5
|
-
import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_InsightDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_InsightDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-
|
|
5
|
+
import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, ProjectDesktopBindingFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalRuntimeOverviewDocument, LocalRuntimeDeviceModelFragmentDoc, LocalRuntimeOverview_DevicesDocument, LocalSandboxDeviceStatusDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-NE4IXNQK.js';
|
|
6
6
|
import { __commonJS, __toESM } from './chunk-5WRI5ZAA.js';
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
|
|
@@ -7559,7 +7559,7 @@ function createWsTransport(options) {
|
|
|
7559
7559
|
}
|
|
7560
7560
|
|
|
7561
7561
|
// src/_generated_store.ts
|
|
7562
|
-
var SCHEMA_HASH = "
|
|
7562
|
+
var SCHEMA_HASH = "2d7bc544fb7a5f3f";
|
|
7563
7563
|
var DB_ENTITY_SCHEMA = {
|
|
7564
7564
|
actions: "id",
|
|
7565
7565
|
agents: "id",
|
|
@@ -7575,6 +7575,8 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7575
7575
|
databaseEngines: "key",
|
|
7576
7576
|
databases: "id",
|
|
7577
7577
|
deepAnalysisUsages: "id",
|
|
7578
|
+
desktopDeviceModels: "id",
|
|
7579
|
+
desktopDevices: "id",
|
|
7578
7580
|
documentCatalogs: "formatKey",
|
|
7579
7581
|
documentContents: "id",
|
|
7580
7582
|
documentFormats: "key",
|
|
@@ -7602,6 +7604,9 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7602
7604
|
interpretations: "id",
|
|
7603
7605
|
invocations: "id",
|
|
7604
7606
|
liveContexts: "id",
|
|
7607
|
+
localRuntimeDeviceModels: "id",
|
|
7608
|
+
localRuntimeOverviewModels: "id",
|
|
7609
|
+
localSandboxDeviceStatusModels: "deviceId",
|
|
7605
7610
|
mcpClientInformations: "id",
|
|
7606
7611
|
mcpCodeVerifiers: "id",
|
|
7607
7612
|
mcpServers: "id",
|
|
@@ -7609,6 +7614,8 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7609
7614
|
mcpTools: "id",
|
|
7610
7615
|
modelTokenUsages: "id",
|
|
7611
7616
|
notifications: "id",
|
|
7617
|
+
projectDesktopBindings: "projectId",
|
|
7618
|
+
projects: "id",
|
|
7612
7619
|
pulseAppSummaryModels: "integrationId",
|
|
7613
7620
|
pulseEvents: "id",
|
|
7614
7621
|
pulseTriggerSettingModels: "[integrationId+slug]",
|
|
@@ -7643,6 +7650,8 @@ var TYPENAME_TO_TABLE = {
|
|
|
7643
7650
|
DatabaseCatalog: "databaseCatalogs",
|
|
7644
7651
|
DatabaseEngine: "databaseEngines",
|
|
7645
7652
|
DeepAnalysisUsage: "deepAnalysisUsages",
|
|
7653
|
+
DesktopDevice: "desktopDevices",
|
|
7654
|
+
DesktopDeviceModel: "desktopDeviceModels",
|
|
7646
7655
|
Document: "documents",
|
|
7647
7656
|
DocumentCatalog: "documentCatalogs",
|
|
7648
7657
|
DocumentContent: "documentContents",
|
|
@@ -7670,6 +7679,9 @@ var TYPENAME_TO_TABLE = {
|
|
|
7670
7679
|
Interpretation: "interpretations",
|
|
7671
7680
|
Invocation: "invocations",
|
|
7672
7681
|
LiveContext: "liveContexts",
|
|
7682
|
+
LocalRuntimeDeviceModel: "localRuntimeDeviceModels",
|
|
7683
|
+
LocalRuntimeOverviewModel: "localRuntimeOverviewModels",
|
|
7684
|
+
LocalSandboxDeviceStatusModel: "localSandboxDeviceStatusModels",
|
|
7673
7685
|
McpClientInformation: "mcpClientInformations",
|
|
7674
7686
|
McpCodeVerifier: "mcpCodeVerifiers",
|
|
7675
7687
|
McpServer: "mcpServers",
|
|
@@ -7677,6 +7689,8 @@ var TYPENAME_TO_TABLE = {
|
|
|
7677
7689
|
McpTool: "mcpTools",
|
|
7678
7690
|
ModelTokenUsage: "modelTokenUsages",
|
|
7679
7691
|
Notification: "notifications",
|
|
7692
|
+
Project: "projects",
|
|
7693
|
+
ProjectDesktopBinding: "projectDesktopBindings",
|
|
7680
7694
|
PulseAppSummaryModel: "pulseAppSummaryModels",
|
|
7681
7695
|
PulseEvent: "pulseEvents",
|
|
7682
7696
|
PulseTriggerSettingModel: "pulseTriggerSettingModels",
|
|
@@ -7711,6 +7725,8 @@ var TABLE_TO_TYPENAME = {
|
|
|
7711
7725
|
databaseEngines: "DatabaseEngine",
|
|
7712
7726
|
databases: "Database",
|
|
7713
7727
|
deepAnalysisUsages: "DeepAnalysisUsage",
|
|
7728
|
+
desktopDeviceModels: "DesktopDeviceModel",
|
|
7729
|
+
desktopDevices: "DesktopDevice",
|
|
7714
7730
|
documentCatalogs: "DocumentCatalog",
|
|
7715
7731
|
documentContents: "DocumentContent",
|
|
7716
7732
|
documentFormats: "DocumentFormat",
|
|
@@ -7738,6 +7754,9 @@ var TABLE_TO_TYPENAME = {
|
|
|
7738
7754
|
interpretations: "Interpretation",
|
|
7739
7755
|
invocations: "Invocation",
|
|
7740
7756
|
liveContexts: "LiveContext",
|
|
7757
|
+
localRuntimeDeviceModels: "LocalRuntimeDeviceModel",
|
|
7758
|
+
localRuntimeOverviewModels: "LocalRuntimeOverviewModel",
|
|
7759
|
+
localSandboxDeviceStatusModels: "LocalSandboxDeviceStatusModel",
|
|
7741
7760
|
mcpClientInformations: "McpClientInformation",
|
|
7742
7761
|
mcpCodeVerifiers: "McpCodeVerifier",
|
|
7743
7762
|
mcpServers: "McpServer",
|
|
@@ -7745,6 +7764,8 @@ var TABLE_TO_TYPENAME = {
|
|
|
7745
7764
|
mcpTools: "McpTool",
|
|
7746
7765
|
modelTokenUsages: "ModelTokenUsage",
|
|
7747
7766
|
notifications: "Notification",
|
|
7767
|
+
projectDesktopBindings: "ProjectDesktopBinding",
|
|
7768
|
+
projects: "Project",
|
|
7748
7769
|
pulseAppSummaryModels: "PulseAppSummaryModel",
|
|
7749
7770
|
pulseEvents: "PulseEvent",
|
|
7750
7771
|
pulseTriggerSettingModels: "PulseTriggerSettingModel",
|
|
@@ -7771,6 +7792,8 @@ var PRIMARY_KEY_CONFIG = {
|
|
|
7771
7792
|
documentFormats: "key",
|
|
7772
7793
|
integrationCatalogs: "providerKey",
|
|
7773
7794
|
integrationProviders: "key",
|
|
7795
|
+
localSandboxDeviceStatusModels: "deviceId",
|
|
7796
|
+
projectDesktopBindings: "projectId",
|
|
7774
7797
|
pulseAppSummaryModels: "integrationId",
|
|
7775
7798
|
pulseTriggerSettingModels: ["integrationId", "slug"],
|
|
7776
7799
|
reportMembers: ["reportId", "insightId"]
|
|
@@ -7784,6 +7807,7 @@ var MUTATION_CACHE_RULES = {
|
|
|
7784
7807
|
createFolder: { type: "create", entityType: "folders", connectionFields: ["folders"] },
|
|
7785
7808
|
createInsight: { type: "create", entityType: "insights", connectionFields: ["insights"] },
|
|
7786
7809
|
createIntegration: { type: "create", entityType: "integrations", connectionFields: ["integrations"] },
|
|
7810
|
+
createProject: { type: "create", entityType: "projects", connectionFields: ["projects"] },
|
|
7787
7811
|
createReport: { type: "create", entityType: "reports", connectionFields: ["reports"] },
|
|
7788
7812
|
createTable: { type: "create", entityType: "tables", connectionFields: ["tables"] },
|
|
7789
7813
|
createUserSkillFile: { type: "create", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
|
|
@@ -7797,6 +7821,7 @@ var MUTATION_CACHE_RULES = {
|
|
|
7797
7821
|
deleteInsight: { type: "delete", entityType: "insights", connectionFields: ["insights"], cascadeDelete: [{ entityType: "reportMembers" }] },
|
|
7798
7822
|
deleteInsights: { type: "delete", entityType: "insights", connectionFields: ["insights"], cascadeDelete: [{ entityType: "reportMembers" }] },
|
|
7799
7823
|
deleteIntegration: { type: "delete", entityType: "integrations", connectionFields: ["integrations"] },
|
|
7824
|
+
deleteProject: { type: "delete", entityType: "projects", connectionFields: ["projects"] },
|
|
7800
7825
|
deleteReport: { type: "delete", entityType: "reports", connectionFields: ["reports"], cascadeDelete: [{ entityType: "reportMembers" }] },
|
|
7801
7826
|
deleteTable: { type: "delete", entityType: "tables", connectionFields: ["tables"], cascadeDelete: [{ entityType: "relations", relationFields: ["fromTableId", "toTableId"] }, { entityType: "cubeModels", relationFields: ["id"] }] },
|
|
7802
7827
|
deleteUserSkillFile: { type: "delete", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
|
|
@@ -7808,6 +7833,7 @@ var MUTATION_CACHE_RULES = {
|
|
|
7808
7833
|
updateFolder: { type: "update", entityType: "folders" },
|
|
7809
7834
|
updateInsight: { type: "update", entityType: "insights" },
|
|
7810
7835
|
updateLiveContext: { type: "update", entityType: "liveContexts" },
|
|
7836
|
+
updateProject: { type: "update", entityType: "projects" },
|
|
7811
7837
|
updateReport: { type: "update", entityType: "reports" },
|
|
7812
7838
|
updateTable: { type: "update", entityType: "tables" },
|
|
7813
7839
|
updateUserSkillFile: { type: "update", entityType: "userSkillFiles" },
|
|
@@ -10339,7 +10365,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10339
10365
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10340
10366
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10341
10367
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10342
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10368
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-XGXYPVHZ.js');
|
|
10343
10369
|
const key = `upload_${Date.now()}`;
|
|
10344
10370
|
const response = await request(
|
|
10345
10371
|
GenerateUploadUriDocument2,
|
|
@@ -11244,6 +11270,7 @@ var Candidate = class extends DvinaModel {
|
|
|
11244
11270
|
decisionReason;
|
|
11245
11271
|
decidedAt;
|
|
11246
11272
|
createdAt;
|
|
11273
|
+
_generatedContext;
|
|
11247
11274
|
constructor(request, data, syncEngine, baseUrl) {
|
|
11248
11275
|
super(request, syncEngine, baseUrl);
|
|
11249
11276
|
this.id = data.id;
|
|
@@ -11253,6 +11280,15 @@ var Candidate = class extends DvinaModel {
|
|
|
11253
11280
|
this.decisionReason = data.decisionReason ?? void 0;
|
|
11254
11281
|
this.decidedAt = data.decidedAt ? new Date(data.decidedAt) : void 0;
|
|
11255
11282
|
this.createdAt = new Date(data.createdAt);
|
|
11283
|
+
this._generatedContext = data.generatedContext ?? void 0;
|
|
11284
|
+
}
|
|
11285
|
+
/** ID reference for lazy-fetching the generatedContext relation. */
|
|
11286
|
+
get generatedContextId() {
|
|
11287
|
+
return this._generatedContext?.id;
|
|
11288
|
+
}
|
|
11289
|
+
/** Lazy-fetch the generatedContext relation. Call .fetch() or .watch() to execute. */
|
|
11290
|
+
generatedContext() {
|
|
11291
|
+
return new LiveContextQuery(this._request, this._syncEngine, { id: this._generatedContext?.id }, this._baseUrl);
|
|
11256
11292
|
}
|
|
11257
11293
|
};
|
|
11258
11294
|
var CandidateEvidence = class extends DvinaModel {
|
|
@@ -11274,8 +11310,11 @@ var Chat = class extends DvinaModel {
|
|
|
11274
11310
|
closedAt;
|
|
11275
11311
|
originMeta;
|
|
11276
11312
|
insightId;
|
|
11313
|
+
projectId;
|
|
11314
|
+
deviceId;
|
|
11277
11315
|
createdAt;
|
|
11278
11316
|
updatedAt;
|
|
11317
|
+
sourceProvider;
|
|
11279
11318
|
constructor(request, data, syncEngine, baseUrl) {
|
|
11280
11319
|
super(request, syncEngine, baseUrl);
|
|
11281
11320
|
this.id = data.id;
|
|
@@ -11285,8 +11324,11 @@ var Chat = class extends DvinaModel {
|
|
|
11285
11324
|
this.closedAt = data.closedAt ? new Date(data.closedAt) : void 0;
|
|
11286
11325
|
this.originMeta = data.originMeta ?? void 0;
|
|
11287
11326
|
this.insightId = data.insightId ?? void 0;
|
|
11327
|
+
this.projectId = data.projectId ?? void 0;
|
|
11328
|
+
this.deviceId = data.deviceId ?? void 0;
|
|
11288
11329
|
this.createdAt = new Date(data.createdAt);
|
|
11289
11330
|
this.updatedAt = new Date(data.updatedAt);
|
|
11331
|
+
this.sourceProvider = data.sourceProvider ?? void 0;
|
|
11290
11332
|
}
|
|
11291
11333
|
/** Query the agents relation for this Chat. Call .fetch() or .watch() to execute. */
|
|
11292
11334
|
agents(variables) {
|
|
@@ -11296,6 +11338,10 @@ var Chat = class extends DvinaModel {
|
|
|
11296
11338
|
artifacts(variables) {
|
|
11297
11339
|
return new Chat_ArtifactsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
11298
11340
|
}
|
|
11341
|
+
/** Query the desktopDevice relation for this Chat. Call .fetch() or .watch() to execute. */
|
|
11342
|
+
desktopDevice(variables) {
|
|
11343
|
+
return new Chat_DesktopDeviceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
11344
|
+
}
|
|
11299
11345
|
/** Query the insight relation for this Chat. Call .fetch() or .watch() to execute. */
|
|
11300
11346
|
insight(variables) {
|
|
11301
11347
|
return new Chat_InsightQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
@@ -11304,6 +11350,10 @@ var Chat = class extends DvinaModel {
|
|
|
11304
11350
|
messages(variables) {
|
|
11305
11351
|
return new Chat_MessagesQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
11306
11352
|
}
|
|
11353
|
+
/** Query the project relation for this Chat. Call .fetch() or .watch() to execute. */
|
|
11354
|
+
project(variables) {
|
|
11355
|
+
return new Chat_ProjectQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
11356
|
+
}
|
|
11307
11357
|
};
|
|
11308
11358
|
var ChatImportExecuteOutput = class extends DvinaModel {
|
|
11309
11359
|
archiveHash;
|
|
@@ -11547,6 +11597,60 @@ var DeepAnalysisUsage = class extends DvinaModel {
|
|
|
11547
11597
|
this.createdAt = new Date(data.createdAt);
|
|
11548
11598
|
}
|
|
11549
11599
|
};
|
|
11600
|
+
var DesktopDevice = class extends DvinaModel {
|
|
11601
|
+
id;
|
|
11602
|
+
deviceLabel;
|
|
11603
|
+
platform;
|
|
11604
|
+
deviceType;
|
|
11605
|
+
manufacturer;
|
|
11606
|
+
modelName;
|
|
11607
|
+
modelYear;
|
|
11608
|
+
macAddress;
|
|
11609
|
+
appVersion;
|
|
11610
|
+
lastSeenAt;
|
|
11611
|
+
createdAt;
|
|
11612
|
+
updatedAt;
|
|
11613
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11614
|
+
super(request, syncEngine, baseUrl);
|
|
11615
|
+
this.id = data.id;
|
|
11616
|
+
this.deviceLabel = data.deviceLabel;
|
|
11617
|
+
this.platform = data.platform ?? void 0;
|
|
11618
|
+
this.deviceType = data.deviceType ?? void 0;
|
|
11619
|
+
this.manufacturer = data.manufacturer ?? void 0;
|
|
11620
|
+
this.modelName = data.modelName ?? void 0;
|
|
11621
|
+
this.modelYear = data.modelYear ?? void 0;
|
|
11622
|
+
this.macAddress = data.macAddress ?? void 0;
|
|
11623
|
+
this.appVersion = data.appVersion ?? void 0;
|
|
11624
|
+
this.lastSeenAt = data.lastSeenAt ? new Date(data.lastSeenAt) : void 0;
|
|
11625
|
+
this.createdAt = new Date(data.createdAt);
|
|
11626
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
11627
|
+
}
|
|
11628
|
+
};
|
|
11629
|
+
var DesktopDeviceModel = class extends DvinaModel {
|
|
11630
|
+
deviceId;
|
|
11631
|
+
deviceLabel;
|
|
11632
|
+
platform;
|
|
11633
|
+
deviceType;
|
|
11634
|
+
manufacturer;
|
|
11635
|
+
modelName;
|
|
11636
|
+
modelYear;
|
|
11637
|
+
appVersion;
|
|
11638
|
+
lastSeenAt;
|
|
11639
|
+
state;
|
|
11640
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11641
|
+
super(request, syncEngine, baseUrl);
|
|
11642
|
+
this.deviceId = data.deviceId;
|
|
11643
|
+
this.deviceLabel = data.deviceLabel;
|
|
11644
|
+
this.platform = data.platform ?? void 0;
|
|
11645
|
+
this.deviceType = data.deviceType ?? void 0;
|
|
11646
|
+
this.manufacturer = data.manufacturer ?? void 0;
|
|
11647
|
+
this.modelName = data.modelName ?? void 0;
|
|
11648
|
+
this.modelYear = data.modelYear ?? void 0;
|
|
11649
|
+
this.appVersion = data.appVersion ?? void 0;
|
|
11650
|
+
this.lastSeenAt = data.lastSeenAt ?? void 0;
|
|
11651
|
+
this.state = data.state;
|
|
11652
|
+
}
|
|
11653
|
+
};
|
|
11550
11654
|
var DevAccessTokenOutput = class extends DvinaModel {
|
|
11551
11655
|
access_token;
|
|
11552
11656
|
constructor(request, data, syncEngine, baseUrl) {
|
|
@@ -12207,6 +12311,67 @@ var LiveContext = class extends DvinaModel {
|
|
|
12207
12311
|
this.createdAt = new Date(data.createdAt);
|
|
12208
12312
|
this.updatedAt = new Date(data.updatedAt);
|
|
12209
12313
|
}
|
|
12314
|
+
/** Query the items relation for this LiveContext. Call .fetch() or .watch() to execute. */
|
|
12315
|
+
items(variables) {
|
|
12316
|
+
return new LiveContext_ItemsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12317
|
+
}
|
|
12318
|
+
/** Query the source relation for this LiveContext. Call .fetch() or .watch() to execute. */
|
|
12319
|
+
source(variables) {
|
|
12320
|
+
return new LiveContext_SourceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12321
|
+
}
|
|
12322
|
+
};
|
|
12323
|
+
var LocalRuntimeDeviceModel = class extends DvinaModel {
|
|
12324
|
+
deviceId;
|
|
12325
|
+
label;
|
|
12326
|
+
platform;
|
|
12327
|
+
deviceType;
|
|
12328
|
+
manufacturer;
|
|
12329
|
+
modelName;
|
|
12330
|
+
modelYear;
|
|
12331
|
+
lastSeenAt;
|
|
12332
|
+
state;
|
|
12333
|
+
isPreferred;
|
|
12334
|
+
isResolved;
|
|
12335
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12336
|
+
super(request, syncEngine, baseUrl);
|
|
12337
|
+
this.deviceId = data.deviceId;
|
|
12338
|
+
this.label = data.label;
|
|
12339
|
+
this.platform = data.platform ?? void 0;
|
|
12340
|
+
this.deviceType = data.deviceType ?? void 0;
|
|
12341
|
+
this.manufacturer = data.manufacturer ?? void 0;
|
|
12342
|
+
this.modelName = data.modelName ?? void 0;
|
|
12343
|
+
this.modelYear = data.modelYear ?? void 0;
|
|
12344
|
+
this.lastSeenAt = data.lastSeenAt ?? void 0;
|
|
12345
|
+
this.state = data.state;
|
|
12346
|
+
this.isPreferred = data.isPreferred;
|
|
12347
|
+
this.isResolved = data.isResolved;
|
|
12348
|
+
}
|
|
12349
|
+
};
|
|
12350
|
+
var LocalRuntimeOverviewModel = class extends DvinaModel {
|
|
12351
|
+
state;
|
|
12352
|
+
resolvedDeviceId;
|
|
12353
|
+
resolvedDeviceLabel;
|
|
12354
|
+
connectedDeviceCount;
|
|
12355
|
+
devices;
|
|
12356
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12357
|
+
super(request, syncEngine, baseUrl);
|
|
12358
|
+
this.state = data.state;
|
|
12359
|
+
this.resolvedDeviceId = data.resolvedDeviceId ?? void 0;
|
|
12360
|
+
this.resolvedDeviceLabel = data.resolvedDeviceLabel ?? void 0;
|
|
12361
|
+
this.connectedDeviceCount = data.connectedDeviceCount;
|
|
12362
|
+
this.devices = Array.isArray(data.devices) ? data.devices.filter(Boolean).map((item) => new LocalRuntimeDeviceModel(request, item, syncEngine, baseUrl)) : [];
|
|
12363
|
+
}
|
|
12364
|
+
};
|
|
12365
|
+
var LocalSandboxDeviceStatusModel = class extends DvinaModel {
|
|
12366
|
+
state;
|
|
12367
|
+
deviceId;
|
|
12368
|
+
lastSeenAt;
|
|
12369
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12370
|
+
super(request, syncEngine, baseUrl);
|
|
12371
|
+
this.state = data.state;
|
|
12372
|
+
this.deviceId = data.deviceId;
|
|
12373
|
+
this.lastSeenAt = data.lastSeenAt ?? void 0;
|
|
12374
|
+
}
|
|
12210
12375
|
};
|
|
12211
12376
|
var McpAuthUpdateModel = class extends DvinaModel {
|
|
12212
12377
|
provider;
|
|
@@ -12392,6 +12557,52 @@ var ProgressSummaryEventOutput = class extends DvinaModel {
|
|
|
12392
12557
|
this.targetToolCallId = data.targetToolCallId ?? void 0;
|
|
12393
12558
|
}
|
|
12394
12559
|
};
|
|
12560
|
+
var Project = class extends DvinaModel {
|
|
12561
|
+
id;
|
|
12562
|
+
name;
|
|
12563
|
+
source;
|
|
12564
|
+
iconDataUrl;
|
|
12565
|
+
createdAt;
|
|
12566
|
+
updatedAt;
|
|
12567
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12568
|
+
super(request, syncEngine, baseUrl);
|
|
12569
|
+
this.id = data.id;
|
|
12570
|
+
this.name = data.name;
|
|
12571
|
+
this.source = data.source;
|
|
12572
|
+
this.iconDataUrl = data.iconDataUrl ?? void 0;
|
|
12573
|
+
this.createdAt = new Date(data.createdAt);
|
|
12574
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
12575
|
+
}
|
|
12576
|
+
/** Query the chats relation for this Project. Call .fetch() or .watch() to execute. */
|
|
12577
|
+
chats(variables) {
|
|
12578
|
+
return new Project_ChatsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12579
|
+
}
|
|
12580
|
+
/** Query the desktopBinding relation for this Project. Call .fetch() or .watch() to execute. */
|
|
12581
|
+
desktopBinding(variables) {
|
|
12582
|
+
return new Project_DesktopBindingQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12583
|
+
}
|
|
12584
|
+
};
|
|
12585
|
+
var ProjectDesktopBinding = class extends DvinaModel {
|
|
12586
|
+
projectId;
|
|
12587
|
+
deviceId;
|
|
12588
|
+
kind;
|
|
12589
|
+
rootPath;
|
|
12590
|
+
createdAt;
|
|
12591
|
+
updatedAt;
|
|
12592
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12593
|
+
super(request, syncEngine, baseUrl);
|
|
12594
|
+
this.projectId = data.projectId;
|
|
12595
|
+
this.deviceId = data.deviceId;
|
|
12596
|
+
this.kind = data.kind;
|
|
12597
|
+
this.rootPath = data.rootPath;
|
|
12598
|
+
this.createdAt = new Date(data.createdAt);
|
|
12599
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
12600
|
+
}
|
|
12601
|
+
/** Lazy-fetch the project relation. Call .fetch() or .watch() to execute. */
|
|
12602
|
+
project() {
|
|
12603
|
+
return new ProjectQuery(this._request, this._syncEngine, { id: this.projectId }, this._baseUrl);
|
|
12604
|
+
}
|
|
12605
|
+
};
|
|
12395
12606
|
var PulseAppSummaryModel = class extends DvinaModel {
|
|
12396
12607
|
activeTriggerCount;
|
|
12397
12608
|
integrationId;
|
|
@@ -13182,6 +13393,17 @@ var InterpretationConnection = class extends Connection {
|
|
|
13182
13393
|
);
|
|
13183
13394
|
}
|
|
13184
13395
|
};
|
|
13396
|
+
var LiveContextConnection = class extends Connection {
|
|
13397
|
+
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13398
|
+
super(
|
|
13399
|
+
request,
|
|
13400
|
+
fetch2,
|
|
13401
|
+
data.nodes?.map((node) => new LiveContext(request, node, syncEngine, baseUrl)) ?? [],
|
|
13402
|
+
new PageInfo(data.pageInfo),
|
|
13403
|
+
data.totalCount ?? void 0
|
|
13404
|
+
);
|
|
13405
|
+
}
|
|
13406
|
+
};
|
|
13185
13407
|
var NotificationConnection = class extends Connection {
|
|
13186
13408
|
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13187
13409
|
super(
|
|
@@ -13193,6 +13415,17 @@ var NotificationConnection = class extends Connection {
|
|
|
13193
13415
|
);
|
|
13194
13416
|
}
|
|
13195
13417
|
};
|
|
13418
|
+
var ProjectConnection = class extends Connection {
|
|
13419
|
+
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13420
|
+
super(
|
|
13421
|
+
request,
|
|
13422
|
+
fetch2,
|
|
13423
|
+
data.nodes?.map((node) => new Project(request, node, syncEngine, baseUrl)) ?? [],
|
|
13424
|
+
new PageInfo(data.pageInfo),
|
|
13425
|
+
data.totalCount ?? void 0
|
|
13426
|
+
);
|
|
13427
|
+
}
|
|
13428
|
+
};
|
|
13196
13429
|
var PulseEventConnection = class extends Connection {
|
|
13197
13430
|
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13198
13431
|
super(
|
|
@@ -13389,6 +13622,25 @@ var ChatSubBuilder = class {
|
|
|
13389
13622
|
});
|
|
13390
13623
|
return this;
|
|
13391
13624
|
}
|
|
13625
|
+
/** Include desktopDevice in the parent query. */
|
|
13626
|
+
desktopDevice(variables) {
|
|
13627
|
+
const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
13628
|
+
this._includes.push({
|
|
13629
|
+
fieldName: "desktopDevice",
|
|
13630
|
+
fragmentDoc: DesktopDeviceFragmentDoc,
|
|
13631
|
+
variables,
|
|
13632
|
+
isConnection: false,
|
|
13633
|
+
isList: false,
|
|
13634
|
+
variableDefinitions: info.variableDefinitions,
|
|
13635
|
+
fieldArguments: info.fieldArguments,
|
|
13636
|
+
syncMetadata: {
|
|
13637
|
+
entityType: "desktopDevices",
|
|
13638
|
+
requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
|
|
13639
|
+
},
|
|
13640
|
+
modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
|
|
13641
|
+
});
|
|
13642
|
+
return this;
|
|
13643
|
+
}
|
|
13392
13644
|
/** Include insight in the parent query. */
|
|
13393
13645
|
insight(variables, builder) {
|
|
13394
13646
|
const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
|
|
@@ -13442,6 +13694,32 @@ var ChatSubBuilder = class {
|
|
|
13442
13694
|
});
|
|
13443
13695
|
return this;
|
|
13444
13696
|
}
|
|
13697
|
+
/** Include project in the parent query. */
|
|
13698
|
+
project(variables, builder) {
|
|
13699
|
+
const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
|
|
13700
|
+
let children;
|
|
13701
|
+
if (builder) {
|
|
13702
|
+
const sub = new ProjectSubBuilder();
|
|
13703
|
+
builder(sub);
|
|
13704
|
+
children = sub._includes;
|
|
13705
|
+
}
|
|
13706
|
+
this._includes.push({
|
|
13707
|
+
fieldName: "project",
|
|
13708
|
+
fragmentDoc: ProjectFragmentDoc,
|
|
13709
|
+
variables,
|
|
13710
|
+
isConnection: false,
|
|
13711
|
+
isList: false,
|
|
13712
|
+
variableDefinitions: info.variableDefinitions,
|
|
13713
|
+
fieldArguments: info.fieldArguments,
|
|
13714
|
+
syncMetadata: {
|
|
13715
|
+
entityType: "projects",
|
|
13716
|
+
requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
|
|
13717
|
+
},
|
|
13718
|
+
children,
|
|
13719
|
+
modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
|
|
13720
|
+
});
|
|
13721
|
+
return this;
|
|
13722
|
+
}
|
|
13445
13723
|
};
|
|
13446
13724
|
var ChatMessageSubBuilder = class {
|
|
13447
13725
|
/** @internal */
|
|
@@ -13905,6 +14183,98 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13905
14183
|
return this;
|
|
13906
14184
|
}
|
|
13907
14185
|
};
|
|
14186
|
+
var LiveContextSubBuilder = class {
|
|
14187
|
+
/** @internal */
|
|
14188
|
+
_includes = [];
|
|
14189
|
+
/** Include items in the parent query. */
|
|
14190
|
+
items(variables) {
|
|
14191
|
+
const info = extractIncludeInfo(LiveContext_ItemsDocument, "items", ["id"]);
|
|
14192
|
+
this._includes.push({
|
|
14193
|
+
fieldName: "items",
|
|
14194
|
+
fragmentDoc: FeedItemGeneratedFragmentDoc,
|
|
14195
|
+
variables,
|
|
14196
|
+
isConnection: false,
|
|
14197
|
+
isList: true,
|
|
14198
|
+
variableDefinitions: info.variableDefinitions,
|
|
14199
|
+
fieldArguments: info.fieldArguments,
|
|
14200
|
+
syncMetadata: {
|
|
14201
|
+
entityType: "feedItemGenerateds",
|
|
14202
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
14203
|
+
},
|
|
14204
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
14205
|
+
});
|
|
14206
|
+
return this;
|
|
14207
|
+
}
|
|
14208
|
+
/** Include source in the parent query. */
|
|
14209
|
+
source(variables) {
|
|
14210
|
+
const info = extractIncludeInfo(LiveContext_SourceDocument, "source", ["id"]);
|
|
14211
|
+
this._includes.push({
|
|
14212
|
+
fieldName: "source",
|
|
14213
|
+
fragmentDoc: CandidateFragmentDoc,
|
|
14214
|
+
variables,
|
|
14215
|
+
isConnection: false,
|
|
14216
|
+
isList: false,
|
|
14217
|
+
variableDefinitions: info.variableDefinitions,
|
|
14218
|
+
fieldArguments: info.fieldArguments,
|
|
14219
|
+
syncMetadata: {
|
|
14220
|
+
entityType: "candidates",
|
|
14221
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
14222
|
+
},
|
|
14223
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
14224
|
+
});
|
|
14225
|
+
return this;
|
|
14226
|
+
}
|
|
14227
|
+
};
|
|
14228
|
+
var ProjectSubBuilder = class {
|
|
14229
|
+
/** @internal */
|
|
14230
|
+
_includes = [];
|
|
14231
|
+
/** Include chats in the parent query. */
|
|
14232
|
+
chats(variables, builder) {
|
|
14233
|
+
const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
|
|
14234
|
+
let children;
|
|
14235
|
+
if (builder) {
|
|
14236
|
+
const sub = new ChatSubBuilder();
|
|
14237
|
+
builder(sub);
|
|
14238
|
+
children = sub._includes;
|
|
14239
|
+
}
|
|
14240
|
+
this._includes.push({
|
|
14241
|
+
fieldName: "chats",
|
|
14242
|
+
fragmentDoc: ChatConnectionFragmentDoc,
|
|
14243
|
+
variables,
|
|
14244
|
+
isConnection: true,
|
|
14245
|
+
isList: false,
|
|
14246
|
+
variableDefinitions: info.variableDefinitions,
|
|
14247
|
+
fieldArguments: info.fieldArguments,
|
|
14248
|
+
syncMetadata: {
|
|
14249
|
+
entityType: "chats",
|
|
14250
|
+
requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
|
|
14251
|
+
},
|
|
14252
|
+
children,
|
|
14253
|
+
modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
|
|
14254
|
+
connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
|
|
14255
|
+
});
|
|
14256
|
+
return this;
|
|
14257
|
+
}
|
|
14258
|
+
/** Include desktopBinding in the parent query. */
|
|
14259
|
+
desktopBinding(variables) {
|
|
14260
|
+
const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
14261
|
+
this._includes.push({
|
|
14262
|
+
fieldName: "desktopBinding",
|
|
14263
|
+
fragmentDoc: ProjectDesktopBindingFragmentDoc,
|
|
14264
|
+
variables,
|
|
14265
|
+
isConnection: false,
|
|
14266
|
+
isList: false,
|
|
14267
|
+
variableDefinitions: info.variableDefinitions,
|
|
14268
|
+
fieldArguments: info.fieldArguments,
|
|
14269
|
+
syncMetadata: {
|
|
14270
|
+
entityType: "projectDesktopBindings",
|
|
14271
|
+
requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
|
|
14272
|
+
},
|
|
14273
|
+
modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
|
|
14274
|
+
});
|
|
14275
|
+
return this;
|
|
14276
|
+
}
|
|
14277
|
+
};
|
|
13908
14278
|
var PulseEventSubBuilder = class {
|
|
13909
14279
|
/** @internal */
|
|
13910
14280
|
_includes = [];
|
|
@@ -14185,6 +14555,13 @@ var CreateIntegrationMutation = class extends Request {
|
|
|
14185
14555
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14186
14556
|
}
|
|
14187
14557
|
};
|
|
14558
|
+
var CreateProjectMutation = class extends Request {
|
|
14559
|
+
async fetch(variables, options) {
|
|
14560
|
+
const response = await this._syncEngine.mutate(CreateProjectDocument, variables, MUTATION_CACHE_RULES["createProject"]);
|
|
14561
|
+
const data = response.createProject;
|
|
14562
|
+
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14563
|
+
}
|
|
14564
|
+
};
|
|
14188
14565
|
var CreateReportMutation = class extends Request {
|
|
14189
14566
|
async fetch(variables, options) {
|
|
14190
14567
|
const response = await this._syncEngine.mutate(CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
@@ -14275,6 +14652,13 @@ var DeleteIntegrationMutation = class extends Request {
|
|
|
14275
14652
|
return response.deleteIntegration;
|
|
14276
14653
|
}
|
|
14277
14654
|
};
|
|
14655
|
+
var DeleteProjectMutation = class extends Request {
|
|
14656
|
+
async fetch(variables, options) {
|
|
14657
|
+
const response = await this._syncEngine.mutate(DeleteProjectDocument, variables, MUTATION_CACHE_RULES["deleteProject"]);
|
|
14658
|
+
const data = response.deleteProject;
|
|
14659
|
+
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14660
|
+
}
|
|
14661
|
+
};
|
|
14278
14662
|
var DeleteReportMutation = class extends Request {
|
|
14279
14663
|
async fetch(variables, options) {
|
|
14280
14664
|
const response = await this._syncEngine.mutate(DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
@@ -14369,6 +14753,13 @@ var RefreshInsightMutation = class extends Request {
|
|
|
14369
14753
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14370
14754
|
}
|
|
14371
14755
|
};
|
|
14756
|
+
var RegisterDesktopDeviceMutation = class extends Request {
|
|
14757
|
+
async fetch(variables, options) {
|
|
14758
|
+
const response = await this._syncEngine.mutate(RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"]);
|
|
14759
|
+
const data = response.registerDesktopDevice;
|
|
14760
|
+
return new DesktopDeviceModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14761
|
+
}
|
|
14762
|
+
};
|
|
14372
14763
|
var ReinterpretSourceMutation = class extends Request {
|
|
14373
14764
|
async fetch(variables) {
|
|
14374
14765
|
const response = await this._syncEngine.mutate(ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
@@ -14428,6 +14819,13 @@ var SetDatabasePrimaryKeyMutation = class extends Request {
|
|
|
14428
14819
|
return response.setDatabasePrimaryKey;
|
|
14429
14820
|
}
|
|
14430
14821
|
};
|
|
14822
|
+
var SyncProjectDesktopBindingMutation = class extends Request {
|
|
14823
|
+
async fetch(variables, options) {
|
|
14824
|
+
const response = await this._syncEngine.mutate(SyncProjectDesktopBindingDocument, variables, MUTATION_CACHE_RULES["syncProjectDesktopBinding"]);
|
|
14825
|
+
const data = response.syncProjectDesktopBinding;
|
|
14826
|
+
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14827
|
+
}
|
|
14828
|
+
};
|
|
14431
14829
|
var UpdateAgentMutation = class extends Request {
|
|
14432
14830
|
async fetch(variables, options) {
|
|
14433
14831
|
const response = await this._syncEngine.mutate(UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
@@ -14504,6 +14902,13 @@ var UpdateLiveContextMutation = class extends Request {
|
|
|
14504
14902
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14505
14903
|
}
|
|
14506
14904
|
};
|
|
14905
|
+
var UpdateProjectMutation = class extends Request {
|
|
14906
|
+
async fetch(variables, options) {
|
|
14907
|
+
const response = await this._syncEngine.mutate(UpdateProjectDocument, variables, MUTATION_CACHE_RULES["updateProject"]);
|
|
14908
|
+
const data = response.updateProject;
|
|
14909
|
+
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14910
|
+
}
|
|
14911
|
+
};
|
|
14507
14912
|
var UpdatePulseTriggerMutation = class extends Request {
|
|
14508
14913
|
async fetch(variables, options) {
|
|
14509
14914
|
const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
@@ -14899,6 +15304,36 @@ var Artifact_ChatQuery = class extends Request {
|
|
|
14899
15304
|
});
|
|
14900
15305
|
}
|
|
14901
15306
|
};
|
|
15307
|
+
var Artifact_Chat_DesktopDeviceQuery = class extends Request {
|
|
15308
|
+
_variables;
|
|
15309
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
15310
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
15311
|
+
this._variables = variables;
|
|
15312
|
+
}
|
|
15313
|
+
async fetch(options) {
|
|
15314
|
+
const variables = this._variables;
|
|
15315
|
+
const response = await this._syncEngine.query(Artifact_Chat_DesktopDeviceDocument, variables, "artifact");
|
|
15316
|
+
const data = response.artifact?.chat?.desktopDevice;
|
|
15317
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15318
|
+
}
|
|
15319
|
+
watch(options) {
|
|
15320
|
+
const variables = this._variables;
|
|
15321
|
+
const raw = this._syncEngine.watch(
|
|
15322
|
+
Artifact_Chat_DesktopDeviceDocument,
|
|
15323
|
+
variables,
|
|
15324
|
+
"artifact",
|
|
15325
|
+
async (db) => {
|
|
15326
|
+
const vars = variables;
|
|
15327
|
+
const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
|
|
15328
|
+
return { artifact: { chat: { desktopDevice: entity ?? null } } };
|
|
15329
|
+
}
|
|
15330
|
+
);
|
|
15331
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
15332
|
+
const data = response.artifact?.chat?.desktopDevice;
|
|
15333
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15334
|
+
});
|
|
15335
|
+
}
|
|
15336
|
+
};
|
|
14902
15337
|
var Artifact_Chat_InsightQuery = class extends Request {
|
|
14903
15338
|
_variables;
|
|
14904
15339
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -14929,6 +15364,36 @@ var Artifact_Chat_InsightQuery = class extends Request {
|
|
|
14929
15364
|
});
|
|
14930
15365
|
}
|
|
14931
15366
|
};
|
|
15367
|
+
var Artifact_Chat_ProjectQuery = class extends Request {
|
|
15368
|
+
_variables;
|
|
15369
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
15370
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
15371
|
+
this._variables = variables;
|
|
15372
|
+
}
|
|
15373
|
+
async fetch(options) {
|
|
15374
|
+
const variables = this._variables;
|
|
15375
|
+
const response = await this._syncEngine.query(Artifact_Chat_ProjectDocument, variables, "artifact");
|
|
15376
|
+
const data = response.artifact?.chat?.project;
|
|
15377
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15378
|
+
}
|
|
15379
|
+
watch(options) {
|
|
15380
|
+
const variables = this._variables;
|
|
15381
|
+
const raw = this._syncEngine.watch(
|
|
15382
|
+
Artifact_Chat_ProjectDocument,
|
|
15383
|
+
variables,
|
|
15384
|
+
"artifact",
|
|
15385
|
+
async (db) => {
|
|
15386
|
+
const vars = variables;
|
|
15387
|
+
const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
|
|
15388
|
+
return { artifact: { chat: { project: entity ?? null } } };
|
|
15389
|
+
}
|
|
15390
|
+
);
|
|
15391
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
15392
|
+
const data = response.artifact?.chat?.project;
|
|
15393
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15394
|
+
});
|
|
15395
|
+
}
|
|
15396
|
+
};
|
|
14932
15397
|
var Artifact_FileQuery = class extends Request {
|
|
14933
15398
|
_variables;
|
|
14934
15399
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -15303,6 +15768,25 @@ var ChatQuery = class extends Request {
|
|
|
15303
15768
|
});
|
|
15304
15769
|
return this;
|
|
15305
15770
|
}
|
|
15771
|
+
/** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
|
|
15772
|
+
desktopDevice(variables) {
|
|
15773
|
+
const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
15774
|
+
this._includes.push({
|
|
15775
|
+
fieldName: "desktopDevice",
|
|
15776
|
+
fragmentDoc: DesktopDeviceFragmentDoc,
|
|
15777
|
+
variables,
|
|
15778
|
+
isConnection: false,
|
|
15779
|
+
isList: false,
|
|
15780
|
+
variableDefinitions: info.variableDefinitions,
|
|
15781
|
+
fieldArguments: info.fieldArguments,
|
|
15782
|
+
syncMetadata: {
|
|
15783
|
+
entityType: "desktopDevices",
|
|
15784
|
+
requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
|
|
15785
|
+
},
|
|
15786
|
+
modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
|
|
15787
|
+
});
|
|
15788
|
+
return this;
|
|
15789
|
+
}
|
|
15306
15790
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15307
15791
|
insight(variables, builder) {
|
|
15308
15792
|
const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
|
|
@@ -15356,22 +15840,48 @@ var ChatQuery = class extends Request {
|
|
|
15356
15840
|
});
|
|
15357
15841
|
return this;
|
|
15358
15842
|
}
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
|
|
15374
|
-
|
|
15843
|
+
/** Include project in this query (Smart Fetch — single HTTP request). */
|
|
15844
|
+
project(variables, builder) {
|
|
15845
|
+
const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
|
|
15846
|
+
let children;
|
|
15847
|
+
if (builder) {
|
|
15848
|
+
const sub = new ProjectSubBuilder();
|
|
15849
|
+
builder(sub);
|
|
15850
|
+
children = sub._includes;
|
|
15851
|
+
}
|
|
15852
|
+
this._includes.push({
|
|
15853
|
+
fieldName: "project",
|
|
15854
|
+
fragmentDoc: ProjectFragmentDoc,
|
|
15855
|
+
variables,
|
|
15856
|
+
isConnection: false,
|
|
15857
|
+
isList: false,
|
|
15858
|
+
variableDefinitions: info.variableDefinitions,
|
|
15859
|
+
fieldArguments: info.fieldArguments,
|
|
15860
|
+
syncMetadata: {
|
|
15861
|
+
entityType: "projects",
|
|
15862
|
+
requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
|
|
15863
|
+
},
|
|
15864
|
+
children,
|
|
15865
|
+
modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
|
|
15866
|
+
});
|
|
15867
|
+
return this;
|
|
15868
|
+
}
|
|
15869
|
+
};
|
|
15870
|
+
var Chat_AgentsQuery = class _Chat_AgentsQuery extends Request {
|
|
15871
|
+
_variables;
|
|
15872
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
15873
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
15874
|
+
this._variables = variables;
|
|
15875
|
+
}
|
|
15876
|
+
async fetch(options) {
|
|
15877
|
+
const variables = this._variables;
|
|
15878
|
+
const response = await this._syncEngine.query(Chat_AgentsDocument, variables, "chat");
|
|
15879
|
+
const data = response.chat?.agents;
|
|
15880
|
+
return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15881
|
+
}
|
|
15882
|
+
watch(options) {
|
|
15883
|
+
const variables = this._variables;
|
|
15884
|
+
const raw = this._syncEngine.watch(
|
|
15375
15885
|
Chat_AgentsDocument,
|
|
15376
15886
|
variables,
|
|
15377
15887
|
"chat",
|
|
@@ -15433,6 +15943,49 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends Request {
|
|
|
15433
15943
|
});
|
|
15434
15944
|
}
|
|
15435
15945
|
};
|
|
15946
|
+
var Chat_DesktopDeviceQuery = class extends Request {
|
|
15947
|
+
_variables;
|
|
15948
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
15949
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
15950
|
+
this._variables = variables;
|
|
15951
|
+
}
|
|
15952
|
+
async fetch(options) {
|
|
15953
|
+
const variables = this._variables;
|
|
15954
|
+
const response = await this._syncEngine.query(Chat_DesktopDeviceDocument, variables, "chat");
|
|
15955
|
+
const data = response.chat?.desktopDevice;
|
|
15956
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15957
|
+
}
|
|
15958
|
+
watch(options) {
|
|
15959
|
+
const variables = this._variables;
|
|
15960
|
+
const raw = this._syncEngine.watch(
|
|
15961
|
+
Chat_DesktopDeviceDocument,
|
|
15962
|
+
variables,
|
|
15963
|
+
"chat",
|
|
15964
|
+
async (db) => {
|
|
15965
|
+
const vars = variables;
|
|
15966
|
+
const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
|
|
15967
|
+
return { chat: { desktopDevice: entity ?? null } };
|
|
15968
|
+
}
|
|
15969
|
+
);
|
|
15970
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
15971
|
+
const data = response.chat?.desktopDevice;
|
|
15972
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15973
|
+
});
|
|
15974
|
+
}
|
|
15975
|
+
};
|
|
15976
|
+
var Chat_DesktopDevice_DesktopBindingsQuery = class extends Request {
|
|
15977
|
+
_variables;
|
|
15978
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
15979
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
15980
|
+
this._variables = variables;
|
|
15981
|
+
}
|
|
15982
|
+
async fetch(options) {
|
|
15983
|
+
const response = await this._syncEngine.query(Chat_DesktopDevice_DesktopBindingsDocument, this._variables, "chat");
|
|
15984
|
+
const data = response.chat?.desktopDevice?.desktopBindings;
|
|
15985
|
+
if (!Array.isArray(data)) return [];
|
|
15986
|
+
return data.map((item) => new ProjectDesktopBinding(this._request, item, this._syncEngine, this._baseUrl));
|
|
15987
|
+
}
|
|
15988
|
+
};
|
|
15436
15989
|
var Chat_InsightQuery = class extends Request {
|
|
15437
15990
|
_variables;
|
|
15438
15991
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -15544,6 +16097,66 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends Request {
|
|
|
15544
16097
|
});
|
|
15545
16098
|
}
|
|
15546
16099
|
};
|
|
16100
|
+
var Chat_ProjectQuery = class extends Request {
|
|
16101
|
+
_variables;
|
|
16102
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
16103
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
16104
|
+
this._variables = variables;
|
|
16105
|
+
}
|
|
16106
|
+
async fetch(options) {
|
|
16107
|
+
const variables = this._variables;
|
|
16108
|
+
const response = await this._syncEngine.query(Chat_ProjectDocument, variables, "chat");
|
|
16109
|
+
const data = response.chat?.project;
|
|
16110
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16111
|
+
}
|
|
16112
|
+
watch(options) {
|
|
16113
|
+
const variables = this._variables;
|
|
16114
|
+
const raw = this._syncEngine.watch(
|
|
16115
|
+
Chat_ProjectDocument,
|
|
16116
|
+
variables,
|
|
16117
|
+
"chat",
|
|
16118
|
+
async (db) => {
|
|
16119
|
+
const vars = variables;
|
|
16120
|
+
const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
|
|
16121
|
+
return { chat: { project: entity ?? null } };
|
|
16122
|
+
}
|
|
16123
|
+
);
|
|
16124
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
16125
|
+
const data = response.chat?.project;
|
|
16126
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16127
|
+
});
|
|
16128
|
+
}
|
|
16129
|
+
};
|
|
16130
|
+
var Chat_Project_DesktopBindingQuery = class extends Request {
|
|
16131
|
+
_variables;
|
|
16132
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
16133
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
16134
|
+
this._variables = variables;
|
|
16135
|
+
}
|
|
16136
|
+
async fetch(options) {
|
|
16137
|
+
const variables = this._variables;
|
|
16138
|
+
const response = await this._syncEngine.query(Chat_Project_DesktopBindingDocument, variables, "chat");
|
|
16139
|
+
const data = response.chat?.project?.desktopBinding;
|
|
16140
|
+
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16141
|
+
}
|
|
16142
|
+
watch(options) {
|
|
16143
|
+
const variables = this._variables;
|
|
16144
|
+
const raw = this._syncEngine.watch(
|
|
16145
|
+
Chat_Project_DesktopBindingDocument,
|
|
16146
|
+
variables,
|
|
16147
|
+
"chat",
|
|
16148
|
+
async (db) => {
|
|
16149
|
+
const vars = variables;
|
|
16150
|
+
const entity = vars?.id ? await db.table("projectDesktopBindings").get(vars.id) : void 0;
|
|
16151
|
+
return { chat: { project: { desktopBinding: entity ?? null } } };
|
|
16152
|
+
}
|
|
16153
|
+
);
|
|
16154
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
16155
|
+
const data = response.chat?.project?.desktopBinding;
|
|
16156
|
+
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16157
|
+
});
|
|
16158
|
+
}
|
|
16159
|
+
};
|
|
15547
16160
|
var ChatMessageQuery = class extends Request {
|
|
15548
16161
|
_variables;
|
|
15549
16162
|
_includes = [];
|
|
@@ -15753,6 +16366,36 @@ var ChatMessage_ChatQuery = class extends Request {
|
|
|
15753
16366
|
});
|
|
15754
16367
|
}
|
|
15755
16368
|
};
|
|
16369
|
+
var ChatMessage_Chat_DesktopDeviceQuery = class extends Request {
|
|
16370
|
+
_variables;
|
|
16371
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
16372
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
16373
|
+
this._variables = variables;
|
|
16374
|
+
}
|
|
16375
|
+
async fetch(options) {
|
|
16376
|
+
const variables = this._variables;
|
|
16377
|
+
const response = await this._syncEngine.query(ChatMessage_Chat_DesktopDeviceDocument, variables, "chatMessage");
|
|
16378
|
+
const data = response.chatMessage?.chat?.desktopDevice;
|
|
16379
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16380
|
+
}
|
|
16381
|
+
watch(options) {
|
|
16382
|
+
const variables = this._variables;
|
|
16383
|
+
const raw = this._syncEngine.watch(
|
|
16384
|
+
ChatMessage_Chat_DesktopDeviceDocument,
|
|
16385
|
+
variables,
|
|
16386
|
+
"chatMessage",
|
|
16387
|
+
async (db) => {
|
|
16388
|
+
const vars = variables;
|
|
16389
|
+
const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
|
|
16390
|
+
return { chatMessage: { chat: { desktopDevice: entity ?? null } } };
|
|
16391
|
+
}
|
|
16392
|
+
);
|
|
16393
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
16394
|
+
const data = response.chatMessage?.chat?.desktopDevice;
|
|
16395
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16396
|
+
});
|
|
16397
|
+
}
|
|
16398
|
+
};
|
|
15756
16399
|
var ChatMessage_Chat_InsightQuery = class extends Request {
|
|
15757
16400
|
_variables;
|
|
15758
16401
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -15783,6 +16426,36 @@ var ChatMessage_Chat_InsightQuery = class extends Request {
|
|
|
15783
16426
|
});
|
|
15784
16427
|
}
|
|
15785
16428
|
};
|
|
16429
|
+
var ChatMessage_Chat_ProjectQuery = class extends Request {
|
|
16430
|
+
_variables;
|
|
16431
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
16432
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
16433
|
+
this._variables = variables;
|
|
16434
|
+
}
|
|
16435
|
+
async fetch(options) {
|
|
16436
|
+
const variables = this._variables;
|
|
16437
|
+
const response = await this._syncEngine.query(ChatMessage_Chat_ProjectDocument, variables, "chatMessage");
|
|
16438
|
+
const data = response.chatMessage?.chat?.project;
|
|
16439
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16440
|
+
}
|
|
16441
|
+
watch(options) {
|
|
16442
|
+
const variables = this._variables;
|
|
16443
|
+
const raw = this._syncEngine.watch(
|
|
16444
|
+
ChatMessage_Chat_ProjectDocument,
|
|
16445
|
+
variables,
|
|
16446
|
+
"chatMessage",
|
|
16447
|
+
async (db) => {
|
|
16448
|
+
const vars = variables;
|
|
16449
|
+
const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
|
|
16450
|
+
return { chatMessage: { chat: { project: entity ?? null } } };
|
|
16451
|
+
}
|
|
16452
|
+
);
|
|
16453
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
16454
|
+
const data = response.chatMessage?.chat?.project;
|
|
16455
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16456
|
+
});
|
|
16457
|
+
}
|
|
16458
|
+
};
|
|
15786
16459
|
var ChatMessage_ContentsQuery = class extends Request {
|
|
15787
16460
|
_variables;
|
|
15788
16461
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -16104,6 +16777,25 @@ var ChatsQuery = class _ChatsQuery extends Request {
|
|
|
16104
16777
|
});
|
|
16105
16778
|
return this;
|
|
16106
16779
|
}
|
|
16780
|
+
/** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
|
|
16781
|
+
desktopDevice(variables) {
|
|
16782
|
+
const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
16783
|
+
this._includes.push({
|
|
16784
|
+
fieldName: "desktopDevice",
|
|
16785
|
+
fragmentDoc: DesktopDeviceFragmentDoc,
|
|
16786
|
+
variables,
|
|
16787
|
+
isConnection: false,
|
|
16788
|
+
isList: false,
|
|
16789
|
+
variableDefinitions: info.variableDefinitions,
|
|
16790
|
+
fieldArguments: info.fieldArguments,
|
|
16791
|
+
syncMetadata: {
|
|
16792
|
+
entityType: "desktopDevices",
|
|
16793
|
+
requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
|
|
16794
|
+
},
|
|
16795
|
+
modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
|
|
16796
|
+
});
|
|
16797
|
+
return this;
|
|
16798
|
+
}
|
|
16107
16799
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
16108
16800
|
insight(variables, builder) {
|
|
16109
16801
|
const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
|
|
@@ -16157,6 +16849,32 @@ var ChatsQuery = class _ChatsQuery extends Request {
|
|
|
16157
16849
|
});
|
|
16158
16850
|
return this;
|
|
16159
16851
|
}
|
|
16852
|
+
/** Include project in this query (Smart Fetch — single HTTP request). */
|
|
16853
|
+
project(variables, builder) {
|
|
16854
|
+
const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
|
|
16855
|
+
let children;
|
|
16856
|
+
if (builder) {
|
|
16857
|
+
const sub = new ProjectSubBuilder();
|
|
16858
|
+
builder(sub);
|
|
16859
|
+
children = sub._includes;
|
|
16860
|
+
}
|
|
16861
|
+
this._includes.push({
|
|
16862
|
+
fieldName: "project",
|
|
16863
|
+
fragmentDoc: ProjectFragmentDoc,
|
|
16864
|
+
variables,
|
|
16865
|
+
isConnection: false,
|
|
16866
|
+
isList: false,
|
|
16867
|
+
variableDefinitions: info.variableDefinitions,
|
|
16868
|
+
fieldArguments: info.fieldArguments,
|
|
16869
|
+
syncMetadata: {
|
|
16870
|
+
entityType: "projects",
|
|
16871
|
+
requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
|
|
16872
|
+
},
|
|
16873
|
+
children,
|
|
16874
|
+
modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
|
|
16875
|
+
});
|
|
16876
|
+
return this;
|
|
16877
|
+
}
|
|
16160
16878
|
};
|
|
16161
16879
|
var DatabaseQuery = class extends Request {
|
|
16162
16880
|
_variables;
|
|
@@ -16656,6 +17374,21 @@ var DatabasesQuery = class _DatabasesQuery extends Request {
|
|
|
16656
17374
|
return this;
|
|
16657
17375
|
}
|
|
16658
17376
|
};
|
|
17377
|
+
var DesktopDevicesQuery = class extends Request {
|
|
17378
|
+
_variables;
|
|
17379
|
+
_includes = [];
|
|
17380
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
17381
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
17382
|
+
this._variables = variables;
|
|
17383
|
+
}
|
|
17384
|
+
async fetch(options) {
|
|
17385
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDevicesDocument, "desktopDevices", this._includes, this._variables);
|
|
17386
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "desktopDevices");
|
|
17387
|
+
const data = response.desktopDevices;
|
|
17388
|
+
if (!Array.isArray(data)) return [];
|
|
17389
|
+
return data.map((item) => new DesktopDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
17390
|
+
}
|
|
17391
|
+
};
|
|
16659
17392
|
var DocumentQuery = class extends Request {
|
|
16660
17393
|
_variables;
|
|
16661
17394
|
_includes = [];
|
|
@@ -18207,6 +18940,66 @@ var Insight_ChatQuery = class extends Request {
|
|
|
18207
18940
|
});
|
|
18208
18941
|
}
|
|
18209
18942
|
};
|
|
18943
|
+
var Insight_Chat_DesktopDeviceQuery = class extends Request {
|
|
18944
|
+
_variables;
|
|
18945
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18946
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18947
|
+
this._variables = variables;
|
|
18948
|
+
}
|
|
18949
|
+
async fetch(options) {
|
|
18950
|
+
const variables = this._variables;
|
|
18951
|
+
const response = await this._syncEngine.query(Insight_Chat_DesktopDeviceDocument, variables, "insight");
|
|
18952
|
+
const data = response.insight?.chat?.desktopDevice;
|
|
18953
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18954
|
+
}
|
|
18955
|
+
watch(options) {
|
|
18956
|
+
const variables = this._variables;
|
|
18957
|
+
const raw = this._syncEngine.watch(
|
|
18958
|
+
Insight_Chat_DesktopDeviceDocument,
|
|
18959
|
+
variables,
|
|
18960
|
+
"insight",
|
|
18961
|
+
async (db) => {
|
|
18962
|
+
const vars = variables;
|
|
18963
|
+
const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
|
|
18964
|
+
return { insight: { chat: { desktopDevice: entity ?? null } } };
|
|
18965
|
+
}
|
|
18966
|
+
);
|
|
18967
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
18968
|
+
const data = response.insight?.chat?.desktopDevice;
|
|
18969
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18970
|
+
});
|
|
18971
|
+
}
|
|
18972
|
+
};
|
|
18973
|
+
var Insight_Chat_ProjectQuery = class extends Request {
|
|
18974
|
+
_variables;
|
|
18975
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18976
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18977
|
+
this._variables = variables;
|
|
18978
|
+
}
|
|
18979
|
+
async fetch(options) {
|
|
18980
|
+
const variables = this._variables;
|
|
18981
|
+
const response = await this._syncEngine.query(Insight_Chat_ProjectDocument, variables, "insight");
|
|
18982
|
+
const data = response.insight?.chat?.project;
|
|
18983
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18984
|
+
}
|
|
18985
|
+
watch(options) {
|
|
18986
|
+
const variables = this._variables;
|
|
18987
|
+
const raw = this._syncEngine.watch(
|
|
18988
|
+
Insight_Chat_ProjectDocument,
|
|
18989
|
+
variables,
|
|
18990
|
+
"insight",
|
|
18991
|
+
async (db) => {
|
|
18992
|
+
const vars = variables;
|
|
18993
|
+
const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
|
|
18994
|
+
return { insight: { chat: { project: entity ?? null } } };
|
|
18995
|
+
}
|
|
18996
|
+
);
|
|
18997
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
18998
|
+
const data = response.insight?.chat?.project;
|
|
18999
|
+
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19000
|
+
});
|
|
19001
|
+
}
|
|
19002
|
+
};
|
|
18210
19003
|
var Insight_ReportMembersQuery = class extends Request {
|
|
18211
19004
|
_variables;
|
|
18212
19005
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -18919,7 +19712,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends Request {
|
|
|
18919
19712
|
});
|
|
18920
19713
|
}
|
|
18921
19714
|
};
|
|
18922
|
-
var
|
|
19715
|
+
var LiveContextQuery = class extends Request {
|
|
18923
19716
|
_variables;
|
|
18924
19717
|
_includes = [];
|
|
18925
19718
|
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
@@ -18928,10 +19721,10 @@ var NotificationQuery = class extends Request {
|
|
|
18928
19721
|
}
|
|
18929
19722
|
async fetch(options) {
|
|
18930
19723
|
const variables = this._variables;
|
|
18931
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18932
|
-
const response = await this._syncEngine.query(queryDoc, mergedVars, "
|
|
18933
|
-
const data = response.
|
|
18934
|
-
const instance = new
|
|
19724
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LiveContextDocument, "liveContext", this._includes, variables);
|
|
19725
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContext");
|
|
19726
|
+
const data = response.liveContext;
|
|
19727
|
+
const instance = new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
18935
19728
|
if (this._includes.length > 0) {
|
|
18936
19729
|
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
18937
19730
|
}
|
|
@@ -18940,49 +19733,430 @@ var NotificationQuery = class extends Request {
|
|
|
18940
19733
|
watch(options) {
|
|
18941
19734
|
const variables = this._variables;
|
|
18942
19735
|
const includes = this._includes;
|
|
18943
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19736
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LiveContextDocument, "liveContext", includes, variables);
|
|
18944
19737
|
const raw = this._syncEngine.watch(
|
|
18945
19738
|
queryDoc,
|
|
18946
19739
|
mergedVars,
|
|
18947
|
-
"
|
|
19740
|
+
"liveContext",
|
|
18948
19741
|
async (db) => {
|
|
18949
19742
|
const vars = variables;
|
|
18950
|
-
const pkField = getPrimaryKeyField("
|
|
19743
|
+
const pkField = getPrimaryKeyField("liveContexts");
|
|
18951
19744
|
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
18952
19745
|
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
18953
|
-
const entity = hasEntityKey ? await db.table("
|
|
19746
|
+
const entity = hasEntityKey ? await db.table("liveContexts").get(entityKey) : void 0;
|
|
18954
19747
|
if (includes.length > 0 && entity) {
|
|
18955
19748
|
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
18956
|
-
const result = await reconstructEntity(db, "
|
|
18957
|
-
return {
|
|
19749
|
+
const result = await reconstructEntity(db, "liveContexts", parentId, includes);
|
|
19750
|
+
return { liveContext: result };
|
|
18958
19751
|
}
|
|
18959
|
-
return {
|
|
19752
|
+
return { liveContext: entity ?? null };
|
|
18960
19753
|
}
|
|
18961
19754
|
);
|
|
18962
19755
|
return new MappedDvinaQueryRef(raw, (response) => {
|
|
18963
|
-
const data = response.
|
|
18964
|
-
const instance = new
|
|
19756
|
+
const data = response.liveContext;
|
|
19757
|
+
const instance = new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
18965
19758
|
if (includes.length > 0) {
|
|
18966
19759
|
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
18967
19760
|
}
|
|
18968
19761
|
return instance;
|
|
18969
19762
|
});
|
|
18970
19763
|
}
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
|
|
18985
|
-
|
|
19764
|
+
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19765
|
+
items(variables) {
|
|
19766
|
+
const info = extractIncludeInfo(LiveContext_ItemsDocument, "items", ["id"]);
|
|
19767
|
+
this._includes.push({
|
|
19768
|
+
fieldName: "items",
|
|
19769
|
+
fragmentDoc: FeedItemGeneratedFragmentDoc,
|
|
19770
|
+
variables,
|
|
19771
|
+
isConnection: false,
|
|
19772
|
+
isList: true,
|
|
19773
|
+
variableDefinitions: info.variableDefinitions,
|
|
19774
|
+
fieldArguments: info.fieldArguments,
|
|
19775
|
+
syncMetadata: {
|
|
19776
|
+
entityType: "feedItemGenerateds",
|
|
19777
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
19778
|
+
},
|
|
19779
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
19780
|
+
});
|
|
19781
|
+
return this;
|
|
19782
|
+
}
|
|
19783
|
+
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19784
|
+
source(variables) {
|
|
19785
|
+
const info = extractIncludeInfo(LiveContext_SourceDocument, "source", ["id"]);
|
|
19786
|
+
this._includes.push({
|
|
19787
|
+
fieldName: "source",
|
|
19788
|
+
fragmentDoc: CandidateFragmentDoc,
|
|
19789
|
+
variables,
|
|
19790
|
+
isConnection: false,
|
|
19791
|
+
isList: false,
|
|
19792
|
+
variableDefinitions: info.variableDefinitions,
|
|
19793
|
+
fieldArguments: info.fieldArguments,
|
|
19794
|
+
syncMetadata: {
|
|
19795
|
+
entityType: "candidates",
|
|
19796
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
19797
|
+
},
|
|
19798
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
19799
|
+
});
|
|
19800
|
+
return this;
|
|
19801
|
+
}
|
|
19802
|
+
};
|
|
19803
|
+
var LiveContext_ItemsQuery = class extends Request {
|
|
19804
|
+
_variables;
|
|
19805
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19806
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19807
|
+
this._variables = variables;
|
|
19808
|
+
}
|
|
19809
|
+
async fetch(options) {
|
|
19810
|
+
const response = await this._syncEngine.query(LiveContext_ItemsDocument, this._variables, "liveContext");
|
|
19811
|
+
const data = response.liveContext?.items;
|
|
19812
|
+
if (!Array.isArray(data)) return [];
|
|
19813
|
+
return data.map((item) => new FeedItemGenerated(this._request, item, this._syncEngine, this._baseUrl));
|
|
19814
|
+
}
|
|
19815
|
+
};
|
|
19816
|
+
var LiveContext_SourceQuery = class extends Request {
|
|
19817
|
+
_variables;
|
|
19818
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19819
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19820
|
+
this._variables = variables;
|
|
19821
|
+
}
|
|
19822
|
+
async fetch(options) {
|
|
19823
|
+
const variables = this._variables;
|
|
19824
|
+
const response = await this._syncEngine.query(LiveContext_SourceDocument, variables, "liveContext");
|
|
19825
|
+
const data = response.liveContext?.source;
|
|
19826
|
+
return data ? new Candidate(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19827
|
+
}
|
|
19828
|
+
watch(options) {
|
|
19829
|
+
const variables = this._variables;
|
|
19830
|
+
const raw = this._syncEngine.watch(
|
|
19831
|
+
LiveContext_SourceDocument,
|
|
19832
|
+
variables,
|
|
19833
|
+
"liveContext",
|
|
19834
|
+
async (db) => {
|
|
19835
|
+
const vars = variables;
|
|
19836
|
+
const entity = vars?.id ? await db.table("candidates").get(vars.id) : void 0;
|
|
19837
|
+
return { liveContext: { source: entity ?? null } };
|
|
19838
|
+
}
|
|
19839
|
+
);
|
|
19840
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
19841
|
+
const data = response.liveContext?.source;
|
|
19842
|
+
return data ? new Candidate(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19843
|
+
});
|
|
19844
|
+
}
|
|
19845
|
+
};
|
|
19846
|
+
var LiveContext_Source_EvidencesQuery = class extends Request {
|
|
19847
|
+
_variables;
|
|
19848
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19849
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19850
|
+
this._variables = variables;
|
|
19851
|
+
}
|
|
19852
|
+
async fetch(options) {
|
|
19853
|
+
const response = await this._syncEngine.query(LiveContext_Source_EvidencesDocument, this._variables, "liveContext");
|
|
19854
|
+
const data = response.liveContext?.source?.evidences;
|
|
19855
|
+
if (!Array.isArray(data)) return [];
|
|
19856
|
+
return data.map((item) => new CandidateEvidence(this._request, item, this._syncEngine, this._baseUrl));
|
|
19857
|
+
}
|
|
19858
|
+
};
|
|
19859
|
+
var LiveContextsQuery = class _LiveContextsQuery extends Request {
|
|
19860
|
+
_variables;
|
|
19861
|
+
_includes = [];
|
|
19862
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19863
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19864
|
+
this._variables = variables;
|
|
19865
|
+
}
|
|
19866
|
+
async fetch(options) {
|
|
19867
|
+
const variables = this._variables;
|
|
19868
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LiveContextsDocument, "liveContexts", this._includes, variables, true);
|
|
19869
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContexts");
|
|
19870
|
+
const data = response.liveContexts;
|
|
19871
|
+
const connection = new LiveContextConnection(this._request, (conn, opts) => new _LiveContextsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19872
|
+
if (this._includes.length > 0) {
|
|
19873
|
+
const rawNodes = data.nodes ?? [];
|
|
19874
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
19875
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
19876
|
+
}
|
|
19877
|
+
}
|
|
19878
|
+
return connection;
|
|
19879
|
+
}
|
|
19880
|
+
watch(options) {
|
|
19881
|
+
const variables = this._variables;
|
|
19882
|
+
const subscriptionId = crypto.randomUUID();
|
|
19883
|
+
const includes = this._includes;
|
|
19884
|
+
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19885
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LiveContextsDocument, "liveContexts", includes, variables, true);
|
|
19886
|
+
const raw = this._syncEngine.watch(
|
|
19887
|
+
queryDoc,
|
|
19888
|
+
mergedVars,
|
|
19889
|
+
"liveContexts",
|
|
19890
|
+
async (db) => {
|
|
19891
|
+
const queryKey = buildQueryKey("liveContexts", mergedVars, queryDoc);
|
|
19892
|
+
const qr = await db._queryResults.get(queryKey);
|
|
19893
|
+
if (!qr) {
|
|
19894
|
+
throw new DvinaCacheMissError(queryKey);
|
|
19895
|
+
}
|
|
19896
|
+
const nodes = await db.table("liveContexts").bulkGet(qr.entityIds);
|
|
19897
|
+
const filteredNodes = nodes.filter(Boolean);
|
|
19898
|
+
if (filteredNodes.length !== qr.entityIds.length) {
|
|
19899
|
+
throw new DvinaCacheMissError(queryKey);
|
|
19900
|
+
}
|
|
19901
|
+
const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "liveContexts", filteredNodes, includes) : filteredNodes;
|
|
19902
|
+
return { liveContexts: { __typename: "LiveContextConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
|
|
19903
|
+
},
|
|
19904
|
+
{
|
|
19905
|
+
id: subscriptionId,
|
|
19906
|
+
entityType: "liveContexts",
|
|
19907
|
+
operationName: "liveContexts",
|
|
19908
|
+
modelName: "LiveContext",
|
|
19909
|
+
filter: variables?.filter
|
|
19910
|
+
},
|
|
19911
|
+
watchedRelations
|
|
19912
|
+
);
|
|
19913
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
19914
|
+
const data = response.liveContexts;
|
|
19915
|
+
const connection = new LiveContextConnection(this._request, (conn, opts) => new _LiveContextsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19916
|
+
if (includes.length > 0) {
|
|
19917
|
+
const rawNodes = data.nodes ?? [];
|
|
19918
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
19919
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
|
|
19920
|
+
}
|
|
19921
|
+
}
|
|
19922
|
+
return connection;
|
|
19923
|
+
});
|
|
19924
|
+
}
|
|
19925
|
+
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19926
|
+
items(variables) {
|
|
19927
|
+
const info = extractIncludeInfo(LiveContext_ItemsDocument, "items", ["id"]);
|
|
19928
|
+
this._includes.push({
|
|
19929
|
+
fieldName: "items",
|
|
19930
|
+
fragmentDoc: FeedItemGeneratedFragmentDoc,
|
|
19931
|
+
variables,
|
|
19932
|
+
isConnection: false,
|
|
19933
|
+
isList: true,
|
|
19934
|
+
variableDefinitions: info.variableDefinitions,
|
|
19935
|
+
fieldArguments: info.fieldArguments,
|
|
19936
|
+
syncMetadata: {
|
|
19937
|
+
entityType: "feedItemGenerateds",
|
|
19938
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
19939
|
+
},
|
|
19940
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
19941
|
+
});
|
|
19942
|
+
return this;
|
|
19943
|
+
}
|
|
19944
|
+
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19945
|
+
source(variables) {
|
|
19946
|
+
const info = extractIncludeInfo(LiveContext_SourceDocument, "source", ["id"]);
|
|
19947
|
+
this._includes.push({
|
|
19948
|
+
fieldName: "source",
|
|
19949
|
+
fragmentDoc: CandidateFragmentDoc,
|
|
19950
|
+
variables,
|
|
19951
|
+
isConnection: false,
|
|
19952
|
+
isList: false,
|
|
19953
|
+
variableDefinitions: info.variableDefinitions,
|
|
19954
|
+
fieldArguments: info.fieldArguments,
|
|
19955
|
+
syncMetadata: {
|
|
19956
|
+
entityType: "candidates",
|
|
19957
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
19958
|
+
},
|
|
19959
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
19960
|
+
});
|
|
19961
|
+
return this;
|
|
19962
|
+
}
|
|
19963
|
+
};
|
|
19964
|
+
var LocalRuntimeOverviewQuery = class extends Request {
|
|
19965
|
+
_variables;
|
|
19966
|
+
_includes = [];
|
|
19967
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19968
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19969
|
+
this._variables = variables;
|
|
19970
|
+
}
|
|
19971
|
+
async fetch(options) {
|
|
19972
|
+
const variables = this._variables;
|
|
19973
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", this._includes, variables);
|
|
19974
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "localRuntimeOverview");
|
|
19975
|
+
const data = response.localRuntimeOverview;
|
|
19976
|
+
const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
19977
|
+
if (this._includes.length > 0) {
|
|
19978
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
19979
|
+
}
|
|
19980
|
+
return instance;
|
|
19981
|
+
}
|
|
19982
|
+
watch(options) {
|
|
19983
|
+
const variables = this._variables;
|
|
19984
|
+
const includes = this._includes;
|
|
19985
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", includes, variables);
|
|
19986
|
+
const raw = this._syncEngine.watch(
|
|
19987
|
+
queryDoc,
|
|
19988
|
+
mergedVars,
|
|
19989
|
+
"localRuntimeOverview",
|
|
19990
|
+
async (db) => {
|
|
19991
|
+
const vars = variables;
|
|
19992
|
+
const pkField = getPrimaryKeyField("localRuntimeOverviewModels");
|
|
19993
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
19994
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
19995
|
+
const entity = hasEntityKey ? await db.table("localRuntimeOverviewModels").get(entityKey) : void 0;
|
|
19996
|
+
if (includes.length > 0 && entity) {
|
|
19997
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
19998
|
+
const result = await reconstructEntity(db, "localRuntimeOverviewModels", parentId, includes);
|
|
19999
|
+
return { localRuntimeOverview: result };
|
|
20000
|
+
}
|
|
20001
|
+
return { localRuntimeOverview: entity ?? null };
|
|
20002
|
+
}
|
|
20003
|
+
);
|
|
20004
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20005
|
+
const data = response.localRuntimeOverview;
|
|
20006
|
+
const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20007
|
+
if (includes.length > 0) {
|
|
20008
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
20009
|
+
}
|
|
20010
|
+
return instance;
|
|
20011
|
+
});
|
|
20012
|
+
}
|
|
20013
|
+
/** Include devices in this query (Smart Fetch — single HTTP request). */
|
|
20014
|
+
devices(variables) {
|
|
20015
|
+
const info = extractIncludeInfo(LocalRuntimeOverview_DevicesDocument, "devices", []);
|
|
20016
|
+
this._includes.push({
|
|
20017
|
+
fieldName: "devices",
|
|
20018
|
+
fragmentDoc: LocalRuntimeDeviceModelFragmentDoc,
|
|
20019
|
+
variables,
|
|
20020
|
+
isConnection: false,
|
|
20021
|
+
isList: true,
|
|
20022
|
+
variableDefinitions: info.variableDefinitions,
|
|
20023
|
+
fieldArguments: info.fieldArguments,
|
|
20024
|
+
syncMetadata: {
|
|
20025
|
+
entityType: "localRuntimeDeviceModels",
|
|
20026
|
+
requiredFields: ["deviceId", "label", "state", "isPreferred", "isResolved"]
|
|
20027
|
+
},
|
|
20028
|
+
modelFactory: (req, data, se, bu) => new LocalRuntimeDeviceModel(req, data, se, bu)
|
|
20029
|
+
});
|
|
20030
|
+
return this;
|
|
20031
|
+
}
|
|
20032
|
+
};
|
|
20033
|
+
var LocalRuntimeOverview_DevicesQuery = class extends Request {
|
|
20034
|
+
_variables;
|
|
20035
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20036
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20037
|
+
this._variables = variables;
|
|
20038
|
+
}
|
|
20039
|
+
async fetch(options) {
|
|
20040
|
+
const response = await this._syncEngine.query(LocalRuntimeOverview_DevicesDocument, this._variables, "localRuntimeOverview");
|
|
20041
|
+
const data = response.localRuntimeOverview?.devices;
|
|
20042
|
+
if (!Array.isArray(data)) return [];
|
|
20043
|
+
return data.map((item) => new LocalRuntimeDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
20044
|
+
}
|
|
20045
|
+
};
|
|
20046
|
+
var LocalSandboxDeviceStatusQuery = class extends Request {
|
|
20047
|
+
_variables;
|
|
20048
|
+
_includes = [];
|
|
20049
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20050
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20051
|
+
this._variables = variables;
|
|
20052
|
+
}
|
|
20053
|
+
async fetch(options) {
|
|
20054
|
+
const variables = this._variables;
|
|
20055
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", this._includes, variables);
|
|
20056
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "localSandboxDeviceStatus");
|
|
20057
|
+
const data = response.localSandboxDeviceStatus;
|
|
20058
|
+
const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20059
|
+
if (this._includes.length > 0) {
|
|
20060
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
20061
|
+
}
|
|
20062
|
+
return instance;
|
|
20063
|
+
}
|
|
20064
|
+
watch(options) {
|
|
20065
|
+
const variables = this._variables;
|
|
20066
|
+
const includes = this._includes;
|
|
20067
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", includes, variables);
|
|
20068
|
+
const raw = this._syncEngine.watch(
|
|
20069
|
+
queryDoc,
|
|
20070
|
+
mergedVars,
|
|
20071
|
+
"localSandboxDeviceStatus",
|
|
20072
|
+
async (db) => {
|
|
20073
|
+
const vars = variables;
|
|
20074
|
+
const pkField = getPrimaryKeyField("localSandboxDeviceStatusModels");
|
|
20075
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
20076
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
20077
|
+
const entity = hasEntityKey ? await db.table("localSandboxDeviceStatusModels").get(entityKey) : void 0;
|
|
20078
|
+
if (includes.length > 0 && entity) {
|
|
20079
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
20080
|
+
const result = await reconstructEntity(db, "localSandboxDeviceStatusModels", parentId, includes);
|
|
20081
|
+
return { localSandboxDeviceStatus: result };
|
|
20082
|
+
}
|
|
20083
|
+
return { localSandboxDeviceStatus: entity ?? null };
|
|
20084
|
+
}
|
|
20085
|
+
);
|
|
20086
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20087
|
+
const data = response.localSandboxDeviceStatus;
|
|
20088
|
+
const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20089
|
+
if (includes.length > 0) {
|
|
20090
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
20091
|
+
}
|
|
20092
|
+
return instance;
|
|
20093
|
+
});
|
|
20094
|
+
}
|
|
20095
|
+
};
|
|
20096
|
+
var NotificationQuery = class extends Request {
|
|
20097
|
+
_variables;
|
|
20098
|
+
_includes = [];
|
|
20099
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20100
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20101
|
+
this._variables = variables;
|
|
20102
|
+
}
|
|
20103
|
+
async fetch(options) {
|
|
20104
|
+
const variables = this._variables;
|
|
20105
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", this._includes, variables);
|
|
20106
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
20107
|
+
const data = response.notification;
|
|
20108
|
+
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
20109
|
+
if (this._includes.length > 0) {
|
|
20110
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
20111
|
+
}
|
|
20112
|
+
return instance;
|
|
20113
|
+
}
|
|
20114
|
+
watch(options) {
|
|
20115
|
+
const variables = this._variables;
|
|
20116
|
+
const includes = this._includes;
|
|
20117
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", includes, variables);
|
|
20118
|
+
const raw = this._syncEngine.watch(
|
|
20119
|
+
queryDoc,
|
|
20120
|
+
mergedVars,
|
|
20121
|
+
"notification",
|
|
20122
|
+
async (db) => {
|
|
20123
|
+
const vars = variables;
|
|
20124
|
+
const pkField = getPrimaryKeyField("notifications");
|
|
20125
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
20126
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
20127
|
+
const entity = hasEntityKey ? await db.table("notifications").get(entityKey) : void 0;
|
|
20128
|
+
if (includes.length > 0 && entity) {
|
|
20129
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
20130
|
+
const result = await reconstructEntity(db, "notifications", parentId, includes);
|
|
20131
|
+
return { notification: result };
|
|
20132
|
+
}
|
|
20133
|
+
return { notification: entity ?? null };
|
|
20134
|
+
}
|
|
20135
|
+
);
|
|
20136
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20137
|
+
const data = response.notification;
|
|
20138
|
+
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
20139
|
+
if (includes.length > 0) {
|
|
20140
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
20141
|
+
}
|
|
20142
|
+
return instance;
|
|
20143
|
+
});
|
|
20144
|
+
}
|
|
20145
|
+
};
|
|
20146
|
+
var NotificationsQuery = class _NotificationsQuery extends Request {
|
|
20147
|
+
_variables;
|
|
20148
|
+
_includes = [];
|
|
20149
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20150
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20151
|
+
this._variables = variables;
|
|
20152
|
+
}
|
|
20153
|
+
async fetch(options) {
|
|
20154
|
+
const variables = this._variables;
|
|
20155
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationsDocument, "notifications", this._includes, variables, true);
|
|
20156
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
20157
|
+
const data = response.notifications;
|
|
20158
|
+
const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20159
|
+
if (this._includes.length > 0) {
|
|
18986
20160
|
const rawNodes = data.nodes ?? [];
|
|
18987
20161
|
for (let i = 0; i < connection.nodes.length; i++) {
|
|
18988
20162
|
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
@@ -19101,6 +20275,313 @@ var PrivacyStatsQuery = class extends Request {
|
|
|
19101
20275
|
});
|
|
19102
20276
|
}
|
|
19103
20277
|
};
|
|
20278
|
+
var ProjectQuery = class extends Request {
|
|
20279
|
+
_variables;
|
|
20280
|
+
_includes = [];
|
|
20281
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20282
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20283
|
+
this._variables = variables;
|
|
20284
|
+
}
|
|
20285
|
+
async fetch(options) {
|
|
20286
|
+
const variables = this._variables;
|
|
20287
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectDocument, "project", this._includes, variables);
|
|
20288
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "project");
|
|
20289
|
+
const data = response.project;
|
|
20290
|
+
const instance = new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
20291
|
+
if (this._includes.length > 0) {
|
|
20292
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
20293
|
+
}
|
|
20294
|
+
return instance;
|
|
20295
|
+
}
|
|
20296
|
+
watch(options) {
|
|
20297
|
+
const variables = this._variables;
|
|
20298
|
+
const includes = this._includes;
|
|
20299
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectDocument, "project", includes, variables);
|
|
20300
|
+
const raw = this._syncEngine.watch(
|
|
20301
|
+
queryDoc,
|
|
20302
|
+
mergedVars,
|
|
20303
|
+
"project",
|
|
20304
|
+
async (db) => {
|
|
20305
|
+
const vars = variables;
|
|
20306
|
+
const pkField = getPrimaryKeyField("projects");
|
|
20307
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
20308
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
20309
|
+
const entity = hasEntityKey ? await db.table("projects").get(entityKey) : void 0;
|
|
20310
|
+
if (includes.length > 0 && entity) {
|
|
20311
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
20312
|
+
const result = await reconstructEntity(db, "projects", parentId, includes);
|
|
20313
|
+
return { project: result };
|
|
20314
|
+
}
|
|
20315
|
+
return { project: entity ?? null };
|
|
20316
|
+
}
|
|
20317
|
+
);
|
|
20318
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20319
|
+
const data = response.project;
|
|
20320
|
+
const instance = new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
20321
|
+
if (includes.length > 0) {
|
|
20322
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
20323
|
+
}
|
|
20324
|
+
return instance;
|
|
20325
|
+
});
|
|
20326
|
+
}
|
|
20327
|
+
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
20328
|
+
chats(variables, builder) {
|
|
20329
|
+
const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
|
|
20330
|
+
let children;
|
|
20331
|
+
if (builder) {
|
|
20332
|
+
const sub = new ChatSubBuilder();
|
|
20333
|
+
builder(sub);
|
|
20334
|
+
children = sub._includes;
|
|
20335
|
+
}
|
|
20336
|
+
this._includes.push({
|
|
20337
|
+
fieldName: "chats",
|
|
20338
|
+
fragmentDoc: ChatConnectionFragmentDoc,
|
|
20339
|
+
variables,
|
|
20340
|
+
isConnection: true,
|
|
20341
|
+
isList: false,
|
|
20342
|
+
variableDefinitions: info.variableDefinitions,
|
|
20343
|
+
fieldArguments: info.fieldArguments,
|
|
20344
|
+
syncMetadata: {
|
|
20345
|
+
entityType: "chats",
|
|
20346
|
+
requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
|
|
20347
|
+
},
|
|
20348
|
+
children,
|
|
20349
|
+
modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
|
|
20350
|
+
connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
|
|
20351
|
+
});
|
|
20352
|
+
return this;
|
|
20353
|
+
}
|
|
20354
|
+
/** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
|
|
20355
|
+
desktopBinding(variables) {
|
|
20356
|
+
const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
20357
|
+
this._includes.push({
|
|
20358
|
+
fieldName: "desktopBinding",
|
|
20359
|
+
fragmentDoc: ProjectDesktopBindingFragmentDoc,
|
|
20360
|
+
variables,
|
|
20361
|
+
isConnection: false,
|
|
20362
|
+
isList: false,
|
|
20363
|
+
variableDefinitions: info.variableDefinitions,
|
|
20364
|
+
fieldArguments: info.fieldArguments,
|
|
20365
|
+
syncMetadata: {
|
|
20366
|
+
entityType: "projectDesktopBindings",
|
|
20367
|
+
requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
|
|
20368
|
+
},
|
|
20369
|
+
modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
|
|
20370
|
+
});
|
|
20371
|
+
return this;
|
|
20372
|
+
}
|
|
20373
|
+
};
|
|
20374
|
+
var Project_ChatsQuery = class _Project_ChatsQuery extends Request {
|
|
20375
|
+
_variables;
|
|
20376
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20377
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20378
|
+
this._variables = variables;
|
|
20379
|
+
}
|
|
20380
|
+
async fetch(options) {
|
|
20381
|
+
const variables = this._variables;
|
|
20382
|
+
const response = await this._syncEngine.query(Project_ChatsDocument, variables, "project");
|
|
20383
|
+
const data = response.project?.chats;
|
|
20384
|
+
return new ChatConnection(this._request, (conn, opts) => new _Project_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20385
|
+
}
|
|
20386
|
+
watch(options) {
|
|
20387
|
+
const variables = this._variables;
|
|
20388
|
+
const raw = this._syncEngine.watch(
|
|
20389
|
+
Project_ChatsDocument,
|
|
20390
|
+
variables,
|
|
20391
|
+
"project",
|
|
20392
|
+
async (db) => {
|
|
20393
|
+
const queryKey = buildQueryKey("project", variables, Project_ChatsDocument);
|
|
20394
|
+
const qr = await db._queryResults.get(queryKey);
|
|
20395
|
+
if (!qr) {
|
|
20396
|
+
throw new DvinaCacheMissError(queryKey);
|
|
20397
|
+
}
|
|
20398
|
+
const nodes = await db.table("chats").bulkGet(qr.entityIds);
|
|
20399
|
+
const filteredNodes = nodes.filter(Boolean);
|
|
20400
|
+
if (filteredNodes.length !== qr.entityIds.length) {
|
|
20401
|
+
throw new DvinaCacheMissError(queryKey);
|
|
20402
|
+
}
|
|
20403
|
+
return { project: { chats: { __typename: "ChatConnection", nodes: filteredNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
20404
|
+
}
|
|
20405
|
+
);
|
|
20406
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20407
|
+
const data = response.project?.chats;
|
|
20408
|
+
return new ChatConnection(this._request, (conn, opts) => new _Project_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20409
|
+
});
|
|
20410
|
+
}
|
|
20411
|
+
};
|
|
20412
|
+
var Project_DesktopBindingQuery = class extends Request {
|
|
20413
|
+
_variables;
|
|
20414
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20415
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20416
|
+
this._variables = variables;
|
|
20417
|
+
}
|
|
20418
|
+
async fetch(options) {
|
|
20419
|
+
const variables = this._variables;
|
|
20420
|
+
const response = await this._syncEngine.query(Project_DesktopBindingDocument, variables, "project");
|
|
20421
|
+
const data = response.project?.desktopBinding;
|
|
20422
|
+
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20423
|
+
}
|
|
20424
|
+
watch(options) {
|
|
20425
|
+
const variables = this._variables;
|
|
20426
|
+
const raw = this._syncEngine.watch(
|
|
20427
|
+
Project_DesktopBindingDocument,
|
|
20428
|
+
variables,
|
|
20429
|
+
"project",
|
|
20430
|
+
async (db) => {
|
|
20431
|
+
const vars = variables;
|
|
20432
|
+
const entity = vars?.id ? await db.table("projectDesktopBindings").get(vars.id) : void 0;
|
|
20433
|
+
return { project: { desktopBinding: entity ?? null } };
|
|
20434
|
+
}
|
|
20435
|
+
);
|
|
20436
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20437
|
+
const data = response.project?.desktopBinding;
|
|
20438
|
+
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20439
|
+
});
|
|
20440
|
+
}
|
|
20441
|
+
};
|
|
20442
|
+
var Project_DesktopBinding_DeviceQuery = class extends Request {
|
|
20443
|
+
_variables;
|
|
20444
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20445
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20446
|
+
this._variables = variables;
|
|
20447
|
+
}
|
|
20448
|
+
async fetch(options) {
|
|
20449
|
+
const variables = this._variables;
|
|
20450
|
+
const response = await this._syncEngine.query(Project_DesktopBinding_DeviceDocument, variables, "project");
|
|
20451
|
+
const data = response.project?.desktopBinding?.device;
|
|
20452
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20453
|
+
}
|
|
20454
|
+
watch(options) {
|
|
20455
|
+
const variables = this._variables;
|
|
20456
|
+
const raw = this._syncEngine.watch(
|
|
20457
|
+
Project_DesktopBinding_DeviceDocument,
|
|
20458
|
+
variables,
|
|
20459
|
+
"project",
|
|
20460
|
+
async (db) => {
|
|
20461
|
+
const vars = variables;
|
|
20462
|
+
const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
|
|
20463
|
+
return { project: { desktopBinding: { device: entity ?? null } } };
|
|
20464
|
+
}
|
|
20465
|
+
);
|
|
20466
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20467
|
+
const data = response.project?.desktopBinding?.device;
|
|
20468
|
+
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20469
|
+
});
|
|
20470
|
+
}
|
|
20471
|
+
};
|
|
20472
|
+
var ProjectsQuery = class _ProjectsQuery extends Request {
|
|
20473
|
+
_variables;
|
|
20474
|
+
_includes = [];
|
|
20475
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
20476
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
20477
|
+
this._variables = variables;
|
|
20478
|
+
}
|
|
20479
|
+
async fetch(options) {
|
|
20480
|
+
const variables = this._variables;
|
|
20481
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectsDocument, "projects", this._includes, variables, true);
|
|
20482
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "projects");
|
|
20483
|
+
const data = response.projects;
|
|
20484
|
+
const connection = new ProjectConnection(this._request, (conn, opts) => new _ProjectsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20485
|
+
if (this._includes.length > 0) {
|
|
20486
|
+
const rawNodes = data.nodes ?? [];
|
|
20487
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
20488
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
20489
|
+
}
|
|
20490
|
+
}
|
|
20491
|
+
return connection;
|
|
20492
|
+
}
|
|
20493
|
+
watch(options) {
|
|
20494
|
+
const variables = this._variables;
|
|
20495
|
+
const subscriptionId = crypto.randomUUID();
|
|
20496
|
+
const includes = this._includes;
|
|
20497
|
+
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
20498
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectsDocument, "projects", includes, variables, true);
|
|
20499
|
+
const raw = this._syncEngine.watch(
|
|
20500
|
+
queryDoc,
|
|
20501
|
+
mergedVars,
|
|
20502
|
+
"projects",
|
|
20503
|
+
async (db) => {
|
|
20504
|
+
const queryKey = buildQueryKey("projects", mergedVars, queryDoc);
|
|
20505
|
+
const qr = await db._queryResults.get(queryKey);
|
|
20506
|
+
if (!qr) {
|
|
20507
|
+
throw new DvinaCacheMissError(queryKey);
|
|
20508
|
+
}
|
|
20509
|
+
const nodes = await db.table("projects").bulkGet(qr.entityIds);
|
|
20510
|
+
const filteredNodes = nodes.filter(Boolean);
|
|
20511
|
+
if (filteredNodes.length !== qr.entityIds.length) {
|
|
20512
|
+
throw new DvinaCacheMissError(queryKey);
|
|
20513
|
+
}
|
|
20514
|
+
const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "projects", filteredNodes, includes) : filteredNodes;
|
|
20515
|
+
return { projects: { __typename: "ProjectConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
|
|
20516
|
+
},
|
|
20517
|
+
{
|
|
20518
|
+
id: subscriptionId,
|
|
20519
|
+
entityType: "projects",
|
|
20520
|
+
operationName: "projects",
|
|
20521
|
+
modelName: "Project",
|
|
20522
|
+
filter: variables?.filter
|
|
20523
|
+
},
|
|
20524
|
+
watchedRelations
|
|
20525
|
+
);
|
|
20526
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
20527
|
+
const data = response.projects;
|
|
20528
|
+
const connection = new ProjectConnection(this._request, (conn, opts) => new _ProjectsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20529
|
+
if (includes.length > 0) {
|
|
20530
|
+
const rawNodes = data.nodes ?? [];
|
|
20531
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
20532
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
|
|
20533
|
+
}
|
|
20534
|
+
}
|
|
20535
|
+
return connection;
|
|
20536
|
+
});
|
|
20537
|
+
}
|
|
20538
|
+
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
20539
|
+
chats(variables, builder) {
|
|
20540
|
+
const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
|
|
20541
|
+
let children;
|
|
20542
|
+
if (builder) {
|
|
20543
|
+
const sub = new ChatSubBuilder();
|
|
20544
|
+
builder(sub);
|
|
20545
|
+
children = sub._includes;
|
|
20546
|
+
}
|
|
20547
|
+
this._includes.push({
|
|
20548
|
+
fieldName: "chats",
|
|
20549
|
+
fragmentDoc: ChatConnectionFragmentDoc,
|
|
20550
|
+
variables,
|
|
20551
|
+
isConnection: true,
|
|
20552
|
+
isList: false,
|
|
20553
|
+
variableDefinitions: info.variableDefinitions,
|
|
20554
|
+
fieldArguments: info.fieldArguments,
|
|
20555
|
+
syncMetadata: {
|
|
20556
|
+
entityType: "chats",
|
|
20557
|
+
requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
|
|
20558
|
+
},
|
|
20559
|
+
children,
|
|
20560
|
+
modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
|
|
20561
|
+
connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
|
|
20562
|
+
});
|
|
20563
|
+
return this;
|
|
20564
|
+
}
|
|
20565
|
+
/** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
|
|
20566
|
+
desktopBinding(variables) {
|
|
20567
|
+
const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
20568
|
+
this._includes.push({
|
|
20569
|
+
fieldName: "desktopBinding",
|
|
20570
|
+
fragmentDoc: ProjectDesktopBindingFragmentDoc,
|
|
20571
|
+
variables,
|
|
20572
|
+
isConnection: false,
|
|
20573
|
+
isList: false,
|
|
20574
|
+
variableDefinitions: info.variableDefinitions,
|
|
20575
|
+
fieldArguments: info.fieldArguments,
|
|
20576
|
+
syncMetadata: {
|
|
20577
|
+
entityType: "projectDesktopBindings",
|
|
20578
|
+
requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
|
|
20579
|
+
},
|
|
20580
|
+
modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
|
|
20581
|
+
});
|
|
20582
|
+
return this;
|
|
20583
|
+
}
|
|
20584
|
+
};
|
|
19104
20585
|
var PulseAppSummaryQuery = class extends Request {
|
|
19105
20586
|
_variables;
|
|
19106
20587
|
_includes = [];
|
|
@@ -20446,6 +21927,10 @@ var DvinaSdk = class extends Request {
|
|
|
20446
21927
|
createIntegration(variables) {
|
|
20447
21928
|
return new CreateIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
20448
21929
|
}
|
|
21930
|
+
/** Mutation: createProject */
|
|
21931
|
+
createProject(variables) {
|
|
21932
|
+
return new CreateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
21933
|
+
}
|
|
20449
21934
|
/** Mutation: createReport */
|
|
20450
21935
|
createReport(variables) {
|
|
20451
21936
|
return new CreateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -20498,6 +21983,10 @@ var DvinaSdk = class extends Request {
|
|
|
20498
21983
|
deleteIntegration(variables) {
|
|
20499
21984
|
return new DeleteIntegrationMutation(this._request, this._syncEngine).fetch(variables);
|
|
20500
21985
|
}
|
|
21986
|
+
/** Mutation: deleteProject */
|
|
21987
|
+
deleteProject(variables) {
|
|
21988
|
+
return new DeleteProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
21989
|
+
}
|
|
20501
21990
|
/** Mutation: deleteReport */
|
|
20502
21991
|
deleteReport(variables) {
|
|
20503
21992
|
return new DeleteReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -20554,6 +22043,10 @@ var DvinaSdk = class extends Request {
|
|
|
20554
22043
|
refreshInsight(variables) {
|
|
20555
22044
|
return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
20556
22045
|
}
|
|
22046
|
+
/** Mutation: registerDesktopDevice */
|
|
22047
|
+
registerDesktopDevice(variables) {
|
|
22048
|
+
return new RegisterDesktopDeviceMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
22049
|
+
}
|
|
20557
22050
|
/** Mutation: reinterpretSource (scalar) */
|
|
20558
22051
|
reinterpretSource(variables) {
|
|
20559
22052
|
return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables);
|
|
@@ -20590,6 +22083,10 @@ var DvinaSdk = class extends Request {
|
|
|
20590
22083
|
setDatabasePrimaryKey(variables) {
|
|
20591
22084
|
return new SetDatabasePrimaryKeyMutation(this._request, this._syncEngine).fetch(variables);
|
|
20592
22085
|
}
|
|
22086
|
+
/** Mutation: syncProjectDesktopBinding */
|
|
22087
|
+
syncProjectDesktopBinding(variables) {
|
|
22088
|
+
return new SyncProjectDesktopBindingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
22089
|
+
}
|
|
20593
22090
|
/** Mutation: updateAgent */
|
|
20594
22091
|
updateAgent(variables) {
|
|
20595
22092
|
return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -20634,6 +22131,10 @@ var DvinaSdk = class extends Request {
|
|
|
20634
22131
|
updateLiveContext(variables) {
|
|
20635
22132
|
return new UpdateLiveContextMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
20636
22133
|
}
|
|
22134
|
+
/** Mutation: updateProject */
|
|
22135
|
+
updateProject(variables) {
|
|
22136
|
+
return new UpdateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
22137
|
+
}
|
|
20637
22138
|
/** Mutation: updatePulseTrigger */
|
|
20638
22139
|
updatePulseTrigger(variables) {
|
|
20639
22140
|
return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -20706,6 +22207,10 @@ var DvinaSdk = class extends Request {
|
|
|
20706
22207
|
databases(variables) {
|
|
20707
22208
|
return new DatabasesQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
20708
22209
|
}
|
|
22210
|
+
/** Query: desktopDevices — call .fetch() or .watch() to execute. */
|
|
22211
|
+
desktopDevices() {
|
|
22212
|
+
return new DesktopDevicesQuery(this._request, this._syncEngine, {}, this._baseUrl);
|
|
22213
|
+
}
|
|
20709
22214
|
/** Query: document — call .fetch() or .watch() to execute. */
|
|
20710
22215
|
document(variables) {
|
|
20711
22216
|
return new DocumentQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -20826,6 +22331,22 @@ var DvinaSdk = class extends Request {
|
|
|
20826
22331
|
interpretations(variables) {
|
|
20827
22332
|
return new InterpretationsQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
20828
22333
|
}
|
|
22334
|
+
/** Query: liveContext — call .fetch() or .watch() to execute. */
|
|
22335
|
+
liveContext(variables) {
|
|
22336
|
+
return new LiveContextQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22337
|
+
}
|
|
22338
|
+
/** Query: liveContexts — call .fetch() or .watch() to execute. */
|
|
22339
|
+
liveContexts(variables) {
|
|
22340
|
+
return new LiveContextsQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22341
|
+
}
|
|
22342
|
+
/** Query: localRuntimeOverview — call .fetch() or .watch() to execute. */
|
|
22343
|
+
localRuntimeOverview(variables) {
|
|
22344
|
+
return new LocalRuntimeOverviewQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22345
|
+
}
|
|
22346
|
+
/** Query: localSandboxDeviceStatus — call .fetch() or .watch() to execute. */
|
|
22347
|
+
localSandboxDeviceStatus(variables) {
|
|
22348
|
+
return new LocalSandboxDeviceStatusQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22349
|
+
}
|
|
20829
22350
|
/** Query: notification — call .fetch() or .watch() to execute. */
|
|
20830
22351
|
notification(variables) {
|
|
20831
22352
|
return new NotificationQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -20842,6 +22363,14 @@ var DvinaSdk = class extends Request {
|
|
|
20842
22363
|
privacyStats() {
|
|
20843
22364
|
return new PrivacyStatsQuery(this._request, this._syncEngine, {}, this._baseUrl);
|
|
20844
22365
|
}
|
|
22366
|
+
/** Query: project — call .fetch() or .watch() to execute. */
|
|
22367
|
+
project(variables) {
|
|
22368
|
+
return new ProjectQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22369
|
+
}
|
|
22370
|
+
/** Query: projects — call .fetch() or .watch() to execute. */
|
|
22371
|
+
projects(variables) {
|
|
22372
|
+
return new ProjectsQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
22373
|
+
}
|
|
20845
22374
|
/** Query: pulseAppSummary — call .fetch() or .watch() to execute. */
|
|
20846
22375
|
pulseAppSummary(variables) {
|
|
20847
22376
|
return new PulseAppSummaryQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -20961,6 +22490,6 @@ var DvinaSdk = class extends Request {
|
|
|
20961
22490
|
}
|
|
20962
22491
|
};
|
|
20963
22492
|
|
|
20964
|
-
export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_InsightQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_InsightQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentMask, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteReportMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, Invocation, LiveContext, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsQuery, ProgressSummaryEventOutput, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
|
|
20965
|
-
//# sourceMappingURL=chunk-
|
|
20966
|
-
//# sourceMappingURL=chunk-
|
|
22493
|
+
export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentMask, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceModel, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, Invocation, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalRuntimeDeviceModel, LocalRuntimeOverviewModel, LocalRuntimeOverviewQuery, LocalRuntimeOverview_DevicesQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusQuery, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsQuery, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
|
|
22494
|
+
//# sourceMappingURL=chunk-U3M3VJSQ.js.map
|
|
22495
|
+
//# sourceMappingURL=chunk-U3M3VJSQ.js.map
|