@dvina/sdk 4.1.0 → 4.1.13

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.
Files changed (37) hide show
  1. package/dist/{_generated_documents-W25ZCFDS.js → _generated_documents-DDOM6L4I.js} +3 -3
  2. package/dist/{_generated_documents-W25ZCFDS.js.map → _generated_documents-DDOM6L4I.js.map} +1 -1
  3. package/dist/{_generated_documents-YAY4ZZK5.cjs → _generated_documents-P2JDS76B.cjs} +630 -630
  4. package/dist/{_generated_documents-YAY4ZZK5.cjs.map → _generated_documents-P2JDS76B.cjs.map} +1 -1
  5. package/dist/adapters/angular/index.cjs +4 -4
  6. package/dist/adapters/angular/index.d.cts +3 -3
  7. package/dist/adapters/angular/index.d.ts +3 -3
  8. package/dist/adapters/angular/index.js +2 -2
  9. package/dist/adapters/react/index.d.cts +1 -1
  10. package/dist/adapters/react/index.d.ts +1 -1
  11. package/dist/{chunk-K7BABE6E.cjs → chunk-3NVTNOPC.cjs} +824 -798
  12. package/dist/chunk-3NVTNOPC.cjs.map +1 -0
  13. package/dist/{chunk-DUMZZ3UU.js → chunk-4QI6ACRB.js} +53 -52
  14. package/dist/chunk-4QI6ACRB.js.map +1 -0
  15. package/dist/{chunk-UNCG3BQZ.js → chunk-5WZGNZOT.js} +295 -269
  16. package/dist/chunk-5WZGNZOT.js.map +1 -0
  17. package/dist/{chunk-QNNW2X4A.cjs → chunk-ULLPEHMQ.cjs} +53 -52
  18. package/dist/chunk-ULLPEHMQ.cjs.map +1 -0
  19. package/dist/{client-FrOdCbcX.d.cts → client-9HS5mnLX.d.cts} +23 -2
  20. package/dist/{client-B8JIhMch.d.ts → client-DTPpI37c.d.ts} +23 -2
  21. package/dist/{index-CRVQNqbH.d.cts → index-C3J-qQro.d.cts} +2 -2
  22. package/dist/{index-DIkN8kTm.d.ts → index-GgmBwFza.d.ts} +2 -2
  23. package/dist/index.cjs +468 -468
  24. package/dist/index.d.cts +167 -164
  25. package/dist/index.d.ts +167 -164
  26. package/dist/index.js +2 -2
  27. package/dist/pagination/index.d.cts +3 -3
  28. package/dist/pagination/index.d.ts +3 -3
  29. package/dist/{sync-engine-CH31aE3E.d.ts → sync-engine-CgKa-lWc.d.ts} +2 -2
  30. package/dist/{sync-engine-CTv-rvtx.d.cts → sync-engine-q1n4rVzP.d.cts} +2 -2
  31. package/dist/{types-2RotD0Ab.d.cts → types-k6gSbuaF.d.cts} +11 -1
  32. package/dist/{types-2RotD0Ab.d.ts → types-k6gSbuaF.d.ts} +11 -1
  33. package/package.json +1 -1
  34. package/dist/chunk-DUMZZ3UU.js.map +0 -1
  35. package/dist/chunk-K7BABE6E.cjs.map +0 -1
  36. package/dist/chunk-QNNW2X4A.cjs.map +0 -1
  37. package/dist/chunk-UNCG3BQZ.js.map +0 -1
@@ -2,7 +2,7 @@ import { Request, Connection, PageInfo, defaultConnection } from './chunk-KEM6SU
2
2
  import { createInferenceClientInternal } from './chunk-PDM2KR7T.js';
3
3
  import { createHttpTransport, BillingClient, refreshTokenSingleFlight, print, Kind } from './chunk-RVXRT5EI.js';
4
4
  import { GRAPHQL_ERROR_CODES, DvinaAuthenticationError, DvinaNetworkError, DvinaGraphQLError, DvinaError, createGraphQLError } from './chunk-7XBJ77RJ.js';
