@dvina/sdk 4.0.6 → 4.0.35

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.
@@ -2,7 +2,7 @@ import { Request, Connection, PageInfo, defaultConnection } from './chunk-P4BYTX
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, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateReportDocument, CreateTableDocument, DeleteAgentDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteReportDocument, DeleteTableDocument, DisconnectIntegrationDocument, GenerateUploadUriDocument, ReanalyzeDocumentDocument, RefineMindInstructionDocument, RefreshDatabaseSchemaDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ScheduleWorkspaceDeletionDocument, SetDatabasePrimaryKeyDocument, UpdateAgentDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInterpDocument, UpdateReportDocument, UpdateTableDocument, 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_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, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SearchDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, SendMessageStreamDocument, TokenUsageUpdatesDocument } from './chunk-2SDQPYT6.js';
5
+ import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AcknowledgePulseEventDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, 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, MarkPulseEventSeenDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineMindInstructionDocument, RefreshDatabaseSchemaDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SetDatabasePrimaryKeyDocument, UpdateAgentDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInterpDocument, 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_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, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, 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, PulseEventStatsDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SearchDocument, 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, SendMessageStreamDocument, TokenUsageUpdatesDocument } from './chunk-E2BA2ELL.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
@@ -6788,6 +6788,18 @@ function createWsTransport(options) {
6788
6788
  }
6789
6789
  return refreshPromise;
6790
6790
  }
