@dvina/sdk 4.0.6 → 4.0.31

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, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateReportDocument, CreateTableDocument, DeleteAgentDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteReportDocument, DeleteTableDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, GenerateUploadUriDocument, MarkPulseEventSeenDocument, ReanalyzeDocumentDocument, RefineMindInstructionDocument, RefreshDatabaseSchemaDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SetDatabasePrimaryKeyDocument, UpdateAgentDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInterpDocument, UpdatePulseTriggerDocument, 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, 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, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, SendMessageStreamDocument, TokenUsageUpdatesDocument } from './chunk-R25LNOGL.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
@@ -6972,7 +6972,7 @@ function createWsTransport(options) {
6972
6972
  }
6973
6973
 
6974
6974
  // src/_generated_store.ts
6975
- var SCHEMA_HASH = "a6b5a74dfd8e3943";
6975
+ var SCHEMA_HASH = "8f2a7503e7868d35";
6976
6976
  var DB_ENTITY_SCHEMA = {
6977
6977
  actions: "id",
6978
6978
  agents: "id",
@@ -7006,6 +7006,10 @@ var DB_ENTITY_SCHEMA = {
7006
7006
  mcpTools: "id",
7007
7007
  modelTokenUsages: "id",
7008
7008
  notifications: "id",
7009
+ pulseAppSummaryModels: "integrationId",
7010
+ pulseEvents: "id",
7011
+ pulseEventStatsModels: "id",
7012
+ pulseTriggerSettingModels: "[integrationId+slug]",
7009
7013
  relations: "id",
7010
7014
  reportMembers: "[reportId+insightId]",
7011
7015
  reports: "id",
@@ -7049,6 +7053,10 @@ var TYPENAME_TO_TABLE = {
7049
7053
  McpTool: "mcpTools",
7050
7054
  ModelTokenUsage: "modelTokenUsages",
7051
7055
  Notification: "notifications",
7056
+ PulseAppSummaryModel: "pulseAppSummaryModels",
7057
+ PulseEvent: "pulseEvents",
7058
+ PulseEventStatsModel: "pulseEventStatsModels",
7059
+ PulseTriggerSettingModel: "pulseTriggerSettingModels",
7052
7060
  Relation: "relations",
7053
7061
  Report: "reports",
7054
7062
  ReportMember: "reportMembers",
@@ -7092,6 +7100,10 @@ var TABLE_TO_TYPENAME = {
7092
7100
  mcpTools: "McpTool",
7093
7101
  modelTokenUsages: "ModelTokenUsage",
7094
7102
  notifications: "Notification",
7103
+ pulseAppSummaryModels: "PulseAppSummaryModel",
7104
+ pulseEvents: "PulseEvent",
7105
+ pulseEventStatsModels: "PulseEventStatsModel",
7106
+ pulseTriggerSettingModels: "PulseTriggerSettingModel",
7095
7107
  relations: "Relation",
7096
7108
  reportMembers: "ReportMember",
7097
7109
  reports: "Report",
@@ -7109,6 +7121,8 @@ var PRIMARY_KEY_CONFIG = {
7109
7121
  documentFormats: "key",
7110
7122
  integrationCatalogs: "providerKey",
7111
7123
  integrationProviders: "key",
7124
+ pulseAppSummaryModels: "integrationId",
7125
+ pulseTriggerSettingModels: ["integrationId", "slug"],
7112
7126
  reportMembers: ["reportId", "insightId"]
7113
7127
  };
7114
7128
  var MUTATION_CACHE_RULES = {
@@ -8395,8 +8409,18 @@ var QueryExecutor = class {
8395
8409
  * revalidation.
8396
8410
  */
8397
8411
  watch(document2, variables, operationName, buildResult) {
8398
- const ref = new DexieLiveQueryRef(
8399
- () => buildResult(this._db),
8412
+ let ref;
8413
+ ref = new DexieLiveQueryRef(
8414
+ async () => {
8415
+ try {
8416
+ return await buildResult(this._db);
8417
+ } catch (error) {
8418
+ if (isMissingDexieTableError(error)) {
8419
+ return ref.current;
8420
+ }
8421
+ throw error;
8422
+ }
8423
+ },
8400
8424
  async (refetchVars) => {
8401
8425
  const merged = { ...variables, ...refetchVars };
8402
8426
  const data = await this.query(document2, merged, operationName);
@@ -9427,7 +9451,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9427
9451
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9428
9452
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9429
9453
  async function uploadFile(request, getToken, file, name, options) {
9430
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-AODD423G.js');
9454
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BUDHKOOE.js');
9431
9455
  const key = `upload_${Date.now()}`;
9432
9456
  const response = await request(
9433
9457
  GenerateUploadUriDocument2,
@@ -10655,6 +10679,7 @@ var Insight = class extends DvinaModel {
10655
10679
  }
10656
10680
  };
10657
10681
  var Integration = class extends DvinaModel {
10682
+ connectedAt;
10658
10683
  createdAt;
10659
10684
  id;
10660
10685
  providerKey;
@@ -10662,6 +10687,7 @@ var Integration = class extends DvinaModel {
10662
10687
  updatedAt;
10663
10688
  constructor(request, data, syncEngine, baseUrl) {
10664
10689
  super(request, syncEngine, baseUrl);
10690
+ this.connectedAt = data.connectedAt ? new Date(data.connectedAt) : void 0;
10665
10691
  this.createdAt = new Date(data.createdAt);
10666
10692
  this.id = data.id;
10667
10693
  this.providerKey = data.providerKey;
@@ -10946,6 +10972,98 @@ var PrivacyStats = class extends DvinaModel {
10946
10972
  this.messagesProtectedFromTraining = data.messagesProtectedFromTraining ?? void 0;
10947
10973
  }
10948
10974
  };
10975
+ var PulseAppSummaryModel = class extends DvinaModel {
10976
+ activeTriggerCount;
10977
+ integrationId;
10978
+ providerKey;
10979
+ constructor(request, data, syncEngine, baseUrl) {
10980
+ super(request, syncEngine, baseUrl);
10981
+ this.activeTriggerCount = data.activeTriggerCount;
10982
+ this.integrationId = data.integrationId;
10983
+ this.providerKey = data.providerKey ?? void 0;
10984
+ }
10985
+ };
10986
+ var PulseEvent = class extends DvinaModel {
10987
+ acknowledgedAt;
10988
+ actions;
10989
+ createdAt;
10990
+ dedupeKey;
10991
+ dismissedAt;
10992
+ id;
10993
+ integrationId;
10994
+ kind;
10995
+ message;
10996
+ payload;
10997
+ priority;
10998
+ providerKey;
10999
+ remoteEventId;
11000
+ remoteLogId;
11001
+ remoteTriggerId;
11002
+ resolvedAt;
11003
+ seenAt;
11004
+ status;
11005
+ summary;
11006
+ title;
11007
+ triggerSlug;
11008
+ updatedAt;
11009
+ constructor(request, data, syncEngine, baseUrl) {
11010
+ super(request, syncEngine, baseUrl);
11011
+ this.acknowledgedAt = data.acknowledgedAt ? new Date(data.acknowledgedAt) : void 0;
11012
+ this.actions = data.actions ?? void 0;
11013
+ this.createdAt = new Date(data.createdAt);
11014
+ this.dedupeKey = data.dedupeKey ?? void 0;
11015
+ this.dismissedAt = data.dismissedAt ? new Date(data.dismissedAt) : void 0;
11016
+ this.id = data.id;
11017
+ this.integrationId = data.integrationId;
11018
+ this.kind = data.kind;
11019
+ this.message = data.message ?? void 0;
11020
+ this.payload = data.payload ?? void 0;
11021
+ this.priority = data.priority;
11022
+ this.providerKey = data.providerKey;
11023
+ this.remoteEventId = data.remoteEventId;
11024
+ this.remoteLogId = data.remoteLogId ?? void 0;
11025
+ this.remoteTriggerId = data.remoteTriggerId ?? void 0;
11026
+ this.resolvedAt = data.resolvedAt ? new Date(data.resolvedAt) : void 0;
11027
+ this.seenAt = data.seenAt ? new Date(data.seenAt) : void 0;
11028
+ this.status = data.status;
11029
+ this.summary = data.summary ?? void 0;
11030
+ this.title = data.title;
11031
+ this.triggerSlug = data.triggerSlug;
11032
+ this.updatedAt = new Date(data.updatedAt);
11033
+ }
11034
+ /** Query the integration relation for this PulseEvent. Call .fetch() or .watch() to execute. */
11035
+ integration(variables) {
11036
+ return new PulseEvent_IntegrationQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11037
+ }
11038
+ };
11039
+ var PulseEventStatsModel = class extends DvinaModel {
11040
+ highPriorityCount;
11041
+ needsActionCount;
11042
+ unreadCount;
11043
+ constructor(request, data, syncEngine, baseUrl) {
11044
+ super(request, syncEngine, baseUrl);
11045
+ this.highPriorityCount = data.highPriorityCount;
11046
+ this.needsActionCount = data.needsActionCount;
11047
+ this.unreadCount = data.unreadCount;
11048
+ }
11049
+ };
11050
+ var PulseTriggerSettingModel = class extends DvinaModel {
11051
+ integrationId;
11052
+ isEnabled;
11053
+ message;
11054
+ name;
11055
+ providerKey;
11056
+ slug;
11057
+ constructor(request, data, syncEngine, baseUrl) {
11058
+ super(request, syncEngine, baseUrl);
11059
+ this.integrationId = data.integrationId;
11060
+ this.isEnabled = data.isEnabled;
11061
+ this.message = data.message ?? void 0;
11062
+ this.name = data.name;
11063
+ this.providerKey = data.providerKey;
11064
+ this.slug = data.slug;
11065
+ }
11066
+ };
10949
11067
  var ReasoningEventOutput = class extends DvinaModel {
10950
11068
  delta;
10951
11069
  type;
@@ -11475,6 +11593,17 @@ var NotificationConnection = class extends Connection {
11475
11593
  );
11476
11594
  }
11477
11595
  };
11596
+ var PulseEventConnection = class extends Connection {
11597
+ constructor(request, fetch2, data, syncEngine, baseUrl) {
11598
+ super(
11599
+ request,
11600
+ fetch2,
11601
+ data.nodes?.map((node) => new PulseEvent(request, node, syncEngine, baseUrl)) ?? [],
11602
+ new PageInfo(data.pageInfo),
11603
+ data.totalCount ?? void 0
11604
+ );
11605
+ }
11606
+ };
11478
11607
  var ReportConnection = class extends Connection {
11479
11608
  constructor(request, fetch2, data, syncEngine, baseUrl) {
11480
11609
  super(
@@ -12115,6 +12244,36 @@ var IntegrationCatalogSubBuilder = class {
12115
12244
  return this;
12116
12245
  }
12117
12246
  };
12247
+ var PulseEventSubBuilder = class {
12248
+ /** @internal */
12249
+ _includes = [];
12250
+ /** Include integration in the parent query. */
12251
+ integration(variables, builder) {
12252
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
12253
+ let children;
12254
+ if (builder) {
12255
+ const sub = new IntegrationSubBuilder();
12256
+ builder(sub);
12257
+ children = sub._includes;
12258
+ }
12259
+ this._includes.push({
12260
+ fieldName: "integration",
12261
+ fragmentDoc: IntegrationFragmentDoc,
12262
+ variables,
12263
+ isConnection: false,
12264
+ isList: false,
12265
+ variableDefinitions: info.variableDefinitions,
12266
+ fieldArguments: info.fieldArguments,
12267
+ syncMetadata: {
12268
+ entityType: "integrations",
12269
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
12270
+ },
12271
+ children,
12272
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
12273
+ });
12274
+ return this;
12275
+ }
12276
+ };
12118
12277
  var ReportSubBuilder = class {
12119
12278
  /** @internal */
12120
12279
  _includes = [];
@@ -12259,6 +12418,13 @@ var TableSubBuilder = class {
12259
12418
  return this;
12260
12419
  }
12261
12420
  };
12421
+ var AcknowledgePulseEventMutation = class extends Request {
12422
+ async fetch(variables, options) {
12423
+ const response = await this._syncEngine.mutate(AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12424
+ const data = response.acknowledgePulseEvent;
12425
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12426
+ }
12427
+ };
12262
12428
  var AddInsightToReportMutation = class extends Request {
12263
12429
  async fetch(variables, options) {
12264
12430
  const response = await this._syncEngine.mutate(AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
@@ -12443,6 +12609,13 @@ var DisconnectIntegrationMutation = class extends Request {
12443
12609
  return response.disconnectIntegration;
12444
12610
  }
12445
12611
  };
12612
+ var DismissPulseEventMutation = class extends Request {
12613
+ async fetch(variables, options) {
12614
+ const response = await this._syncEngine.mutate(DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12615
+ const data = response.dismissPulseEvent;
12616
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12617
+ }
12618
+ };
12446
12619
  var GenerateUploadUriMutation = class extends Request {
12447
12620
  async fetch(variables, options) {
12448
12621
  const response = await this._syncEngine.mutate(GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
@@ -12450,6 +12623,13 @@ var GenerateUploadUriMutation = class extends Request {
12450
12623
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
12451
12624
  }
12452
12625
  };
12626
+ var MarkPulseEventSeenMutation = class extends Request {
12627
+ async fetch(variables, options) {
12628
+ const response = await this._syncEngine.mutate(MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12629
+ const data = response.markPulseEventSeen;
12630
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12631
+ }
12632
+ };
12453
12633
  var ReanalyzeDocumentMutation = class extends Request {
12454
12634
  async fetch(variables, options) {
12455
12635
  const response = await this._syncEngine.mutate(ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
@@ -12501,6 +12681,13 @@ var ResetWorkspaceMutation = class extends Request {
12501
12681
  return response.resetWorkspace;
12502
12682
  }
12503
12683
  };
12684
+ var ResolvePulseEventMutation = class extends Request {
12685
+ async fetch(variables, options) {
12686
+ const response = await this._syncEngine.mutate(ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12687
+ const data = response.resolvePulseEvent;
12688
+ return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12689
+ }
12690
+ };
12504
12691
  var ScheduleWorkspaceDeletionMutation = class extends Request {
12505
12692
  async fetch(variables, options) {
12506
12693
  const response = await this._syncEngine.mutate(ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
@@ -12570,6 +12757,13 @@ var UpdateInterpMutation = class extends Request {
12570
12757
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
12571
12758
  }
12572
12759
  };
12760
+ var UpdatePulseTriggerMutation = class extends Request {
12761
+ async fetch(variables, options) {
12762
+ const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
12763
+ const data = response.updatePulseTrigger;
12764
+ return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
12765
+ }
12766
+ };
12573
12767
  var UpdateReportMutation = class extends Request {
12574
12768
  async fetch(variables, options) {
12575
12769
  const response = await this._syncEngine.mutate(UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
@@ -16219,6 +16413,12 @@ var IntegrationCatalog_ProviderQuery = class extends Request {
16219
16413
  });
16220
16414
  }
16221
16415
  };
16416
+ var IntegrationCatalogToolsQuery = class extends Request {
16417
+ async fetch(variables) {
16418
+ const response = await this._request(IntegrationCatalogToolsDocument, variables);
16419
+ return response.integrationCatalogTools;
16420
+ }
16421
+ };
16222
16422
  var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends Request {
16223
16423
  _variables;
16224
16424
  _includes = [];
@@ -16612,6 +16812,345 @@ var PrivacyStatsQuery = class extends Request {
16612
16812
  });
16613
16813
  }
16614
16814
  };
16815
+ var PulseAppSummaryQuery = class extends Request {
16816
+ _variables;
16817
+ _includes = [];
16818
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16819
+ super(request, syncEngine, void 0, baseUrl);
16820
+ this._variables = variables;
16821
+ }
16822
+ async fetch(options) {
16823
+ const variables = this._variables;
16824
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
16825
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
16826
+ const data = response.pulseAppSummary;
16827
+ if (!data) return void 0;
16828
+ const instance = new PulseAppSummaryModel(this._request, data, this._syncEngine, this._baseUrl);
16829
+ if (this._includes.length > 0) {
16830
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
16831
+ }
16832
+ return instance;
16833
+ }
16834
+ watch(options) {
16835
+ const variables = this._variables;
16836
+ const includes = this._includes;
16837
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
16838
+ const raw = this._syncEngine.watch(
16839
+ queryDoc,
16840
+ mergedVars,
16841
+ "pulseAppSummary",
16842
+ async (db) => {
16843
+ const vars = variables;
16844
+ const pkField = getPrimaryKeyField("pulseAppSummaryModels");
16845
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
16846
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
16847
+ const entity = hasEntityKey ? await db.table("pulseAppSummaryModels").get(entityKey) : void 0;
16848
+ if (includes.length > 0 && entity) {
16849
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
16850
+ const result = await reconstructEntity(db, "pulseAppSummaryModels", parentId, includes);
16851
+ return { pulseAppSummary: result };
16852
+ }
16853
+ return { pulseAppSummary: entity ?? null };
16854
+ }
16855
+ );
16856
+ return new MappedDvinaQueryRef(raw, (response) => {
16857
+ const data = response.pulseAppSummary;
16858
+ if (!data) return void 0;
16859
+ const instance = new PulseAppSummaryModel(this._request, data, this._syncEngine, this._baseUrl);
16860
+ if (includes.length > 0) {
16861
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
16862
+ }
16863
+ return instance;
16864
+ });
16865
+ }
16866
+ };
16867
+ var PulseEventQuery = class extends Request {
16868
+ _variables;
16869
+ _includes = [];
16870
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16871
+ super(request, syncEngine, void 0, baseUrl);
16872
+ this._variables = variables;
16873
+ }
16874
+ async fetch(options) {
16875
+ const variables = this._variables;
16876
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventDocument, "pulseEvent", this._includes, variables);
16877
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
16878
+ const data = response.pulseEvent;
16879
+ const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
16880
+ if (this._includes.length > 0) {
16881
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
16882
+ }
16883
+ return instance;
16884
+ }
16885
+ watch(options) {
16886
+ const variables = this._variables;
16887
+ const includes = this._includes;
16888
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventDocument, "pulseEvent", includes, variables);
16889
+ const raw = this._syncEngine.watch(
16890
+ queryDoc,
16891
+ mergedVars,
16892
+ "pulseEvent",
16893
+ async (db) => {
16894
+ const vars = variables;
16895
+ const pkField = getPrimaryKeyField("pulseEvents");
16896
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
16897
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
16898
+ const entity = hasEntityKey ? await db.table("pulseEvents").get(entityKey) : void 0;
16899
+ if (includes.length > 0 && entity) {
16900
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
16901
+ const result = await reconstructEntity(db, "pulseEvents", parentId, includes);
16902
+ return { pulseEvent: result };
16903
+ }
16904
+ return { pulseEvent: entity ?? null };
16905
+ }
16906
+ );
16907
+ return new MappedDvinaQueryRef(raw, (response) => {
16908
+ const data = response.pulseEvent;
16909
+ const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
16910
+ if (includes.length > 0) {
16911
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
16912
+ }
16913
+ return instance;
16914
+ });
16915
+ }
16916
+ /** Include integration in this query (Smart Fetch — single HTTP request). */
16917
+ integration(variables, builder) {
16918
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
16919
+ let children;
16920
+ if (builder) {
16921
+ const sub = new IntegrationSubBuilder();
16922
+ builder(sub);
16923
+ children = sub._includes;
16924
+ }
16925
+ this._includes.push({
16926
+ fieldName: "integration",
16927
+ fragmentDoc: IntegrationFragmentDoc,
16928
+ variables,
16929
+ isConnection: false,
16930
+ isList: false,
16931
+ variableDefinitions: info.variableDefinitions,
16932
+ fieldArguments: info.fieldArguments,
16933
+ syncMetadata: {
16934
+ entityType: "integrations",
16935
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
16936
+ },
16937
+ children,
16938
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
16939
+ });
16940
+ return this;
16941
+ }
16942
+ };
16943
+ var PulseEvent_IntegrationQuery = class extends Request {
16944
+ _variables;
16945
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16946
+ super(request, syncEngine, void 0, baseUrl);
16947
+ this._variables = variables;
16948
+ }
16949
+ async fetch(options) {
16950
+ const variables = this._variables;
16951
+ const response = await this._syncEngine.query(PulseEvent_IntegrationDocument, variables, "pulseEvent");
16952
+ const data = response.pulseEvent?.integration;
16953
+ return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16954
+ }
16955
+ watch(options) {
16956
+ const variables = this._variables;
16957
+ const raw = this._syncEngine.watch(
16958
+ PulseEvent_IntegrationDocument,
16959
+ variables,
16960
+ "pulseEvent",
16961
+ async (db) => {
16962
+ const vars = variables;
16963
+ const entity = vars?.id ? await db.table("integrations").get(vars.id) : void 0;
16964
+ return { pulseEvent: { integration: entity ?? null } };
16965
+ }
16966
+ );
16967
+ return new MappedDvinaQueryRef(raw, (response) => {
16968
+ const data = response.pulseEvent?.integration;
16969
+ return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16970
+ });
16971
+ }
16972
+ };
16973
+ var PulseEvent_Integration_ProviderQuery = class extends Request {
16974
+ _variables;
16975
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16976
+ super(request, syncEngine, void 0, baseUrl);
16977
+ this._variables = variables;
16978
+ }
16979
+ async fetch(options) {
16980
+ const variables = this._variables;
16981
+ const response = await this._syncEngine.query(PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
16982
+ const data = response.pulseEvent?.integration?.provider;
16983
+ return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16984
+ }
16985
+ watch(options) {
16986
+ const variables = this._variables;
16987
+ const raw = this._syncEngine.watch(
16988
+ PulseEvent_Integration_ProviderDocument,
16989
+ variables,
16990
+ "pulseEvent",
16991
+ async (db) => {
16992
+ const vars = variables;
16993
+ const entity = vars?.id ? await db.table("integrationProviders").get(vars.id) : void 0;
16994
+ return { pulseEvent: { integration: { provider: entity ?? null } } };
16995
+ }
16996
+ );
16997
+ return new MappedDvinaQueryRef(raw, (response) => {
16998
+ const data = response.pulseEvent?.integration?.provider;
16999
+ return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17000
+ });
17001
+ }
17002
+ };
17003
+ var PulseEventStatsQuery = class extends Request {
17004
+ _variables;
17005
+ _includes = [];
17006
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17007
+ super(request, syncEngine, void 0, baseUrl);
17008
+ this._variables = variables;
17009
+ }
17010
+ async fetch(options) {
17011
+ const variables = this._variables;
17012
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17013
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEventStats");
17014
+ const data = response.pulseEventStats;
17015
+ const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
17016
+ if (this._includes.length > 0) {
17017
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
17018
+ }
17019
+ return instance;
17020
+ }
17021
+ watch(options) {
17022
+ const variables = this._variables;
17023
+ const includes = this._includes;
17024
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventStatsDocument, "pulseEventStats", includes, variables);
17025
+ const raw = this._syncEngine.watch(
17026
+ queryDoc,
17027
+ mergedVars,
17028
+ "pulseEventStats",
17029
+ async (db) => {
17030
+ const vars = variables;
17031
+ const pkField = getPrimaryKeyField("pulseEventStatsModels");
17032
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
17033
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
17034
+ const entity = hasEntityKey ? await db.table("pulseEventStatsModels").get(entityKey) : void 0;
17035
+ if (includes.length > 0 && entity) {
17036
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
17037
+ const result = await reconstructEntity(db, "pulseEventStatsModels", parentId, includes);
17038
+ return { pulseEventStats: result };
17039
+ }
17040
+ return { pulseEventStats: entity ?? null };
17041
+ }
17042
+ );
17043
+ return new MappedDvinaQueryRef(raw, (response) => {
17044
+ const data = response.pulseEventStats;
17045
+ const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
17046
+ if (includes.length > 0) {
17047
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
17048
+ }
17049
+ return instance;
17050
+ });
17051
+ }
17052
+ };
17053
+ var PulseEventsQuery = class _PulseEventsQuery extends Request {
17054
+ _variables;
17055
+ _includes = [];
17056
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17057
+ super(request, syncEngine, void 0, baseUrl);
17058
+ this._variables = variables;
17059
+ }
17060
+ async fetch(options) {
17061
+ const variables = this._variables;
17062
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17063
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17064
+ const data = response.pulseEvents;
17065
+ 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);
17066
+ if (this._includes.length > 0) {
17067
+ const rawNodes = data.nodes ?? [];
17068
+ for (let i = 0; i < connection.nodes.length; i++) {
17069
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
17070
+ }
17071
+ }
17072
+ return connection;
17073
+ }
17074
+ watch(options) {
17075
+ const variables = this._variables;
17076
+ const subscriptionId = crypto.randomUUID();
17077
+ const includes = this._includes;
17078
+ 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) }] : []);
17079
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseEventsDocument, "pulseEvents", includes, variables, true);
17080
+ const raw = this._syncEngine.watch(
17081
+ queryDoc,
17082
+ mergedVars,
17083
+ "pulseEvents",
17084
+ async (db) => {
17085
+ const qr = await db._queryResults.get(buildQueryKey("pulseEvents", mergedVars, queryDoc));
17086
+ const nodes = qr ? await db.table("pulseEvents").bulkGet(qr.entityIds) : [];
17087
+ const filteredNodes = nodes.filter(Boolean);
17088
+ const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "pulseEvents", filteredNodes, includes) : filteredNodes;
17089
+ return { pulseEvents: { __typename: "PulseEventConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
17090
+ },
17091
+ {
17092
+ id: subscriptionId,
17093
+ entityType: "pulseEvents",
17094
+ operationName: "pulseEvents",
17095
+ modelName: "PulseEvent",
17096
+ filter: variables?.filter
17097
+ },
17098
+ watchedRelations
17099
+ );
17100
+ return new MappedDvinaQueryRef(raw, (response) => {
17101
+ const data = response.pulseEvents;
17102
+ 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);
17103
+ if (includes.length > 0) {
17104
+ const rawNodes = data.nodes ?? [];
17105
+ for (let i = 0; i < connection.nodes.length; i++) {
17106
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
17107
+ }
17108
+ }
17109
+ return connection;
17110
+ });
17111
+ }
17112
+ /** Include integration in this query (Smart Fetch — single HTTP request). */
17113
+ integration(variables, builder) {
17114
+ const info = extractIncludeInfo(PulseEvent_IntegrationDocument, "integration", ["id"]);
17115
+ let children;
17116
+ if (builder) {
17117
+ const sub = new IntegrationSubBuilder();
17118
+ builder(sub);
17119
+ children = sub._includes;
17120
+ }
17121
+ this._includes.push({
17122
+ fieldName: "integration",
17123
+ fragmentDoc: IntegrationFragmentDoc,
17124
+ variables,
17125
+ isConnection: false,
17126
+ isList: false,
17127
+ variableDefinitions: info.variableDefinitions,
17128
+ fieldArguments: info.fieldArguments,
17129
+ syncMetadata: {
17130
+ entityType: "integrations",
17131
+ requiredFields: ["createdAt", "id", "providerKey", "status", "updatedAt"]
17132
+ },
17133
+ children,
17134
+ modelFactory: (req, data, se, bu) => new Integration(req, data, se, bu)
17135
+ });
17136
+ return this;
17137
+ }
17138
+ };
17139
+ var PulseTriggerSettingsQuery = class extends Request {
17140
+ _variables;
17141
+ _includes = [];
17142
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17143
+ super(request, syncEngine, void 0, baseUrl);
17144
+ this._variables = variables;
17145
+ }
17146
+ async fetch(options) {
17147
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17148
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
17149
+ const data = response.pulseTriggerSettings;
17150
+ if (!Array.isArray(data)) return [];
17151
+ return data.map((item) => new PulseTriggerSettingModel(this._request, item, this._syncEngine, this._baseUrl));
17152
+ }
17153
+ };
16615
17154
  var QueryQuery = class extends Request {
16616
17155
  async fetch(variables) {
16617
17156
  const response = await this._request(QueryDocument, variables);
@@ -17462,6 +18001,10 @@ var DvinaSdk = class extends Request {
17462
18001
  this.inference = inference;
17463
18002
  this.billing = billing;
17464
18003
  }
18004
+ /** Mutation: acknowledgePulseEvent */
18005
+ acknowledgePulseEvent(variables) {
18006
+ return new AcknowledgePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18007
+ }
17465
18008
  /** Mutation: addInsightToReport */
17466
18009
  addInsightToReport(variables) {
17467
18010
  return new AddInsightToReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17570,10 +18113,18 @@ var DvinaSdk = class extends Request {
17570
18113
  disconnectIntegration(variables) {
17571
18114
  return new DisconnectIntegrationMutation(this._request, this._syncEngine).fetch(variables);
17572
18115
  }
18116
+ /** Mutation: dismissPulseEvent */
18117
+ dismissPulseEvent(variables) {
18118
+ return new DismissPulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18119
+ }
17573
18120
  /** Mutation: generateUploadUri */
17574
18121
  generateUploadUri(variables) {
17575
18122
  return new GenerateUploadUriMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17576
18123
  }
18124
+ /** Mutation: markPulseEventSeen */
18125
+ markPulseEventSeen(variables) {
18126
+ return new MarkPulseEventSeenMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18127
+ }
17577
18128
  /** Mutation: reanalyzeDocument */
17578
18129
  reanalyzeDocument(variables) {
17579
18130
  return new ReanalyzeDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17606,6 +18157,10 @@ var DvinaSdk = class extends Request {
17606
18157
  resetWorkspace() {
17607
18158
  return new ResetWorkspaceMutation(this._request, this._syncEngine).fetch(void 0);
17608
18159
  }
18160
+ /** Mutation: resolvePulseEvent */
18161
+ resolvePulseEvent(variables) {
18162
+ return new ResolvePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18163
+ }
17609
18164
  /** Mutation: scheduleWorkspaceDeletion */
17610
18165
  scheduleWorkspaceDeletion() {
17611
18166
  return new ScheduleWorkspaceDeletionMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(void 0);
@@ -17646,6 +18201,10 @@ var DvinaSdk = class extends Request {
17646
18201
  updateInterp(variables) {
17647
18202
  return new UpdateInterpMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
17648
18203
  }
18204
+ /** Mutation: updatePulseTrigger */
18205
+ updatePulseTrigger(variables) {
18206
+ return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
18207
+ }
17649
18208
  /** Mutation: updateReport */
17650
18209
  updateReport(variables) {
17651
18210
  return new UpdateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -17802,6 +18361,10 @@ var DvinaSdk = class extends Request {
17802
18361
  integrationCatalog(variables) {
17803
18362
  return new IntegrationCatalogQuery(this._request, this._syncEngine, variables, this._baseUrl);
17804
18363
  }
18364
+ /** Query: integrationCatalogTools (scalar) */
18365
+ integrationCatalogTools(variables) {
18366
+ return new IntegrationCatalogToolsQuery(this._request, this._syncEngine).fetch(variables);
18367
+ }
17805
18368
  /** Query: integrationCatalogs — call .fetch() or .watch() to execute. */
17806
18369
  integrationCatalogs(variables) {
17807
18370
  return new IntegrationCatalogsQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -17830,6 +18393,26 @@ var DvinaSdk = class extends Request {
17830
18393
  privacyStats() {
17831
18394
  return new PrivacyStatsQuery(this._request, this._syncEngine, {}, this._baseUrl);
17832
18395
  }
18396
+ /** Query: pulseAppSummary — call .fetch() or .watch() to execute. */
18397
+ pulseAppSummary(variables) {
18398
+ return new PulseAppSummaryQuery(this._request, this._syncEngine, variables, this._baseUrl);
18399
+ }
18400
+ /** Query: pulseEvent — call .fetch() or .watch() to execute. */
18401
+ pulseEvent(variables) {
18402
+ return new PulseEventQuery(this._request, this._syncEngine, variables, this._baseUrl);
18403
+ }
18404
+ /** Query: pulseEventStats — call .fetch() or .watch() to execute. */
18405
+ pulseEventStats(variables) {
18406
+ return new PulseEventStatsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18407
+ }
18408
+ /** Query: pulseEvents — call .fetch() or .watch() to execute. */
18409
+ pulseEvents(variables) {
18410
+ return new PulseEventsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18411
+ }
18412
+ /** Query: pulseTriggerSettings — call .fetch() or .watch() to execute. */
18413
+ pulseTriggerSettings(variables) {
18414
+ return new PulseTriggerSettingsQuery(this._request, this._syncEngine, variables, this._baseUrl);
18415
+ }
17833
18416
  /** Query: query (scalar) */
17834
18417
  query(variables) {
17835
18418
  return new QueryQuery(this._request, this._syncEngine).fetch(variables);
@@ -17924,6 +18507,6 @@ var DvinaSdk = class extends Request {
17924
18507
  }
17925
18508
  };
17926
18509
 
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
18510
+ 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, 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, 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, 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, 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, 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, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
18511
+ //# sourceMappingURL=chunk-KGSFT3KV.js.map
18512
+ //# sourceMappingURL=chunk-KGSFT3KV.js.map