5
- import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteSavedAiProviderModelDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, UpsertWorkspaceAiModelDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, ManagedChatModelsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, 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, WorkspaceAiModelDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-DUMZZ3UU.js';
5
+ import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteSavedAiProviderModelDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, UpsertWorkspaceAiModelDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, ManagedChatModelsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, 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, WorkspaceAiModelDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-4QI6ACRB.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
@@ -9359,6 +9359,9 @@ var DvinaCacheMissError = class extends Error {
9359
9359
  function isDvinaCacheMissError(error) {
9360
9360
  return error instanceof DvinaCacheMissError;
9361
9361
  }
9362
+ function hasLocalRootResult(result) {
9363
+ return typeof result === "object" && result !== null && Object.values(result).some((value) => value !== null && value !== void 0);
9364
+ }
9362
9365
  var QueryExecutor = class {
9363
9366
  constructor(_db, _http, _cache) {
9364
9367
  this._db = _db;
@@ -9516,6 +9519,14 @@ var QueryExecutor = class {
9516
9519
  }
9517
9520
  }
9518
9521
  }
9522
+ try {
9523
+ const localResult = await buildResult(this._db);
9524
+ if (hasLocalRootResult(localResult)) {
9525
+ ref._markInitialized(localResult);
9526
+ return;
9527
+ }
9528
+ } catch {
9529
+ }
9519
9530
  const querySyncId = await this._db.getLastSyncId();
9520
9531
  const networkResult = await this.query(document2, variables, operationName);
9521
9532
  if (querySyncId !== "0") {
@@ -9749,6 +9760,9 @@ var OptimisticManager = class {
9749
9760
  };
9750
9761
 
9751
9762
  // src/store/mutation-executor.ts
9763
+ function isMutationOptions(options) {
9764
+ return Boolean(options && ("optimisticData" in options || "onOptimisticApplied" in options));
9765
+ }
9752
9766
  var MutationExecutor = class {
9753
9767
  constructor(_db, _http, _cache, _queryExecutor) {
9754
9768
  this._db = _db;
@@ -9768,10 +9782,16 @@ var MutationExecutor = class {
9768
9782
  * 3. **Commit** — normalize server response and write to Dexie (replacing optimistic data)
9769
9783
  * 4. **Rollback** (on error) — restore the original state in Dexie
9770
9784
  */
9771
- async mutate(document2, variables, cacheRule, optimisticData) {
9785
+ async mutate(document2, variables, cacheRule, options) {
9772
9786
  let rollback;
9787
+ const mutationOptions = isMutationOptions(options) ? options : { optimisticData: options };
9788
+ const optimisticData = mutationOptions.optimisticData;
9773
9789
  if (cacheRule && optimisticData) {
9774
9790
  rollback = await this._optimistic.applyOptimistic(cacheRule, optimisticData);
9791
+ try {
9792
+ mutationOptions.onOptimisticApplied?.();
9793
+ } catch {
9794
+ }
9775
9795
  }
9776
9796
  try {
9777
9797
  const data = await this._http.request(document2, variables);
@@ -10074,8 +10094,8 @@ var SyncEngine = class {
10074
10094
  * 3. **Commit** — normalize server response and write to Dexie (replacing optimistic data)
10075
10095
  * 4. **Rollback** (on error) — restore the original state in Dexie
10076
10096
  */
10077
- async mutate(document2, variables, cacheRule, optimisticData) {
10078
- const result = await this._mutationExecutor.mutate(document2, variables, cacheRule, optimisticData);
10097
+ async mutate(document2, variables, cacheRule, options) {
10098
+ const result = await this._mutationExecutor.mutate(document2, variables, cacheRule, options);
10079
10099
  if (cacheRule) {
10080
10100
  this._markEntityTypeTouched(cacheRule.entityType);
10081
10101
  }
@@ -10635,9 +10655,9 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10635
10655
  );
10636
10656
  return new DeferredDvinaQueryRef(innerPromise);
10637
10657
  };
10638
- lazy.mutate = async function(document2, variables, cacheRule, optimisticData) {
10658
+ lazy.mutate = async function(document2, variables, cacheRule, options) {
10639
10659
  const engine = await getEngine();
10640
- return engine.mutate(document2, variables, cacheRule, optimisticData);
10660
+ return engine.mutate(document2, variables, cacheRule, options);
10641
10661
  };
10642
10662
  lazy.startSync = async function() {
10643
10663
  const engine = await getEngine();
@@ -10693,7 +10713,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10693
10713
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10694
10714
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10695
10715
  async function uploadFile(request, getToken, file, name, options) {
10696
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-W25ZCFDS.js');
10716
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-DDOM6L4I.js');
10697
10717
  const key = `upload_${Date.now()}`;
10698
10718
  const response = await request(
10699
10719
  GenerateUploadUriDocument2,
@@ -12222,6 +12242,7 @@ var FeedArtifactData = class extends DvinaModel {
12222
12242
  artifactKind;
12223
12243
  fileId;
12224
12244
  fileName;
12245
+ thumbnailPublicId;
12225
12246
  fileType;
12226
12247
  kind;
12227
12248
  constructor(request, data, syncEngine, baseUrl) {
@@ -12229,6 +12250,7 @@ var FeedArtifactData = class extends DvinaModel {
12229
12250
  this.artifactKind = data.artifactKind ?? void 0;
12230
12251
  this.fileId = data.fileId ?? void 0;
12231
12252
  this.fileName = data.fileName ?? void 0;
12253
+ this.thumbnailPublicId = data.thumbnailPublicId ?? void 0;
12232
12254
  this.fileType = data.fileType ?? void 0;
12233
12255
  this.kind = data.kind;
12234
12256
  }
@@ -12247,12 +12269,14 @@ var FeedDatabaseData = class extends DvinaModel {
12247
12269
  var FeedDocumentData = class extends DvinaModel {
12248
12270
  fileId;
12249
12271
  fileName;
12272
+ thumbnailPublicId;
12250
12273
  fileType;
12251
12274
  kind;
12252
12275
  constructor(request, data, syncEngine, baseUrl) {
12253
12276
  super(request, syncEngine, baseUrl);
12254
12277
  this.fileId = data.fileId ?? void 0;
12255
12278
  this.fileName = data.fileName ?? void 0;
12279
+ this.thumbnailPublicId = data.thumbnailPublicId ?? void 0;
12256
12280
  this.fileType = data.fileType ?? void 0;
12257
12281
  this.kind = data.kind;
12258
12282
  }
@@ -12429,6 +12453,7 @@ var File = class extends DvinaModel {
12429
12453
  extension;
12430
12454
  size;
12431
12455
  mimeType;
12456
+ thumbnailPublicId;
12432
12457
  constructor(request, data, syncEngine, baseUrl) {
12433
12458
  super(request, syncEngine, baseUrl);
12434
12459
  this.id = data.id;
@@ -12439,6 +12464,7 @@ var File = class extends DvinaModel {
12439
12464
  this.extension = data.extension ?? void 0;
12440
12465
  this.size = data.size ?? void 0;
12441
12466
  this.mimeType = data.mimeType ?? void 0;
12467
+ this.thumbnailPublicId = data.thumbnailPublicId;
12442
12468
  }
12443
12469
  };
12444
12470
  var FileModel = class extends DvinaModel {
@@ -14097,7 +14123,7 @@ var ArtifactSubBuilder = class {
14097
14123
  fieldArguments: info.fieldArguments,
14098
14124
  syncMetadata: {
14099
14125
  entityType: "files",
14100
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
14126
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
14101
14127
  },
14102
14128
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
14103
14129
  });
@@ -14546,7 +14572,7 @@ var DocumentSubBuilder = class {
14546
14572
  fieldArguments: info.fieldArguments,
14547
14573
  syncMetadata: {
14548
14574
  entityType: "files",
14549
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
14575
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
14550
14576
  },
14551
14577
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
14552
14578
  });
@@ -14752,7 +14778,7 @@ var InsightSubBuilder = class {
14752
14778
  fieldArguments: info.fieldArguments,
14753
14779
  syncMetadata: {
14754
14780
  entityType: "files",
14755
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
14781
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
14756
14782
  },
14757
14783
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
14758
14784
  });
@@ -15072,529 +15098,529 @@ var TableSubBuilder = class {
15072
15098
  }
15073
15099
  };
15074
15100
  var AbortChatMutation = class extends Request {
15075
- async fetch(variables) {
15076
- const response = await this._syncEngine.mutate(AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
15101
+ async fetch(variables, options) {
15102
+ const response = await this._syncEngine.mutate(AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"], options);
15077
15103
  return response.abortChat;
15078
15104
  }
15079
15105
  };
15080
15106
  var AddInsightToReportMutation = class extends Request {
15081
15107
  async fetch(variables, options) {
15082
- const response = await this._syncEngine.mutate(AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
15108
+ const response = await this._syncEngine.mutate(AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"], options);
15083
15109
  const data = response.addInsightToReport;
15084
15110
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15085
15111
  }
15086
15112
  };
15087
15113
  var CancelOauthFlowMutation = class extends Request {
15088
- async fetch(variables) {
15089
- const response = await this._syncEngine.mutate(CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
15114
+ async fetch(variables, options) {
15115
+ const response = await this._syncEngine.mutate(CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"], options);
15090
15116
  return response.cancelOauthFlow;
15091
15117
  }
15092
15118
  };
15093
15119
  var CancelWorkspaceDeletionMutation = class extends Request {
15094
- async fetch(variables) {
15095
- const response = await this._syncEngine.mutate(CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
15120
+ async fetch(variables, options) {
15121
+ const response = await this._syncEngine.mutate(CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"], options);
15096
15122
  return response.cancelWorkspaceDeletion;
15097
15123
  }
15098
15124
  };
15099
15125
  var ConnectIntegrationMutation = class extends Request {
15100
15126
  async fetch(variables, options) {
15101
- const response = await this._syncEngine.mutate(ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
15127
+ const response = await this._syncEngine.mutate(ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"], options);
15102
15128
  const data = response.connectIntegration;
15103
15129
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
15104
15130
  }
15105
15131
  };
15106
15132
  var ConsumePulseEventsMutation = class extends Request {
15107
- async fetch(variables) {
15108
- const response = await this._syncEngine.mutate(ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
15133
+ async fetch(variables, options) {
15134
+ const response = await this._syncEngine.mutate(ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"], options);
15109
15135
  return response.consumePulseEvents;
15110
15136
  }
15111
15137
  };
15112
15138
  var ContinueImportedChatMutation = class extends Request {
15113
- async fetch(variables) {
15114
- const response = await this._syncEngine.mutate(ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
15139
+ async fetch(variables, options) {
15140
+ const response = await this._syncEngine.mutate(ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"], options);
15115
15141
  return response.continueImportedChat;
15116
15142
  }
15117
15143
  };
15118
15144
  var ContinueInterpretationMutation = class extends Request {
15119
- async fetch(variables) {
15120
- const response = await this._syncEngine.mutate(ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
15145
+ async fetch(variables, options) {
15146
+ const response = await this._syncEngine.mutate(ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"], options);
15121
15147
  return response.continueInterpretation;
15122
15148
  }
15123
15149
  };
15124
15150
  var CreateAgentMutation = class extends Request {
15125
15151
  async fetch(variables, options) {
15126
- const response = await this._syncEngine.mutate(CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
15152
+ const response = await this._syncEngine.mutate(CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"], options);
15127
15153
  const data = response.createAgent;
15128
15154
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
15129
15155
  }
15130
15156
  };
15131
15157
  var CreateChatMutation = class extends Request {
15132
15158
  async fetch(variables, options) {
15133
- const response = await this._syncEngine.mutate(CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
15159
+ const response = await this._syncEngine.mutate(CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"], options);
15134
15160
  const data = response.createChat;
15135
15161
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
15136
15162
  }
15137
15163
  };
15138
15164
  var CreateDatabaseMutation = class extends Request {
15139
15165
  async fetch(variables, options) {
15140
- const response = await this._syncEngine.mutate(CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
15166
+ const response = await this._syncEngine.mutate(CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"], options);
15141
15167
  const data = response.createDatabase;
15142
15168
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
15143
15169
  }
15144
15170
  };
15145
15171
  var CreateDocumentMutation = class extends Request {
15146
15172
  async fetch(variables, options) {
15147
- const response = await this._syncEngine.mutate(CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
15173
+ const response = await this._syncEngine.mutate(CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"], options);
15148
15174
  const data = response.createDocument;
15149
15175
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
15150
15176
  }
15151
15177
  };
15152
15178
  var CreateFeedbackMutation = class extends Request {
15153
15179
  async fetch(variables, options) {
15154
- const response = await this._syncEngine.mutate(CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
15180
+ const response = await this._syncEngine.mutate(CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"], options);
15155
15181
  const data = response.createFeedback;
15156
15182
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
15157
15183
  }
15158
15184
  };
15159
15185
  var CreateFolderMutation = class extends Request {
15160
15186
  async fetch(variables, options) {
15161
- const response = await this._syncEngine.mutate(CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
15187
+ const response = await this._syncEngine.mutate(CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"], options);
15162
15188
  const data = response.createFolder;
15163
15189
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
15164
15190
  }
15165
15191
  };
15166
15192
  var CreateInsightMutation = class extends Request {
15167
15193
  async fetch(variables, options) {
15168
- const response = await this._syncEngine.mutate(CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
15194
+ const response = await this._syncEngine.mutate(CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"], options);
15169
15195
  const data = response.createInsight;
15170
15196
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
15171
15197
  }
15172
15198
  };
15173
15199
  var CreateIntegrationMutation = class extends Request {
15174
15200
  async fetch(variables, options) {
15175
- const response = await this._syncEngine.mutate(CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
15201
+ const response = await this._syncEngine.mutate(CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"], options);
15176
15202
  const data = response.createIntegration;
15177
15203
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
15178
15204
  }
15179
15205
  };
15180
15206
  var CreateProjectMutation = class extends Request {
15181
15207
  async fetch(variables, options) {
15182
- const response = await this._syncEngine.mutate(CreateProjectDocument, variables, MUTATION_CACHE_RULES["createProject"]);
15208
+ const response = await this._syncEngine.mutate(CreateProjectDocument, variables, MUTATION_CACHE_RULES["createProject"], options);
15183
15209
  const data = response.createProject;
15184
15210
  return new Project(this._request, data, this._syncEngine, this._baseUrl);
15185
15211
  }
15186
15212
  };
15187
15213
  var CreateReportMutation = class extends Request {
15188
15214
  async fetch(variables, options) {
15189
- const response = await this._syncEngine.mutate(CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
15215
+ const response = await this._syncEngine.mutate(CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"], options);
15190
15216
  const data = response.createReport;
15191
15217
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15192
15218
  }
15193
15219
  };
15194
15220
  var CreateTableMutation = class extends Request {
15195
15221
  async fetch(variables, options) {
15196
- const response = await this._syncEngine.mutate(CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
15222
+ const response = await this._syncEngine.mutate(CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"], options);
15197
15223
  const data = response.createTable;
15198
15224
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
15199
15225
  }
15200
15226
  };
15201
15227
  var CreateUserSkillFileMutation = class extends Request {
15202
15228
  async fetch(variables, options) {
15203
- const response = await this._syncEngine.mutate(CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
15229
+ const response = await this._syncEngine.mutate(CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"], options);
15204
15230
  const data = response.createUserSkillFile;
15205
15231
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
15206
15232
  }
15207
15233
  };
15208
15234
  var CreateUserSkillFolderMutation = class extends Request {
15209
15235
  async fetch(variables, options) {
15210
- const response = await this._syncEngine.mutate(CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
15236
+ const response = await this._syncEngine.mutate(CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"], options);
15211
15237
  const data = response.createUserSkillFolder;
15212
15238
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
15213
15239
  }
15214
15240
  };
15215
15241
  var DeleteAgentMutation = class extends Request {
15216
15242
  async fetch(variables, options) {
15217
- const response = await this._syncEngine.mutate(DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
15243
+ const response = await this._syncEngine.mutate(DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"], options);
15218
15244
  const data = response.deleteAgent;
15219
15245
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
15220
15246
  }
15221
15247
  };
15222
15248
  var DeleteAiProviderSettingMutation = class extends Request {
15223
- async fetch(variables) {
15224
- const response = await this._syncEngine.mutate(DeleteAiProviderSettingDocument, variables, MUTATION_CACHE_RULES["deleteAiProviderSetting"]);
15249
+ async fetch(variables, options) {
15250
+ const response = await this._syncEngine.mutate(DeleteAiProviderSettingDocument, variables, MUTATION_CACHE_RULES["deleteAiProviderSetting"], options);
15225
15251
  return response.deleteAiProviderSetting;
15226
15252
  }
15227
15253
  };
15228
15254
  var DeleteArtifactMutation = class extends Request {
15229
15255
  async fetch(variables, options) {
15230
- const response = await this._syncEngine.mutate(DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
15256
+ const response = await this._syncEngine.mutate(DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"], options);
15231
15257
  const data = response.deleteArtifact;
15232
15258
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
15233
15259
  }
15234
15260
  };
15235
15261
  var DeleteChatMutation = class extends Request {
15236
15262
  async fetch(variables, options) {
15237
- const response = await this._syncEngine.mutate(DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
15263
+ const response = await this._syncEngine.mutate(DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"], options);
15238
15264
  const data = response.deleteChat;
15239
15265
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
15240
15266
  }
15241
15267
  };
15242
15268
  var DeleteDatabaseMutation = class extends Request {
15243
15269
  async fetch(variables, options) {
15244
- const response = await this._syncEngine.mutate(DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
15270
+ const response = await this._syncEngine.mutate(DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"], options);
15245
15271
  const data = response.deleteDatabase;
15246
15272
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
15247
15273
  }
15248
15274
  };
15249
15275
  var DeleteDocumentMutation = class extends Request {
15250
15276
  async fetch(variables, options) {
15251
- const response = await this._syncEngine.mutate(DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
15277
+ const response = await this._syncEngine.mutate(DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"], options);
15252
15278
  const data = response.deleteDocument;
15253
15279
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
15254
15280
  }
15255
15281
  };
15256
15282
  var DeleteFolderMutation = class extends Request {
15257
15283
  async fetch(variables, options) {
15258
- const response = await this._syncEngine.mutate(DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
15284
+ const response = await this._syncEngine.mutate(DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"], options);
15259
15285
  const data = response.deleteFolder;
15260
15286
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
15261
15287
  }
15262
15288
  };
15263
15289
  var DeleteInsightMutation = class extends Request {
15264
15290
  async fetch(variables, options) {
15265
- const response = await this._syncEngine.mutate(DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
15291
+ const response = await this._syncEngine.mutate(DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"], options);
15266
15292
  const data = response.deleteInsight;
15267
15293
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
15268
15294
  }
15269
15295
  };
15270
15296
  var DeleteInsightsMutation = class extends Request {
15271
15297
  async fetch(variables, options) {
15272
- const response = await this._syncEngine.mutate(DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
15298
+ const response = await this._syncEngine.mutate(DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"], options);
15273
15299
  const data = response.deleteInsights;
15274
15300
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
15275
15301
  }
15276
15302
  };
15277
15303
  var DeleteIntegrationMutation = class extends Request {
15278
- async fetch(variables) {
15279
- const response = await this._syncEngine.mutate(DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
15304
+ async fetch(variables, options) {
15305
+ const response = await this._syncEngine.mutate(DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"], options);
15280
15306
  return response.deleteIntegration;
15281
15307
  }
15282
15308
  };
15283
15309
  var DeleteProjectMutation = class extends Request {
15284
15310
  async fetch(variables, options) {
15285
- const response = await this._syncEngine.mutate(DeleteProjectDocument, variables, MUTATION_CACHE_RULES["deleteProject"]);
15311
+ const response = await this._syncEngine.mutate(DeleteProjectDocument, variables, MUTATION_CACHE_RULES["deleteProject"], options);
15286
15312
  const data = response.deleteProject;
15287
15313
  return new Project(this._request, data, this._syncEngine, this._baseUrl);
15288
15314
  }
15289
15315
  };
15290
15316
  var DeleteReportMutation = class extends Request {
15291
15317
  async fetch(variables, options) {
15292
- const response = await this._syncEngine.mutate(DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
15318
+ const response = await this._syncEngine.mutate(DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"], options);
15293
15319
  const data = response.deleteReport;
15294
15320
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15295
15321
  }
15296
15322
  };
15297
15323
  var DeleteSavedAiProviderModelMutation = class extends Request {
15298
- async fetch(variables) {
15299
- const response = await this._syncEngine.mutate(DeleteSavedAiProviderModelDocument, variables, MUTATION_CACHE_RULES["deleteSavedAiProviderModel"]);
15324
+ async fetch(variables, options) {
15325
+ const response = await this._syncEngine.mutate(DeleteSavedAiProviderModelDocument, variables, MUTATION_CACHE_RULES["deleteSavedAiProviderModel"], options);
15300
15326
  return response.deleteSavedAiProviderModel;
15301
15327
  }
15302
15328
  };
15303
15329
  var DeleteTableMutation = class extends Request {
15304
15330
  async fetch(variables, options) {
15305
- const response = await this._syncEngine.mutate(DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
15331
+ const response = await this._syncEngine.mutate(DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"], options);
15306
15332
  const data = response.deleteTable;
15307
15333
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
15308
15334
  }
15309
15335
  };
15310
15336
  var DeleteUserSkillFileMutation = class extends Request {
15311
15337
  async fetch(variables, options) {
15312
- const response = await this._syncEngine.mutate(DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
15338
+ const response = await this._syncEngine.mutate(DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"], options);
15313
15339
  const data = response.deleteUserSkillFile;
15314
15340
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
15315
15341
  }
15316
15342
  };
15317
15343
  var DeleteUserSkillFolderMutation = class extends Request {
15318
15344
  async fetch(variables, options) {
15319
- const response = await this._syncEngine.mutate(DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
15345
+ const response = await this._syncEngine.mutate(DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"], options);
15320
15346
  const data = response.deleteUserSkillFolder;
15321
15347
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
15322
15348
  }
15323
15349
  };
15324
15350
  var DisconnectIntegrationMutation = class extends Request {
15325
- async fetch(variables) {
15326
- const response = await this._syncEngine.mutate(DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
15351
+ async fetch(variables, options) {
15352
+ const response = await this._syncEngine.mutate(DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"], options);
15327
15353
  return response.disconnectIntegration;
15328
15354
  }
15329
15355
  };
15330
15356
  var DismissPulseEventMutation = class extends Request {
15331
15357
  async fetch(variables, options) {
15332
- const response = await this._syncEngine.mutate(DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
15358
+ const response = await this._syncEngine.mutate(DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"], options);
15333
15359
  const data = response.dismissPulseEvent;
15334
15360
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
15335
15361
  }
15336
15362
  };
15337
15363
  var ExecuteChatImportMutation = class extends Request {
15338
15364
  async fetch(variables, options) {
15339
- const response = await this._syncEngine.mutate(ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
15365
+ const response = await this._syncEngine.mutate(ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"], options);
15340
15366
  const data = response.executeChatImport;
15341
15367
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
15342
15368
  }
15343
15369
  };
15344
15370
  var GenerateUploadUriMutation = class extends Request {
15345
15371
  async fetch(variables, options) {
15346
- const response = await this._syncEngine.mutate(GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
15372
+ const response = await this._syncEngine.mutate(GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"], options);
15347
15373
  const data = response.generateUploadUri;
15348
15374
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
15349
15375
  }
15350
15376
  };
15351
15377
  var MigrateLegacyCodeChatsMutation = class extends Request {
15352
15378
  async fetch(variables, options) {
15353
- const response = await this._syncEngine.mutate(MigrateLegacyCodeChatsDocument, variables, MUTATION_CACHE_RULES["migrateLegacyCodeChats"]);
15379
+ const response = await this._syncEngine.mutate(MigrateLegacyCodeChatsDocument, variables, MUTATION_CACHE_RULES["migrateLegacyCodeChats"], options);
15354
15380
  const data = response.migrateLegacyCodeChats;
15355
15381
  return new LegacyCodeMigrationOutput(this._request, data, this._syncEngine, this._baseUrl);
15356
15382
  }
15357
15383
  };
15358
15384
  var PreviewChatImportMutation = class extends Request {
15359
15385
  async fetch(variables, options) {
15360
- const response = await this._syncEngine.mutate(PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
15386
+ const response = await this._syncEngine.mutate(PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"], options);
15361
15387
  const data = response.previewChatImport;
15362
15388
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
15363
15389
  }
15364
15390
  };
15365
15391
  var ReanalyzeDocumentMutation = class extends Request {
15366
15392
  async fetch(variables, options) {
15367
- const response = await this._syncEngine.mutate(ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
15393
+ const response = await this._syncEngine.mutate(ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"], options);
15368
15394
  const data = response.reanalyzeDocument;
15369
15395
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
15370
15396
  }
15371
15397
  };
15372
15398
  var RefineAgentInstructionMutation = class extends Request {
15373
- async fetch(variables) {
15374
- const response = await this._syncEngine.mutate(RefineAgentInstructionDocument, variables, MUTATION_CACHE_RULES["refineAgentInstruction"]);
15399
+ async fetch(variables, options) {
15400
+ const response = await this._syncEngine.mutate(RefineAgentInstructionDocument, variables, MUTATION_CACHE_RULES["refineAgentInstruction"], options);
15375
15401
  return response.refineAgentInstruction;
15376
15402
  }
15377
15403
  };
15378
15404
  var RefineSkillInstructionMutation = class extends Request {
15379
- async fetch(variables) {
15380
- const response = await this._syncEngine.mutate(RefineSkillInstructionDocument, variables, MUTATION_CACHE_RULES["refineSkillInstruction"]);
15405
+ async fetch(variables, options) {
15406
+ const response = await this._syncEngine.mutate(RefineSkillInstructionDocument, variables, MUTATION_CACHE_RULES["refineSkillInstruction"], options);
15381
15407
  return response.refineSkillInstruction;
15382
15408
  }
15383
15409
  };
15384
15410
  var RefreshDatabaseSchemaMutation = class extends Request {
15385
- async fetch(variables) {
15386
- const response = await this._syncEngine.mutate(RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
15411
+ async fetch(variables, options) {
15412
+ const response = await this._syncEngine.mutate(RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"], options);
15387
15413
  return response.refreshDatabaseSchema;
15388
15414
  }
15389
15415
  };
15390
15416
  var RefreshInsightMutation = class extends Request {
15391
15417
  async fetch(variables, options) {
15392
- const response = await this._syncEngine.mutate(RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
15418
+ const response = await this._syncEngine.mutate(RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"], options);
15393
15419
  const data = response.refreshInsight;
15394
15420
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
15395
15421
  }
15396
15422
  };
15397
15423
  var RegisterDesktopDeviceMutation = class extends Request {
15398
15424
  async fetch(variables, options) {
15399
- const response = await this._syncEngine.mutate(RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"]);
15425
+ const response = await this._syncEngine.mutate(RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"], options);
15400
15426
  const data = response.registerDesktopDevice;
15401
15427
  return new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl);
15402
15428
  }
15403
15429
  };
15404
15430
  var ReinterpretSourceMutation = class extends Request {
15405
- async fetch(variables) {
15406
- const response = await this._syncEngine.mutate(ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
15431
+ async fetch(variables, options) {
15432
+ const response = await this._syncEngine.mutate(ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"], options);
15407
15433
  return response.reinterpretSource;
15408
15434
  }
15409
15435
  };
15410
15436
  var ReinterpretSourcesOfuserMutation = class extends Request {
15411
- async fetch(variables) {
15412
- const response = await this._syncEngine.mutate(ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
15437
+ async fetch(variables, options) {
15438
+ const response = await this._syncEngine.mutate(ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"], options);
15413
15439
  return response.reinterpretSourcesOfuser;
15414
15440
  }
15415
15441
  };
15416
15442
  var RelocateInsightMutation = class extends Request {
15417
15443
  async fetch(variables, options) {
15418
- const response = await this._syncEngine.mutate(RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
15444
+ const response = await this._syncEngine.mutate(RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"], options);
15419
15445
  const data = response.relocateInsight;
15420
15446
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15421
15447
  }
15422
15448
  };
15423
15449
  var RemoveInsightFromReportMutation = class extends Request {
15424
15450
  async fetch(variables, options) {
15425
- const response = await this._syncEngine.mutate(RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
15451
+ const response = await this._syncEngine.mutate(RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"], options);
15426
15452
  const data = response.removeInsightFromReport;
15427
15453
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15428
15454
  }
15429
15455
  };
15430
15456
  var ResetWorkspaceMutation = class extends Request {
15431
- async fetch(variables) {
15432
- const response = await this._syncEngine.mutate(ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
15457
+ async fetch(variables, options) {
15458
+ const response = await this._syncEngine.mutate(ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"], options);
15433
15459
  return response.resetWorkspace;
15434
15460
  }
15435
15461
  };
15436
15462
  var ResolvePulseEventMutation = class extends Request {
15437
15463
  async fetch(variables, options) {
15438
- const response = await this._syncEngine.mutate(ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
15464
+ const response = await this._syncEngine.mutate(ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"], options);
15439
15465
  const data = response.resolvePulseEvent;
15440
15466
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
15441
15467
  }
15442
15468
  };
15443
15469
  var ScheduleWorkspaceDeletionMutation = class extends Request {
15444
15470
  async fetch(variables, options) {
15445
- const response = await this._syncEngine.mutate(ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
15471
+ const response = await this._syncEngine.mutate(ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"], options);
15446
15472
  const data = response.scheduleWorkspaceDeletion;
15447
15473
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
15448
15474
  }
15449
15475
  };
15450
15476
  var SendMessageMutation = class extends Request {
15451
15477
  async fetch(variables, options) {
15452
- const response = await this._syncEngine.mutate(SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
15478
+ const response = await this._syncEngine.mutate(SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"], options);
15453
15479
  const data = response.sendMessage;
15454
15480
  return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
15455
15481
  }
15456
15482
  };
15457
15483
  var SetDatabasePrimaryKeyMutation = class extends Request {
15458
- async fetch(variables) {
15459
- const response = await this._syncEngine.mutate(SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
15484
+ async fetch(variables, options) {
15485
+ const response = await this._syncEngine.mutate(SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"], options);
15460
15486
  return response.setDatabasePrimaryKey;
15461
15487
  }
15462
15488
  };
15463
15489
  var SyncProjectDesktopBindingMutation = class extends Request {
15464
15490
  async fetch(variables, options) {
15465
- const response = await this._syncEngine.mutate(SyncProjectDesktopBindingDocument, variables, MUTATION_CACHE_RULES["syncProjectDesktopBinding"]);
15491
+ const response = await this._syncEngine.mutate(SyncProjectDesktopBindingDocument, variables, MUTATION_CACHE_RULES["syncProjectDesktopBinding"], options);
15466
15492
  const data = response.syncProjectDesktopBinding;
15467
15493
  return new Project(this._request, data, this._syncEngine, this._baseUrl);
15468
15494
  }
15469
15495
  };
15470
15496
  var UpdateAgentMutation = class extends Request {
15471
15497
  async fetch(variables, options) {
15472
- const response = await this._syncEngine.mutate(UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
15498
+ const response = await this._syncEngine.mutate(UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"], options);
15473
15499
  const data = response.updateAgent;
15474
15500
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
15475
15501
  }
15476
15502
  };
15477
15503
  var UpdateArtifactNameMutation = class extends Request {
15478
15504
  async fetch(variables, options) {
15479
- const response = await this._syncEngine.mutate(UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
15505
+ const response = await this._syncEngine.mutate(UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"], options);
15480
15506
  const data = response.updateArtifactName;
15481
15507
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
15482
15508
  }
15483
15509
  };
15484
15510
  var UpdateChatMutation = class extends Request {
15485
15511
  async fetch(variables, options) {
15486
- const response = await this._syncEngine.mutate(UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
15512
+ const response = await this._syncEngine.mutate(UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"], options);
15487
15513
  const data = response.updateChat;
15488
15514
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
15489
15515
  }
15490
15516
  };
15491
15517
  var UpdateDatabaseMutation = class extends Request {
15492
15518
  async fetch(variables, options) {
15493
- const response = await this._syncEngine.mutate(UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
15519
+ const response = await this._syncEngine.mutate(UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"], options);
15494
15520
  const data = response.updateDatabase;
15495
15521
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
15496
15522
  }
15497
15523
  };
15498
15524
  var UpdateDocumentMutation = class extends Request {
15499
15525
  async fetch(variables, options) {
15500
- const response = await this._syncEngine.mutate(UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
15526
+ const response = await this._syncEngine.mutate(UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"], options);
15501
15527
  const data = response.updateDocument;
15502
15528
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
15503
15529
  }
15504
15530
  };
15505
15531
  var UpdateFolderMutation = class extends Request {
15506
15532
  async fetch(variables, options) {
15507
- const response = await this._syncEngine.mutate(UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
15533
+ const response = await this._syncEngine.mutate(UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"], options);
15508
15534
  const data = response.updateFolder;
15509
15535
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
15510
15536
  }
15511
15537
  };
15512
15538
  var UpdateInsightMutation = class extends Request {
15513
15539
  async fetch(variables, options) {
15514
- const response = await this._syncEngine.mutate(UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
15540
+ const response = await this._syncEngine.mutate(UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"], options);
15515
15541
  const data = response.updateInsight;
15516
15542
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
15517
15543
  }
15518
15544
  };
15519
15545
  var UpdateInsightInReportMutation = class extends Request {
15520
15546
  async fetch(variables, options) {
15521
- const response = await this._syncEngine.mutate(UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
15547
+ const response = await this._syncEngine.mutate(UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"], options);
15522
15548
  const data = response.updateInsightInReport;
15523
15549
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15524
15550
  }
15525
15551
  };
15526
15552
  var UpdateInsightThumbnailMutation = class extends Request {
15527
- async fetch(variables) {
15528
- const response = await this._syncEngine.mutate(UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
15553
+ async fetch(variables, options) {
15554
+ const response = await this._syncEngine.mutate(UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"], options);
15529
15555
  return response.updateInsightThumbnail;
15530
15556
  }
15531
15557
  };
15532
15558
  var UpdateInterpMutation = class extends Request {
15533
15559
  async fetch(variables, options) {
15534
- const response = await this._syncEngine.mutate(UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
15560
+ const response = await this._syncEngine.mutate(UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"], options);
15535
15561
  const data = response.updateInterp;
15536
15562
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
15537
15563
  }
15538
15564
  };
15539
15565
  var UpdateLiveContextMutation = class extends Request {
15540
15566
  async fetch(variables, options) {
15541
- const response = await this._syncEngine.mutate(UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
15567
+ const response = await this._syncEngine.mutate(UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"], options);
15542
15568
  const data = response.updateLiveContext;
15543
15569
  return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
15544
15570
  }
15545
15571
  };
15546
15572
  var UpdateProjectMutation = class extends Request {
15547
15573
  async fetch(variables, options) {
15548
- const response = await this._syncEngine.mutate(UpdateProjectDocument, variables, MUTATION_CACHE_RULES["updateProject"]);
15574
+ const response = await this._syncEngine.mutate(UpdateProjectDocument, variables, MUTATION_CACHE_RULES["updateProject"], options);
15549
15575
  const data = response.updateProject;
15550
15576
  return new Project(this._request, data, this._syncEngine, this._baseUrl);
15551
15577
  }
15552
15578
  };
15553
15579
  var UpdatePulseTriggerMutation = class extends Request {
15554
15580
  async fetch(variables, options) {
15555
- const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
15581
+ const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"], options);
15556
15582
  const data = response.updatePulseTrigger;
15557
15583
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
15558
15584
  }
15559
15585
  };
15560
15586
  var UpdateReportMutation = class extends Request {
15561
15587
  async fetch(variables, options) {
15562
- const response = await this._syncEngine.mutate(UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
15588
+ const response = await this._syncEngine.mutate(UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"], options);
15563
15589
  const data = response.updateReport;
15564
15590
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
15565
15591
  }
15566
15592
  };
15567
15593
  var UpdateTableMutation = class extends Request {
15568
15594
  async fetch(variables, options) {
15569
- const response = await this._syncEngine.mutate(UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
15595
+ const response = await this._syncEngine.mutate(UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"], options);
15570
15596
  const data = response.updateTable;
15571
15597
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
15572
15598
  }
15573
15599
  };
15574
15600
  var UpdateUserSkillFileMutation = class extends Request {
15575
15601
  async fetch(variables, options) {
15576
- const response = await this._syncEngine.mutate(UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
15602
+ const response = await this._syncEngine.mutate(UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"], options);
15577
15603
  const data = response.updateUserSkillFile;
15578
15604
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
15579
15605
  }
15580
15606
  };
15581
15607
  var UpdateUserSkillFolderMutation = class extends Request {
15582
15608
  async fetch(variables, options) {
15583
- const response = await this._syncEngine.mutate(UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
15609
+ const response = await this._syncEngine.mutate(UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"], options);
15584
15610
  const data = response.updateUserSkillFolder;
15585
15611
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
15586
15612
  }
15587
15613
  };
15588
15614
  var UpsertAiProviderSettingMutation = class extends Request {
15589
15615
  async fetch(variables, options) {
15590
- const response = await this._syncEngine.mutate(UpsertAiProviderSettingDocument, variables, MUTATION_CACHE_RULES["upsertAiProviderSetting"]);
15616
+ const response = await this._syncEngine.mutate(UpsertAiProviderSettingDocument, variables, MUTATION_CACHE_RULES["upsertAiProviderSetting"], options);
15591
15617
  const data = response.upsertAiProviderSetting;
15592
15618
  return new UserAiProviderSetting(this._request, data, this._syncEngine, this._baseUrl);
15593
15619
  }
15594
15620
  };
15595
15621
  var UpsertWorkspaceAiModelMutation = class extends Request {
15596
- async fetch(variables) {
15597
- const response = await this._syncEngine.mutate(UpsertWorkspaceAiModelDocument, variables, MUTATION_CACHE_RULES["upsertWorkspaceAiModel"]);
15622
+ async fetch(variables, options) {
15623
+ const response = await this._syncEngine.mutate(UpsertWorkspaceAiModelDocument, variables, MUTATION_CACHE_RULES["upsertWorkspaceAiModel"], options);
15598
15624
  return response.upsertWorkspaceAiModel;
15599
15625
  }
15600
15626
  };
@@ -15947,7 +15973,7 @@ var ArtifactQuery = class extends Request {
15947
15973
  fieldArguments: info.fieldArguments,
15948
15974
  syncMetadata: {
15949
15975
  entityType: "files",
15950
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
15976
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
15951
15977
  },
15952
15978
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
15953
15979
  });
@@ -16338,7 +16364,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends Request {
16338
16364
  fieldArguments: info.fieldArguments,
16339
16365
  syncMetadata: {
16340
16366
  entityType: "files",
16341
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
16367
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
16342
16368
  },
16343
16369
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
16344
16370
  });
@@ -18435,7 +18461,7 @@ var DocumentQuery = class extends Request {
18435
18461
  fieldArguments: info.fieldArguments,
18436
18462
  syncMetadata: {
18437
18463
  entityType: "files",
18438
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
18464
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
18439
18465
  },
18440
18466
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
18441
18467
  });
@@ -18912,7 +18938,7 @@ var DocumentsQuery = class _DocumentsQuery extends Request {
18912
18938
  fieldArguments: info.fieldArguments,
18913
18939
  syncMetadata: {
18914
18940
  entityType: "files",
18915
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
18941
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
18916
18942
  },
18917
18943
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
18918
18944
  });
@@ -19868,7 +19894,7 @@ var InsightQuery = class extends Request {
19868
19894
  fieldArguments: info.fieldArguments,
19869
19895
  syncMetadata: {
19870
19896
  entityType: "files",
19871
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
19897
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
19872
19898
  },
19873
19899
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
19874
19900
  });
@@ -20197,7 +20223,7 @@ var InsightsQuery = class _InsightsQuery extends Request {
20197
20223
  fieldArguments: info.fieldArguments,
20198
20224
  syncMetadata: {
20199
20225
  entityType: "files",
20200
- requiredFields: ["id", "createdAt", "updatedAt", "path"]
20226
+ requiredFields: ["id", "createdAt", "updatedAt", "path", "thumbnailPublicId"]
20201
20227
  },
20202
20228
  modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
20203
20229
  });
@@ -22742,316 +22768,316 @@ var DvinaSdk = class extends Request {
22742
22768
  this.billing = billing;
22743
22769
  }
22744
22770
  /** Mutation: abortChat (scalar) */
22745
- abortChat(variables) {
22746
- return new AbortChatMutation(this._request, this._syncEngine).fetch(variables);
22771
+ abortChat(variables, options) {
22772
+ return new AbortChatMutation(this._request, this._syncEngine).fetch(variables, options);
22747
22773
  }
22748
22774
  /** Mutation: addInsightToReport */
22749
- addInsightToReport(variables) {
22750
- return new AddInsightToReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22775
+ addInsightToReport(variables, options) {
22776
+ return new AddInsightToReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22751
22777
  }
22752
22778
  /** Mutation: cancelOauthFlow (scalar) */
22753
- cancelOauthFlow(variables) {
22754
- return new CancelOauthFlowMutation(this._request, this._syncEngine).fetch(variables);
22779
+ cancelOauthFlow(variables, options) {
22780
+ return new CancelOauthFlowMutation(this._request, this._syncEngine).fetch(variables, options);
22755
22781
  }
22756
22782
  /** Mutation: cancelWorkspaceDeletion (scalar) */
22757
- cancelWorkspaceDeletion() {
22758
- return new CancelWorkspaceDeletionMutation(this._request, this._syncEngine).fetch(void 0);
22783
+ cancelWorkspaceDeletion(options) {
22784
+ return new CancelWorkspaceDeletionMutation(this._request, this._syncEngine).fetch(void 0, options);
22759
22785
  }
22760
22786
  /** Mutation: connectIntegration */
22761
- connectIntegration(variables) {
22762
- return new ConnectIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22787
+ connectIntegration(variables, options) {
22788
+ return new ConnectIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22763
22789
  }
22764
22790
  /** Mutation: consumePulseEvents (scalar) */
22765
- consumePulseEvents(variables) {
22766
- return new ConsumePulseEventsMutation(this._request, this._syncEngine).fetch(variables);
22791
+ consumePulseEvents(variables, options) {
22792
+ return new ConsumePulseEventsMutation(this._request, this._syncEngine).fetch(variables, options);
22767
22793
  }
22768
22794
  /** Mutation: continueImportedChat (scalar) */
22769
- continueImportedChat(variables) {
22770
- return new ContinueImportedChatMutation(this._request, this._syncEngine).fetch(variables);
22795
+ continueImportedChat(variables, options) {
22796
+ return new ContinueImportedChatMutation(this._request, this._syncEngine).fetch(variables, options);
22771
22797
  }
22772
22798
  /** Mutation: continueInterpretation (scalar) */
22773
- continueInterpretation(variables) {
22774
- return new ContinueInterpretationMutation(this._request, this._syncEngine).fetch(variables);
22799
+ continueInterpretation(variables, options) {
22800
+ return new ContinueInterpretationMutation(this._request, this._syncEngine).fetch(variables, options);
22775
22801
  }
22776
22802
  /** Mutation: createAgent */
22777
- createAgent(variables) {
22778
- return new CreateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22803
+ createAgent(variables, options) {
22804
+ return new CreateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22779
22805
  }
22780
22806
  /** Mutation: createChat */
22781
- createChat(variables) {
22782
- return new CreateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22807
+ createChat(variables, options) {
22808
+ return new CreateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22783
22809
  }
22784
22810
  /** Mutation: createDatabase */
22785
- createDatabase(variables) {
22786
- return new CreateDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22811
+ createDatabase(variables, options) {
22812
+ return new CreateDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22787
22813
  }
22788
22814
  /** Mutation: createDocument */
22789
- createDocument(variables) {
22790
- return new CreateDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22815
+ createDocument(variables, options) {
22816
+ return new CreateDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22791
22817
  }
22792
22818
  /** Mutation: createFeedback */
22793
- createFeedback(variables) {
22794
- return new CreateFeedbackMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22819
+ createFeedback(variables, options) {
22820
+ return new CreateFeedbackMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22795
22821
  }
22796
22822
  /** Mutation: createFolder */
22797
- createFolder(variables) {
22798
- return new CreateFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22823
+ createFolder(variables, options) {
22824
+ return new CreateFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22799
22825
  }
22800
22826
  /** Mutation: createInsight */
22801
- createInsight(variables) {
22802
- return new CreateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22827
+ createInsight(variables, options) {
22828
+ return new CreateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22803
22829
  }
22804
22830
  /** Mutation: createIntegration */
22805
- createIntegration(variables) {
22806
- return new CreateIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22831
+ createIntegration(variables, options) {
22832
+ return new CreateIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22807
22833
  }
22808
22834
  /** Mutation: createProject */
22809
- createProject(variables) {
22810
- return new CreateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22835
+ createProject(variables, options) {
22836
+ return new CreateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22811
22837
  }
22812
22838
  /** Mutation: createReport */
22813
- createReport(variables) {
22814
- return new CreateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22839
+ createReport(variables, options) {
22840
+ return new CreateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22815
22841
  }
22816
22842
  /** Mutation: createTable */
22817
- createTable(variables) {
22818
- return new CreateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22843
+ createTable(variables, options) {
22844
+ return new CreateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22819
22845
  }
22820
22846
  /** Mutation: createUserSkillFile */
22821
- createUserSkillFile(variables) {
22822
- return new CreateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22847
+ createUserSkillFile(variables, options) {
22848
+ return new CreateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22823
22849
  }
22824
22850
  /** Mutation: createUserSkillFolder */
22825
- createUserSkillFolder(variables) {
22826
- return new CreateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22851
+ createUserSkillFolder(variables, options) {
22852
+ return new CreateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22827
22853
  }
22828
22854
  /** Mutation: deleteAgent */
22829
- deleteAgent(variables) {
22830
- return new DeleteAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22855
+ deleteAgent(variables, options) {
22856
+ return new DeleteAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22831
22857
  }
22832
22858
  /** Mutation: deleteAiProviderSetting (scalar) */
22833
- deleteAiProviderSetting(variables) {
22834
- return new DeleteAiProviderSettingMutation(this._request, this._syncEngine).fetch(variables);
22859
+ deleteAiProviderSetting(variables, options) {
22860
+ return new DeleteAiProviderSettingMutation(this._request, this._syncEngine).fetch(variables, options);
22835
22861
  }
22836
22862
  /** Mutation: deleteArtifact */
22837
- deleteArtifact(variables) {
22838
- return new DeleteArtifactMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22863
+ deleteArtifact(variables, options) {
22864
+ return new DeleteArtifactMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22839
22865
  }
22840
22866
  /** Mutation: deleteChat */
22841
- deleteChat(variables) {
22842
- return new DeleteChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22867
+ deleteChat(variables, options) {
22868
+ return new DeleteChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22843
22869
  }
22844
22870
  /** Mutation: deleteDatabase */
22845
- deleteDatabase(variables) {
22846
- return new DeleteDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22871
+ deleteDatabase(variables, options) {
22872
+ return new DeleteDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22847
22873
  }
22848
22874
  /** Mutation: deleteDocument */
22849
- deleteDocument(variables) {
22850
- return new DeleteDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22875
+ deleteDocument(variables, options) {
22876
+ return new DeleteDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22851
22877
  }
22852
22878
  /** Mutation: deleteFolder */
22853
- deleteFolder(variables) {
22854
- return new DeleteFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22879
+ deleteFolder(variables, options) {
22880
+ return new DeleteFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22855
22881
  }
22856
22882
  /** Mutation: deleteInsight */
22857
- deleteInsight(variables) {
22858
- return new DeleteInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22883
+ deleteInsight(variables, options) {
22884
+ return new DeleteInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22859
22885
  }
22860
22886
  /** Mutation: deleteInsights */
22861
- deleteInsights(variables) {
22862
- return new DeleteInsightsMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22887
+ deleteInsights(variables, options) {
22888
+ return new DeleteInsightsMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22863
22889
  }
22864
22890
  /** Mutation: deleteIntegration (scalar) */
22865
- deleteIntegration(variables) {
22866
- return new DeleteIntegrationMutation(this._request, this._syncEngine).fetch(variables);
22891
+ deleteIntegration(variables, options) {
22892
+ return new DeleteIntegrationMutation(this._request, this._syncEngine).fetch(variables, options);
22867
22893
  }
22868
22894
  /** Mutation: deleteProject */
22869
- deleteProject(variables) {
22870
- return new DeleteProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22895
+ deleteProject(variables, options) {
22896
+ return new DeleteProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22871
22897
  }
22872
22898
  /** Mutation: deleteReport */
22873
- deleteReport(variables) {
22874
- return new DeleteReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22899
+ deleteReport(variables, options) {
22900
+ return new DeleteReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22875
22901
  }
22876
22902
  /** Mutation: deleteSavedAiProviderModel (scalar) */
22877
- deleteSavedAiProviderModel(variables) {
22878
- return new DeleteSavedAiProviderModelMutation(this._request, this._syncEngine).fetch(variables);
22903
+ deleteSavedAiProviderModel(variables, options) {
22904
+ return new DeleteSavedAiProviderModelMutation(this._request, this._syncEngine).fetch(variables, options);
22879
22905
  }
22880
22906
  /** Mutation: deleteTable */
22881
- deleteTable(variables) {
22882
- return new DeleteTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22907
+ deleteTable(variables, options) {
22908
+ return new DeleteTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22883
22909
  }
22884
22910
  /** Mutation: deleteUserSkillFile */
22885
- deleteUserSkillFile(variables) {
22886
- return new DeleteUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22911
+ deleteUserSkillFile(variables, options) {
22912
+ return new DeleteUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22887
22913
  }
22888
22914
  /** Mutation: deleteUserSkillFolder */
22889
- deleteUserSkillFolder(variables) {
22890
- return new DeleteUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22915
+ deleteUserSkillFolder(variables, options) {
22916
+ return new DeleteUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22891
22917
  }
22892
22918
  /** Mutation: disconnectIntegration (scalar) */
22893
- disconnectIntegration(variables) {
22894
- return new DisconnectIntegrationMutation(this._request, this._syncEngine).fetch(variables);
22919
+ disconnectIntegration(variables, options) {
22920
+ return new DisconnectIntegrationMutation(this._request, this._syncEngine).fetch(variables, options);
22895
22921
  }
22896
22922
  /** Mutation: dismissPulseEvent */
22897
- dismissPulseEvent(variables) {
22898
- return new DismissPulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22923
+ dismissPulseEvent(variables, options) {
22924
+ return new DismissPulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22899
22925
  }
22900
22926
  /** Mutation: executeChatImport */
22901
- executeChatImport(variables) {
22902
- return new ExecuteChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22927
+ executeChatImport(variables, options) {
22928
+ return new ExecuteChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22903
22929
  }
22904
22930
  /** Mutation: generateUploadUri */
22905
- generateUploadUri(variables) {
22906
- return new GenerateUploadUriMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22931
+ generateUploadUri(variables, options) {
22932
+ return new GenerateUploadUriMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22907
22933
  }
22908
22934
  /** Mutation: migrateLegacyCodeChats */
22909
- migrateLegacyCodeChats(variables) {
22910
- return new MigrateLegacyCodeChatsMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22935
+ migrateLegacyCodeChats(variables, options) {
22936
+ return new MigrateLegacyCodeChatsMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22911
22937
  }
22912
22938
  /** Mutation: previewChatImport */
22913
- previewChatImport(variables) {
22914
- return new PreviewChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22939
+ previewChatImport(variables, options) {
22940
+ return new PreviewChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22915
22941
  }
22916
22942
  /** Mutation: reanalyzeDocument */
22917
- reanalyzeDocument(variables) {
22918
- return new ReanalyzeDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22943
+ reanalyzeDocument(variables, options) {
22944
+ return new ReanalyzeDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22919
22945
  }
22920
22946
  /** Mutation: refineAgentInstruction (scalar) */
22921
- refineAgentInstruction(variables) {
22922
- return new RefineAgentInstructionMutation(this._request, this._syncEngine).fetch(variables);
22947
+ refineAgentInstruction(variables, options) {
22948
+ return new RefineAgentInstructionMutation(this._request, this._syncEngine).fetch(variables, options);
22923
22949
  }
22924
22950
  /** Mutation: refineSkillInstruction (scalar) */
22925
- refineSkillInstruction(variables) {
22926
- return new RefineSkillInstructionMutation(this._request, this._syncEngine).fetch(variables);
22951
+ refineSkillInstruction(variables, options) {
22952
+ return new RefineSkillInstructionMutation(this._request, this._syncEngine).fetch(variables, options);
22927
22953
  }
22928
22954
  /** Mutation: refreshDatabaseSchema (scalar) */
22929
- refreshDatabaseSchema(variables) {
22930
- return new RefreshDatabaseSchemaMutation(this._request, this._syncEngine).fetch(variables);
22955
+ refreshDatabaseSchema(variables, options) {
22956
+ return new RefreshDatabaseSchemaMutation(this._request, this._syncEngine).fetch(variables, options);
22931
22957
  }
22932
22958
  /** Mutation: refreshInsight */
22933
- refreshInsight(variables) {
22934
- return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22959
+ refreshInsight(variables, options) {
22960
+ return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22935
22961
  }
22936
22962
  /** Mutation: registerDesktopDevice */
22937
- registerDesktopDevice(variables) {
22938
- return new RegisterDesktopDeviceMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22963
+ registerDesktopDevice(variables, options) {
22964
+ return new RegisterDesktopDeviceMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22939
22965
  }
22940
22966
  /** Mutation: reinterpretSource (scalar) */
22941
- reinterpretSource(variables) {
22942
- return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables);
22967
+ reinterpretSource(variables, options) {
22968
+ return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables, options);
22943
22969
  }
22944
22970
  /** Mutation: reinterpretSourcesOfuser (scalar) */
22945
- reinterpretSourcesOfuser(variables) {
22946
- return new ReinterpretSourcesOfuserMutation(this._request, this._syncEngine).fetch(variables);
22971
+ reinterpretSourcesOfuser(variables, options) {
22972
+ return new ReinterpretSourcesOfuserMutation(this._request, this._syncEngine).fetch(variables, options);
22947
22973
  }
22948
22974
  /** Mutation: relocateInsight */
22949
- relocateInsight(variables) {
22950
- return new RelocateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22975
+ relocateInsight(variables, options) {
22976
+ return new RelocateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22951
22977
  }
22952
22978
  /** Mutation: removeInsightFromReport */
22953
- removeInsightFromReport(variables) {
22954
- return new RemoveInsightFromReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22979
+ removeInsightFromReport(variables, options) {
22980
+ return new RemoveInsightFromReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22955
22981
  }
22956
22982
  /** Mutation: resetWorkspace (scalar) */
22957
- resetWorkspace() {
22958
- return new ResetWorkspaceMutation(this._request, this._syncEngine).fetch(void 0);
22983
+ resetWorkspace(options) {
22984
+ return new ResetWorkspaceMutation(this._request, this._syncEngine).fetch(void 0, options);
22959
22985
  }
22960
22986
  /** Mutation: resolvePulseEvent */
22961
- resolvePulseEvent(variables) {
22962
- return new ResolvePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22987
+ resolvePulseEvent(variables, options) {
22988
+ return new ResolvePulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22963
22989
  }
22964
22990
  /** Mutation: scheduleWorkspaceDeletion */
22965
22991
  scheduleWorkspaceDeletion() {
22966
22992
  return new ScheduleWorkspaceDeletionMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(void 0);
22967
22993
  }
22968
22994
  /** Mutation: sendMessage */
22969
- sendMessage(variables) {
22970
- return new SendMessageMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22995
+ sendMessage(variables, options) {
22996
+ return new SendMessageMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22971
22997
  }
22972
22998
  /** Mutation: setDatabasePrimaryKey (scalar) */
22973
- setDatabasePrimaryKey(variables) {
22974
- return new SetDatabasePrimaryKeyMutation(this._request, this._syncEngine).fetch(variables);
22999
+ setDatabasePrimaryKey(variables, options) {
23000
+ return new SetDatabasePrimaryKeyMutation(this._request, this._syncEngine).fetch(variables, options);
22975
23001
  }
22976
23002
  /** Mutation: syncProjectDesktopBinding */
22977
- syncProjectDesktopBinding(variables) {
22978
- return new SyncProjectDesktopBindingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23003
+ syncProjectDesktopBinding(variables, options) {
23004
+ return new SyncProjectDesktopBindingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22979
23005
  }
22980
23006
  /** Mutation: updateAgent */
22981
- updateAgent(variables) {
22982
- return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23007
+ updateAgent(variables, options) {
23008
+ return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22983
23009
  }
22984
23010
  /** Mutation: updateArtifactName */
22985
- updateArtifactName(variables) {
22986
- return new UpdateArtifactNameMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23011
+ updateArtifactName(variables, options) {
23012
+ return new UpdateArtifactNameMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22987
23013
  }
22988
23014
  /** Mutation: updateChat */
22989
- updateChat(variables) {
22990
- return new UpdateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23015
+ updateChat(variables, options) {
23016
+ return new UpdateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22991
23017
  }
22992
23018
  /** Mutation: updateDatabase */
22993
- updateDatabase(variables) {
22994
- return new UpdateDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23019
+ updateDatabase(variables, options) {
23020
+ return new UpdateDatabaseMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22995
23021
  }
22996
23022
  /** Mutation: updateDocument */
22997
- updateDocument(variables) {
22998
- return new UpdateDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23023
+ updateDocument(variables, options) {
23024
+ return new UpdateDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22999
23025
  }
23000
23026
  /** Mutation: updateFolder */
23001
- updateFolder(variables) {
23002
- return new UpdateFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23027
+ updateFolder(variables, options) {
23028
+ return new UpdateFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23003
23029
  }
23004
23030
  /** Mutation: updateInsight */
23005
- updateInsight(variables) {
23006
- return new UpdateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23031
+ updateInsight(variables, options) {
23032
+ return new UpdateInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23007
23033
  }
23008
23034
  /** Mutation: updateInsightInReport */
23009
- updateInsightInReport(variables) {
23010
- return new UpdateInsightInReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23035
+ updateInsightInReport(variables, options) {
23036
+ return new UpdateInsightInReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23011
23037
  }
23012
23038
  /** Mutation: updateInsightThumbnail (scalar) */
23013
- updateInsightThumbnail(variables) {
23014
- return new UpdateInsightThumbnailMutation(this._request, this._syncEngine).fetch(variables);
23039
+ updateInsightThumbnail(variables, options) {
23040
+ return new UpdateInsightThumbnailMutation(this._request, this._syncEngine).fetch(variables, options);
23015
23041
  }
23016
23042
  /** Mutation: updateInterp */
23017
- updateInterp(variables) {
23018
- return new UpdateInterpMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23043
+ updateInterp(variables, options) {
23044
+ return new UpdateInterpMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23019
23045
  }
23020
23046
  /** Mutation: updateLiveContext */
23021
- updateLiveContext(variables) {
23022
- return new UpdateLiveContextMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23047
+ updateLiveContext(variables, options) {
23048
+ return new UpdateLiveContextMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23023
23049
  }
23024
23050
  /** Mutation: updateProject */
23025
- updateProject(variables) {
23026
- return new UpdateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23051
+ updateProject(variables, options) {
23052
+ return new UpdateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23027
23053
  }
23028
23054
  /** Mutation: updatePulseTrigger */
23029
- updatePulseTrigger(variables) {
23030
- return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23055
+ updatePulseTrigger(variables, options) {
23056
+ return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23031
23057
  }
23032
23058
  /** Mutation: updateReport */
23033
- updateReport(variables) {
23034
- return new UpdateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23059
+ updateReport(variables, options) {
23060
+ return new UpdateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23035
23061
  }
23036
23062
  /** Mutation: updateTable */
23037
- updateTable(variables) {
23038
- return new UpdateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23063
+ updateTable(variables, options) {
23064
+ return new UpdateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23039
23065
  }
23040
23066
  /** Mutation: updateUserSkillFile */
23041
- updateUserSkillFile(variables) {
23042
- return new UpdateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23067
+ updateUserSkillFile(variables, options) {
23068
+ return new UpdateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23043
23069
  }
23044
23070
  /** Mutation: updateUserSkillFolder */
23045
- updateUserSkillFolder(variables) {
23046
- return new UpdateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23071
+ updateUserSkillFolder(variables, options) {
23072
+ return new UpdateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23047
23073
  }
23048
23074
  /** Mutation: upsertAiProviderSetting */
23049
- upsertAiProviderSetting(variables) {
23050
- return new UpsertAiProviderSettingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
23075
+ upsertAiProviderSetting(variables, options) {
23076
+ return new UpsertAiProviderSettingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
23051
23077
  }
23052
23078
  /** Mutation: upsertWorkspaceAiModel (scalar) */
23053
- upsertWorkspaceAiModel(variables) {
23054
- return new UpsertWorkspaceAiModelMutation(this._request, this._syncEngine).fetch(variables);
23079
+ upsertWorkspaceAiModel(variables, options) {
23080
+ return new UpsertWorkspaceAiModelMutation(this._request, this._syncEngine).fetch(variables, options);
23055
23081
  }
23056
23082
  /** Query: agent — call .fetch() or .watch() to execute. */
23057
23083
  agent(variables) {
@@ -23405,5 +23431,5 @@ var DvinaSdk = class extends Request {
23405
23431
  };
23406
23432
 
23407
23433
  export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, AiProviderSettingQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentBlockAgentOutput, ContentMask, ContextUsageEventOutput, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteAiProviderSettingMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteSavedAiProviderModelMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceConnection, DesktopDeviceQuery, DesktopDeviceSubBuilder, DesktopDevice_ChatsQuery, DesktopDevice_DesktopBindingsQuery, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedProjectData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, InterruptEventOutput, Invocation, LegacyCodeMigratedChatSummaryOutput, LegacyCodeMigrationOutput, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, ManagedChatModelsQuery, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, MigrateLegacyCodeChatsMutation, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsEventOutput, PrivacyStatsOutput, PrivacyStatsQuery, PrivacyStatsTotalsDeltaOutput, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, SkillCatalogItem, SkillCatalogQuery, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UpsertAiProviderSettingMutation, UpsertWorkspaceAiModelMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserAiProviderSetting, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceAiModelQuery, WorkspaceAiModelSetting, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
23408
- //# sourceMappingURL=chunk-UNCG3BQZ.js.map
23409
- //# sourceMappingURL=chunk-UNCG3BQZ.js.map
23434
+ //# sourceMappingURL=chunk-5WZGNZOT.js.map
23435
+ //# sourceMappingURL=chunk-5WZGNZOT.js.map