6791
+ async function prepareSubscriptionConnection() {
6792
+ const token = nextToken ?? await options.getToken();
6793
+ if (!currentToken) {
6794
+ nextToken = token;
6795
+ return;
6796
+ }
6797
+ if (token === currentToken) {
6798
+ return;
6799
+ }
6800
+ nextToken = token;
6801
+ client.terminate();
6802
+ }
6791
6803
  const client = createClient({
6792
6804
  url: options.url,
6793
6805
  connectionParams: async () => {
@@ -6913,12 +6925,24 @@ function createWsTransport(options) {
6913
6925
  [Symbol.asyncIterator]() {
6914
6926
  let authRetryCount = 0;
6915
6927
  let attemptYieldedValue = false;
6916
- let currentIterator = subscribeOnce()[Symbol.asyncIterator]();
6928
+ let currentIterator = null;
6929
+ const ensureIterator = async () => {
6930
+ if (currentIterator) {
6931
+ return;
6932
+ }
6933
+ await prepareSubscriptionConnection();
6934
+ currentIterator = subscribeOnce()[Symbol.asyncIterator]();
6935
+ };
6917
6936
  return {
6918
6937
  async next() {
6919
6938
  while (true) {
6939
+ await ensureIterator();
6940
+ const iterator = currentIterator;
6941
+ if (!iterator) {
6942
+ throw new DvinaAuthenticationError("Subscription iterator could not be initialized");
6943
+ }
6920
6944
  try {
6921
- const result = await currentIterator.next();
6945
+ const result = await iterator.next();
6922
6946
  if (!result.done) {
6923
6947
  attemptYieldedValue = true;
6924
6948
  }
@@ -6955,7 +6979,7 @@ function createWsTransport(options) {
6955
6979
  }
6956
6980
  },
6957
6981
  async return() {
6958
- if (typeof currentIterator.return === "function") {
6982
+ if (currentIterator && typeof currentIterator.return === "function") {
6959
6983
  return currentIterator.return();
6960
6984
  }
6961
6985
  return { value: void 0, done: true };
@@ -6972,7 +6996,7 @@ function createWsTransport(options) {
6972
6996
  }
6973
6997
 
6974
6998
  // src/_generated_store.ts
6975
- var SCHEMA_HASH = "a6b5a74dfd8e3943";
6999
+ var SCHEMA_HASH = "7a9391756acc38a6";
6976
7000
  var DB_ENTITY_SCHEMA = {
6977
7001
  actions: "id",
6978
7002
  agents: "id",
@@ -7006,6 +7030,10 @@ var DB_ENTITY_SCHEMA = {
7006
7030
  mcpTools: "id",
7007
7031
  modelTokenUsages: "id",
7008
7032
  notifications: "id",
7033
+ pulseAppSummaryModels: "integrationId",
7034
+ pulseEvents: "id",
7035
+ pulseEventStatsModels: "id",
7036
+ pulseTriggerSettingModels: "[integrationId+slug]",
7009
7037
  relations: "id",
7010
7038
  reportMembers: "[reportId+insightId]",
7011
7039
  reports: "id",
@@ -7014,6 +7042,10 @@ var DB_ENTITY_SCHEMA = {
7014
7042
  tables: "id",
7015
7043
  tokenUsages: "id",
7016
7044
  usageWindowsStatusTypes: "id",
7045
+ userSkillFileModels: "id",
7046
+ userSkillFiles: "id",
7047
+ userSkillFolderModels: "id",
7048
+ userSkillFolders: "id",
7017
7049
  windowDetailTypes: "id"
7018
7050
  };
7019
7051
  var TYPENAME_TO_TABLE = {
@@ -7049,6 +7081,10 @@ var TYPENAME_TO_TABLE = {
7049
7081
  McpTool: "mcpTools",
7050
7082
  ModelTokenUsage: "modelTokenUsages",
7051
7083
  Notification: "notifications",
7084
+ PulseAppSummaryModel: "pulseAppSummaryModels",
7085
+ PulseEvent: "pulseEvents",
7086
+ PulseEventStatsModel: "pulseEventStatsModels",
7087
+ PulseTriggerSettingModel: "pulseTriggerSettingModels",
7052
7088
  Relation: "relations",
7053
7089
  Report: "reports",
7054
7090
  ReportMember: "reportMembers",
@@ -7057,6 +7093,10 @@ var TYPENAME_TO_TABLE = {
7057
7093
  Table: "tables",
7058
7094
  TokenUsage: "tokenUsages",
7059
7095
  UsageWindowsStatusType: "usageWindowsStatusTypes",
7096
+ UserSkillFile: "userSkillFiles",
7097
+ UserSkillFileModel: "userSkillFileModels",
7098
+ UserSkillFolder: "userSkillFolders",
7099
+ UserSkillFolderModel: "userSkillFolderModels",
7060
7100
  WindowDetailType: "windowDetailTypes"
7061
7101
  };
7062
7102
  var TABLE_TO_TYPENAME = {
@@ -7092,6 +7132,10 @@ var TABLE_TO_TYPENAME = {
7092
7132
  mcpTools: "McpTool",
7093
7133
  modelTokenUsages: "ModelTokenUsage",
7094
7134
  notifications: "Notification",
7135
+ pulseAppSummaryModels: "PulseAppSummaryModel",
7136
+ pulseEvents: "PulseEvent",
7137
+ pulseEventStatsModels: "PulseEventStatsModel",
7138
+ pulseTriggerSettingModels: "PulseTriggerSettingModel",
7095
7139
  relations: "Relation",
7096
7140
  reportMembers: "ReportMember",
7097
7141
  reports: "Report",
@@ -7100,6 +7144,10 @@ var TABLE_TO_TYPENAME = {
7100
7144
  tables: "Table",
7101
7145
  tokenUsages: "TokenUsage",
7102
7146
  usageWindowsStatusTypes: "UsageWindowsStatusType",
7147
+ userSkillFileModels: "UserSkillFileModel",
7148
+ userSkillFiles: "UserSkillFile",
7149
+ userSkillFolderModels: "UserSkillFolderModel",
7150
+ userSkillFolders: "UserSkillFolder",
7103
7151
  windowDetailTypes: "WindowDetailType"
7104
7152
  };
7105
7153
  var PRIMARY_KEY_CONFIG = {
@@ -7109,6 +7157,8 @@ var PRIMARY_KEY_CONFIG = {
7109
7157
  documentFormats: "key",
7110
7158
  integrationCatalogs: "providerKey",
7111
7159
  integrationProviders: "key",
7160
+ pulseAppSummaryModels: "integrationId",
7161
+ pulseTriggerSettingModels: ["integrationId", "slug"],
7112
7162
  reportMembers: ["reportId", "insightId"]
7113
7163
  };
7114
7164
  var MUTATION_CACHE_RULES = {
@@ -7122,6 +7172,8 @@ var MUTATION_CACHE_RULES = {
7122
7172
  createIntegration: { type: "create", entityType: "integrations", connectionFields: ["integrations"] },
7123
7173
  createReport: { type: "create", entityType: "reports", connectionFields: ["reports"] },
7124
7174
  createTable: { type: "create", entityType: "tables", connectionFields: ["tables"] },
7175
+ createUserSkillFile: { type: "create", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
7176
+ createUserSkillFolder: { type: "create", entityType: "userSkillFolders", connectionFields: ["userSkillFolders"] },
7125
7177
  deleteAgent: { type: "delete", entityType: "agents", connectionFields: ["agents"] },
7126
7178
  deleteArtifact: { type: "delete", entityType: "artifacts", connectionFields: ["artifacts"] },
7127
7179
  deleteChat: { type: "delete", entityType: "chats", connectionFields: ["chats"], cascadeDelete: [{ entityType: "chatMessages", cascadeDelete: [{ entityType: "contentBlocks", cascadeDelete: [{ entityType: "contentMasks" }] }, { entityType: "feedback", relationFields: ["chatMessageId"] }] }] },
@@ -7133,6 +7185,8 @@ var MUTATION_CACHE_RULES = {
7133
7185
  deleteIntegration: { type: "delete", entityType: "integrations", connectionFields: ["integrations"] },
7134
7186
  deleteReport: { type: "delete", entityType: "reports", connectionFields: ["reports"], cascadeDelete: [{ entityType: "reportMembers" }] },
7135
7187
  deleteTable: { type: "delete", entityType: "tables", connectionFields: ["tables"], cascadeDelete: [{ entityType: "relations", relationFields: ["fromTableId", "toTableId"] }, { entityType: "cubeModels", relationFields: ["id"] }] },
7188
+ deleteUserSkillFile: { type: "delete", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
7189
+ deleteUserSkillFolder: { type: "delete", entityType: "userSkillFolders", connectionFields: ["userSkillFolders"] },
7136
7190
  updateAgent: { type: "update", entityType: "agents" },
7137
7191
  updateChat: { type: "update", entityType: "chats" },
7138
7192
  updateDatabase: { type: "update", entityType: "databases" },
@@ -7140,7 +7194,9 @@ var MUTATION_CACHE_RULES = {
7140
7194
  updateFolder: { type: "update", entityType: "folders" },
7141
7195
  updateInsight: { type: "update", entityType: "insights" },
7142
7196
  updateReport: { type: "update", entityType: "reports" },
7143
- updateTable: { type: "update", entityType: "tables" }
7197
+ updateTable: { type: "update", entityType: "tables" },
7198
+ updateUserSkillFile: { type: "update", entityType: "userSkillFiles" },
7199
+ updateUserSkillFolder: { type: "update", entityType: "userSkillFolders" }
7144
7200
  };
7145
7201
 
7146
7202
  // ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/import-wrapper.mjs
@@ -8395,8 +8451,18 @@ var QueryExecutor = class {
8395
8451
  * revalidation.
8396
8452
  */
8397
8453
  watch(document2, variables, operationName, buildResult) {
8398
- const ref = new DexieLiveQueryRef(
8399
- () => buildResult(this._db),
8454
+ let ref;
8455
+ ref = new DexieLiveQueryRef(
8456
+ async () => {
8457
+ try {
8458
+ return await buildResult(this._db);
8459
+ } catch (error) {
8460
+ if (isMissingDexieTableError(error)) {
8461
+ return ref.current;
8462
+ }
8463
+ throw error;
8464
+ }
8465
+ },
8400
8466
  async (refetchVars) => {
8401
8467
  const merged = { ...variables, ...refetchVars };
8402
8468
  const data = await this.query(document2, merged, operationName);
@@ -9427,7 +9493,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9427
9493
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9428
9494
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9429
9495
  async function uploadFile(request, getToken, file, name, options) {
9430
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-AODD423G.js');
9496
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-ELTXQJUU.js');
9431
9497
  const key = `upload_${Date.now()}`;
9432
9498
  const response = await request(
9433
9499
  GenerateUploadUriDocument2,
@@ -10183,6 +10249,7 @@ var Chat = class extends DvinaModel {
10183
10249
  id;
10184
10250
  insightId;
10185
10251
  name;
10252
+ originMeta;
10186
10253
  piiMaskRules;
10187
10254
  piiSanitizationEnabled;
10188
10255
  updatedAt;
@@ -10193,6 +10260,7 @@ var Chat = class extends DvinaModel {
10193
10260
  this.id = data.id;
10194
10261
  this.insightId = data.insightId ?? void 0;
10195
10262
  this.name = data.name;
10263
+ this.originMeta = data.originMeta ?? void 0;
10196
10264
  this.piiMaskRules = data.piiMaskRules ?? void 0;
10197
10265
  this.piiSanitizationEnabled = data.piiSanitizationEnabled;
10198
10266
  this.updatedAt = new Date(data.updatedAt);
@@ -10214,11 +10282,54 @@ var Chat = class extends DvinaModel {
10214
10282
  return new Chat_MessagesQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
10215
10283
  }
10216
10284
  };
10285
+ var ChatImportExecuteOutput = class extends DvinaModel {
10286
+ archiveHash;
10287
+ createdChatCount;
10288
+ createdMessageCount;
10289
+ duplicateConversationCount;
10290
+ provider;
10291
+ warnings;
10292
+ chats;
10293
+ constructor(request, data, syncEngine, baseUrl) {
10294
+ super(request, syncEngine, baseUrl);
10295
+ this.archiveHash = data.archiveHash;
10296
+ this.createdChatCount = data.createdChatCount;
10297
+ this.createdMessageCount = data.createdMessageCount;
10298
+ this.duplicateConversationCount = data.duplicateConversationCount;
10299
+ this.provider = data.provider;
10300
+ this.warnings = data.warnings ?? [];
10301
+ this.chats = Array.isArray(data.chats) ? data.chats.filter(Boolean).map((item) => new ImportedChatSummaryOutput(request, item, syncEngine, baseUrl)) : [];
10302
+ }
10303
+ };
10304
+ var ChatImportPreviewOutput = class extends DvinaModel {
10305
+ archiveHash;
10306
+ chatCount;
10307
+ duplicateConversationCount;
10308
+ fidelity;
10309
+ hasAttachments;
10310
+ messageCount;
10311
+ mode;
10312
+ provider;
10313
+ warnings;
10314
+ constructor(request, data, syncEngine, baseUrl) {
10315
+ super(request, syncEngine, baseUrl);
10316
+ this.archiveHash = data.archiveHash;
10317
+ this.chatCount = data.chatCount;
10318
+ this.duplicateConversationCount = data.duplicateConversationCount;
10319
+ this.fidelity = data.fidelity;
10320
+ this.hasAttachments = data.hasAttachments;
10321
+ this.messageCount = data.messageCount;
10322
+ this.mode = data.mode;
10323
+ this.provider = data.provider;
10324
+ this.warnings = data.warnings ?? [];
10325
+ }
10326
+ };
10217
10327
  var ChatMessage = class extends DvinaModel {
10218
10328
  actions;
10219
10329
  chatId;
10220
10330
  from;
10221
10331
  id;
10332
+ originMeta;
10222
10333
  sentAt;
10223
10334
  constructor(request, data, syncEngine, baseUrl) {
10224
10335
  super(request, syncEngine, baseUrl);
@@ -10226,6 +10337,7 @@ var ChatMessage = class extends DvinaModel {
10226
10337
  this.chatId = data.chatId;
10227
10338
  this.from = data.from;
10228
10339
  this.id = data.id;
10340
+ this.originMeta = data.originMeta ?? void 0;
10229
10341
  this.sentAt = new Date(data.sentAt);
10230
10342
  }
10231
10343
  /** Query the artifacts relation for this ChatMessage. Call .fetch() or .watch() to execute. */
@@ -10604,6 +10716,21 @@ var Folder = class extends DvinaModel {
10604
10716
  this.updatedAt = new Date(data.updatedAt);
10605
10717
  }
10606
10718
  };
10719
+ var ImportedChatSummaryOutput = class extends DvinaModel {
10720
+ chatId;
10721
+ externalConversationId;
10722
+ messageCount;
10723
+ name;
10724
+ provider;
10725
+ constructor(request, data, syncEngine, baseUrl) {
10726
+ super(request, syncEngine, baseUrl);
10727
+ this.chatId = data.chatId;
10728
+ this.externalConversationId = data.externalConversationId;
10729
+ this.messageCount = data.messageCount;
10730
+ this.name = data.name;
10731
+ this.provider = data.provider;
10732
+ }
10733
+ };
10607
10734
  var IndexContentObject = class extends DvinaModel {
10608
10735
  content;
10609
10736
  metadata;
@@ -10655,6 +10782,7 @@ var Insight = class extends DvinaModel {
10655
10782
  }
10656
10783
  };
10657
10784
  var Integration = class extends DvinaModel {
10785
+ connectedAt;
10658
10786
  createdAt;
10659
10787
  id;
10660
10788
  providerKey;
@@ -10662,6 +10790,7 @@ var Integration = class extends DvinaModel {
10662
10790
  updatedAt;
10663
10791
  constructor(request, data, syncEngine, baseUrl) {
10664
10792
  super(request, syncEngine, baseUrl);
10793
+ this.connectedAt = data.connectedAt ? new Date(data.connectedAt) : void 0;
10665
10794
  this.createdAt = new Date(data.createdAt);
10666
10795
  this.id = data.id;
10667
10796
  this.providerKey = data.providerKey;
@@ -10946,6 +11075,98 @@ var PrivacyStats = class extends DvinaModel {
10946
11075
  this.messagesProtectedFromTraining = data.messagesProtectedFromTraining ?? void 0;
10947
11076
  }
10948
11077
  };
11078
+ var PulseAppSummaryModel = class extends DvinaModel {
11079
+ activeTriggerCount;
11080
+ integrationId;
11081
+ providerKey;
11082
+ constructor(request, data, syncEngine, baseUrl) {
11083
+ super(request, syncEngine, baseUrl);
11084
+ this.activeTriggerCount = data.activeTriggerCount;
11085
+ this.integrationId = data.integrationId;
11086
+ this.providerKey = data.providerKey ?? void 0;
11087
+ }
11088
+ };
11089
+ var PulseEvent = class extends DvinaModel {
11090
+ acknowledgedAt;
11091
+ actions;
11092
+ createdAt;
11093
+ dedupeKey;
11094
+ dismissedAt;
11095
+ id;
11096
+ integrationId;
11097
+ kind;
11098
+ message;
11099
+ payload;
11100
+ priority;
11101
+ providerKey;
11102
+ remoteEventId;
11103
+ remoteLogId;
11104
+ remoteTriggerId;
11105
+ resolvedAt;
11106
+ seenAt;
11107
+ status;
11108
+ summary;
11109
+ title;
11110
+ triggerSlug;
11111
+ updatedAt;
11112
+ constructor(request, data, syncEngine, baseUrl) {
11113
+ super(request, syncEngine, baseUrl);
11114
+ this.acknowledgedAt = data.acknowledgedAt ? new Date(data.acknowledgedAt) : void 0;
11115
+ this.actions = data.actions ?? void 0;
11116
+ this.createdAt = new Date(data.createdAt);
11117
+ this.dedupeKey = data.dedupeKey ?? void 0;
11118
+ this.dismissedAt = data.dismissedAt ? new Date(data.dismissedAt) : void 0;
11119
+ this.id = data.id;
11120
+ this.integrationId = data.integrationId;
11121
+ this.kind = data.kind;
11122
+ this.message = data.message ?? void 0;
11123
+ this.payload = data.payload ?? void 0;
11124
+ this.priority = data.priority;
11125
+ this.providerKey = data.providerKey;
11126
+ this.remoteEventId = data.remoteEventId;
11127
+ this.remoteLogId = data.remoteLogId ?? void 0;
11128
+ this.remoteTriggerId = data.remoteTriggerId ?? void 0;
11129
+ this.resolvedAt = data.resolvedAt ? new Date(data.resolvedAt) : void 0;
11130
+ this.seenAt = data.seenAt ? new Date(data.seenAt) : void 0;
11131
+ this.status = data.status;
11132
+ this.summary = data.summary ?? void 0;
11133
+ this.title = data.title;
11134
+ this.triggerSlug = data.triggerSlug;
11135
+ this.updatedAt = new Date(data.updatedAt);
11136
+ }
11137
+ /** Query the integration relation for this PulseEvent. Call .fetch() or .watch() to execute. */
11138
+ integration(variables) {
11139
+ return new PulseEvent_IntegrationQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11140
+ }
11141
+ };
11142
+ var PulseEventStatsModel = class extends DvinaModel {
11143
+ highPriorityCount;
11144
+ needsActionCount;
11145
+ unreadCount;
11146
+ constructor(request, data, syncEngine, baseUrl) {
11147
+ super(request, syncEngine, baseUrl);
11148
+ this.highPriorityCount = data.highPriorityCount;
11149
+ this.needsActionCount = data.needsActionCount;
11150
+ this.unreadCount = data.unreadCount;
11151
+ }
11152
+ };
11153
+ var PulseTriggerSettingModel = class extends DvinaModel {
11154
+ integrationId;
11155
+ isEnabled;
11156
+ message;
11157
+ name;
11158
+ providerKey;
11159
+ slug;
11160
+ constructor(request, data, syncEngine, baseUrl) {
11161
+ super(request, syncEngine, baseUrl);
11162
+ this.integrationId = data.integrationId;
11163
+ this.isEnabled = data.isEnabled;
11164
+ this.message = data.message ?? void 0;
11165
+ this.name = data.name;
11166
+ this.providerKey = data.providerKey;
11167
+ this.slug = data.slug;
11168
+ }
11169
+ };
10949
11170
  var ReasoningEventOutput = class extends DvinaModel {
10950
11171
  delta;
10951
11172
  type;
@@ -11059,6 +11280,7 @@ var StreamMessageOutput = class extends DvinaModel {
11059
11280
  chatId;
11060
11281
  from;
11061
11282
  id;
11283
+ originMeta;
11062
11284
  sentAt;
11063
11285
  contents;
11064
11286
  constructor(request, data, syncEngine, baseUrl) {
@@ -11067,6 +11289,7 @@ var StreamMessageOutput = class extends DvinaModel {
11067
11289
  this.chatId = data.chatId;
11068
11290
  this.from = data.from;
11069
11291
  this.id = data.id;
11292
+ this.originMeta = data.originMeta ?? void 0;
11070
11293
  this.sentAt = new Date(data.sentAt);
11071
11294
  this.contents = Array.isArray(data.contents) ? data.contents.filter(Boolean).map((item) => new StreamMessageContentOutput(request, item, syncEngine, baseUrl)) : [];
11072
11295
  }
@@ -11291,6 +11514,80 @@ var UsageWindowsStatusType = class extends DvinaModel {
11291
11514
  this.week = new WindowDetailType(request, data.week, syncEngine, baseUrl);
11292
11515
  }
11293
11516
  };
11517
+ var UserSkillFile = class extends DvinaModel {
11518
+ createdAt;
11519
+ fileId;
11520
+ formatKey;
11521
+ id;
11522
+ name;
11523
+ path;
11524
+ updatedAt;
11525
+ constructor(request, data, syncEngine, baseUrl) {
11526
+ super(request, syncEngine, baseUrl);
11527
+ this.createdAt = new Date(data.createdAt);
11528
+ this.fileId = data.fileId;
11529
+ this.formatKey = data.formatKey;
11530
+ this.id = data.id;
11531
+ this.name = data.name;
11532
+ this.path = data.path;
11533
+ this.updatedAt = new Date(data.updatedAt);
11534
+ }
11535
+ /** Lazy-fetch the file relation. Call .fetch() or .watch() to execute. */
11536
+ file() {
11537
+ return new FileMetaQuery(this._request, this._syncEngine, { id: this.fileId }, this._baseUrl);
11538
+ }
11539
+ };
11540
+ var UserSkillFileModel = class extends DvinaModel {
11541
+ createdAt;
11542
+ fileId;
11543
+ formatKey;
11544
+ id;
11545
+ mimeType;
11546
+ name;
11547
+ path;
11548
+ size;
11549
+ updatedAt;
11550
+ constructor(request, data, syncEngine, baseUrl) {
11551
+ super(request, syncEngine, baseUrl);
11552
+ this.createdAt = new Date(data.createdAt);
11553
+ this.fileId = data.fileId;
11554
+ this.formatKey = data.formatKey;
11555
+ this.id = data.id;
11556
+ this.mimeType = data.mimeType ?? void 0;
11557
+ this.name = data.name;
11558
+ this.path = data.path;
11559
+ this.size = data.size ?? void 0;
11560
+ this.updatedAt = new Date(data.updatedAt);
11561
+ }
11562
+ };
11563
+ var UserSkillFolder = class extends DvinaModel {
11564
+ createdAt;
11565
+ id;
11566
+ path;
11567
+ updatedAt;
11568
+ constructor(request, data, syncEngine, baseUrl) {
11569
+ super(request, syncEngine, baseUrl);
11570
+ this.createdAt = new Date(data.createdAt);
11571
+ this.id = data.id;
11572
+ this.path = data.path;
11573
+ this.updatedAt = new Date(data.updatedAt);
11574
+ }
11575
+ };
11576
+ var UserSkillFolderModel = class extends DvinaModel {
11577
+ createdAt;
11578
+ id;
11579
+ itemCount;
11580
+ path;
11581
+ updatedAt;
11582
+ constructor(request, data, syncEngine, baseUrl) {
11583
+ super(request, syncEngine, baseUrl);
11584
+ this.createdAt = new Date(data.createdAt);
11585
+ this.id = data.id;
11586
+ this.itemCount = data.itemCount;
11587
+ this.path = data.path;
11588
+ this.updatedAt = new Date(data.updatedAt);
11589
+ }
11590
+ };
11294
11591
  var WindowDetailType = class extends DvinaModel {
11295
11592
  cost;
11296
11593
  isExceeded;
@@ -11475,6 +11772,17 @@ var NotificationConnection = class extends Connection {
11475
11772
  );
11476
11773
  }
11477
11774
  };
11775
+ var PulseEventConnection = class extends Connection {
11776
+ constructor(request, fetch2, data, syncEngine, baseUrl) {
11777
+ super(
11778
+ request,
11779
+ fetch2,
11780
+ data.nodes?.map((node) => new PulseEvent(request, node, syncEngine, baseUrl)) ?? [],
11781
+ new PageInfo(data.pageInfo),
11782
+ data.totalCount ?? void 0
11783
+ );
11784
+ }
11785
+ };
11478
11786
  var ReportConnection = class extends Connection {
11479
11787
  constructor(request, fetch2, data, syncEngine, baseUrl) {
11480
11788
  super(
@@ -12115,6 +12423,36 @@ var IntegrationCatalogSubBuilder = class {
12115
12423
  return this;
12116
12424
  }
12117
12425
  };
12426
+ var PulseEventSubBuilder = class {
12427
+ /** @internal */
12428
+ _includes = [];
12429
+ /** Include integration in the parent query. */
12430
+ integration(variables, builder) {
12431
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
12432
+ let children;
12433
+ if (builder) {
12434
+ const sub = new IntegrationSubBuilder();
12435
+ builder(sub);
12436
+ children = sub._includes;
12437
+ }
12438
+ this._includes.push({
12439
+ fieldName: "integration",
12440
+ fragmentDoc: IntegrationFragmentDoc,
12441
+ variables,
12442
+ isConnection: false,
12443
+ isList: false,
12444
+ variableDefinitions: info.variableDefinitions,
12445
+ fieldArguments: info.fieldArguments,
12446
+ syncMetadata: {
12447
+ entityType: "integrations",
12448
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
12449
+ },
12450
+ children,
12451
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
12452
+ });
12453
+ return this;
12454
+ }
12455
+ };
12118
12456
  var ReportSubBuilder = class {
12119
12457
  /** @internal */
12120
12458
  _includes = [];
@@ -12259,6 +12597,13 @@ var TableSubBuilder = class {
12259
12597
  return this;
12260
12598
  }
12261
12599
  };
12600
+ var AcknowledgePulseEventMutation = class extends Request {
12601
+ async fetch(variables, options) {
12602
+ const response = await this._syncEngine.mutate(AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12603
+ const data = response.acknowledgePulseEvent;
12604
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12605
+ }
12606
+ };
12262
12607
  var AddInsightToReportMutation = class extends Request {
12263
12608
  async fetch(variables, options) {
12264
12609
  const response = await this._syncEngine.mutate(AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
@@ -12285,6 +12630,12 @@ var ConnectIntegrationMutation = class extends Request {
12285
12630
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12286
12631
  }
12287
12632
  };
12633
+ var ContinueImportedChatMutation = class extends Request {
12634
+ async fetch(variables) {
12635
+ const response = await this._syncEngine.mutate(ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12636
+ return response.continueImportedChat;
12637
+ }
12638
+ };
12288
12639
  var ContinueInterpretationMutation = class extends Request {
12289
12640
  async fetch(variables) {
12290
12641
  const response = await this._syncEngine.mutate(ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
@@ -12361,6 +12712,20 @@ var CreateTableMutation = class extends Request {
12361
12712
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12362
12713
  }
12363
12714
  };
12715
+ var CreateUserSkillFileMutation = class extends Request {
12716
+ async fetch(variables, options) {
12717
+ const response = await this._syncEngine.mutate(CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
12718
+ const data = response.createUserSkillFile;
12719
+ return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12720
+ }
12721
+ };
12722
+ var CreateUserSkillFolderMutation = class extends Request {
12723
+ async fetch(variables, options) {
12724
+ const response = await this._syncEngine.mutate(CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
12725
+ const data = response.createUserSkillFolder;
12726
+ return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12727
+ }
12728
+ };
12364
12729
  var DeleteAgentMutation = class extends Request {
12365
12730
  async fetch(variables, options) {
12366
12731
  const response = await this._syncEngine.mutate(DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
@@ -12437,12 +12802,40 @@ var DeleteTableMutation = class extends Request {
12437
12802
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12438
12803
  }
12439
12804
  };
12805
+ var DeleteUserSkillFileMutation = class extends Request {
12806
+ async fetch(variables, options) {
12807
+ const response = await this._syncEngine.mutate(DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
12808
+ const data = response.deleteUserSkillFile;
12809
+ return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12810
+ }
12811
+ };
12812
+ var DeleteUserSkillFolderMutation = class extends Request {
12813
+ async fetch(variables, options) {
12814
+ const response = await this._syncEngine.mutate(DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
12815
+ const data = response.deleteUserSkillFolder;
12816
+ return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12817
+ }
12818
+ };
12440
12819
  var DisconnectIntegrationMutation = class extends Request {
12441
12820
  async fetch(variables) {
12442
12821
  const response = await this._syncEngine.mutate(DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
12443
12822
  return response.disconnectIntegration;
12444
12823
  }
12445
12824
  };
12825
+ var DismissPulseEventMutation = class extends Request {
12826
+ async fetch(variables, options) {
12827
+ const response = await this._syncEngine.mutate(DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12828
+ const data = response.dismissPulseEvent;
12829
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12830
+ }
12831
+ };
12832
+ var ExecuteChatImportMutation = class extends Request {
12833
+ async fetch(variables, options) {
12834
+ const response = await this._syncEngine.mutate(ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
12835
+ const data = response.executeChatImport;
12836
+ return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
12837
+ }
12838
+ };
12446
12839
  var GenerateUploadUriMutation = class extends Request {
12447
12840
  async fetch(variables, options) {
12448
12841
  const response = await this._syncEngine.mutate(GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
@@ -12450,6 +12843,20 @@ var GenerateUploadUriMutation = class extends Request {
12450
12843
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
12451
12844
  }
12452
12845
  };
12846
+ var MarkPulseEventSeenMutation = class extends Request {
12847
+ async fetch(variables, options) {
12848
+ const response = await this._syncEngine.mutate(MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12849
+ const data = response.markPulseEventSeen;
12850
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12851
+ }
12852
+ };
12853
+ var PreviewChatImportMutation = class extends Request {
12854
+ async fetch(variables, options) {
12855
+ const response = await this._syncEngine.mutate(PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
12856
+ const data = response.previewChatImport;
12857
+ return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
12858
+ }
12859
+ };
12453
12860
  var ReanalyzeDocumentMutation = class extends Request {
12454
12861
  async fetch(variables, options) {
12455
12862
  const response = await this._syncEngine.mutate(ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
@@ -12501,6 +12908,13 @@ var ResetWorkspaceMutation = class extends Request {
12501
12908
  return response.resetWorkspace;
12502
12909
  }
12503
12910
  };
12911
+ var ResolvePulseEventMutation = class extends Request {
12912
+ async fetch(variables, options) {
12913
+ const response = await this._syncEngine.mutate(ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12914
+ const data = response.resolvePulseEvent;
12915
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12916
+ }
12917
+ };
12504
12918
  var ScheduleWorkspaceDeletionMutation = class extends Request {
12505
12919
  async fetch(variables, options) {
12506
12920
  const response = await this._syncEngine.mutate(ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
@@ -12570,6 +12984,13 @@ var UpdateInterpMutation = class extends Request {
12570
12984
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
12571
12985
  }
12572
12986
  };
12987
+ var UpdatePulseTriggerMutation = class extends Request {
12988
+ async fetch(variables, options) {
12989
+ const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
12990
+ const data = response.updatePulseTrigger;
12991
+ return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
12992
+ }
12993
+ };
12573
12994
  var UpdateReportMutation = class extends Request {
12574
12995
  async fetch(variables, options) {
12575
12996
  const response = await this._syncEngine.mutate(UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
@@ -12584,6 +13005,20 @@ var UpdateTableMutation = class extends Request {
12584
13005
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12585
13006
  }
12586
13007
  };
13008
+ var UpdateUserSkillFileMutation = class extends Request {
13009
+ async fetch(variables, options) {
13010
+ const response = await this._syncEngine.mutate(UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13011
+ const data = response.updateUserSkillFile;
13012
+ return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13013
+ }
13014
+ };
13015
+ var UpdateUserSkillFolderMutation = class extends Request {
13016
+ async fetch(variables, options) {
13017
+ const response = await this._syncEngine.mutate(UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13018
+ const data = response.updateUserSkillFolder;
13019
+ return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13020
+ }
13021
+ };
12587
13022
  var AgentQuery = class extends Request {
12588
13023
  _variables;
12589
13024
  _includes = [];
@@ -16219,6 +16654,12 @@ var IntegrationCatalog_ProviderQuery = class extends Request {
16219
16654
  });
16220
16655
  }
16221
16656
  };
16657
+ var IntegrationCatalogToolsQuery = class extends Request {
16658
+ async fetch(variables) {
16659
+ const response = await this._request(IntegrationCatalogToolsDocument, variables);
16660
+ return response.integrationCatalogTools;
16661
+ }
16662
+ };
16222
16663
  var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends Request {
16223
16664
  _variables;
16224
16665
  _includes = [];
@@ -16612,25 +17053,7 @@ var PrivacyStatsQuery = class extends Request {
16612
17053
  });
16613
17054
  }
16614
17055
  };
16615
- var QueryQuery = class extends Request {
16616
- async fetch(variables) {
16617
- const response = await this._request(QueryDocument, variables);
16618
- return response.query;
16619
- }
16620
- };
16621
- var QueryWithInsightIdQuery = class extends Request {
16622
- async fetch(variables) {
16623
- const response = await this._request(QueryWithInsightIdDocument, variables);
16624
- return response.queryWithInsightId;
16625
- }
16626
- };
16627
- var QueryWithMessageIdQuery = class extends Request {
16628
- async fetch(variables) {
16629
- const response = await this._request(QueryWithMessageIdDocument, variables);
16630
- return response.queryWithMessageId;
16631
- }
16632
- };
16633
- var ReportQuery = class extends Request {
17056
+ var PulseAppSummaryQuery = class extends Request {
16634
17057
  _variables;
16635
17058
  _includes = [];
16636
17059
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -16639,10 +17062,11 @@ var ReportQuery = class extends Request {
16639
17062
  }
16640
17063
  async fetch(options) {
16641
17064
  const variables = this._variables;
16642
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ReportDocument, "report", this._includes, variables);
16643
- const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
16644
- const data = response.report;
16645
- const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
17065
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17066
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17067
+ const data = response.pulseAppSummary;
17068
+ if (!data) return void 0;
17069
+ const instance = new PulseAppSummaryModel(this._request, data, this._syncEngine, this._baseUrl);
16646
17070
  if (this._includes.length > 0) {
16647
17071
  hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
16648
17072
  }
@@ -16651,28 +17075,384 @@ var ReportQuery = class extends Request {
16651
17075
  watch(options) {
16652
17076
  const variables = this._variables;
16653
17077
  const includes = this._includes;
16654
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ReportDocument, "report", includes, variables);
17078
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
16655
17079
  const raw = this._syncEngine.watch(
16656
17080
  queryDoc,
16657
17081
  mergedVars,
16658
- "report",
17082
+ "pulseAppSummary",
16659
17083
  async (db) => {
16660
17084
  const vars = variables;
16661
- const pkField = getPrimaryKeyField("reports");
17085
+ const pkField = getPrimaryKeyField("pulseAppSummaryModels");
16662
17086
  const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
16663
17087
  const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
16664
- const entity = hasEntityKey ? await db.table("reports").get(entityKey) : void 0;
17088
+ const entity = hasEntityKey ? await db.table("pulseAppSummaryModels").get(entityKey) : void 0;
16665
17089
  if (includes.length > 0 && entity) {
16666
17090
  const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
16667
- const result = await reconstructEntity(db, "reports", parentId, includes);
16668
- return { report: result };
17091
+ const result = await reconstructEntity(db, "pulseAppSummaryModels", parentId, includes);
17092
+ return { pulseAppSummary: result };
16669
17093
  }
16670
- return { report: entity ?? null };
17094
+ return { pulseAppSummary: entity ?? null };
16671
17095
  }
16672
17096
  );
16673
17097
  return new MappedDvinaQueryRef(raw, (response) => {
16674
- const data = response.report;
16675
- const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
17098
+ const data = response.pulseAppSummary;
17099
+ if (!data) return void 0;
17100
+ const instance = new PulseAppSummaryModel(this._request, data, this._syncEngine, this._baseUrl);
17101
+ if (includes.length > 0) {
17102
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
17103
+ }
17104
+ return instance;
17105
+ });
17106
+ }
17107
+ };
17108
+ var PulseEventQuery = class extends Request {
17109
+ _variables;
17110
+ _includes = [];
17111
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17112
+ super(request, syncEngine, void 0, baseUrl);
17113
+ this._variables = variables;
17114
+ }
17115
+ async fetch(options) {
17116
+ const variables = this._variables;
17117
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventDocument, "pulseEvent", this._includes, variables);
17118
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17119
+ const data = response.pulseEvent;
17120
+ const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
17121
+ if (this._includes.length > 0) {
17122
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
17123
+ }
17124
+ return instance;
17125
+ }
17126
+ watch(options) {
17127
+ const variables = this._variables;
17128
+ const includes = this._includes;
17129
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventDocument, "pulseEvent", includes, variables);
17130
+ const raw = this._syncEngine.watch(
17131
+ queryDoc,
17132
+ mergedVars,
17133
+ "pulseEvent",
17134
+ async (db) => {
17135
+ const vars = variables;
17136
+ const pkField = getPrimaryKeyField("pulseEvents");
17137
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
17138
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
17139
+ const entity = hasEntityKey ? await db.table("pulseEvents").get(entityKey) : void 0;
17140
+ if (includes.length > 0 && entity) {
17141
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
17142
+ const result = await reconstructEntity(db, "pulseEvents", parentId, includes);
17143
+ return { pulseEvent: result };
17144
+ }
17145
+ return { pulseEvent: entity ?? null };
17146
+ }
17147
+ );
17148
+ return new MappedDvinaQueryRef(raw, (response) => {
17149
+ const data = response.pulseEvent;
17150
+ const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
17151
+ if (includes.length > 0) {
17152
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
17153
+ }
17154
+ return instance;
17155
+ });
17156
+ }
17157
+ /** Include integration in this query (Smart Fetch — single HTTP request). */
17158
+ integration(variables, builder) {
17159
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
17160
+ let children;
17161
+ if (builder) {
17162
+ const sub = new IntegrationSubBuilder();
17163
+ builder(sub);
17164
+ children = sub._includes;
17165
+ }
17166
+ this._includes.push({
17167
+ fieldName: "integration",
17168
+ fragmentDoc: IntegrationFragmentDoc,
17169
+ variables,
17170
+ isConnection: false,
17171
+ isList: false,
17172
+ variableDefinitions: info.variableDefinitions,
17173
+ fieldArguments: info.fieldArguments,
17174
+ syncMetadata: {
17175
+ entityType: "integrations",
17176
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
17177
+ },
17178
+ children,
17179
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
17180
+ });
17181
+ return this;
17182
+ }
17183
+ };
17184
+ var PulseEvent_IntegrationQuery = class extends Request {
17185
+ _variables;
17186
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17187
+ super(request, syncEngine, void 0, baseUrl);
17188
+ this._variables = variables;
17189
+ }
17190
+ async fetch(options) {
17191
+ const variables = this._variables;
17192
+ const response = await this._syncEngine.query(PulseEvent_IntegrationDocument, variables, "pulseEvent");
17193
+ const data = response.pulseEvent?.integration;
17194
+ return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17195
+ }
17196
+ watch(options) {
17197
+ const variables = this._variables;
17198
+ const raw = this._syncEngine.watch(
17199
+ PulseEvent_IntegrationDocument,
17200
+ variables,
17201
+ "pulseEvent",
17202
+ async (db) => {
17203
+ const vars = variables;
17204
+ const entity = vars?.id ? await db.table("integrations").get(vars.id) : void 0;
17205
+ return { pulseEvent: { integration: entity ?? null } };
17206
+ }
17207
+ );
17208
+ return new MappedDvinaQueryRef(raw, (response) => {
17209
+ const data = response.pulseEvent?.integration;
17210
+ return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17211
+ });
17212
+ }
17213
+ };
17214
+ var PulseEvent_Integration_ProviderQuery = class extends Request {
17215
+ _variables;
17216
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17217
+ super(request, syncEngine, void 0, baseUrl);
17218
+ this._variables = variables;
17219
+ }
17220
+ async fetch(options) {
17221
+ const variables = this._variables;
17222
+ const response = await this._syncEngine.query(PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17223
+ const data = response.pulseEvent?.integration?.provider;
17224
+ return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17225
+ }
17226
+ watch(options) {
17227
+ const variables = this._variables;
17228
+ const raw = this._syncEngine.watch(
17229
+ PulseEvent_Integration_ProviderDocument,
17230
+ variables,
17231
+ "pulseEvent",
17232
+ async (db) => {
17233
+ const vars = variables;
17234
+ const entity = vars?.id ? await db.table("integrationProviders").get(vars.id) : void 0;
17235
+ return { pulseEvent: { integration: { provider: entity ?? null } } };
17236
+ }
17237
+ );
17238
+ return new MappedDvinaQueryRef(raw, (response) => {
17239
+ const data = response.pulseEvent?.integration?.provider;
17240
+ return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17241
+ });
17242
+ }
17243
+ };
17244
+ var PulseEventStatsQuery = class extends Request {
17245
+ _variables;
17246
+ _includes = [];
17247
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17248
+ super(request, syncEngine, void 0, baseUrl);
17249
+ this._variables = variables;
17250
+ }
17251
+ async fetch(options) {
17252
+ const variables = this._variables;
17253
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17254
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEventStats");
17255
+ const data = response.pulseEventStats;
17256
+ const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
17257
+ if (this._includes.length > 0) {
17258
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
17259
+ }
17260
+ return instance;
17261
+ }
17262
+ watch(options) {
17263
+ const variables = this._variables;
17264
+ const includes = this._includes;
17265
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventStatsDocument, "pulseEventStats", includes, variables);
17266
+ const raw = this._syncEngine.watch(
17267
+ queryDoc,
17268
+ mergedVars,
17269
+ "pulseEventStats",
17270
+ async (db) => {
17271
+ const vars = variables;
17272
+ const pkField = getPrimaryKeyField("pulseEventStatsModels");
17273
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
17274
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
17275
+ const entity = hasEntityKey ? await db.table("pulseEventStatsModels").get(entityKey) : void 0;
17276
+ if (includes.length > 0 && entity) {
17277
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
17278
+ const result = await reconstructEntity(db, "pulseEventStatsModels", parentId, includes);
17279
+ return { pulseEventStats: result };
17280
+ }
17281
+ return { pulseEventStats: entity ?? null };
17282
+ }
17283
+ );
17284
+ return new MappedDvinaQueryRef(raw, (response) => {
17285
+ const data = response.pulseEventStats;
17286
+ const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
17287
+ if (includes.length > 0) {
17288
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
17289
+ }
17290
+ return instance;
17291
+ });
17292
+ }
17293
+ };
17294
+ var PulseEventsQuery = class _PulseEventsQuery extends Request {
17295
+ _variables;
17296
+ _includes = [];
17297
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17298
+ super(request, syncEngine, void 0, baseUrl);
17299
+ this._variables = variables;
17300
+ }
17301
+ async fetch(options) {
17302
+ const variables = this._variables;
17303
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17304
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17305
+ const data = response.pulseEvents;
17306
+ const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17307
+ if (this._includes.length > 0) {
17308
+ const rawNodes = data.nodes ?? [];
17309
+ for (let i = 0; i < connection.nodes.length; i++) {
17310
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
17311
+ }
17312
+ }
17313
+ return connection;
17314
+ }
17315
+ watch(options) {
17316
+ const variables = this._variables;
17317
+ const subscriptionId = crypto.randomUUID();
17318
+ const includes = this._includes;
17319
+ 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) }] : []);
17320
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventsDocument, "pulseEvents", includes, variables, true);
17321
+ const raw = this._syncEngine.watch(
17322
+ queryDoc,
17323
+ mergedVars,
17324
+ "pulseEvents",
17325
+ async (db) => {
17326
+ const qr = await db._queryResults.get(buildQueryKey("pulseEvents", mergedVars, queryDoc));
17327
+ const nodes = qr ? await db.table("pulseEvents").bulkGet(qr.entityIds) : [];
17328
+ const filteredNodes = nodes.filter(Boolean);
17329
+ const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "pulseEvents", filteredNodes, includes) : filteredNodes;
17330
+ return { pulseEvents: { __typename: "PulseEventConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
17331
+ },
17332
+ {
17333
+ id: subscriptionId,
17334
+ entityType: "pulseEvents",
17335
+ operationName: "pulseEvents",
17336
+ modelName: "PulseEvent",
17337
+ filter: variables?.filter
17338
+ },
17339
+ watchedRelations
17340
+ );
17341
+ return new MappedDvinaQueryRef(raw, (response) => {
17342
+ const data = response.pulseEvents;
17343
+ const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17344
+ if (includes.length > 0) {
17345
+ const rawNodes = data.nodes ?? [];
17346
+ for (let i = 0; i < connection.nodes.length; i++) {
17347
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
17348
+ }
17349
+ }
17350
+ return connection;
17351
+ });
17352
+ }
17353
+ /** Include integration in this query (Smart Fetch — single HTTP request). */
17354
+ integration(variables, builder) {
17355
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
17356
+ let children;
17357
+ if (builder) {
17358
+ const sub = new IntegrationSubBuilder();
17359
+ builder(sub);
17360
+ children = sub._includes;
17361
+ }
17362
+ this._includes.push({
17363
+ fieldName: "integration",
17364
+ fragmentDoc: IntegrationFragmentDoc,
17365
+ variables,
17366
+ isConnection: false,
17367
+ isList: false,
17368
+ variableDefinitions: info.variableDefinitions,
17369
+ fieldArguments: info.fieldArguments,
17370
+ syncMetadata: {
17371
+ entityType: "integrations",
17372
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
17373
+ },
17374
+ children,
17375
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
17376
+ });
17377
+ return this;
17378
+ }
17379
+ };
17380
+ var PulseTriggerSettingsQuery = class extends Request {
17381
+ _variables;
17382
+ _includes = [];
17383
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17384
+ super(request, syncEngine, void 0, baseUrl);
17385
+ this._variables = variables;
17386
+ }
17387
+ async fetch(options) {
17388
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17389
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
17390
+ const data = response.pulseTriggerSettings;
17391
+ if (!Array.isArray(data)) return [];
17392
+ return data.map((item) => new PulseTriggerSettingModel(this._request, item, this._syncEngine, this._baseUrl));
17393
+ }
17394
+ };
17395
+ var QueryQuery = class extends Request {
17396
+ async fetch(variables) {
17397
+ const response = await this._request(QueryDocument, variables);
17398
+ return response.query;
17399
+ }
17400
+ };
17401
+ var QueryWithInsightIdQuery = class extends Request {
17402
+ async fetch(variables) {
17403
+ const response = await this._request(QueryWithInsightIdDocument, variables);
17404
+ return response.queryWithInsightId;
17405
+ }
17406
+ };
17407
+ var QueryWithMessageIdQuery = class extends Request {
17408
+ async fetch(variables) {
17409
+ const response = await this._request(QueryWithMessageIdDocument, variables);
17410
+ return response.queryWithMessageId;
17411
+ }
17412
+ };
17413
+ var ReportQuery = class extends Request {
17414
+ _variables;
17415
+ _includes = [];
17416
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17417
+ super(request, syncEngine, void 0, baseUrl);
17418
+ this._variables = variables;
17419
+ }
17420
+ async fetch(options) {
17421
+ const variables = this._variables;
17422
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ReportDocument, "report", this._includes, variables);
17423
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
17424
+ const data = response.report;
17425
+ const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
17426
+ if (this._includes.length > 0) {
17427
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
17428
+ }
17429
+ return instance;
17430
+ }
17431
+ watch(options) {
17432
+ const variables = this._variables;
17433
+ const includes = this._includes;
17434
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ReportDocument, "report", includes, variables);
17435
+ const raw = this._syncEngine.watch(
17436
+ queryDoc,
17437
+ mergedVars,
17438
+ "report",
17439
+ async (db) => {
17440
+ const vars = variables;
17441
+ const pkField = getPrimaryKeyField("reports");
17442
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
17443
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
17444
+ const entity = hasEntityKey ? await db.table("reports").get(entityKey) : void 0;
17445
+ if (includes.length > 0 && entity) {
17446
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
17447
+ const result = await reconstructEntity(db, "reports", parentId, includes);
17448
+ return { report: result };
17449
+ }
17450
+ return { report: entity ?? null };
17451
+ }
17452
+ );
17453
+ return new MappedDvinaQueryRef(raw, (response) => {
17454
+ const data = response.report;
17455
+ const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
16676
17456
  if (includes.length > 0) {
16677
17457
  hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
16678
17458
  }
@@ -17369,6 +18149,136 @@ var TablesQuery = class _TablesQuery extends Request {
17369
18149
  return this;
17370
18150
  }
17371
18151
  };
18152
+ var UserSkillFileQuery = class extends Request {
18153
+ _variables;
18154
+ _includes = [];
18155
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18156
+ super(request, syncEngine, void 0, baseUrl);
18157
+ this._variables = variables;
18158
+ }
18159
+ async fetch(options) {
18160
+ const variables = this._variables;
18161
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFileDocument, "userSkillFile", this._includes, variables);
18162
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18163
+ const data = response.userSkillFile;
18164
+ const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
18165
+ if (this._includes.length > 0) {
18166
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
18167
+ }
18168
+ return instance;
18169
+ }
18170
+ watch(options) {
18171
+ const variables = this._variables;
18172
+ const includes = this._includes;
18173
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFileDocument, "userSkillFile", includes, variables);
18174
+ const raw = this._syncEngine.watch(
18175
+ queryDoc,
18176
+ mergedVars,
18177
+ "userSkillFile",
18178
+ async (db) => {
18179
+ const vars = variables;
18180
+ const pkField = getPrimaryKeyField("userSkillFileModels");
18181
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
18182
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
18183
+ const entity = hasEntityKey ? await db.table("userSkillFileModels").get(entityKey) : void 0;
18184
+ if (includes.length > 0 && entity) {
18185
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
18186
+ const result = await reconstructEntity(db, "userSkillFileModels", parentId, includes);
18187
+ return { userSkillFile: result };
18188
+ }
18189
+ return { userSkillFile: entity ?? null };
18190
+ }
18191
+ );
18192
+ return new MappedDvinaQueryRef(raw, (response) => {
18193
+ const data = response.userSkillFile;
18194
+ const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
18195
+ if (includes.length > 0) {
18196
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
18197
+ }
18198
+ return instance;
18199
+ });
18200
+ }
18201
+ };
18202
+ var UserSkillFilesQuery = class extends Request {
18203
+ _variables;
18204
+ _includes = [];
18205
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18206
+ super(request, syncEngine, void 0, baseUrl);
18207
+ this._variables = variables;
18208
+ }
18209
+ async fetch(options) {
18210
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18211
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18212
+ const data = response.userSkillFiles;
18213
+ if (!Array.isArray(data)) return [];
18214
+ return data.map((item) => new UserSkillFileModel(this._request, item, this._syncEngine, this._baseUrl));
18215
+ }
18216
+ };
18217
+ var UserSkillFolderQuery = class extends Request {
18218
+ _variables;
18219
+ _includes = [];
18220
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18221
+ super(request, syncEngine, void 0, baseUrl);
18222
+ this._variables = variables;
18223
+ }
18224
+ async fetch(options) {
18225
+ const variables = this._variables;
18226
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18227
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18228
+ const data = response.userSkillFolder;
18229
+ const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
18230
+ if (this._includes.length > 0) {
18231
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
18232
+ }
18233
+ return instance;
18234
+ }
18235
+ watch(options) {
18236
+ const variables = this._variables;
18237
+ const includes = this._includes;
18238
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFolderDocument, "userSkillFolder", includes, variables);
18239
+ const raw = this._syncEngine.watch(
18240
+ queryDoc,
18241
+ mergedVars,
18242
+ "userSkillFolder",
18243
+ async (db) => {
18244
+ const vars = variables;
18245
+ const pkField = getPrimaryKeyField("userSkillFolderModels");
18246
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
18247
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
18248
+ const entity = hasEntityKey ? await db.table("userSkillFolderModels").get(entityKey) : void 0;
18249
+ if (includes.length > 0 && entity) {
18250
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
18251
+ const result = await reconstructEntity(db, "userSkillFolderModels", parentId, includes);
18252
+ return { userSkillFolder: result };
18253
+ }
18254
+ return { userSkillFolder: entity ?? null };
18255
+ }
18256
+ );
18257
+ return new MappedDvinaQueryRef(raw, (response) => {
18258
+ const data = response.userSkillFolder;
18259
+ const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
18260
+ if (includes.length > 0) {
18261
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
18262
+ }
18263
+ return instance;
18264
+ });
18265
+ }
18266
+ };
18267
+ var UserSkillFoldersQuery = class extends Request {
18268
+ _variables;
18269
+ _includes = [];
18270
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18271
+ super(request, syncEngine, void 0, baseUrl);
18272
+ this._variables = variables;
18273
+ }
18274
+ async fetch(options) {
18275
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18276
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18277
+ const data = response.userSkillFolders;
18278
+ if (!Array.isArray(data)) return [];
18279
+ return data.map((item) => new UserSkillFolderModel(this._request, item, this._syncEngine, this._baseUrl));
18280
+ }
18281
+ };
17372
18282
  var WorkspaceDeletionScheduleQuery = class extends Request {
17373
18283
  _variables;
17374
18284
  _includes = [];
@@ -17462,6 +18372,10 @@ var DvinaSdk = class extends Request {
17462
18372
  this.inference = inference;
17463
18373
  this.billing = billing;
17464
18374
  }
18375
+ /** Mutation: acknowledgePulseEvent */
18376
+ acknowledgePulseEvent(variables) {
18377
+ return new AcknowledgePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18378
+ }
17465
18379
  /** Mutation: addInsightToReport */
17466
18380
  addInsightToReport(variables) {
17467
18381
  return new AddInsightToReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17478,6 +18392,10 @@ var DvinaSdk = class extends Request {
17478
18392
  connectIntegration(variables) {
17479
18393
  return new ConnectIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17480
18394
  }
18395
+ /** Mutation: continueImportedChat (scalar) */
18396
+ continueImportedChat(variables) {
18397
+ return new ContinueImportedChatMutation(this._request, this._syncEngine).fetch(variables);
18398
+ }
17481
18399
  /** Mutation: continueInterpretation (scalar) */
17482
18400
  continueInterpretation(variables) {
17483
18401
  return new ContinueInterpretationMutation(this._request, this._syncEngine).fetch(variables);
@@ -17522,6 +18440,14 @@ var DvinaSdk = class extends Request {
17522
18440
  createTable(variables) {
17523
18441
  return new CreateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17524
18442
  }
18443
+ /** Mutation: createUserSkillFile */
18444
+ createUserSkillFile(variables) {
18445
+ return new CreateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18446
+ }
18447
+ /** Mutation: createUserSkillFolder */
18448
+ createUserSkillFolder(variables) {
18449
+ return new CreateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18450
+ }
17525
18451
  /** Mutation: deleteAgent */
17526
18452
  deleteAgent(variables) {
17527
18453
  return new DeleteAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17566,14 +18492,38 @@ var DvinaSdk = class extends Request {
17566
18492
  deleteTable(variables) {
17567
18493
  return new DeleteTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17568
18494
  }
18495
+ /** Mutation: deleteUserSkillFile */
18496
+ deleteUserSkillFile(variables) {
18497
+ return new DeleteUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18498
+ }
18499
+ /** Mutation: deleteUserSkillFolder */
18500
+ deleteUserSkillFolder(variables) {
18501
+ return new DeleteUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18502
+ }
17569
18503
  /** Mutation: disconnectIntegration (scalar) */
17570
18504
  disconnectIntegration(variables) {
17571
18505
  return new DisconnectIntegrationMutation(this._request, this._syncEngine).fetch(variables);
17572
18506
  }
18507
+ /** Mutation: dismissPulseEvent */
18508
+ dismissPulseEvent(variables) {
18509
+ return new DismissPulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18510
+ }
18511
+ /** Mutation: executeChatImport */
18512
+ executeChatImport(variables) {
18513
+ return new ExecuteChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18514
+ }
17573
18515
  /** Mutation: generateUploadUri */
17574
18516
  generateUploadUri(variables) {
17575
18517
  return new GenerateUploadUriMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17576
18518
  }
18519
+ /** Mutation: markPulseEventSeen */
18520
+ markPulseEventSeen(variables) {
18521
+ return new MarkPulseEventSeenMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18522
+ }
18523
+ /** Mutation: previewChatImport */
18524
+ previewChatImport(variables) {
18525
+ return new PreviewChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18526
+ }
17577
18527
  /** Mutation: reanalyzeDocument */
17578
18528
  reanalyzeDocument(variables) {
17579
18529
  return new ReanalyzeDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17606,6 +18556,10 @@ var DvinaSdk = class extends Request {
17606
18556
  resetWorkspace() {
17607
18557
  return new ResetWorkspaceMutation(this._request, this._syncEngine).fetch(void 0);
17608
18558
  }
18559
+ /** Mutation: resolvePulseEvent */
18560
+ resolvePulseEvent(variables) {
18561
+ return new ResolvePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18562
+ }
17609
18563
  /** Mutation: scheduleWorkspaceDeletion */
17610
18564
  scheduleWorkspaceDeletion() {
17611
18565
  return new ScheduleWorkspaceDeletionMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(void 0);
@@ -17646,6 +18600,10 @@ var DvinaSdk = class extends Request {
17646
18600
  updateInterp(variables) {
17647
18601
  return new UpdateInterpMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17648
18602
  }
18603
+ /** Mutation: updatePulseTrigger */
18604
+ updatePulseTrigger(variables) {
18605
+ return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18606
+ }
17649
18607
  /** Mutation: updateReport */
17650
18608
  updateReport(variables) {
17651
18609
  return new UpdateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17654,6 +18612,14 @@ var DvinaSdk = class extends Request {
17654
18612
  updateTable(variables) {
17655
18613
  return new UpdateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17656
18614
  }
18615
+ /** Mutation: updateUserSkillFile */
18616
+ updateUserSkillFile(variables) {
18617
+ return new UpdateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18618
+ }
18619
+ /** Mutation: updateUserSkillFolder */
18620
+ updateUserSkillFolder(variables) {
18621
+ return new UpdateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18622
+ }
17657
18623
  /** Query: agent — call .fetch() or .watch() to execute. */
17658
18624
  agent(variables) {
17659
18625
  return new AgentQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -17802,6 +18768,10 @@ var DvinaSdk = class extends Request {
17802
18768
  integrationCatalog(variables) {
17803
18769
  return new IntegrationCatalogQuery(this._request, this._syncEngine, variables, this._baseUrl);
17804
18770
  }
18771
+ /** Query: integrationCatalogTools (scalar) */
18772
+ integrationCatalogTools(variables) {
18773
+ return new IntegrationCatalogToolsQuery(this._request, this._syncEngine).fetch(variables);
18774
+ }
17805
18775
  /** Query: integrationCatalogs — call .fetch() or .watch() to execute. */
17806
18776
  integrationCatalogs(variables) {
17807
18777
  return new IntegrationCatalogsQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -17830,6 +18800,26 @@ var DvinaSdk = class extends Request {
17830
18800
  privacyStats() {
17831
18801
  return new PrivacyStatsQuery(this._request, this._syncEngine, {}, this._baseUrl);
17832
18802
  }
18803
+ /** Query: pulseAppSummary — call .fetch() or .watch() to execute. */
18804
+ pulseAppSummary(variables) {
18805
+ return new PulseAppSummaryQuery(this._request, this._syncEngine, variables, this._baseUrl);
18806
+ }
18807
+ /** Query: pulseEvent — call .fetch() or .watch() to execute. */
18808
+ pulseEvent(variables) {
18809
+ return new PulseEventQuery(this._request, this._syncEngine, variables, this._baseUrl);
18810
+ }
18811
+ /** Query: pulseEventStats — call .fetch() or .watch() to execute. */
18812
+ pulseEventStats(variables) {
18813
+ return new PulseEventStatsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18814
+ }
18815
+ /** Query: pulseEvents — call .fetch() or .watch() to execute. */
18816
+ pulseEvents(variables) {
18817
+ return new PulseEventsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18818
+ }
18819
+ /** Query: pulseTriggerSettings — call .fetch() or .watch() to execute. */
18820
+ pulseTriggerSettings(variables) {
18821
+ return new PulseTriggerSettingsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18822
+ }
17833
18823
  /** Query: query (scalar) */
17834
18824
  query(variables) {
17835
18825
  return new QueryQuery(this._request, this._syncEngine).fetch(variables);
@@ -17862,6 +18852,22 @@ var DvinaSdk = class extends Request {
17862
18852
  tables(variables) {
17863
18853
  return new TablesQuery(this._request, this._syncEngine, variables, this._baseUrl);
17864
18854
  }
18855
+ /** Query: userSkillFile — call .fetch() or .watch() to execute. */
18856
+ userSkillFile(variables) {
18857
+ return new UserSkillFileQuery(this._request, this._syncEngine, variables, this._baseUrl);
18858
+ }
18859
+ /** Query: userSkillFiles — call .fetch() or .watch() to execute. */
18860
+ userSkillFiles(variables) {
18861
+ return new UserSkillFilesQuery(this._request, this._syncEngine, variables, this._baseUrl);
18862
+ }
18863
+ /** Query: userSkillFolder — call .fetch() or .watch() to execute. */
18864
+ userSkillFolder(variables) {
18865
+ return new UserSkillFolderQuery(this._request, this._syncEngine, variables, this._baseUrl);
18866
+ }
18867
+ /** Query: userSkillFolders — call .fetch() or .watch() to execute. */
18868
+ userSkillFolders(variables) {
18869
+ return new UserSkillFoldersQuery(this._request, this._syncEngine, variables, this._baseUrl);
18870
+ }
17865
18871
  /** Query: workspaceDeletionSchedule — call .fetch() or .watch() to execute. */
17866
18872
  workspaceDeletionSchedule() {
17867
18873
  return new WorkspaceDeletionScheduleQuery(this._request, this._syncEngine, {}, this._baseUrl);
@@ -17924,6 +18930,6 @@ var DvinaSdk = class extends Request {
17924
18930
  }
17925
18931
  };
17926
18932
 
17927
- export { 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, Chat, ChatConnection, 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_MessagesQuery, ChatsQuery, ConnectIntegrationMutation, ContentBlock, ContentMask, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateReportMutation, CreateTableMutation, 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, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, 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, ExportQuery, ExportWithInsightIdQuery, 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_WeekQuery, GetUsageQuery, IndexContentObject, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, Invocation, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PrivacyStats, PrivacyStatsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineMindInstructionMutation, RefreshDatabaseSchemaMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SearchQuery, SendMessageStreamSubscription, SetDatabasePrimaryKeyMutation, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, 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, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInterpMutation, UpdateReportMutation, UpdateTableMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
17928
- //# sourceMappingURL=chunk-HHR27PDE.js.map
17929
- //# sourceMappingURL=chunk-HHR27PDE.js.map
18933
+ export { AcknowledgePulseEventMutation, 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, 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_MessagesQuery, ChatsQuery, ConnectIntegrationMutation, 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, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, 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_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, IndexContentObject, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, Invocation, MUTATION_CACHE_RULES, MappedDvinaQueryRef, MarkPulseEventSeenMutation, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventStatsModel, PulseEventStatsQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineMindInstructionMutation, RefreshDatabaseSchemaMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SearchQuery, SendMessageStreamSubscription, SetDatabasePrimaryKeyMutation, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, 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, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInterpMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
18934
+ //# sourceMappingURL=chunk-B6DO72PH.js.map
18935
+ //# sourceMappingURL=chunk-B6DO72PH.js.map